diff options
| author | Ajay Agarwal <[email protected]> | 2024-02-21 15:38:40 +0000 |
|---|---|---|
| committer | Krzysztof Wilczyński <[email protected]> | 2024-03-10 18:08:04 +0000 |
| commit | f3a296405b6e65fe478144c2f85602dc5668700c (patch) | |
| tree | 3e50791c1253475b5bca2b5383778a4d8b390d69 /scripts/generate_rust_target.rs | |
| parent | Linux 6.8-rc1 (diff) | |
| download | kernel-f3a296405b6e65fe478144c2f85602dc5668700c.tar.gz kernel-f3a296405b6e65fe478144c2f85602dc5668700c.zip | |
PCI: dwc: Strengthen the MSI address allocation logic
There can be platforms that do not use/have 32-bit DMA addresses.
The current implementation of 32-bit IOVA allocation can fail for
such platforms, eventually leading to the probe failure.
Try to allocate a 32-bit msi_data. If this allocation fails,
attempt a 64-bit address allocation. Please note that if the
64-bit MSI address is allocated, then the EPs supporting 32-bit
MSI address only will not work.
Link: https://lore.kernel.org/linux-pci/[email protected]
Tested-by: Will McVicker <[email protected]>
Signed-off-by: Ajay Agarwal <[email protected]>
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Reviewed-by: Serge Semin <[email protected]>
Reviewed-by: Will McVicker <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
