Skip to content

Clarify what happens if "Reserved 1" bits are clear in the acperm mask #548

Open
@chrehrhardt

Description

@chrehrhardt

The latest PR that introduced bits that are "Reserved 1" int the acperm/gcperm masks does not really explain what happends if one of these reserved bits is zero in the mask passed to acperm. At least two options are possible that I can think of:

  • Make the bits WARL as most riscv registers do, i.e. trying to clear the bits is simply ignored on hardware that has them set to "Reserved 1".
  • Clear the tag on the capability.

I'm not sure which version I'd prefer, though.

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