From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2F98DC433F5 for ; Fri, 3 Sep 2021 09:54:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 124E460FC4 for ; Fri, 3 Sep 2021 09:54:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348983AbhICJzE (ORCPT ); Fri, 3 Sep 2021 05:55:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348948AbhICJy7 (ORCPT ); Fri, 3 Sep 2021 05:54:59 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23637C061575 for ; Fri, 3 Sep 2021 02:53:56 -0700 (PDT) Received: from zn.tnic (p200300ec2f0d5800e0c92975d32b0bec.dip0.t-ipconnect.de [IPv6:2003:ec:2f0d:5800:e0c9:2975:d32b:bec]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 416BE1EC059D; Fri, 3 Sep 2021 11:53:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1630662830; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=l2Az5Dey31zXva/yBZao+vifIvNusQrJfvr7LRYgTeA=; b=crqwpJeEjwjJvAQD/n02HYstWIeCmVzf0E3ELdFjTDXDCkIsaL8SENqk6CM4xeBx0j8MIH Uw9VehcTsp+WJF1FTSLMZPx+uyt2q9AF/O3Q+qcJAPPoaj1XaU+lGdeqBcYqoVsMfit5mj gm58RUvxZY7juHxS6QlZWSRbMnhL+MI= Date: Fri, 3 Sep 2021 11:54:29 +0200 From: Borislav Petkov To: Peter Zijlstra Cc: Borislav Petkov , kernel test robot , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, x86-ml Subject: Re: vmlinux.o: warning: objtool: mce_wrmsrl.constprop.0()+0x6b: call to __sanitizer_cov_trace_pc() leaves .noinstr.text section Message-ID: References: <202108221334.TiXxFSTZ-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 03, 2021 at 11:23:36AM +0200, Peter Zijlstra wrote: > So I was wondering why they'd show up in any case, since objtool is > supposed to NOP them, but then I remembered I still have this patch > pending: > > https://lore.kernel.org/r/20210624095147.818783799@infradead.org > > Which I suspect will cure that for older GCC. Yah, works with gcc-10 here too. Tested-by: Borislav Petkov Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0456769396769628318==" MIME-Version: 1.0 From: Borislav Petkov To: kbuild-all@lists.01.org Subject: Re: vmlinux.o: warning: objtool: mce_wrmsrl.constprop.0()+0x6b: call to __sanitizer_cov_trace_pc() leaves .noinstr.text section Date: Fri, 03 Sep 2021 11:54:29 +0200 Message-ID: In-Reply-To: List-Id: --===============0456769396769628318== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Fri, Sep 03, 2021 at 11:23:36AM +0200, Peter Zijlstra wrote: > So I was wondering why they'd show up in any case, since objtool is > supposed to NOP them, but then I remembered I still have this patch > pending: > = > https://lore.kernel.org/r/20210624095147.818783799(a)infradead.org > = > Which I suspect will cure that for older GCC. Yah, works with gcc-10 here too. Tested-by: Borislav Petkov Thx. -- = Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette --===============0456769396769628318==--