Re: [PATCH] arm64: tlb: fix ARM64_TLB_RANGE with LLVM's integrated assembler

2020-08-06 Thread Sami Tolvanen
On Thu, Aug 06, 2020 at 01:01:09PM +0100, Catalin Marinas wrote: > On Wed, Aug 05, 2020 at 11:19:20AM -0700, Sami Tolvanen wrote: > > diff --git a/arch/arm64/include/asm/tlbflush.h > > b/arch/arm64/include/asm/tlbflush.h > > index d493174415db..66c2aab5e9cb 100644 > > ---

Re: [PATCH] arm64: tlb: fix ARM64_TLB_RANGE with LLVM's integrated assembler

2020-08-06 Thread Catalin Marinas
On Thu, Aug 06, 2020 at 03:17:40PM +0800, Zhenyu Ye wrote: > On 2020/8/6 2:19, 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

Re: [PATCH] arm64: tlb: fix ARM64_TLB_RANGE with LLVM's integrated assembler

2020-08-06 Thread Catalin Marinas
On Wed, Aug 05, 2020 at 11:19:20AM -0700, Sami Tolvanen wrote: > diff --git a/arch/arm64/include/asm/tlbflush.h > b/arch/arm64/include/asm/tlbflush.h > index d493174415db..66c2aab5e9cb 100644 > --- a/arch/arm64/include/asm/tlbflush.h > +++ b/arch/arm64/include/asm/tlbflush.h > @@ -16,6 +16,16 @@

Re: [PATCH] arm64: tlb: fix ARM64_TLB_RANGE with LLVM's integrated assembler

2020-08-06 Thread Catalin Marinas
On Wed, Aug 05, 2020 at 12:15:54PM -0700, Nick Desaulniers wrote: > On Wed, Aug 5, 2020 at 11:19 AM 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

Re: [PATCH] arm64: tlb: fix ARM64_TLB_RANGE with LLVM's integrated assembler

2020-08-06 Thread Zhenyu Ye
Hi, On 2020/8/6 2:19, 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. > I have looked

Re: [PATCH] arm64: tlb: fix ARM64_TLB_RANGE with LLVM's integrated assembler

2020-08-05 Thread Nick Desaulniers
On Wed, Aug 5, 2020 at 11:19 AM 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. > > As