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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6FD4C433EF for ; Tue, 24 May 2022 14:10:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238089AbiEXOKD (ORCPT ); Tue, 24 May 2022 10:10:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230209AbiEXOKA (ORCPT ); Tue, 24 May 2022 10:10:00 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 745B622BD9; Tue, 24 May 2022 07:09:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2C35CB818F8; Tue, 24 May 2022 14:09:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23EDFC385AA; Tue, 24 May 2022 14:09:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653401396; bh=JSvnpXphnJVhQGLmr4fRzu2m32BHhsihRMGPZ44KA/0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pxv/k92VTewMWk1kEI3FhNrWFC+/fjrBwAr6w2jhhvYpFmn1xHQx36moo5NORa/Qa mSx9qx1yw/VoprUhnfCHuzpfBR4uNnGbWKefyOQtjRpTi/eC3z/q7eM5whgrFne+tz DLv5fwgLRMZlCdxZJm7mStTZa5zNxnDe6ZxPpC2HI1HzOW3qXptQkQWemtSokkyj4B C4zCbsFdAj60aWqcJP8Upvsug9yh6K4yDU9J5+FFAgvulN34YO3TnYXUCAOFBP3+3P njyoAu1jivnufeNgrDf39SIkrpvYUVgAfl+i4A0qKUra0mQW175RfczXJrNKWo4O+U I1N2xAbQEE8FA== Date: Tue, 24 May 2022 15:09:49 +0100 From: Mark Brown To: madvenka@linux.microsoft.com Cc: jpoimboe@redhat.com, peterz@infradead.org, chenzhongjin@huawei.com, mark.rutland@arm.com, nobuta.keiya@fujitsu.com, sjitindarsingh@gmail.com, catalin.marinas@arm.com, will@kernel.org, jamorris@linux.microsoft.com, linux-arm-kernel@lists.infradead.org, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH v2 09/20] objtool: arm64: Implement command to invoke the decoder Message-ID: References: <20220524001637.1707472-1-madvenka@linux.microsoft.com> <20220524001637.1707472-10-madvenka@linux.microsoft.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XOjh9GBsKRkCZwof" Content-Disposition: inline In-Reply-To: <20220524001637.1707472-10-madvenka@linux.microsoft.com> X-Cookie: A man's best friend is his dogma. Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --XOjh9GBsKRkCZwof Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 23, 2022 at 07:16:26PM -0500, madvenka@linux.microsoft.com wrot= e: > From: "Madhavan T. Venkataraman" >=20 > Implement a built-in command called cmd_fpv() that can be invoked as > follows: >=20 > objtool fpv generate file.o >=20 > The built-in command invokes decode_instructions() to walk each function > and decode the instructions of the function. In commit b51277eb9775ce91 ("objtool: Ditch subcommands") Josh removed subcommands so this interface is going to need a rethink. --XOjh9GBsKRkCZwof Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmKM5y0ACgkQJNaLcl1U h9BLywf8DgDILXDJ1Omp3W4aQd53XxP43eT/TCF/QNejM1EVAPhUHwuRYgkvHZgG bICv+JnXHRCGs1okzLhhCnfBbLYzF5pe5IOO6Pd8hX42JXryThS0S30ozNfiAD4Z 2fqxPwbDWbLSuA+DT7rHUpI3ejB+yKlErsuDyUDwIEnOOQdK/jf+TnX6/xhrkS7L ei584kKqsXgq8sXLC2A8DS3Bw2bUXdnWrFf1+tKjztt4LSylTe9pJij1AsouZLlV CRj2yNRMvjz7ybRyd9IFJFE8EKMfuYoX0Q2nOLlNEn1+8JYqPRWZdDHwhfPDwIOa itEUQIjjN8Dtlr6Xl5lk+3+W4U3mKg== =Xi99 -----END PGP SIGNATURE----- --XOjh9GBsKRkCZwof-- 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 11D16C433F5 for ; Tue, 24 May 2022 14:11:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=QEq8C55KeTjbSWLt5OkG8dszwKG6zio9ANJ5/zzL99U=; b=q4Oitr8ZnIuJc1gy4Q9SgXwwxz hfhDbn6AXJKQ3GkF9cglIw6N7b+4t7nI4RNkVOQtp6ij4mubcsN5z0x05VUL13/M6nWLqpEJ5GJ0s 1Lyf0/uxF71+Gk/ahNYcClUi3c536UP0uSxFGLUwAlA3STl6hrs+9Lfc3OHHNZQL5JMMHC4zfeDgl Ym621sXUbGXmqdVAyUfLlv4sBuVJ0B8ngmaa1WutfeL4OZY0LgJ4q/HFoz29GqkmHkeBTrtAt4GpF c5q1+R0VAFEfW3HVOge10HNWDtLWWz2qAGz64eWHTxAOpWoZVqno0OwSVqj9HO9TFfuMuvgKj/SOU 71FYVVDg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ntVEY-008DbP-In; Tue, 24 May 2022 14:10:02 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ntVEV-008DaU-O1 for linux-arm-kernel@lists.infradead.org; Tue, 24 May 2022 14:10:01 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3194BB815FC; Tue, 24 May 2022 14:09:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23EDFC385AA; Tue, 24 May 2022 14:09:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653401396; bh=JSvnpXphnJVhQGLmr4fRzu2m32BHhsihRMGPZ44KA/0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pxv/k92VTewMWk1kEI3FhNrWFC+/fjrBwAr6w2jhhvYpFmn1xHQx36moo5NORa/Qa mSx9qx1yw/VoprUhnfCHuzpfBR4uNnGbWKefyOQtjRpTi/eC3z/q7eM5whgrFne+tz DLv5fwgLRMZlCdxZJm7mStTZa5zNxnDe6ZxPpC2HI1HzOW3qXptQkQWemtSokkyj4B C4zCbsFdAj60aWqcJP8Upvsug9yh6K4yDU9J5+FFAgvulN34YO3TnYXUCAOFBP3+3P njyoAu1jivnufeNgrDf39SIkrpvYUVgAfl+i4A0qKUra0mQW175RfczXJrNKWo4O+U I1N2xAbQEE8FA== Date: Tue, 24 May 2022 15:09:49 +0100 From: Mark Brown To: madvenka@linux.microsoft.com Cc: jpoimboe@redhat.com, peterz@infradead.org, chenzhongjin@huawei.com, mark.rutland@arm.com, nobuta.keiya@fujitsu.com, sjitindarsingh@gmail.com, catalin.marinas@arm.com, will@kernel.org, jamorris@linux.microsoft.com, linux-arm-kernel@lists.infradead.org, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH v2 09/20] objtool: arm64: Implement command to invoke the decoder Message-ID: References: <20220524001637.1707472-1-madvenka@linux.microsoft.com> <20220524001637.1707472-10-madvenka@linux.microsoft.com> MIME-Version: 1.0 In-Reply-To: <20220524001637.1707472-10-madvenka@linux.microsoft.com> X-Cookie: A man's best friend is his dogma. X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220524_070959_965573_19B05A53 X-CRM114-Status: GOOD ( 11.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0530248357259639501==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============0530248357259639501== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XOjh9GBsKRkCZwof" Content-Disposition: inline --XOjh9GBsKRkCZwof Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 23, 2022 at 07:16:26PM -0500, madvenka@linux.microsoft.com wrot= e: > From: "Madhavan T. Venkataraman" >=20 > Implement a built-in command called cmd_fpv() that can be invoked as > follows: >=20 > objtool fpv generate file.o >=20 > The built-in command invokes decode_instructions() to walk each function > and decode the instructions of the function. In commit b51277eb9775ce91 ("objtool: Ditch subcommands") Josh removed subcommands so this interface is going to need a rethink. --XOjh9GBsKRkCZwof Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmKM5y0ACgkQJNaLcl1U h9BLywf8DgDILXDJ1Omp3W4aQd53XxP43eT/TCF/QNejM1EVAPhUHwuRYgkvHZgG bICv+JnXHRCGs1okzLhhCnfBbLYzF5pe5IOO6Pd8hX42JXryThS0S30ozNfiAD4Z 2fqxPwbDWbLSuA+DT7rHUpI3ejB+yKlErsuDyUDwIEnOOQdK/jf+TnX6/xhrkS7L ei584kKqsXgq8sXLC2A8DS3Bw2bUXdnWrFf1+tKjztt4LSylTe9pJij1AsouZLlV CRj2yNRMvjz7ybRyd9IFJFE8EKMfuYoX0Q2nOLlNEn1+8JYqPRWZdDHwhfPDwIOa itEUQIjjN8Dtlr6Xl5lk+3+W4U3mKg== =Xi99 -----END PGP SIGNATURE----- --XOjh9GBsKRkCZwof-- --===============0530248357259639501== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============0530248357259639501==--