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 Bringm
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 <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/include/asm/firmware.h
b/arch/pow
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 <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/include/asm/firmware.h
b/arch/pow
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 <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/include/asm/firmware.h
b/arch/pow
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:
perty. Thus only
a single set of routines should be required at runtime to parse, edit,
and manipulate the memory representation in the device tree. Similarly,
any userspace applications that need this information will only need
to recognize the older format to be able to continue to operate.
Signe
front end processor to inform the kernel as to whether to expect
the changes to one or both of the device tree structures "ibm,drc-info"
and "ibm,dynamic-memory-v2".
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (8):
powerpc/firmware: Add d
the DRC properties within the
current node (using my-drc-index as correlation), and performs searches
by name or type of DRC node.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/drivers/pci/hotplug/rpadlpar_core.c
b/drivers/pci/hotplug/rpadlpar_core.c
municating with the front end
processor, especially when describing vast amounts of RAM.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h
index 7f436ba..b9a1534 100644
--- a/arch/powerpc/include/asm/p
e scanning of the memory properties in the device tree to allow
recognition of the supported properties.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/include/asm/opal.h b/arch/powerpc/include/asm/opal.h
index 9d86c66..e4c5076 100644
--- a/arch/powerpc/include/
or to
tell the Linux kernel that the new properties are present in the devie
tree.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/include/asm/firmware.h
b/arch/powerpc/include/asm/firmware.h
index b062924..a9d66d5 100644
--- a/arch/powerpc/include/asm/fir
prom_init.c: Enable support for new DRC device tree properties
"ibm,drc-info" and "ibm,dynamic-memory-v2" in initial handshake
between the Linux kernel and the front end processor.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff -Naur linux-rhel/arch/
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
he runtime functions for memory
hotplug, so it needs to be able to handle both formats.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index 669a15e..18b4ee7 100644
--- a/arch/powerpc/mm/numa.c
+++ b/arch/powerpc/mm
municating with the front end
processor, especially when describing vast amounts of RAM.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h
index 7f436ba..b9a1534 100644
--- a/arch/powerpc/include/asm/p
the DRC properties within the
current node (using my-drc-index as correlation), and performs searches
by name or type of DRC node.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/drivers/pci/hotplug/rpadlpar_core.c
b/drivers/pci/hotplug/rpadlpar_core.c
or to
tell the Linux kernel that the new properties are present in the devie
tree.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/include/asm/firmware.h
b/arch/powerpc/include/asm/firmware.h
index b062924..a9d66d5 100644
--- a/arch/powerpc/include/asm/fir
perty. Thus only
a single set of routines should be required at runtime to parse, edit,
and manipulate the memory representation in the device tree. Similarly,
any userspace applications that need this information will only need
to recognize the older format to be able to continue to operate.
Signe
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
he runtime functions for memory
hotplug, so it needs to be able to handle both formats.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index 669a15e..18b4ee7 100644
--- a/arch/powerpc/mm/numa.c
+++ b/arch/powerpc/mm/
front end processor to inform the kernel as to whether to expect
the changes to one or both of the device tree structures "ibm,drc-info"
and "ibm,dynamic-memory-v2".
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (8):
powerpc/firmware: Add d
prom_init.c: Enable support for new DRC device tree properties
"ibm,drc-info" and "ibm,dynamic-memory-v2" in initial handshake
between the Linux kernel and the front end processor.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff -Naur linux-rhel/arch/
e scanning of the memory properties in the device tree to allow
recognition of the supported properties.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/include/asm/opal.h b/arch/powerpc/include/asm/opal.h
index 9d86c66..e4c5076 100644
--- a/arch/powerpc/include/
On 08/01/2016 10:23 AM, Nathan Fontenot wrote:
> On 07/27/2016 09:23 AM, 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,drc-indexes&q
or to
tell the Linux kernel that the new properties are present in the devie
tree.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/include/asm/firmware.h
b/arch/powerpc/include/asm/firmware.h
index b062924..a9d66d5 100644
--- a/arch/powerpc/include/asm/fir
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>
---
diff --git a/drivers/pci/hotplug/rpadlpar_core.c
b/drivers/pci/hotplug/rpadlpar_core.c
index dc67f39..bea9723 100644
--- a/drivers/pci/hotp
e scanning of the memory properties in the device tree to allow
recognition of the supported properties.
Updated after commit 3808a88985b4f5f5e947c364debce4441a380fb8.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom
Responses to your remarks about the patch. Note that I will repost it in
smaller segments later this week.
On 07/13/2016 03:41 PM, Nathan Fontenot wrote:
> On 06/30/2016 04:44 PM, Michael Bringmann wrote:
>> Several properties in the DRC device tree format are replaced by
>&g
perty. Thus only
a single set of routines should be required at runtime to parse, edit,
and manipulate the memory representation in the device tree. Similarly,
any userspace applications that need this information will only need
to recognize the older format to be able to continue to operate.
Signe
he runtime functions for memory
hotplug, so it needs to be able to handle both formats.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index 669a15e..18b4ee7 100644
--- a/arch/powerpc/mm/numa.c
+++ b/arch/powerpc/mm/
municating with the front end
processor, especially when describing vast amounts of RAM.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h
index 7f436ba..b9a1534 100644
--- a/arch/powerpc/include/asm/p
front end processor to inform the kernel as to whether to expect
the changes to one or both of the device tree structures "ibm,drc-info"
and "ibm,dynamic-memory-v2".
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/include/asm/firm
perty. Thus only
a single set of routines should be required at runtime to parse, edit,
and manipulate the memory representation in the device tree. Similarly,
any userspace applications that need this information will only need
to recognize the older format to be able to continue to operate.
Signe
Ping
On 12/07/2016 01:13 AM, Michael Bringmann wrote:
> Several properties in the DRC device tree format are replaced by
> more compact representations to allow, for example, for the encoding
> of vast amounts of memory, and or reduced duplication of information
> in related dat
Welcome Back!
I believe that the following patch set should go into 4.10:
https://lists.ozlabs.org/pipermail/linuxppc-dev/2016-December/152079.html
"powerpc/devtree: Add support for 2 new DRC properties"
Would you please take a look at it?
Michael
On 01/16/2017 03:33 AM, Michael Ellerman
or to
tell the Linux kernel that the new properties are present in the devie
tree.
[V2: Revise constant names for improved clarity.]
[V3: Fix comments]
[V4: Fix some spacing]
[V5: Resynchronize/resubmit]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/incl
ks into a single function
without requiring the user to verify whether a search was successful.
[V2: Revise contant names.]
[V3: Amend comments. Simplify code cleanup.]
[V4: Update comments.]
[V5: Resynchronize/resubmit]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git
[V4: Rearrange some code changes in patches to better match application,
and other code cleanup.]
[V5: Resynchronize patches.]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (8):
powerpc/firmware: Add definitions for new firmware features.
powerpc/memor
ot; for use in other files.
Change a firmware architure vec check for scan actual device tree.
Delete an unused variable.
Small cleanups to comments.]
[V5: Resynchronize/resubmit]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/include
e contant names.]
[V3: Replace use of in-code compile flag encompassing file by Makefile mod.]
[V4: Remove unneeded code braces.
Simplify allocation of a couple of loop index variables.]
[V5: Resynchronize/resubmit]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --
e scanning of the memory properties in the device tree to allow
recognition of the supported properties.
[V2: No change]
[V3: Updated after commit 3808a88985b4f5f5e947c364debce4441a380fb8.]
[V4: Update comments]
[V5: Resynchronize/resubmit]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
d
a firmware architure vec check for scan actual device tree.
Compress some common code.]
[V5: Resynchronize/resubmit]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h
index 7f436ba..b9a1534 1
esubmit]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff -Naur linux-rhel/arch/powerpc/kernel/prom_init.c
linux-rhel-patch/arch/powerpc/kernel/prom_init.c
--- linux-rhel/arch/powerpc/kernel/prom_init.c 2016-03-03 07:36:25.0
-0600
+++ linux-rhel-patch/arch/powerpc/kernel
m,drc-info".
[V2: Revise contant names.]
[V3: No change.]
[V4: No change.]
[V5: Resynchronize/resubmit]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/platforms/pseries/pseries_energy.c
b/arch/powerpc/platforms/pseries/pseries_energy.c
index 9276
e contant names.]
[V3: Replace use of in-code compile flag encompassing file by Makefile mod.]
[V4: Remove unneeded code braces.
Simplify allocation of a couple of loop index variables.]
[V5: Resynchronize/resubmit]
[V6: No change]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.c
ot; for use in other files.
Change a firmware architure vec check for scan actual device tree.
Delete an unused variable.
Small cleanups to comments.]
[V5: Resynchronize/resubmit]
[V6: No change]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/po
e scanning of the memory properties in the device tree to allow
recognition of the supported properties.
[V2: No change]
[V3: Updated after commit 3808a88985b4f5f5e947c364debce4441a380fb8.]
[V4: Update comments]
[V5: Resynchronize/resubmit]
[V6: Resync to v4.7 kernel code]
Signed-off-by: Michael Br
a firmware architure vec check for scan actual device tree.
Compress some common code.]
[V5: Resynchronize/resubmit]
[V6: No change]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h
index 7f436ba
ks into a single function
without requiring the user to verify whether a search was successful.
[V2: Revise contant names.]
[V3: Amend comments. Simplify code cleanup.]
[V4: Update comments.]
[V5: Resynchronize/resubmit]
[V6: No change]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
]
[V6: Resynchronize to latest kernel commit code]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff -Naur linux-rhel/arch/powerpc/kernel/prom_init.c
linux-rhel-patch/arch/powerpc/kernel/prom_init.c
--- linux-rhel/arch/powerpc/kernel/prom_init.c 2016-03-03 07:36:25.0
[V4: Rearrange some code changes in patches to better match application,
and other code cleanup.]
[V5: Resynchronize patches.]
[V6: Resync to latest kernel commit code]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (8):
powerpc/firmware: Add definition
m,drc-info".
[V2: Revise contant names.]
[V3: No change.]
[V4: No change.]
[V5: Resynchronize/resubmit]
[V6: No change]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/platforms/pseries/pseries_energy.c
b/arch/powerpc/platforms/pseries/pseries_e
or to
tell the Linux kernel that the new properties are present in the devie
tree.
[V2: Revise constant names for improved clarity.]
[V3: Fix comments]
[V4: Fix some spacing]
[V5: Resynchronize/resubmit]
[V6: No change]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git
e contant names.]
[V3: Replace use of in-code compile flag encompassing file by Makefile mod.]
[V4: Remove unneeded code braces.
Simplify allocation of a couple of loop index variables.]
[V5: Resynchronize/resubmit]
[V6: No change]
[V7: Correct mail threading]
Signed-off-by: Michael Brin
m,drc-info".
[V2: Revise contant names.]
[V3: No change.]
[V4: No change.]
[V5: Resynchronize/resubmit]
[V6: No change]
[V7: Correct mail threading]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/platforms/pseries/pseries_energy.c
b/arch/powerpc/p
ks into a single function
without requiring the user to verify whether a search was successful.
[V2: Revise contant names.]
[V3: Amend comments. Simplify code cleanup.]
[V4: Update comments.]
[V5: Resynchronize/resubmit]
[V6: No change]
[V7: Correct mail threading]
Signed-off-by: Michael Br
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c
index 946e34f..2034edc 100644
--- a/arch/powerpc/kernel/prom.c
+++ b/arch/powerpc/kernel/prom.c
@@ -753,6 +753,9 @@ void __init early_init_devt
]
[V6: Resynchronize to latest kernel commit code]
[V7: Correct mail threading]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff -Naur linux-rhel/arch/powerpc/kernel/prom_init.c
linux-rhel-patch/arch/powerpc/kernel/prom_init.c
--- linux-rhel/arch/powerpc/kernel/pro
[V4: Rearrange some code changes in patches to better match application,
and other code cleanup.]
[V5: Resynchronize patches.]
[V6: Resync to latest kernel commit code]
[V7: Correct mail threading]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
Michael Bringmann (8):
power
or to
tell the Linux kernel that the new properties are present in the devie
tree.
[V2: Revise constant names for improved clarity.]
[V3: Fix comments]
[V4: Fix some spacing]
[V5: Resynchronize/resubmit]
[V6: No change]
[V7: Correct mail threading]
Signed-off-by: Michael Bringmann <m...@linux.vnet.
a firmware architure vec check for scan actual device tree.
Compress some common code.]
[V5: Resynchronize/resubmit]
[V6: No change]
[V7: Correct mail threading]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/in
ot; for use in other files.
Change a firmware architure vec check for scan actual device tree.
Delete an unused variable.
Small cleanups to comments.]
[V5: Resynchronize/resubmit]
[V6: No change]
[V7: Correct mail threading]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com
ommon code.]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h
index 7f436ba..b9a1534 100644
--- a/arch/powerpc/include/asm/prom.h
+++ b/arch/powerpc/include/asm/prom.h
@@ -69,6 +69,8 @@ struct b
ove unneeded code braces.]
[V4: Simplify allocation of a couple of loop index variables.]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/platforms/pseries/hotplug-memory.c
b/arch/powerpc/platforms/pseries/hotplug-memory.c
index 2ce1385..0c46fbc 100644
[V4: Small cleanups to comments.]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
diff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h
index 7f436ba..b9a1534 100644
--- a/arch/powerpc/include/asm/prom.h
+++ b/arch/powerpc/include/asm/prom.h
@
[V4: Rearrange some code changes in patches to better match application,
and other code cleanup.]
[V5: Resynchronize patches.]
[V6: Resync to latest kernel commit code]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ib
[V4: Rearrange some code changes in patches to better match application,
and other code cleanup.]
[V5: Resynchronize patches.]
[V6: Resync to latest kernel commit code]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ib
[V4: Rearrange some code changes in patches to better match application,
and other code cleanup.]
[V5: Resynchronize patches.]
[V6: Resync to latest kernel commit code]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ib
[V4: Rearrange some code changes in patches to better match application,
and other code cleanup.]
[V5: Resynchronize patches.]
[V6: Resync to latest kernel commit code]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ib
:
> On 09/21/2016 09:17 AM, Michael Bringmann wrote:
>> architecture.vec5 features: The boot-time memory management needs to
>> know the form of the "ibm,dynamic-memory-v2" property early during
>> scanning of the flattened device tree. This patch mov
m,drc-info".
[V2: Revise contant names.]
[V3: No change.]
[V4: No change.]
[V5: Resynchronize/resubmit]
[V6: No change]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/platforms/pseries/pseries
ot; for use in other files.
Change a firmware architure vec check for scan actual device tree.
Delete an unused variable.
Small cleanups to comments.]
[V5: Resynchronize/resubmit]
[V6: No change]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by:
nsert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/kernel/prom.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c
index 2d49887..bd07157 100644
--
[V4: Rearrange some code changes in patches to better match application,
and other code cleanup.]
[V5: Resynchronize patches.]
[V6: Resync to latest kernel commit code]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ib
]
[V6: Resynchronize to latest kernel commit code]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/kernel/prom_init.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/
or to
tell the Linux kernel that the new properties are present in the devie
tree.
[V2: Revise constant names for improved clarity.]
[V3: Fix comments]
[V4: Fix some spacing]
[V5: Resynchronize/resubmit]
[V6: No change]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-b
[V4: Rearrange some code changes in patches to better match application,
and other code cleanup.]
[V5: Resynchronize patches.]
[V6: Resync to latest kernel commit code]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ib
]
[V6: Resynchronize to latest kernel commit code]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/kernel/prom_init.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/
[V4: Rearrange some code changes in patches to better match application,
and other code cleanup.]
[V5: Resynchronize patches.]
[V6: Resync to latest kernel commit code]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ib
e contant names.]
[V3: Replace use of in-code compile flag encompassing file by Makefile mod.]
[V4: Remove unneeded code braces.
Simplify allocation of a couple of loop index variables.]
[V5: Resynchronize/resubmit]
[V6: No change]
[V7: Correct mail threading]
[v8: Insert more useful variable
or to
tell the Linux kernel that the new properties are present in the devie
tree.
[V2: Revise constant names for improved clarity.]
[V3: Fix comments]
[V4: Fix some spacing]
[V5: Resynchronize/resubmit]
[V6: No change]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-b
e contant names.]
[V3: Replace use of in-code compile flag encompassing file by Makefile mod.]
[V4: Remove unneeded code braces.
Simplify allocation of a couple of loop index variables.]
[V5: Resynchronize/resubmit]
[V6: No change]
[V7: Correct mail threading]
[v8: Insert more useful variable
m,drc-info".
[V2: Revise contant names.]
[V3: No change.]
[V4: No change.]
[V5: Resynchronize/resubmit]
[V6: No change]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/platforms/pseries/pseries
ot; for use in other files.
Change a firmware architure vec check for scan actual device tree.
Delete an unused variable.
Small cleanups to comments.]
[V5: Resynchronize/resubmit]
[V6: No change]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by:
a firmware architure vec check for scan actual device tree.
Compress some common code.]
[V5: Resynchronize/resubmit]
[V6: No change]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/include/a
a firmware architure vec check for scan actual device tree.
Compress some common code.]
[V5: Resynchronize/resubmit]
[V6: No change]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/include/a
ks into a single function
without requiring the user to verify whether a search was successful.
[V2: Revise contant names.]
[V3: Amend comments. Simplify code cleanup.]
[V4: Update comments.]
[V5: Resynchronize/resubmit]
[V6: No change]
[V7: Correct mail threading]
[v8: Insert more useful vari
[V4: Rearrange some code changes in patches to better match application,
and other code cleanup.]
[V5: Resynchronize patches.]
[V6: Resync to latest kernel commit code]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ib
ks into a single function
without requiring the user to verify whether a search was successful.
[V2: Revise contant names.]
[V3: Amend comments. Simplify code cleanup.]
[V4: Update comments.]
[V5: Resynchronize/resubmit]
[V6: No change]
[V7: Correct mail threading]
[v8: Insert more useful vari
nsert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/kernel/prom.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c
index 2d49887..bd07157 100644
--
[V4: Rearrange some code changes in patches to better match application,
and other code cleanup.]
[V5: Resynchronize patches.]
[V6: Resync to latest kernel commit code]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ib
[V4: Rearrange some code changes in patches to better match application,
and other code cleanup.]
[V5: Resynchronize patches.]
[V6: Resync to latest kernel commit code]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ib
[V4: Rearrange some code changes in patches to better match application,
and other code cleanup.]
[V5: Resynchronize patches.]
[V6: Resync to latest kernel commit code]
[V7: Correct mail threading]
[v8: Insert more useful variable names]
Signed-off-by: Michael Bringmann <m...@linux.vnet.ib
he runtime functions for memory
hotplug, so it needs to be able to handle both formats.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
Changes in V9:
- Remove unnecessary multiplier from a property length calculation
---
arch/powerpc/include/asm/prom.h | 12 +++
arch/p
perty. Thus only
a single set of routines should be required at runtime to parse, edit,
and manipulate the memory representation in the device tree. Similarly,
any userspace applications that need this information will only need
to recognize the older format to be able to continue to operate.
Signe
prom_init.c: Enable support for new DRC device tree properties
"ibm,drc-info" and "ibm,dynamic-memory-v2" 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
e scanning of the memory properties in the device tree to allow
recognition of the supported properties.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/kernel/prom.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/kernel/prom.c b/arc
he host system and the front end processor indicating what features
the host system supports and what features the front end processor will
actually provide. In this case, we are indicating that the host system
can support the new device tree structures "ibm,drc-info" and
"ibm,dy
or to
tell the Linux kernel that the new properties are present in the devie
tree.
Signed-off-by: Michael Bringmann <m...@linux.vnet.ibm.com>
---
arch/powerpc/include/asm/firmware.h |5 -
arch/powerpc/include/asm/prom.h |2 ++
arch/powerpc/platforms/pseries/firmware.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
1 - 100 of 598 matches
Mail list logo