From patchwork Thu Mar 1 15:27:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 130275 Delivered-To: patch@linaro.org Received: by 10.80.172.228 with SMTP id x91csp2951908edc; Thu, 1 Mar 2018 07:38:06 -0800 (PST) X-Google-Smtp-Source: AG47ELuS6i0Wak5YyC7GQ8NFBDyyAi0+OXlQOEY2f7+aVIma2gzOYUnxAalTGum2Plee2Nz80PNV X-Received: by 10.98.202.23 with SMTP id n23mr2374270pfg.52.1519918686193; Thu, 01 Mar 2018 07:38:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519918686; cv=none; d=google.com; s=arc-20160816; b=KMcZWdI91r13t+qe5MFW8LuIo2cUPJtw26ru/Wk4UMviIp3u0jkgzvdB2lC2aFMdR6 bAeSU0CcEMxZItukeksybkYXwrOqV367fJ4HgwUW8SojHrSZ0e7zkLwNq8I77kYOJNkU TXYRGpT52iuKBBSpC5CLUFYFKOED3W+K/Eeif/zTN6LdLKUvdCjHbHdyEasMmG+5biXQ sQR2oBcRHVukAP5Ci01PTSMYh+hhhoHIFa1I3bfGSgJMPmOAaLD3fv0F22pGqZMzqohc 5mslPfZPACKfTQJok+AriHz6/wFAzns5CE/ydlbMiHNM/sOBSJCTrFBwoNrWxbfVPZww TnOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=vCwDa+iUg2OQH9D1bAURF0wVS6hbRWNP02cjjqyDc2c=; b=aGxIGzM6Bwbnj7qXkbsdM+YHLm4gfnbkvvRlrAxSJG/nlZXOsdp1NY6FK/Su0wgnSz TEiwOCD1gdu0awd9Z1/01eySKa4dRFIRqnkq3byHoPdATTuv9Xf3fE+ukig87tivZCag c4B7DnoSl3qzKmt5y3LBUbNVSXeWScm1pcUg4Q9xl+HSkKsNuHOcJWecWVQzhRVOigZE k5jUlC36C0nJI8vvYBtvfd9JbPBMJL61wyljJyaZGNYE0CumRVSBmwZaU9VNJbTpgteO dhSLKkGptqe8EixFNayDLMXxFFrz6y1cOV5DBjGU9SRGmkM/FI270TGZrmRwmhjI/oFP bvRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=YIbqlqRX; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g10-v6si2863008plk.730.2018.03.01.07.38.05; Thu, 01 Mar 2018 07:38:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-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=@microsoft.com header.s=selector1 header.b=YIbqlqRX; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032533AbeCAPiD (ORCPT + 10 others); Thu, 1 Mar 2018 10:38:03 -0500 Received: from mail-sn1nam02on0139.outbound.protection.outlook.com ([104.47.36.139]:6330 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1032438AbeCAPhq (ORCPT ); Thu, 1 Mar 2018 10:37:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=vCwDa+iUg2OQH9D1bAURF0wVS6hbRWNP02cjjqyDc2c=; b=YIbqlqRXxYDFUsNNMODrorm+HbtV3ShhyWqwlKZspvf5UxKqi1cHhnV629lO8/zyLWna/0BVJT0onpXAC8LdTe3F+VCdVtOI1KLRho1GgOOM+fE3op8onU1Sp2LHUt9PmnAJ+r3XoeI55hOXsjaHGayywdu4tZpkjTBForUMR1k= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0982.namprd21.prod.outlook.com (52.132.133.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.567.2; Thu, 1 Mar 2018 15:37:44 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8063:c68a:b210:7446]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8063:c68a:b210:7446%2]) with mapi id 15.20.0567.006; Thu, 1 Mar 2018 15:37:44 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "stable-commits@vger.kernel.org" CC: Arnd Bergmann , Ingo Molnar , Sasha Levin Subject: [added to the 4.1 stable tree] x86/boot: Avoid warning for zero-filling .bss Thread-Topic: [added to the 4.1 stable tree] x86/boot: Avoid warning for zero-filling .bss Thread-Index: AQHTsXHFipCVjfY1IUKeBp8DD4jpZQ== Date: Thu, 1 Mar 2018 15:27:12 +0000 Message-ID: <20180301152116.1486-441-alexander.levin@microsoft.com> References: <20180301152116.1486-1-alexander.levin@microsoft.com> In-Reply-To: <20180301152116.1486-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM5PR2101MB0982; 7:mrVCJ/EBIermxtFv+hsfUlwWkSc7K9NDnYrdw/LlXyKNsDGGXejw1ITmIq+dwQql3ncWljlGcSvHq4cSqXTlQZLoHauHRjYslt1zHZMJhP/nrU9uwkwg/BpcZ49j9iwP4ZGBkPgKqstmm2KfsMV3sNVphVRvsK/nhoDbMrI70HwQMsHImszX18fKBuEm++DNdxMA3iquRRdajIJQRf2Q12VNRX0gb6dIuH1P6nVtm7hz0YmPjDAmYEXOkGJAq19E x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 6b57be69-4c8c-4db7-8f9b-08d57f8a60b4 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7193020); SRVR:DM5PR2101MB0982; x-ms-traffictypediagnostic: DM5PR2101MB0982: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(85827821059158)(42068640409301); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(61425038)(6040501)(2401047)(5005006)(8121501046)(3002001)(3231220)(944501225)(52105095)(10201501046)(93006095)(93001095)(6055026)(61426038)(61427038)(6041288)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DM5PR2101MB0982; BCL:0; PCL:0; RULEID:; SRVR:DM5PR2101MB0982; x-forefront-prvs: 05986C03E0 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(346002)(39860400002)(39380400002)(396003)(366004)(189003)(199004)(6506007)(59450400001)(53936002)(6346003)(6436002)(102836004)(5250100002)(6666003)(107886003)(26005)(186003)(6306002)(6512007)(2950100002)(2501003)(86362001)(575784001)(4326008)(25786009)(1076002)(54906003)(316002)(110136005)(106356001)(22452003)(14454004)(66066001)(99286004)(76176011)(6116002)(3846002)(97736004)(3660700001)(105586002)(2900100001)(68736007)(478600001)(7736002)(72206003)(305945005)(86612001)(10290500003)(966005)(8936002)(10090500001)(8676002)(81156014)(81166006)(5660300001)(3280700002)(2906002)(36756003)(6486002)(22906009)(142923001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR2101MB0982; H:DM5PR2101MB1032.namprd21.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: aYgqIokV9x0BgP6I6n9HhJLNyfOXwy4bl7F8afw2ZJ6ViVq7IgNK0ZcZf+EGtGSyFihg7xW5Pv2VufBm6HNeue14BrsvfouopT+b3zf3tGsJ62XIvtpNCLRrbcVit9CFINhR0q5Q6xtHMjMIxovG7ehaL9+Ub4b8bsi329KQ07A= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6b57be69-4c8c-4db7-8f9b-08d57f8a60b4 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Mar 2018 15:27:12.3406 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0982 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Arnd Bergmann This patch has been added to the 4.1 stable tree. If you have any objections, please let us know. -- 2.14.1 =============== [ Upstream commit 553bbc11aa6c1f9e0f529a06aeeca15fbe4a3985 ] The latest binutils are warning about a .fill directive with an explicit value in a .bss section: arch/x86/kernel/head_32.S: Assembler messages: arch/x86/kernel/head_32.S:677: Warning: ignoring fill value in section `.bss..page_aligned' arch/x86/kernel/head_32.S:679: Warning: ignoring fill value in section `.bss..page_aligned' This comes from the 'ENTRY()' macro padding the space between the symbols with 'nop' via: .align 4,0x90 Open-coding the .globl directive without the padding avoids that warning, as all the symbols are already page aligned. Signed-off-by: Arnd Bergmann Cc: Andy Lutomirski Cc: Borislav Petkov Cc: Brian Gerst Cc: Denys Vlasenko Cc: H. Peter Anvin Cc: Josh Poimboeuf Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/20161116141726.2013389-1-arnd@arndb.de Signed-off-by: Ingo Molnar Signed-off-by: Sasha Levin --- arch/x86/kernel/head_32.S | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S index 7e429c99c728..63dd2c971db8 100644 --- a/arch/x86/kernel/head_32.S +++ b/arch/x86/kernel/head_32.S @@ -670,14 +670,17 @@ __PAGE_ALIGNED_BSS initial_pg_pmd: .fill 1024*KPMDS,4,0 #else -ENTRY(initial_page_table) +.globl initial_page_table +initial_page_table: .fill 1024,4,0 #endif initial_pg_fixmap: .fill 1024,4,0 -ENTRY(empty_zero_page) +.globl empty_zero_page +empty_zero_page: .fill 4096,1,0 -ENTRY(swapper_pg_dir) +.globl swapper_pg_dir +swapper_pg_dir: .fill 1024,4,0 /*