Re: [PATCH v2] arm64: use a common .arch preamble for inline assembly

2020-08-28 Thread Catalin Marinas
On Thu, 27 Aug 2020 13:36:08 -0700, Sami Tolvanen wrote: > Commit 7c78f67e9bd9 ("arm64: enable tlbi range instructions") breaks > LLVM's integrated assembler, because -Wa,-march is only passed to > external assemblers and therefore, the new instructions are not enabled > when IAS is used. > >

Re: [PATCH v2] arm64: use a common .arch preamble for inline assembly

2020-08-27 Thread Nathan Chancellor
On Thu, Aug 27, 2020 at 01:36:08PM -0700, Sami Tolvanen wrote: > Commit 7c78f67e9bd9 ("arm64: enable tlbi range instructions") breaks > LLVM's integrated assembler, because -Wa,-march is only passed to > external assemblers and therefore, the new instructions are not enabled > when IAS is used. >

[PATCH v2] arm64: use a common .arch preamble for inline assembly

2020-08-27 Thread Sami Tolvanen
Commit 7c78f67e9bd9 ("arm64: enable tlbi range instructions") breaks LLVM's integrated assembler, because -Wa,-march is only passed to external assemblers and therefore, the new instructions are not enabled when IAS is used. This change adds a common architecture version preamble, which can be