diff options
| author | Bibo Mao <[email protected]> | 2025-06-27 10:27:44 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2025-06-27 10:27:44 +0000 |
| commit | 955853cf83657faa58572ef3f08b44f0f88885c1 (patch) | |
| tree | 2674aa6a2e1eb5f169d3003691e9f4045dd3f5f5 /lib/crypto/mpi/mpi-pow.c | |
| parent | LoongArch: KVM: Check validity of "num_cpu" from user space (diff) | |
| download | kernel-955853cf83657faa58572ef3f08b44f0f88885c1.tar.gz kernel-955853cf83657faa58572ef3f08b44f0f88885c1.zip | |
LoongArch: KVM: Disable updating of "num_cpu" and "feature"
Property "num_cpu" and "feature" are read-only once eiointc is created,
which are set with KVM_DEV_LOONGARCH_EXTIOI_GRP_CTRL attr group before
device creation.
Attr group KVM_DEV_LOONGARCH_EXTIOI_GRP_SW_STATUS is to update register
and software state for migration and reset usage, property "num_cpu" and
"feature" can not be update again if it is created already.
Here discard write operation with property "num_cpu" and "feature" in
attr group KVM_DEV_LOONGARCH_EXTIOI_GRP_CTRL.
Cc: [email protected]
Fixes: 1ad7efa552fd ("LoongArch: KVM: Add EIOINTC user mode read and write functions")
Signed-off-by: Bibo Mao <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions
