[GIT PULL] Urgent RISC-V fix for v5.3

From: Paul Walmsley
Date: Sat Sep 14 2019 - 09:52:55 EST


The following changes since commit f74c2bb98776e2de508f4d607cd519873065118e:

Linux 5.3-rc8 (2019-09-08 13:33:15 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv/for-v5.3

for you to fetch changes up to 474efecb65dceb15f793b6e2f2b226e952f0f8e9:

riscv: modify the Image header to improve compatibility with the ARM64 header (2019-09-13 19:03:52 -0700)

Urgent RISC-V fix for v5.3

Last week, Palmer and I learned that there was an error in the RISC-V
kernel image header format that could make it less compatible with the
ARM64 kernel image header format. I had missed this error during my
original reviews of the patch.

The kernel image header format is an interface that impacts
bootloaders, QEMU, and other user tools. Those packages must be
updated to align with whatever is merged in the kernel. We would like
to avoid proliferating these image formats by keeping the RISC-V
header as close as possible to the existing ARM64 header. Since the
arch/riscv patch that adds support for the image header was merged
with our v5.3-rc1 pull request as commit 0f327f2aaad6a ("RISC-V: Add
an Image header that boot loader can parse."), we think it wise to try
to fix this error before v5.3 is released.

The fix itself should be backwards-compatible with any project that
has already merged support for premature versions of this interface.
It primarily involves ensuring that the RISC-V image header has
something useful in the same field as the ARM64 image header.

Paul Walmsley (1):
riscv: modify the Image header to improve compatibility with the ARM64 header

Documentation/riscv/boot-image-header.txt | 13 +++++++------
arch/riscv/include/asm/image.h | 12 ++++++------
arch/riscv/kernel/head.S | 4 ++--
3 files changed, 15 insertions(+), 14 deletions(-)