Re: [PATCH] usb: acpi: Get correct location data for Apple macs

From: Atharva Tiwari

Date: Mon Nov 23 2026 - 01:23:22 EST


> Sure, but again, you only check it once, why not just do the logic there
> then and not have any local variables?

I thought of that, but i did not do that because it creates a order dependency
that being USB2.0 has to come before USB3.0 otherwise the code would not work.

> So how have these old systems been working so far with Linux?

The feature itself is not that big, that systems would break without it just
warns about it:

usb: port power management may be unreliable

but new macs provide location info, so i thought to add support for it.