[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 63/79] ppc/ppc405_boards: add RAM size checks
From: |
Richard Henderson |
Subject: |
Re: [PATCH v5 63/79] ppc/ppc405_boards: add RAM size checks |
Date: |
Mon, 17 Feb 2020 11:34:23 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 2/17/20 9:34 AM, Igor Mammedov wrote:
> If user provided non-sense RAM size, board will ignore it
> and continue running with fixed RAM size.
>
> Also RAM is going to be allocated by generic code, so it
> won't be possible for board to fix CLI.
>
> Make it error message and exit to force user fix CLI,
> instead of accepting non-sense CLI values.
>
> PS:
> move fixed RAM size into mc->default_ram_size, so that
> generic code will know how much to allocate.
>
> Signed-off-by: Igor Mammedov <address@hidden>
> Acked-by: David Gibson <address@hidden>
> ---
Reviewed-by: Richard Henderson <address@hidden>
r~
- [PATCH v5 57/79] mips/mips_r4k: use memdev for RAM, (continued)
- [PATCH v5 57/79] mips/mips_r4k: use memdev for RAM, Igor Mammedov, 2020/02/17
- [PATCH v5 59/79] ppc/e500: use memdev for RAM, Igor Mammedov, 2020/02/17
- [PATCH v5 62/79] ppc/pnv: use memdev for RAM, Igor Mammedov, 2020/02/17
- [PATCH v5 60/79] ppc/mac_newworld: use memdev for RAM, Igor Mammedov, 2020/02/17
- [PATCH v5 61/79] ppc/mac_oldworld: use memdev for RAM, Igor Mammedov, 2020/02/17
- [PATCH v5 63/79] ppc/ppc405_boards: add RAM size checks, Igor Mammedov, 2020/02/17
- Re: [PATCH v5 63/79] ppc/ppc405_boards: add RAM size checks,
Richard Henderson <=
- [PATCH v5 64/79] ppc/ppc405_boards: use memdev for RAM, Igor Mammedov, 2020/02/17
- [PATCH v5 66/79] ppc/{ppc440_bamboo, sam460ex}: use memdev for RAM, Igor Mammedov, 2020/02/17
- [PATCH v5 68/79] ppc/virtex_ml507: use memdev for RAM, Igor Mammedov, 2020/02/17
- [PATCH v5 69/79] sparc/leon3: use memdev for RAM, Igor Mammedov, 2020/02/17
- [PATCH v5 67/79] ppc/spapr: use memdev for RAM, Igor Mammedov, 2020/02/17