Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp7236imp; Wed, 20 Feb 2019 17:48:43 -0800 (PST) X-Google-Smtp-Source: AHgI3IZZW9OIUPSC66/vwRXvTXAJfjFVR3mOs7IzwlLI2BJt4HzjT8F1BLvkznrUxDCFYrO95ctP X-Received: by 2002:a17:902:e512:: with SMTP id ck18mr39248659plb.46.1550713723712; Wed, 20 Feb 2019 17:48:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550713723; cv=none; d=google.com; s=arc-20160816; b=s8K6PR1YGBChDR7RelRRmjtVK11pL2ygISyUL24xqeGW5S0c96uSKvxZemPFXMQuOk gXQk9UFSr2RdJ6VURh/2y9r8iJq49sgA0OZhjLTUn981n1aNZWC/h/DtTsWdNftQgZfL dTDVGewcXdjpAtW6FvnmlhmVGPjzcAPmF/1bG8oo9ClSyNPw+gzxL0rSWneZW9Z44O/G UhWrUmC0Fo/mCE3UVMrVwmMGaz3TXuzkjSoilcgFkL82yOiPKFW3dQSXMcQH+U9Dn8Kl kmU0IMu9D7+Rf6BlUaIlueNGi6hqVvYf7feyHwCjpG+5xaHnEZsxYV6NPRB0uKMkJqhy UFyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=SGZXMfiwg32PUASzm0xxBd7HiJ+oxPWjA1jL8HMDRco=; b=zRt1GOb+xFdO5UWEMUIau+EdKuunz12H5Ju+O35JmRtEZFMUhF0r5GH4DqrgF3I5Q0 H20FuNmQ0ait2irWJR5Cxjy/5+OXTVyoUtoi+v+MLD1glQ+uCGeTa38V1SMNDmo7EfHl Sk5Cy6FwF5OUdpFOGv/m9wX7+lsWzQ06UvjisJVXvA7Eng1ALBb0TzKzinUOY7+J0uYI yV9Ha50coSFObie83ibITqLImEsIvK9BYT7B36SxswXHjMSXUw32sZ0V6EllHp7e++wz VdTr4pLYvZxBGjD6jghxxmKEqNiUTNq2ZWtnOHNFLyNQYmZjrk7BuduNBuuqHLOHU5Ph +CTQ== 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 v9si18557544pgb.170.2019.02.20.17.48.11; Wed, 20 Feb 2019 17:48:43 -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 S1726181AbfBUBra (ORCPT + 99 others); Wed, 20 Feb 2019 20:47:30 -0500 Received: from ozlabs.org ([203.11.71.1]:37979 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725989AbfBUBra (ORCPT ); Wed, 20 Feb 2019 20:47:30 -0500 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 (2048 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 444cmG48S0z9s5c; Thu, 21 Feb 2019 12:47:26 +1100 (AEDT) From: Michael Ellerman To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , j.neuschaefer@gmx.net Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v3 00/16] powerpc/32: Use BATs/LTLBs for STRICT_KERNEL_RWX In-Reply-To: References: Date: Thu, 21 Feb 2019 12:47:26 +1100 Message-ID: <87mumpx68h.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christophe Leroy writes: > The purpose of this serie is to: > - use BATs with STRICT_KERNEL_RWX on book3s (See patch 13 for details.) > - use LTLBs with STRICT_KERNEL_RWX on 8xx (See patch 15 for a few details.) This doesn't boot qemu-mac99 for me: spawn ~/src/qemu/ppc-softmmu/qemu-system-ppc -nographic -vga none -M mac99 -m 1G -kernel build/vmlinux -initrd ppc32-initrd.gz -append console=ttyPZ0 init=/bin/sh >> ============================================================= >> OpenBIOS 1.1 [Feb 15 2019 10:05] >> Configuration device id QEMU version 1 machine id 1 >> CPUs: 1 >> Memory: 1024M >> UUID: 00000000-0000-0000-0000-000000000000 >> CPU type PowerPC,G4 milliseconds isn't unique. Welcome to OpenBIOS v1.1 built on Feb 15 2019 10:05 >> [ppc] Kernel already loaded (0x01000000 + 0x00c2c338) (initrd 0x01d2d000 + 0x007e72f0) >> [ppc] Kernel command line: console=ttyPZ0 init=/bin/sh >> switching to new context: OF stdout device is: /pci@f2000000/mac-io@c/escc@13000/ch-a@13020 Preparing to boot Linux version 5.0.0-rc2-gcc-8.2.0-00125-g4fcb83ca7936 (michael@ka4) (gcc version 8.2.0 (Buildroot 2018.11-rc2-00003-ga0787e9)) #724 Thu Feb 21 12:03:14 AEDT 2019 Detected machine type: 00000400 command line: memory layout at init: memory_limit : 00000000 (16 MB aligned) alloc_bottom : 02515000 alloc_top : 30000000 alloc_top_hi : 40000000 rmo_top : 30000000 ram_top : 40000000 copying OF device tree... Building dt strings... Building dt structure... Device tree strings 0x02516000 -> 0x025150a4 Device tree struct 0x02517000 -> 0x3fde7eb0 Quiescing Open Firmware ... Booting Linux via __start() @ 0x01000000 ... FAIL! Booting BE pmac32 That's pmac32 defconfig ish. I haven't had time to debug it further sorry. cheers