[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201005124141.6a523ef633248a1eefd724d3@kernel.org>
Date: Mon, 5 Oct 2020 12:41:41 +0900
From: Masami Hiramatsu <mhiramat@...nel.org>
To: Josh Poimboeuf <jpoimboe@...hat.com>
Cc: Vasily Gorbik <gor@...ux.ibm.com>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Masami Hiramatsu <mhiramat@...nel.org>,
David Laight <David.Laight@...lab.com>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
x86@...nel.org, "H. Peter Anvin" <hpa@...or.com>,
Miroslav Benes <mbenes@...e.cz>,
Alexandre Chartre <alexandre.chartre@...cle.com>,
Julien Thierry <jthierry@...hat.com>,
linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH v3 2/4] objtool: x86 instruction decoder and big
endian cross compiles
On Fri, 2 Oct 2020 10:18:41 -0500
Josh Poimboeuf <jpoimboe@...hat.com> wrote:
> On Thu, Oct 01, 2020 at 12:17:25AM +0200, Vasily Gorbik wrote:
> > From: Martin Schwidefsky <schwidefsky@...ibm.com>
> >
> > Currently objtool seems to be the only tool from build tools needed
> > which breaks x86 cross compilation on big endian systems. Make the x86
> > instruction decoder of the objtool usable on big endian machines.
> >
> > Signed-off-by: Martin Schwidefsky <schwidefsky@...ibm.com>
> > Co-developed-by: Vasily Gorbik <gor@...ux.ibm.com>
> > Signed-off-by: Vasily Gorbik <gor@...ux.ibm.com>
>
> Since this changes the decoder (which is shared with the kernel), please
> prefix the subject with "x86/insn:" instead of "objtool".
Thanks for pointing it.
>
> This patch is a bit ugly, but I don't necessarily have a better idea.
>
> Masami?
Yeah, agreed. Maybe we can split that part in different header, but
that makes it more ugly. And code itself looks good to me.
(I like insn_field_set() idea :) )
Acked-by: Masami Hiramatsu <mhiramat@...nel.org>
Thank you!
> --
> Josh
>
--
Masami Hiramatsu <mhiramat@...nel.org>
Powered by blists - more mailing lists