Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3355353pxj; Mon, 14 Jun 2021 22:07:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYKQuANrLbRtuIdEu5tFmeD1WeWBC6BdwveyPktBn5TfF3vJP8u3nLT/l7Y4m5JtS6dVRf X-Received: by 2002:a05:6402:220d:: with SMTP id cq13mr12747008edb.52.1623733664165; Mon, 14 Jun 2021 22:07:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623733664; cv=none; d=google.com; s=arc-20160816; b=rJQP94/20f6Bxcy5P3dmEqOXPmoqamkTbXPsRoyK0C/3cIp4/NzVfXy/wXW/lEvVYH qyF5NMsbkrRlovpIPU/UM6oo5UPQyiXmtEXSYt2+huWb7QZ0LmjwPZjJFEm/KLVB9vU+ JtoTfSqueU6Uxj62t4d0CixLA/CWOdKH03fj3ip3NsNcz2elPG3hxjiLiRj6rtj6vOzZ woMpV3fNp6GWovP9rLtMiJcqdzbflzzU1F9bRxSH8p+eL8gcKuc7r92wG1Pj/ecod62v 6ZNVc/8eI+90XzYItzw45wMeL/9tH+MvplFJb6sbiSVuYj05syEoAaYq2W2vrvIxLowF R6wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=lbTj3RPAaw2fI0Dc19dYTsZwhpXxhXfHD3fM5h3sT/g=; b=SLsDzb8ev6LWA3CKa1JG1YI2PHpwjdTBzr2PdKhccKP0RfbhMLIfrCg7Js0diNEBg4 /BDFP7KOXSux4L63fnE5rEMrb8J+75MJhUv9DgevRxN5W/2f2WRfvFuip2TtgPJAmquk iPvbaS3EiPnZ4Y3360rVroygJLrOYUoaD6eOQjkSNihaXpw432b/nswV1BUIyOUjDb8L MYjBEKgWka4gf+duk3NDawFTuDMNn9YF6hCE3UUQWEMGOgBbKLC1LFmIUT3yeyNio/lO 9XGqYgoBEi0xY/9wMhDRn+ZgZKxgSB0FQJAZH2XWiDOyVIvsAzjWYAuQdcPeeEcnOp7V Km3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u26si13689341ejz.348.2021.06.14.22.07.19; Mon, 14 Jun 2021 22:07:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230212AbhFOFGX (ORCPT + 99 others); Tue, 15 Jun 2021 01:06:23 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:50656 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229463AbhFOFGW (ORCPT ); Tue, 15 Jun 2021 01:06:22 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.92 #5 (Debian)) id 1lt1Ec-0006cw-4n; Tue, 15 Jun 2021 13:03:34 +0800 Received: from herbert by gondobar with local (Exim 4.92) (envelope-from ) id 1lt1E3-0001MR-0g; Tue, 15 Jun 2021 13:02:59 +0800 Date: Tue, 15 Jun 2021 13:02:59 +0800 From: Herbert Xu To: Ira Weiny , "David S. Miller" Cc: Christoph Hellwig , Jens Axboe , Thomas Bogendoerfer , Geoff Levand , Ilya Dryomov , Dongsheng Yang , Mike Snitzer , dm-devel@redhat.com, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, ceph-devel@vger.kernel.org, Thomas Gleixner , linux-arch@vger.kernel.org, Tero Kristo , linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-sh@vger.kernel.org, linux-mmc@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH 09/16] ps3disk: use memcpy_{from,to}_bvec Message-ID: <20210615050258.GA5208@gondor.apana.org.au> References: <20210608160603.1535935-1-hch@lst.de> <20210608160603.1535935-10-hch@lst.de> <20210609014822.GT3697498@iweiny-DESK2.sc.intel.com> <20210611065338.GA31210@lst.de> <20210612040743.GG1600546@iweiny-DESK2.sc.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210612040743.GG1600546@iweiny-DESK2.sc.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 11, 2021 at 09:07:43PM -0700, Ira Weiny wrote: > > More recently this was added: > > 7e34e0bbc644 crypto: omap-crypto - fix userspace copied buffer access > > I'm CC'ing Tero and Herbert to see why they added the SLAB check. Probably because the generic Crypto API has the same check. This all goes back to commit 4f3e797ad07d52d34983354a77b365dfcd48c1b4 Author: Herbert Xu Date: Mon Feb 9 14:22:14 2009 +1100 crypto: scatterwalk - Avoid flush_dcache_page on slab pages It's illegal to call flush_dcache_page on slab pages on a number of architectures. So this patch avoids doing so if PageSlab is true. In future we can move the flush_dcache_page call to those page cache users that actually need it. Reported-by: David S. Miller Signed-off-by: Herbert Xu But I can't find any emails discussing this so let me ask Dave directly and see if he can tell us what the issue was or might have been. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt