diff options
author | Bibo Mao <maobibo@loongson.cn> | 2025-06-18 11:53:28 +0800 |
---|---|---|
committer | Bibo Mao <maobibo@loongson.cn> | 2025-07-11 14:47:15 +0800 |
commit | 94c874f0f2bdc048bacf9873d8d9ee9a68d44ea5 (patch) | |
tree | da012b094060577c4a88bef2d738ce0d323c20de /scripts/qapi/parser.py | |
parent | 5a2e76fc8786760a8fbb42af5cd8a61ecb6aba87 (diff) | |
download | qemu-94c874f0f2bdc048bacf9873d8d9ee9a68d44ea5.zip qemu-94c874f0f2bdc048bacf9873d8d9ee9a68d44ea5.tar.gz qemu-94c874f0f2bdc048bacf9873d8d9ee9a68d44ea5.tar.bz2 |
target/loongarch: Remove unnecessary page size validity checking
Page size of TLB entry comes from CSR STLBPS and pwcl register. With
huge page, it is dir_base + dir_width from pwcl register. With normal
page, it is field of PTBASE from pwcl register.
So it is ok to check validity in function helper_ldpte() and function
helper_csrwr_stlbps(). And it is unnecessary in tlb entry fill path.
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions