diff options
author | Daire McNamara <daire.mcnamara@microchip.com> | 2023-07-28 14:14:00 +0100 |
---|---|---|
committer | Lorenzo Pieralisi <lpieralisi@kernel.org> | 2023-08-08 12:58:21 +0200 |
commit | 1abb722888fda4a03e211db9b361281f903375e1 (patch) | |
tree | 8d20b3df0a067c5861da828ffd800c164f4e416e /drivers/nvdimm/region_devs.c | |
parent | 4f0b91247f78ccd702f2da5a17d4524101adfc7d (diff) |
PCI: microchip: Gather MSI information from hardware config registers
The PCIe Root Complex on PolarFire SoC is configured at bitstream creation
time using Libero. Key MSI-related parameters include the number of
MSIs (1/2/4/8/16/32) and the MSI address. In the device driver, extract
this information from hardware registers at init time, and use it to configure
MSI system, including configuring MSI capability structure correctly in
configuration space.
Link: https://lore.kernel.org/r/20230728131401.1615724-7-daire.mcnamara@microchip.com
Signed-off-by: Daire McNamara <daire.mcnamara@microchip.com>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'drivers/nvdimm/region_devs.c')
0 files changed, 0 insertions, 0 deletions