aboutsummaryrefslogtreecommitdiff
path: root/contrib/plugins/howvec.c
diff options
context:
space:
mode:
authorXianglai Li <lixianglai@loongson.cn>2024-03-18 15:03:32 +0800
committerSong Gao <gaosong@loongson.cn>2024-03-20 10:20:03 +0800
commit9c70db9a433886c4647bfe01bf256e426c698561 (patch)
treef82772018de274a5e093f4ce1a47f65837acad41 /contrib/plugins/howvec.c
parent0a57a96ec6532dafa961c6196a7b0c00fd28e662 (diff)
target/loongarch: Fix tlb huge page loading issue
When we use qemu tcg simulation, the page size of bios is 4KB. When using the level 2 super huge page (page size is 1G) to create the page table, it is found that the content of the corresponding address space is abnormal, resulting in the bios can not start the operating system and graphical interface normally. The lddir and ldpte instruction emulation has a problem with the use of super huge page processing above level 2. The page size is not correctly calculated, resulting in the wrong page size of the table entry found by tlb. Signed-off-by: Xianglai Li <lixianglai@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20240318070332.1273939-1-lixianglai@loongson.cn>
Diffstat (limited to 'contrib/plugins/howvec.c')
0 files changed, 0 insertions, 0 deletions