diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2023-01-30 00:10:52 +0100 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2023-02-02 19:07:02 +0100 |
commit | 810edcd5764fb88525934d99baf9aec881a2d500 (patch) | |
tree | a48613060a934d93369bd38f057081b40226af93 /Documentation/sparc/adi.rst | |
parent | Documentation: driver-api: correct spelling (diff) | |
download | linux-810edcd5764fb88525934d99baf9aec881a2d500.tar.xz linux-810edcd5764fb88525934d99baf9aec881a2d500.zip |
Documentation: sparc: correct spelling
Correct spelling problems for Documentation/sparc/ as reported
by codespell.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Link: https://lore.kernel.org/r/20230129231053.20863-9-rdunlap@infradead.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/sparc/adi.rst')
-rw-r--r-- | Documentation/sparc/adi.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/sparc/adi.rst b/Documentation/sparc/adi.rst index 857ad30f9569..dbcd8b6e7bc3 100644 --- a/Documentation/sparc/adi.rst +++ b/Documentation/sparc/adi.rst @@ -38,7 +38,7 @@ virtual addresses that contain 0xa in bits 63-60. ADI is enabled on a set of pages using mprotect() with PROT_ADI flag. When ADI is enabled on a set of pages by a task for the first time, -kernel sets the PSTATE.mcde bit fot the task. Version tags for memory +kernel sets the PSTATE.mcde bit for the task. Version tags for memory addresses are set with an stxa instruction on the addresses using ASI_MCD_PRIMARY or ASI_MCD_ST_BLKINIT_PRIMARY. ADI block size is provided by the hypervisor to the kernel. Kernel returns the value of @@ -97,7 +97,7 @@ With ADI enabled, following new traps may occur: Disrupting memory corruption ---------------------------- - When a store accesses a memory localtion that has TTE.mcd=1, + When a store accesses a memory location that has TTE.mcd=1, the task is running with ADI enabled (PSTATE.mcde=1), and the ADI tag in the address used (bits 63:60) does not match the tag set on the corresponding cacheline, a memory corruption trap occurs. By |