linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix fallouts from asm/opcodes.h removal
@ 2016-12-03 14:05 Marc Zyngier
  2016-12-03 14:05 ` [PATCH 1/2] arm64: Remove reference to asm/opcodes.h Marc Zyngier
  2016-12-03 14:05 ` [PATCH 2/2] arm64: alternatives: Work around NOP generation with broken assembler Marc Zyngier
  0 siblings, 2 replies; 6+ messages in thread
From: Marc Zyngier @ 2016-12-03 14:05 UTC (permalink / raw)
  To: linux-arm-kernel

Since the asm/opcodes.h file was removed, two bugs have cropped up:

- probes.h contains a reference to asm/opcodes.h that was missed

- An ugly (and alas familiar) bug has reappeared, leading to obscure
  compilation errors when a .inst is part of an alternative and that
  the "auto nop" feature is used to pad the alternative sequence (and
  the whole thing is assembled with an old version of gas). This is
  triggered again now that we generate SET_PSTATE_PAN/UAO using .inst.

The first bug is easy to fix, while the second requires some really
ugly (if limited) surgery using the .fill directive to replace the
"nops" macro.

Marc Zyngier (2):
  arm64: Remove reference to asm/opcodes.h
  arm64: alternatives: Work around NOP generation with broken assembler

 arch/arm64/include/asm/alternative.h | 12 +++++++++++-
 arch/arm64/include/asm/probes.h      |  2 --
 2 files changed, 11 insertions(+), 3 deletions(-)

-- 
2.10.2

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-12-05 11:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-03 14:05 [PATCH 0/2] Fix fallouts from asm/opcodes.h removal Marc Zyngier
2016-12-03 14:05 ` [PATCH 1/2] arm64: Remove reference to asm/opcodes.h Marc Zyngier
2016-12-03 14:05 ` [PATCH 2/2] arm64: alternatives: Work around NOP generation with broken assembler Marc Zyngier
2016-12-05 10:05   ` Will Deacon
2016-12-05 10:58     ` Marc Zyngier
2016-12-05 11:54       ` Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).