Commit 01624440 authored by Yinan Xu's avatar Yinan Xu Committed by Mergify
Browse files

PTW: set ae_ptw for out-of-range non-leaf PTEs (#3407)

For PTEs whose physical address is out-of-range, we need to set
`ae_ptw` instead of `ae_final` to raise access-fault.

Because non-leaf PTEs will not have R or X bits set, `ae_final`
will be overrided by page-fault exceptions.

(cherry picked from commit b8dad7f5)
parent 836be7a9
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment