Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7374126rdb; Wed, 3 Jan 2024 13:51:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IFxpFeQDMhh/h/oBwh4IF8aDoYa77/7DXa0jnSyA5cTpR/stRyC3Ud3ia8nIRY/xlRB0bxK X-Received: by 2002:a17:907:778c:b0:a23:4faa:d4e9 with SMTP id ky12-20020a170907778c00b00a234faad4e9mr8113643ejc.21.1704318686989; Wed, 03 Jan 2024 13:51:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704318686; cv=none; d=google.com; s=arc-20160816; b=j+x9Ra2Ep3iTv4K6N5UVSEsKSsKInS2UTlokGOHAEoZum2IUFGbEz5lwFcE3Ju3NIN rjiVH7bK/iztoKlJ9NoASRRz41Wk9cBzCaelLuVQR/imqeMMVF9Nk8UScTxMjI3I+1YE l6B8QxfBF2zlIIyNUR5h3dtN5izy8Vb5TR+KFgChq7ZEOu7GgQES+FZp8eHN2lzOby0N HpBYYmTtBlCVFkrgBW/R8P8zuy+GCynUN6nD7ZTIW8rD2fGQh43vD3pRyNUgtQWie2Bv LGCtYddfR3fpY8yN1uIIyLqCQ/+ZPKq+UKNzFBkCZUq5tpHcyFGQxA/vWI81z2tIblLS YiZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BLsYJCbr5NOFFM1kLQQcCfNUeHI5aPlMbnzRIkpyLjQ=; fh=v/xWoazIYY/W0EpoLm/N3epdBilaxmlwzt3ZsNQTKpE=; b=g0qSOVrteQHkclIJepTtRtpDaCDO3dsr9dU/A45Jbmlg2TcC7lp3C9AzldQvy6zApJ h+DoSY0vt5KvCBKp2Q/9s21bAI+Cxh0g1j/tsxXko/uMyNjArTyJhYlGJnDhHXEGMZBJ bf0cd31u7TDxpqiVHP0AvJM75YwpxZgh7MuEsAIj1Ayj5Y08uuJXasxEJRbwUA+rw3dV ++I4m0GDghuDnYWqSTllGfuI07m0q5QlPTuCmRtWopz4xJM/onCoRtpn8TsysfCXZmzt XHV6ZQ6jBBb1nooKUwzkPkSvoFXbLUwa8WaQHwtbUm6NDRxHLQ5LZm1YZ4dNpOOp0jev k3QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="gz/p9MW9"; spf=pass (google.com: domain of linux-kernel+bounces-16035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id kb2-20020a170907924200b00a26aea18c06si10628821ejb.91.2024.01.03.13.51.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 13:51:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="gz/p9MW9"; spf=pass (google.com: domain of linux-kernel+bounces-16035-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16035-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B19AA1F25D2C for ; Wed, 3 Jan 2024 21:51:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B33D51DA36; Wed, 3 Jan 2024 21:51:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gz/p9MW9" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DCCF11DA2C; Wed, 3 Jan 2024 21:51:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BDA87C433C7; Wed, 3 Jan 2024 21:51:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704318681; bh=wFZCcR/vAARfo3nJl86sOjbtJABriCt7XbbSfUIfxwA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gz/p9MW9Q0Vpcv8sl0kgS8hBMXeFgfHWV/w9eMrWHoapUjSJhAZifONEt1FPQ4iC3 6A1qORhhdEC1msYHv4KRyapQdyJvRVsOfybKBLXMRQPTVZCaYXaDbr3/FgkYmqZ9j5 XkWz7pRZfQemyVNyrnG32u37gBBlsNm02ebERdOihAVjxAJJN3Lmz8AqUN/qEupkZl b7f7+jW0wGlWpmHAkT8xfHVEI8P0OJxAqqFXOlAcI+LUjbAdruTUZHo1AmjhbsiRbu tx3vtx8mg/XzqaHdpEuf9Qpecq+Dk7NmXyT8j4fjLOatnP1kT2GC8GG98FVWfCn9Zs 5f2V2Mrl3OLww== Date: Wed, 3 Jan 2024 14:51:19 -0700 From: Nathan Chancellor To: Borislav Petkov Cc: tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, mhiramat@kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, patches@lists.linux.dev Subject: Re: [PATCH] x86/tools: objdump_reformat.awk: Skip bad instructions from llvm-objdump Message-ID: <20240103215119.GB155391@dev-arch.thelio-3990X> References: <20231205-objdump_reformat-awk-handle-llvm-objdump-bad_expr-v1-1-b4a74f39396f@kernel.org> <20240103181542.GA629234@dev-arch.thelio-3990X> <20240103181852.GDZZWlDJMVvqAZdpfV@fat_crate.local> <20240103205506.GA152662@dev-arch.thelio-3990X> <20240103212616.GGZZXQ+IKGPb+EqVcu@fat_crate.local> <20240103214804.GA155391@dev-arch.thelio-3990X> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240103214804.GA155391@dev-arch.thelio-3990X> On Wed, Jan 03, 2024 at 02:48:09PM -0700, Nathan Chancellor wrote: > On Wed, Jan 03, 2024 at 10:26:16PM +0100, Borislav Petkov wrote: > > On Wed, Jan 03, 2024 at 01:55:06PM -0700, Nathan Chancellor wrote: > > > On Wed, Jan 03, 2024 at 07:18:52PM +0100, Borislav Petkov wrote: > > > > On Wed, Jan 03, 2024 at 11:15:42AM -0700, Nathan Chancellor wrote: > > > > > Ping? I am still seeing this issue. > > > > > > > > Does this need a Fixes tag and needs to go to Linus now or are you fine > > > > with 6.8-rc0? > > > > > > This is only needed due to the recent changes from Sam and myself in > > > x86/build > > > > I don't understand: those three commits seem unrelated to LLVM objdump > > outputting "". > > > > Or are you saying that you've *started* running the insn decoder selftest > > with llvm's objdump and those three commits are addressing differences > > in the output and this outstanding commit is needed too for the bad > > opcode case? > > Prior to commit 5225952d74d4 ("x86/tools: Remove chkobjdump.awk"), the > insn decoder selftest would not actually run with llvm-objdump > altogether because chkobjdump.awk would fail (because it was only > written for GNU objdump). The two commits prior to 5225952d74d4 were > cleaning up differences between the output of each objdump > implementations and this change should have been a part of that work as > well, I just did not build enough configurations to see it. Hopefully > that clears things up. For the record, this explanation really should have been in the commit message of 5225952d74d4 but I guess I was not thinking at the time. Cheers, Nathan