Re: [PATCH 43/86] hppa: drop RAM size fixup

2020-01-02 Thread Helge Deller
On 02.01.20 16:49, Philippe Mathieu-Daudé wrote: > On 1/2/20 4:08 PM, Igor Mammedov wrote: >> On Thu, 2 Jan 2020 15:17:14 +0100 >> Philippe Mathieu-Daudé wrote: >> >>> On 1/2/20 3:12 PM, Igor Mammedov wrote: On Thu, 2 Jan 2020 13:06:33 +0100 Philippe Mathieu-Daudé wrote:    > O

Re: [PATCH 43/86] hppa: drop RAM size fixup

2020-01-02 Thread Igor Mammedov
allocate up-to 4GiB and not worry about the 256MiB lost. > >>>>> > >>>>> Do you mean > >>>>> s/"RAM size more than %d is not supported"/"RAM size more than 4Gb is > >>>>> not supported"/ > >>>>

Re: [PATCH 43/86] hppa: drop RAM size fixup

2020-01-02 Thread Philippe Mathieu-Daudé
;ram", ram_size); -memory_region_add_subregion(addr_space, 0, ram_region); +memory_region_add_subregion_overlap(addr_space, 0, ram_region, -1); /* Init Dino (PCI host bus chip). */ pci_bus = dino_init(addr_space, &rtc_irq, &serial_irq); Ok, I give up on trying to convin

Re: [PATCH 43/86] hppa: drop RAM size fixup

2020-01-02 Thread Igor Mammedov
ed"/"RAM size more than 4Gb is not > >>> supported"/ > >> > >> Works for me! You can keep my R-b with this change, thanks. > > > > Well, it's not that simple. > > Do we map whole 4G in address space, if yes then we have to &q

Re: [PATCH 43/86] hppa: drop RAM size fixup

2020-01-02 Thread Philippe Mathieu-Daudé
On 1/2/20 4:08 PM, Igor Mammedov wrote: On Thu, 2 Jan 2020 15:17:14 +0100 Philippe Mathieu-Daudé wrote: On 1/2/20 3:12 PM, Igor Mammedov wrote: On Thu, 2 Jan 2020 13:06:33 +0100 Philippe Mathieu-Daudé wrote: On 1/2/20 12:31 PM, Helge Deller wrote: On 31.12.19 16:44, Philippe Mathieu-Da

Re: [PATCH 43/86] hppa: drop RAM size fixup

2020-01-02 Thread Philippe Mathieu-Daudé
On 1/2/20 4:35 PM, Igor Mammedov wrote: On Thu, 2 Jan 2020 15:45:55 +0100 Philippe Mathieu-Daudé wrote: On 1/2/20 3:41 PM, Igor Mammedov wrote: On Thu, 2 Jan 2020 12:31:58 +0100 Helge Deller wrote: On 31.12.19 16:44, Philippe Mathieu-Daudé wrote: On 12/31/19 2:03 PM, Igor Mammedov wrot

Re: [PATCH 43/86] hppa: drop RAM size fixup

2020-01-02 Thread Igor Mammedov
On Thu, 2 Jan 2020 15:45:55 +0100 Philippe Mathieu-Daudé wrote: > On 1/2/20 3:41 PM, Igor Mammedov wrote: > > On Thu, 2 Jan 2020 12:31:58 +0100 > > Helge Deller wrote: > > > >> On 31.12.19 16:44, Philippe Mathieu-Daudé wrote: > >>> On 12/31/19 2:03 PM, Igor Mammedov wrote: > If user

Re: [PATCH 43/86] hppa: drop RAM size fixup

2020-01-02 Thread Igor Mammedov
On Thu, 2 Jan 2020 15:17:14 +0100 Philippe Mathieu-Daudé wrote: > On 1/2/20 3:12 PM, Igor Mammedov wrote: > > On Thu, 2 Jan 2020 13:06:33 +0100 > > Philippe Mathieu-Daudé wrote: > > > >> On 1/2/20 12:31 PM, Helge Deller wrote: > >>> On 31.12.19 16:44, Philippe Mathieu-Daudé wrote: >

Re: [PATCH 43/86] hppa: drop RAM size fixup

