Re: [PATCH 0/4] LLVMLinux: Patches to enable the kernel to be compiled with clang/LLVM

From: Behan Webster
Date: Wed Aug 27 2014 - 00:26:46 EST


On 08/26/14 07:16, Will Deacon wrote:
Hi Behan,

On Fri, Aug 01, 2014 at 05:11:59AM +0100, Behan Webster wrote:
On 07/31/14 03:33, Will Deacon wrote:
On Thu, Jul 31, 2014 at 12:57:25AM +0100, behanw@xxxxxxxxxxxxxxxxxx wrote:
From: Behan Webster <behanw@xxxxxxxxxxxxxxxxxx>

This patch set moves from using locally defined named registers to access the
stack pointer to using a globally defined named register. This allows the code
to work both with gcc and clang.

The LLVMLinux project aims to fully build the Linux kernel using both gcc and
clang (the C front end for the LLVM compiler infrastructure project).

Behan Webster (4):
arm64: LLVMLinux: Add current_stack_pointer() for arm64
arm64: LLVMLinux: Use current_stack_pointer in save_stack_trace_tsk
arm64: LLVMLinux: Calculate current_thread_info from
current_stack_pointer
arm64: LLVMLinux: Use current_stack_pointer in kernel/traps.c
Once Andreas's comments have been addressed:

Acked-by: Will Deacon <will.deacon@xxxxxxx>

Please can you send a new series after the merge window?
Pity. I was hoping to get it in this merge window.

However, will resubmit for 3.18.
Any chance of a v2 for this series, please? If you address the comments
pending for v1, I think it's good to merge.
Sure thing. 2 more named register patches added. Look for them at the end of the new patch series.

I kept missing you in Chicago. I was hoping to say "hi".

Behan

--
Behan Webster
behanw@xxxxxxxxxxxxxxxxxx

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/