Thread (9 messages) 9 messages, 3 authors, 2021-12-23

Re: [PATCH v4 2/5] acpi: Store CRC-32 hash of the _PLD in struct acpi_device

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2021-12-22 18:29:50
Also in: linux-usb, lkml

On Wed, Dec 22, 2021 at 05:32:55PM +0300, Heikki Krogerus wrote:
Storing CRC-32 hash of the Physical Location of Device
object (_PLD) with devices that have it. The hash is stored
to a new struct acpi_device member "pld_crc".

The hash makes it easier to find devices that share a
location, as there is no need to evaluate the entire object
every time. Knowledge about devices that share a location
can be used in device drivers that need to know the
connections to other components inside a system. USB3 ports
will for example always share their location with a USB2
port.
...
quoted hunk ↗ jump to hunk
@@ -739,7 +752,6 @@ static inline void acpi_bus_put_acpi_device(struct acpi_device *adev)
 
 static inline int register_acpi_bus_type(void *bus) { return 0; }
 static inline int unregister_acpi_bus_type(void *bus) { return 0; }
-
 #endif				/* CONFIG_ACPI */
Looks like a stray change.

-- 
With Best Regards,
Andy Shevchenko

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help