diff options
author | Bibo Mao <maobibo@loongson.cn> | 2025-07-16 09:45:47 +0800 |
---|---|---|
committer | Bibo Mao <maobibo@loongson.cn> | 2025-08-29 10:05:02 +0800 |
commit | 198c827ca5d3bee6aa0c498f25f5ea6928f57de2 (patch) | |
tree | 803795f62b8c78815dd1eb233fa601c0536b092c /rust/qemu-api | |
parent | 982d7674ff4ed1affc4dadba2c6f6ab1b1df4e97 (diff) | |
download | qemu-198c827ca5d3bee6aa0c498f25f5ea6928f57de2.zip qemu-198c827ca5d3bee6aa0c498f25f5ea6928f57de2.tar.gz qemu-198c827ca5d3bee6aa0c498f25f5ea6928f57de2.tar.bz2 |
target/loongarch: Set page size in TLB entry with STLB
With VTLB different TLB entry may have different page size, and
page size is set in PS field of TLB entry. However with STLB, all
the TLB entries have the same page size, page size comes from register
CSR_STLBPS, PS field of TLB entry is not used.
Here PS field of TLB entry is used with all TLB entries, even with
STLB. It is convenient with TLB maintainance operation.
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'rust/qemu-api')
0 files changed, 0 insertions, 0 deletions