diff options
author | Bibo Mao <maobibo@loongson.cn> | 2025-08-20 22:51:15 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-08-20 22:51:15 +0800 |
commit | 538c06e3964a8e94b645686cc58ccc4a06fa6330 (patch) | |
tree | 4ddf0423b36400b759d60f906f1794148643a50e /rust/kernel/task.rs | |
parent | 0dfd9ea7bf80fabe11f5b775d762a5cd168cdf41 (diff) |
LoongArch: KVM: Add address alignment check in pch_pic register access
With pch_pic device, its register is based on MMIO address space,
different access size 1/2/4/8 is supported. And base address should
be naturally aligned with its access size, here add alignment check
in its register access emulation function.
Cc: stable@vger.kernel.org
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'rust/kernel/task.rs')
0 files changed, 0 insertions, 0 deletions