Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp12414rdb; Sun, 21 Jan 2024 15:12:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IHfypqIFX9pIF51+0mn5f6SIPJH+takUPEeO49tSuwl+AmymMEZeQdKa/LGvBt6Jmwc+t7x X-Received: by 2002:a05:622a:1046:b0:42a:3fb0:fdb5 with SMTP id f6-20020a05622a104600b0042a3fb0fdb5mr1226254qte.38.1705878720249; Sun, 21 Jan 2024 15:12:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705878720; cv=pass; d=google.com; s=arc-20160816; b=EuNkbsROZi1SDmHA9A1E8x5pwt0WwhDcZmnS4P0HQ5Nz/oAVXZSEbkre29tL6PsQbD oQDTR+Qk+CxOsP9qLpepWci5Jxlmbqq+3vce8tQrzu1OwF7uPD/UiVhlHOv/g7fWk/XT 0FjBYTBXgfVrrGtGYZnnqzt6B+X4OdYfY+UcA0fMMtfhu95h9JaXVVlnlcTzybgi2u5b 2UwaVe/St7VY1X8fE5PKA+zvGTFWj1hqivcK7rnQRyCCrXRl9/cJcDOAm06CgQnE9/xz ekRsm1I1lAq8AOUnfizm4Ak/AaXVQEyOwRWYMq20Tu95XU+j3HwHsbPktyo5fNQxLh0v LCeQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:references:in-reply-to :user-agent:subject:cc:to:from:date:dkim-signature:dkim-filter; bh=xtKNHfaOPZM8B+XMFsJSVlRmlVPBJeOVPXr8Y53vGyY=; fh=G4eNp3llfSxltTQPQ2zDKJgDHdBb6522+TNeCXNYv28=; b=VW8Uiaz26K/sFfcGNf4J6eLgNb0iLVbhGA8ZSyHFx/sbdy/nkxj/NzJxP7xjMLUpzw m0yRjgog3dvcdl1BdH81Gy5S9+NjHDCKNeJCAsfCV8dGuu4bZ3e1JA8hSB7V60WTEvOv kJHFztBwzPDDj5qDoXt1BT9nuRIvA4VSXfrVhGtSBJR5VQj3OzX0tjXSOCkcCMCqCbO8 jX8B7NnuFaGunDwnWCsUW6TbiCvTxArMJxJ9dairsgQ076263YniA1A2iLzOUJkZoFEm FIIbiZcfiOWhD9bRqt2YTq/mTyfykoVqUduJ1RJo2TBh684gp+meCO4/IM+U8NhQ9n6k hzTQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@zytor.com header.s=2024011201 header.b=HLMxdGSh; arc=pass (i=1 spf=pass spfdomain=zytor.com dmarc=pass fromdomain=zytor.com); spf=pass (google.com: domain of linux-kernel+bounces-32220-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32220-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zytor.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 1-20020ac84e81000000b0042a3f505199si979112qtp.108.2024.01.21.15.12.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 15:12:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32220-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=fail header.i=@zytor.com header.s=2024011201 header.b=HLMxdGSh; arc=pass (i=1 spf=pass spfdomain=zytor.com dmarc=pass fromdomain=zytor.com); spf=pass (google.com: domain of linux-kernel+bounces-32220-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32220-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=zytor.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 037CB1C20B4C for ; Sun, 21 Jan 2024 23:12:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF13C38FB3; Sun, 21 Jan 2024 23:11:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b="HLMxdGSh" Received: from mail.zytor.com (terminus.zytor.com [198.137.202.136]) (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 0AA94381A5; Sun, 21 Jan 2024 23:11:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.136 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705878712; cv=none; b=Agyu/qca7mMV3Lirou0H837n66PetvXJVlD0COrXeWJhflVuhbURlTHMzRZeiUxtv+rEqN0pcF5wKvi1ZIk/bTXHaE+mXMGDOFzDETanR6WtGDsQJl21sYCVM1AxmlX/dormeGhpmOaoo8wa/SbkkCAPk8S9jfgtfEdZEabqbUY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705878712; c=relaxed/simple; bh=MG81dEEUzlOJawIbbK26hTj7WRthmWC2wXOpQJBTIg8=; h=Date:From:To:CC:Subject:In-Reply-To:References:Message-ID: MIME-Version:Content-Type; b=f8UoGlYBG63+f7ml9i87GMGXg+GosLn1bZMzk966/d2Awr+D91JyB24+WOXqM/ZwEoTCc+evugElPtk5Pa5obJkENMrVKp+AW+Kgln26wZQLBImyXm2Xi+Qg+D+0z4xMNVzfeKGNQIo1QTbhSFuBr47/6gmPoyrGg0anc7X3bdI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com; spf=pass smtp.mailfrom=zytor.com; dkim=fail (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b=HLMxdGSh reason="signature verification failed"; arc=none smtp.client-ip=198.137.202.136 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zytor.com Received: from [127.0.0.1] ([76.133.66.138]) (authenticated bits=0) by mail.zytor.com (8.17.2/8.17.1) with ESMTPSA id 40LNB0Bm2227686 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Sun, 21 Jan 2024 15:11:02 -0800 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 40LNB0Bm2227686 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2024011201; t=1705878662; bh=xtKNHfaOPZM8B+XMFsJSVlRmlVPBJeOVPXr8Y53vGyY=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=HLMxdGShJOcsDPORWAgN1dFTPTiE1yWVQs/5XgAe7+YHboB2WXgX022SCGNwibjXX 6kWXyKzkf7lzjZiW41q/dbFUJHCLHgd5X7eE6hVSZX0KpVpy0inabv28OEwYhO+ecU sFuaNJ1bmOZIKajXwBAdZ7DxYs7cqzB/fIRtpoh+sCA2i1HUbehmsXF95NsXw6TqJa 0CeAkDXSqQLc8l2nY9/rbGAv1xlAk6QhFC3pnUYuzhubIUeJKG/uWz9CpLcQtUUr6c hRDQhlCSwIdRXgv6p/6Gcj9y/eU0+hRkOtzTu5DEHNjb0Gi7ARC7XUJeC/a2rvkL38 6BdkfMVYx7Hpg== Date: Sun, 21 Jan 2024 15:10:59 -0800 From: "H. Peter Anvin" To: David Laight , "'Linus Torvalds'" CC: Thorsten Glaser , Peter Zijlstra , "x86@kernel.org" , "rostedt@goodmis.org" , "linux-kernel@vger.kernel.org" , "linux-toolchains@vger.kernel.org" , "jpoimboe@redhat.com" , "alexei.starovoitov@gmail.com" , "mhiramat@kernel.org" Subject: RE: [PATCH 1/2] x86: Remove dynamic NOP selection User-Agent: K-9 Mail for Android In-Reply-To: References: <20210312113253.305040674@infradead.org> <20210312115749.065275711@infradead.org> Message-ID: <38AEAC02-2507-4997-9A4C-52CA9C48AE5D@zytor.com> 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=utf-8 Content-Transfer-Encoding: quoted-printable On January 21, 2024 2:36:32 PM PST, David Laight wrote: >From: Linus Torvalds >> Sent: 20 January 2024 17:00 >=2E=2E=2E >> And if I add "-r" to get relocation info, I get >>=20 >> call >> R_X86_64_PLT32 rethook_flush_task-0x4 >>=20 >> which shows the raw relocation data, but with truly mind-bogglingly >> horrendous syntax=2E >>=20 >> Is there some sane tool that just does the sane thing and shows this as >>=20 >> call rethook_flush_task >>=20 >> which is what the thing actually means? > >While you are re-writing a disassembler, remember to print the >contents of string when you get a reference into =2Erodata=2Estr :-) > >How many times have you had to dig out a printf format string in >order to locate the source associated with some object code? >It is so much easier if the disassembler does it for you=2E > > David > >- >Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1= 1PT, UK >Registration No: 1397386 (Wales) > Probably don't even need to rewrite the disassembler=2E Postprocessing is = probably sufficient=2E