2020-01-02 Thread Igor Mammedov
On Thu, 2 Jan 2020 14:02:01 +0100 Helge Deller wrote: > On 02.01.20 13:06, Philippe Mathieu-Daudé wrote: > > On 1/2/20 12:31 PM, Helge Deller wrote: > >> On 31.12.19 16:44, Philippe Mathieu-Daudé wrote: > >>> On 12/31/19 2:03 PM, Igor Mammedov wrote: > If user provided non-sense RAM si

Re: [PATCH 43/86] hppa: drop RAM size fixup

2020-01-02 Thread Philippe Mathieu-Daudé
On 1/2/20 3:41 PM, Igor Mammedov wrote: On Thu, 2 Jan 2020 12:31:58 +0100 Helge Deller wrote: On 31.12.19 16:44, Philippe Mathieu-Daudé wrote: On 12/31/19 2:03 PM, Igor Mammedov wrote: If user provided non-sense RAM size, board will complain and continue running with max RAM size supported.

Re: [PATCH 43/86] hppa: drop RAM size fixup

2020-01-02 Thread Igor Mammedov
On Thu, 2 Jan 2020 12:31:58 +0100 Helge Deller wrote: > On 31.12.19 16:44, Philippe Mathieu-Daudé wrote: > > On 12/31/19 2:03 PM, Igor Mammedov wrote: > >> If user provided non-sense RAM size, board will complain and > >> continue running with max RAM size supported. > >> Also RAM is going to b

Re: [PATCH 43/86] hppa: drop RAM size fixup

2020-01-02 Thread Philippe Mathieu-Daudé
On 1/2/20 3:12 PM, Igor Mammedov wrote: On Thu, 2 Jan 2020 13:06:33 +0100 Philippe Mathieu-Daudé wrote: On 1/2/20 12:31 PM, Helge Deller wrote: On 31.12.19 16:44, Philippe Mathieu-Daudé wrote: On 12/31/19 2:03 PM, Igor Mammedov wrote: If user provided non-sense RAM size, board will complain

Re: [PATCH 43/86] hppa: drop RAM size fixup

2020-01-02 Thread Igor Mammedov
On Thu, 2 Jan 2020 13:06:33 +0100 Philippe Mathieu-Daudé wrote: > On 1/2/20 12:31 PM, Helge Deller wrote: > > On 31.12.19 16:44, Philippe Mathieu-Daudé wrote: > >> On 12/31/19 2:03 PM, Igor Mammedov wrote: > >>> If user provided non-sense RAM size, board will complain and > >>> continue runni

Re: [PATCH 43/86] hppa: drop RAM size fixup

2020-01-02 Thread Helge Deller
On 02.01.20 13:06, Philippe Mathieu-Daudé wrote: > On 1/2/20 12:31 PM, Helge Deller wrote: >> On 31.12.19 16:44, Philippe Mathieu-Daudé wrote: >>> On 12/31/19 2:03 PM, Igor Mammedov wrote: If user provided non-sense RAM size, board will complain and continue running with max RAM size supp

Re: [PATCH 43/86] hppa: drop RAM size fixup

2020-01-02 Thread Philippe Mathieu-Daudé
On 1/2/20 12:31 PM, Helge Deller wrote: On 31.12.19 16:44, Philippe Mathieu-Daudé wrote: On 12/31/19 2:03 PM, Igor Mammedov wrote: If user provided non-sense RAM size, board will complain and continue running with max RAM size supported. Also RAM is going to be allocated by generic code, so it

Re: [PATCH 43/86] hppa: drop RAM size fixup

2020-01-02 Thread Helge Deller
On 31.12.19 16:44, Philippe Mathieu-Daudé wrote: > On 12/31/19 2:03 PM, Igor Mammedov wrote: >> If user provided non-sense RAM size, board will complain and >> continue running with max RAM size supported. >> Also RAM is going to be allocated by generic code, so it won't be >> possible for board to

Re: [PATCH 43/86] hppa: drop RAM size fixup

2019-12-31 Thread Philippe Mathieu-Daudé
On 12/31/19 2:03 PM, Igor Mammedov wrote: If user provided non-sense RAM size, board will complain and continue running with max RAM size supported. Also RAM is going to be allocated by generic code, so it won't be possible for board to fix things up for user. Make it error message and exit to f

[PATCH 43/86] hppa: drop RAM size fixup

2019-12-31 Thread Igor Mammedov
If user provided non-sense RAM size, board will complain and continue running with max RAM size supported. Also RAM is going to be allocated by generic code, so it won't be possible for board to fix things up for user. Make it error message and exit to force user fix CLI, instead of accepting non-