Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4127107pxb; Tue, 2 Nov 2021 04:43:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypo/S3etBiEMla4PRs60I3VMy8xdCO5Sm3X9ESMvGSAfkHZBnaQtT6exkRODYKXn5z8A5D X-Received: by 2002:a50:da48:: with SMTP id a8mr50257451edk.155.1635853383759; Tue, 02 Nov 2021 04:43:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635853383; cv=none; d=google.com; s=arc-20160816; b=d3VNDavgMZGWRIe5LXAsHUMb3m4TZSk8R5Vl9+Ln7fRgqtD/Bh2tejGOxoo79D0GC0 /Y9oymIYPck96x+QCMSo3GSOHykxbssziTZ6rmsjL6xw3NWo2h6XN56nHQjnYKHr4dt7 MbFXZlYjr6SQ8UTgQc8jOuPatfOQ3Eh7HTNK/7Zezjiq7shQ2jvSpn7ChTQKWe1CvWrP qx4f3p2qwoUADod+fAfAY5r1iY/UO4N2Io9VbnnrWBYTM9bCuk8Nzzrbyj1kiskTSoB3 IDFDoKYu4kZthIi/NZ2RdExryL8VDUhavXFFipai6mUR/nCrteRlu3Z8pLnHT/bCXnNa Q1fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=ijp4El/5ktHiaF2ieydRZ475kBExct5O26D5Ld/fXE8=; b=BfZk+sBkRF+Q1+hRVfOXuAF0IkNnUGIciMpxZgsX2ehWZte2DxmtewJKIUdXm64Qvf xuv8GoorxdEWhRNKTrHlK3OLxjc0yo2nS6sCVHVmEiGI3hQQqtQwJ8HBAcsX+IO+PmYs R7jMQjVWiy+WGqsIze+/U98M9NtTlVK1+CX6OP/JiNBq6RSXFwEwfFxlY4CjamTsHdAZ eDOWnJneX949DoD466sLglglHHymy34E3Jrgcq05lFLWqP3ddhFkX+Y/6ZgQurzc2mvw XORvEEmWcJ8hKQLJKOfbfnJpZVH0A7fcJMO5KIitKep9UO9hW50zIQEsmNZa9FGbeHvj 4Nng== 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 y9si766568eda.600.2021.11.02.04.42.40; Tue, 02 Nov 2021 04:43:03 -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 S231365AbhKBLlD (ORCPT + 99 others); Tue, 2 Nov 2021 07:41:03 -0400 Received: from gandalf.ozlabs.org ([150.107.74.76]:56427 "EHLO gandalf.ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230100AbhKBLk7 (ORCPT ); Tue, 2 Nov 2021 07:40:59 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Hk7FW1t9Jz4xbs; Tue, 2 Nov 2021 22:38:23 +1100 (AEDT) From: Michael Ellerman To: Michael Ellerman , Paul Mackerras , Christophe Leroy , Benjamin Herrenschmidt Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org In-Reply-To: <922bdab3a220781bae2360ff3dd5adb7fe4d34f1.1635226743.git.christophe.leroy@csgroup.eu> References: <922bdab3a220781bae2360ff3dd5adb7fe4d34f1.1635226743.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH 1/3] powerpc/nohash: Fix __ptep_set_access_flags() and ptep_set_wrprotect() Message-Id: <163584791973.1845480.6138102753649053681.b4-ty@ellerman.id.au> Date: Tue, 02 Nov 2021 21:11:59 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 26 Oct 2021 07:39:24 +0200, Christophe Leroy wrote: > Commit 26973fa5ac0e ("powerpc/mm: use pte helpers in generic code") > changed those two functions to use pte helpers to determine which > bits to clear and which bits to set. > > This change was based on the assumption that bits to be set/cleared > are always the same and can be determined by applying the pte > manipulation helpers on __pte(0). > > [...] Applied to powerpc/next. [1/3] powerpc/nohash: Fix __ptep_set_access_flags() and ptep_set_wrprotect() https://git.kernel.org/powerpc/c/b1b93cb7e794e914787bf7d9936b57a149cdee4f [2/3] powerpc/book3e: Fix set_memory_x() and set_memory_nx() https://git.kernel.org/powerpc/c/b6cb20fdc2735f8b2e082937066c33fe376c2ee2 [3/3] powerpc/fsl_booke: Fix setting of exec flag when setting TLBCAMs https://git.kernel.org/powerpc/c/44c14509b0dabb909ad1ec28800893ea71762732 cheers