[PATCH 0/4] __asm_copy_to-from_user: Fixes

Qiu Wenbo qiuwenbo at kylinos.com.cn
Tue Jul 20 18:12:14 PDT 2021


Tested on HiFive Unmatched by compiling several large packages.

Tested-by: Qiu Wenbo <qiuwenbo at kylinos.com.cn>


Qiu


On 7/20/21 4:49 PM, Akira Tsukamoto wrote:
> These are series for the fix reported by Guenter, Geert and Qiu.
>
> One patch to fix overrun memory access, one patch to fix on rv32.
> And two more for clean up and typos.
>
> Have tested on qemu rv32, qemu rv64 and beaglev beta board.
>
> Thanks for the report and instructions to reproduce the error on rv32.
>
> Akira
>
> Akira Tsukamoto (4):
>    riscv: __asm_copy_to-from_user: Fix: overrun copy
>    riscv: __asm_copy_to-from_user: Fix: fail on RV32
>    riscv: __asm_copy_to-from_user: Remove unnecessary size check
>    riscv: __asm_copy_to-from_user: Fix: Typos in comments
>
>   arch/riscv/lib/uaccess.S | 27 +++++++++++++--------------
>   1 file changed, 13 insertions(+), 14 deletions(-)
>





More information about the linux-riscv mailing list