Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp409954ybl; Wed, 11 Dec 2019 01:39:35 -0800 (PST) X-Google-Smtp-Source: APXvYqxAREL9vdXyM2eQKVNtWrQ41a4NRzHGabwhCSnqHK1ITk5dnpYF/6y18vsYTptpP+CMGbg7 X-Received: by 2002:aca:5fc6:: with SMTP id t189mr2070103oib.166.1576057175456; Wed, 11 Dec 2019 01:39:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576057175; cv=none; d=google.com; s=arc-20160816; b=z6mY9lx2wCJDT+2rDYE6m9tbEbkgs4ONBUAeMKh2CKh4i2stN0aYqdGsBM6IqCKEfK 79N8OM7JXk8nZYFLwt4z1iEBdLnTw0tfOPXi8Tds/XZ4FzlnYVrsfun798U4FAgH66RD v7+eAB+6dmSVbPO3ivvp036T80la4ZSaWjJUg4m6f6h512EYtoGgy1AmuLMd6fyV/t7v msfP+fuzFPBWB0KFLX585r6f4wqw58py/6Tjg/e8Ugps0P2BTEOdjzovIjrIqXZhMGNi 1wek6jBEypHtNOS+ZXljij1MMwv+O73v+l1MQY9FKvarnx1c2s87Kqf58J6rvA4XXsfH KWww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=AyIG6ooJaRgj9b+98Rtx7hZBKbtSFzJM0bcbqrq7Boo=; b=sixiBVf7qDbfIBrbDDLKcWy9VgAjZA/oYkGizcKdawD4X88/JJLcr/wpl84I/3Mcm/ UdzQhYEFDcs4pNYvJinob2/Mjbh6hYJ5oTzqCfVM8Fgr4wR6RjYcavjgLOfjwmVbbP4v bL3ghRgWk3bnRIaokktk0rzZb9e35MtvEIByxTdgi24QyYQiRJd/Pv9at7s4ze3GABXA MSMUN+VV37r/PhmVth2zTVxM65Hs2WcFaK76EfiI9xPzH/SDPZIsrBiCRVSG87JXuKjX liQtDvWjwKc+ii3IfxgXn9pk+3FU542onK/eYv9/JXY8qeQvQUKZhAvGfHBEz74P7kMl 2htw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12si793466otl.243.2019.12.11.01.39.23; Wed, 11 Dec 2019 01:39:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728370AbfLKJjE (ORCPT + 99 others); Wed, 11 Dec 2019 04:39:04 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:54420 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727318AbfLKJjE (ORCPT ); Wed, 11 Dec 2019 04:39:04 -0500 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1ieySU-000098-Sc; Wed, 11 Dec 2019 17:39:02 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1ieySU-0005lW-63; Wed, 11 Dec 2019 17:39:02 +0800 Date: Wed, 11 Dec 2019 17:39:02 +0800 From: Herbert Xu To: Ard Biesheuvel Cc: linux-crypto@vger.kernel.org, Gary R Hook Subject: Re: [PATCH] crypto: ccp: set max RSA modulus size for v3 platform devices as well Message-ID: <20191211093902.r7udrunanpqvuout@gondor.apana.org.au> References: <20191127120136.105325-1-ardb@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191127120136.105325-1-ardb@kernel.org> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, Nov 27, 2019 at 01:01:36PM +0100, Ard Biesheuvel wrote: > AMD Seattle incorporates a non-PCI version of the v3 CCP crypto > accelerator, and this version was left behind when the maximum > RSA modulus size was parameterized in order to support v5 hardware > which supports larger moduli than v3 hardware does. Due to this > oversight, RSA acceleration no longer works at all on these systems. > > Fix this by setting the .rsamax property to the appropriate value > for v3 platform hardware. > > Fixes: e28c190db66830c0 ("csrypto: ccp - Expand RSA support for a v5 ccp") > Cc: Gary R Hook > Signed-off-by: Ard Biesheuvel > --- > drivers/crypto/ccp/ccp-dev-v3.c | 1 + > 1 file changed, 1 insertion(+) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt