Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp549975ybt; Sat, 13 Jun 2020 12:56:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyoYBxVnpFyV5GJW/Ma/BO8lnLvsZpYOVXTD4TZGgV9Qd7eBvOB4ecWr6PEW/5cCxy9IPXp X-Received: by 2002:aa7:de08:: with SMTP id h8mr16832765edv.164.1592078191608; Sat, 13 Jun 2020 12:56:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592078191; cv=none; d=google.com; s=arc-20160816; b=JzsEDnjgMO0m2N0gacjHJw8L977Boao4ARU/3qIwZVqnC5mB3pKLJBr6ckAyB1jcxd NR4GHwPTbG2EKK2veio94o5qAyH8JgMajlQD4BRTboWIO53fyuGlt+pCjeAlTHB4CZI2 J1tlW/w4mHPrwD2ptIGHZSimhB5YCM7Mk8e2HPKFyv6a4am6cguXBh67aJ5XKP7ABaHf KXgFSeWp58q3W/+j+hdU7yyFvbQJEMfbyv8tTTD1QJBxRtMEGcJQRBsdlsrWY6HGNQ4m yhJHZldgilScNuM8CpQtDhPBL7TYiAFZKjRSQWkCVt4sCVNA6RvPVLPqaetFgyrYSdF6 4h4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date; bh=/WLYevyLHRpHx1RO7As9ry5DiBN0DluzWiRzdNCOgBE=; b=k7QqnRodRiVk+jiK0fYHuenkCHqun5JIBIb+8EJO+KU3+LWAtI7NMK7mzeKPrygHBV GqrfJU38GnfQ/7jEQEMomjqGjH/yE4d6nuDkMuu+/l4pUGl9ViQPMuPDr1tTCuDshFdU /N+EJL1WaGI1xwacR4dCdljrIc2+Dt58FvSvlgTmULA0iToEGnMlWVEP3Ykaoe6J2nt+ oqgUPyImLnnExJR/0e3D7jY1ny4OHsuzQQG5TUCN4Q67RkDf9FfKGXDs2k1RCuoVeeBd QmAaTHMLZSibHpKZGwF83q9wcTMKF58Soc/htlYFrv68at8sAtLQt/tDfnDE85ZnmOIe eIrg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vmware.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pg21si6170772ejb.349.2020.06.13.12.56.08; Sat, 13 Jun 2020 12:56:31 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vmware.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726517AbgFMTyQ (ORCPT + 99 others); Sat, 13 Jun 2020 15:54:16 -0400 Received: from ex13-edg-ou-002.vmware.com ([208.91.0.190]:8813 "EHLO EX13-EDG-OU-002.vmware.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726102AbgFMTyP (ORCPT ); Sat, 13 Jun 2020 15:54:15 -0400 Received: from sc9-mailhost3.vmware.com (10.113.161.73) by EX13-EDG-OU-002.vmware.com (10.113.208.156) with Microsoft SMTP Server id 15.0.1156.6; Sat, 13 Jun 2020 12:54:10 -0700 Received: from localhost (unknown [10.200.193.92]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id 6E658400BB; Sat, 13 Jun 2020 12:54:15 -0700 (PDT) Date: Sat, 13 Jun 2020 12:54:15 -0700 From: Matt Helsley To: Peter Zijlstra CC: Josh Poimboeuf , , , , , , , , , Subject: Re: [RFC][PATCH 0/3] objtool: KCOV vs noinstr Message-ID: <20200613195415.GC25598@rlwimi.vmware.com> Mail-Followup-To: Matt Helsley , Peter Zijlstra , Josh Poimboeuf , linux-kernel@vger.kernel.org, x86@kernel.org, dvyukov@google.com, elver@google.com, andreyknvl@google.com, mark.rutland@arm.com, rostedt@goodmis.org, jthierry@redhat.com, mbenes@suse.cz References: <20200612143034.933422660@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20200612143034.933422660@infradead.org> Received-SPF: None (EX13-EDG-OU-002.vmware.com: mhelsley@vmware.com does not designate permitted sender hosts) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 12, 2020 at 04:30:34PM +0200, Peter Zijlstra wrote: > Hi All, > > These patches go on top of objtool/core, although possibly we need them earlier. > > In order to solve the KCOV-vs-noinstr situation, we need objtool to rewrite > calls to __sanitizer_cov_*() into NOPs, similar to what recordmcount does. > > I'm hoping the pending objtool-recordmcount patches can also reuse some of this. This sounds great to me -- I'll have a look through your series and will try rebasing my work on this. Cheers, -Matt Helsley