Revert "PCI: Clear PCI_STATUS when setting up device"
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 7 Nov 2022 21:31:08 +0000 (15:31 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 7 Nov 2022 21:31:08 +0000 (15:31 -0600)
commit44e985938e85503d0a69ec538e15fd33c1a4df05
treea73bc0ddad678c133b5e997b907eb65403fcfa66
parent503fa23614dc95f96af883a8e2e873d5c6cd53d8
Revert "PCI: Clear PCI_STATUS when setting up device"

This reverts commit 6cd514e58f12b211d638dbf6f791fa18d854f09c.

Christophe Fergeau reported that 6cd514e58f12 ("PCI: Clear PCI_STATUS when
setting up device") causes boot failures when trying to start linux guests
with Apple's virtualization framework (for example using
https://developer.apple.com/documentation/virtualization/running_linux_in_a_virtual_machine?language=objc)

6cd514e58f12 only solved a cosmetic problem, so revert it to fix the boot
failures.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=2137803
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/probe.c