This repository has been archived by the owner on Apr 13, 2019. It is now read-only.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Inline PTE_TABLE check for better readability - Improve readibility of User page U mode and SUM test - Disallow non U mode from fetching from User pages - Add reserved PTE flag check: W or W|X - Add misaligned PPN check - Change access checks from ternary operator to if statements - Improves page walker comments - No measurable performance impact on dd test
- The mtvec/stvec mode field is WARL and hence does not trap if an illegal value is written. Illegal values are ignored.
|
The changes have ended up being less trivial, albeit safe, as I've been fixing several spec conformance issues. I'm considering spinning a v9 patch series although we are quickly approaching soft-freeze. These could be added to v8 patch series as "bug fixes". i.e. they don't introduce new features. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Some very trivial fixes after going through the code several more times.
I'm pushing these changes to
riscv-wipwhich is based on the last upstream rebase. We'll have to revise our branch strategy once we get accepted upstream. After we are upstream (assuming we make it) we should be able to create a stableriscv-qemu-2.12branch based on upstreammaster.riscv-nextis actually trailing at the moment given it is the default branch and our proxy for a stable branch. We can revise our branch strategy once we're upstream. i.e. when we haveriscv-qemu-2.12, eitherriscv-qemu-2.12ormastercan become the default branch, and we useriscv-wiporriscv-nextfor integrating new features. At the moment we are targetting changes at the last rebase which presently isqemu-upstream-v8; the pattern we have been using during the upstream review process.These changes make naming and function interfaces more consistent and lift hardcoded constants (timebase-frequency and clock-frequency) from the device-tree code into header defined constants.