[PATCH V2] arm64/mm: Stop using ESR_ELx_FSC_TYPE during fault

Catalin Marinas catalin.marinas at arm.com
Mon Jun 24 11:12:21 PDT 2024


On Tue, 18 Jun 2024 09:17:03 +0530, Anshuman Khandual wrote:
> Fault status codes at page table level 0, 1, 2 and 3 for access, permission
> and translation faults are architecturally organized in a way, that masking
> out ESR_ELx_FSC_TYPE, fetches Level 0 status code for the respective fault.
> 
> Helpers like esr_fsc_is_[translation|permission|access_flag]_fault() mask
> out ESR_ELx_FSC_TYPE before comparing against corresponding Level 0 status
> code as the kernel does not yet care about the page table level, where in
> the fault really occurred previously.
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64/mm: Stop using ESR_ELx_FSC_TYPE during fault
      https://git.kernel.org/arm64/c/573611145fcb

-- 
Catalin




More information about the linux-arm-kernel mailing list