Re: [PATCH] Fixed tlb huge page loading issue

2024-03-04 Thread lixianglai
Hi gaosong: Hi, Title 'target/loongarch: ' ... OK! I will fix it in next version. Thanks, Xianglai. Thanks. Song Gao 在 2024/2/28 14:55, Xianglai Li 写道: The lddir and ldpte instruction emulation has a problem with the use of large page processing above level 2. The page size is

Re: [PATCH] Fixed tlb huge page loading issue

2024-03-04 Thread gaosong
Hi, Title 'target/loongarch: ' ... Thanks. Song Gao 在 2024/2/28 14:55, Xianglai Li 写道: The lddir and ldpte instruction emulation has a problem with the use of large page processing above level 2. The page size is not correctly calculated, resulting in the wrong page size of the table entry

Re: [PATCH] Fixed tlb huge page loading issue

2024-03-03 Thread maobibo
Xianglai, Thanks for your patch. On 2024/2/28 下午2:55, Xianglai Li wrote: The lddir and ldpte instruction emulation has a problem with the use of large 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.

[PATCH] Fixed tlb huge page loading issue

2024-02-27 Thread Xianglai Li
The lddir and ldpte instruction emulation has a problem with the use of large 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 --- target/loongarch/cpu.h| 1 +