Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1858960ybn; Thu, 26 Sep 2019 03:19:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxALIR0cp1aaBCDQfuJQX2MNnSVPJrUZI7S7xvnc0FVWLi5tjzphiTV6IvztObaPLMeH3GQ X-Received: by 2002:aa7:df14:: with SMTP id c20mr2659238edy.133.1569493158776; Thu, 26 Sep 2019 03:19:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569493158; cv=none; d=google.com; s=arc-20160816; b=acZxjwrslF3Uhz77ImgH7NqZuMD9Onx+mi3NG1UNZwDpSnhd35KepySAsiN+8fDbE7 r9qKq3Rlz/iWzJS1JcF4ry1aeLIs9SI2FICz1EHm3V/3yR5aV5mWB+HSB0nC4K8584Od nYGWZ9sBnfDppeSLZrjnw52RLsPuIZiGeY7Q3JE/M4LUuz4LCA3KRXVDq6Vv/BGzJCux inyTyWaSzwFWNHVwb+r0IWw3TqUOMScNpueqMff9uZ6R66JgS45STZW8fXEg4DpagfiV G7O6DIclHcyUk0dKHVJNybkETzEXT+O5ayfsOmCYa5hizv+oEPFoI0YU65/U6m2/pY7O A63w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=B/KKtNY61FW3LktVmIx/nxAB4lZohoFUesdRw+6T1hA=; b=Zeko1bubRfxvQbqIMhe/OD8k1OGk+e8q/DaeCGDcApZhXtUuw4KX8Th0/R0gpNQj1N CdlYZ7brpHRTbJUOh1Xc8is+dHrnSL07U+kebGJLkS+GCZ79A3sxtUrq0uWCo3uMYZhC 9J7brsQygq16R64HCcQAeQ4BYDVuKZikbqhtRZcql1DdqiL9nKZ/Le1pvQfV9Via0Qxu 7J73EDtylg49Dh/U4UjkfBn82pKqXMxXCCEYOB2PNc8Zd6HUdrvjjHHD1+PogsF0vI4I dXnU+LJe4x68RsTKxI4JBck2R1vkijO0hZj6WfKy5/+aiPx3oerI/fCKtzM8PPMQYn8B GmWA== ARC-Authentication-Results: i=1; mx.google.com; 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 c26si1010427edx.353.2019.09.26.03.18.55; Thu, 26 Sep 2019 03:19:18 -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; 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 S1731537AbfIZEVL (ORCPT + 99 others); Thu, 26 Sep 2019 00:21:11 -0400 Received: from mail.cn.fujitsu.com ([183.91.158.132]:16673 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728648AbfIZEVL (ORCPT ); Thu, 26 Sep 2019 00:21:11 -0400 X-IronPort-AV: E=Sophos;i="5.64,550,1559491200"; d="scan'208";a="76043412" Received: from unknown (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 26 Sep 2019 12:21:08 +0800 Received: from G08CNEXCHPEKD01.g08.fujitsu.local (unknown [10.167.33.80]) by cn.fujitsu.com (Postfix) with ESMTP id 1D8DD4CE14EA; Thu, 26 Sep 2019 12:21:11 +0800 (CST) Received: from TSAO.g08.fujitsu.local (10.167.226.60) by G08CNEXCHPEKD01.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 26 Sep 2019 12:21:19 +0800 From: Cao jin To: , , CC: , , , , Subject: [RFC PATCH] x86/doc/boot_protocol: Correct the description of "reloc" Date: Thu, 26 Sep 2019 12:21:16 +0800 Message-ID: <20190926042116.17929-1-caoj.fnst@cn.fujitsu.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.167.226.60] X-yoursite-MailScanner-ID: 1D8DD4CE14EA.AB26D X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: caoj.fnst@cn.fujitsu.com X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The fields marked with (reloc) actually are not dedicated for writing, but communicating info for relocatable kernel with boot loaders. For example: ============ ============ Field name: pref_address Type: read (reloc) Offset/size: 0x258/8 Protocol: 2.10+ ============ ============ ============ ======================== Field name: code32_start Type: modify (optional, reloc) Offset/size: 0x214/4 Protocol: 2.00+ ============ ======================== Signed-off-by: Cao jin --- Unless I have incorrect non-native understanding for "fill in", I think this is inaccurate. Documentation/x86/boot.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/x86/boot.rst b/Documentation/x86/boot.rst index 08a2f100c0e6..a611bf04492d 100644 --- a/Documentation/x86/boot.rst +++ b/Documentation/x86/boot.rst @@ -243,7 +243,7 @@ bootloader ("modify"). All general purpose boot loaders should write the fields marked (obligatory). Boot loaders who want to load the kernel at a -nonstandard address should fill in the fields marked (reloc); other +nonstandard address should consult with the fields marked (reloc); other boot loaders can ignore those fields. The byte order of all fields is littleendian (this is x86, after all.) -- 2.21.0