|
A proposal to enhance RISC-V HPM (Hardware Performance Monitor)
66 messages
Hi all, This proposal is a refinement and update of a previous thread: https://lists.riscv.org/g/tech-privileged-archive/message/488. We noticed the current activities regarding HPM in Linux community
Hi all, This proposal is a refinement and update of a previous thread: https://lists.riscv.org/g/tech-privileged-archive/message/488. We noticed the current activities regarding HPM in Linux community
|
By
alankao
·
|
|
CSR address for debug scontext and hcontext
4 messages
Hello, Background: You may be aware that the RISC-V Debug Specification 0.13 defines two CSRs, mcontext and scontext, that can be used to qualify hardware breakpoints in a particular OS process or thr
Hello, Background: You may be aware that the RISC-V Debug Specification 0.13 defines two CSRs, mcontext and scontext, that can be used to qualify hardware breakpoints in a particular OS process or thr
|
By
Ernie Edgar
·
|
|
Proposal: Supervisor Timer CSR and Virtual Supervisor Timer CSR
13 messages
Hi Everyone, This is an updated version of our previous proposal on the clock source and clock event source. We have aligned our ideas with the latest hypervisor extension specs, removed the redundant
Hi Everyone, This is an updated version of our previous proposal on the clock source and clock event source. We have aligned our ideas with the latest hypervisor extension specs, removed the redundant
|
By
Siqi Zhao
·
|
|
platform specific interrupt control
2 messages
Hi, The definition of the interrupt pending and enable registers, example mip and mie, define bits 16 and above as available for platform or custom use. Section 3.1.9 Machine Interrupt Registers (mip
Hi, The definition of the interrupt pending and enable registers, example mip and mie, define bits 16 and above as available for platform or custom use. Section 3.1.9 Machine Interrupt Registers (mip
|
By
Sanjay Patel
·
|
|
Disabling and re-enabling extensions
17 messages
In a belated followup to https://github.com/riscv/riscv-isa-manual/issues/332#issuecomment-466581845, I have the same question as John Hauser. One thing that has changed is that now the architecture h
In a belated followup to https://github.com/riscv/riscv-isa-manual/issues/332#issuecomment-466581845, I have the same question as John Hauser. One thing that has changed is that now the architecture h
|
By
Paul Donahue
·
|
|
Proposal: Accelerating Handling User-level Interrupts
2 messages
Hi all, When we applied user-level interrupts in N extension to the Unix-like OS, there is no way to directly handle user-level interrupts in userspace bypassing the kernel. This makes little use of t
Hi all, When we applied user-level interrupts in N extension to the Unix-like OS, there is no way to directly handle user-level interrupts in userspace bypassing the kernel. This makes little use of t
|
By
Yifei Jiang
·
|
|
G-stage address translation
2 messages
I think that there are a few problems in section 5.5.1 of the hypervisor spec. It says that G-stage translation follows the same algorithm as section 4.3.2 with a few changes. However: 1. the first bu
I think that there are a few problems in section 5.5.1 of the hypervisor spec. It says that G-stage translation follows the same algorithm as section 4.3.2 with a few changes. However: 1. the first bu
|
By
Paul Donahue
·
|
|
Extending the number of PMP entries
20 messages
Hi everyone, Can we allocate more CSRs so that we can have more PMP entries available? We already have one implementation which requires 20 PMP entries, for example. Currently the CSR address space ca
Hi everyone, Can we allocate more CSRs so that we can have more PMP entries available? We already have one implementation which requires 20 PMP entries, for example. Currently the CSR address space ca
|
By
Mr Tariq Kurd
·
|
|
HLVX and PMP
4 messages
HLVX requires execute permission "during address translation" and explicitly requires PMP read access. Since PMP is not address translation, does HLVX require PMP execute permission in addition to rea
HLVX requires execute permission "during address translation" and explicitly requires PMP read access. Since PMP is not address translation, does HLVX require PMP execute permission in addition to rea
|
By
Paul Donahue
·
|
|
Proposed CMO TG Charter
Hi all, Andy and I would like to propose the following charter for the CMO TG for approval: The Cache Maintenance Operation, or CMO, task group intends to define data cache maintenance operations for
Hi all, Andy and I would like to propose the following charter for the CMO TG for approval: The Cache Maintenance Operation, or CMO, task group intends to define data cache maintenance operations for
|
By
David Kruckemyer
·
|
|
[RISC-V] [tech-cmo] Proposed CMO TG Charter
+1
By
Guy Lemieux
·
|
|
Unsupported counters in 'mcounteren'
2 messages
What is the architectural intention for a bit in 'mcounteren' that corresponds to an unsupported hpmcounter (i.e. the hpmcounter register is hardwired to zero)? Can or should this counteren bit also b
What is the architectural intention for a bit in 'mcounteren' that corresponds to an unsupported hpmcounter (i.e. the hpmcounter register is hardwired to zero)? Can or should this counteren bit also b
|
By
Greg Favor
·
|
|
ARM's new capability-based security ISA (building on top of ARMv8)
This is just a quick FYI. (Sorry if this is a bit spam'y; there isn't a clear TG to target with this email. And I don't expect that this is something that plays into any near-term RISC-V standardizati
This is just a quick FYI. (Sorry if this is a bit spam'y; there isn't a clear TG to target with this email. And I don't expect that this is something that plays into any near-term RISC-V standardizati
|
By
Greg Favor
·
|
|
Access unprivileged regions from OS
14 messages
Hi all, quoting the arm manual, "sometimes the OS does need to access unprivileged regions, for example, to write to a buffer owned by an application. To support this, the instruction set provides the
Hi all, quoting the arm manual, "sometimes the OS does need to access unprivileged regions, for example, to write to a buffer owned by an application. To support this, the instruction set provides the
|
By
Andrea Mondelli
·
|
|
PTE access type in Virtual Address Translation
2 messages
From the Privileged spec, the 2nd step of virtual Address Translation process said, [2. Let pte be the value of the PTE at address a+va.vpn[i]×PTESIZE. (For Sv32, PTESIZE=4.) If accessing pte violates
From the Privileged spec, the 2nd step of virtual Address Translation process said, [2. Let pte be the value of the PTE at address a+va.vpn[i]×PTESIZE. (For Sv32, PTESIZE=4.) If accessing pte violates
|
By
Gracy Ge
·
|
|
rv(64) address space size -benchmarks KASLR benchmarks
i found this after some time. this is an extensive set of benchmarks. comparing KASLR enabled and not enabled draw your own conclusions perhaps the summary tells it all https://www.phoronix.com/scan.p
i found this after some time. this is an extensive set of benchmarks. comparing KASLR enabled and not enabled draw your own conclusions perhaps the summary tells it all https://www.phoronix.com/scan.p
|
By
swallach
·
|
|
rv(64) address space size
11 messages
the current size of the virtual address space is 48 bits. (per the june 2019 spec - volume II) as many of you know, INTEL has increased their address space to 57 bits. several designers of server and
the current size of the virtual address space is 48 bits. (per the june 2019 spec - volume II) as many of you know, INTEL has increased their address space to 57 bits. several designers of server and
|
By
swallach
·
|
|
Performance Monitor Interrupts
3 messages
Hi, I have some questions about the hpm CSRs. There is a conspicuous lack of an interrupt associated with a counter overflow. Are custom interrupts expected to be provided in a RISC-V implementation?
Hi, I have some questions about the hpm CSRs. There is a conspicuous lack of an interrupt associated with a counter overflow. Are custom interrupts expected to be provided in a RISC-V implementation?
|
By
Sanjay Patel
·
|
|
[EXTERNAL]Re: [RISC-V] [tech-privileged] Performance Monitor Interrupts
2 messages
(+platforms, which Mark had added in.) Thanks for the quick reply Greg. Good to know it is of concern to others. 😊 I assume the specification will be posted for public review in the privileged workgro
(+platforms, which Mark had added in.) Thanks for the quick reply Greg. Good to know it is of concern to others. 😊 I assume the specification will be posted for public review in the privileged workgro
|
By
Sanjay Patel
·
|
|
ePMP update
Hi TEE group, I would like to give a quick update on ePMP spec. Public review We are still waiting for unpriv group to approve new CSR address assignment. It’s been pending for a while because there’r
Hi TEE group, I would like to give a quick update on ePMP spec. Public review We are still waiting for unpriv group to approve new CSR address assignment. It’s been pending for a while because there’r
|
By
Joe Xie
·
|