[PATCH v2 0/7] Optimize jump label implementation on ARM64

Jiang Liu liuj97 at gmail.com
Mon Oct 14 11:24:50 EDT 2013


On 10/14/2013 11:19 PM, Will Deacon wrote:
> On Sun, Oct 13, 2013 at 03:50:20PM +0100, Jiang Liu wrote:
>> From: Jiang Liu <jiang.liu at huawei.com>
>>
>> This patchset tries to optimize arch specfic jump label implementation
>> for ARM64 by dynamic kernel text patching.
>>
>> To enable this feature, your toolchain must support "asm goto" extension
>> and "%c" constraint extesion. Current GCC for AARCH64 doesn't support
>> "%c", so you need a GCC patch similiar to this:
>> http://gcc.gnu.org/viewcvs/gcc/trunk/gcc/config/arm/arm.c?view=patch&r1=175293&r2=175565&pathrev=175565
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48637
> 
> Right, but this is just for the ARM (AArch32) backend afaict. Are there any
> plans for upstream GCC to support this constraint for AArch64?
> 
> Will
> 
Hi Will,
	We have an internal GCC version with this issue fixed. But I'm not
familiar with GCC community and don't know the way to get the fix merged
into GCC mainstream. Any suggestion?
Thanks!




More information about the linux-arm-kernel mailing list