search for: indirect_branch

Displaying 8 results from an estimated 8 matches for "indirect_branch".

2018 Feb 07
3
retpoline mitigation and 6.0
...j80 To build the kernel: PATH=${HOME}/src/clang/build/bin:${PATH} make CC=clang defconfig make CC=clang -j80 The build is a bit noisy right now due to 66f793099a63 ("x86/retpoline: Avoid retpolines for built-in __init functions"), since clang doesn't understand "__attribute__((indirect_branch("keep")))". > > > I can disable the i915 driver, but the "invalid output size for > > constraint '=q'" happens all over the place. Ultimately this means > > that I can not really test a 32-bit build, though it would not build > > anyway...
2018 Feb 07
0
retpoline mitigation and 6.0
...H=${HOME}/src/clang/build/bin:${PATH} > make CC=clang defconfig > make CC=clang -j80 > > The build is a bit noisy right now due to 66f793099a63 ("x86/retpoline: Avoid > retpolines for built-in __init functions"), since clang doesn't understand > "__attribute__((indirect_branch("keep")))". I fixed that (well, worked around it) in my tree. > > > I can disable the i915 driver, but the "invalid output size for > > > constraint '=q'" happens all over the place. Ultimately this means > > > that I can not really test...
2018 Feb 07
0
retpoline mitigation and 6.0
On Wed, 2018-02-07 at 10:11 -0800, Guenter Roeck wrote: > On Wed, Feb 07, 2018 at 10:49:25AM +0000, David Woodhouse wrote: > > Hm, please could we also have the %V asm constraint modifier? That > > allows us to emit calls to the thunks from inline asm using the > > register that the compiler chose for us: > > > >  asm volatile ("call
2018 Feb 07
2
retpoline mitigation and 6.0
On Wed, 2018-02-07 at 21:55 +0000, David Woodhouse via llvm-dev wrote: > Can you take care of filing the tickets for %V0 and "=q" > and attribute__((indirect_branch("keep"))) please? With those fixed, I > think we should be OK again. Here's %V0 support, which makes the hypervisor guest support build. diff --git a/lib/Target/X86/X86AsmPrinter.cpp b/lib/Target/X86/X86AsmPrinter.cpp index 4da7d59df46..f498c098288 100644 --- a/lib/Target/X86/X86...
2018 Feb 07
2
retpoline mitigation and 6.0
...hunk_ecx __x86_indirect_thunk_edx > I've added __x86_indirect_thunk for 32-bit now, and if > that's *all* the Clang is using then I'll possibly switch GCC into that > mode too. > > Can you take care of filing the tickets for %V0 and "=q" > and attribute__((indirect_branch("keep"))) please? With those fixed, I > think we should be OK again. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180207/57454d18/attachment.html>
2018 Feb 07
0
retpoline mitigation and 6.0
...omeone on our end to pick it up? On Wed, Feb 7, 2018 at 3:27 PM David Woodhouse <dwmw2 at infradead.org> wrote: > On Wed, 2018-02-07 at 21:55 +0000, David Woodhouse via llvm-dev wrote: > > Can you take care of filing the tickets for %V0 and "=q" > > and attribute__((indirect_branch("keep"))) please? With those fixed, I > > think we should be OK again. > > Here's %V0 support, which makes the hypervisor guest support build. > > diff --git a/lib/Target/X86/X86AsmPrinter.cpp > b/lib/Target/X86/X86AsmPrinter.cpp > index 4da7d59df46..f498c09828...
2018 Feb 07
2
retpoline mitigation and 6.0
On Wed, Feb 07, 2018 at 10:49:25AM +0000, David Woodhouse wrote: > On Wed, 2018-02-07 at 06:20 +0000, Chandler Carruth wrote: > > I've landed the patch in r324449. > > > > Before we merge this into two different Clang release branches and > > almost immediately release one of them, I would really like someone > > to confirm that this patch works well with the
2018 Feb 07
6
retpoline mitigation and 6.0
I've landed the patch in r324449. Before we merge this into two different Clang release branches and almost immediately release one of them, I would really like someone to confirm that this patch works well with the Linux kernel. David, if you're up for that, it would be great. Alternatively, Guenter or someone else here can help. On Tue, Feb 6, 2018 at 5:59 PM Chandler Carruth