Skip to content

Why writing to hgatp.mode with an unsupported MODE value and writing to satp.mode with an unsupported MODE value behave differently? #2050

Open
@xt1104

Description

@xt1104

The spec explicitly states that A write to hgatp with an unsupported MODE value is not ignored as it is for satp,Why hgatp needs to be handled differently from satp?

Implementations are not required to support all MODE settings, and if satp is written with an
unsupported MODE, the entire write has no effect; no fields in satp are modified.

A write to hgatp with an unsupported MODE value is not ignored as it is for satp. Instead, the fields of
hgatp are WARL in the normal way, when so indicated.

if hgatp initialized by hardware reset, write to hgatp with an unsupported MODE value is ignored as it is for satp , Does this treatment conform to the general definition of WARL in the spec?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions