android_kernel_xiaomi_sm8450/arch/arm64/mm
Chris Goldsworthy f211036cf3 ANDROID: arm64: Call fixup_exception() within do_sea()
path_lookupat() is capable of safely reading unampped VAs. If an
unmapped VA is read whilst the function is being called, the resulting
page fault will get re-directed to __do_page_fault(), which will call
fixup_exception() to handle the aforementioned unmapped VA read.

Now, for an OS running in a VM, let's say that memory was still mapped
at S1 but lent to another VM (i.e. unmapped at S2 for the given VM).
The reading of an unmapped VA in path_lookupat() still needs to be
handled. For hypervisors that inject an abort leading to a do_sea()
call, call fixup_exception() from do_sea() if
trace_android_vh_try_fixup_sea() indicates that we can do so.

Bug: 320358381
Change-Id: I0aedcd954f08e3011b27524f9a7b038debbb246d
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
2024-03-11 17:55:08 +00:00
..
cache.S ANDROID: arm64: mm: perform clean & invalidation in __dma_map_area 2022-12-02 16:10:34 +05:30
context.c arm64: mm: Pin down ASIDs for sharing mm with devices 2020-09-28 22:15:38 +01:00
copypage.c This is the 5.10.121 stable release 2022-07-23 16:10:22 +02:00
dma-mapping-noalias.c ANDROID: arm64: Work around Cortex-A510 erratum 2454944 2023-02-09 18:53:48 +00:00
dma-mapping.c Revert "ANDROID: dma-ops: Add restricted vendor hook" 2023-03-07 11:26:48 +00:00
extable.c BACKPORT: arm64/bpf: Remove 128MB limit for BPF JIT programs 2023-01-23 17:15:17 +00:00
fault.c ANDROID: arm64: Call fixup_exception() within do_sea() 2024-03-11 17:55:08 +00:00
flush.c arm64: Fix race condition on PG_dcache_clean in __sync_icache_dcache() 2021-05-19 10:13:11 +02:00
hugetlbpage.c This is the 5.10.75 stable release 2021-10-20 11:53:41 +02:00
init.c Revert "FROMGIT: arm64: Work around Cortex-A510 erratum 2454944" 2022-11-21 14:12:47 +00:00
ioremap.c arm[64]/memremap: don't abuse pfn_valid() to ensure presence of linear map 2022-05-18 10:23:48 +02:00
kasan_init.c UPSTREAM: arm64: kasan: abstract _text and _end to KERNEL_START/END 2021-10-04 15:44:20 +00:00
Makefile ANDROID: arm64: Work around Cortex-A510 erratum 2454944 2023-02-09 18:53:48 +00:00
mmap.c arm64, mm: move generic mmap layout functions to mm 2019-09-24 15:54:11 -07:00
mmu.c This is the 5.10.188 stable release 2023-08-03 11:23:27 +00:00
mteswap.c UPSTREAM: arm64: mte: reset the page tag in page->flags 2021-01-19 21:47:29 -08:00
numa.c memblock: use separate iterators for memory and reserved regions 2020-10-13 18:38:35 -07:00
pageattr.c arm64: mm: Fix missing-prototypes in pageattr.c 2020-09-18 14:33:46 +01:00
pgd.c mm: consolidate pgtable_cache_init() and pgd_cache_init() 2019-09-24 15:54:09 -07:00
physaddr.c arm64: Do not pass tagged addresses to __is_lm_address() 2021-02-07 15:37:13 +01:00
proc.S BACKPORT: arm64: mte: move register initialization to C 2023-03-17 23:17:49 +00:00
ptdump_debugfs.c arm64/mm: Hold memory hotplug lock while walking for kernel page table dump 2020-03-04 15:35:22 +00:00
ptdump.c BACKPORT: arm64/bpf: Remove 128MB limit for BPF JIT programs 2023-01-23 17:15:17 +00:00