[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/3] mips/mips_fulong2e: Set preferred page size to 16KB
From: |
Aleksandar Markovic |
Subject: |
Re: [PATCH 2/3] mips/mips_fulong2e: Set preferred page size to 16KB |
Date: |
Mon, 1 Jun 2020 12:18:29 +0200 |
On Wed, Apr 8, 2020 at 4:41 PM Huacai Chen <chenhc@lemote.com> wrote:
>
> Loongson processor prefers 16KB page size in system emulator, so let's
> define mc->minimum_page_bits to 14.
>
> Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
> Signed-off-by: Huacai Chen <chenhc@lemote.com>
> ---
Applied to MIPS queue.
Many thanks!
Aleksandar
> hw/mips/mips_fulong2e.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hw/mips/mips_fulong2e.c b/hw/mips/mips_fulong2e.c
> index 5040afd..23897d7 100644
> --- a/hw/mips/mips_fulong2e.c
> +++ b/hw/mips/mips_fulong2e.c
> @@ -399,6 +399,7 @@ static void mips_fulong2e_machine_init(MachineClass *mc)
> mc->default_cpu_type = MIPS_CPU_TYPE_NAME("Loongson-2E");
> mc->default_ram_size = 256 * MiB;
> mc->default_ram_id = "fulong2e.ram";
> + mc->minimum_page_bits = 14;
> }
>
> DEFINE_MACHINE("fulong2e", mips_fulong2e_machine_init)
> --
> 2.7.0
>
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 2/3] mips/mips_fulong2e: Set preferred page size to 16KB,
Aleksandar Markovic <=