From: Igor Mammedov <imammedo@redhat.com>
To: BALATON Zoltan <balaton@eik.bme.hu>
Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>,
qemu-ppc@nongnu.org, qemu-devel@nongnu.org,
david@gibson.dropbear.id.au
Subject: Re: [PATCH v2 66/86] ppc/{ppc440_bamboo,sam460x}: drop RAM size fixup
Date: Fri, 17 Jan 2020 11:46:29 +0100 [thread overview]
Message-ID: <20200117114629.5b245c83@redhat.com> (raw)
In-Reply-To: <alpine.BSF.2.21.99999.352.2001152149120.24151@zero.eik.bme.hu>
On Wed, 15 Jan 2020 22:33:46 +0100 (CET)
BALATON Zoltan <balaton@eik.bme.hu> wrote:
> Subject line is still wrong, it's sam460ex not sam460x. Also you change
> ppc:whatever to ppc/whatever here but left : as path separator in all
> other patches. This is not consistent with other commits where the tag in
> the title is usually a path of the changed part or in this case could be
> ppc/ arm/ etc. Colon as path separator looks weird so I think this change
> should be done for all patches to match other commits not just this one,
>
> On Wed, 15 Jan 2020, Igor Mammedov wrote:
> > If user provided non-sense RAM size, board will complain and
> > continue running with max RAM size supported or sometimes
> > crash like this:
> > %QEMU -M bamboo -m 1
> > exec.c:1926: find_ram_offset: Assertion `size != 0' failed.
> > Aborted (core dumped)
> > 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-sense CLI values.
> > That also fixes crash issue, since wrongly calculated size
> > isn't used to allocate RAM
> >
> > Signed-off-by: Igor Mammedov <imammedo@redhat.com>
> > ---
> > v2:
> > * s/ppc4xx_sdram_adjust/ppc4xx_sdram_prep/
> > (BALATON Zoltan <balaton@eik.bme.hu>)
>
> Thanks but prep is not a good name in PPC context as one of the arch
> standards is also called that (PowerPC Reference Platform or PReP) so
> using that here is ambiguous. Better spell it out or call it something
> else (such as ppc4xx_sdram_banks).
Thanks, I'll change it as suggested
>
> > * print possible valid ram size id not all RAM was distributed
> > * initialize ram_bases/ram_bases at the same time we are checking
> > that user supplied RAM would fit available banks and drop nested
> > loop that were duplicating the same calculations.
> > * coincidentally fix crash when -m is less than minimal bank size
> >
> > CC: balaton@eik.bme.hu
> > CC: david@gibson.dropbear.id.au
> > CC: qemu-ppc@nongnu.org
> > ---
> > include/hw/ppc/ppc4xx.h | 9 ++++----
> > hw/ppc/ppc440_bamboo.c | 11 ++++------
> > hw/ppc/ppc4xx_devs.c | 56 +++++++++++++++++++++++++------------------------
> > hw/ppc/sam460ex.c | 5 ++---
> > 4 files changed, 39 insertions(+), 42 deletions(-)
> >
> > diff --git a/include/hw/ppc/ppc4xx.h b/include/hw/ppc/ppc4xx.h
> > index 7d82259..103c875 100644
> > --- a/include/hw/ppc/ppc4xx.h
> > +++ b/include/hw/ppc/ppc4xx.h
> > @@ -42,11 +42,10 @@ enum {
> > qemu_irq *ppcuic_init (CPUPPCState *env, qemu_irq *irqs,
> > uint32_t dcr_base, int has_ssr, int has_vr);
> >
> > -ram_addr_t ppc4xx_sdram_adjust(ram_addr_t ram_size, int nr_banks,
> > - MemoryRegion ram_memories[],
> > - hwaddr ram_bases[],
> > - hwaddr ram_sizes[],
> > - const ram_addr_t sdram_bank_sizes[]);
> > +void ppc4xx_sdram_prep(ram_addr_t ram_size, int nr_banks,
> > + MemoryRegion ram_memories[],
> > + hwaddr ram_bases[], hwaddr ram_sizes[],
> > + const ram_addr_t sdram_bank_sizes[]);
> >
> > void ppc4xx_sdram_init (CPUPPCState *env, qemu_irq irq, int nbanks,
> > MemoryRegion ram_memories[],
> > diff --git a/hw/ppc/ppc440_bamboo.c b/hw/ppc/ppc440_bamboo.c
> > index b782641..c162598 100644
> > --- a/hw/ppc/ppc440_bamboo.c
> > +++ b/hw/ppc/ppc440_bamboo.c
> > @@ -158,7 +158,6 @@ static void main_cpu_reset(void *opaque)
> >
> > static void bamboo_init(MachineState *machine)
> > {
> > - ram_addr_t ram_size = machine->ram_size;
> > const char *kernel_filename = machine->kernel_filename;
> > const char *kernel_cmdline = machine->kernel_cmdline;
> > const char *initrd_filename = machine->initrd_filename;
> > @@ -203,10 +202,8 @@ static void bamboo_init(MachineState *machine)
> > /* SDRAM controller */
> > memset(ram_bases, 0, sizeof(ram_bases));
> > memset(ram_sizes, 0, sizeof(ram_sizes));
> > - ram_size = ppc4xx_sdram_adjust(ram_size, PPC440EP_SDRAM_NR_BANKS,
> > - ram_memories,
> > - ram_bases, ram_sizes,
> > - ppc440ep_sdram_bank_sizes);
> > + ppc4xx_sdram_prep(ram_size, PPC440EP_SDRAM_NR_BANKS, ram_memories,
> > + ram_bases, ram_sizes, ppc440ep_sdram_bank_sizes);
> > /* XXX 440EP's ECC interrupts are on UIC1, but we've only created UIC0. */
> > ppc4xx_sdram_init(env, pic[14], PPC440EP_SDRAM_NR_BANKS, ram_memories,
> > ram_bases, ram_sizes, 1);
> > @@ -268,7 +265,7 @@ static void bamboo_init(MachineState *machine)
> > /* Load initrd. */
> > if (initrd_filename) {
> > initrd_size = load_image_targphys(initrd_filename, RAMDISK_ADDR,
> > - ram_size - RAMDISK_ADDR);
> > + machine->ram_size - RAMDISK_ADDR);
> >
> > if (initrd_size < 0) {
> > error_report("could not load ram disk '%s' at %x",
> > @@ -279,7 +276,7 @@ static void bamboo_init(MachineState *machine)
> >
> > /* If we're loading a kernel directly, we must load the device tree too. */
> > if (kernel_filename) {
> > - if (bamboo_load_device_tree(FDT_ADDR, ram_size, RAMDISK_ADDR,
> > + if (bamboo_load_device_tree(FDT_ADDR, machine->ram_size, RAMDISK_ADDR,
> > initrd_size, kernel_cmdline) < 0) {
> > error_report("couldn't load device tree");
> > exit(1);
> > diff --git a/hw/ppc/ppc4xx_devs.c b/hw/ppc/ppc4xx_devs.c
> > index c2e5013..92d33a4 100644
> > --- a/hw/ppc/ppc4xx_devs.c
> > +++ b/hw/ppc/ppc4xx_devs.c
> > @@ -673,16 +673,16 @@ void ppc4xx_sdram_init (CPUPPCState *env, qemu_irq irq, int nbanks,
> > * The 4xx SDRAM controller supports a small number of banks, and each bank
> > * must be one of a small set of sizes. The number of banks and the supported
> > * sizes varies by SoC. */
> > -ram_addr_t ppc4xx_sdram_adjust(ram_addr_t ram_size, int nr_banks,
> > - MemoryRegion ram_memories[],
> > - hwaddr ram_bases[],
> > - hwaddr ram_sizes[],
> > - const ram_addr_t sdram_bank_sizes[])
> > +void ppc4xx_sdram_prep(ram_addr_t ram_size, int nr_banks,
> > + MemoryRegion ram_memories[],
> > + hwaddr ram_bases[], hwaddr ram_sizes[],
> > + const ram_addr_t sdram_bank_sizes[])
> > {
> > MemoryRegion *ram = g_malloc0(sizeof(*ram));
> > ram_addr_t size_left = ram_size;
> > ram_addr_t base = 0;
> > ram_addr_t bank_size;
> > + int last_bank = 0;
> > int i;
> > int j;
> >
> > @@ -690,7 +690,11 @@ ram_addr_t ppc4xx_sdram_adjust(ram_addr_t ram_size, int nr_banks,
> > for (j = 0; sdram_bank_sizes[j] != 0; j++) {
> > bank_size = sdram_bank_sizes[j];
> > if (bank_size <= size_left) {
> > + ram_bases[i] = base;
> > + ram_sizes[i] = bank_size;
> > + base += bank_size;
> > size_left -= bank_size;
> > + last_bank = i;
> > }
> > }
> > if (!size_left) {
> > @@ -699,34 +703,32 @@ ram_addr_t ppc4xx_sdram_adjust(ram_addr_t ram_size, int nr_banks,
> > }
> > }
> >
> > - ram_size -= size_left;
> > if (size_left) {
> > - error_report("Truncating memory to %" PRId64 " MiB to fit SDRAM"
> > - " controller limits", ram_size / MiB);
> > + ram_addr_t used_size = ram_size - size_left;
> > + GString *s = g_string_new(NULL);
> > +
> > + for (i = 0; sdram_bank_sizes[i]; i++) {
> > + g_string_append_printf(s, "%" PRIi64 "%s",
> > + sdram_bank_sizes[i] / MiB,
> > + sdram_bank_sizes[i + 1] ? " ," : "");
> > + }
> > + error_report("Max %d banks of %s MB DIMM/bank supported",
> > + nr_banks, s->str);
> > + error_report("Possible valid RAM size: %" PRIi64,
> > + used_size ? used_size / MiB : sdram_bank_sizes[i - 1] / MiB);
> > +
> > + g_string_free(s, true);
> > + exit(EXIT_FAILURE);
>
> This is certainly better than to just bail out and let the user wonder
> what would work
v2 basically works the same as original code, except of that
instead of fixing up ram_size, it ask user to fix CLI to
the same value.
> but I've not yet given up to keep current functionality
> (also for other boards where this series would drop it). If you don't like
> a generic callback then how about letting the board optionally specify in
> the machine class next to default_ram_size some constraints such as
> min_ram_size, max_ram_size and an array of valid_ram_sizes (like
> ppc460ex_sdram_bank_sizes[]) that the generic code doing the allocation
> could check and clamp sizes to the nearest valid one emitting a warning
> and only bail out if constraints are not given. This would cover most
> cases expect the e500 where it has an alignment without max so
> representing it as a list of valid values is probably not practical (could
> also have ram_alignment but then a generic callback may be simpler). Would
> that way work for you?
I agree that we need to consolidate ram_size checks,
that would allow to clean up boards that practically do
the mostly the same. In the end it would allow to introspect
supported ram_sizes which would be good for upper layers.
I even started something in that direction but dropped
all of that patches as not directly related to this
series purpose.
Phillipe is also trying to something like this for raspi
board.
As for clamping, I still think that it's not good idea
to accept invalid value and fix it up.
Users should get what they asked for or get a clear error
(it's double true if user is management software as it
won't read any sort of warnings, well not all human users
would head warnings either as far as QEMU continues to run)
Anyways, most maintainers agreed to dropping fixups
and generalizing checks or generalizing fix up for convenience
of users frameworks are out of scope of this series.
Someone can work on these refactorings later on
(assuming someone is enough interested in it)
PS:
If you insist on fixing ram_size up, it would still be possible
to do so locally within board. One can take all RAM that user
provided and then create clamped memory region alias.
It's rather ugly but will do the job without affecting generic
code. (though I wouldn't volunteer to write up such a hack)
> Regards,
> BALATON Zoltan
>
> > }
> >
> > memory_region_allocate_system_memory(ram, NULL, "ppc4xx.sdram", ram_size);
> >
> > - size_left = ram_size;
> > - for (i = 0; i < nr_banks && size_left; i++) {
> > - for (j = 0; sdram_bank_sizes[j] != 0; j++) {
> > - bank_size = sdram_bank_sizes[j];
> > -
> > - if (bank_size <= size_left) {
> > - char name[32];
> > - snprintf(name, sizeof(name), "ppc4xx.sdram%d", i);
> > - memory_region_init_alias(&ram_memories[i], NULL, name, ram,
> > - base, bank_size);
> > - ram_bases[i] = base;
> > - ram_sizes[i] = bank_size;
> > - base += bank_size;
> > - size_left -= bank_size;
> > - break;
> > - }
> > - }
> > + for (i = 0; i <= last_bank; i++) {
> > + char name[32];
> > + snprintf(name, sizeof(name), "ppc4xx.sdram%d", i);
> > + memory_region_init_alias(&ram_memories[i], NULL, name, ram,
> > + ram_bases[i], ram_sizes[i]);
> > }
> > -
> > - return ram_size;
> > }
> >
> > /*****************************************************************************/
> > diff --git a/hw/ppc/sam460ex.c b/hw/ppc/sam460ex.c
> > index 437e214..ec7ac1f 100644
> > --- a/hw/ppc/sam460ex.c
> > +++ b/hw/ppc/sam460ex.c
> > @@ -324,9 +324,8 @@ static void sam460ex_init(MachineState *machine)
> > /* SDRAM controller */
> > /* put all RAM on first bank because board has one slot
> > * and firmware only checks that */
> > - machine->ram_size = ppc4xx_sdram_adjust(machine->ram_size, 1,
> > - ram_memories, ram_bases, ram_sizes,
> > - ppc460ex_sdram_bank_sizes);
> > + ppc4xx_sdram_prep(machine->ram_size, 1, ram_memories, ram_bases, ram_sizes,
> > + ppc460ex_sdram_bank_sizes);
> >
> > /* FIXME: does 460EX have ECC interrupts? */
> > ppc440_sdram_init(env, SDRAM_NR_BANKS, ram_memories,
> >
>
next prev parent reply other threads:[~2020-01-17 10:47 UTC|newest]
Thread overview: 212+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-15 15:06 [PATCH v2 00/86] refactor main RAM allocation to use hostmem backend Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 01/86] numa: remove deprecated -mem-path fallback to anonymous RAM Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 02/86] machine: introduce ram-memdev property Igor Mammedov
2020-01-15 15:56 ` Paolo Bonzini
2020-01-15 16:39 ` Igor Mammedov
2020-01-15 16:57 ` Philippe Mathieu-Daudé
2020-01-15 15:06 ` [PATCH v2 03/86] machine: alias -mem-path and -mem-prealloc into memory-foo backend Igor Mammedov
2020-01-15 18:54 ` Philippe Mathieu-Daudé
2020-01-16 12:20 ` Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 04/86] machine: introduce convenience MachineState::ram Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 05/86] initialize MachineState::ram in NUMA case Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 06/86] alpha:dp264: use memdev for RAM Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 07/86] arm:aspeed: convert valid RAM sizes to data Igor Mammedov
2020-01-16 1:45 ` Joel Stanley
2020-01-15 15:06 ` [PATCH v2 08/86] arm:aspeed: actually check RAM size Igor Mammedov
2020-01-16 8:41 ` Cédric Le Goater
2020-01-16 17:35 ` Igor Mammedov
2020-01-17 7:56 ` Cédric Le Goater
2020-01-20 14:21 ` [PATCH v3 07/84] hw/arm/aspeed: " Igor Mammedov
2020-01-20 15:33 ` Cédric Le Goater
2020-01-15 15:06 ` [PATCH v2 09/86] hw:aspeed: drop warning and bogus ram_size fixup Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 10/86] arm:aspeed: use memdev for RAM Igor Mammedov
2020-01-15 19:19 ` Philippe Mathieu-Daudé
2020-01-16 9:24 ` Cédric Le Goater
2020-01-16 18:17 ` Philippe Mathieu-Daudé
2020-01-15 15:06 ` [PATCH v2 11/86] arm:collie: " Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 12/86] arm:cubieboard: " Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 13/86] arm:digic_boards: " Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 14/86] arm:highbank: " Igor Mammedov
2020-01-15 19:18 ` Philippe Mathieu-Daudé
2020-01-15 15:06 ` [PATCH v2 15/86] arm:imx25_pdk: drop RAM size fixup Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 16/86] arm:imx25_pdk: use memdev for RAM Igor Mammedov
2020-01-15 19:18 ` Philippe Mathieu-Daudé
2020-01-15 15:06 ` [PATCH v2 17/86] arm:integratorcp: " Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 18/86] arm:kzm: drop RAM size fixup Igor Mammedov
2020-01-15 19:58 ` Chubb, Peter (Data61, Kensington NSW)
2020-01-16 17:26 ` [PATCH v3 " Igor Mammedov
2020-01-16 18:22 ` Philippe Mathieu-Daudé
2020-01-17 9:50 ` Igor Mammedov
2020-01-17 13:07 ` Philippe Mathieu-Daudé
2020-01-15 15:06 ` [PATCH v2 19/86] arm:kzm: use memdev for RAM Igor Mammedov
2020-01-15 20:09 ` Chubb, Peter (Data61, Kensington NSW)
2020-01-15 15:06 ` [PATCH v2 20/86] arm:mcimx6ul-evk: " Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 21/86] arm:mcimx7d-sabre: " Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 22/86] arm:mps2-tz: " Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 23/86] arm:mps2: " Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 24/86] arm:musicpal: " Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 25/86] arm:nseries: " Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 26/86] arm:omap_sx1: " Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 27/86] arm:palm: " Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 28/86] arm:raspi: " Igor Mammedov
2020-01-15 19:07 ` Philippe Mathieu-Daudé
2020-01-16 16:55 ` Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 29/86] arm:sabrelite: " Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 30/86] arm:sbsa-ref: " Igor Mammedov
2020-01-15 19:09 ` Philippe Mathieu-Daudé
2020-01-15 15:06 ` [PATCH v2 31/86] arm:versatilepb: " Igor Mammedov
2020-01-15 19:20 ` Philippe Mathieu-Daudé
2020-01-15 15:06 ` [PATCH v2 32/86] arm:vexpress: " Igor Mammedov
2020-01-15 19:21 ` Philippe Mathieu-Daudé
2020-01-15 15:06 ` [PATCH v2 33/86] arm:virt: " Igor Mammedov
2020-01-15 18:57 ` Philippe Mathieu-Daudé
2020-01-15 15:06 ` [PATCH v2 34/86] arm:xilinx_zynq: drop RAM size fixup Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 35/86] arm:xilinx_zynq: use memdev for RAM Igor Mammedov
2020-01-15 19:01 ` Philippe Mathieu-Daudé
2020-01-16 0:20 ` Alistair Francis
2020-01-15 15:06 ` [PATCH v2 36/86] arm:xlnx-versal-virt: " Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 37/86] arm:xlnx-zcu102: " Igor Mammedov
2020-01-15 19:21 ` Philippe Mathieu-Daudé
2020-01-16 0:19 ` Alistair Francis
2020-01-15 15:06 ` [PATCH v2 38/86] s390x:s390-virtio-ccw: " Igor Mammedov
2020-01-15 19:22 ` Philippe Mathieu-Daudé
2020-01-16 8:22 ` David Hildenbrand
2020-01-15 15:06 ` [PATCH v2 39/86] null-machine: " Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 40/86] cris:axis_dev88: " Igor Mammedov
2020-01-15 18:20 ` Philippe Mathieu-Daudé
2020-01-15 15:06 ` [PATCH v2 41/86] hw/hppa/machine: Correctly check the firmware is in PDC range Igor Mammedov
2020-01-15 18:15 ` BALATON Zoltan
2020-01-15 19:14 ` Philippe Mathieu-Daudé
2020-01-15 21:59 ` BALATON Zoltan
2020-01-16 15:14 ` Philippe Mathieu-Daudé
2020-01-16 16:34 ` Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 42/86] hw/hppa/machine: Restrict the total memory size to 3GB Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 43/86] hw/hppa/machine: Map the PDC memory region with higher priority Igor Mammedov
2020-01-15 15:06 ` [PATCH v2 44/86] hppa: use memdev for RAM Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 45/86] x86:microvm: " Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 46/86] x86:pc: " Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 47/86] lm32:lm32_boards: " Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 48/86] lm32:milkymist: " Igor Mammedov
2020-01-15 18:32 ` Philippe Mathieu-Daudé
2020-01-16 16:25 ` Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 49/86] m68k:an5206: " Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 50/86] m68k:mcf5208: " Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 51/86] m68k:next-cube: " Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 52/86] mips:boston-cube: " Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 53/86] mips:mips_fulong2e: drop RAM size fixup Igor Mammedov
2020-01-15 18:19 ` BALATON Zoltan
2020-01-16 14:12 ` [PATCH v3 " Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 54/86] mips:mips_fulong2e: use memdev for RAM Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 55/86] mips:mips_jazz: " Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 56/86] mips:mips_malta: " Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 57/86] mips:mips_mipssim: " Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 58/86] mips:mips_r4k: " Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 59/86] ppc:e500: drop RAM size fixup Igor Mammedov
2020-01-16 1:08 ` David Gibson
2020-01-15 15:07 ` [PATCH v2 60/86] ppc:e500: use memdev for RAM Igor Mammedov
2020-01-16 2:00 ` David Gibson
2020-01-15 15:07 ` [PATCH v2 61/86] ppc:mac_newworld: " Igor Mammedov
2020-01-16 2:01 ` David Gibson
2020-01-16 8:48 ` Mark Cave-Ayland
2020-01-15 15:07 ` [PATCH v2 62/86] ppc:mac_oldworld: " Igor Mammedov
2020-01-16 2:02 ` David Gibson
2020-01-16 8:48 ` Mark Cave-Ayland
2020-01-15 15:07 ` [PATCH v2 63/86] ppc:pnv: " Igor Mammedov
2020-01-16 2:03 ` David Gibson
2020-01-16 8:16 ` Cédric Le Goater
2020-01-15 15:07 ` [PATCH v2 64/86] ppc:ppc405_boards: add RAM size checks Igor Mammedov
2020-01-15 18:24 ` BALATON Zoltan
2020-01-16 16:19 ` [PATCH v3 " Igor Mammedov
2020-01-16 4:20 ` [PATCH v2 " David Gibson
2020-01-15 15:07 ` [PATCH v2 65/86] ppc:ppc405_boards: use memdev for RAM Igor Mammedov
2020-01-16 4:21 ` David Gibson
2020-01-15 15:07 ` [PATCH v2 66/86] ppc/{ppc440_bamboo,sam460x}: drop RAM size fixup Igor Mammedov
2020-01-15 21:33 ` BALATON Zoltan
2020-01-17 10:46 ` Igor Mammedov [this message]
2020-01-17 15:38 ` [PATCH v2 66/86] ppc/{ppc440_bamboo, sam460x}: " Philippe Mathieu-Daudé
2020-01-17 16:39 ` [PATCH v2 66/86] ppc/{ppc440_bamboo,sam460x}: " Igor Mammedov
2020-01-17 17:32 ` BALATON Zoltan
2020-01-20 15:14 ` [PATCH v3 64/84] ppc/{ppc440_bamboo,sam460ex}: " Igor Mammedov
2020-01-20 17:02 ` BALATON Zoltan
2020-01-21 8:26 ` Igor Mammedov
2020-01-21 16:41 ` [PATCH v3 64/82] " Igor Mammedov
2020-01-21 19:31 ` BALATON Zoltan
2020-01-22 8:56 ` Igor Mammedov
2020-01-22 16:01 ` BALATON Zoltan
2020-01-16 4:24 ` [PATCH v2 66/86] ppc/{ppc440_bamboo, sam460x}: " David Gibson
2020-01-15 15:07 ` [PATCH v2 67/86] ppc:ppc440_bamboo/sam460ex: use memdev for RAM Igor Mammedov
2020-01-15 21:36 ` BALATON Zoltan
2020-01-20 15:17 ` [PATCH v3 65/84] ppc/{ppc440_bamboo, sam460ex}: " Igor Mammedov
2020-01-21 16:43 ` [PATCH v3 65/82] " Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 68/86] ppc:prep: " Igor Mammedov
2020-01-16 4:26 ` David Gibson
2020-01-16 12:15 ` Igor Mammedov
2020-01-16 8:50 ` Mark Cave-Ayland
2020-01-15 15:07 ` [PATCH v2 69/86] ppc:spapr: " Igor Mammedov
2020-01-16 4:27 ` David Gibson
2020-01-15 15:07 ` [PATCH v2 70/86] ppc:virtex_ml507: remove unused arguments Igor Mammedov
2020-01-15 17:01 ` Philippe Mathieu-Daudé
2020-01-15 15:07 ` [PATCH v2 71/86] ppc:virtex_ml507: use memdev for RAM Igor Mammedov
2020-01-15 18:37 ` Philippe Mathieu-Daudé
2020-01-16 4:31 ` David Gibson
2020-01-16 12:12 ` Igor Mammedov
2020-01-16 4:35 ` David Gibson
2020-01-15 15:07 ` [PATCH v2 72/86] sparc:leon3: " Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 73/86] sparc:sun4m: " Igor Mammedov
2020-01-16 9:12 ` Mark Cave-Ayland
2020-01-15 15:07 ` [PATCH v2 74/86] sparc:niagara: " Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 75/86] remove no longer used memory_region_allocate_system_memory() Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 76/86] post conversion default_ram_id cleanup Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 77/86] exec: cleanup qemu_minrampagesize()/qemu_maxrampagesize() Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 78/86] exec: drop bogus mem_path from qemu_ram_alloc_from_fd() Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 79/86] make mem_path local variable Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 80/86] hostmem: introduce "prealloc-threads" property Igor Mammedov
2020-01-15 16:03 ` Paolo Bonzini
2020-01-15 17:15 ` [PATCH v3 " Igor Mammedov
2020-01-15 18:21 ` BALATON Zoltan
2020-01-16 12:45 ` [PATCH v3.1 " Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 81/86] hostmem: fix strict bind policy Igor Mammedov
2020-01-15 17:17 ` [PATCH v3 " Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 82/86] numa: forbid '-numa node, mem' for 5.0 and newer machine types Igor Mammedov
2020-01-15 15:34 ` [libvirt] " Peter Krempa
2020-01-15 16:52 ` Igor Mammedov
2020-01-16 10:42 ` Michal Privoznik
2020-01-16 12:37 ` Igor Mammedov
2020-01-16 13:03 ` Michal Privoznik
2020-01-16 13:49 ` Igor Mammedov
2020-01-16 13:06 ` Daniel P. Berrangé
2020-01-16 13:58 ` Igor Mammedov
2020-01-16 4:36 ` David Gibson
2020-01-15 15:07 ` [PATCH v2 83/86] tests:numa-test: make top level args dynamic and g_autofree(cli) cleanups Igor Mammedov
2020-01-16 16:35 ` Thomas Huth
2020-01-16 17:06 ` Igor Mammedov
2020-01-17 11:14 ` Thomas Huth
2020-01-17 13:33 ` Igor Mammedov
2020-01-17 13:52 ` Thomas Huth
2020-01-17 14:02 ` Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 84/86] tests:numa-test: use explicit memdev to specify node RAM Igor Mammedov
2020-01-15 15:07 ` [PATCH v2 85/86] numa: make exit() usage consistent Igor Mammedov
2020-01-16 15:40 ` Philippe Mathieu-Daudé
2020-01-16 16:43 ` Thomas Huth
2020-01-16 17:10 ` Igor Mammedov
2020-01-17 7:24 ` Thomas Huth
2020-01-17 8:06 ` Philippe Mathieu-Daudé
2020-01-17 8:26 ` Thomas Huth
2020-01-17 8:30 ` Thomas Huth
2020-01-15 15:07 ` [PATCH v2 86/86] numa: remove deprecated implicit RAM distribution between nodes Igor Mammedov
2020-01-15 16:42 ` [PATCH v2 00/86] refactor main RAM allocation to use hostmem backend no-reply
2020-01-15 16:43 ` no-reply
2020-01-15 17:09 ` Igor Mammedov
2020-01-15 19:13 ` Philippe Mathieu-Daudé
2020-01-15 23:23 ` Richard Henderson
2020-01-15 18:14 ` no-reply
2020-01-15 18:16 ` no-reply
2020-01-15 19:39 ` no-reply
2020-01-15 20:11 ` no-reply
2020-01-15 21:01 ` no-reply
2020-01-16 15:43 ` Philippe Mathieu-Daudé
2020-01-17 16:03 ` Igor Mammedov
2020-01-17 16:19 ` Philippe Mathieu-Daudé
2020-01-17 16:40 ` Igor Mammedov
2020-01-17 16:49 ` Philippe Mathieu-Daudé
2020-01-15 21:02 ` no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200117114629.5b245c83@redhat.com \
--to=imammedo@redhat.com \
--cc=balaton@eik.bme.hu \
--cc=david@gibson.dropbear.id.au \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).