Files
linux/drivers/pci
Ilpo Järvinen 5827e17d05 PCI: vmd: Correct PCI Header Type Register's multi-function check
vmd_domain_reset() attempts to find whether the device may contain multiple
functions by checking 0x80 (Multi-Function Device), however, the hdr_type
variable has already been masked with PCI_HEADER_TYPE_MASK so the check can
never true.

To fix the issue, don't mask the read with PCI_HEADER_TYPE_MASK.

Fixes: 6aab562229 ("PCI: vmd: Clean up domain before enumeration")
Link: https://lore.kernel.org/r/20231003125300.5541-2-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Nirmal Patel <nirmal.patel@linux.intel.com>
2023-10-03 11:54:47 -05:00
..
2023-08-29 11:03:57 -05:00
2023-08-25 08:15:38 -05:00
2023-08-29 11:03:57 -05:00
2021-06-16 17:20:40 -05:00
2023-08-25 08:15:38 -05:00
2023-08-25 08:15:29 -05:00
2023-08-29 11:03:57 -05:00
2023-09-28 16:49:44 -05:00
2021-09-28 13:43:17 -05:00
2023-08-25 08:15:08 -05:00
2020-08-05 18:23:14 -05:00
2023-08-24 13:27:47 -05:00