From nobody Mon Nov 25 07:53:59 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1717413485; cv=none; d=zohomail.com; s=zohoarc; b=lZ5CzpXOhhHvUyc/KxSDrx14gsZWwdI/oDwl+CrjmjvsaTmoX3+UTP/d9I0vVYVDWhumRyMobptLwCjfj+YKdncVzPpdqFYK60ygarQESTs6xWNJY7xWcguJJBt5g1Go26/QuLiGbKblGJo3VanyjIjxKXSe7W6KNXqpX4vwJoc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1717413485; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=5qcQTiAdEv5FwQ27d9xmN3ZTsEtqw8BucwxaZ316zkY=; b=J6lN2iigLW1nmWec/8fDTsJccRKnlFSwMJz6bUDxxvrSeFn8h38rmKLA+fkzHU5nsHRFpOK5NHWYfLoWzfz5XYOYg+jWIWtfyuELq+8R5aj3Q2WuxRvDmOO2N/YkjoBZ3xuDG6o38nnCkVKlgogMn3r0Te0havtijcP7WAB5lyM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1717413485487843.4818077339138; Mon, 3 Jun 2024 04:18:05 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sE5hS-0006Gm-M5; Mon, 03 Jun 2024 07:18:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sE5hD-0004kv-2U; Mon, 03 Jun 2024 07:17:47 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sE5h8-0006LV-N2; Mon, 03 Jun 2024 07:17:45 -0400 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1f4c7b022f8so38055835ad.1; Mon, 03 Jun 2024 04:17:39 -0700 (PDT) Received: from toolbox.alistair23.me (2403-580b-97e8-0-82ce-f179-8a79-69f4.ip6.aussiebb.net. [2403:580b:97e8:0:82ce:f179:8a79:69f4]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f6323e18c7sm62375435ad.177.2024.06.03.04.17.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 04:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717413459; x=1718018259; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5qcQTiAdEv5FwQ27d9xmN3ZTsEtqw8BucwxaZ316zkY=; b=i9EkhQFh+rK3wsLrxevdTJY2z7KLv9m2k+Gd3VrwDykomCP7jOtXMQ0+1PZhQGzjst zB7L9Izyum9FPCKUAqsgf5iNKgOgC7Foge0qJec6YHNR6/TXrIXKI2mGsJhUepqBxhhN DYRY3IF15sTg+G4ABdpXH3VolcUx+I2KkCnkrxn7AK7rK/ouUqomtF3UMj0cqQi3NKsD WNW3Z07GBavXDkMTff8VynklUTtk/kwYGdhyM9pwpgd7R7DLGXdmxnjQwiwDqgCC/9W3 Ysn600JvJ0PHrmbpCxvzcqgdmwMC88f6SSg26nJzP4CySPY5kGQJ9bgSLhVJYOgORngd iA3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717413459; x=1718018259; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5qcQTiAdEv5FwQ27d9xmN3ZTsEtqw8BucwxaZ316zkY=; b=DUuISO9WLAaJ/sIK/3/n28vd9ZH0j/8lPTE3VTI/qGD7d1YyO93hEaXqTI2iR9KG7j 52BlxGlIkPLRNiHn8MyflxxJ5Ol9LOfXXZ4nhQp52VOV6ZOHRHrO5jrMb/P2Z/BNJnHS 1wajh2WlYIcPBrVFWgjV3K8fATrsoVfBlJTbk9aCIhkG4dlfaHC545z1qsllmdZc+WBx U4QgMlQDkHaMgXGKpIw04iX4Y8vUHfH2jOhWG4lhbIQFrmaHyhfDacABx0ldGswhtvvG 0GCfiBkRxIr+Wt2nb/rX98pdnbw0Vsvry0+vXvkNe9RAIx8+Nbil/IoTCnE8+FlqTC8C FDiw== X-Forwarded-Encrypted: i=1; AJvYcCVAzYxcyb0JLbxBriElnPZOITcgMxkijdhQIqlLpHd9C3WwVJ5L9v+EYEkabYK4xAajvMfVIPa2q1E2jzf+zh7AWW48exBU X-Gm-Message-State: AOJu0YzaXRNGuGBl4nTtUH5P96NYDTg8PTF9t2Lum1NHiJFun7JXUtuq A3iqSqX9BjyF6N/OIFf4/T+Hqq/1pEGoBltM3L+FCQ5uRbER/zL/T6+xfA== X-Google-Smtp-Source: AGHT+IF9Cdee7jeshmcjHDKjUQVxnWbIgFwGJXO2McPQ+VxIMUzLcFKvtw7m5/rTlLVQXnegNT2onQ== X-Received: by 2002:a17:902:d507:b0:1f4:5b00:401 with SMTP id d9443c01a7336-1f6370a0bb7mr97974495ad.54.1717413458677; Mon, 03 Jun 2024 04:17:38 -0700 (PDT) From: Alistair Francis X-Google-Original-From: Alistair Francis To: qemu-devel@nongnu.org Cc: alistair23@gmail.com, Yangyu Chen , LIU Zhiwei , Alistair Francis , Max Chou , qemu-stable Subject: [PULL v2 14/27] target/riscv/cpu.c: fix Zvkb extension config Date: Mon, 3 Jun 2024 21:16:30 +1000 Message-ID: <20240603111643.258712-15-alistair.francis@wdc.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240603111643.258712-1-alistair.francis@wdc.com> References: <20240603111643.258712-1-alistair.francis@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=alistair23@gmail.com; helo=mail-pl1-x62a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1717413486030100005 From: Yangyu Chen 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 Fixes: ea61ef7097d0 ("target/riscv: Move vector crypto extensions to riscv_= cpu_extensions") Reviewed-by: LIU Zhiwei Reviewed-by: Alistair Francis Reviewed-by: Max Chou Reviewed-by:=C2=A0 Weiwei Li Message-ID: Cc: qemu-stable Signed-off-by: Alistair Francis --- target/riscv/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c index a74f0eb29c..0d6fb9b4ba 100644 --- a/target/riscv/cpu.c +++ b/target/riscv/cpu.c @@ -1539,7 +1539,7 @@ const RISCVCPUMultiExtConfig riscv_cpu_extensions[] = =3D { /* 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), --=20 2.45.1