Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp782119rwo; Wed, 2 Aug 2023 04:15:04 -0700 (PDT) X-Google-Smtp-Source: APBJJlEYveed+/ZVJWjfUY4v9dLpbDO88+EPfbxZwXmvYsv0vW6ts+GRh/s8gxtz5GoXE6I8Ih0a X-Received: by 2002:a05:6a00:18a5:b0:686:24e1:d12e with SMTP id x37-20020a056a0018a500b0068624e1d12emr18772532pfh.30.1690974904085; Wed, 02 Aug 2023 04:15:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690974904; cv=none; d=google.com; s=arc-20160816; b=yLgjteCLK5tqDEMdaE8QbPpeT/w7WaFuX/Dv0exJX0H10ffW5w3wTabdmH4Vx6JJOU p7zzzPE8lJocLqNPqLjonTSVdl1WivGgAJ5IS/K/UMPGOfriyzU1IHL/8jt7AZH6UaLh 0FzCwYyJQBRfeezKRnFSEq4Kk15Jk/br9ucSIGB7NUdvcXtk68wGKhrFXZoQFo6RQ00f 3gAdcn3vfCopuEkY/qWpYlFki4Dke4FclmC9HJZScxD6aMRTr0q9HR6MFhYZbTbbH9nq c5WagYKl+YrHjK/BaHTDxS6EzpbnCuDfRepL65BgaHNpmUGX2vXcXanMFnsxYRORBZA4 5qqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=oi6S3gwwB1uAD1UTLi0Fm/S6RrTs2C5SEc5w3hVse8Y=; fh=yZXM3+6Oa2HaPRoNpokltJ9kjAy/zqAs6CaaIaCSRL4=; b=Yvi7+gH9lAR6RWBgPeQ0MIjTg1ioDv5u1+1K9BRaEm/jCuZh85CiZNEOeCC9DXWQTA Xk2F5+Db8SONiokW2iesrr4c2fFU67hJbagz7uxNQz2HvtJWu9W0Y680NCYqu2gZiuhz d3XwnYaWaDg+vuOodE9uDMZ2DlL8lPQRCvdZyhMX/CJAr/L6rOChe61IOL8Vmx3w7t/6 qeCdto+8CMoMBYXWz9bBt90oUc1cT7ZFWF0LTFINFtUK/c+oVELRaDqjnQ84xWH3AtnA i/BYwrgK7btRoCNCFjW8WI1WDWeI5Os99jGZ+pPs9IINL0aLWxvfi9S2VNF7T3HSq6Ro rlBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q201-20020a632ad2000000b00553c2f85095si10414119pgq.832.2023.08.02.04.14.51; Wed, 02 Aug 2023 04:15:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230245AbjHBKyU (ORCPT + 99 others); Wed, 2 Aug 2023 06:54:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231818AbjHBKyT (ORCPT ); Wed, 2 Aug 2023 06:54:19 -0400 Received: from mx1.zhaoxin.com (MX1.ZHAOXIN.COM [210.0.225.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3CDD1B6 for ; Wed, 2 Aug 2023 03:54:17 -0700 (PDT) X-ASG-Debug-ID: 1690973652-086e23186c07d00001-xx1T2L Received: from ZXSHMBX1.zhaoxin.com (ZXSHMBX1.zhaoxin.com [10.28.252.163]) by mx1.zhaoxin.com with ESMTP id pC4RdGz1XyrAG08x (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 02 Aug 2023 18:54:12 +0800 (CST) X-Barracuda-Envelope-From: TonyWWang-oc@zhaoxin.com X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.163 Received: from zxbjmbx1.zhaoxin.com (10.29.252.163) by ZXSHMBX1.zhaoxin.com (10.28.252.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 2 Aug 2023 18:54:11 +0800 Received: from tony-HX002EA.zhaoxin.com (10.32.65.162) by zxbjmbx1.zhaoxin.com (10.29.252.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 2 Aug 2023 18:54:10 +0800 X-Barracuda-RBL-Trusted-Forwarder: 10.28.252.163 From: Tony W Wang-oc X-Barracuda-RBL-Trusted-Forwarder: 10.29.252.163 To: , , , CC: , , Subject: [PATCH] crypto: padlock-sha: Match CPUs with Family = 6 explicitly Date: Wed, 2 Aug 2023 18:54:11 +0800 X-ASG-Orig-Subj: [PATCH] crypto: padlock-sha: Match CPUs with Family = 6 explicitly Message-ID: <20230802105411.3960-1-TonyWWang-oc@zhaoxin.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.32.65.162] X-ClientProxiedBy: zxbjmbx1.zhaoxin.com (10.29.252.163) To zxbjmbx1.zhaoxin.com (10.29.252.163) X-Barracuda-Connect: ZXSHMBX1.zhaoxin.com[10.28.252.163] X-Barracuda-Start-Time: 1690973652 X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256 X-Barracuda-URL: https://10.28.252.35:4443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at zhaoxin.com X-Barracuda-Scan-Msg-Size: 786 X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.112208 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Updates the supporting qualification for packlock-sha driver, making it support CPUs whose vendor ID is Centaur and Famliy is 6. Signed-off-by: Tony W Wang-oc --- drivers/crypto/padlock-sha.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/padlock-sha.c b/drivers/crypto/padlock-sha.c index 6865c7f1fc1a..2e82c5e77f7a 100644 --- a/drivers/crypto/padlock-sha.c +++ b/drivers/crypto/padlock-sha.c @@ -491,7 +491,7 @@ static struct shash_alg sha256_alg_nano = { }; static const struct x86_cpu_id padlock_sha_ids[] = { - X86_MATCH_FEATURE(X86_FEATURE_PHE, NULL), + X86_MATCH_VENDOR_FAM_FEATURE(CENTAUR, 6, X86_FEATURE_PHE, NULL), {} }; MODULE_DEVICE_TABLE(x86cpu, padlock_sha_ids); -- 2.17.1