Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1807724ybn; Thu, 26 Sep 2019 02:30:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxg2cg2pHL2cV6+0rwvxcuzKteaxujMUx7I+V8WxMQ6w3L/NM420Um6D4TSp+Hka3C9CiS X-Received: by 2002:a17:906:bc2:: with SMTP id y2mr2190843ejg.148.1569490248501; Thu, 26 Sep 2019 02:30:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569490248; cv=none; d=google.com; s=arc-20160816; b=VubQtJrmVAaESFstCFpzI2TFWc3koOiAUGrffcm3NI6aHLaXXflWseoZLA+35gDEz3 CEyo6QKHetWaKdd0yCpe7b76JTG6k0WBZmc3OZjlq/DD2/kCuUraHD+AxtTFnbFV0i9Q C1sAHr8Oa55371zCXHOxebU3rUl/UgGX0TRldRhv54PVVrcE8EN9izJ1ny7FA3Gxsl4s /KEaZ98+Gt4Nr7QHPhbuEXSx0T/plA/5ZgImvxiULUjOImSoq9TavITMRCbEEfwaBv0g WWgmSWOMSIjxmbNNyPEwLx18Zk7Tas+yDn+vXMXu55fX7xbPXtDfUWkTb15IGd2fRaFk 761g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to; bh=MXV3Ent6kgL+Ixrk5chW5zGBgdXGE+6g7g8bD3dmZsM=; b=X+iXwNvy6c8eEhRCxQ42YWjGSV3zCNfJEAOJpxW4i6ihSPbkxcrPKL2alcqAaD35HT 2PhFX1m+bMOepeD357szWJFir5SL6l3qgrrVVyKiJWgO/ExFcKBTEGhKbQHNniLuGkEf SS8DrkknZyruP2rMKVsdmAEVIAEtb+/llEjgaTxYxzQC/GLlSui+v2yg/U+bNfPBSN7e LvVJjkXMk+JqQj0c92CjzPBJ51WWWy7XsKxY79IpRc4qUmyT8pOp3GEKl98/O/ZWpWr2 UNmfBlheuFw3PP3m8Atm9LYjKK+Uido3y921KhcxXDtZRZg7SIDGXI8FKdqQibMHVLNT el/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 z21si705951ejw.229.2019.09.26.02.30.25; Thu, 26 Sep 2019 02:30:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404091AbfIYLFT (ORCPT + 99 others); Wed, 25 Sep 2019 07:05:19 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:36737 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390979AbfIYLFS (ORCPT ); Wed, 25 Sep 2019 07:05:18 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 46dZwF0gtJz9sPJ; Wed, 25 Sep 2019 21:05:17 +1000 (AEST) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 4c0f5d1eb4072871c34530358df45f05ab80edd6 In-Reply-To: <9f33f44b9cd741c4a02b3dce7b8ef9438fe2cd2a.1566382750.git.christophe.leroy@c-s.fr> To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] powerpc/mm: Add a helper to select PAGE_KERNEL_RO or PAGE_READONLY Message-Id: <46dZwF0gtJz9sPJ@ozlabs.org> Date: Wed, 25 Sep 2019 21:05:17 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2019-08-21 at 10:20:00 UTC, Christophe Leroy wrote: > In a couple of places there is a need to select whether read-only > protection of shadow pages is performed with PAGE_KERNEL_RO or with > PAGE_READONLY. > > Add a helper to avoid duplicating the choice. > > Signed-off-by: Christophe Leroy > Cc: stable@vger.kernel.org Series applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/4c0f5d1eb4072871c34530358df45f05ab80edd6 cheers