From patchwork Fri Sep 13 19:24:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 11145185 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 554FF14DB for ; Fri, 13 Sep 2019 19:27:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 33B3420830 for ; Fri, 13 Sep 2019 19:27:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="H1kgf/1a" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 33B3420830 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:From:MIME-Version:References: In-Reply-To:Message-Id:Date:Subject:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=b665+ps2dwKc/YUZoSkx4ReY9kLkGddbeOVcB8yYjMk=; b=H1kgf/1axRGRz0 Qzm58bGn9zTPBfwdCxD/k82LLp8WuSrEpM7LputN7NyXh87QOtREd2DgmqmeUqPj7hu8iyabfDcWY ABxmFf0BFreNNSWeyU2FOc+hSSr1CDUN+khQew/1pRK4AE6nQ1+0z6e+GwMRBRJeH2TrdgZERZOHB TvhYCvA1IXS0eDdC1vg5wwf0KiKZjNWbZmaYc5Pc82zcrjMit1BuOb4cMtDaxsDIBRPK6Ex/vh0XX UJ7Ihslk1BR6N+VGwBBofji7vFaVfjcxicQECfafQAF7YGyHr7OhfcACFLWwN/ReUAJ5PEzF/iIfR Oz7ZJpW97VDlF8qE3ZsA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1i8rER-0003UP-0s; Fri, 13 Sep 2019 19:27:47 +0000 Received: from mail-pl1-f196.google.com ([209.85.214.196]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1i8rEO-0003Tq-7S for linux-riscv@lists.infradead.org; Fri, 13 Sep 2019 19:27:45 +0000 Received: by mail-pl1-f196.google.com with SMTP id 4so13650320pld.10 for ; Fri, 13 Sep 2019 12:27:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:cc:from:to; bh=xRy8tgqECP/7yjr3NZhDqgx63nTD8je9wSJ9Ypp6rmY=; b=ZJyqw2/DacGkL2FPl5+DhC/FTGkoeeyd9qFfYJ6zqENyMd3VnmhG3sqAPAdiWZZbR3 nNOX1aSU1dpVV58DXdrk2Ua33/x+oXCEDWobSI3XR0i4VV5gTyl6opzeZLNeIsmaou9M cWfmdgJ4DkPSKTP0XtYldG2GTLYdC+BcBVz31AmprUxes/Ao49F15/TKUVW2QeE1Ezse pWEjuT0tE5xAUxxQvGvqddln4sJ9cf8enn3oXUWspG+E4QvGXtq2eLZ/VIOanJieb9wV ZgStdom5MsxK6WellDf5ZjYsVcoB1r4xqt/fSazgMP85THnCi6OGV4N8Vd9DKujWrFC1 YikA== X-Gm-Message-State: APjAAAVYFgBh17UNVZgsi1Wf6bFSUbRBIWBJ+yjGBZBuz5Q0Q5mBDa59 ZhsjIi+UbTDXL+cliik3pcRoVAMHuufLig== X-Google-Smtp-Source: APXvYqwyubhTK+NtNEdUSRAA07Jq1LUvNYtXedUpwkJ4Zv1VVc9/mN2GFyMW4ru5mZpYcCFTeIX+dA== X-Received: by 2002:a17:902:b48c:: with SMTP id y12mr36619081plr.161.1568402863075; Fri, 13 Sep 2019 12:27:43 -0700 (PDT) Received: from localhost (amx-tls3.starhub.net.sg. [203.116.164.13]) by smtp.gmail.com with ESMTPSA id z12sm47192310pfj.41.2019.09.13.12.27.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2019 12:27:42 -0700 (PDT) Subject: [PATCH 1/4] Documentation: riscv: boot: We're not compatible with arm64 Date: Fri, 13 Sep 2019 12:24:30 -0700 Message-Id: <20190913192433.4316-2-palmer@sifive.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190913192433.4316-1-palmer@sifive.com> References: <20190913192433.4316-1-palmer@sifive.com> MIME-Version: 1.0 From: Palmer Dabbelt To: linux-riscv@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190913_122744_264972_5B7B5245 X-CRM114-Status: GOOD ( 10.75 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.214.196 listed in list.dnswl.org] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.214.196 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Palmer Dabbelt Sender: "linux-riscv" Errors-To: linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org The documentation for our bootloader claims that it can be made compatible with arm64, but that's not true. There are some differences between our format and arm64: * We've used the first 32 bits of their 64-bit "res2" as a version number, which we're currently setting to non-zero. * We're using their "res4" field as our magic number. * We're treating their magic number as our "res3" field, which nominally contains a flag for big endian systems already. This can't get set, so we should just drop it -- it's also not described what the flag means. This patch removes the claim that our header can be made compatible with arm64. Signed-off-by: Palmer Dabbelt --- Documentation/riscv/boot-image-header.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/riscv/boot-image-header.txt b/Documentation/riscv/boot-image-header.txt index 1b73fea23b39..77e8e505bc41 100644 --- a/Documentation/riscv/boot-image-header.txt +++ b/Documentation/riscv/boot-image-header.txt @@ -21,9 +21,8 @@ The following 64-byte header is present in decompressed Linux kernel image. u32 res3; /* Reserved for additional RISC-V specific header */ u32 res4; /* Reserved for PE COFF offset */ -This header format is compliant with PE/COFF header and largely inspired from -ARM64 header. Thus, both ARM64 & RISC-V header can be combined into one common -header in future. +This header format is compliant with PE/COFF header and largely inspired by, +but not compatible with, the ARM64 header. Notes: - This header can also be reused to support EFI stub for RISC-V in future. EFI From patchwork Fri Sep 13 19:24:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 11145187 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B432316B1 for ; Fri, 13 Sep 2019 19:27:59 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 91D00206A5 for ; Fri, 13 Sep 2019 19:27:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="C3C2urdj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 91D00206A5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:From:MIME-Version:References: In-Reply-To:Message-Id:Date:Subject:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fgiuCwNDxMzOH/C386cDMI1pnHu2UTHxR+ChtcvGBxs=; b=C3C2urdj+TvIHO 9Yc4iqF+SKnhth7VqXCeoSag6x2wxO57XzlF7JO2XzudZOJ4EgoPQhgVGbpoawGSTzRiLryasIa5N Iy4Rz9pHpdD28TBpYudLbL8c4Mi9Va6PAg//+3omEYOrAhlbLDbs2i/VGg24YiYmtUjA9tJnkEh7C YF7FGWlrFYKs7LMvJUOtaAykE6+HyIAAeMykmejl52z69JPHsDE5bo8baQxZDHFHHGnJHfbZPKBmx iWMnmbOkGsmNMEzxN/HazMTwLvuO6CdcK0/hMjI3ND18o1YXYt9kkCWcZGGYgRscfsMrRF//nlFx5 TbR6uKMNptx+8sSfmm5w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1i8rEY-0003YI-DP; Fri, 13 Sep 2019 19:27:54 +0000 Received: from mail-pf1-f195.google.com ([209.85.210.195]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1i8rEV-0003XN-5W for linux-riscv@lists.infradead.org; Fri, 13 Sep 2019 19:27:52 +0000 Received: by mail-pf1-f195.google.com with SMTP id r12so18729616pfh.1 for ; Fri, 13 Sep 2019 12:27:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:cc:from:to; bh=lCOdrx3F9Cx38LjugYRZlt8haUv7INXZFWqjYKoQuE0=; b=isD7hYo4kfSIo8upgL6tBuU1AteAAL+js1/dZYUcv3T5DBZN6ch4REOV0WcknNgPaS xCbBR5Ym3idX7xzNV4yONYwDbNJrjrqIC6NJcxWAKpm7Y+3Smbuw+5/P9/CyyCswPQst 7n8EBbZ/CxucvxOH/PSrZ677LMuVfLDlxYXmOzifV548WB6+f61G1zbWMKiIDpDEd56q kKUWv9gUBivssdr/VLrrUiCSwoS7lu+kFg4BJVyTiGSCD4w/BiveqRBUIIQzPkddZtub ig+Y8VkF7Z++lhMbE7hiGNoNZDWS6mnksLWROUi7svXxQkTjjnFkrLkcUrRRjAP22Cvb vH8Q== X-Gm-Message-State: APjAAAXgJ/vatm7KLZlpEATxNgxmQn2EMFPx++XHxU8BFCkCt/Zz/Pu/ 7Gm4pG8WYkEnzzMy2OVkJ0oqdA== X-Google-Smtp-Source: APXvYqwLIyPJftelBgAqNrd+v/3hdq0K/E+Xv/Xor8TMScFHprURbfAHWLbJFiTm2Bfjd2jR+mh0bw== X-Received: by 2002:a63:6901:: with SMTP id e1mr43458719pgc.390.1568402870370; Fri, 13 Sep 2019 12:27:50 -0700 (PDT) Received: from localhost (amx-tls3.starhub.net.sg. [203.116.164.13]) by smtp.gmail.com with ESMTPSA id c15sm31911940pfi.172.2019.09.13.12.27.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2019 12:27:49 -0700 (PDT) Subject: [PATCH 2/4] Documentation: riscv: boot: Don't claim we're compliant with PE Date: Fri, 13 Sep 2019 12:24:31 -0700 Message-Id: <20190913192433.4316-3-palmer@sifive.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190913192433.4316-1-palmer@sifive.com> References: <20190913192433.4316-1-palmer@sifive.com> MIME-Version: 1.0 From: Palmer Dabbelt To: linux-riscv@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190913_122751_219088_567F70E2 X-CRM114-Status: GOOD ( 10.81 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.210.195 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.210.195 listed in wl.mailspike.net] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Palmer Dabbelt Sender: "linux-riscv" Errors-To: linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org We don't yet have a PE header in our image. While we could add one, we shouldn't claim we have one in the documentation. Signed-off-by: Palmer Dabbelt --- Documentation/riscv/boot-image-header.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/riscv/boot-image-header.txt b/Documentation/riscv/boot-image-header.txt index 77e8e505bc41..219f62ef62c4 100644 --- a/Documentation/riscv/boot-image-header.txt +++ b/Documentation/riscv/boot-image-header.txt @@ -21,7 +21,7 @@ The following 64-byte header is present in decompressed Linux kernel image. u32 res3; /* Reserved for additional RISC-V specific header */ u32 res4; /* Reserved for PE COFF offset */ -This header format is compliant with PE/COFF header and largely inspired by, +This header format can be made compliant with PE/COFF header and largely inspired by, but not compatible with, the ARM64 header. Notes: From patchwork Fri Sep 13 19:24:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 11145189 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 49C4716B1 for ; Fri, 13 Sep 2019 19:28:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 27EB9206A5 for ; Fri, 13 Sep 2019 19:28:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uh7mWsXb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 27EB9206A5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:From:MIME-Version:References: In-Reply-To:Message-Id:Date:Subject:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xhAPHaDUDVJB8osVWTUE8wP12C4sZA+KVFl/hdhItzA=; b=uh7mWsXbt4WDhj fU/AtgbFwBO7q7joNCmrp8NfAa+aqOS+0CSRVsWRujC0pM/ZeVncN5qCJ54il1TmMk+7Wxe/wuJzl UAmabmxu66jAflJ2BjgS3ILH/xLEjCWy1tuGfG7f1wY7KjNuCgT0LYhHBTxyyx9UNC/bwwoFGjbqe kAWRYAr5ME0ZU+3GuJ+r8W31PDrjjvtNHbNlpGzHk947H4jgHrO5Mhze2NZF0i3RtNmJFNgMgFHd4 o5va3S0LEwPKJrjySlHytXnZ58/2re4E6tcXWMeu/FnjniL06INKRGCqBDQa9f2p51SHxX0XM9CmX gdxy0rsSywaYK1JosCvg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1i8rEe-0003bn-Uh; Fri, 13 Sep 2019 19:28:01 +0000 Received: from mail-pf1-f196.google.com ([209.85.210.196]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1i8rEd-0003b8-09 for linux-riscv@lists.infradead.org; Fri, 13 Sep 2019 19:28:00 +0000 Received: by mail-pf1-f196.google.com with SMTP id q10so18697266pfl.0 for ; Fri, 13 Sep 2019 12:27:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:cc:from:to; bh=25hozf8heqI2cK90aKdZrW84SaxA8aO5TIvypEKLd1w=; b=hFkZbvpvi3wPnH7Ei8WsjYBg6xd18QtbSZig+4AYAcQNycUtMcYOmU/t3J8qcIzClM qilRNRnAKCGVzDLypAy/7/V65Kplsrl1fK+SrQ9VqTPWSKRnR2sEZ2je0RiKUHGXtagi RYV3918fKd4xNOEjXzc3rULnnimmv5aXYFNWFgU1Y53+ZZLDHDpDsngeFwbjiu85ONDZ c3Rz4mGNCeAyhanAvymzbykggQPy3x14WDyAG+woYZ0e5g0gzKXPtuSUllvexy3qWL/7 7gHUgdiZMNfuuwzVaMVwVAagZus7LBGUggrTIEwt8N2qBl0t3IkeWdrvYvtKEzBCDswP vIjA== X-Gm-Message-State: APjAAAXxPDYmCQt3zxAOiOnNYuVzGlR8NcGlXlslbSyrNAV24M7Wfadm kFD8kuvOwChHryMIVUPF0Uh/Rw== X-Google-Smtp-Source: APXvYqzXZiLUzCWsrmiiIXPexcwTfsqYfprwIfHcttwqcinVRNtI4I+Varvmsft4DqNV6kbmJFGzCQ== X-Received: by 2002:a17:90a:aa0a:: with SMTP id k10mr7067102pjq.18.1568402877909; Fri, 13 Sep 2019 12:27:57 -0700 (PDT) Received: from localhost (amx-tls3.starhub.net.sg. [203.116.164.13]) by smtp.gmail.com with ESMTPSA id w11sm37842556pfd.116.2019.09.13.12.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2019 12:27:57 -0700 (PDT) Subject: [PATCH 3/4] Documentation: riscv: boot: Whitespace fix Date: Fri, 13 Sep 2019 12:24:32 -0700 Message-Id: <20190913192433.4316-4-palmer@sifive.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190913192433.4316-1-palmer@sifive.com> References: <20190913192433.4316-1-palmer@sifive.com> MIME-Version: 1.0 From: Palmer Dabbelt To: linux-riscv@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190913_122759_046564_E2FCCCEA X-CRM114-Status: GOOD ( 11.70 ) X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.210.196 listed in list.dnswl.org] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.210.196 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Palmer Dabbelt Sender: "linux-riscv" Errors-To: linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org This fixes a missing space before a "(" that I found when reading the documentation. Signed-off-by: Palmer Dabbelt --- Documentation/riscv/boot-image-header.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/riscv/boot-image-header.txt b/Documentation/riscv/boot-image-header.txt index 219f62ef62c4..e325d1c9ad4c 100644 --- a/Documentation/riscv/boot-image-header.txt +++ b/Documentation/riscv/boot-image-header.txt @@ -28,7 +28,7 @@ Notes: - This header can also be reused to support EFI stub for RISC-V in future. EFI specification needs PE/COFF image header in the beginning of the kernel image in order to load it as an EFI application. In order to support EFI stub, - code0 should be replaced with "MZ" magic string and res5(at offset 0x3c) should + code0 should be replaced with "MZ" magic string and res4 (at offset 0x3c) should point to the rest of the PE/COFF header. - version field indicate header version number. From patchwork Fri Sep 13 19:24:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 11145191 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6DFCB14DB for ; Fri, 13 Sep 2019 19:28:17 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4C28C206A5 for ; Fri, 13 Sep 2019 19:28:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="XPZv2PMu" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4C28C206A5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:From:MIME-Version:References: In-Reply-To:Message-Id:Date:Subject:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nr/cPI9sNN1dcNV+RoSiyDkLzJ2BRsxAC6wrNe6sKJM=; b=XPZv2PMufGXuoD AslsmTqN57PqO6ytiwP69d6thUx1sqswQVKJ/muXBU1bpAPUaKfs5XphedkfBSM7WcqDY8IDjsNRD uRXwlWXBYXRCc1QV6PpWoVjj/W0m81TNzwfJ3gSV1BMzN+ewnL6/eJBjRcA+9mzdCadi6vM0/yKbK euGaldMwZciCKa8T4rs3DCIwtoujONWN9F6Eb22BZa4Jmw9yzfDu1A1v34qkOBAPwjULWw6Zpg2sD 090n31j6S0oHD36kDFE5Z8ezOVahabTqCHJkQVxUG3PmtuedNxkPXhuwI3ApoNdtvYL+WlGGkFiX0 u+nThBpb4wNIYcc+ON3g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1i8rEo-0003fm-Hj; Fri, 13 Sep 2019 19:28:10 +0000 Received: from mail-pl1-f196.google.com ([209.85.214.196]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1i8rEl-0003fA-5d for linux-riscv@lists.infradead.org; Fri, 13 Sep 2019 19:28:08 +0000 Received: by mail-pl1-f196.google.com with SMTP id f19so13638359plr.3 for ; Fri, 13 Sep 2019 12:28:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:cc:from:to; bh=j/HQ4yd44rMnWbaPGJXdCjqvy1nS3e7OT5N0X/iTPHo=; b=aFWuvG3AXPu6spvZqhWs/y7F/0n56F5wY/NKvQ3uOdTf7dkYVliqEHiqIsbb6Nw+xD XPCvn5AX9wGdrQ7JKu6bKWtIR48Kf17lTsOWAOXArEu++X5p/pQKNZ2WGxe6YcF2FPA+ MjJHdT3RdYHEwZ9zaVwb6UuMw4WNu7bvIwoDS6Z8PxfW2IhL+5y/zJLKgRLQooxurocU AKRqNNCPVOkHpML59K8KkK90U5TDloyUEYQR2CG7eZZGKeIHg5DfA74LuVZ5EIjhs/b1 cu6gibHKlrFop0Zdv5tECbNODyWi1XfKUg1rqhY4jnCu1PXHrDQ6Xm1Txk4z1lD5FZoF +8Ig== X-Gm-Message-State: APjAAAUgLGJ1IdyHUa+W1ZMXkdYcZzo8YYEMMLJvGYQ/newSUPoOEVaw Lghh/GK4XIved5E7Zj+Cd1jRCQ== X-Google-Smtp-Source: APXvYqy2XXXv07m9yyvAjB1CS0Vsz0L8V0DXsepZLzb2sVaByQeE9X9gOTJYxWk0mTF8ECVIW5B0Dg== X-Received: by 2002:a17:902:b685:: with SMTP id c5mr12130443pls.16.1568402886477; Fri, 13 Sep 2019 12:28:06 -0700 (PDT) Received: from localhost (amx-tls3.starhub.net.sg. [203.116.164.13]) by smtp.gmail.com with ESMTPSA id h66sm3665649pjb.0.2019.09.13.12.28.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2019 12:28:06 -0700 (PDT) Subject: [PATCH 4/4] Documentation: riscv: boot: Don't mention big-endian Date: Fri, 13 Sep 2019 12:24:33 -0700 Message-Id: <20190913192433.4316-5-palmer@sifive.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190913192433.4316-1-palmer@sifive.com> References: <20190913192433.4316-1-palmer@sifive.com> MIME-Version: 1.0 From: Palmer Dabbelt To: linux-riscv@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190913_122807_211212_9CC8CE85 X-CRM114-Status: UNSURE ( 9.42 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.214.196 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.214.196 listed in wl.mailspike.net] 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Palmer Dabbelt Sender: "linux-riscv" Errors-To: linux-riscv-bounces+patchwork-linux-riscv=patchwork.kernel.org@lists.infradead.org The documentation defines a flag to indicate big endian systems, but doesn't define what that flag actually means -- for example: * Are the other fields BE or LE? * Does the BE format assume the bootloader enters BE mode, is there a kernel stub that does so, or are we adding extra BE instructions? Signed-off-by: Palmer Dabbelt --- Documentation/riscv/boot-image-header.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/Documentation/riscv/boot-image-header.txt b/Documentation/riscv/boot-image-header.txt index e325d1c9ad4c..d3efaf374b27 100644 --- a/Documentation/riscv/boot-image-header.txt +++ b/Documentation/riscv/boot-image-header.txt @@ -42,8 +42,5 @@ Notes: header extendible in future. One example would be to accommodate ISA extension for RISC-V in future. For current version, it is set to be zero. -- In current header, the flag field has only one field. - Bit 0: Kernel endianness. 1 if BE, 0 if LE. - - Image size is mandatory for boot loader to load kernel image. Booting will fail otherwise.