commit | 937f65935950a0346292120acc5d98033f90e61c | [log] [tgz] |
---|---|---|
author | Weihao Li <liweihao@loongson.cn> | Wed Sep 06 22:53:10 2023 +0800 |
committer | Huacai Chen <chenhuacai@loongson.cn> | Wed Sep 06 22:53:10 2023 +0800 |
tree | d52fe3bb341d74cf9d3a3ecfce3024ce8c4ae56b | |
parent | 0921af6ccfb37dc2d6aefcf744333c14e7ca739d [diff] |
LoongArch: Adjust {copy, clear}_user exception handler behavior The {copy, clear}_user function should returns number of bytes that could not be {copied, cleared}. So, try to {copy, clear} byte by byte when ld.{d,w,h} and st.{d,w,h} trapped into an exception. Reviewed-by: WANG Rui <wangrui@loongson.cn> Signed-off-by: Weihao Li <liweihao@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>