Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1594509ybg; Thu, 4 Jun 2020 13:55:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBcGqSjz5JJYDrAZjw+0r7yYrmY90AU0tDS7uBJBBnJmgUbYAgWSfdnI9uuAftNLBDpOGl X-Received: by 2002:a50:fb92:: with SMTP id e18mr5871845edq.135.1591304134195; Thu, 04 Jun 2020 13:55:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591304134; cv=none; d=google.com; s=arc-20160816; b=YFlsnti88nN6xFrZj0oYn4Uby7X0whgOrspPwJ0Ai7rnR9g2f6RCjyGB2iGVBNUC3W bG1Rhv7TOfjt/s3q22bWiiuCNvli0e1s99j/yw9b4DPdf+5cHqB5SkyyEjuzXj230cDP 6x/p9gGZ3zjXcEuykFIK8ijuWAkLruNHxQFfYiG8oT82HSn8zO1UmHK1feOvQKkgEYtL qNPX1CNDlDuz4kyceJWz8X6K6Zu9TsMu1KvtNusXJ8ETGFyyvlWIC7sjYB8jExmTGVY8 Iif/OlXS7TqD2POdhvcG0i54rj7eGR7iov8aOUrQDvRaWxH0UiiI1ShrSrtbwgXz/xwg S/iA== 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=PiE7DNxO3pqAGslsM8EXoQp6h0xtdTMR2V3mK8r5hpk=; b=tRR9UGsuwh/LdOoY2M+UdW79IukdIfVXCDFO7olousOafIYO8JirSFrstO9qWwJNZu A/3YWld8Q1aP0MjwIK8CRDt2xcTSRi+AqV/UUEKV4juWxbgk2OjD0RFg9PjFnvFlRB3e xUOHZoix+I3/twyJHU+nx52thF4J+83v3qHtBJso0jfXCqTH6PbMRPIhge4uCxn3U3Lt kKhWItZYxTcgt9Rm/HTiD+e61tHIWmm55NStwIKLisRiL2ZQJpXuhyfq13VCDZHdDHOc bs/K5P/dXl5xNb3Dh7UVBBLWWJKCwPXCQII/iqbNKTu9mfp8vPhMVmk/ImhLgr7yW7hg /nhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=rxvICSWi; 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 dk4si2201950ejb.257.2020.06.04.13.55.10; Thu, 04 Jun 2020 13:55:34 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=rxvICSWi; 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 S1730101AbgFDUwd (ORCPT + 99 others); Thu, 4 Jun 2020 16:52:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729588AbgFDUwd (ORCPT ); Thu, 4 Jun 2020 16:52:33 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69F63C08C5C0 for ; Thu, 4 Jun 2020 13:52:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=PiE7DNxO3pqAGslsM8EXoQp6h0xtdTMR2V3mK8r5hpk=; b=rxvICSWikzzfJtOczSxakO0/h8 jqa+P/c9wy9vxdQn073hpbAYoNZhqEoEVk5l+2zd/eWIMJ2fFuW5CWy0BhZSTyewwmu//2yBsPHKp fdAMw9QWB6yu8S+gU9A+2Ge+eTIDlKaeyvboH2JDV25i/ZpoJLpTJaA0KDs13QoM+QrUwxPt9zABd y1W4+HTVDLbkHRF9cVTaF79dPg2DGuiXjDCovx+KuFpv6RLaxzVYQCLtbxKHVggDQV+CbLkoNfY0L uar6HeIJL18rSdPMRGjf1Rc4E4qxVNkJIG9iIGM559qfNlXL4Y5cJd54YNBT/xT9XOxX/MwnrAq6W /Fe1POiQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jgwqb-0002DS-T9; Thu, 04 Jun 2020 20:52:22 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 65A5A9838B9; Thu, 4 Jun 2020 22:52:19 +0200 (CEST) Date: Thu, 4 Jun 2020 22:52:19 +0200 From: Peter Zijlstra To: Marco Elver Cc: Andrey Konovalov , Borislav Petkov , Thomas Gleixner , Ingo Molnar , clang-built-linux , "Paul E . McKenney" , Dmitry Vyukov , Alexander Potapenko , kasan-dev , LKML Subject: Re: [PATCH -tip] kcov: Make runtime functions noinstr-compatible Message-ID: <20200604205219.GZ2483@worktop.programming.kicks-ass.net> References: <20200604095057.259452-1-elver@google.com> <20200604110918.GA2750@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Thu, Jun 04, 2020 at 04:23:38PM +0200, Marco Elver wrote: > Sadly no. 'noinstr' implies 'notrace', but also places the function in > the .noinstr.text section for the purpose of objtool checking. Not only the compile time checking, but also for purpose of runtime exclusion for things like kprobes and hw-breakpoints.