Disable PCI_DYNAMIC_OF_NODES in Ubuntu
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
The Ubuntu-power-systems project |
Fix Released
|
Medium
|
Ubuntu on IBM Power Systems Bug Triage | |||
linux (Ubuntu) | Status tracked in Oracular | |||||
Noble |
Fix Released
|
Medium
|
Roxana Nicolescu | |||
Oracular |
Fix Released
|
Medium
|
Roxana Nicolescu |
Bug Description
This came in via KTML from upstream. It is part of a discussion between upstream and IBM reporting a bug which occurs in KVM:
Rob Herring <email address hidden> writes:
>> On 2024/07/11 06:20 AM, Rob Herring wrote:
>>> On Wed, Jul 3, 2024 at 8:17 AM Amit Machhiwal <email address hidden> wrote:
>>>>
>>>> With CONFIG_
>>>> 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@ubuntu:~# cat /boot/config-
>> CONFIG_
>
> 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)
This option is described in the config system as:
This option enables support for generating device tree nodes for some
PCI devices. Thus, the driver of this kind can load and overlay
flattened device tree for its downstream devices.
.
Once this option is selected, the device tree nodes will be generated
for all PCI bridges.
Open Firmware (OF) would be used for KVM for UEFI mode. The reported bug was related to hot-unplugging PCI devices. My guess would be that this probably is not of much use to the majority of users and might even go away. So it should really be disabled in Ubuntu, too.
CVE References
Changed in linux (Ubuntu Noble): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in linux (Ubuntu Noble): | |
status: | Triaged → In Progress |
assignee: | nobody → Roxana Nicolescu (roxanan) |
Changed in linux (Ubuntu Oracular): | |
assignee: | nobody → Roxana Nicolescu (roxanan) |
status: | Triaged → In Progress |
Changed in linux (Ubuntu Noble): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Oracular): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-power-systems: | |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in ubuntu-power-systems: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
Changed in ubuntu-power-systems: | |
status: | Fix Committed → Fix Released |
This bug is awaiting verification that the linux/6.8.0-43.43 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- noble-linux' to 'verification- done-noble- linux'. If the problem still exists, change the tag 'verification- needed- noble-linux' to 'verification- failed- noble-linux' .
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!