From: Michael Ellerman <mpe@ellerman.id.au>
To: Christophe Leroy <christophe.leroy@c-s.fr>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>,
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
Date: Thu, 21 Feb 2019 12:47:26 +1100 [thread overview]
Message-ID: <87mumpx68h.fsf@concordia.ellerman.id.au> (raw)
In-Reply-To: <cover.1550648295.git.christophe.leroy@c-s.fr>
Christophe Leroy <christophe.leroy@c-s.fr> 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
next prev parent reply other threads:[~2019-02-21 1:47 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-20 17:29 Christophe Leroy
2019-02-20 17:29 ` [PATCH v3 01/16] powerpc/wii: properly disable use of BATs when requested Christophe Leroy
2019-02-20 17:29 ` [PATCH v3 02/16] powerpc/mm/32: add base address to mmu_mapin_ram() Christophe Leroy
2019-02-20 17:29 ` [PATCH v3 03/16] powerpc/mm/32s: rework mmu_mapin_ram() Christophe Leroy
2019-02-20 17:29 ` [PATCH v3 04/16] powerpc/mm/32s: use generic mmu_mapin_ram() for all blocks Christophe Leroy
2019-02-20 17:29 ` [PATCH v3 05/16] powerpc/32: always populate page tables for Abatron BDI Christophe Leroy
2019-02-20 17:29 ` [PATCH v3 06/16] powerpc/wii: remove wii_mmu_mapin_mem2() Christophe Leroy
2019-02-20 17:29 ` [PATCH v3 07/16] powerpc/mm/32s: use _PAGE_EXEC in setbat() Christophe Leroy
2019-02-20 17:29 ` [PATCH v3 08/16] powerpc/32: add helper to write into segment registers Christophe Leroy
2019-02-20 17:29 ` [PATCH v3 09/16] powerpc/mmu: add is_strict_kernel_rwx() helper Christophe Leroy
2019-02-20 17:29 ` [PATCH v3 10/16] powerpc/kconfig: define PAGE_SHIFT inside Kconfig Christophe Leroy
2019-02-20 17:29 ` [PATCH v3 11/16] powerpc/kconfig: define CONFIG_DATA_SHIFT and CONFIG_ETEXT_SHIFT Christophe Leroy
2019-02-20 17:29 ` [PATCH v3 12/16] powerpc/mm/32s: add setibat() clearibat() and update_bats() Christophe Leroy
2019-02-20 17:29 ` [PATCH v3 13/16] powerpc/mm/32s: Use BATs for STRICT_KERNEL_RWX Christophe Leroy
2019-02-20 17:29 ` [PATCH v3 14/16] powerpc/kconfig: make _etext and data areas alignment configurable on Book3s 32 Christophe Leroy
2019-02-20 17:29 ` [PATCH v3 15/16] powerpc/8xx: don't disable large TLBs with CONFIG_STRICT_KERNEL_RWX Christophe Leroy
2019-02-20 17:29 ` [PATCH v3 16/16] powerpc/kconfig: make _etext and data areas alignment configurable on 8xx Christophe Leroy
2019-02-21 1:47 ` Michael Ellerman [this message]
2019-02-21 6:31 ` [PATCH v3 00/16] powerpc/32: Use BATs/LTLBs for STRICT_KERNEL_RWX Christophe Leroy
2019-02-21 7:42 ` Christophe Leroy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mumpx68h.fsf@concordia.ellerman.id.au \
--to=mpe@ellerman.id.au \
--cc=benh@kernel.crashing.org \
--cc=christophe.leroy@c-s.fr \
--cc=j.neuschaefer@gmx.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®