mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
This reverts commit29a43dc130.29a43dc130("PCI: Mark LSI FW643 to avoid bus reset") by Edmund was based on the assumption that the LSI / Agere FW643 has a defect such that it can't recover after a Secondary Bus Reset (SBR). But Takashi Sakamoto reported that SBR works fine on this same FW643 device in an AMD Ryzen 5 2400G system, so apparently there is some other aspect of Edmund's system that accounts for the issue. The down side of29a43dc130is that when the FW643 is assigned to a VM, avoiding the SBR means we leak data out of the VM. Revert29a43dc130until we figure out a better solution. In the meantime, we can use the sysfs "reset_method" interface to restrict the available reset methods. Link: https://lore.kernel.org/r/[email protected] Fixes:29a43dc130("PCI: Mark LSI FW643 to avoid bus reset") Reported-by: Takashi Sakamoto <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Takashi Sakamoto <[email protected]>