Re: [PATCH v2] sh: Implement __get_user_u64() required for 64-bit get_user()

2020-06-03 Thread Geert Uytterhoeven
Hi Adrian, On Wed, Jun 3, 2020 at 9:20 AM John Paul Adrian Glaubitz wrote: > On 5/31/20 12:47 PM, John Paul Adrian Glaubitz wrote: > > Changes since v1: > > - Replace single mov instruction for exception handling > >in case of invalid load > > Yutaka Niibe has had a look at my patch and he

Re: [PATCH v2] sh: Implement __get_user_u64() required for 64-bit get_user()

2020-06-03 Thread John Paul Adrian Glaubitz
Hi! On 5/31/20 12:47 PM, John Paul Adrian Glaubitz wrote: > Changes since v1: > - Replace single mov instruction for exception handling >in case of invalid load Yutaka Niibe has had a look at my patch and he says, we might have to add an entry for the fault handling of the upper word.

[PATCH v2] sh: Implement __get_user_u64() required for 64-bit get_user()

2020-05-31 Thread John Paul Adrian Glaubitz
Trying to build the kernel with CONFIG_INFINIBAND_USER_ACCESS enabled fails ERROR: "__get_user_unknown" [drivers/infiniband/core/ib_uverbs.ko] undefined! with on SH since the kernel misses a 64-bit implementation of get_user(). Implement the missing 64-bit get_user() as __get_user_u64(),