diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2025-03-13 18:28:51 +0300 |
---|---|---|
committer | Jassi Brar <jassisinghbrar@gmail.com> | 2025-03-27 04:58:26 +0300 |
commit | d181acea5b864e91f38f5771b8961215ce5017ae (patch) | |
tree | 5cecb2521b549d2b8a9800206ce7bf9da352cac5 /lib/test_fortify/write_overflow-strncpy.c | |
parent | 4119a44c71840e6ab9a8d340ca09e7b3210ade76 (diff) | |
download | linux-d181acea5b864e91f38f5771b8961215ce5017ae.tar.xz |
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 <lihuisong@huawei.com>
Tested-by: Huisong Li <lihuisong@huawei.com>
Tested-by: Adam Young <admiyo@os.amperecomputing.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions