Message ID | 20171027222629.58185-1-salyzyn@android.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9772B6032C for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 27 Oct 2017 22:28:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 74FC928FE7 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 27 Oct 2017 22:28:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6927228FEB; Fri, 27 Oct 2017 22:28:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E01AF28FE7 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 27 Oct 2017 22:28:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=Z6asmaA32LTbJetE54+clN0V16rQS/xxH8ykNlG8dfQ=; b=i1g wLa7xgmn0tJv0Jg0ILveYiJZVNyiSdBhL2FhkxYESemd7pa3UlVgatiiP0QAIqV9ZBZYz9i89Xq70 HmfmJAIcmEDf9lH/4zWM3WyKkZOtFfeRZ8ajFQP5A8W10Cx8qWgzJjHuN6fQveZ2gNNh6oykU8Xp3 mLVXiyRUFtzvT3FJ3LOdep+fA9J0d9JTRTtz5QJJWY4H2KgI3R0F8o3SdSlzaM1ejQLRVvB8uqu8+ DfyouNYXPEZakjUYzPV5jFlqrMORRYnUv7Td+ix8GeFhh1d0gEW8knP73LDdj5/ABKd92kDuIqCrU S6Ox8IVQGUDesTcTZDJfcYre7Fka9mw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e8D7S-0004GF-0M; Fri, 27 Oct 2017 22:28:50 +0000 Received: from mail-io0-x244.google.com ([2607:f8b0:4001:c06::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e8D5b-0003DG-M7 for linux-arm-kernel@lists.infradead.org; Fri, 27 Oct 2017 22:27:16 +0000 Received: by mail-io0-x244.google.com with SMTP id e89so15711766ioi.11 for <linux-arm-kernel@lists.infradead.org>; Fri, 27 Oct 2017 15:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=android.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=brxUkIekmolWm8Woza4JxV5yGPGkpIlsAhGcLrGf+Z0=; b=Bm/zoGKxbzU7yX2ebGcO53vQS5umCc801UQa1UnioepBoZl6k01SBssxsDCIiXeZoM n/0vCJbQyz7OcTZN0+5sbLtAmqByGdi4xbptvmlLoXvBgZAJJYPByNw84Qpq4yMypV3U XuIx28V5/l3RHsEzpcEjX/fGllT/CaqyfdOIET68XexDTKmELL5ChZhQ5TNtLtxnp+6b GMd+BDX/TSCvzzX2HEbX6S22BNqvBBLQxd7q2vBmA2X0jc6HjiIIG5ybP6Np69t9h1Lu sxvHSeoxelbheXmMUvVwq9WE6ZX0fiFnai5dxdwjpOfrxfPLz8c2Z058qE/YKcy7inqK H+jg== 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; bh=brxUkIekmolWm8Woza4JxV5yGPGkpIlsAhGcLrGf+Z0=; b=ha0zWh7OP+bW4ICeMTd+jPxR8RaBVwQYgXAy0vKTtrW/p8R0+vuuJu/1ZuLp8YmCMY REkhn+V6ByyTShuA97x7iXN2jgtXC+aKgcf2P4H2UNReyGRu4JxiMJBn7tO9KrqDCaeR DYInV/ggp+mtfOOgzXynEgc5/bURt1SJL7layjwnP1UdLv4gjYXcsy0nY6eTZ0DSxgeh C1ixHk6rLn8TzO9XqupFUoqN2hH2CAMT5Hc0Frsvy1x/kErvou7Y8zys0kzy/HzJQFp+ XSc2v2MCcBi9Pf0Y8AYbmHWdLjmk78QC85uAXbnrxqJ/IYwazAUosCy1ng0yc+aSgZkV P4aw== X-Gm-Message-State: AMCzsaXfoAgLxt5hzrBzeSLxmhe2HWAjak6B3O9WtnRtyNJ2rblPTqtw EHhYKiDaJ+m7LMNmuUGyAHPhtQ== X-Google-Smtp-Source: ABhQp+Tbz2uM4HzRSFExQLJ14xo/xdMMavpdWgSi1q+kuOJo/yxpT4ZgSBJEDOjszdACs7wxGs3jHg== X-Received: by 10.36.83.202 with SMTP id n193mr2591563itb.134.1509143195011; Fri, 27 Oct 2017 15:26:35 -0700 (PDT) Received: from nebulus.mtv.corp.google.com ([100.98.120.17]) by smtp.gmail.com with ESMTPSA id c28sm3971962iod.48.2017.10.27.15.26.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Oct 2017 15:26:34 -0700 (PDT) From: Mark Salyzyn <salyzyn@android.com> To: linux-kernel@vger.kernel.org Subject: [PATCH v3 08/12] arm: vdso: disable profiling Date: Fri, 27 Oct 2017 15:26:26 -0700 Message-Id: <20171027222629.58185-1-salyzyn@android.com> X-Mailer: git-send-email 2.15.0.rc2.357.g7e34df9404-goog X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171027_152656_248111_36A89F67 X-CRM114-Status: UNSURE ( 9.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Mark Rutland <mark.rutland@arm.com>, Laura Abbott <labbott@redhat.com>, Kees Cook <keescook@chromium.org>, Ard Biesheuvel <ard.biesheuvel@linaro.org>, Catalin Marinas <catalin.marinas@arm.com>, Kevin Brodsky <kevin.brodsky@arm.com>, Will Deacon <will.deacon@arm.com>, Russell King <linux@armlinux.org.uk>, Andy Lutomirski <luto@amacapital.net>, Mark Salyzyn <salyzyn@google.com>, James Morse <james.morse@arm.com>, Andrew Pinski <apinski@cavium.com>, Dmitry Safonov <dsafonov@virtuozzo.com>, Andy Gross <andy.gross@linaro.org>, John Stultz <john.stultz@linaro.org>, Mark Salyzyn <salyzyn@android.com>, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm/vdso/Makefile b/arch/arm/vdso/Makefile index 59a8fa7b8a3b..1ce912ab47cc 100644 --- a/arch/arm/vdso/Makefile +++ b/arch/arm/vdso/Makefile @@ -26,8 +26,11 @@ CFLAGS_REMOVE_vdso.o = -pg CFLAGS_REMOVE_vgettimeofday.o = -pg -Os CFLAGS_vgettimeofday.o = -O2 -# Disable gcov profiling for VDSO code +# Disable gcov, kasan, ubsan and kcov profiling for VDSO code GCOV_PROFILE := n +KASAN_SANITIZE := n +UBSAN_SANITIZE := n +KCOV_INSTRUMENT := n # Force dependency $(obj)/vdso.o : $(obj)/vdso.so
Make sure kasan and ubsan profiling, and kcov instrumentation, is turned off for VDSO code. Signed-off-by: Mark Salyzyn <salyzyn@android.com> Cc: James Morse <james.morse@arm.com> Cc: Russell King <linux@armlinux.org.uk> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Dmitry Safonov <dsafonov@virtuozzo.com> Cc: John Stultz <john.stultz@linaro.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Laura Abbott <labbott@redhat.com> Cc: Kees Cook <keescook@chromium.org> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Andy Gross <andy.gross@linaro.org> Cc: Kevin Brodsky <kevin.brodsky@arm.com> Cc: Andrew Pinski <apinski@cavium.com> Cc: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org v2: - Added this to the split up of first CL, based on comments in second CL v3: - rebase (unchanged) --- arch/arm/vdso/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)