Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1044437ybp; Fri, 4 Oct 2019 08:46:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqy0m3FfXaw3wuCw/tWPIU4L4Z7WTzEjOimMxiygef6N0o4s+V2FMMSewyNu2wFvLy1qb0AW X-Received: by 2002:a17:906:1e16:: with SMTP id g22mr13112216ejj.14.1570203965631; Fri, 04 Oct 2019 08:46:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570203965; cv=none; d=google.com; s=arc-20160816; b=VjWdfXQy+YXrXqZt0A9/0aiMoun1zGpfwRo4zi9+qpBscqAqJzDYApr3XHxz+e8Nuy zDE5XvddpMrsmeY0QFu3MiHXOqwhKJGtfqyiMvuQgjD1gAD5Wag/EF/t97ADVwWoaXJ6 AwjDAVIEXRGUuoVqP2r6OeLR3GBDN6Mfd2dvnm6CTvXqrgOJ3PKIZLqtEZOsq33DfwwQ Ywmig73iPkaJsuZGeEOp2PjbiWTAm3aOrvVDf0nsuJDn8L2/L482VGySLwSNSrQ5r2ZD iBPHGb6GF/EprVpqz0IUc+XtrPJL415tWTjKPapFG/m66kurDct03ryycQXYX1I/alIK xpkA== 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=UmzX3LlevU/PAQlvRIt9aAO8NeZcl4DN2c70x6ugFUs=; b=o4JEAb/WhCfWSNT0Nb7NzF7fdyTp9oIw8SQf4XPJUeaf7Nbq9piyY0/pxYMvnyH1Lp qO7uLGQEwzCtNvc4lrC+Tx+VIKU5tsKVG4FM74KayfWy0sDb9mvnFBkGVGIA6qZdeTa5 Fj28+ra3MwFMZ/kj64fN3F0RnrPt7xbZR3+8M5PwlMs3OCHayGRqVPqcSKvTud2cEzXj xrSZocR+e8eD4uIfguagM/Nh1IjIvDSUGAi00W2hMJpBSwLfsZ3pK5rFB/IFD7Thi+RM FvFj4B2SHm0GTaThJA8Ge/kr1WK9I8s1aZgw6KZI7g4f+Ksed6xLJyn2kndCUJgR1t0N 5flA== 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 l6si3784530edc.67.2019.10.04.08.45.40; Fri, 04 Oct 2019 08:46:05 -0700 (PDT) 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 S2390031AbfJDPoy (ORCPT + 99 others); Fri, 4 Oct 2019 11:44:54 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:42614 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389669AbfJDPoy (ORCPT ); Fri, 4 Oct 2019 11:44:54 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.89 #2 (Debian)) id 1iGPkl-0001RR-QK; Sat, 05 Oct 2019 01:44:24 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Sat, 05 Oct 2019 01:44:20 +1000 Date: Sat, 5 Oct 2019 01:44:20 +1000 From: Herbert Xu To: Arnd Bergmann Cc: "David S. Miller" , Zhou Wang , Jonathan Cameron , Kenneth Lee , John Garry , Mao Wenan , Hao Fang , Shiju Jose , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] [v2] crypto: hisilicon - allow compile-testing on x86 Message-ID: <20191004154420.GW5148@gondor.apana.org.au> References: <20190919140650.1289963-2-arnd@arndb.de> <20190919140917.1290556-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190919140917.1290556-1-arnd@arndb.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Sep 19, 2019 at 04:09:06PM +0200, Arnd Bergmann wrote: > To avoid missing arm64 specific warnings that get introduced > in this driver, allow compile-testing on all 64-bit architectures. > > The only actual arm64 specific code in this driver is an open- > coded 128 bit MMIO write. On non-arm64 the same can be done > using memcpy_toio. What I also noticed is that the mmio store > (either one) is not endian-safe, this will only work on little- > endian configurations, so I also add a Kconfig dependency on > that, regardless of the architecture. > Finally, a depenndecy on CONFIG_64BIT is needed because of the > writeq(). > > Signed-off-by: Arnd Bergmann > --- > v2: actually add !CPU_BIG_ENDIAN dependency as described in the > changelog > --- > drivers/crypto/hisilicon/Kconfig | 9 ++++++--- > drivers/crypto/hisilicon/qm.c | 6 ++++++ > 2 files changed, 12 insertions(+), 3 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt