platform_system_core/trusty/utils
Kalesh Singh 623d140cc0 trusty: Remove explicit page-alignment of mmap and dmabuf allocations
bionic hard codes the PAGE_SIZE macro as 4096. This is going away as
Android begins to support larger page sizes.

trusty uses PAGE_SIZE to round up the allocation size of the DMA
buffers and mmap sizes. This is not explicitly needed since the kernel
will always give you a page-aligned and page-sized multiple allocation
when allocating a dmabuf or mmap-ing.

Remove this PAGE_SIZE usage from TrustyApp, app_fuzzer, coverage,
line-coverage, modulewrapper.

Bug: 294914413
Test: Boot test on 16k device
Change-Id: Iad922e0a152cb80db2e59e696d7556602fd17d67
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
2023-10-12 13:50:31 -07:00
..
acvp trusty: Remove explicit page-alignment of mmap and dmabuf allocations 2023-10-12 13:50:31 -07:00
coverage-controller Remove ambgiuity in format specifier 2023-09-27 12:29:07 +00:00
rpmb_dev trusty: update default_applicable_licenses "Android-Apache-2.0" 2021-11-29 19:53:54 +00:00
spiproxyd [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
trusty-ut-ctrl Fastboot: Add new TEXT message to protocol to handle long lines. 2023-02-14 19:58:42 +00:00