Skip to content

RMM does not trap some system registers which may cause abnormal behavior in realm #44

@Yiwei-Zhuang

Description

@Yiwei-Zhuang

For example, RMM does not trap TID2 registers so that realm could directly read clidr_el1. However, at least in normal vm, this register is emulated by hypervisor and is hard-coded by kvmtool or qemu. Wrong value of clidr_el1 may cause guest getting wrong cpu cache information.

Are there any specific reasons that RMM decides only trapping those in sysreg_handlers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions