Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1054556imm; Wed, 4 Jul 2018 10:36:53 -0700 (PDT) X-Google-Smtp-Source: AAOMgpetjkvPF2ZofB53KYdjonspEQx3DIQGr6IP6KilEq/OVRTEefJOvCWwhv+cdxJTotxNvF7B X-Received: by 2002:a62:104e:: with SMTP id y75-v6mr3103285pfi.109.1530725813323; Wed, 04 Jul 2018 10:36:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530725813; cv=none; d=google.com; s=arc-20160816; b=jSZ0DVVn0bPE2h8prGILxZ3eM/juAXqZV8sAEf32WbJ9v077KUQFz3s99HgQuhS70i YMLw72mxCDmPxe9VTctPRVmIgy5kEjkZURSPXskvVkff6NksHiP+/4IYs4VQM2kWEsNw xqZXY7Ba9Hkxs4LlBx0TNemDU5WnoxZ65rao8e4u77AGI5TDkLs2vcNXfV8EgMKncLyG Fzcs0bmdmGWf045axJNJbAXQ8f5HTwIVYj8UXdaXbXpH9H7vQpEnlCYv9Thvo2wU8Gvu E+HBFUz1n1A4FEu3bXLTpQTtTuow9py6d40la6G02vmSFpDlq+Nwma4pJHe9YPDINx2Q NGtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=LkkAYzHzXZMqFWro4U8nCRcyg/6WJ+kQ3VlNP77nIVI=; b=P87t0PuNscCpe33oYflcthk5dCOmyqgGGLxCS14eK2r9pIINwXPFtOyJEfukhfMW16 0qhrBLoGA77Y+WoytT146+FyB+nbqlzv/2px0EinoFgQCrdWqSozJUWmdjDLb0PwsUsB BHTm3O+EIe9Z+4nWsVo+haKswnEkUI56Er1KjRRJSr7ng0kpcrUD77Z3BIq6KLoT6EkZ WutGrTdjxZs4X7t1ilsdb2rPQYVb1pF6ZEoOKkhxLNV3+by46VWfWLtjlrjT3EcwNvfJ eeh27eJkhyhcSYU7suwsDPBHw9zbNm56EQlMdg58K+KTdG7hPtVKopnSSSrX/K8uYKbJ U7Wg== 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 q17-v6si3907665pff.173.2018.07.04.10.36.38; Wed, 04 Jul 2018 10:36:53 -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 S1753166AbeGDRfi (ORCPT + 99 others); Wed, 4 Jul 2018 13:35:38 -0400 Received: from foss.arm.com ([217.140.101.70]:41228 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753103AbeGDRfg (ORCPT ); Wed, 4 Jul 2018 13:35:36 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 19D3180D; Wed, 4 Jul 2018 10:35:36 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id DF7D03F5A0; Wed, 4 Jul 2018 10:35:35 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id E1A951AE180C; Wed, 4 Jul 2018 18:36:15 +0100 (BST) Date: Wed, 4 Jul 2018 18:36:15 +0100 From: Will Deacon To: Laura Abbott Cc: mjw@fedoraproject.org, "H . J . Lu" , Masahiro Yamada , Catalin Marinas , Andy Lutomirski , Linus Torvalds , X86 ML , linux-kernel@vger.kernel.org, Nick Clifton , Cary Coutant , linux-kbuild@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Michael Ellerman , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCHv5 4/4] arm64: Add build salt to the vDSO Message-ID: <20180704173615.GC9668@arm.com> References: <20180703233430.14416-1-labbott@redhat.com> <20180703233430.14416-5-labbott@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180703233430.14416-5-labbott@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 03, 2018 at 04:34:30PM -0700, Laura Abbott wrote: > > The vDSO needs to have a unique build id in a similar manner > to the kernel and modules. Use the build salt macro. > > Signed-off-by: Laura Abbott > --- > v5: I was previously focused on x86 only but since powerpc gave a patch, > I figured I would do arm64 since the changes were also fairly simple. > --- > arch/arm64/kernel/vdso/note.S | 3 +++ > 1 file changed, 3 insertions(+) If you drop the trailing semicolon, then: Acked-by: Will Deacon Will > diff --git a/arch/arm64/kernel/vdso/note.S b/arch/arm64/kernel/vdso/note.S > index b82c85e5d972..2c429dfd3f45 100644 > --- a/arch/arm64/kernel/vdso/note.S > +++ b/arch/arm64/kernel/vdso/note.S > @@ -22,7 +22,10 @@ > #include > #include > #include > +#include > > ELFNOTE_START(Linux, 0, "a") > .long LINUX_VERSION_CODE > ELFNOTE_END > + > +BUILD_SALT; > -- > 2.17.1 >