Message ID | 20230505010241.21812-1-alistair.francis@wdc.com |
---|---|
State | New |
Headers | show |
On Fri, May 5, 2023 at 11:03 AM Alistair Francis <alistair23@gmail.com> wrote: > > The following changes since commit f6b761bdbd8ba63cee7428d52fb6b46e4224ddab: > > Merge tag 'qga-pull-2023-05-04' of https://github.com/kostyanf14/qemu into staging (2023-05-04 12:08:00 +0100) > > are available in the Git repository at: > > https://github.com/alistair23/qemu.git tags/pull-riscv-to-apply-20230505-1 > > for you to fetch changes up to e1d084a8524a9225a46d485e2d164bb258f326f7: > > target/riscv: add Ventana's Veyron V1 CPU (2023-05-05 10:49:50 +1000) In an abundance of caution this has been signed with a new key after a recent security incident. I don't believe anything happened to the old one, but just in case I have created a new one. Let me know if there is anything you would like me to do to verify the new key. Then I will revoke the old one. Alistair > > ---------------------------------------------------------------- > First RISC-V PR for 8.1 > > * CPURISCVState related cleanup and simplification > * Refactor Zicond and reuse in XVentanaCondOps > * Fix invalid riscv,event-to-mhpmcounters entry > * Support subsets of code size reduction extension > * Fix itrigger when icount is used > * Simplification for RVH related check and code style fix > * Add signature dump function for spike to run ACT tests > * Rework MISA writing > * Fix mstatus.MPP related support > * Use check for relationship between Zdinx/Zhinx{min} and Zfinx > * Fix the H extension TVM trap > * A large collection of mstatus sum changes and cleanups > * Zero init APLIC internal state > * Implement query-cpu-definitions > * Restore the predicate() NULL check behavior > * Fix Guest Physical Address Translation > * Make sure an exception is raised if a pte is malformed > * Add Ventana's Veyron V1 CPU > > ---------------------------------------------------------------- > Alexandre Ghiti (1): > riscv: Make sure an exception is raised if a pte is malformed > > Bin Meng (1): > target/riscv: Restore the predicate() NULL check behavior > > Conor Dooley (1): > target/riscv: fix invalid riscv,event-to-mhpmcounters entry > > Daniel Henrique Barboza (23): > target/riscv: sync env->misa_ext* with cpu->cfg in realize() > target/riscv: remove MISA properties from isa_edata_arr[] > target/riscv/cpu.c: remove 'multi_letter' from isa_ext_data > target/riscv: introduce riscv_cpu_add_misa_properties() > target/riscv: remove cpu->cfg.ext_a > target/riscv: remove cpu->cfg.ext_c > target/riscv: remove cpu->cfg.ext_d > target/riscv: remove cpu->cfg.ext_f > target/riscv: remove cpu->cfg.ext_i > target/riscv: remove cpu->cfg.ext_e > target/riscv: remove cpu->cfg.ext_m > target/riscv: remove cpu->cfg.ext_s > target/riscv: remove cpu->cfg.ext_u > target/riscv: remove cpu->cfg.ext_h > target/riscv: remove cpu->cfg.ext_j > target/riscv: remove cpu->cfg.ext_v > target/riscv: remove riscv_cpu_sync_misa_cfg() > target/riscv: remove cfg.ext_g setup from rv64_thead_c906_cpu_init() > target/riscv: add RVG and remove cpu->cfg.ext_g > target/riscv/cpu.c: redesign register_cpu_props() > target/riscv: add CPU QOM header > target/riscv: add query-cpy-definitions support > target/riscv: add TYPE_RISCV_DYNAMIC_CPU > > Fei Wu (2): > target/riscv: Separate priv from mmu_idx > target/riscv: Reduce overhead of MSTATUS_SUM change > > Irina Ryapolova (1): > target/riscv: Fix Guest Physical Address Translation > > Ivan Klokov (1): > hw/intc/riscv_aplic: Zero init APLIC internal state > > LIU Zhiwei (7): > target/riscv: Fix priv version dependency for vector and zfh > target/riscv: Fix itrigger when icount is used > target/riscv: Convert env->virt to a bool env->virt_enabled > target/riscv: Extract virt enabled state from tb flags > target/riscv: Add a general status enum for extensions > target/riscv: Encode the FS and VS on a normal way for tb flags > target/riscv: Add a tb flags field for vstart > > Philipp Tomsich (2): > target/riscv: refactor Zicond support > target/riscv: redirect XVentanaCondOps to use the Zicond functions > > Rahul Pathak (1): > target/riscv: add Ventana's Veyron V1 CPU > > Richard Henderson (18): > target/riscv: Remove mstatus_hs_{fs, vs} from tb_flags > target/riscv: Use cpu_ld*_code_mmu for HLVX > target/riscv: Handle HLV, HSV via helpers > target/riscv: Rename MMU_HYP_ACCESS_BIT to MMU_2STAGE_BIT > target/riscv: Introduce mmuidx_sum > target/riscv: Introduce mmuidx_priv > target/riscv: Introduce mmuidx_2stage > target/riscv: Move hstatus.spvp check to check_access_hlsv > target/riscv: Set MMU_2STAGE_BIT in riscv_cpu_mmu_index > target/riscv: Check SUM in the correct register > target/riscv: Hoist second stage mode change to callers > target/riscv: Hoist pbmte and hade out of the level loop > target/riscv: Move leaf pte processing out of level loop > target/riscv: Suppress pte update with is_debug > target/riscv: Don't modify SUM with is_debug > target/riscv: Merge checks for reserved pte flags > target/riscv: Reorg access check in get_physical_address > target/riscv: Reorg sum check in get_physical_address > > Weiwei Li (30): > target/riscv: Avoid env_archcpu() when reading RISCVCPUConfig > target/riscv: Simplify getting RISCVCPU pointer from env > target/riscv: Simplify type conversion for CPURISCVState > target/riscv: Simplify arguments for riscv_csrrw_check > target/riscv: add cfg properties for Zc* extension > target/riscv: add support for Zca extension > target/riscv: add support for Zcf extension > target/riscv: add support for Zcd extension > target/riscv: add support for Zcb extension > target/riscv: add support for Zcmp extension > target/riscv: add support for Zcmt extension > target/riscv: expose properties for Zc* extension > disas/riscv.c: add disasm support for Zc* > target/riscv: Add support for Zce > target/riscv: Remove redundant call to riscv_cpu_virt_enabled > target/riscv: Remove redundant check on RVH > target/riscv: Remove check on RVH for riscv_cpu_virt_enabled > target/riscv: Remove check on RVH for riscv_cpu_set_virt_enabled > target/riscv: Remove redundant parentheses > target/riscv: Fix addr type for get_physical_address > target/riscv: Set opcode to env->bins for illegal/virtual instruction fault > target/riscv: Remove riscv_cpu_virt_enabled() > target/riscv: Fix format for indentation > target/riscv: Fix format for comments > target/riscv: Fix lines with over 80 characters > hw/riscv: Add signature dump function for spike to run ACT tests > target/riscv: Fix the mstatus.MPP value after executing MRET > target/riscv: Use PRV_RESERVED instead of PRV_H > target/riscv: Legalize MPP value in write_mstatus > target/riscv: Use check for relationship between Zdinx/Zhinx{min} and Zfinx > > Yi Chen (1): > target/riscv: fix H extension TVM trap > > MAINTAINERS | 2 +- > qapi/machine-target.json | 6 +- > include/hw/char/riscv_htif.h | 3 + > target/riscv/cpu-qom.h | 71 +++ > target/riscv/cpu.h | 155 ++--- > target/riscv/cpu_bits.h | 27 +- > target/riscv/cpu_vendorid.h | 4 + > target/riscv/helper.h | 15 +- > target/riscv/internals.h | 35 ++ > target/riscv/pmp.h | 9 +- > target/riscv/sbi_ecall_interface.h | 8 +- > target/riscv/time_helper.h | 2 +- > target/riscv/insn16.decode | 62 +- > disas/riscv.c | 228 ++++++- > hw/char/riscv_htif.c | 44 +- > hw/intc/riscv_aplic.c | 2 +- > hw/riscv/spike.c | 13 + > target/riscv/arch_dump.c | 7 +- > target/riscv/cpu.c | 571 +++++++++++------- > target/riscv/cpu_helper.c | 671 +++++++++++---------- > target/riscv/csr.c | 331 +++++----- > target/riscv/debug.c | 21 +- > target/riscv/fpu_helper.c | 24 +- > target/riscv/gdbstub.c | 9 +- > target/riscv/m128_helper.c | 16 +- > target/riscv/machine.c | 43 +- > target/riscv/op_helper.c | 147 ++++- > target/riscv/pmp.c | 66 +- > target/riscv/pmu.c | 23 +- > target/riscv/riscv-qmp-cmds.c | 57 ++ > target/riscv/time_helper.c | 15 +- > target/riscv/translate.c | 109 ++-- > target/riscv/vector_helper.c | 317 +++++----- > target/riscv/zce_helper.c | 55 ++ > target/riscv/insn_trans/trans_privileged.c.inc | 8 +- > target/riscv/insn_trans/trans_rvd.c.inc | 18 + > target/riscv/insn_trans/trans_rvf.c.inc | 20 +- > target/riscv/insn_trans/trans_rvh.c.inc | 127 ++-- > target/riscv/insn_trans/trans_rvi.c.inc | 4 +- > target/riscv/insn_trans/trans_rvv.c.inc | 58 +- > target/riscv/insn_trans/trans_rvzce.c.inc | 311 ++++++++++ > target/riscv/insn_trans/trans_rvzicond.c.inc | 36 +- > target/riscv/insn_trans/trans_xthead.c.inc | 14 +- > .../riscv/insn_trans/trans_xventanacondops.c.inc | 18 +- > target/riscv/meson.build | 6 +- > 45 files changed, 2488 insertions(+), 1300 deletions(-) > create mode 100644 target/riscv/cpu-qom.h > create mode 100644 target/riscv/riscv-qmp-cmds.c > create mode 100644 target/riscv/zce_helper.c > create mode 100644 target/riscv/insn_trans/trans_rvzce.c.inc
On Fri, May 5, 2023 at 11:05 AM Alistair Francis <alistair23@gmail.com> wrote: > > On Fri, May 5, 2023 at 11:03 AM Alistair Francis <alistair23@gmail.com> wrote: > > > > The following changes since commit f6b761bdbd8ba63cee7428d52fb6b46e4224ddab: > > > > Merge tag 'qga-pull-2023-05-04' of https://github.com/kostyanf14/qemu into staging (2023-05-04 12:08:00 +0100) > > > > are available in the Git repository at: > > > > https://github.com/alistair23/qemu.git tags/pull-riscv-to-apply-20230505-1 > > > > for you to fetch changes up to e1d084a8524a9225a46d485e2d164bb258f326f7: > > > > target/riscv: add Ventana's Veyron V1 CPU (2023-05-05 10:49:50 +1000) > > In an abundance of caution this has been signed with a new key after a > recent security incident. > > I don't believe anything happened to the old one, but just in case I > have created a new one. Let me know if there is anything you would > like me to do to verify the new key. Then I will revoke the old one. I forgot to add, the new one is here: https://keyserver.ubuntu.com/pks/lookup?search=AF7C95130C538013&fingerprint=on&op=index it should propagate through Alistair > > Alistair > > > > > ---------------------------------------------------------------- > > First RISC-V PR for 8.1 > > > > * CPURISCVState related cleanup and simplification > > * Refactor Zicond and reuse in XVentanaCondOps > > * Fix invalid riscv,event-to-mhpmcounters entry > > * Support subsets of code size reduction extension > > * Fix itrigger when icount is used > > * Simplification for RVH related check and code style fix > > * Add signature dump function for spike to run ACT tests > > * Rework MISA writing > > * Fix mstatus.MPP related support > > * Use check for relationship between Zdinx/Zhinx{min} and Zfinx > > * Fix the H extension TVM trap > > * A large collection of mstatus sum changes and cleanups > > * Zero init APLIC internal state > > * Implement query-cpu-definitions > > * Restore the predicate() NULL check behavior > > * Fix Guest Physical Address Translation > > * Make sure an exception is raised if a pte is malformed > > * Add Ventana's Veyron V1 CPU > > > > ---------------------------------------------------------------- > > Alexandre Ghiti (1): > > riscv: Make sure an exception is raised if a pte is malformed > > > > Bin Meng (1): > > target/riscv: Restore the predicate() NULL check behavior > > > > Conor Dooley (1): > > target/riscv: fix invalid riscv,event-to-mhpmcounters entry > > > > Daniel Henrique Barboza (23): > > target/riscv: sync env->misa_ext* with cpu->cfg in realize() > > target/riscv: remove MISA properties from isa_edata_arr[] > > target/riscv/cpu.c: remove 'multi_letter' from isa_ext_data > > target/riscv: introduce riscv_cpu_add_misa_properties() > > target/riscv: remove cpu->cfg.ext_a > > target/riscv: remove cpu->cfg.ext_c > > target/riscv: remove cpu->cfg.ext_d > > target/riscv: remove cpu->cfg.ext_f > > target/riscv: remove cpu->cfg.ext_i > > target/riscv: remove cpu->cfg.ext_e > > target/riscv: remove cpu->cfg.ext_m > > target/riscv: remove cpu->cfg.ext_s > > target/riscv: remove cpu->cfg.ext_u > > target/riscv: remove cpu->cfg.ext_h > > target/riscv: remove cpu->cfg.ext_j > > target/riscv: remove cpu->cfg.ext_v > > target/riscv: remove riscv_cpu_sync_misa_cfg() > > target/riscv: remove cfg.ext_g setup from rv64_thead_c906_cpu_init() > > target/riscv: add RVG and remove cpu->cfg.ext_g > > target/riscv/cpu.c: redesign register_cpu_props() > > target/riscv: add CPU QOM header > > target/riscv: add query-cpy-definitions support > > target/riscv: add TYPE_RISCV_DYNAMIC_CPU > > > > Fei Wu (2): > > target/riscv: Separate priv from mmu_idx > > target/riscv: Reduce overhead of MSTATUS_SUM change > > > > Irina Ryapolova (1): > > target/riscv: Fix Guest Physical Address Translation > > > > Ivan Klokov (1): > > hw/intc/riscv_aplic: Zero init APLIC internal state > > > > LIU Zhiwei (7): > > target/riscv: Fix priv version dependency for vector and zfh > > target/riscv: Fix itrigger when icount is used > > target/riscv: Convert env->virt to a bool env->virt_enabled > > target/riscv: Extract virt enabled state from tb flags > > target/riscv: Add a general status enum for extensions > > target/riscv: Encode the FS and VS on a normal way for tb flags > > target/riscv: Add a tb flags field for vstart > > > > Philipp Tomsich (2): > > target/riscv: refactor Zicond support > > target/riscv: redirect XVentanaCondOps to use the Zicond functions > > > > Rahul Pathak (1): > > target/riscv: add Ventana's Veyron V1 CPU > > > > Richard Henderson (18): > > target/riscv: Remove mstatus_hs_{fs, vs} from tb_flags > > target/riscv: Use cpu_ld*_code_mmu for HLVX > > target/riscv: Handle HLV, HSV via helpers > > target/riscv: Rename MMU_HYP_ACCESS_BIT to MMU_2STAGE_BIT > > target/riscv: Introduce mmuidx_sum > > target/riscv: Introduce mmuidx_priv > > target/riscv: Introduce mmuidx_2stage > > target/riscv: Move hstatus.spvp check to check_access_hlsv > > target/riscv: Set MMU_2STAGE_BIT in riscv_cpu_mmu_index > > target/riscv: Check SUM in the correct register > > target/riscv: Hoist second stage mode change to callers > > target/riscv: Hoist pbmte and hade out of the level loop > > target/riscv: Move leaf pte processing out of level loop > > target/riscv: Suppress pte update with is_debug > > target/riscv: Don't modify SUM with is_debug > > target/riscv: Merge checks for reserved pte flags > > target/riscv: Reorg access check in get_physical_address > > target/riscv: Reorg sum check in get_physical_address > > > > Weiwei Li (30): > > target/riscv: Avoid env_archcpu() when reading RISCVCPUConfig > > target/riscv: Simplify getting RISCVCPU pointer from env > > target/riscv: Simplify type conversion for CPURISCVState > > target/riscv: Simplify arguments for riscv_csrrw_check > > target/riscv: add cfg properties for Zc* extension > > target/riscv: add support for Zca extension > > target/riscv: add support for Zcf extension > > target/riscv: add support for Zcd extension > > target/riscv: add support for Zcb extension > > target/riscv: add support for Zcmp extension > > target/riscv: add support for Zcmt extension > > target/riscv: expose properties for Zc* extension > > disas/riscv.c: add disasm support for Zc* > > target/riscv: Add support for Zce > > target/riscv: Remove redundant call to riscv_cpu_virt_enabled > > target/riscv: Remove redundant check on RVH > > target/riscv: Remove check on RVH for riscv_cpu_virt_enabled > > target/riscv: Remove check on RVH for riscv_cpu_set_virt_enabled > > target/riscv: Remove redundant parentheses > > target/riscv: Fix addr type for get_physical_address > > target/riscv: Set opcode to env->bins for illegal/virtual instruction fault > > target/riscv: Remove riscv_cpu_virt_enabled() > > target/riscv: Fix format for indentation > > target/riscv: Fix format for comments > > target/riscv: Fix lines with over 80 characters > > hw/riscv: Add signature dump function for spike to run ACT tests > > target/riscv: Fix the mstatus.MPP value after executing MRET > > target/riscv: Use PRV_RESERVED instead of PRV_H > > target/riscv: Legalize MPP value in write_mstatus > > target/riscv: Use check for relationship between Zdinx/Zhinx{min} and Zfinx > > > > Yi Chen (1): > > target/riscv: fix H extension TVM trap > > > > MAINTAINERS | 2 +- > > qapi/machine-target.json | 6 +- > > include/hw/char/riscv_htif.h | 3 + > > target/riscv/cpu-qom.h | 71 +++ > > target/riscv/cpu.h | 155 ++--- > > target/riscv/cpu_bits.h | 27 +- > > target/riscv/cpu_vendorid.h | 4 + > > target/riscv/helper.h | 15 +- > > target/riscv/internals.h | 35 ++ > > target/riscv/pmp.h | 9 +- > > target/riscv/sbi_ecall_interface.h | 8 +- > > target/riscv/time_helper.h | 2 +- > > target/riscv/insn16.decode | 62 +- > > disas/riscv.c | 228 ++++++- > > hw/char/riscv_htif.c | 44 +- > > hw/intc/riscv_aplic.c | 2 +- > > hw/riscv/spike.c | 13 + > > target/riscv/arch_dump.c | 7 +- > > target/riscv/cpu.c | 571 +++++++++++------- > > target/riscv/cpu_helper.c | 671 +++++++++++---------- > > target/riscv/csr.c | 331 +++++----- > > target/riscv/debug.c | 21 +- > > target/riscv/fpu_helper.c | 24 +- > > target/riscv/gdbstub.c | 9 +- > > target/riscv/m128_helper.c | 16 +- > > target/riscv/machine.c | 43 +- > > target/riscv/op_helper.c | 147 ++++- > > target/riscv/pmp.c | 66 +- > > target/riscv/pmu.c | 23 +- > > target/riscv/riscv-qmp-cmds.c | 57 ++ > > target/riscv/time_helper.c | 15 +- > > target/riscv/translate.c | 109 ++-- > > target/riscv/vector_helper.c | 317 +++++----- > > target/riscv/zce_helper.c | 55 ++ > > target/riscv/insn_trans/trans_privileged.c.inc | 8 +- > > target/riscv/insn_trans/trans_rvd.c.inc | 18 + > > target/riscv/insn_trans/trans_rvf.c.inc | 20 +- > > target/riscv/insn_trans/trans_rvh.c.inc | 127 ++-- > > target/riscv/insn_trans/trans_rvi.c.inc | 4 +- > > target/riscv/insn_trans/trans_rvv.c.inc | 58 +- > > target/riscv/insn_trans/trans_rvzce.c.inc | 311 ++++++++++ > > target/riscv/insn_trans/trans_rvzicond.c.inc | 36 +- > > target/riscv/insn_trans/trans_xthead.c.inc | 14 +- > > .../riscv/insn_trans/trans_xventanacondops.c.inc | 18 +- > > target/riscv/meson.build | 6 +- > > 45 files changed, 2488 insertions(+), 1300 deletions(-) > > create mode 100644 target/riscv/cpu-qom.h > > create mode 100644 target/riscv/riscv-qmp-cmds.c > > create mode 100644 target/riscv/zce_helper.c > > create mode 100644 target/riscv/insn_trans/trans_rvzce.c.inc
On 5/5/23 02:01, Alistair Francis wrote: > The following changes since commit f6b761bdbd8ba63cee7428d52fb6b46e4224ddab: > > Merge tag 'qga-pull-2023-05-04' ofhttps://github.com/kostyanf14/qemu into staging (2023-05-04 12:08:00 +0100) > > are available in the Git repository at: > > https://github.com/alistair23/qemu.git tags/pull-riscv-to-apply-20230505-1 > > for you to fetch changes up to e1d084a8524a9225a46d485e2d164bb258f326f7: > > target/riscv: add Ventana's Veyron V1 CPU (2023-05-05 10:49:50 +1000) > > ---------------------------------------------------------------- > First RISC-V PR for 8.1 > > * CPURISCVState related cleanup and simplification > * Refactor Zicond and reuse in XVentanaCondOps > * Fix invalid riscv,event-to-mhpmcounters entry > * Support subsets of code size reduction extension > * Fix itrigger when icount is used > * Simplification for RVH related check and code style fix > * Add signature dump function for spike to run ACT tests > * Rework MISA writing > * Fix mstatus.MPP related support > * Use check for relationship between Zdinx/Zhinx{min} and Zfinx > * Fix the H extension TVM trap > * A large collection of mstatus sum changes and cleanups > * Zero init APLIC internal state > * Implement query-cpu-definitions > * Restore the predicate() NULL check behavior > * Fix Guest Physical Address Translation > * Make sure an exception is raised if a pte is malformed > * Add Ventana's Veyron V1 CPU Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/8.1 as appropriate. r~