RFC ARM: assembler: Add uniform assembler framework
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] ARM: assembler: Add uniform assembler framework
Quoted 15 lines · Russell King - ARM Linux
Quoted 14 lines · Dave Martin
Are you still interested in this series?
I have a workaround for the above now, but it's not pretty -- I seem to have opened a can of worms here.
We would need something like
#define
EXTENDED_ASM(stuff)asm ( ".include \"macros.inc\"\n\t" stuff ) #defineEXTENDED_VASM(stuff)asm volatile ( ".include \"macros.inc\"\n\t" stuff )...where macros.inc includes some logic to protect against multiple inclusion.
Quoted 7 lines
Quoted 3 lines
This would avoid problems caused by reordering done by the compiler.
I think this can work, but it may be a step too far...
I'm fairly tempted to say: "if it ain't broke, don't fix". AFAIK no one has reported problems here, so lets not hastily try to fix something that will error out if it does go wrong.
OK -- I'll shelve this series for now and we'll see if we can come up with something more localised for the kvm/Xen case.
unified.h may work for now, but I don't want to add anything more along those lines for unless it's definitely correct to do so...
Cheers
---Dave