diff options
| author | Sudeep Holla <[email protected]> | 2025-03-13 15:28:51 +0000 |
|---|---|---|
| committer | Jassi Brar <[email protected]> | 2025-03-27 01:58:26 +0000 |
| commit | d181acea5b864e91f38f5771b8961215ce5017ae (patch) | |
| tree | 5cecb2521b549d2b8a9800206ce7bf9da352cac5 /net/unix/af_unix.c | |
| parent | mailbox: pcc: Return early if no GAS register from pcc_mbox_cmd_complete_check (diff) | |
| download | kernel-d181acea5b864e91f38f5771b8961215ce5017ae.tar.gz kernel-d181acea5b864e91f38f5771b8961215ce5017ae.zip | |
mailbox: pcc: Use acpi_os_ioremap() instead of ioremap()
The Platform Communication Channel (PCC) mailbox driver currently uses
ioremap() to map channel shared memory regions. However it is preferred
to use acpi_os_ioremap(), which is mapping function specific to EFI/ACPI
defined memory regions. It ensures that the correct memory attributes
are applied when mapping ACPI-provided regions.
While at it, also add checks for handling any errors with the mapping.
Acked-by: Huisong Li <[email protected]>
Tested-by: Huisong Li <[email protected]>
Tested-by: Adam Young <[email protected]>
Signed-off-by: Sudeep Holla <[email protected]>
Signed-off-by: Jassi Brar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
