From: Will Deacon <will.deacon@arm.com>
To: Marc Zyngier <marc.zyngier@arm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] scripts/decodecode: Set ARCH when running natively on arm/arm64
Date: Fri, 23 Nov 2018 18:31:32 +0000 [thread overview]
Message-ID: <20181123183132.GC21183@arm.com> (raw)
In-Reply-To: <20181122121440.74913-2-marc.zyngier@arm.com>
On Thu, Nov 22, 2018 at 12:14:39PM +0000, Marc Zyngier wrote:
> When running decodecode natively on arm64, ARCH is likely not to be set,
> and we end-up with .4byte instead of .inst when generating the disassembly.
>
> Similar effects would occur if running natively on a 32bit ARM platform,
> although that's even less popular.
>
> A simple workaround is to populate ARCH when it is not set and that we're
> running on an arm/arm64 system.
>
> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
> ---
> scripts/decodecode | 7 +++++++
> 1 file changed, 7 insertions(+)
Acked-by: Will Deacon <will.deacon@arm.com>
Will
next prev parent reply other threads:[~2018-11-23 18:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-22 12:14 [PATCH 0/2] scripts/decode{code,_stacktrace} fixes Marc Zyngier
2018-11-22 12:14 ` [PATCH 1/2] scripts/decodecode: Set ARCH when running natively on arm/arm64 Marc Zyngier
2018-11-23 18:31 ` Will Deacon [this message]
2018-11-22 12:14 ` [PATCH 2/2] scripts/decode_stacktrace: Only strip base path when a prefix of the path Marc Zyngier
2018-11-22 13:11 ` Mark Rutland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181123183132.GC21183@arm.com \
--to=will.deacon@arm.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marc.zyngier@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.