Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4204475imu; Tue, 18 Dec 2018 10:42:31 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wb1TfkU3IdZHLWDayP0taYAQm42on0/3/LTVxWjrou7o3lb4r41PvDmbtRSkLnwsOYYbyc X-Received: by 2002:a63:4c04:: with SMTP id z4mr17057170pga.312.1545158551643; Tue, 18 Dec 2018 10:42:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545158551; cv=none; d=google.com; s=arc-20160816; b=LRW6tHMl/Tw9ON+diFIIemZDOawI4+34Bm+lPs8d0DFQoMvaAkpJe3TNLUDKqNfop9 mRXdB7h4ilzPEuY65CLPzDhBFcTfabDaewwMK/4OFHxtjThadMPq8Ad0r4lTm1+b4SWS VduxdI0wXbwa6TAaxS0cM4m0bncTt4Z2HiiARwnLGDmCtq5oSoNCIMyeOm+rS+niV87O 8fzg6jRWLRtpYna8VbHCWX/VT6fsEGwUKZMwimTsNF5Ya713Mm1lncWG7i8gUrcTdZkO mZl1FghzS9bXOH9yxNcksxRZ+8JHYDJf8UU6a7a+De5GQbahcuZgps6WnrEWY6x7pTvO sNDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=3hcG3TBc/7oZLnPKXksB7jowEBwRYSPEtLPuV4/zCDM=; b=dJzkky377kmokyeBQBoivt+3jt8DUK/XZt5Y09a5qcO6vThTukCDqD3LyNjh1YNHhb 2jnSPNCaje68vNtlEm34uAdi0CBYcWLKJuwqDbFtJNlIDuzcHaO+MicgvSe91amwYllc 7VDS4aL0A+T7xdl8D9pl1coMkVrMEEGAjIZ+c/5DNTpfO7ZNywgoZkZmjRExSWgDDTD7 roHWJ/GdfGMv5RNLvFf4K+srgpgOVWbJNUikVz+k4lzZp1kQLhbrC5zQu2mqhuzA/H2K G0Rh2tHCVY7hszMzTEhRhZFflABrSUMX99mRRb5tDStC+TzJfRy5jBKIigYql6fSz99m SHAA== 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 d65si14347651pfc.201.2018.12.18.10.42.15; Tue, 18 Dec 2018 10:42:31 -0800 (PST) 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 S1727570AbeLRSNj (ORCPT + 99 others); Tue, 18 Dec 2018 13:13:39 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:65039 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726658AbeLRSNj (ORCPT ); Tue, 18 Dec 2018 13:13:39 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 43K5k73wCqz9v2lM; Tue, 18 Dec 2018 19:13:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id w-Qt37qd1mjo; Tue, 18 Dec 2018 19:13:35 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 43K5k73Cyvz9v2lL; Tue, 18 Dec 2018 19:13:35 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 25E158B85C; Tue, 18 Dec 2018 19:13:37 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id nTVlKo6_tCCo; Tue, 18 Dec 2018 19:13:37 +0100 (CET) Received: from PO15451 (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id BC7018B754; Tue, 18 Dec 2018 19:13:36 +0100 (CET) Subject: Re: [PATCH v1 03/13] powerpc/mm/32s: rework mmu_mapin_ram() To: =?UTF-8?Q?Jonathan_Neusch=c3=a4fer?= Cc: linuxppc-dev@lists.ozlabs.org, Paul Mackerras , linux-kernel@vger.kernel.org References: <84624899-bbda-9f08-2527-151fddbd1b01@c-s.fr> <20181217012837.GT15324@latitude> <18ba3a7c-ebfa-66aa-e231-b56985d0e89a@c-s.fr> <20181218030538.GA24278@latitude> <9a39d910-2a05-3ce7-c949-296db2d458b9@c-s.fr> <20181218140714.GC24278@latitude> <96539c09-ea57-43d6-bae9-7371235b175f@c-s.fr> <20181218170403.GF24278@latitude> From: Christophe Leroy Message-ID: <9241a3de-c557-1a48-78b3-eb812811b1b0@c-s.fr> Date: Tue, 18 Dec 2018 19:13:36 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: <20181218170403.GF24278@latitude> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 18/12/2018 ? 18:04, Jonathan Neusch?fer a ?crit?: > On Tue, Dec 18, 2018 at 04:04:42PM +0100, Christophe Leroy wrote: >> Stupid of me. In fact at the time being, BATS cover both RO and RW data >> areas, so it can definitly not be mapped with PAGE_KERNEL_ROX. >> >> In fact, as I have CONFIG_BDI_SWITCH in my setup, PAGE_KERNEL_TEXT is >> PAGE_KERNEL_X on my side. That's the reason why I missed it. >> >> With this change being done to patch 3, does the overall serie works for you ? > > Yes, with the PAGE_KERNEL_X change, the whole series boots on the Wii. That's great, many thanks for testing. Christophe > > > Jonathan >