Loading
LoongArch: Change 8 to 14 for LOONGARCH_MAX_{BRP,WRP}
stable inclusion from stable-v6.6.76 commit 9b7f5ef4bacea93383c18f5f0c6b77236526d9a9 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBW08Q Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=9b7f5ef4bacea93383c18f5f0c6b77236526d9a9 -------------------------------- commit f502ea618bf16d615d7dc6138c8988d3118fe750 upstream. The maximum number of load/store watchpoints and fetch instruction watchpoints is 14 each according to LoongArch Reference Manual, so change 8 to 14 for the related code. Link: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#control-and-status-registers-related-to-watchpoints Cc: stable@vger.kernel.org Fixes: edffa33c ("LoongArch: Add hardware breakpoints/watchpoints support") Reviewed-by:WANG Xuerui <git@xen0n.name> Signed-off-by:
Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by:
Huacai Chen <chenhuacai@loongson.cn> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 9b7f5ef4bacea93383c18f5f0c6b77236526d9a9) Signed-off-by:
Wentao Guan <guanwentao@uniontech.com>