Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2340844ybe; Sat, 14 Sep 2019 12:52:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqx0dY8z3o5s/AoehV66tME5sppIhyLh4NBmqG3f+rnoxG5SfN0eeq0bhMTzRN8mYrySShTy X-Received: by 2002:a17:906:4c2:: with SMTP id g2mr17937775eja.38.1568490737427; Sat, 14 Sep 2019 12:52:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568490737; cv=none; d=google.com; s=arc-20160816; b=vVrI2HpJ0qdWIM7hCk8UgHMa9xE4n7A/YqValvMU9gr/WA+hv3H9Xu9NnlS57ye02F En0T4/u7rklq/JzeXFplrbJc/mlGzOoGHq6Dg3qIT5qdVjMHRL7SeTjKSlbNpEJQxqSD GzF3+1flS4gx5NVJApu6Koqh1ZYgNUkWX1kaaYphvCmSPTYOYIJkf0FRm4KirjI+rKj2 bFNcZHCmQ/algpyq5i0DN/K3kFx2AOjojli2om4Fa1x1xzsVhpQbVLt3/K57+TI9ICCq LfjFPCUCzu5FTKGAWt69+d6UbVO7J99N+LmmHtaSAuKveNMn/0GAtbIxFRTSEtpg67I6 RSIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:from:date:dkim-signature; bh=RdKdyuMchtAQNR5tLHPOh6qnxzDs2wdkOkgcEODQq6Q=; b=DsmmiQjIh0b2lcxab20L/KnR+4A3TYPBDTfLA106cS9yiAqFE0sJ8pdSSPYFIu2Iv9 pBZqdn/UwxdI5wXC9Jjup3ix2QBZdBFUe22X908lUpm76y4ZkcmrxYW96CQQ7jU91V6T U8NkilGNgOZL5hTGQoCV9rTOH8rZUbasnBdemZoz/y3JSgH/rVuibL87LOLLRsFc2005 ft9RmvUrqDnmQejvvosMRtkQWqZPMcId2XYnzV3mjjVc940bkKNEcQfOgsRXiDURYEKU eDJP9tMSGwFSncG+uwBkmYNFYg0lsMUv4u5cHDx95dgGGGyOz1dgSklhGIy0+3EIcPoh 9ayg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b="CWLwMa0/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l22si19084192edb.241.2019.09.14.12.51.54; Sat, 14 Sep 2019 12:52:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b="CWLwMa0/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388495AbfINNwx (ORCPT + 99 others); Sat, 14 Sep 2019 09:52:53 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:40886 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730972AbfINNwx (ORCPT ); Sat, 14 Sep 2019 09:52:53 -0400 Received: by mail-wr1-f67.google.com with SMTP id l3so11890430wru.7 for ; Sat, 14 Sep 2019 06:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:message-id:user-agent:mime-version; bh=RdKdyuMchtAQNR5tLHPOh6qnxzDs2wdkOkgcEODQq6Q=; b=CWLwMa0/jg5XrFiCfk6EZWcggOctvz5YacJtR3eGqWKgEEoTTDq1eNfAp8SZy1C2bj kS+5mL49/HZCZO4hFttI67TEM1w/1TYnXqe4O6sC6rngosQGUzl4pFO1rbk/DDYn8CNv Xv4aBw9v9g7Qe32DVbHy7jhRpnaCAxKvZ60CwV0dIG+EIV4l26ZTmuYU7176s0+UIvU2 P2AujOj1L/J7j3G2m4TTjHUJNWHdlfs8OZIFCfT/OioLvqAVtCGf90faqItWdj6nZACQ eDXbxkzwKunK7278bAEpWluRoeuz/O8hPA7Uu+w73S915UXWoSDIaWCHYWIuVJ3BnqiU bGDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:user-agent :mime-version; bh=RdKdyuMchtAQNR5tLHPOh6qnxzDs2wdkOkgcEODQq6Q=; b=RTYXvQ/jSKENeoWonYaWt3z9duc551zgRcdrTDsRdmcEuksiyvwmLnwRirVWU4PJm4 ypZeXh75TxH86e2qcCPYlUbj/1tDoRP1zs7BW6CWiyeJVVZmVml5hICh1j2pP3ioqZq5 UGs9CPCXz+5/JbqOah2edpFkDE2Hc/IDyeFR7McqgOd33LllNyLVoFFCkQ366nkFqChI OMaL5bz5kkH3bzmThbgBzKrZMkobmDXNpDYvMEgjhuFap6Z+SZoCbvRZzCaKe/2EXJel fpOpFfvNrz8YWiqm7CjJS8Z6QrT72fiQIszZUfJ99/QLylvzNKDDuo7JO5gDt407a5Mx 3zKg== X-Gm-Message-State: APjAAAV8H5IcUbmadTlBgGO6qDFZHafaKInf5KDnxF43Zu5VOS3Ko/CG OtNHr1VDPuYjMtSueo7xsiLO4FSe3vw= X-Received: by 2002:adf:cf0e:: with SMTP id o14mr12444450wrj.277.1568469170049; Sat, 14 Sep 2019 06:52:50 -0700 (PDT) Received: from localhost (193-126-247-196.net.novis.pt. [193.126.247.196]) by smtp.gmail.com with ESMTPSA id m18sm44032730wrg.97.2019.09.14.06.52.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Sep 2019 06:52:49 -0700 (PDT) Date: Sat, 14 Sep 2019 06:52:48 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: torvalds@linux-foundation.org cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, palmer@sifive.com Subject: [GIT PULL] Urgent RISC-V fix for v5.3 Message-ID: User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus, 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(-)