aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.h
diff options
context:
space:
mode:
authorSamuel Čavoj <[email protected]>2023-04-05 16:44:56 +0300
committerGreg Kroah-Hartman <[email protected]>2023-04-05 19:09:06 +0200
commit326e1c208f3f24d14b93f910b8ae32c94923d22c (patch)
treec9bed545d1668c1dd422b71ad5ecc8476d05da39 /drivers/usb/cdns3/cdns3-trace.h
parent917dc99b659114a4aad2ee8b20bcdc05c80e5f09 (diff)
usb: typec: ucsi: acpi: add quirk for ASUS Zenbook UM325
On some ACPI platforms (namely the ASUS Zenbook UM325) the _DSM method must not be called after a notification is received but instead the mailbox should be read immediately from RAM. This is because the ACPI interrupt handler destroys the CCI in ERAM after copying to system memory, and when _DSM is later called to perform a second copy, it retrieves a garbage value. Instead, the _DSM(read) method should only be called when necessary, i.e. for polling the state after reset and for retrieving the version. Other reads should not call _DSM and only peek into the RAM region. This adds a separate read operation for the Zenbook that syncs the ACPI mailbox only with polled commands. Link: https://lore.kernel.org/linux-usb/[email protected]/ Signed-off-by: Samuel Čavoj <[email protected]> [ heikki : handling everything in ucsi_acpi.c with DMI quirk ] Signed-off-by: Heikki Krogerus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions