Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3866977imu; Mon, 14 Jan 2019 10:24:32 -0800 (PST) X-Google-Smtp-Source: ALg8bN6zyYUec/LbAhsGfYrPWu/2BPtGO6I0m1LKg0mKqjH+YRYf1RDldgE3TItD7ZuP/hcJlr4p X-Received: by 2002:a63:1c09:: with SMTP id c9mr23674686pgc.200.1547490272169; Mon, 14 Jan 2019 10:24:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547490272; cv=none; d=google.com; s=arc-20160816; b=puKEipYLDuia0fFLrrDgEWLssp4zNEml6qqb0+K07gyLOlM8Ai79isSX6/U//aH6mF KvCRsXOM8rgTkpsp8Xv4Kp8an8RYnvw4fyLFf9reViwyeRKtkXf0gL0989wJq6SEB9nt dqjFEXz2q+BNwCEIhsYGAwewTi0F1OgUJ1k/koWUVBiZnPOZ1PApaFPiBl1wnKox43Wl xZujpsEJMCK5sTLOCkctGB3dhB23yDRJMQ/vJVTNr876FjGX+hZ0yKfwMjvOGG/ADf7F hWmZkBx10ndefq39zqyzwGt0G6gg36OtHQoHyF0WQYussjQmFEQZspnabt5cVb11BjWJ 14yg== 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=Z3Zuh21x9S11ZYL/hsIO5Ac9Q5Ak5N9Z/aPKJP3CpPE=; b=aT3zpSBoDdEb5d1yOyc3XSzVxY9x5e3BDKvKhdTxtH04QlCDfaZH72cYfXvsQxFxYG TebfgGwT6pJ9xMyz0oUemsqPvJg3N78eCMjOjjVamdnRHm8WJVibnPd6YDKjhZuzEP5E yXxBuU/elaM5R8qtfu0uLixCoTwuDq47qo4VrJE8OTRylvOBr4M/uM0/CNR2IpWob2EF F/THCm7HWgKdsNfPveU/m5N4J0rVzu+iCQ9XWw/e8lwtHhzcUOJt80qIygr6pPFsKbBC XYrgKi5s4dkI1rgZwtQUbzOtqbWyQUXHqF9mxFrAlHBWLMXNvtWbcNUkKRMKlg8nH3gU grHA== 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 b7si979016plk.206.2019.01.14.10.24.16; Mon, 14 Jan 2019 10:24:32 -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 S1726774AbfANSXL (ORCPT + 99 others); Mon, 14 Jan 2019 13:23:11 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:18543 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726732AbfANSXL (ORCPT ); Mon, 14 Jan 2019 13:23:11 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 43dhfh3075z9vCHq; Mon, 14 Jan 2019 19:23:08 +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 iZ-ulGqJOV6r; Mon, 14 Jan 2019 19:23:08 +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 43dhfh2Vmlz9vCHp; Mon, 14 Jan 2019 19:23:08 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id D3C2C8B7CF; Mon, 14 Jan 2019 19:23:08 +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 VMAGwYmdKohg; Mon, 14 Jan 2019 19:23:08 +0100 (CET) Received: from PO15451 (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id D752E8B7AC; Mon, 14 Jan 2019 19:23:07 +0100 (CET) Subject: Re: [PATCH v2 00/15] powerpc/32s: Use BATs/LTLBs for STRICT_KERNEL_RWX To: =?UTF-8?Q?Jonathan_Neusch=c3=a4fer?= Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org References: <20190113181621.GA22334@latitude> <714e78ba-1e92-a856-3dd6-a1fb96ad3785@c-s.fr> <20190113210227.GB22334@latitude> From: Christophe Leroy Message-ID: <334b1b02-b652-499c-904e-09e6f7164b8c@c-s.fr> Date: Mon, 14 Jan 2019 19:23:07 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190113210227.GB22334@latitude> Content-Type: text/plain; charset=utf-8; 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 13/01/2019 à 22:02, Jonathan Neuschäfer a écrit : > On Sun, Jan 13, 2019 at 08:43:07PM +0100, Christophe Leroy wrote: >> Le 13/01/2019 à 19:16, Jonathan Neuschäfer a écrit : >>> I just tested the whole series on my Wii (I didn't test any intermediate >>> steps). Without CONFIG_STRICT_KERNEL_RWX, it seems to work fine, but >>> with it, I get the following error while booting: >> >> Argh ! >> >> Can you please send the System.map file generated at compile time ? > > Here: > https://gist.githubusercontent.com/neuschaefer/12ccc87ff8aeff543fad558e8742cd2b/raw/d49d321709cac364779e6893bbd91ff5a80bcb03/System.map > > And here's the config, reduced with 'make savedefconfig': > https://gist.githubusercontent.com/neuschaefer/12ccc87ff8aeff543fad558e8742cd2b/raw/d49d321709cac364779e6893bbd91ff5a80bcb03/config > > The exact code I used is here: > https://github.com/neuschaefer/linux/tree/ppcbat-test Thanks I can't see anything special in your setup, and this failure looks rather unexpected because I can't see anything done that early when CONFIG_STRICT_KERNEL_RWX is selected. Does CONFIG_STRICT_KERNEL_RWX works properly without my serie ? Christophe > > > Thanks, > Jonathan >