Don't throw away upper 32-bits of the HT MSI address window. In practice
this is harmless since the address window for MSI on x86 is in the lower 4 GB. Submitted by: mav MFC after: 1 week
This commit is contained in:
parent
318b1c3fd0
commit
34a839f108
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189073
@ -554,7 +554,7 @@ pci_read_extcap(device_t pcib, pcicfgregs *cfg)
|
||||
addr = REG(ptr + PCIR_HTMSI_ADDRESS_HI,
|
||||
4);
|
||||
addr <<= 32;
|
||||
addr = REG(ptr + PCIR_HTMSI_ADDRESS_LO,
|
||||
addr |= REG(ptr + PCIR_HTMSI_ADDRESS_LO,
|
||||
4);
|
||||
if (addr != MSI_INTEL_ADDR_BASE)
|
||||
device_printf(pcib,
|
||||
|
Loading…
Reference in New Issue
Block a user