[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] numa: Set default distance map if needed
From: |
Andrew Jones |
Subject: |
Re: [PATCH 1/2] numa: Set default distance map if needed |
Date: |
Wed, 13 Oct 2021 08:29:12 +0200 |
On Tue, Oct 12, 2021 at 03:53:21PM +0200, Igor Mammedov wrote:
...
> > >
> > > Instead of putting workaround in QEMU and then making them generic,
> > > I'd prefer to:
> > > 1. make QEMU to be able generate DT with memory-less nodes
> >
> > How? DT syntax doesn't allow this, because each node needs a unique
> > name which is derived from its base address, which an empty numa
> you are talking about memory@foo nodes, aren't you?
yes, memory@<address> nodes
...
> >
> > > or use ACPI tables which can
> > > describe memory-less NUMA nodes if fixing how DT is
> > > parsed unfeasible.
> >
> > We use ACPI already for our guests, but we also generate a DT (which
> > edk2 consumes). We can't generate a valid DT when empty numa nodes
> does edk2 actually uses numa info from QEMU?
>
edk2 doesn't use it, but I'd prefer we generate a DT which describes
the user's input and what the ACPI tables describe. Maybe someday it
won't be possible, but so far we've managed.
Thanks,
drew
- Re: [PATCH 1/2] numa: Set default distance map if needed, (continued)
- Re: [PATCH 1/2] numa: Set default distance map if needed, Andrew Jones, 2021/10/12
- Re: [PATCH 1/2] numa: Set default distance map if needed, Igor Mammedov, 2021/10/12
- Re: [PATCH 1/2] numa: Set default distance map if needed, Andrew Jones, 2021/10/12
- Re: [PATCH 1/2] numa: Set default distance map if needed, Igor Mammedov, 2021/10/12
- Re: [PATCH 1/2] numa: Set default distance map if needed, Gavin Shan, 2021/10/12
- Re: [PATCH 1/2] numa: Set default distance map if needed, Igor Mammedov, 2021/10/13
- Re: [PATCH 1/2] numa: Set default distance map if needed,
Andrew Jones <=