Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp186016ybz; Thu, 30 Apr 2020 19:19:12 -0700 (PDT) X-Google-Smtp-Source: APiQypK4TqzWQWzlzSu1CfbEn8lJabiJMDeDmOze/S76O+/8pYAasK8t6/Z/j32Ri71G0oH/XMWM X-Received: by 2002:aa7:c649:: with SMTP id z9mr1769437edr.288.1588299552593; Thu, 30 Apr 2020 19:19:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588299552; cv=none; d=google.com; s=arc-20160816; b=Wc8pRlW4sqKZIOqevTjNtQNiLJxT+1tGeh6Zj6KkNDf9l0wzZpq3VnGown/FrKeTUa 57LBUE84XilhCZh+T6V56jQCZUBXObLgoF8ogsrmpSh7joLxEOXqHMTLGspxsw4N7TyS VEW1bj38uhNImZ1elWXZJsOjvyd9JNIS2eKLYaegteHknz4TdXbHDwq5pqyWOakz/UBb ajwZRwc3yC9qXP/Rg/X3m6fAh55hUZeoTJxnLDkPy+vKgALPqVMS+MEvL7PqCMxvCm0h svPleB8Gp0Sy1+WybhB67+F858rlKox28X51HV0K4pejdIzctlTiOPfhEXU4GdyEaSad jDVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Nlw124q4zWG1IcPdInVLkVTnpGv4ys35SRtEdoKCvhc=; b=abcQf1GLYhA8ZNFVdU5Jn686wCkR5EW/lQQWtBFbLqfYI9J2lCS2qRbZ3JUiPUY4Jt VTCjvTEsozO8VaWAqSko64b0ew3mFRcKmkltYKYfZ1CQJg/yV7lYIjPvu55mQnilE1O7 hAA4IYpdyLmyHBLn566S/TUWH3bnYEXlPHyBXpGQXiiWNrnTxnbpCsx7uSy5eqm0natP jnrT1GMNTc1cvKr5EG+7f8MLaconigdDzOcyK0CEUmDfx+amsnGmmMoTHtxbbCaupXCC gMbxGobpQaiY/m0HpX1KVmrDhUFYMksh7Ey/0LB35DNGZDdgd8xwVzLsFFbCn+XBgT4u 3p6A== 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 rh26si939975ejb.81.2020.04.30.19.18.48; Thu, 30 Apr 2020 19:19:12 -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 S1728108AbgEACQi (ORCPT + 99 others); Thu, 30 Apr 2020 22:16:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728009AbgEACQi (ORCPT ); Thu, 30 Apr 2020 22:16:38 -0400 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9FBFC035494; Thu, 30 Apr 2020 19:16:37 -0700 (PDT) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jULEA-00FWc0-1N; Fri, 01 May 2020 02:16:34 +0000 Date: Fri, 1 May 2020 03:16:34 +0100 From: Al Viro To: ira.weiny@intel.com Cc: linux-kernel@vger.kernel.org, Andrew Morton , Christian Koenig , Huang Rui , Thomas Bogendoerfer , "James E.J. Bottomley" , Helge Deller , Benjamin Herrenschmidt , Paul Mackerras , "David S. Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Chris Zankel , Max Filippov , Dan Williams , linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, sparclinux@vger.kernel.org, linux-xtensa@linux-xtensa.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH V1 08/10] arch/kmap: Don't hard code kmap_prot values Message-ID: <20200501021634.GE23230@ZenIV.linux.org.uk> References: <20200430203845.582900-1-ira.weiny@intel.com> <20200430203845.582900-9-ira.weiny@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200430203845.582900-9-ira.weiny@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 30, 2020 at 01:38:43PM -0700, ira.weiny@intel.com wrote: > From: Ira Weiny > > To support kmap_atomic_prot() on all architectures each arch must > support protections passed in to them. > > Change csky, mips, nds32 and xtensa to use their global kmap_prot value > rather than a hard coded value which was equal. Minor nitpick: it's probably worth pointing out that kmap_prot on those is a constant...