On Fri, Jan 8, 2021 at 5:21 AM David Hildenbrand <da...@redhat.com> wrote: > > This series fixes booting current upstream Linux kernel compiled by > clang-11 and clang-12 under TCG. > > Decided to pull in already separatly sent patches. The last patch is > not required to fix the boot issues, but related to patch #3. > > Latest version of the patches available at: > g...@github.com:davidhildenbrand/qemu.git clang
Hey looks like we're off to the races! $ qemu/build/qemu-system-s390x -M s390-ccw-virtio -display none -initrd /android1/boot-utils/images/s390/rootfs.cpio -kernel /android0/linux-next/arch/s390/boot/bzImage -m 512m -nodefaults -serial mon:stdio ... [ 0.365077] Linux version 5.11.0-rc2-01914-g16586f130181-dirty (ndesaulni...@ndesaulniers1.mtv.corp.google.com) (Nick Desaulniers clang version 12.0.0 (g...@github.com:llvm/llvm-project.git e75fec2b238f0e26cfb7645f2208baebe3440d41), GNU ld (GNU Binutils for Debian) 2.35.1) #76 SMP Thu Jan 7 17:51:34 PST 2021 ... / # cat /proc/version Linux version 5.11.0-rc2-01914-g16586f130181-dirty (ndesaulni...@ndesaulniers1.mtv.corp.google.com) (Nick Desaulniers clang version 12.0.0 (g...@github.com:llvm/llvm-project.git e75fec2b238f0e26cfb7645f2208baebe3440d41), GNU ld (GNU Binutils for Debian) 2.35.1) #76 SMP Thu Jan 7 17:51:34 PST 2021 / # uname -a Linux (none) 5.11.0-rc2-01914-g16586f130181-dirty #76 SMP Thu Jan 7 17:51:34 PST 2021 s390x GNU/Linux For the series: Tested-by: Nick Desaulniers <ndesaulni...@google.com> > > v1 -> v2: > - Add 's390x/tcg: Don't ignore content in r0 when not specified via "b" or > "x"' > - Add 's390x/tcg: Ignore register content if b1/b2 is zero when handling > EXEUTE' > - "s390x/tcg: Fix ALGSI" > -- Fixup subject > - "s390x/tcg: Fix RISBHG" > -- Rephrase description, stating that it fixes clang-11 > > David Hildenbrand (4): > s390x/tcg: Fix ALGSI > s390x/tcg: Fix RISBHG > s390x/tcg: Only ignore content in r0 when specified via "b" or "x" > s390x/tcg: Ignore register content if b1/b2 is zero when handling > EXECUTE > > target/s390x/insn-data.def | 10 +++++----- > target/s390x/mem_helper.c | 4 ++-- > target/s390x/translate.c | 33 +++++++++++++++++---------------- > 3 files changed, 24 insertions(+), 23 deletions(-) > > -- > 2.29.2 > -- Thanks, ~Nick Desaulniers