Re: [PATCH v3] arm64: sysreg: make mrs_s and msr_s macros work with Clang and LTO
From: Nick Desaulniers
Date: Tue Apr 16 2019 - 13:34:33 EST
On Tue, Apr 16, 2019 at 10:08 AM Mark Rutland <mark.rutland@xxxxxxx> wrote:
> On Mon, Apr 15, 2019 at 10:22:27AM -0700, Nick Desaulniers wrote:
> > Also, I look forward to this patch for use of Clang's integrated
> > assembler (regardless of LTO). I remember getting frustrated trying
> > to figure out how to resolve this for both assemblers, and I had
> > forgotten this solution existed.
> Is this the only blocker for the integrated assembler?
I don't have a good handle on the number of issues that clang's
integrated assembler has for arm64 kernels, but IIRC last time I
checked I think there were under 10. It's my goal over the next
quarter to investigate and get bugs filed so we know the order of
magnitude of issues. This particular issue was the trickier/trickiest
one. Linaro also recently has added staffing to beef up Clang's
integrated assembler for arm32/arm64.