v2".
The new element structures, "ibm,dynamic-memory-v2" and "ibm,drc-info",
should completely replace the previously used structures at execution.
Signed-off-by: Michael Bringmann
---
diff --git a/arch/powerpc/include/asm/firmware.h
b/arch/powerpc/include/asm/firmware.h
in
s to one or both of the device tree structures "ibm,drc-info"
and "ibm,dynamic-memory-v2".
The new element structures, "ibm,dynamic-memory-v2" and "ibm,drc-info",
should completely replace the previously used structures at execution.
Signed-off-by: Michael Bringma
v2".
The new element structures, "ibm,dynamic-memory-v2" and "ibm,drc-info",
should completely replace the previously used structures at execution.
Signed-off-by: Michael Bringmann
---
diff --git a/arch/powerpc/include/asm/firmware.h
b/arch/powerpc/include/asm/firmware.h
in
v2".
The new element structures, "ibm,dynamic-memory-v2" and "ibm,drc-info",
should completely replace the previously used structures at execution.
Signed-off-by: Michael Bringmann
---
diff --git a/arch/powerpc/include/asm/firmware.h
b/arch/powerpc/include/asm/firmware.h
in
On 03/15/2016 12:15 AM, linuxppc-dev-requ...@lists.ozlabs.org wrote:
> Documentation/devicetree/bindings ? or link to PAPR where it's specified?
>
> --
> Stewart Smith
< OPAL Architect, IBM.
Here's the link to the Notes PAPR database's issue:
notes://D01DBR12/86256680004635D2/565907e362ce41e
2018
]
[Replace patch submission:
Subject: [PATCH] powerpc/topology: Update numa mask when cpu node mapping
changes
From: Srikar Dronamraju
Date: Wed Oct 10 15:24:46 AEDT 2018
]
Signed-off-by: Michael Bringmann
---
Changes in v04:
-- Revise tests in topology_timer_fn to check vphn_enabled b
On 08/08/2018 09:02 AM, Michael Ellerman wrote:
> Michael Bringmann writes:
>> diff --git a/arch/powerpc/platforms/pseries/mobility.c
>> b/arch/powerpc/platforms/pseries/mobility.c
>> index e245a88..efc9442 100644
>> --- a/arch/powerpc/platforms/pseries/mobility.c
>
I will update the header files 'of_private.h' and 'of.h' and repost.
Michael
On 08/08/2018 10:37 AM, Michael Bringmann wrote:
> On 08/08/2018 09:02 AM, Michael Ellerman wrote:
>> Michael Bringmann writes:
>>> diff --git a/arch/powerpc/platforms/pseries/mo
On 08/10/2018 08:21 AM, Srikar Dronamraju wrote:
> * Michael Ellerman [2018-08-10 21:42:28]:
>
>> Srikar Dronamraju writes:
>>> diff --git a/arch/powerpc/include/asm/topology.h
>>> b/arch/powerpc/include/asm/topology.h
>>> index 16b077801a5f..70f2d2285ba7 100644
>>> --- a/arch/powerpc/include/as
> e9230008 2fa9
419e0278
[ 2571.674176] ---[ end trace 0c7939657d5522df ]---
Signed-off-by: Michael Bringmann
---
Changes in patch:
-- Revised patch description.
---
arch/powerpc/mm/numa.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/mm/numa.c b/arch/p
CPUs
https://lists.ozlabs.org/pipermail/linuxppc-dev/2018-July/176301.html
as we think it is covered now by other code.
Thanks for your attention and assistance.
Michael
On 09/26/2018 07:13 AM, Michael Ellerman wrote:
> On Thu, 2018-09-20 at 16:45:13 UTC, Michael Bringmann wrote:
>&
though.
Very sorry for the inconvenience.
Michael
On 09/26/2018 09:44 AM, Michael Bringmann wrote:
> Hello, Michael:
> Please look at v03 of the patch set which was posted
> just on 09/25/2018. We had a last minute brainstorm of how
> to simplify the code after the v02 REPOST
uilds upon previous enhancements that scan the device-tree
"ibm,dynamic-memory" properties using the base LMB array, and a copy
derived from the updated properties.
Signed-off-by: Michael Bringmann
---
arch/powerpc/platforms/pseries/hotplug-memory.c |3 ++-
1 file changed, 2 inser
-tree analysis of updates by RTAS events
analyzed by 'migation_store' during post-migration processing. It
will be used for memory updates, initially.
Signed-off-by: Michael Bringmann
---
arch/powerpc/include/asm/rtas.h |1 +
arch/powerpc/mm/drmem.c |1 +
2 files
letely new structures.
* Combine common code for parsing and evaluating memory description
properties based on the DRMEM LMB array model to greatly simplify
extension from the older property 'ibm,dynamic-memory' to the new
property model of 'ibm,dynamic-memory-v2'.
Signed
d into the target system.
This code builds upon features introduced in a previous patch set
that updates CPUs for affinity changes that may occur during LPM.
Signed-off-by: Michael Bringmann
Michael Bringmann (5):
powerpc/drmem: Export 'dynamic-memory' loader
powerpc/drmem: Add in
array itself
without requiring the allocation and maintainance of additional
data structures.
Signed-off-by: Michael Bringmann
---
arch/powerpc/include/asm/drmem.h | 18 ++
arch/powerpc/mm/drmem.c |2 ++
2 files changed, 20 insertions(+)
diff --git a/arch/powerpc
to replace usages of dt_root_addr_cells, and
dt_mem_next_cell, as these are only available at first boot.
Signed-off-by: Michael Bringmann
---
arch/powerpc/include/asm/drmem.h | 15
arch/powerpc/mm/drmem.c | 75 --
2 files changed,
he device-tree to be applied prior to accepting and applying any
PRRN requests.
For tracking purposes, pr_info notices are added to the functions
start_topology_update() and stop_topology_update() of 'numa.c'.
Signed-off-by: Michael Bringmann
---
arch/powerpc/kernel/rtas.c
the nid as currently interpreted
from the device tree.
Signed-off-by: Michael Bringmann
---
mm/memory_hotplug.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index 38d94b7..e48a4d0 100644
--- a/mm/memory_hotplug.c
+++ b/mm
See below.
On 10/01/2018 06:20 PM, Tyrel Datwyler wrote:
> On 10/01/2018 01:27 PM, Michal Hocko wrote:
>> On Mon 01-10-18 13:56:25, Michael Bringmann wrote:
>>> In some LPAR migration scenarios, device-tree modifications are
>>> made to the affinity of the memory i
On 10/02/2018 09:59 AM, Michal Hocko wrote:
> On Tue 02-10-18 09:51:40, Michael Bringmann wrote:
> [...]
>> When the device-tree affinity attributes have changed for memory,
>> the 'nid' affinity calculated points to a different node for the
>> memory blo
On 10/02/2018 11:04 AM, Michal Hocko wrote:
> On Tue 02-10-18 10:14:49, Michael Bringmann wrote:
>> On 10/02/2018 09:59 AM, Michal Hocko wrote:
>>> On Tue 02-10-18 09:51:40, Michael Bringmann wrote:
>>> [...]
>>>> When the device-tree affinity attributes
On 10/02/2018 03:56 PM, Tyrel Datwyler wrote:
> On 10/01/2018 05:59 AM, Michael Bringmann wrote:
>> powerpc/drmem: Export many of the functions of DRMEM to parse
>> "ibm,dynamic-memory" and "ibm,dynamic-memory-v2" during hotplug
>> operations and for Pos
On 10/02/2018 02:45 PM, Tyrel Datwyler wrote:
> On 10/02/2018 11:13 AM, Michael Bringmann wrote:
>>
>>
>> On 10/02/2018 11:04 AM, Michal Hocko wrote:
>>> On Tue 02-10-18 10:14:49, Michael Bringmann wrote:
>>>> On 10/02/2018 09:59 AM, Michal Hocko wrot
On 10/02/2018 04:03 PM, Tyrel Datwyler wrote:
> On 10/01/2018 05:59 AM, Michael Bringmann wrote:
>> migration/memory: This patch adds a new pseries hotplug action
>> for CPU and memory operations, PSERIES_HP_ELOG_ACTION_READD_MULTIPLE.
>> This is a variant of the READD operati
On 10/02/2018 04:08 PM, Tyrel Datwyler wrote:
> On 10/01/2018 06:00 AM, Michael Bringmann wrote:
>> migration/memory: This patch adds code that recognizes changes to
>> the associativity of memory blocks described by the device-tree
>> properties in order to drive equivalent
On 10/03/2018 06:05 PM, Tyrel Datwyler wrote:
> On 10/03/2018 06:27 AM, Michael Bringmann wrote:
>> On 10/02/2018 02:45 PM, Tyrel Datwyler wrote:
>>> On 10/02/2018 11:13 AM, Michael Bringmann wrote:
>>>>
>>>>
>>>> On 10/02/2018 11:04 AM, Micha
ode
in the memory_add_physaddr_to_nid -> hot_add_scn_to_nid functions
used by powerpc DLPAR memory operations to compute the node of a
emory address based on the device-tree affinity configuration
after migration. This occurs before try_offline_node is used by
remove_memory.
Signed-off-by: Michael Bringma
he device-tree to be applied prior to accepting and applying any
PRRN requests.
For tracking purposes, pr_info notices are added to the functions
start_topology_update() and stop_topology_update() of 'numa.c'.
Signed-off-by: Michael Bringmann
---
Changes in v02:
-- Rebase to lates
d into the target system.
This code builds upon features introduced in a previous patch set
that updates CPUs for affinity changes that may occur during LPM.
Signed-off-by: Michael Bringmann
Michael Bringmann (5):
powerpc/drmem: Export 'dynamic-memory' loader
powerpc/drmem: Add in
to replace usages of dt_root_addr_cells, and
dt_mem_next_cell, as these are only available at first boot.
Signed-off-by: Michael Bringmann
---
arch/powerpc/include/asm/drmem.h | 15
arch/powerpc/mm/drmem.c | 75 --
2 files changed,
array itself
without requiring the allocation and maintainance of additional
data structures.
Signed-off-by: Michael Bringmann
---
Changes in v04:
-- Add another initialization of 'lmb->internal_flags' to
init_drmem_v2_lmbs.
---
arch/powerpc/include/asm/d
-tree analysis of updates by RTAS events
analyzed by 'migation_store' during post-migration processing. It
will be used for memory updates, initially.
Signed-off-by: Michael Bringmann
---
Changes in v04:
-- Move init of 'lmb->internal_flags' in init_drmem_v2_lmbs to
pr
analyzed by 'migation_store' during
post-migration processing. It will be used for memory updates,
initially.
Signed-off-by: Michael Bringmann
---
Changes in v04:
-- Move dlpar_memory_readd_multiple() function definition and use
into previous patch along with action constant
uilds upon previous enhancements that scan the device-tree
"ibm,dynamic-memory" properties using the base LMB array, and a copy
derived from the updated properties.
Signed-off-by: Michael Bringmann
---
arch/powerpc/platforms/pseries/hotplug-memory.c |3 ++-
1 file changed, 2 inser
On 10/10/2018 11:54 AM, Nathan Fontenot wrote:
> On 10/09/2018 03:36 PM, Michael Bringmann wrote:
>> powerpc/drmem: Export many of the functions of DRMEM to parse
>> "ibm,dynamic-memory" and "ibm,dynamic-memory-v2" during hotplug
>> operations and for Pos
On 10/10/2018 11:59 AM, Nathan Fontenot wrote:
> On 10/09/2018 03:36 PM, Michael Bringmann wrote:
>> migration/memory: This patch adds a new pseries hotplug action
>> for CPU and memory operations, PSERIES_HP_ELOG_ACTION_READD_MULTIPLE.
>> This is a variant of the READD ope
On 10/10/2018 12:24 PM, Nathan Fontenot wrote:
> On 10/09/2018 03:37 PM, Michael Bringmann wrote:
>
>> +static void pseries_update_ala_memory_aai(int aa_index)
>> +{
>> +struct drmem_lmb *lmb;
>> +
>> +/* Readd all LMBs which were previously using the
kernel/drivers/of/fdt.c to the mix.
On 10/10/2018 12:34 PM, Michael Bringmann wrote:
> On 10/10/2018 11:54 AM, Nathan Fontenot wrote:
>> On 10/09/2018 03:36 PM, Michael Bringmann wrote:
>>> powerpc/drmem: Export many of the functions of DRMEM to parse
>>> "ibm,dynamic
d into the target system.
This code builds upon features introduced in a previous patch set
that updates CPUs for affinity changes that may occur during LPM.
Signed-off-by: Michael Bringmann
Michael Bringmann (5):
powerpc/drmem: Export 'dynamic-memory' loader
powerpc/drmem: Add in
ck function to apply specific tests.
* Modify DRMEM code to replace usages of dt_root_addr_cells, and
dt_mem_next_cell, as these are only available at first boot.
Signed-off-by: Michael Bringmann
---
Changes in v05:
-- Add walk_drmem_lmbs_pairs to replace macro for_each_pair_lmb
---
arch
array itself
without requiring the allocation and maintainance of additional
data structures.
Signed-off-by: Michael Bringmann
---
Changes in v04:
-- Add another initialization of 'lmb->internal_flags' to
init_drmem_v2_lmbs.
---
arch/powerpc/include/asm/d
-tree analysis of updates by RTAS events
analyzed by 'migation_store' during post-migration processing. It
will be used for memory updates, initially.
Signed-off-by: Michael Bringmann
---
Changes in v05:
-- Provide dlpar_memory_readd_helper routine to compress some common code
Chan
analyzed by 'migation_store' during
post-migration processing. It will be used for memory updates,
initially.
Signed-off-by: Michael Bringmann
---
Changes in v05:
-- Move common structure from numa.c + hotplug-memory.c to header file.
-- Clarify some comments.
uilds upon previous enhancements that scan the device-tree
"ibm,dynamic-memory" properties using the base LMB array, and a copy
derived from the updated properties.
Signed-off-by: Michael Bringmann
---
arch/powerpc/platforms/pseries/hotplug-memory.c |3 ++-
1 file changed, 2 inser
Signed-off-by: Michael Bringmann
---
arch/powerpc/platforms/pseries/hotplug-cpu.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/arch/powerpc/platforms/pseries/hotplug-cpu.c
b/arch/powerpc/platforms/pseries/hotplug-cpu.c
index 2f8e621..fce46c56 100644
--- a/ar
d into the target system.
This code builds upon features introduced in a previous patch set
that updates CPUs for affinity changes that may occur during LPM.
Signed-off-by: Michael Bringmann
Michael Bringmann (5):
powerpc/drmem: Export 'dynamic-memory' loader
powerpc/drmem: Add in
ck function to apply specific tests.
* Modify DRMEM code to replace usages of dt_root_addr_cells, and
dt_mem_next_cell, as these are only available at first boot.
Signed-off-by: Michael Bringmann
---
Changes in v05:
-- Add walk_drmem_lmbs_pairs to replace macro for_each_pair_lmb
---
arch
array itself
without requiring the allocation and maintainance of additional
data structures.
Signed-off-by: Michael Bringmann
---
Changes in v04:
-- Add another initialization of 'lmb->internal_flags' to
init_drmem_v2_lmbs.
---
arch/powerpc/include/asm/d
-tree analysis of updates by RTAS events
analyzed by 'migation_store' during post-migration processing. It
will be used for memory updates, initially.
Signed-off-by: Michael Bringmann
---
Changes in v05:
-- Provide dlpar_memory_readd_helper routine to compress some common code
Chan
analyzed by 'migation_store' during
post-migration processing. It will be used for memory updates,
initially.
Signed-off-by: Michael Bringmann
---
Changes in v06:
-- Rebase to powerpc next branch to account for recent code changes.
-- Fix prototype problem when CONFIG_MEMORY_HOTP
uilds upon previous enhancements that scan the device-tree
"ibm,dynamic-memory" properties using the base LMB array, and a copy
derived from the updated properties.
Signed-off-by: Michael Bringmann
---
arch/powerpc/platforms/pseries/hotplug-memory.c |3 ++-
1 file changed, 2 inser
array itself
without requiring the allocation and maintainance of additional
data structures.
Signed-off-by: Michael Bringmann
---
Changes in v04:
-- Add another initialization of 'lmb->internal_flags' to
init_drmem_v2_lmbs.
---
arch/powerpc/include/asm/d
On 10/15/2018 07:39 PM, Michael Ellerman wrote:
> Michael Bringmann writes:
>> diff --git a/arch/powerpc/platforms/pseries/hotplug-memory.c
>> b/arch/powerpc/platforms/pseries/hotplug-memory.c
>> index 2b796da..9c76345 100644
>> --- a/arch/powerpc/platforms/pseries/hot
On 10/16/2018 02:57 PM, Tyrel Datwyler wrote:
> On 10/15/2018 05:39 PM, Michael Ellerman wrote:
>> Michael Bringmann writes:
>>> diff --git a/arch/powerpc/platforms/pseries/hotplug-memory.c
>>> b/arch/powerpc/platforms/pseries/hotplug-memory.c
>>> index 2b
On 10/16/2018 07:48 PM, Michael Ellerman wrote:
> Michael Bringmann writes:
>> On 10/16/2018 02:57 PM, Tyrel Datwyler wrote:
>>> On 10/15/2018 05:39 PM, Michael Ellerman wrote:
>>>> Michael Bringmann writes:
>>>>> diff --git a/arch/powerpc/platforms/p
d into the target system.
This code builds upon features introduced in a previous patch set
that updates CPUs for affinity changes that may occur during LPM.
Signed-off-by: Michael Bringmann
Michael Bringmann (5):
powerpc/drmem: Export 'dynamic-memory' loader
powerpc/drmem: Add in
ck function to apply specific tests.
* Modify DRMEM code to replace usages of dt_root_addr_cells, and
dt_mem_next_cell, as these are only available at first boot.
Signed-off-by: Michael Bringmann
---
Changes in v05:
-- Add walk_drmem_lmbs_pairs to replace macro for_each_pair_lmb
---
arch
array itself
without requiring the allocation and maintainance of additional
data structures.
Signed-off-by: Michael Bringmann
---
Changes in v04:
-- Add another initialization of 'lmb->internal_flags' to
init_drmem_v2_lmbs.
---
arch/powerpc/include/asm/d
-tree analysis of updates by RTAS events
analyzed by 'migation_store' during post-migration processing. It
will be used for memory updates, initially.
Signed-off-by: Michael Bringmann
---
Changes in v07:
-- Provide more useful return value from dlpar_memory_readd_multiple
Chan
analyzed by 'migation_store' during
post-migration processing. It will be used for memory updates,
initially.
Signed-off-by: Michael Bringmann
---
Changes in v06:
-- Rebase to powerpc next branch to account for recent code changes.
-- Fix prototype problem when CONFIG_MEMORY_HOTP
uilds upon previous enhancements that scan the device-tree
"ibm,dynamic-memory" properties using the base LMB array, and a copy
derived from the updated properties.
Signed-off-by: Michael Bringmann
---
arch/powerpc/platforms/pseries/hotplug-memory.c |3 ++-
1 file changed, 2 inser
On 10/29/2018 02:51 PM, Michal Suchánek wrote:
> On Sun, 29 Jul 2018 08:18:34 -0500
> Michael Bringmann wrote:
>
>> The migration of LPARs across Power systems affects many attributes
>> including that of the associativity of CPUs. The patches in this
>> set execute
2018
]
[Replace patch submission:
Subject: [PATCH] powerpc/topology: Update numa mask when cpu node mapping
changes
From: Srikar Dronamraju
DAte: Wed Oct 10 15:24:46 AEDT 2018
]
Signed-off-by: Michael Bringmann
---
arch/powerpc/include/asm/topology.h |6 -
arch/powerpc/kernel/rtasd.c |
On 11/13/2018 02:39 AM, Srikar Dronamraju wrote:
>> -static void topology_work_fn(struct work_struct *work)
>> -{
>> -rebuild_sched_domains();
>> +if (changed)
>> +rebuild_sched_domains();
>> }
>> static DECLARE_WORK(topology_work, topology_work_fn);
>>
>> @@ -1553,7 +1424,
2018
]
[Replace patch submission:
Subject: [PATCH] powerpc/topology: Update numa mask when cpu node mapping
changes
From: Srikar Dronamraju
Date: Wed Oct 10 15:24:46 AEDT 2018
]
Signed-off-by: Michael Bringmann
---
Changes in v02:
-- Reuse more of the previous implementation to reduce patch
associativity changes during the lifetime of a
system. These interfaces exchange the thread_index provided by the
'ibm,ppc-interrupt-server#s' properties, for an internal index to
be used by kernel scheduling interfaces.
Signed-off-by: Michael Bringmann
Michael Bringmann (3):
po
Add argument to allow caller to determine whether the node identified
for a cpu after an associativity / affinity change should be inited.
Signed-off-by: Michael Bringmann
---
arch/powerpc/include/asm/topology.h |2 +-
arch/powerpc/mm/numa.c |6
changes during the lifetime of a
system. These interfaces exchange the thread_index provided by the
'ibm,ppc-interrupt-server#s' properties, for an internal index to
be used by kernel scheduling interfaces.
Signed-off-by: Michael Bringmann
---
arch/powerpc/mm/numa.c
during the lifetime of a
system. These interfaces will be used entirely within the powerpc
kernel code to maintain separation between the machine and kernel
contexts.
Signed-off-by: Michael Bringmann
---
arch/powerpc/include/asm/topology.h | 31 +++
arch/powerpc/platforms/pseries
kernel into the platform-specific
directory to the Pseries features.
Signed-off-by: Michael Bringmann
Michael Bringmann (4):
powerpc/pseries: Relocate drmem.c to pseries
powerpc/pseries: Move DRMEM processing out of prom.c
powerpc/pseries: Move DRMEM processing out of numa.c
powerpc/pseries
kernel into the platform-specific
directory to the Pseries features.
This patch moves drmem.c from kernel directory arch/powerpc/mm to
powerpc/platforms/pseries.
Signed-off-by: Michael Bringmann
---
arch/powerpc/mm/Makefile|2
arch/powerpc/mm/drmem.c | 447
moving a support function to
powerpc/include/asm/sparsemem.h
Signed-off-by: Michael Bringmann
---
arch/powerpc/include/asm/platform.h| 23
arch/powerpc/include/asm/prom.h|3 +
arch/powerpc/include/asm/sparsemem.h | 19 +++
arch/powerpc/kernel/prom.c
function platform_parse_numa_properties that
any powerpc platform may implement.
Signed-off-by: Michael Bringmann
---
arch/powerpc/include/asm/topology.h| 13 +
arch/powerpc/mm/numa.c | 238 +++
arch/powerpc/platforms/pseries/drmem.c | 330
kernel into the platform-specific
directory to the Pseries features.
This patch moves drmem.h from directory arch/powerpc/include/asm to
arch/powerpc/platforms/pseries, and fixing include file references
in pseries files.
Signed-off-by: Michael Bringmann
---
arch/powerpc/include/asm/drmem.h
This should have been posted as RFC. Will repost.
On 11/26/2018 02:33 PM, Michael Bringmann wrote:
> Define and apply new interface to map hardware-specific powerpc cpu
> ids to a kernel specific range of cpu values. Mapping is intended
> to prevent confusion within the kernel abou
Wrong Subject. Will repost.
On 11/26/2018 02:36 PM, Michael Bringmann wrote:
> The implementation of the pseries-specific dynamic memory features
> is currently implemented in several non-pseries-specific files.
> This patch set moves the implementation of the device-tree parsing
>
kernel into the platform-specific
directory to the Pseries features.
Signed-off-by: Michael Bringmann
Michael Bringmann (4):
powerpc/pseries: Relocate drmem.c to pseries
powerpc/pseries: Move DRMEM processing out of prom.c
powerpc/pseries: Move DRMEM processing out of numa.c
powerpc/pseries
kernel into the platform-specific
directory to the Pseries features.
This patch moves drmem.c from kernel directory arch/powerpc/mm to
powerpc/platforms/pseries.
Signed-off-by: Michael Bringmann
---
arch/powerpc/mm/Makefile|2
arch/powerpc/mm/drmem.c | 447
moving a support function to
powerpc/include/asm/sparsemem.h
Signed-off-by: Michael Bringmann
---
arch/powerpc/include/asm/platform.h| 23
arch/powerpc/include/asm/prom.h|3 +
arch/powerpc/include/asm/sparsemem.h | 19 +++
arch/powerpc/kernel/prom.c
function platform_parse_numa_properties that
any powerpc platform may implement.
Signed-off-by: Michael Bringmann
---
arch/powerpc/include/asm/topology.h| 13 +
arch/powerpc/mm/numa.c | 238 +++
arch/powerpc/platforms/pseries/drmem.c | 330
kernel into the platform-specific
directory to the Pseries features.
This patch moves drmem.h from directory arch/powerpc/include/asm to
arch/powerpc/platforms/pseries, and fixing include file references
in pseries files.
Signed-off-by: Michael Bringmann
---
arch/powerpc/include/asm/drmem.h
invalid.
Signed-off-by: Michael Bringmann
---
arch/powerpc/mm/numa.c |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index d9109e0..f3714fa 100644
--- a/arch/powerpc/mm/numa.c
+++ b/arch/powerpc/mm/numa.c
@@ -1026,6 +1026,11 @@ int
I have asked Scott Mayes to take a look at one of these crashes from
the phyp side. I will let you know if he finds anything notable.
Michael
On 12/07/2018 08:40 PM, Thiago Jung Bauermann wrote:
>
> Gautham R Shenoy writes:
>> On Fri, Dec 07, 2018 at 04:13:11PM +0530, Gautham R Shenoy wrote:
>
_of_detach_node() to invalidate
phandle_cache for the node being detached. Alternatively, we can
manually invalidate / rebuild the phandle_cache at the point of
LPAR migration. The latter solution is presented here.
Signed-off-by: Michael Bringmann
---
Changes in v03:
-- Move pr
frowand.l...@gmail.com
> devicet...@vger.kernel.org
> linux-ker...@vger.kernel.org
Thanks.
>
> Michael Bringmann writes:
>> The PPC mobility code receives RTAS requests to delete nodes with
>> platform-/hardware-specific attributes when restarting the kernel
>> aft
--- Snip ---
>>
>> The mobility.c code continues on during the second migration, accepts
>> the definitions of the new nodes from the PHYP and ends up renaming
>> the new properties e.g.
>>
>> [ 4565.827296] Duplicate name in base, renamed to "ibm,platform-facilities#1"
>>
>> There is no check lik
associativity changes during the lifetime of a
system. These interfaces exchange the thread_index provided by the
'ibm,ppc-interrupt-server#s' properties, for an internal index to
be used by kernel scheduling interfaces.
Signed-off-by: Michael Bringmann
Michael Bringmann (3):
po
Add argument to allow caller to determine whether the node identified
for a cpu after an associativity / affinity change should be inited.
Signed-off-by: Michael Bringmann
---
arch/powerpc/include/asm/topology.h |2 +-
arch/powerpc/mm/numa.c |6
during the lifetime of a
system. These interfaces will be used entirely within the powerpc
kernel code to maintain separation between the machine and kernel
contexts.
Signed-off-by: Michael Bringmann
---
arch/powerpc/include/asm/topology.h | 31 +++
arch/powerpc/platforms/pseries
changes during the lifetime of a
system. These interfaces exchange the thread_index provided by the
'ibm,ppc-interrupt-server#s' properties, for an internal index to
be used by kernel scheduling interfaces.
Signed-off-by: Michael Bringmann
---
arch/powerpc/mm/numa.c
code from PHYP's H_SET_DR_STATE
h-call.
On 12/10/2018 02:31 PM, Thiago Jung Bauermann wrote:
>
> Hello Michael,
>
> Michael Bringmann writes:
>
>> I have asked Scott Mayes to take a look at one of these crashes from
>> the phyp side. I will let you know if he fin
-domains, and the compressed ibm,drc-info into the
platform-specific code for the Pseries features.
Signed-off-by: Michael W. Bringmann
Michael Bringmann (6):
powerpc:/drc Define interface to acquire arch-specific drc info
pseries/drcinfo: Fix bug parsing ibm,drc-info
pseries/drcinfo: Pseries
: Michael Bringmann
---
include/linux/topology.h |9 +
1 file changed, 9 insertions(+)
diff --git a/include/linux/topology.h b/include/linux/topology.h
index cb0775e..df97f5f 100644
--- a/include/linux/topology.h
+++ b/include/linux/topology.h
@@ -44,6 +44,15 @@
int
Replace use of of_prop_next_u32() in when parsing 'ibm,drc-info'
structure to simplify and reduce parsing code.
Signed-off-by: Michael Bringmann
Fixes: 3f38000eda48 ("powerpc/firmware: Add definitions for new drc-info
firmware feature" -- end of patch series applied to pow
: Michael Bringmann
---
arch/powerpc/include/asm/prom.h |3
arch/powerpc/platforms/pseries/of_helpers.c | 299 +++
include/linux/topology.h|2
3 files changed, 298 insertions(+), 6 deletions(-)
diff --git a/arch/powerpc/include/asm
pseries_energy.c and hotplug-cpu.c to use the common parser.
Changes include creating appropriate callback functions and
passing callback-specific data blocks into arch_find_drc_match.
Signed-off-by: Michael Bringmann
---
arch/powerpc/platforms/pseries/hotplug-cpu.c| 83 +++-
arch
arch_find_drc_match. All functions that were used just
to support the previous parsing implementation have been moved.
Signed-off-by: Michael Bringmann
---
drivers/pci/hotplug/rpaphp_core.c | 232 -
1 file changed, 28 insertions(+), 204 deletions(-)
diff --git a
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
---
arch/powerpc/kernel/prom_init.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ar
1 - 100 of 598 matches
Mail list logo