android_kernel_samsung_sm8650/arch/arm64/mm
Chris Goldsworthy 9be763fb64 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-02-23 09:40:54 +00:00
..
cache.S arm64: mm: Remove assembly DMA cache maintenance wrappers 2022-07-05 13:06:31 +01:00
context.c arm64/sysreg: Standardise naming of ID_AA64MMFR0_EL1.ASIDBits 2022-09-09 10:59:02 +01:00
copypage.c arm64: Also reset KASAN tag if page is not PG_mte_tagged 2023-05-30 14:03:17 +01:00
dma-mapping.c ANDROID: arm64: dma: Panic if ARCH_DMA_MINALIGN is less than CTR_EL0.CWG 2023-03-01 01:47:13 +00:00
extable.c arm64: extable: cleanup redundant extable type EX_TYPE_FIXUP 2022-06-28 12:11:47 +01:00
fault.c ANDROID: arm64: Call fixup_exception() within do_sea() 2024-02-23 09:40:54 +00:00
flush.c mm: hugetlb_vmemmap: delete hugetlb_optimize_vmemmap_enabled() 2022-08-08 18:06:42 -07:00
hugetlbpage.c arm64: mm: use ptep_clear() instead of pte_clear() in clear_flush() 2023-09-13 09:42:34 +02:00
init.c ANDROID: arm64/mm: Add command line option to make ZONE_DMA32 empty 2023-02-16 22:07:29 +00:00
ioremap.c Revert "ANDROID: arm64: Register earlycon fixmap with the MMIO guard" 2023-01-25 11:38:05 +00:00
kasan_init.c arm64: mm: provide idmap pointer to cpu_replace_ttbr1() 2022-06-24 17:18:10 +01:00
Makefile ANDROID: memory relinquish: Fix build dependencies 2022-12-15 16:13:01 +00:00
mem_encrypt.c ANDROID: BACKPORT: arm64: mm: Implement memory encryption API using KVM sharing hypercalls 2022-12-15 16:09:01 +00:00
mem_relinquish.c ANDROID: arm64: virt: Invalidate tlb once the balloon before reporting/inflating 2024-02-12 17:25:48 +00:00
mmap.c arm64/mm: move protection_map[] inside the platform 2022-07-17 17:14:37 -07:00
mmu.c mm,kfence: decouple kfence from page granularity mapping judgement 2023-12-03 07:32:08 +01:00
mteswap.c BACKPORT: FROMLIST: arm64: mte: Simplify swap tag restoration logic 2023-06-05 21:53:19 +00:00
pageattr.c Merge 6.1.65 into android14-6.1-lts 2023-12-20 13:31:28 +00:00
pgd.c
physaddr.c
proc.S ANDROID: arm64: Add support for system cache memory type 2023-05-01 20:12:50 -07:00
ptdump_debugfs.c
ptdump.c
trans_pgd-asm.S
trans_pgd.c arm64: mm: avoid writable executable mappings in kexec/hibernate code 2022-05-17 09:32:45 +01:00