From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F114C433DF for ; Thu, 28 May 2020 14:04:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3BA1520814 for ; Thu, 28 May 2020 14:04:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390885AbgE1OEq (ORCPT ); Thu, 28 May 2020 10:04:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390644AbgE1OEn (ORCPT ); Thu, 28 May 2020 10:04:43 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9720BC05BD1E for ; Thu, 28 May 2020 07:04:43 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 49XqFj0Wktz9sRY; Fri, 29 May 2020 00:04:40 +1000 (AEST) From: Michael Ellerman To: Michael Ellerman , Christophe Leroy , Benjamin Herrenschmidt , Rui Salvaterra , Paul Mackerras Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org In-Reply-To: References: Subject: Re: [PATCH] Revert "powerpc/32s: reorder Linux PTE bits to better match Hash PTE bits." Message-Id: <159067441582.2990081.4426286987662980016.b4-ty@ellerman.id.au> Date: Fri, 29 May 2020 00:04:40 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 20 May 2020 10:23:45 +0000 (UTC), Christophe Leroy wrote: > This reverts commit 697ece78f8f749aeea40f2711389901f0974017a. > > The implementation of SWAP on powerpc requires page protection > bits to not be one of the least significant PTE bits. > > Until the SWAP implementation is changed and this requirement voids, > we have to keep at least _PAGE_RW outside of the 3 last bits. > > [...] Applied to powerpc/fixes. [1/1] Revert "powerpc/32s: reorder Linux PTE bits to better match Hash PTE bits." https://git.kernel.org/powerpc/c/40bb0e904212cf7d6f041a98c58c8341b2016670 cheers From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7CE8C433E0 for ; Thu, 28 May 2020 14:08:36 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4AC8C20721 for ; Thu, 28 May 2020 14:08:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4AC8C20721 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49XqL94kDhzDqPS for ; Fri, 29 May 2020 00:08:33 +1000 (AEST) Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49XqFk01ZZzDqXL for ; Fri, 29 May 2020 00:04:41 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Received: by ozlabs.org (Postfix, from userid 1034) id 49XqFj0Wktz9sRY; Fri, 29 May 2020 00:04:40 +1000 (AEST) From: Michael Ellerman To: Michael Ellerman , Christophe Leroy , Benjamin Herrenschmidt , Rui Salvaterra , Paul Mackerras In-Reply-To: References: Subject: Re: [PATCH] Revert "powerpc/32s: reorder Linux PTE bits to better match Hash PTE bits." Message-Id: <159067441582.2990081.4426286987662980016.b4-ty@ellerman.id.au> Date: Fri, 29 May 2020 00:04:40 +1000 (AEST) X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Wed, 20 May 2020 10:23:45 +0000 (UTC), Christophe Leroy wrote: > This reverts commit 697ece78f8f749aeea40f2711389901f0974017a. > > The implementation of SWAP on powerpc requires page protection > bits to not be one of the least significant PTE bits. > > Until the SWAP implementation is changed and this requirement voids, > we have to keep at least _PAGE_RW outside of the 3 last bits. > > [...] Applied to powerpc/fixes. [1/1] Revert "powerpc/32s: reorder Linux PTE bits to better match Hash PTE bits." https://git.kernel.org/powerpc/c/40bb0e904212cf7d6f041a98c58c8341b2016670 cheers