target/riscv: add missing riscv,isa strings
cover target/riscv: add missing riscv,isa strings
Hi,
Found these 2 instances while working in more 8.2 material.
I believe both are safe for freeze but I won't lose my sleep if we decide to postpone it.
Daniel Henrique Barboza (2):
target/riscv/cpu.c: add zmmul isa string
target/riscv/cpu.c: add smepmp isa string
target/riscv/cpu.c | 2 ++ 1 file changed, 2 insertions(+)
Signature · 1 line
2.41.0
PATCH 1/2 target/riscv/cpu.c: add zmmul isa string
zmmul was promoted from experimental to ratified in commit 6d00ffad4e95. Add a riscv,isa string for it.
--- target/riscv/cpu.c | 1 + 1 file changed, 1 insertion(+)
target/riscv/cpu.c +1 -0
@@ -88,6 +88,7 @@ static const struct isa_ext_data isa_edata_arr[] = {ISA_EXT_DATA_ENTRY (zicsr,PRIV_VERSION_1_10_0 , ext_icsr),ISA_EXT_DATA_ENTRY (zifencei,PRIV_VERSION_1_10_0 , ext_ifencei),ISA_EXT_DATA_ENTRY (zihintpause,PRIV_VERSION_1_10_0 , ext_zihintpause), +ISA_EXT_DATA_ENTRY (zmmul,PRIV_VERSION_1_12_0 , ext_zmmul),ISA_EXT_DATA_ENTRY (zawrs,PRIV_VERSION_1_12_0 , ext_zawrs),ISA_EXT_DATA_ENTRY (zfa,PRIV_VERSION_1_12_0 , ext_zfa), ISA_EXT_DATA_ENTRY(zfbfmin, PRIV_VERSION_1_12_0, ext_zfbfmin),
Signature · 1 line
2.41.0
Re: [PATCH 1/2] target/riscv/cpu.c: add zmmul isa string
Quoted 6 lines · Daniel Henrique Barboza
zmmul was promoted from experimental to ratified in commit
6d00ffad4e95. Add a riscv,isa string for it.Fixes 6d00ffad4e95 ("target/riscv: move zmmul out of the experimental properties")Signed-off-by Daniel Henrique Barboza <[email protected]>---
Weiwei Li
Quoted 15 lines
target/riscv/cpu.c | 1 + 1 file changed, 1 insertion(+)target/riscv/cpu.c +1
-0@@ -88,6 +88,7 @@ static const struct isa_ext_data isa_edata_arr[] = {ISA_EXT_DATA_ENTRY (zicsr,PRIV_VERSION_1_10_0 , ext_icsr),ISA_EXT_DATA_ENTRY (zifencei,PRIV_VERSION_1_10_0 , ext_ifencei),ISA_EXT_DATA_ENTRY (zihintpause,PRIV_VERSION_1_10_0 , ext_zihintpause), +ISA_EXT_DATA_ENTRY (zmmul,PRIV_VERSION_1_12_0 , ext_zmmul),ISA_EXT_DATA_ENTRY (zawrs,PRIV_VERSION_1_12_0 , ext_zawrs),ISA_EXT_DATA_ENTRY (zfa,PRIV_VERSION_1_12_0 , ext_zfa), ISA_EXT_DATA_ENTRY(zfbfmin, PRIV_VERSION_1_12_0, ext_zfbfmin),
Re: [PATCH 1/2] target/riscv/cpu.c: add zmmul isa string
In reply to Daniel Henrique BarbozaQuoted 6 lines · Daniel Henrique Barboza
zmmul was promoted from experimental to ratified in commit
6d00ffad4e95. Add a riscv,isa string for it.Fixes 6d00ffad4e95 ("target/riscv: move zmmul out of the experimental properties")Signed-off-by Daniel Henrique Barboza <[email protected]>
Alistair
Quoted 20 lines
--- target/riscv/cpu.c | 1 + 1 file changed, 1 insertion(+)target/riscv/cpu.c +1
-1@@ -88,6 +88,7 @@ static const struct isa_ext_data isa_edata_arr[] = {ISA_EXT_DATA_ENTRY (zicsr,PRIV_VERSION_1_10_0 , ext_icsr),ISA_EXT_DATA_ENTRY (zifencei,PRIV_VERSION_1_10_0 , ext_ifencei),ISA_EXT_DATA_ENTRY (zihintpause,PRIV_VERSION_1_10_0 , ext_zihintpause), +ISA_EXT_DATA_ENTRY (zmmul,PRIV_VERSION_1_12_0 , ext_zmmul),ISA_EXT_DATA_ENTRY (zawrs,PRIV_VERSION_1_12_0 , ext_zawrs),ISA_EXT_DATA_ENTRY (zfa,PRIV_VERSION_1_12_0 , ext_zfa), ISA_EXT_DATA_ENTRY(zfbfmin, PRIV_VERSION_1_12_0, ext_zfbfmin), --2.41.0
PATCH 2/2 target/riscv/cpu.c: add smepmp isa string
In reply to Daniel Henrique BarbozaThe cpu->cfg.epmp extension is still experimental, but it already has a 'smepmp' riscv,isa string. Add it.
--- target/riscv/cpu.c | 1 + 1 file changed, 1 insertion(+)
target/riscv/cpu.c +1 -0
@@ -130,6 +130,7 @@ static const struct isa_ext_data isa_edata_arr[] = {ISA_EXT_DATA_ENTRY (zhinx,PRIV_VERSION_1_12_0 , ext_zhinx),ISA_EXT_DATA_ENTRY (zhinxmin,PRIV_VERSION_1_12_0 , ext_zhinxmin),ISA_EXT_DATA_ENTRY (smaia,PRIV_VERSION_1_12_0 , ext_smaia), +ISA_EXT_DATA_ENTRY (smepmp,PRIV_VERSION_1_12_0 , epmp),ISA_EXT_DATA_ENTRY (smstateen,PRIV_VERSION_1_12_0 , ext_smstateen),ISA_EXT_DATA_ENTRY (ssaia,PRIV_VERSION_1_12_0 , ext_ssaia), ISA_EXT_DATA_ENTRY(sscofpmf, PRIV_VERSION_1_12_0, ext_sscofpmf),
Signature · 1 line
2.41.0
Re: [PATCH 2/2] target/riscv/cpu.c: add smepmp isa string
Quoted 5 lines · Daniel Henrique Barboza
The
cpu->cfg.epmpextension is still experimental, but it already has a 'smepmp' riscv,isa string. Add it.Signed-off-by Daniel Henrique Barboza <[email protected]>---
Weiwei Li
Quoted 15 lines
target/riscv/cpu.c | 1 + 1 file changed, 1 insertion(+)target/riscv/cpu.c +1
-0@@ -130,6 +130,7 @@ static const struct isa_ext_data isa_edata_arr[] = {ISA_EXT_DATA_ENTRY (zhinx,PRIV_VERSION_1_12_0 , ext_zhinx),ISA_EXT_DATA_ENTRY (zhinxmin,PRIV_VERSION_1_12_0 , ext_zhinxmin),ISA_EXT_DATA_ENTRY (smaia,PRIV_VERSION_1_12_0 , ext_smaia), +ISA_EXT_DATA_ENTRY (smepmp,PRIV_VERSION_1_12_0 , epmp),ISA_EXT_DATA_ENTRY (smstateen,PRIV_VERSION_1_12_0 , ext_smstateen),ISA_EXT_DATA_ENTRY (ssaia,PRIV_VERSION_1_12_0 , ext_ssaia), ISA_EXT_DATA_ENTRY(sscofpmf, PRIV_VERSION_1_12_0, ext_sscofpmf),
Re: [PATCH 2/2] target/riscv/cpu.c: add smepmp isa string
In reply to Daniel Henrique BarbozaQuoted 5 lines · Daniel Henrique Barboza
The
cpu->cfg.epmpextension is still experimental, but it already has a 'smepmp' riscv,isa string. Add it.Signed-off-by Daniel Henrique Barboza <[email protected]>
Alistair
Quoted 20 lines
--- target/riscv/cpu.c | 1 + 1 file changed, 1 insertion(+)target/riscv/cpu.c +1
-1@@ -130,6 +130,7 @@ static const struct isa_ext_data isa_edata_arr[] = {ISA_EXT_DATA_ENTRY (zhinx,PRIV_VERSION_1_12_0 , ext_zhinx),ISA_EXT_DATA_ENTRY (zhinxmin,PRIV_VERSION_1_12_0 , ext_zhinxmin),ISA_EXT_DATA_ENTRY (smaia,PRIV_VERSION_1_12_0 , ext_smaia), +ISA_EXT_DATA_ENTRY (smepmp,PRIV_VERSION_1_12_0 , epmp),ISA_EXT_DATA_ENTRY (smstateen,PRIV_VERSION_1_12_0 , ext_smstateen),ISA_EXT_DATA_ENTRY (ssaia,PRIV_VERSION_1_12_0 , ext_ssaia), ISA_EXT_DATA_ENTRY(sscofpmf, PRIV_VERSION_1_12_0, ext_sscofpmf), --2.41.0
Alistair Francis
AppliedRe: [PATCH 2/2] target/riscv/cpu.c: add smepmp isa string
In reply to Daniel Henrique BarbozaQuoted 5 lines · Daniel Henrique Barboza
The
cpu->cfg.epmpextension is still experimental, but it already has a 'smepmp' riscv,isa string. Add it.Signed-off-by Daniel Henrique Barboza <[email protected]>
Thanks!
Applied to riscv-to-apply.next
Alistair
Quoted 20 lines
--- target/riscv/cpu.c | 1 + 1 file changed, 1 insertion(+)target/riscv/cpu.c +1
-1@@ -130,6 +130,7 @@ static const struct isa_ext_data isa_edata_arr[] = {ISA_EXT_DATA_ENTRY (zhinx,PRIV_VERSION_1_12_0 , ext_zhinx),ISA_EXT_DATA_ENTRY (zhinxmin,PRIV_VERSION_1_12_0 , ext_zhinxmin),ISA_EXT_DATA_ENTRY (smaia,PRIV_VERSION_1_12_0 , ext_smaia), +ISA_EXT_DATA_ENTRY (smepmp,PRIV_VERSION_1_12_0 , epmp),ISA_EXT_DATA_ENTRY (smstateen,PRIV_VERSION_1_12_0 , ext_smstateen),ISA_EXT_DATA_ENTRY (ssaia,PRIV_VERSION_1_12_0 , ext_ssaia), ISA_EXT_DATA_ENTRY(sscofpmf, PRIV_VERSION_1_12_0, ext_sscofpmf), --2.41.0
Quoted 7 lines · Daniel Henrique Barboza
Hi,
Found these 2 instances while working in more 8.2 material.
I believe both are safe for freeze but I won't lose my sleep if we decide to postpone it.
I wasn't going to squeeze them into the freeze
Quoted 4 lines
Daniel Henrique Barboza (2):
target/riscv/cpu.c: add zmmul isa string
target/riscv/cpu.c: add smepmp isa string
Do you mind rebasing :)
https://github.com/alistair23/qemu/tree/riscv-to-apply.next
Alistair
Quoted 8 lines
target/riscv/cpu.c | 2 ++ 1 file changed, 2 insertions(+)--
2.41.0
Quoted 13 lines · Alistair Francis
Quoted 7 lines · Daniel Henrique Barboza
Hi,
Found these 2 instances while working in more 8.2 material.
I believe both are safe for freeze but I won't lose my sleep if we decide to postpone it.
I wasn't going to squeeze them into the freeze
Quoted 1 line
Quoted 6 lines
Quoted 3 lines
Daniel Henrique Barboza (2):
target/riscv/cpu.c: add zmmul isa string
target/riscv/cpu.c: add smepmp isa stringDo you mind rebasing :)
https://github.com/alistair23/qemu/tree/riscv-to-apply.next
:)
Thanks!
Daniel
Quoted 11 lines
Alistair
Quoted 8 lines
target/riscv/cpu.c | 2 ++ 1 file changed, 2 insertions(+)--
2.41.0