Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1425187imm; Tue, 3 Jul 2018 10:52:50 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKg8JZAdv8Eein8u6BAKBcSiMTJNRsW2W9GdaCOCtX7dyyiPgoma4XuHhWj0VFZ9Oey5KZs X-Received: by 2002:a17:902:b946:: with SMTP id h6-v6mr30246784pls.1.1530640370672; Tue, 03 Jul 2018 10:52:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530640370; cv=none; d=google.com; s=arc-20160816; b=mO64p19jJnMtqDnDJPbmpTnxYVusLC+/QH3cVbxNk9umu7CJYcojtAQCGEPqbhQVBz Ns8vrS3JTH15Q59109pG6Y6ON4lbGR7VDILN7bvrgSWG71rhnlTtoxl4wZtsLMBExntR C6toqcMFi/F9UmRKopUSPtua87k2eQjoeGH+cOcXn8SqZ6tSTsZdjBdM48V8VQ5dwZx/ gXJpI5X5aJCxwIgjcCVM5KsgIDXZpKr02xAWnw9D9hgRUnj0BXikBKp28UvDNtA1uujX 4jNJXDtuy/GMnSrXDwbk3YE5tffz5lAmdyt25lLmS6FH9csBjFllDvh9Mf2fr38kDaaw wNqQ== 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:arc-authentication-results; bh=I1LbWqS8wY9Ifa8ngXJRg/KG8uqIEK9Iye4KZzq3suA=; b=Qhgq7Hq88pEs8oYhzJrwozCoAf20Zr6TPrYrJL6A9rplNc36ElWpxT7GLbhQoLxyIi wO6dyU+yhBb3nPRWXzl8lxJzr3TasCoAsf7aEta8ioyNEiAAswwcCqBU2yWGXQAg7GVM RJkzGXdXdEWIvjPqRFMeyBvau/1YD10gTg7rnHFwD1CPmwQCDZNs/HQtLhiH6OKcgatv TPS1+ezh5isH3jKbUSjrdqmEMuqBtPHXwmkDmo3YPvbHQHTC6s4mPGQV0VsZuWvYdrcr lTFrg8WnFctTj9aEeE7aBc3LFW2V+3XaqD5czkPwGEh44Ljn5UcPNGQJrXJRe1wZrksH /SrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=I0ESZNNH; 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 d1-v6si1653580pln.471.2018.07.03.10.52.36; Tue, 03 Jul 2018 10:52:50 -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; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=I0ESZNNH; 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 S934351AbeGCRvw (ORCPT + 99 others); Tue, 3 Jul 2018 13:51:52 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:36039 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933569AbeGCRvv (ORCPT ); Tue, 3 Jul 2018 13:51:51 -0400 Received: by mail-lf0-f67.google.com with SMTP id n24-v6so2303812lfh.3 for ; Tue, 03 Jul 2018 10:51:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=I1LbWqS8wY9Ifa8ngXJRg/KG8uqIEK9Iye4KZzq3suA=; b=I0ESZNNHBnkkub6OaRukXUXM/vFV8CRKEOQr4nORmmlFI0DXIJqvvLikVVgPMbK0ok 1aAlu79S0ts8Hq26N0dACALn8MsauQB+zAQ/x6RzSmegE0XtKhmGni8T9afNw1TIgnEc n2/KVgt34jQYSqRIf8ipM7xaz2Gcu4mEg9Vo9RcdTQz2DHsJyuexB4FonuQJQcsGHAQ2 l9QMRSNy2+5tkUodzKNiKM48mciQcnKXdFTqi/UDpOPev/srbnooZeLchC1fyevntezD 0M2F6ux3a8TMPmle2t1XyntYbjkEWk3Svq+giBppcxIitc+lpyCX/x5lZDYIkYKkDNKd wcGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=I1LbWqS8wY9Ifa8ngXJRg/KG8uqIEK9Iye4KZzq3suA=; b=LP3TW0955DDmMUaP9Jz07RvZD8Zjma+1y6t4VKYgjJltduVUyPZyg5n/j0ifAHOUCU UCvyEb2vYPy1F+rzQpb7PPJW1/hZ/BX37kjwa+B5JRsYG7LBvzmnRMXs5RFd0G8Zbst+ apnZAzXlrwQygqUO0LgmPOTO+wXcCF0tY1eO/z2tzKyhUJJ/aq8Ke+1VPhZ2rLN2hDz9 5zEU+a8RNEV0lpbeWtl2q0cHFOTXtyK8NphWsSJGjh/UtbN/h7jHUA6yOsVht/QMMoU0 2LXjaw6n9LsuFuepKv4DLUAJVNC/DCzzA3aAcZeQuRMkm5SArmUa9usXQNjT1oZX6pJZ 0TgQ== X-Gm-Message-State: APt69E3rL729IDrtS540DEUAbTa2AC/l8EFdnuCnyw7HDMt4gEHlxMSm YJebttvg0yq5GnQrZ2M/PZpYug== X-Received: by 2002:a19:73c9:: with SMTP id h70-v6mr14247310lfk.61.1530640310223; Tue, 03 Jul 2018 10:51:50 -0700 (PDT) Received: from localhost (h85-30-9-151.cust.se.alltele.net. [85.30.9.151]) by smtp.gmail.com with ESMTPSA id y21-v6sm258431ljc.67.2018.07.03.10.51.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Jul 2018 10:51:48 -0700 (PDT) Date: Tue, 3 Jul 2018 10:51:36 -0700 From: Olof Johansson To: Arnd Bergmann Cc: Russell King , Mark Rutland , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Andrew Morton , Dmitry Vyukov Subject: Re: [PATCH] ARM: disable KCOV for trusted foundations code Message-ID: <20180703175136.vfx2nap7dsv5zen5@localhost> References: <20180529103636.1535457-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180529103636.1535457-1-arnd@arndb.de> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 29, 2018 at 12:36:26PM +0200, Arnd Bergmann wrote: > The ARM trusted foundations code is currently broken in linux-next > when CONFIG_KCOV_INSTRUMENT_ALL is set: > > /tmp/ccHdQsCI.s: Assembler messages: > /tmp/ccHdQsCI.s:37: Error: .err encountered > /tmp/ccHdQsCI.s:38: Error: .err encountered > /tmp/ccHdQsCI.s:39: Error: .err encountered > scripts/Makefile.build:311: recipe for target 'arch/arm/firmware/trusted_foundations.o' failed > > I could not find a function attribute that lets me disable > -fsanitize-coverage=trace-pc for just one function, so this > turns it off for the entire file instead. > > Fixes: mmotm ("arm: port KCOV to arm") > Cc: Dmitry Vyukov > Cc: Mark Rutland > Cc: Andrew Morton > Signed-off-by: Arnd Bergmann Applied to arm-soc fixes branch for v4.18. -Olof