From c7ce7b31c95b570076ab718e2c13ece6050a663d Mon Sep 17 00:00:00 2001 From: wmat Date: Thu, 4 Apr 2024 10:37:59 -0400 Subject: [PATCH 1/2] Adding *tval address explanation text. Adding *tval address explanation text. This is Issue #1317. --- src/cmo.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cmo.adoc b/src/cmo.adoc index 705166a5..d4f2441f 100644 --- a/src/cmo.adoc +++ b/src/cmo.adoc @@ -381,6 +381,8 @@ exceptions and shall not access any caches or memory. During address translation, the instruction does _not_ check the accessed and dirty bits and neither raises an exception nor sets the bits. +When a page fault, guest-page fault, or access fault exception is taken, the relevant *tval CSR is written with the faulting effective address (i.e. the same faulting address value as for other causes of these exceptions). + [NOTE] ==== _Like a load or store instruction, a CMO instruction may or may not be permitted From 0cff842c85010e5b194ce531b8d8d91ca11470d3 Mon Sep 17 00:00:00 2001 From: wmat Date: Fri, 5 Apr 2024 07:35:51 -0400 Subject: [PATCH 2/2] Change a physical address to any. This addresses issue #1325 and updates "A cache block is identified a physical address..." to "any physical address". --- src/cmo.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmo.adoc b/src/cmo.adoc index d4f2441f..c477dca2 100644 --- a/src/cmo.adoc +++ b/src/cmo.adoc @@ -89,7 +89,7 @@ a cache that first performs a read transfer from memory._ Caches organize copies of data into _cache blocks_, each of which represents a contiguous, naturally aligned power-of-two (or _NAPOT_) range of memory -locations. A cache block is identified by a physical address corresponding to +locations. A cache block is identified by any of the physical addresses corresponding to the underlying memory locations. The capacity and organization of a cache and the size of a cache block are both _implementation-specific_, and the execution environment provides software a means to discover information about the caches