Re: [PATCH] parisc: Remove PTE load and fault check from L2_ptep macro

From: Guenter Roeck
Date: Wed Sep 26 2018 - 09:30:01 EST


On 09/26/2018 05:09 AM, John David Anglin wrote:
Hi,

On 2018-09-25 11:21 PM, Guenter Roeck wrote:
This patch causes my parisc qemu tests to fail.
Unfortunately I don't have any useful log output; the failure
is silent. Reverting the patch fixes the problem.
Can you be more specific on how to run these tests?

Dave


Sorry. Please see

https://github.com/groeck/linux-build-test/tree/master/rootfs/parisc

My tests enable a number of device and debug options on top of defconfig.
Those are not necessary, though. The problem can be reproduced with defconfig.

With the initrd available from there, and with an image built using 'defconfig',
run

qemu-system-hppa \
-kernel vmlinux -no-reboot \
-initrd rootfs.cpio.gz \
-append 'rdinit=/sbin/init console=ttyS0,115200' \
-nographic -monitor null

I tested with qemu 2.12 and 3.0. Using "arch/parisc/boot/bzImage" as kernel
image does not make a difference.

Note: The initrd auto-reboots. To avoid that, add "noreboot" as additional
command line option.

Hope this helps,

Guenter