Skip to content

acpi: Remove acpi_release_memory()

Heikki Krogerus linux-acpi linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2usb: typec: ucsi: acpi: Map the mailbox with memremap()drivers/usb/typec/ucsi/ucsi_acpi.c+4 -150 replies
2/2acpi: Remove the helper for deactivating memory regiondrivers/acpi/osl.c include/linux/acpi.h+0 -890 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGreg Kroah-Hartman
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/2] acpi: Remove acpi_release_memory()

Hi,

It seems there never were and there never will be actual devices that expose the UCSI ACPI mailbox interface. There are now PD controllers that support the UCSI interface, but they do not use the ACPI mailbox.

So there is no point in mapping the mailbox with ioremap(), we can just use memremap(). That should make it possible to also remove the function acpi_release_memory(). That function was only there to make it possible to use ioremap() in the UCSI ACPI driver.

thanks,

Heikki Krogerus (2):
usb: typec: ucsi: acpi: Map the mailbox with memremap()
acpi: Remove the helper for deactivating memory region

 drivers/acpi/osl.c                 | 86 ------------------------------
 drivers/usb/typec/ucsi/ucsi_acpi.c | 19 ++-----
 include/linux/acpi.h               |  3 --
 3 files changed, 4 insertions(+), 104 deletions(-)
Signature · 1 line
2.35.1