Re: Question on "Using deprecated CP15 barrier instruction".

2016-09-05 Thread Peter Maydell
On 5 September 2016 at 22:20, Jim Wilson wrote: > On Mon, Sep 5, 2016 at 8:10 AM, wrote: >> There is a Linux kernel file "arch/arm64/kernel/deprecated.c". Within that >> file is a block of code which is apparently designed to detect some sort of >> older obsolete 32-bit code. Specifically, the w

Re: Question on "Using deprecated CP15 barrier instruction".

2016-09-05 Thread Jim Wilson
On Mon, Sep 5, 2016 at 8:10 AM, wrote: > There is a Linux kernel file "arch/arm64/kernel/deprecated.c". Within that > file is a block of code which is apparently designed to detect some sort of > older obsolete 32-bit code. Specifically, the warning message is "Using > deprecated CP15 barrier ins

Re: Question on "Using deprecated CP15 barrier instruction".

2016-09-05 Thread Renato Golin
On 5 September 2016 at 19:05, wrote: > What I need to confirm is if the Linaro 5.3 would generate such code from a > normal block of C without any kind of asm in it? Detecting the code is part > of the kernel...I need to figure out where it was generated. Is Linaro 5.3 > going to generate such co

RE: Question on "Using deprecated CP15 barrier instruction".

2016-09-05 Thread stimits
? - Original Message -From: Andrew Pinski To: stim...@comcast.net, Linaro Toolchain Mailman List Sent: Mon, 05 Sep 2016 17:21:24 - (UTC)Subject: RE: Question on "Using deprecated CP15 barrier instruction". Simple answer is yes. There are a lot of assembly out there and someone

Question on "Using deprecated CP15 barrier instruction".

2016-09-05 Thread stimits
Hi, For reference, the following questions refer to a Linux 3.10 aarch64 kernel (ARMv8, ARMv8-A) compiled with Linaro 5.3-2016.02 (5.3-2016.02 arm64 CROSS_COMPILE and 5.3-2016.02 armhf CROSS32CC cross compiled from x86_64). This Linux kernel compile requires the full 64-bit tool chain plus the