Received: by 10.223.185.116 with SMTP id b49csp1133030wrg; Fri, 23 Feb 2018 12:30:57 -0800 (PST) X-Google-Smtp-Source: AH8x226UEjkphowjTFgjvahDPsQqTNHS/aEk+xzqJAx1clGl2KO2t74DHiNP7NW7jL4D0rsP8liQ X-Received: by 2002:a17:902:57c1:: with SMTP id g1-v6mr2810143plj.381.1519417857368; Fri, 23 Feb 2018 12:30:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519417857; cv=none; d=google.com; s=arc-20160816; b=SZIAZLXqcgG6zifjs/q6Mnu1X5gJhD4WWTsxKXxVl26WXLJ5UiiIYOEEFeblqAPgQD V27YzFUC4sUI0Gyn7epohySQFvjJ62sHGathfAGf/j/xrPFFqCf9D7Ra2NlmF7b1hL8w OY7tftXP+dT6hCMwDIk7v0JcpgqNJAqMRRMfRgry2uzbJcaF245dPrfFbbM6gZcqfs2o Qitb3mtn1V6bTT+ff8zcOPs/0NVLaYrLX666+7RLowLgnVqav7FYAgi7W13a+uRwjeI5 WqM7dBkNcA430xkEiSrfYihSpiHZdjye2iyipQ8rA7WoXTxOq2AwEyz/A4+NXKiO6rEi Dzog== 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:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=HnZ2i/LB0xRAU7KyIf68Pf32ibmj3ueJSij7yrZKTCQ=; b=PzKFvZ624P07ZXTwtZm09isBJlmSmT1uyyecO7ZwbAhrDgeS503OtdTX2N2Q2pA1Z2 1F33IaoUb/2UrSo8MSClafHEWsntjeWtRsFoQyFyngNoEG5PVhbG8IoFFghof2N8Oz0w xUZZPR0ueHRxZI3nCMq+8otJSnjD/PplDZeubz/gyX/d2fnimc8vaau3Bz+URla2/hzE 1MBeorf7kx+R8H/RI3dYOZ3Eax/G8oysyk7qV1ctij2ckq7+AWoenD6+5s2y2wmBm+7o cNE2F3Cb8I6UhWAlzYF0SxUNer0OHWi016QuTxL774ANFQuSgQwDnCk+9jDEeD4vgOJj 4siA== 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 y23-v6si2276482pli.633.2018.02.23.12.30.43; Fri, 23 Feb 2018 12:30:57 -0800 (PST) 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 S1754071AbeBWSga (ORCPT + 99 others); Fri, 23 Feb 2018 13:36:30 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:37768 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932082AbeBWSg3 (ORCPT ); Fri, 23 Feb 2018 13:36:29 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 2CDF11312; Fri, 23 Feb 2018 18:36:28 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Andy Lutomirski , Borislav Petkov , Brian Gerst , Denys Vlasenko , "H. Peter Anvin" , Josh Poimboeuf , Linus Torvalds , Peter Zijlstra , Thomas Gleixner , Ingo Molnar Subject: [PATCH 4.4 083/193] x86/boot: Avoid warning for zero-filling .bss Date: Fri, 23 Feb 2018 19:25:16 +0100 Message-Id: <20180223170339.053467259@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170325.997716448@linuxfoundation.org> References: <20180223170325.997716448@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann commit 553bbc11aa6c1f9e0f529a06aeeca15fbe4a3985 upstream. 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: Greg Kroah-Hartman --- arch/x86/kernel/head_32.S | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) --- a/arch/x86/kernel/head_32.S +++ b/arch/x86/kernel/head_32.S @@ -669,14 +669,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 /*