docs: arm64: Document EL3 requirements for cpu debug architecture
authorAnshuman Khandual <anshuman.khandual@arm.com>
Wed, 11 Dec 2024 06:54:24 +0000 (12:24 +0530)
committerWill Deacon <will@kernel.org>
Thu, 19 Dec 2024 17:01:07 +0000 (17:01 +0000)
commit3e5be4e11aac40eb9d3ea6b5e79b7e95b0a6ebe5
treedbbdf2f0d2be986a3958c6b3ad14b2e7ef5f8dfb
parentfac04efc5c793dccbd07e2d59af9f90b7fc0dca4
docs: arm64: Document EL3 requirements for cpu debug architecture

This documents EL3 requirements for debug architecture. The register field
MDCR_EL3.TDA needs to be cleared for accesses into debug registers without
any trap being generated into EL3. CPU debug registers like DBGBCR<n>_EL1,
DBGBVR<n>_EL1, DBGWCR<n>_EL1, DBGWVR<n>_EL1 and MDSCR_EL1 are already being
accessed for HW breakpoint, watchpoint and debug monitor implementations on
the platform.

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/20241211065425.1106683-2-anshuman.khandual@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/arch/arm64/booting.rst