Skip to content

Conversation

@os-d
Copy link
Contributor

@os-d os-d commented Nov 8, 2025

This uses newly added Patina monitor commands to get the MTRR value on x86 for a PA and the MAIR on ARM64 to parse the CacheIndex.

This is a backwards compatible change, if the monitor command/output is not available, "Unknown" will be printed instead of the cache type.

In addition, this updates the ARM64 !pt command to read TTBR0_EL2 automatically instead of requiring it to be passed in.

This uses newly added Patina monitor commands to get
the MTRR value on x86 for a PA and the MAIR on ARM64
to parse the CacheIndex.

This is a backwards compatible change, if the monitor
command/output is not available, "Unknown" will be
printed instead of the cache type.

In addition, this updates the ARM64 !pt command to
read TTBR0_EL2 automatically instead of requiring it
to be passed in.

Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
@os-d os-d requested review from cfernald and kuqin12 November 8, 2025 17:07
@os-d os-d merged commit c2dc0a3 into main Nov 10, 2025
9 checks passed
@os-d os-d deleted the cache_attr branch November 10, 2025 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants