|
Re: Query about PMP spec for misaligned access
My interpretation of this is if a misaligned store crosses between two PMP regions, both of which allow the write it's permissible for the implementation to allow both of those writes to occur,
My interpretation of this is if a misaligned store crosses between two PMP regions, both of which allow the write it's permissible for the implementation to allow both of those writes to occur,
|
By
Greg Chadwick
·
#978
·
|
|
Re: Query about PMP spec for misaligned access
Interesting. I agree with Scott. It says "The matching PMP entry must match all bytes of an access" and "misaligned loads, stores, and instruction fetches may also be decomposed into multiple
Interesting. I agree with Scott. It says "The matching PMP entry must match all bytes of an access" and "misaligned loads, stores, and instruction fetches may also be decomposed into multiple
|
By
Paul Donahue
·
#977
·
|
|
Re: Query about PMP spec for misaligned access
I actually think that Oded has it right. IF the access fails because it crosses a PMP boundary - it's an illegal access fault.
The trap handler could decompose that into two separate transactions,
I actually think that Oded has it right. IF the access fails because it crosses a PMP boundary - it's an illegal access fault.
The trap handler could decompose that into two separate transactions,
|
By
Allen Baum
·
#976
·
|
|
Re: Query about PMP spec for misaligned access
I’m not sure I follow your response, Oded, but I believe the “decomposed” text in the spec exists specifically so that implementations may break up misaligned accesses. When they do so, it’s
I’m not sure I follow your response, Oded, but I believe the “decomposed” text in the spec exists specifically so that implementations may break up misaligned accesses. When they do so, it’s
|
By
Scott Johnson
·
#975
·
|
|
Re: Query about PMP spec for misaligned access
Please see the embedded reply below.
Please see the embedded reply below.
|
By
Oded Yishay <oded.yishay@...>
·
#974
·
|
|
Query about PMP spec for misaligned access
Hello,
I’ve few queries regarding PMP spec for misaligned access.
As per the pmp section in privileged spec, there are two lines as follows:
“The matching PMP entry must match all bytes of an
Hello,
I’ve few queries regarding PMP spec for misaligned access.
As per the pmp section in privileged spec, there are two lines as follows:
“The matching PMP entry must match all bytes of an
|
By
Ravinder Dasila <ravinder.dasila@...>
·
#973
·
|
|
Tutorial on the RISCV privileged architecture?
Happy new year everybody!
Is there a gentle introduction to the RISCV privileged architecture? I'm asking because I have an undergraduate who wants to learn about it so he can contribute Sail
Happy new year everybody!
Is there a gentle introduction to the RISCV privileged architecture? I'm asking because I have an undergraduate who wants to learn about it so he can contribute Sail
|
By
Martin Berger
·
#972
·
|
|
Re: Preferred manner of supporting bus errors in RISC-V
The intent, wrt AIA assigning or setting aside interrupt 30 for bus/system errors, is not that that is the one and only way through which such errors would be reported to system software. Some
The intent, wrt AIA assigning or setting aside interrupt 30 for bus/system errors, is not that that is the one and only way through which such errors would be reported to system software. Some
|
By
Greg Favor
·
#971
·
|
|
Re: Preferred manner of supporting bus errors in RISC-V
NMIs are usually, but not always irrecoverable, as you say (i.e. you can recover if you're lucky about timing or about the use case - probing falls into that category),
but there is a proposed
NMIs are usually, but not always irrecoverable, as you say (i.e. you can recover if you're lucky about timing or about the use case - probing falls into that category),
but there is a proposed
|
By
Allen Baum
·
#970
·
|
|
Re: Preferred manner of supporting bus errors in RISC-V
Hi Allen,
NMI is not generally recoverable (i.e. if the NMI arrives when the hart is in the early parts of a Machine-Mode trap handler before mepc has been saved).
In some systems, Bus Errors can be
Hi Allen,
NMI is not generally recoverable (i.e. if the NMI arrives when the hart is in the early parts of a Machine-Mode trap handler before mepc has been saved).
In some systems, Bus Errors can be
|
By
Phil McCoy
·
#969
·
|
|
Re: Preferred manner of supporting bus errors in RISC-V
I would have thought that NMI is where you would want to put bus or system errors. Not sure I like that, unless they're pretty benign errors (e.g. they're correctable, or even correctable and
I would have thought that NMI is where you would want to put bus or system errors. Not sure I like that, unless they're pretty benign errors (e.g. they're correctable, or even correctable and
|
By
Allen Baum
·
#968
·
|
|
Re: Preferred manner of supporting bus errors in RISC-V
FWIW the AIA (Advanced Interrupt Architecture) reserves interrupt 30 for "bus or system errors".
FWIW the AIA (Advanced Interrupt Architecture) reserves interrupt 30 for "bus or system errors".
|
By
Phil McCoy
·
#967
·
|
|
Re: Quality of Service (QoS)
Jonathan HI -
Thanks. Good that you noted that. I realized I did not include the h-level CSR that go with the vsqoscfg CSR. The idea is to have a virtual RCID/MCID to physical RCID/MCID mapping where
Jonathan HI -
Thanks. Good that you noted that. I realized I did not include the h-level CSR that go with the vsqoscfg CSR. The idea is to have a virtual RCID/MCID to physical RCID/MCID mapping where
|
By
Ved Shanbhogue
·
#966
·
|
|
Re: Quality of Service (QoS)
I only skimmed some of the proposal, but one thing I noticed is that there doesn't seem to be much limit over who can set the current RCID and MCID. In particular, with the H-extension it looks like a
I only skimmed some of the proposal, but one thing I noticed is that there doesn't seem to be much limit over who can set the current RCID and MCID. In particular, with the H-extension it looks like a
|
By
Jonathan Behrens <behrensj@...>
·
#965
·
|
|
Re: Quality of Service (QoS)
Greetings All!
So finally collected these thoughts and put them into a document:
https://docs.google.com/document/d/1SfvV0oJHiRa89K5IZkzWL-FtXsAGhOPYrMF9B1-1vp8/edit?usp=sharing
The document also has
Greetings All!
So finally collected these thoughts and put them into a document:
https://docs.google.com/document/d/1SfvV0oJHiRa89K5IZkzWL-FtXsAGhOPYrMF9B1-1vp8/edit?usp=sharing
The document also has
|
By
Ved Shanbhogue
·
#964
·
|
|
Re: U bit in G-stage Translation Clarification
Think "are considered, for permission checking purposes, to be user-level accesses ...".
So No and Yes respectively. In particular, if G-stage U=0, then all these accesses that are treated "as though
Think "are considered, for permission checking purposes, to be user-level accesses ...".
So No and Yes respectively. In particular, if G-stage U=0, then all these accesses that are treated "as though
|
By
Greg Favor
·
#963
·
|
|
U bit in G-stage Translation Clarification
The Privileged Spec says:
Section 5.5.1
"For G-stage address translation, all memory accesses (including those made to access data structures for VS-stage address translation) are considered to be
The Privileged Spec says:
Section 5.5.1
"For G-stage address translation, all memory accesses (including those made to access data structures for VS-stage address translation) are considered to be
|
By
Siqi Zhao
·
#962
·
|
|
Re: Quality of Service (QoS)
Continuing this thread with some more thoughts included.
regards
ved
Quality of service enforcement in caches:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Caches that support the QoS extension allow
Continuing this thread with some more thoughts included.
regards
ved
Quality of service enforcement in caches:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Caches that support the QoS extension allow
|
By
Ved Shanbhogue
·
#961
·
|
|
Delegating counters
Hi all,
I'd like to start a discussion on adding an ability to delegate hardware performance monitoring counters to S/HS mode, and further to VS mode. In “Rich OS” server environments, PMU
Hi all,
I'd like to start a discussion on adding an ability to delegate hardware performance monitoring counters to S/HS mode, and further to VS mode. In “Rich OS” server environments, PMU
|
By
Beeman Strong
·
#960
·
|
|
Re: masking of CSR bits/fields
My preference is a default that has a deterministic result, rather than "implementation defined" because
the costs, if any, are tiny and the upsides aren't.
My preference is a default that has a deterministic result, rather than "implementation defined" because
the costs, if any, are tiny and the upsides aren't.
|
By
Allen Baum
·
#959
·
|