Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp546612ybt; Wed, 24 Jun 2020 05:43:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3ktephZE2uI12EufvyV4i78z1eHiWOK/1d1+eTLF1yIrhwrAgu6geY/FfUpygNmQKGV2B X-Received: by 2002:a17:906:6457:: with SMTP id l23mr23957395ejn.188.1593002591365; Wed, 24 Jun 2020 05:43:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593002591; cv=none; d=google.com; s=arc-20160816; b=dALN9klM/D4tzkRTpjD4nPVpuqDrmkKlocRQA7GO2CgeBgnGFUo3l+Wk/xXy8SR4Hs M+ckO1DXcVWS/y9FWF6AoDSReNJips/B7ouoRmeSHKnVfNeI8Kbxpkgq8gtV+1ZLNVla nOaJN/ArCUlKpTO10tPIq723mssKC5zKO4Y3ShlDv02aIXzJCMwuZtDBaRxkM71xt5Ne mD/huxx5yNR5SrpZpInxX9PFhcXnf4enem2dFPjUznyc7GS19szbXmNybI8aNsK5OPTH AUmucdDfO/wKA3NcMjjQizLJcw6qNZBgvrpudOuNH5C39+rAhHRHFaSzmp+suH3AYN+m JFYg== 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:dkim-signature; bh=aYKKfuW0G7IgOGzCfdjMtdaJQG4FFehFFjuncFFa+3g=; b=DncUpqUTBSTrd7RBMjHi9iPG0SpVP5UPwA5uzycaEfla+qHgwymxVZTQC5TRt2vIK0 JcUwcbvPyuxySJuyHNfBcjoh/8ee2ImzHFY9+HD1i7P7JH84XsuMvl6/UdR2/1hgIZJO J1Oapkv28cyz9r/GHzj3zijokkyR80krxd5AmqiVcpUKF5KQj/2vCI9ZJbrnlO+7STvf EvVI1rRIyCStS1dH+CURI2VoN77OS4RGtkpokkecpQuoU76uTbMd34ETOjx/UGE3rf+H ur7n3SEU/LWwguxYpfnFXt+cm6FfAqAUIdmMExP0CZ1Jsp7hOVi6lOrGyEUjMlgNUMCt acFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RCbjcdJx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bq21si767970ejb.301.2020.06.24.05.42.47; Wed, 24 Jun 2020 05:43:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RCbjcdJx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390689AbgFXMll (ORCPT + 99 others); Wed, 24 Jun 2020 08:41:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:40288 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388942AbgFXMll (ORCPT ); Wed, 24 Jun 2020 08:41:41 -0400 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AE7B220789; Wed, 24 Jun 2020 12:41:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593002500; bh=RJoKyXRp/aW2te5nOPktnMoIfkGotqgXfIGE4toTzTc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RCbjcdJxfeThbLYvmBHfIt5rEu/DkAFgBbWMBu4LMiTk0lhsipZon2mjkjUrzqRtq B46h3ut+6wCZodMyp8TbUrvQ5kRwQx2oijk7rxq9RmFaoqpso/8vjHJfMmaiS8Ap6c Dj/YhRBV6/jZMlyYiA5bubhhs0AhQ7voCX6F3RZI= Date: Wed, 24 Jun 2020 13:41:32 +0100 From: Will Deacon To: Alexander Popov Cc: Kees Cook , Jann Horn , Emese Revfy , Miguel Ojeda , Masahiro Yamada , Michal Marek , Andrew Morton , Masahiro Yamada , Thiago Jung Bauermann , Luis Chamberlain , Jessica Yu , Sven Schnelle , Iurii Zaikin , Catalin Marinas , Vincenzo Frascino , Thomas Gleixner , Peter Collingbourne , Naohiro Aota , Alexander Monakov , Mathias Krause , PaX Team , Brad Spengler , Laura Abbott , Florian Weimer , kernel-hardening@lists.openwall.com, linux-kbuild@vger.kernel.org, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, gcc@gcc.gnu.org, notify@kernel.org Subject: Re: [PATCH v2 3/5] arm64: vdso: Don't use gcc plugins for building vgettimeofday.c Message-ID: <20200624124131.GB6270@willie-the-truck> References: <20200624123330.83226-1-alex.popov@linux.com> <20200624123330.83226-4-alex.popov@linux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200624123330.83226-4-alex.popov@linux.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 24, 2020 at 03:33:28PM +0300, Alexander Popov wrote: > Don't use gcc plugins for building arch/arm64/kernel/vdso/vgettimeofday.c > to avoid unneeded instrumentation. > > Signed-off-by: Alexander Popov > --- > arch/arm64/kernel/vdso/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/kernel/vdso/Makefile b/arch/arm64/kernel/vdso/Makefile > index 556d424c6f52..0f1ad63b3326 100644 > --- a/arch/arm64/kernel/vdso/Makefile > +++ b/arch/arm64/kernel/vdso/Makefile > @@ -29,7 +29,7 @@ ldflags-y := -shared -nostdlib -soname=linux-vdso.so.1 --hash-style=sysv \ > ccflags-y := -fno-common -fno-builtin -fno-stack-protector -ffixed-x18 > ccflags-y += -DDISABLE_BRANCH_PROFILING > > -CFLAGS_REMOVE_vgettimeofday.o = $(CC_FLAGS_FTRACE) -Os $(CC_FLAGS_SCS) > +CFLAGS_REMOVE_vgettimeofday.o = $(CC_FLAGS_FTRACE) -Os $(CC_FLAGS_SCS) $(GCC_PLUGINS_CFLAGS) > KBUILD_CFLAGS += $(DISABLE_LTO) > KASAN_SANITIZE := n > UBSAN_SANITIZE := n > -- > 2.25.4 I'll pick this one up as a fix for 5.8, please let me know if that's a problem. Will