Skip to content

Wrong cause_code if pte.a == 0 and dc.iohgatp.mode == 0 #28

@mhayat-10xe

Description

@mhayat-10xe

I wrote an assertion that states:

if dc.iohgatp.mode == 0, pte.v == 1, pte.r or pte.x is equal to 1 and pte.a == 0 then in the next cycle cause_code must be equal to load_page_fault or store_page_fault(cause_code == 13/15).

Here is the counter-example of the violation of the assertion, in the 11th cycle, when iohgatp.mode == 0, pte.v ==1, pte.r ==1 and pte.a == 0 then in the next cycle cause_code must be load or store page fault but it is giving load_guest_page_fault (cause_code == 21) which is wrong.

image

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