Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp541516ybt; Wed, 24 Jun 2020 05:35:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGPK0TrhdxPK+do3of96FPOxHkJewjQe51a3dQr7lTlqVXULFZ1MQ9sHnAjagdzrvUPPwF X-Received: by 2002:aa7:cd4b:: with SMTP id v11mr27657098edw.356.1593002141921; Wed, 24 Jun 2020 05:35:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593002141; cv=none; d=google.com; s=arc-20160816; b=eC/k52pDlqwyOw5tWj2d2uCZzY97I0o2wIKfYg5d0sOU9h/H1SUJcBaG046IL6LCzn cKWLKVAUcZrG8jBSMFPUNwWZzbgG14wEkzFTYtBychZzZzHbr1JRTMTYzeSPNRjedL0T /8afwprWmzhaa0I3Nn1C6nronpQh+ZeZKsZRukHCv63u8DAp4uNEmDOwkWZMKO6Np5MO TnxdeStdlz7OTNAUlhSCi+TaNgF4oY+nr0pP2E5IYMppqEDiVqOf1DRDZFaPGSZ8wz18 zdV4Un+wMBVzrQhmdZXbfg8jhXhljDX7H38LsPssexbjH2sy/Y7r5aWo26xiZQIOCzBx 0jWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=dd/x9rNY52s67dtxhdU+GLjXuLmi+ISuyjz/CGrFIjM=; b=SZqTKFAVCXeYuHVbFzTk6qDSjyWGYSEYRZc3CpI0nm+rjogm3pON3IEBqskjtLd7H3 FKlyJoa//4DfMFRq95I31Kzf1lgs7s4QnXhVaCDKvbBFqAXMBR/B9gdDLv78vx6mH8pW slwv1XFUuYrBJtE5mkIUlHP0/A//QSVaMFPtJyBCOEDlen6/ps0bpZMtQt5OI33Jqe0d wEwloh5IaswAcs/Xm7uoZkntbl5rbXCmKE7svEZM9zLM3cgWqs0mXMij3RU/DLy4KV84 frLprJr8h8LDYezM4IVc+jRysTlRxdnCdzfH9x4Os1mfG+IPBwSHlqLoKD/ECGDei2cE sRWg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b22si314307edn.212.2020.06.24.05.35.18; Wed, 24 Jun 2020 05:35:41 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403887AbgFXMee (ORCPT + 99 others); Wed, 24 Jun 2020 08:34:34 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:38574 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390646AbgFXMe1 (ORCPT ); Wed, 24 Jun 2020 08:34:27 -0400 Received: by mail-qt1-f196.google.com with SMTP id z2so1485271qts.5; Wed, 24 Jun 2020 05:34:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dd/x9rNY52s67dtxhdU+GLjXuLmi+ISuyjz/CGrFIjM=; b=NGYb8BWF69d58aMZEBSJDTJ2WfoIzyaBQyGXCLpmS2l1d0l7s6tpwFmJVUSQPwFw4l ffuOCBHy8Tfl5stimfruliPRKtHTEJ8kHF2Xe81rpsnAqTxWoY+Tm/4a8iJ5SHpQNv4W 4OAg+4NOcUxWf8pQaA79GK7lM5JljdiGSY76oYGqHZw2ysOvw15ErQpoUdyb+4pNmLXM Fy2GKbhWH7WwoIuLfT05RCx704qxFPLnvwHCsrpX6mTbl0cVldIQPPKHvcuImCsvcIru Kbdi4Gsjih3cpTJJnvn8WYaoJp+zA6On5fHIM9gRmdjt71LVoQ8NdK8hBRh3H04hekR5 1+Nw== X-Gm-Message-State: AOAM53285VFkuOZyUAz3jNxDeLZ9BGJ5/4XWMxFGyE3yF0rnWTl1YL5J Ecr+8htJVYTRCL0o/TPn3lA= X-Received: by 2002:ac8:5486:: with SMTP id h6mr6019451qtq.255.1593002066620; Wed, 24 Jun 2020 05:34:26 -0700 (PDT) Received: from localhost.localdomain ([185.248.161.177]) by smtp.gmail.com with ESMTPSA id x26sm3354512qtr.4.2020.06.24.05.34.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 05:34:26 -0700 (PDT) From: Alexander Popov To: 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 , Will Deacon , Vincenzo Frascino , Thomas Gleixner , Peter Collingbourne , Naohiro Aota , Alexander Monakov , Mathias Krause , PaX Team , Brad Spengler , Laura Abbott , Florian Weimer , Alexander Popov , 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 Cc: notify@kernel.org Subject: [PATCH v2 3/5] arm64: vdso: Don't use gcc plugins for building vgettimeofday.c Date: Wed, 24 Jun 2020 15:33:28 +0300 Message-Id: <20200624123330.83226-4-alex.popov@linux.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200624123330.83226-1-alex.popov@linux.com> References: <20200624123330.83226-1-alex.popov@linux.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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