[Bug 1914883] Re: hart0: trap handler failed (error -2) (Needs cherry-pick ab3d207f)

2021-02-09 Thread Nathan Chancellor
Sure. Attached is a kernel image and I will post the rootfs in the next comment. $ timeout --foreground 15s unbuffer \ qemu-system-riscv64 \ -bios /usr/lib/riscv64-linux-gnu/opensbi/qemu/virt/fw_jump.elf \ -display none \ -initrd rootfs.cpio \ -kernel Image \ -m 512m \ -M virt \ -nodefaults \

[Bug 1914883] Re: hart0: trap handler failed (error -2) (Needs cherry-pick ab3d207f)

2021-02-09 Thread Nathan Chancellor
** Attachment added: "rootfs.cpio" https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1914883/+attachment/5462013/+files/rootfs.cpio -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1914883 Title:

[Bug 1914883] [NEW] Please cherry-pick ab3d207fe89bc0c63739db19e177af49179aa457 into Focal package

2021-02-06 Thread Nathan Chancellor
Public bug reported: Commit 5d971f9e67 ("memory: Revert "memory: accept mismatching sizes in memory_region_access_valid"") was cherry-picked to deal with CVE-2020-13754 but the follow up fix in commit ab3d207fe8 ("riscv: sifive_test: Allow 16-bit writes to memory region") was not, resulting in