[PATCH] PCI: Fix crash during pci_dev hot-unplug on pseries KVM guest
Rob Herring
robh at kernel.org
Fri Jul 12 05:34:19 AEST 2024
+Ubuntu kernel team
On Thu, Jul 11, 2024 at 8:21 AM Amit Machhiwal <amachhiw at linux.ibm.com> wrote:
>
> Hi Rob,
>
> On 2024/07/11 06:20 AM, Rob Herring wrote:
> > On Wed, Jul 3, 2024 at 8:17 AM Amit Machhiwal <amachhiw at linux.ibm.com> wrote:
> > >
> > > With CONFIG_PCI_DYNAMIC_OF_NODES [1], a hot-plug and hot-unplug sequence
> > > of a PCI device attached to a PCI-bridge causes following kernel Oops on
> > > a pseries KVM guest:
> >
> > Can I ask why you have this option on in the first place? Do you have
> > a use for it or it's just a case of distros turn on every kconfig
> > option.
>
> Yes, this option is turned on in Ubuntu's distro kernel config where the issue
> was originally reported, while Fedora is keeping this turned off.
>
> root at ubuntu:~# cat /boot/config-6.8.0-38-generic | grep PCI_DYN
> CONFIG_PCI_DYNAMIC_OF_NODES=y
Ubuntu should turn off this option. For starters, it is not complete
to be usable. Eventually, it should get removed in favor of some TBD
runtime option.
(And we should fix the crash too)
Rob
More information about the Linuxppc-dev
mailing list