qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH RESEND] target/riscv/cpu.c: fix Zvkb extension config


From: liwei
Subject: Re: [PATCH RESEND] target/riscv/cpu.c: fix Zvkb extension config
Date: Sat, 11 May 2024 21:54:41 +0800
User-agent: Mozilla Thunderbird


On 2024/5/11 19:26, Yangyu Chen wrote:
This code has a typo that writes zvkb to zvkg, causing users can't
enable zvkb through the config. This patch gets this fixed.

Signed-off-by: Yangyu Chen <cyy@cyyself.name>
Fixes: ea61ef7097d0 ("target/riscv: Move vector crypto extensions to 
riscv_cpu_extensions")
Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
---
  target/riscv/cpu.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by:  Weiwei Li <liwei1518@gmail.com>

Weiwei Li


diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
index eb1a2e7d6d..13cd34adbd 100644
--- a/target/riscv/cpu.c
+++ b/target/riscv/cpu.c
@@ -1535,7 +1535,7 @@ const RISCVCPUMultiExtConfig riscv_cpu_extensions[] = {
      /* Vector cryptography extensions */
      MULTI_EXT_CFG_BOOL("zvbb", ext_zvbb, false),
      MULTI_EXT_CFG_BOOL("zvbc", ext_zvbc, false),
-    MULTI_EXT_CFG_BOOL("zvkb", ext_zvkg, false),
+    MULTI_EXT_CFG_BOOL("zvkb", ext_zvkb, false),
      MULTI_EXT_CFG_BOOL("zvkg", ext_zvkg, false),
      MULTI_EXT_CFG_BOOL("zvkned", ext_zvkned, false),
      MULTI_EXT_CFG_BOOL("zvknha", ext_zvknha, false),



reply via email to

[Prev in Thread] Current Thread [Next in Thread]