Re: [PATCH v18 6/7] crypto: caam: cleanup CONFIG_64BIT ifdefs when using io{read|write}64
From: Logan Gunthorpe
Date: Tue Jul 03 2018 - 14:47:24 EST
On 03/07/18 12:11 PM, Fabio Estevam wrote:
> On Tue, Jul 3, 2018 at 3:09 PM, Andy Shevchenko
> <andy.shevchenko@xxxxxxxxx> wrote:
>
>> Btw, what is the environment did you use to build it?
>> and what is the environment / make variable you supply (like ARCH,
>> CROSS_COMPILE, etc)?
>
> I build it on a Dell laptop running Ubuntu 16.04 with the following
> variables exported:
>
> export ARCH=arm
> export CROSS_COMPILE=/usr/bin/arm-linux-gnueabi-
Ok, I'm at a bit of a loss... When I look at the assembly before and
after the patch, it looks pretty much the same. Additionally, the
function where the undefined exception occurs (caam_jr_interrupt())
doesn't make any use of wr_reg64 or rd_reg64 which is the only thing the
patch changes...
Also, it looks like the nonatomic headers are doing what they are
supposed to on this arch and generating two 32-bit ios and not a 64 bit one.
So I have no idea what's going on here... Are we sure this is the patch
causing the problem? Did you bisect?
Thanks,
Logan