Re: [PULL 00/89] riscv-to-apply queue
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~
Re: [PULL 00/89] riscv-to-apply queue
On Fri, May 5, 2023 at 11:05 AM Alistair Francis wrote: > > On Fri, May 5, 2023 at 11:03 AM Alistair Francis 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=on=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
Re: [PULL 00/89] riscv-to-apply queue
On Fri, May 5, 2023 at 11:03 AM Alistair Francis 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
[PULL 00/89] riscv-to-apply queue
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) 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