|
Re: Architecture extension proposal for ConfigPtr CSR to "Unified RISC-V Discovery Method" config structure
In consideration of low-end systems that may point into some memory-mapped serial storage, I would rather avoid this.
It’s also going to cause eventual discussions, once the first devices with
In consideration of low-end systems that may point into some memory-mapped serial storage, I would rather avoid this.
It’s also going to cause eventual discussions, once the first devices with
|
By
Philipp Tomsich <philipp.tomsich@...>
·
#718
·
|
|
Re: Architecture extension proposal for ConfigPtr CSR to "Unified RISC-V Discovery Method" config structure
There is no technical requirement for an alignment stricter than byte. Given that we are operating on a ‘config message’, there is also no implementation benefit of stricter alignment.
Reusing any
There is no technical requirement for an alignment stricter than byte. Given that we are operating on a ‘config message’, there is also no implementation benefit of stricter alignment.
Reusing any
|
By
Philipp Tomsich <philipp.tomsich@...>
·
#717
·
|
|
Re: [RISC-V] [tech-config] Architecture extension proposal for ConfigPtr CSR to "Unified RISC-V Discovery Method" config structure
That's one example of a high-level discovery method used by, for example, some Linux systems. This low-level discovery method is used by early boot flow software and is used to populate
That's one example of a high-level discovery method used by, for example, some Linux systems. This low-level discovery method is used by early boot flow software and is used to populate
|
By
Greg Favor
·
#716
·
|
|
Re: Architecture extension proposal for ConfigPtr CSR to "Unified RISC-V Discovery Method" config structure
Agreed.
That's OK. The extension would then define the low two bits as "00" and as "Reserved for future standard use".
Greg
Agreed.
That's OK. The extension would then define the low two bits as "00" and as "Reserved for future standard use".
Greg
|
By
Greg Favor
·
#715
·
|
|
Re: [RISC-V] [tech-config] Architecture extension proposal for ConfigPtr CSR to "Unified RISC-V Discovery Method" config structure
Why does it need to be a CSR? In other parts of the boot flow the device tree pointer is passed via a normal general purpose register. Why can't the same be done here?
Jonathan
Why does it need to be a CSR? In other parts of the boot flow the device tree pointer is passed via a normal general purpose register. Why can't the same be done here?
Jonathan
|
By
Jonathan Behrens <behrensj@...>
·
#714
·
|
|
Re: Architecture extension proposal for ConfigPtr CSR to "Unified RISC-V Discovery Method" config structure
Many systems will have this CSR as only readable (along the lines of my earlier P.S.). But flexibility is allowed for possible use cases where the pointer wants to be changeable by M-mode to point to
Many systems will have this CSR as only readable (along the lines of my earlier P.S.). But flexibility is allowed for possible use cases where the pointer wants to be changeable by M-mode to point to
|
By
Greg Favor
·
#713
·
|
|
Re: Architecture extension proposal for ConfigPtr CSR to "Unified RISC-V Discovery Method" config structure
One addition:
If the CSR contains 0, software should assume there is no configuration structure.
I'd also like to require the pointer be 4-byte aligned, meaning software should ignore the low 2 bits.
One addition:
If the CSR contains 0, software should assume there is no configuration structure.
I'd also like to require the pointer be 4-byte aligned, meaning software should ignore the low 2 bits.
|
By
Tim Newsome <tim@...>
·
#712
·
|
|
Re: Architecture extension proposal for ConfigPtr CSR to "Unified RISC-V Discovery Method" config structure
Yes on both counts.
Profile specs (or at least A profile specs) would require this ISA extension. Platforms would require, if they so choose, use of the RISC-V standard software low-level discovery
Yes on both counts.
Profile specs (or at least A profile specs) would require this ISA extension. Platforms would require, if they so choose, use of the RISC-V standard software low-level discovery
|
By
Greg Favor
·
#711
·
|
|
Re: Architecture extension proposal for ConfigPtr CSR to "Unified RISC-V Discovery Method" config structure
Why is the CSR writable? What's the use case for that? (Hypervisor writing it for an M mode system underneath? But then it's still not writable in M mode.)
Tim
Why is the CSR writable? What's the use case for that? (Hypervisor writing it for an M mode system underneath? But then it's still not writable in M mode.)
Tim
|
By
Tim Newsome <tim@...>
·
#710
·
|
|
Re: Architecture extension proposal for ConfigPtr CSR to "Unified RISC-V Discovery Method" config structure
On Mon, Jun 28, 2021 at 12:29 PM Greg Favor <gfavor@...>
"Some implementations may hardwire this CSR to a suitable value."
This should have been better worded as:
"Upon reset this CSR is initialized
On Mon, Jun 28, 2021 at 12:29 PM Greg Favor <gfavor@...>
"Some implementations may hardwire this CSR to a suitable value."
This should have been better worded as:
"Upon reset this CSR is initialized
|
By
Greg Favor
·
#709
·
|
|
Re: Architecture extension proposal for ConfigPtr CSR to "Unified RISC-V Discovery Method" config structure
so how do we communicate this to the world?
csr is an ISA extension
config tab is a software only Non-ISA doc rule required only by a platform spec?
So could you do discovery in some other way and be
so how do we communicate this to the world?
csr is an ISA extension
config tab is a software only Non-ISA doc rule required only by a platform spec?
So could you do discovery in some other way and be
|
By
mark
·
#708
·
|
|
Architecture extension proposal for ConfigPtr CSR to "Unified RISC-V Discovery Method" config structure
The new "unified RISC-V low-level discovery method" being developed by tech-config (for use by all extensions that have information that needs to be easily discoverable by software), is almost
The new "unified RISC-V low-level discovery method" being developed by tech-config (for use by all extensions that have information that needs to be easily discoverable by software), is almost
|
By
Greg Favor
·
#707
·
|
|
Re: RISC-V H-extension freeze consideration
We were reading a lot into
"Memory regions that do not fit into regular main
memory, for example, device scratchpad RAMs, are categorized as I/O
regions."
I have a PR with edits to avoid this type
We were reading a lot into
"Memory regions that do not fit into regular main
memory, for example, device scratchpad RAMs, are categorized as I/O
regions."
I have a PR with edits to avoid this type
|
By
Josh Scheid
·
#706
·
|
|
Re: proposal for stateen CSRs
Direct access seems fine for the reasons stated.
Can I gather from this that the expectation is that the vast majority of non-state extensions will have no need or desire for enables? Thus no value
Direct access seems fine for the reasons stated.
Can I gather from this that the expectation is that the vast majority of non-state extensions will have no need or desire for enables? Thus no value
|
By
Josh Scheid
·
#705
·
|
|
Re: proposal for stateen CSRs
On 2021-06-16 9:15 p.m., John Hauser wrote:
I suggested that the stateen CSRs are not needed and cannot be trusted.
This alternative wasn't rejected, per se.
On 2021-06-16 9:15 p.m., John Hauser wrote:
I suggested that the stateen CSRs are not needed and cannot be trusted.
This alternative wasn't rejected, per se.
|
By
David Horner
·
#704
·
|
|
Re: proposal for stateen CSRs
Josh Scheid wrote:
The AIA draft (Advanced Interrupt Architecture) currently defines 425
indirectly accessed registers for RV32, and some of them are ones we
knew we wanted to be able to index
Josh Scheid wrote:
The AIA draft (Advanced Interrupt Architecture) currently defines 425
indirectly accessed registers for RV32, and some of them are ones we
knew we wanted to be able to index
|
By
John Hauser
·
#703
·
|
|
Re: proposal for stateen CSRs
Note that there would be just one bit per relevant extension - irrespective of how many CSRs it adds.
As far as an extension that gobbles up a lot CSR numbers, it will be a natural and appropriate
Note that there would be just one bit per relevant extension - irrespective of how many CSRs it adds.
As far as an extension that gobbles up a lot CSR numbers, it will be a natural and appropriate
|
By
Greg Favor
·
#702
·
|
|
Re: proposal for stateen CSRs
An acceptable outcome, but I don't think extensions with large or potentially-growing CSR space requirements should plan to eat up CSR space and should instead use indirection when it makes sense
An acceptable outcome, but I don't think extensions with large or potentially-growing CSR space requirements should plan to eat up CSR space and should instead use indirection when it makes sense
|
By
Josh Scheid
·
#701
·
|
|
Re: proposal for stateen CSRs
Past discussions considered 4 CSRs to last for a long time, i.e. we can place bets on whether that lasts >30 years, >20 years or >10 years. An option, not cast in concrete, for 8 CSRs provides one
Past discussions considered 4 CSRs to last for a long time, i.e. we can place bets on whether that lasts >30 years, >20 years or >10 years. An option, not cast in concrete, for 8 CSRs provides one
|
By
Greg Favor
·
#700
·
|
|
Re: proposal for stateen CSRs
John may have a more nuanced answer, but No.
Greg
John may have a more nuanced answer, but No.
Greg
|
By
Greg Favor
·
#699
·
|