ks into a single function
without requiring the user to verify whether a search was successful.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V6:
-- Simplify of_prop_next_u32 invocation
-- Fix some spacing within expressions
-- Revise drc_type/drc_name checks in
pseries/drc-info: Provide parallel routines to convert between
drc_index and CPU numbers at runtime, using the older device-tree
properties ("ibm,drc-indexes", "ibm,drc-names", "ibm,drc-types"
and "ibm,drc-power-domains"), or the new property "ibm,dr
w property is present in the device tree.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/firmware.h |3 ++-
arch/powerpc/include/asm/prom.h |1 +
arch/powerpc/platforms/pseries/firmware.c |1 +
3 files changed, 4 insertions(+), 1 d
this case, we are indicating that the host system
can support the new device tree structure "ibm,drc-info".
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (4):
powerpc/firmware: Add definitions for new drc-info firmware feature.
pseries/drc-info
See below.
On 11/30/2017 01:51 PM, Nathan Fontenot wrote:
>
>
> On 11/28/2017 05:07 PM, Michael Bringmann wrote:
>> rpadlpar_core.c: Provide parallel routines to search the older device-
>> tree properties ("ibm,drc-indexes", "ibm,drc-names", &quo
See below.
On 11/30/2017 01:28 PM, Nathan Fontenot wrote:
> On 11/28/2017 05:07 PM, Michael Bringmann wrote:
>> pseries/drc-info: Provide parallel routines to convert between
>> drc_index and CPU numbers at runtime, using the older device-tree
>> properties ("ibm,dr
this case, we are indicating that the host system
can support the new device tree structure "ibm,drc-info".
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (4):
powerpc/firmware: Add definitions for new drc-info firmware feature.
pseries/drc-info
prom_init.c: Enable support for new DRC device tree property
"ibm,drc-info" in initial handshake between the Linux kernel and
the front end processor.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/kernel/prom_init.c |1 +
1 file changed, 1 in
ks into a single function
without requiring the user to verify whether a search was successful.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V5:
-- Simplify of_prop_next_u32 invocation
-- Fix some spacing within arguments
---
drivers/pci/hotplug/rpadlpar_core.c |
pseries/drc-info: Provide parallel routines to convert between
drc_index and CPU numbers at runtime, using the older device-tree
properties ("ibm,drc-indexes", "ibm,drc-names", "ibm,drc-types"
and "ibm,drc-power-domains"), or the new property "ibm,dr
w property is present in the device tree.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/firmware.h |3 ++-
arch/powerpc/include/asm/prom.h |1 +
arch/powerpc/platforms/pseries/firmware.c |1 +
3 files changed, 4 insertions(+), 1 d
... arch_update_cpu_topology ... find_cpu_nid
... try_online_node. This patch ensures that the powerpc node will
be initialized as early as possible, even if it was memoryless and
CPU-less at the point when we are trying to hot-add a new CPU to it.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.
HMC hot-add/hot-remove operations, we have been able
to add and remove CPUs to any possible node without failures. HMC
operations involve a degree self-serialization, though.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V8:
-- Clarify 'resources' as CPUs in
powerpc/mm/numa.c:initmem_init().
If the "ibm,max-associativity-domains" property is not present at boot,
no operation will be performed to define or enable additional nodes, or
enable the above 'nodes_and()'.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V8:
powerpc/nodes: Ensure enough nodes avail for operations
powerpc/initnodes: Ensure nodes initialized for hotplug
hotplug/cpu: Fix crash with memoryless nodes
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (3):
powerpc/nodes: Ensure enough nodes
and assistance.
Michael
On 11/16/2017 11:50 AM, Michael Bringmann wrote:
> The migration of LPARs across Power systems affects many attributes
> including that of the associativity of memory blocks and CPUs. The
> patches in this set execute when a system is coming up fresh upon a
&g
pseries/drc-info: Provide parallel routines to convert between
drc_index and CPU numbers at runtime, using the older device-tree
properties ("ibm,drc-indexes", "ibm,drc-names", "ibm,drc-types"
and "ibm,drc-power-domains"), or the new property "ibm,dr
prom_init.c: Enable support for new DRC device tree property
"ibm,drc-info" in initial handshake between the Linux kernel and
the front end processor.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/kernel/prom_init.c |1 +
1 file changed, 1 in
ks into a single function
without requiring the user to verify whether a search was successful.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V5:
-- Simplify of_prop_next_u32 invocation
-- Fix some spacing within arguments
---
drivers/pci/hotplug/rpadlpar_core.c |
w property is present in the device tree.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/firmware.h |3 ++-
arch/powerpc/include/asm/prom.h |1 +
arch/powerpc/platforms/pseries/firmware.c |1 +
3 files changed, 4 insertions(+), 1 d
this case, we are indicating that the host system
can support the new device tree structure "ibm,drc-info".
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (4):
powerpc/firmware: Add definitions for new drc-info firmware feature.
pseries/drc-info
See below.
On 11/20/2017 10:50 AM, Nathan Fontenot wrote:
> On 11/16/2017 11:28 AM, Michael Bringmann wrote:
>> On powerpc systems with shared configurations of CPUs and memory and
>> memoryless nodes at boot, an event ordering problem was observed on
>> a SLES12 build platf
See below.
On 11/20/2017 10:45 AM, Nathan Fontenot wrote:
> On 11/16/2017 11:27 AM, Michael Bringmann wrote:
>> On powerpc systems which allow 'hot-add' of CPU, it may occur that
>> the new resources are to be inserted into nodes that were not used
>> for memory resou
See below.
On 11/22/2017 05:17 AM, Michael Ellerman wrote:
> Nathan Fontenot <nf...@linux.vnet.ibm.com> writes:
>> On 11/16/2017 11:24 AM, Michael Bringmann wrote:
> ...
>>> diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
>>> index eb604b3..334a
See below.
On 11/20/2017 10:33 AM, Nathan Fontenot wrote:
>
>
> On 11/16/2017 11:24 AM, Michael Bringmann wrote:
>> On powerpc systems which allow 'hot-add' of CPU or memory resources,
>> it may occur that the new resources are to be inserted into nodes
>> that were n
n routine for affinity updates.
>
> -Nathan
>
> On 11/16/2017 11:51 AM, Michael Bringmann wrote:
>> postmigration/memory: Now apply changes to the associativity of memory
>> blocks described by the 'ibm,dynamic-memory-v2' property regarding
>> the topology of LPARS i
See below.
On 11/20/2017 10:04 AM, Nathan Fontenot wrote:
> On 11/16/2017 11:50 AM, Michael Bringmann wrote:
>> hotplug/mobility: Recognize more changes to the associativity of
>> memory blocks described by the 'ibm,dynamic-memory' and 'cpu'
>> properties when processing
See below.
On 11/20/2017 09:38 AM, Nathan Fontenot wrote:
> On 11/16/2017 02:11 PM, Michael Bringmann wrote:
>> rpadlpar_core.c: Provide parallel routines to search the older device-
>> tree properties ("ibm,drc-indexes", "ibm,drc-names", "ibm,
See below.
On 11/20/2017 09:35 AM, Nathan Fontenot wrote:
> On 11/16/2017 02:11 PM, Michael Bringmann wrote:
>> pseries/drc-info: Provide parallel routines to convert between
>> drc_index and CPU numbers at runtime, using the older device-tree
>> properties ("ibm,dr
prom_init.c: Enable support for new DRC device tree property
"ibm,drc-info" in initial handshake between the Linux kernel and
the front end processor.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/kernel/prom_init.c |1 +
1 file changed, 1 in
ks into a single function
without requiring the user to verify whether a search was successful.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V4:
-- Rename of_one_drc_info to of_read_drc_info_cell
-- Fix some spacing within arguments
---
drivers/pci/hotplug/rpadlp
pseries/drc-info: Provide parallel routines to convert between
drc_index and CPU numbers at runtime, using the older device-tree
properties ("ibm,drc-indexes", "ibm,drc-names", "ibm,drc-types"
and "ibm,drc-power-domains"), or the new property "ibm,dr
w property is present in the device tree.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/firmware.h |3 ++-
arch/powerpc/include/asm/prom.h |1 +
arch/powerpc/platforms/pseries/firmware.c |1 +
3 files changed, 4 insertions(+), 1 d
this case, we are indicating that the host system
can support the new device tree structure "ibm,drc-info".
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (4):
powerpc/firmware: Add definitions for new drc-info firmware feature.
pseries/drc-info
>> +
>> +static int rpaphp_check_drc_props_v2(struct device_node *dn, char *drc_name,
>> +char *drc_type, unsigned int my_index)
>> +{
>> +struct property *info;
>> +unsigned int entries;
>> +struct of_drc_info drc;
>> +void *value;
>
> This should be
, the memory block may be removed,
added, or updated depending upon the state of the new device tree
property and differences from the migrated value of the property.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V2:
-- Remove unnecessary spacing changes from patch.
-- I
he process of the 're-add', the appropriate entry of the property
'ibm,dynamic-memory' would be updated as well as any other applicable
system data structures.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V2:
-- Remove unnecessary spacing changes
---
arch/powerpc/p
' operations.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V2:
-- Try to improve patch header documentation.
---
arch/powerpc/platforms/pseries/hotplug-cpu.c| 64 +++
arch/powerpc/platforms/pseries/hotplug-memory.c |6 ++
arch/p
as
if they have been newly hot-added into the target system.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (3):
hotplug/mobility: Apply assoc lookup updates for Post Migration Topo
postmigration/memory: Review assoc lookup array changes
postmigration/
See below.
On 11/16/2017 11:34 AM, Nathan Fontenot wrote:
> On 11/15/2017 12:09 PM, Michael Bringmann wrote:
>> pseries/drc-info: Provide parallel routines to convert between
>> drc_index and CPU numbers at runtime, using the older device-tree
>> properties ("ibm,dr
On 11/16/2017 11:06 AM, Nathan Fontenot wrote:
> On 11/15/2017 12:09 PM, Michael Bringmann wrote:
>> Firmware Features: Define new bit flag representing the presence of
>> new device tree property "ibm,drc-info". The flag is used to tell
>> the front end pro
>>>
+ if ((NODE_DATA(nid) == NULL) ||
+ (NODE_DATA(nid)->node_spanned_pages == 0)) {
+ if (try_online_node(nid))
>>>
>>> .. to do something like online a node.
>>
>> We have changed the function name to 'find_cpu_nid'.
>
> Ok, but I would still not expect
... arch_update_cpu_topology ... find_cpu_nid
... try_online_node. This patch ensures that the powerpc node will
be initialized as early as possible, even if it was memoryless and
CPU-less at the point when we are trying to hot-add a new CPU to it.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.
CPUs to any possible node without failures. HMC
operations involve a degree self-serialization, though.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V6:
-- Add some needed node initialization to runtime code that maps
CPUs based on VPHN associativity
-- Add
powerpc/mm/numa.c:initmem_init().
If the "ibm,max-associativity-domains" property is not present at boot,
no operation will be performed to define or enable additional nodes, or
enable the above 'nodes_and()'.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V6:
-- Remov
To: linuxppc-dev@lists.ozlabs.org
Cc: Michael Ellerman <m...@ellerman.id.au>
Cc: Michael Bringmann <m...@linux.vnet.ibm.com>
Cc: John Allen <jal...@linux.vnet.ibm.com>
Cc: Nathan Fontenot <nf...@linux.vnet.ibm.com>
Cc: Tyrel Datwyler <tyr...@linux.vnet.ibm.co
powerpc/nodes: Ensure enough nodes avail for operations
powerpc/initnodes: Ensure nodes initialized for hotplug
hotplug/cpu: Fix crash with memoryless nodes
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (3):
powerpc/nodes: Ensure enough nodes
Hello:
See below.
On 10/16/2017 07:54 AM, Michael Ellerman wrote:
> Michael Bringmann <m...@linux.vnet.ibm.com> writes:
>
>> powerpc/hotplug: On systems like PowerPC which allow 'hot-add' of CPU,
>> it may occur that the new resources are to be inserted into nod
pseries/drc-info: Provide parallel routines to convert between
drc_index and CPU numbers at runtime, using the older device-tree
properties ("ibm,drc-indexes", "ibm,drc-names", "ibm,drc-types"
and "ibm,drc-power-domains"), or the new property "ibm,dr
prom_init.c: Enable support for new DRC device tree property
"ibm,drc-info" in initial handshake between the Linux kernel and
the front end processor.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/kernel/prom_init.c |1 +
1 file changed, 1 in
w property is present in the device tree.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/firmware.h |3 ++-
arch/powerpc/include/asm/prom.h |1 +
arch/powerpc/platforms/pseries/firmware.c |1 +
3 files changed, 4 insertions(+), 1 d
ks into a single function
without requiring the user to verify whether a search was successful.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V3:
-- Now passing more values by structure reducing use of local
declarations / initialization.
-- Improve some code
this case, we are indicating that the host system
can support the new device tree structure "ibm,drc-info".
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (4):
powerpc/firmware: Add definitions for new drc-info firmware feature.
pseries/drc-info
Hi Michael,
>
> Michael Bringmann <m...@linux.vnet.ibm.com> writes:
>> pseries/findnodes: On pseries systems which allow 'hot-add' of
>
> This isn't a powerpc or pseries patch, so the subject/prefix is wrong.
>
> Also because you're changing generic code you need to pr
requires us to compare the 'aa_index'
values of the old/new properties and 'readd' any block for which the
setting has changed.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/prom.h | 12 ++
arch/powerpc/platforms/pseries/hotplug-me
he process of the 're-add', the appropriate entry of the property
'ibm,dynamic-memory' would be updated as well as any other applicable
system data structures.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/platforms/pseries/hotplug-memory.c | 123 +++
requires us to compare the aa_index values of the
old/new properties and 'readd' any block for which the setting has
changed.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/platforms/pseries/hotplug-cpu.c| 64 +++
arch/powerpc/platforms/p
layers to reset the associativity of the blocks and any
other related data structures.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (3):
powerpc/hotplug/memory: Apply assoc mem updates from 'ibm,dynamic-memory'
Post LPAR Migration
powerpc/hotplug/memory:
. This patch fixes some problems encountered at
runtime with configurations that support memory-less nodes, or that
hot-add CPUs into nodes that are memoryless during system execution
after boot.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V6:
-- Add some neede
performed
to define or enable additional nodes.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V6:
-- Remove some node initialization/allocation from boot setup
---
arch/powerpc/mm/numa.c | 40 +---
1 file changed, 37 insertions
pseries/nodes: Ensure enough nodes avail for operations
pseries/initnodes: Ensure nodes initialized for hotplug
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (2):
pseries/nodes: Ensure enough nodes avail for operations
pseries/initnodes: Ensure
. This patch fixes some problems encountered at
runtime with configurations that support memory-less nodes, or that
hot-add resources during system execution after boot.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V5:
-- Reorganize code used to associatively map CPUs to
performed
to define or enable additional nodes.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V5:
-- Remove unnecessary error check
---
arch/powerpc/mm/numa.c | 38 +++---
1 file changed, 35 insertions(+), 3 deletions(-)
diff --git a
pseries/nodes: Ensure enough nodes avail for operations
pseries/initnodes: Ensure nodes initialized for hotplug
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (2):
pseries/nodes: Ensure enough nodes avail for operations
pseries/initnodes: Ensure
From: Michael Bringmann <m...@linux.vnet.ibm.com>
To: linuxppc-dev@lists.ozlabs.org
To: linux-ker...@vger.kernel.org
Cc: Michael Bringmann <m...@linux.vnet.ibm.com>
Cc: Nathan Fontenot <nf...@linux.vnet.ibm.com>
Cc: Michael Ellerman <m...@ellerman.id.au>
Cc: John Allen &l
To: linuxppc-dev@lists.ozlabs.org
To: linux-ker...@vger.kernel.org
Cc: Michael Ellerman <m...@ellerman.id.au>
Cc: Michael Bringmann <m...@linux.vnet.ibm.com>
Cc: John Allen <jal...@linux.vnet.ibm.com>
Cc: Nathan Fontenot <nf...@linux.vnet.ibm.com>
Subject: [PATCH V3 2/2] p
performed
to define or enable additional nodes.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/mm/numa.c | 39 ---
1 file changed, 36 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa
pseries/nodes: Ensure enough nodes avail for operations
pseries/initnodes: Ensure nodes initialized for hotplug
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (2):
pseries/nodes: Ensure enough nodes avail for operations
pseries/initnodes: Ensure
. This patch fixes some problems encountered at
runtime with configurations that support memory-less nodes, or that
hot-add resources during system execution after boot.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/mm/numa.c | 27 ---
1 file c
that are allocating node-specific memory at boot, and allows such
references to find available memory in another node.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
block/blk-mq-cpumap.c |3 ++-
mm/page_alloc.c |1 +
2 files changed, 3 insertions(+), 1 deletion(-)
performed
to define or enable additional nodes.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/mm/numa.c | 39 ---
1 file changed, 36 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa
pseries/nodes: Ensure enough nodes avail for operations
pseries/findnodes: Find nodes with memory when booting memoryless nodes
pseries/initnodes: Ensure nodes initialized for hotplug
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (3):
pseries/nodes:
On 10/17/2017 12:02 PM, Nathan Fontenot wrote:
> On 10/17/2017 11:14 AM, Michael Bringmann wrote:
>> See below.
>>
>> On 10/16/2017 07:33 AM, Michael Ellerman wrote:
>>> Michael Bringmann <m...@linux.vnet.ibm.com> writes:
>>>
>>>> po
See below.
On 10/16/2017 07:33 AM, Michael Ellerman wrote:
> Michael Bringmann <m...@linux.vnet.ibm.com> writes:
>
>> powerpc/nodes: On systems like PowerPC which allow 'hot-add' of CPU
>
> This is a powerpc-only patch, so saying "systems like PowerPC" is
>
On 10/16/2017 07:54 AM, Michael Ellerman wrote:
> Michael Bringmann <m...@linux.vnet.ibm.com> writes:
>
>> powerpc/hotplug: On systems like PowerPC which allow 'hot-add' of CPU,
>> it may occur that the new resources are to be inserted into nodes
>> that were
. This patch fixes some problems encountered at
runtime with configurations that support memory-less nodes, but which
allow CPUs to be added at and after boot.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/mm/numa.c | 17 +++--
1 file chang
able additional nodes.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/mm/numa.c | 47 +++
1 file changed, 47 insertions(+)
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index ec098b3..b385cd0 10064
rent configurations
of PowerPC resources may need to be supported depending upon the
environment. This patch fixes some problems encountered at runtime
with configurations that support memory-less nodes, but which allow
CPUs to be added at and after boot.
Signed-off-by: Michael Bringmann <m...@linux
t-server#s" in the system device tree.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/cputhreads.h|2 +
arch/powerpc/kernel/prom.c | 76 ++
arch/powerpc/kernel/setup-common.c | 30 +++
prom_init.c: Enable support for new DRC device tree property
"ibm,drc-info" in initial handshake between the Linux kernel and
the front end processor.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/kernel/prom_init.c |1 +
1 file changed, 1 in
ks into a single function
without requiring the user to verify whether a search was successful.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V3:
-- Some code compression and passing values by structure
---
drivers/pci/hotplug/rpadlpar_core.c | 13 ++--
drivers/pci/
pseries/drc-info: Provide parallel routines to convert between
drc_index and CPU numbers at runtime, using the older device-tree
properties ("ibm,drc-indexes", "ibm,drc-names", "ibm,drc-types"
and "ibm,drc-power-domains"), or the new property "ibm,dr
is present in the device tree.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/firmware.h |3 ++-
arch/powerpc/include/asm/prom.h |1 +
arch/powerpc/platforms/pseries/firmware.c |1 +
3 files changed, 4 insertions(+), 1 d
this case, we are indicating that the host system
can support the new device tree structure "ibm,drc-info".
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (4):
powerpc/firmware: Add definitions for new drc-info firmware feature.
pseries/drc-info
().
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V14:
-- More code cleanup
---
arch/powerpc/mm/numa.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index 32f5f8d..ec098b3 100644
---
value to better ensure that the CPU topology is
detected and configured sooner.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V14:
-- Restore accidentally deleted reset of topology timer.
---
arch/powerpc/include/asm/topology.h |8
arch/powe
-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V14:
-- Code cleanup to reduce patch sizes
---
arch/powerpc/mm/numa.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index 3ae031d..5f5ff46 100644
---
for the CPU.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V14:
-- Cleanup some duplicate code. Change a trace stmt to debug.
---
arch/powerpc/mm/numa.c | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/mm/nu
is detected and configured sooner.
Also, fix an end-of-updates processing problem observed occasionally
in numa_update_cpu_topology().
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (4):
powerpc/vphn: Update CPU topology when VPHN enabled
powerpc/vphn: I
updates[i-1].next = NULL;
Link all of the updates together, and NULL the link pointer in the
last entry to be filled in. No worries about invalid comparisons.
Reduced code.
Michael
On 09/07/2017 08:35 AM, Nathan Fontenot wrote:
> On 09/06/2017 05:03 PM, Michael Bringmann wrote:
>>
&
On 09/06/2017 09:45 AM, Nathan Fontenot wrote:
> On 09/01/2017 10:48 AM, Michael Bringmann wrote:
>> powerpc/vphn: On Power systems with shared configurations of CPUs
>> and memory, there are some issues with the association of additional
>> CPUs and memory to nodes when
().
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/mm/numa.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index 3a5b334..fccf23f 100644
--- a/arch/powerpc/mm/numa.c
+++ b/arch/powerpc/mm/numa.c
@@ -
value to better ensure that the CPU topology is
detected and configured sooner.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/topology.h |8
arch/powerpc/mm/numa.c | 21 -
arch/powerpc/pla
-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V13:
-- Split patch to improve review
---
arch/powerpc/mm/numa.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index 312f6ee..c08d736 100644
--- a/arch/p
for the CPU.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V13:
-- Split patch for improved review
---
arch/powerpc/mm/numa.c | 31 ---
1 file changed, 28 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/mm/numa.c b/arch/powe
is detected and configured sooner.
Also, fix an end-of-updates processing problem observed occasionally
in numa_update_cpu_topology().
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (4):
powerpc/vphn: Update CPU topology when VPHN enabled
powerpc/vphn: I
is detected and configured sooner.
Also, fix an end-of-updates processing problem observed occasionally
in numa_update_cpu_topology().
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V12:
-- Reorganize some of the updates to minimize kernel impact.
-- Improve documen
powerpc/vphn: Reorganize source code in order to better distinguish the
VPHN code from the NUMA code better, by moving relevant functions to
appropriate files.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/topology.h|6
arch/powerpc/mm/
tion,
nodes_and(node_possible_map, node_possible_map, node_online_map);
presently seen in the function arch/powerpc/mm/numa.c:initmem_init().
If the property is not present at boot, no operation will be performed
to define or enable additional nodes.
Signed-off-by: Michael Bringmann <
information provided by the pHyp.
Also, update initialization checks for device-tree attributes to
independently recognize PRRN or VPHN usage.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V11:
-- Cleanup presentation of patch changes
---
arch/powerpc/include/asm/topo
301 - 400 of 598 matches
Mail list logo