From patchwork Fri Feb 26 22:33:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 63114 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp113545lbc; Fri, 26 Feb 2016 14:35:04 -0800 (PST) X-Received: by 10.66.187.36 with SMTP id fp4mr5520378pac.47.1456526104745; Fri, 26 Feb 2016 14:35:04 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id db2si7072753pad.210.2016.02.26.14.35.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Feb 2016 14:35:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aZQxK-00074s-V6; Fri, 26 Feb 2016 22:33:50 +0000 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aZQxH-0006ma-8a for linux-arm-kernel@lists.infradead.org; Fri, 26 Feb 2016 22:33:48 +0000 Received: by mail-wm0-x232.google.com with SMTP id p65so3834300wmp.1 for ; Fri, 26 Feb 2016 14:33:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=GDzYrKXhWXs2PHAF0pDdokzJW5uEp4IUnzNBkBoXyw8=; b=NanSvqc0itspqi6zcHROQcwC7nG9tXiANJmT5mDswrNUquF0aQD+ZzspBY3lhvU394 dG3hfELhbWp/UDmSnOVkCbH1sbrtc3CaDI/V0H3Df63xmPHm0LH3yIdX9SMu1qPOAowa 4Nymt4txL0LtsfDFeztEOBQB3rHcThNCa1tq0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=GDzYrKXhWXs2PHAF0pDdokzJW5uEp4IUnzNBkBoXyw8=; b=aR+uW9sTm4htRNI0K2VemA6z6r4ebLV3MOhQ+oCTddbLw4qO1rtJK9txImBdVWniNM cqgLXjoUEmpXIUIZOrp73eOzFF93Lr/p5NUIlkxkjKV1vt1w8lQTgcyGSiLgDTm5WbsA R1ZHaCQNRVYviadAWEQG/wxh58qqMUctrrQ+h/WB5quXOlp0SjApD2kfqUM8a9QWAhWt dOI3QoaFUJfS0dCEwSCfHHzwK25HbG/KToLMw85w+/PFVnjifcamCXfUxpzdIERyn41e 51ggrsOlH1wOtgmLFH8tXpHz8IYHKqQDKtJ+dA0EhB7dncSpP70NjMbjhy60R0zp8we6 1bpg== X-Gm-Message-State: AD7BkJKN1j+biNx0Zhn7N+uu+2b1lpcxnSUCLdNTXhkffwiLw5JbxXu8UDliPD3DJVEftvg0 X-Received: by 10.28.111.91 with SMTP id k88mr226936wmc.86.1456526005594; Fri, 26 Feb 2016 14:33:25 -0800 (PST) Received: from localhost.localdomain ([195.55.142.58]) by smtp.gmail.com with ESMTPSA id da6sm4670412wjb.24.2016.02.26.14.33.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Feb 2016 14:33:24 -0800 (PST) From: Ard Biesheuvel To: linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com Subject: [PATCH] arm64: mm: list kernel sections in order Date: Fri, 26 Feb 2016 23:33:12 +0100 Message-Id: <1456525992-17297-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.5.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160226_143347_605330_8F159C99 X-CRM114-Status: UNSURE ( 9.85 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:232 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org In the boot log, instead of listing .init first, list .text, .rodata, .init and .data in the same order they appear in memory Signed-off-by: Ard Biesheuvel --- arch/arm64/mm/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.5.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c index e832f4ab0916..be64ff8b4280 100644 --- a/arch/arm64/mm/init.c +++ b/arch/arm64/mm/init.c @@ -361,9 +361,9 @@ void __init mem_init(void) #endif " modules : 0x%16lx - 0x%16lx (%6ld MB)\n" " vmalloc : 0x%16lx - 0x%16lx (%6ld GB)\n" - " .init : 0x%p" " - 0x%p" " (%6ld KB)\n" " .text : 0x%p" " - 0x%p" " (%6ld KB)\n" " .rodata : 0x%p" " - 0x%p" " (%6ld KB)\n" + " .init : 0x%p" " - 0x%p" " (%6ld KB)\n" " .data : 0x%p" " - 0x%p" " (%6ld KB)\n" #ifdef CONFIG_SPARSEMEM_VMEMMAP " vmemmap : 0x%16lx - 0x%16lx (%6ld GB maximum)\n" @@ -377,9 +377,9 @@ void __init mem_init(void) #endif MLM(MODULES_VADDR, MODULES_END), MLG(VMALLOC_START, VMALLOC_END), - MLK_ROUNDUP(__init_begin, __init_end), MLK_ROUNDUP(_text, __start_rodata), MLK_ROUNDUP(__start_rodata, _etext), + MLK_ROUNDUP(__init_begin, __init_end), MLK_ROUNDUP(_sdata, _edata), #ifdef CONFIG_SPARSEMEM_VMEMMAP MLG(VMEMMAP_START,