]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Update fault_info table with new exception types
authorJulien Thierry <julien.thierry@arm.com>
Tue, 17 Oct 2017 13:11:30 +0000 (14:11 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 19 Oct 2017 09:57:40 +0000 (10:57 +0100)
commitf509220a8e88cadc38d51eac2e78a9267656d747
tree43b20ec4784d6a5de33cde3a7d3c9e4e3bc95b59
parent061abdd1ee2b824c58e73d7ffb0913cc30f69a5a
arm64: Update fault_info table with new exception types

Based on: ARM Architecture Reference Manual, ARMv8 (DDI 0487B.b).

ARMv8.1 introduces the optional feature ARMv8.1-TTHM which can trigger a
new type of memory abort. This exception is triggered when hardware update
of page table flags is not atomic in regards to other memory accesses.
Replace the corresponding unknown entry with a more accurate one.

Cf: Section D10.2.28 ESR_ELx, Exception Syndrome Register (p D10-2381),
section D4.4.11 Restriction on memory types for hardware updates on page
tables (p D4-2116 - D4-2117).

ARMv8.2 does not add new exception types, however it is worth mentioning
that when obligatory feature RAS (optional for ARMv8.{0,1}) is implemented,
exceptions related to "Synchronous parity or ECC error on memory access,
not on translation table walk" become reserved and should not occur.

Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/fault.c