On Fri, Sep 25, 2026 at 6:38 PM Michael Kelley <[email protected]> wrote: > > From: Rafael J. Wysocki <[email protected]> Sent: Friday, September 25, 2026 > 2:24 AM > > > > The ACPI bus type does not allow drivers to be matched to devices, so > > the sysfs attributes related to drivers created for it are useless and > > their existence is confusing. > > > > Moreover, it is better to prevent drivers from being registered and > > looked up for a bus like that. > > > > To allow skipping the creation of those sysfs attributes and preventing > > driver registration and lookup for the ACPI bus type, introduce a > > "companion" bus type concept and add a special registration function > > for registering "companion" bus types, companion_bus_register(). > > > > The "drivers" directory under the ACPI bus type is still needed because > > there are versions of systemd that depend on it [1]. > > > > Link: > > https://lore.kernel.org/linux-acpi/sn6pr02mb41575266a4580339e186e5d9d4...@sn6pr02mb4157.namprd02.prod.outlook.com/ > > [1] > > Signed-off-by: Rafael J. Wysocki <[email protected]> > > Acked-by: Greg Kroah-Hartman <[email protected]> > > Tested this against 7.3.0-rc2, running on my Ubuntu 20.04 instance > with the older systemd, and as a Hyper-V guest. The VM booted > as expected, whereas the boot failed with v2 of this patch. > > Tested-by: Michael Kelley <[email protected]> > Reviewed-by: Michael Kelley <[email protected]>
Thank you!

