-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On 08/20/2014 11:41 PM, Michael Ellerman wrote:
On Wed, 2014-08-13 at 14:48 +0530, Himangi Saraogi wrote:
Continue is not needed at the bottom of a loop.
True.
I wonder though, is the code trying to continue to the outer loop?
I stared at
* Michael Ellerman (mich...@ellerman.id.au) wrote:
On Fri, Oct 25, 2013 at 02:25:07PM -0500, Robert C Jennings wrote:
Move the few declarations from arch/powerpc/kernel/setup.h
into arch/powerpc/include/asm/setup.h. This resolves a
sparse warning for arch/powerpc/mm/numa.c which defines
* Benjamin Herrenschmidt (b...@kernel.crashing.org) wrote:
On Tue, 2013-07-23 at 07:33 -0500, Robert Jennings wrote:
When an associativity level change is found for one thread, the
siblings threads need to be updated as well. This is done today
for PRRN in stage_topology_update
this
patch, a single thread may be flagged for a topology change, leaving it
in a different node from its siblings, which is incorrect. This causes
problems for the scheduler where overlapping scheduler groups are created
and a loop is formed in those groups.
Signed-off-by: Robert Jennings r
-by: Robert Jennings r...@linux.vnet.ibm.com
---
v2. cpu_sibling_mask is now defined for UP which fixes that build break.
v3. Corrected with Cc:stable under singed-off-by and improved description
of impact of this issue.
- While re-enabled only in v3.9, hardware VPHN support was available
prior
...@redhat.com
Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com
Cc: sta...@vger.kernel.org
---
Looking to get this fix in 3.11.
This is requested for the 3.10 stable tree as well, it fixes a
bug that presents as a scheduler issue when VPHN is active.
VPHN was enabled in the v3.9 window in commit
that are offline
(H_CEDE'd) will not be woken to make the H_JOIN call and the OS will be
deadlocked (all threads either JOIN'd or CEDE'd).
Cc: sta...@kernel.org
Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com
---
v2: Fixed for UP build
---
arch/powerpc/include/asm/rtas.h |2
* Benjamin Herrenschmidt (b...@kernel.crashing.org) wrote:
On Wed, 2013-05-01 at 10:25 -0500, Nathan Fontenot wrote:
On 04/26/2013 04:32 PM, Robert Jennings wrote:
With this patch before a migration/hibernation all threads present but
not online will be brought online. After migration
, threads that are offline
(H_CEDE'd) will not be woken to make the H_JOIN call and the OS will be
deadlocked (all threads either JOIN'd or CEDE'd).
Cc: sta...@kernel.org
Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com
---
arch/powerpc/include/asm/rtas.h |2 +
arch/powerpc/kernel
matches the driver hotplug name and fixes auto-load
issues.
Signed-off-by: Benjamin Herrenschmidt benh@kernel.crashing.
I've give this a quick test and I prefer this cleanup, it solves the
initial problem nicely.
James, please consider pulling this patch. Thanks.
Acked-by: Robert Jennings r
in an empty config from the server.
Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org
CC: sta...@vger.kernel.org
James, can this be added to your for-next branch so that we can
also get this to the stable trees? Thanks.
Acked-by: Robert Jennings r...@linux.vnet.ibm.com
---
diff
is our standard PAGE_SIZE) doesn't
work and result in an empty config from the server.
Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org
CC: sta...@vger.kernel.org
Acked-by: Robert Jennings r...@linux.vnet.ibm.com
Tested with an IBM i host and confirmed the fix.
---
diff --git
On Tue, Jul 31, 2012 at 11:20 AM, Brian King brk...@linux.vnet.ibm.com wrote:
On 07/30/2012 10:08 PM, Benjamin Herrenschmidt wrote:
On Mon, 2012-07-30 at 21:06 +0200, Olaf Hering wrote:
So while this would work, I do wonder however whether we could
instead
fix it by simplifying the whole
On Tue, Jul 31, 2012 at 11:20 AM, Brian King brk...@linux.vnet.ibm.comwrote:
On 07/30/2012 10:08 PM, Benjamin Herrenschmidt wrote:
On Mon, 2012-07-30 at 21:06 +0200, Olaf Hering wrote:
So while this would work, I do wonder however whether we could
instead
fix it by simplifying the whole
* Benjamin Herrenschmidt (b...@kernel.crashing.org) wrote:
On Fri, 2012-03-23 at 16:22 -0500, Robert Jennings wrote:
This patch changes the architecture vector to advertise support for a
lower minimum virtual processor entitled capacity. The default
minimum without this patch is 10
This patch changes the architecture vector to advertise support for a
lower minimum virtual processor entitled capacity. The default
minimum without this patch is 10%, this patch specifies 1%.
Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com
---
Dropped minimum to 1% and tested to ensure
* Benjamin Herrenschmidt (b...@kernel.crashing.org) wrote:
Hrm... I don't like that much:
+ if (op-timeout)
+ deadline = jiffies + msecs_to_jiffies(op-timeout);
+
+ while (true) {
+ hret = plpar_hcall_norets(H_COP, op-flags,
+
changes the preferred offline state to OFFLINE when an CPU is
in the ONLINE state. After cpu_down() is called in dlpar_offline_cpu()
the CPU will be OFFLINE and CPU removal can continue.
Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com
---
diff --git a/arch/powerpc/platforms/pseries
* Andrew Morton (a...@linux-foundation.org) wrote:
On Wed, 18 Nov 2009 12:59:08 -0600
Robert Jennings r...@linux.vnet.ibm.com wrote:
The Collaborative Memory Manager (CMM) module allocates individual pages
over time that are not migratable. On a long running system this can
severely
to allow the hypervisor time
to adjust.
Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com
Cc: Mel Gorman m...@csn.ul.ie
Cc: Ingo Molnar mi...@elte.hu
Cc: Brian King brk...@linux.vnet.ibm.com
Cc: Paul Mackerras pau...@samba.org
Cc: Martin Schwidefsky schwidef...@de.ibm.com
Cc: Gerald Schaefer
to allow the hypervisor time
to adjust.
Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com
---
Changes since v4:
* The structures for recording loaned pages are not allocated as MOVABLE
* The structures for recording loaned pages are removed from sections
being taken offline by moving
===
11.50 149005 1245075 Average
1.75 715817738 StdDev
Regards,
Robert Jennings
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev
* Benjamin Herrenschmidt (b...@kernel.crashing.org) wrote:
On Fri, 2009-10-09 at 15:41 -0500, Robert Jennings wrote:
The Collaborative Memory Manager (CMM) module allocates individual pages
over time that are not migratable. On a long running system this can
severely impact the ability
to allow the hypervisor time
to adjust.
Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com
---
Changes since v3:
* Changed from atomic to mutex for hotplug state tracking.
* Clarified documentation for the new module parameter description.
Changes since v2:
* None, resent with parent
* KAMEZAWA Hiroyuki (kamezawa.hir...@jp.fujitsu.com) wrote:
On Fri, 2 Oct 2009 13:44:58 -0500
Robert Jennings r...@linux.vnet.ibm.com wrote:
Memory balloon drivers can allocate a large amount of memory which
is not movable but could be freed to accomodate memory hotplug remove.
Prior
* Mel Gorman (m...@csn.ul.ie) wrote:
On Fri, Oct 02, 2009 at 01:44:58PM -0500, Robert Jennings wrote:
Memory balloon drivers can allocate a large amount of memory which
is not movable but could be freed to accomodate memory hotplug remove.
Prior to calling the memory hotplug notifier
* Andrew Morton (a...@linux-foundation.org) wrote:
On Fri, 2 Oct 2009 13:44:58 -0500
Robert Jennings r...@linux.vnet.ibm.com wrote:
Memory balloon drivers can allocate a large amount of memory which
is not movable but could be freed to accomodate memory hotplug remove.
Prior
) using a notifier chain. If all of the non-movable pages are
owned by a balloon, they can be freed later through the memory notifier
chain and the range can still be isolated in set_migratetype_isolate().
Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com
---
Testing:
* With the patch memory
to allow the hypervisor time
to adjust.
Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com
---
I'm not entirely sure of the ettiquette, but there are no changes to
this patch. I'm resending to keep it with the changes to the parent
patch.
arch/powerpc/platforms/pseries/cmm.c | 207
for the balloon page list
can?
Robert Jennings wrote:
@@ -110,6 +125,9 @@ static long cmm_alloc_pages(long nr)
cmm_dbg(Begin request for %ld pages\n, nr);
while (nr) {
+if (atomic_read(hotplug_active))
+break;
+
addr = __get_free_page(GFP_NOIO
* Nathan Fontenot (nf...@austin.ibm.com) wrote:
Robert Jennings wrote:
Memory balloon drivers can allocate a large amount of memory which
is not movable but could be freed to accommodate memory hotplug remove.
Prior to calling the memory hotplug notifier chain the memory in the
pageblock
* Mel Gorman (m...@csn.ul.ie) wrote:
On Thu, Oct 01, 2009 at 02:53:11PM -0500, Robert Jennings wrote:
Memory balloon drivers can allocate a large amount of memory which
is not movable but could be freed to accommodate memory hotplug remove.
Prior to calling the memory hotplug notifier
of the non-movable pages are owned by a balloon,
they can be freed later through the memory notifier chain and the range
can still be isolated in set_migratetype_isolate().
Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com
---
drivers/base/memory.c | 19 +++
include/linux
to allow the hypervisor time
to adjust.
Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com
---
Minor update to cmm_count_pages() to account for changes in
struct memory_isolate_notify.
---
arch/powerpc/platforms/pseries/cmm.c | 207 ++-
1 file changed, 201
of the non-movable pages are owned by a balloon,
they can be freed later through the memory notifier chain and the range
can still be isolated in set_migratetype_isolate().
Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com
---
drivers/base/memory.c | 19 +++
include/linux
-off-by: Robert Jennings r...@linux.vnet.ibm.com
---
arch/powerpc/platforms/pseries/cmm.c | 211 ++-
1 file changed, 205 insertions(+), 6 deletions(-)
Index: b/arch/powerpc/platforms/pseries/cmm.c
slower to give up unused memory to other partitions.
This adds the kernel parameter 'cmo_free_hint' to disable this
functionality.
Signed-off-by: Brian King brk...@linux.vnet.ibm.com
Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com
---
Documentation/kernel-parameters.txt |7 +
arch
slower to give up unused memory to other partitions.
Signed-off-by: Brian King brk...@linux.vnet.ibm.com
Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com
---
arch/powerpc/include/asm/page.h |5 +++
arch/powerpc/platforms/pseries/lpar.c | 52 ++
2
, this patch adds the return that is needed in the error path.
Signed-off-by: Robert Jennings r...@linux.vnet.ibm.com
---
arch/powerpc/kernel/vio.c |7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
Index: b/arch/powerpc/kernel/vio.c
the number of pages. This patch uses PAGE_FACTOR to correct
the reporting to the hypervisor.
Reported-by: Andrew Theurer [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/mm/fault.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/arch/powerpc/mm
During platform setup, save off the primary/secondary paging space pool IDs
and the page size. Added accessors in hvcall.h for these variables.
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
I wrote Submitted-by on the last patch for some strange reason, that't
the only thing changed here
Add information regarding the available and required entitlement amounts
to the message displayed for the panic when insufficient entitlement is
provided at boot.
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
I had typed Submitted-by instead of Signed-off-by previously.
---
arch/powerpc
/ppc64/lparcfg in the second
patch.
The first patch makes the data available and the other two patches
(unrelated to each other) depend on the first.
Regards,
Robert Jennings
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman
and mark them all as
loaned/active.
Signed-off-by: Brian King [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/platforms/pseries/plpar_wrappers.h | 27 ++--
1 file changed, 25 insertions(+), 2 deletions(-)
Index: b/arch/powerpc/platforms
Add a field in lparcfg output to indicate whether the kernel is running on a
dedicated or shared memory lpar. Added fields to show the paging space pool
IDs and the CMO page size.
Submitted-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/lparcfg.c |5 +
1 file changed
enabled environments.
This patch set has been written against 2.6.26 and has been tested
at that level.
Regards,
Robert Jennings
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
From: Nathan Fontenot [EMAIL PROTECTED]
Remove the extraneous error reporting used when a hcall made from lparcfg fails.
Signed-off-by: Nathan Fontenot [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
Acked-by: Paul Mackerras [EMAIL PROTECTED]
---
arch/powerpc/kernel
Fontenot [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
Updated patch to remove checking the return code from the h_call for
H_PIC. This reverts the reporting back to its original state.
---
arch/powerpc/kernel/lparcfg.c | 166
[EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
Updated patch, increment the lparcfg module version number.
---
arch/powerpc/kernel/lparcfg.c | 121 ++
include/asm-powerpc/hvcall.h | 18 ++
2 files changed, 137 insertions(+), 2
Split the retrieval of processor entitlement data returned in the H_GET_PPP
hcall into its own helper routine.
Signed-off-by: Nathan Fontenot [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
Updated patch to correct the reporting of pool_capcity.
---
arch/powerpc/kernel
From: Robert Jennings [EMAIL PROTECTED]
For Cooperative Memory Overcommitment (CMO), set the FW_FEATURE_CMO
flag in powerpc_firmware_features from the rtas ibm,get-system-parameters
table prior to calling iommu_init_early_pSeries.
With this, any CMO specific functionality can be controlled
From: Brian King [EMAIL PROTECTED]
Newer versions of firmware support page states, which are used by the
collaborative memory manager (future patch) to loan pages to the
hypervisor for use by other partitions.
Signed-off-by: Brian King [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL
]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
Added a config option PPC_SMLPAR (Support for shared-memory logical
partitions) to the platform. This will select LPARCFG and address the
issue where h_get_mpp() may not have been present when compiling. This
new config option is now used
-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/lparcfg.c | 20
include/asm-powerpc/lppaca.h |5 -
2 files changed, 24 insertions(+), 1 deletion(-)
Index: b/arch/powerpc/kernel/lparcfg.c
functions need to change
to indicate failure.
* all other platforms will need updates to iommu functions to match the new
calling semantics; they will return 0 on success. The other platforms
default configs have been built, but no further testing was performed.
Signed-off-by: Robert
From: Robert Jennings [EMAIL PROTECTED]
This is a large patch but the normal code path is not affected. For
non-pSeries platforms the code is ifdef'ed out and for non-CMO enabled
pSeries systems this does not affect the normal code path. Devices that
do not perform DMA operations do not need
From: Nathan Fontenot [EMAIL PROTECTED]
Verify memory entitlement updates can be handled by vio.
Signed-off-by: Nathan Fontenot [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/lparcfg.c | 10 ++
1 file changed, 10 insertions(+)
Index: b
From: Santiago Leon [EMAIL PROTECTED]
Activates larger rx buffer pools when the MTU is changed to a larger
value. This patch de-activates the large rx buffer pools when the MTU
changes to a smaller value.
Signed-off-by: Santiago Leon [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL
, ibmveth_replenish_buffer_pool()
is corrected to check the return from dma_map_single and fail gracefully.
* The driver will have a get_desired_dma function defined to function
in a CMO environment.
* When the MTU is changed, the driver will update the device IO entitlement
Signed-off-by: Robert
From: Robert Jennings [EMAIL PROTECTED]
Enable the driver to function in a Cooperative Memory Overcommitment (CMO)
environment.
The following changes are made to enable the driver for CMO:
* DMA mapping errors will not result in error messages if entitlement has
been exceeded and resources
From: Brian King [EMAIL PROTECTED]
Adds support to the ibmvfc driver for collaborative memory overcommit.
Signed-off-by: Brian King [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
We would like to take this patch through linuxppc-dev with the full
change set
From: Nathan Fontenot [EMAIL PROTECTED]
Update the architecture vector to indicate that Cooperative Memory
Overcommitment is supported if CONFIG_PPC_SMLPAR is set.
Signed-off-by: Nathan Fontenot [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
This is the last patch
* Paul Mackerras ([EMAIL PROTECTED]) wrote:
Robert Jennings writes:
To support Cooperative Memory Overcommitment (CMO), we need to check
for failure from some of the tce hcalls.
This patch runs into context mismatches because of changes made by
Michael Ellerman's patch Fix sparse
* Paul Mackerras ([EMAIL PROTECTED]) wrote:
Robert Jennings writes:
Minor change to add a call to align the return from the device's
get_desired_dma() function with IOMMU_PAGE_ALIGN(). Also removed a
comment referring to a non-existent structure member.
Anyway, my first comment
-off-by: Robert Jennings [EMAIL PROTECTED]
---
This applies on top of the existing CMO patchset.
---
arch/powerpc/kernel/vio.c |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
Index: b/arch/powerpc/kernel/vio.c
Correct string conversion for rtas value being read for CMO configuration.
A value of -1 in the string indicates that CMO is not enabled and we
had used simple_strtoul rather than simple_strtol which caused problems.
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
This patch applies on top
* Brian King ([EMAIL PROTECTED]) wrote:
Robert Jennings wrote:
@@ -1613,6 +1624,26 @@ static struct scsi_host_template driver_
};
/**
+ * ibmvscsi_get_desired_dma - Calculate IO entitlement needed by the driver
+ *
+ * @vdev: struct vio_dev for the device whose entitlement
From: Robert Jennings [EMAIL PROTECTED]
I removed references to 'entitlement' after having changed the function
'get_io_entitlement' to 'get_desired_dma' to correctly indicate what the
function was doing. Also, this function does not need to page align the
return value, the VIO bus
environment.
* When the MTU is changed, the driver will update the device IO entitlement
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
Signed-off-by: Brian King [EMAIL PROTECTED]
Signed-off-by: Santiago Leon [EMAIL PROTECTED]
---
drivers/net/ibmveth.c | 169
From: Robert Jennings [EMAIL PROTECTED]
Minor change to add a call to align the return from the device's
get_desired_dma() function with IOMMU_PAGE_ALIGN(). Also removed a
comment referring to a non-existent structure member.
This is a large patch but the normal code path is not affected
written against 2.6.26-rc8 and has been tested
at that level.
Regards,
Robert Jennings
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
From: Nathan Fontenot [EMAIL PROTECTED]
Remove the extraneous error reporting used when a hcall made from lparcfg fails.
Signed-off-by: Nathan Fontenot [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/lparcfg.c | 32
]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/lparcfg.c | 168 ++---
1 file changed, 90 insertions(+), 78 deletions(-)
Index: b/arch/powerpc/kernel/lparcfg.c
[EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/lparcfg.c | 119 ++
include/asm-powerpc/hvcall.h | 18 ++
2 files changed, 136 insertions(+), 1 deletion(-)
Index: b/arch/powerpc/kernel/lparcfg.c
From: Nathan Fontenot [EMAIL PROTECTED]
Split the retrieval of processor entitlement data returned in the H_GET_PPP
hcall into its own helper routine.
Signed-off-by: Nathan Fontenot [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/lparcfg.c | 80
From: Robert Jennings [EMAIL PROTECTED]
For Cooperative Memory Overcommitment (CMO), set the FW_FEATURE_CMO
flag in powerpc_firmware_features from the rtas ibm,get-system-parameters
table prior to calling iommu_init_early_pSeries.
With this, any CMO specific functionality can be controlled
From: Robert Jennings [EMAIL PROTECTED]
For Cooperative Memory Overcommitment (CMO), set the FW_FEATURE_CMO
flag in powerpc_firmware_features from the rtas ibm,get-system-parameters
table prior to calling iommu_init_early_pSeries.
With this, any CMO specific functionality can be controlled
From: Brian King [EMAIL PROTECTED]
Newer versions of firmware support page states, which are used by the
collaborative memory manager (future patch) to loan pages to the
hypervisor for use by other partitions.
Signed-off-by: Brian King [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL
From: Brian King [EMAIL PROTECTED]
Newer versions of firmware support page states, which are used by the
collaborative memory manager (future patch) to loan pages to the
hypervisor for use by other partitions.
Signed-off-by: Brian King [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL
From: Brian King [EMAIL PROTECTED]
Adds a collaborative memory manager, which acts as a simple balloon driver
for System p machines that support cooperative memory overcommitment
(CMO).
Signed-off-by: Brian King [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch
-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/ibmebus.c |6 ++
arch/powerpc/platforms/pseries/setup.c |4
2 files changed, 10 insertions(+)
Index: b/arch/powerpc/kernel/ibmebus.c
===
--- a/arch
-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/lparcfg.c | 20
include/asm-powerpc/lppaca.h |5 -
2 files changed, 24 insertions(+), 1 deletion(-)
Index: b/arch/powerpc/kernel/lparcfg.c
functions need to change
to indicate failure.
* all other platforms will need updates to iommu functions to match the new
calling semantics; they will return 0 on success. The other platforms
default configs have been built, but no further testing was performed.
Signed-off-by: Robert
From: Robert Jennings [EMAIL PROTECTED]
This is a large patch but the normal code path is not affected. For
non-pSeries platforms the code is ifdef'ed out and for non-CMO enabled
pSeries systems this does not affect the normal code path. Devices that
do not perform DMA operations do not need
From: Nathan Fontenot [EMAIL PROTECTED]
Verify memory entitlement updates can be handled by vio.
Signed-off-by: Nathan Fontenot [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/lparcfg.c | 10 ++
1 file changed, 10 insertions(+)
Index: b
From: Santiago Leon [EMAIL PROTECTED]
Activates larger rx buffer pools when the MTU is changed to a larger
value. This patch de-activates the large rx buffer pools when the MTU
changes to a smaller value.
Signed-off-by: Santiago Leon [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL
, ibmveth_replenish_buffer_pool()
is corrected to check the return from dma_map_single and fail gracefully.
* The driver will have a get_desired_dma function defined to function
in a CMO environment.
* When the MTU is changed, the driver will update the device IO entitlement
Signed-off-by: Robert
From: Robert Jennings [EMAIL PROTECTED]
Enable the driver to function in a Cooperative Memory Overcommitment (CMO)
environment.
The following changes are made to enable the driver for CMO:
* DMA mapping errors will not result in error messages if entitlement has
been exceeded and resources
]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/prom_init.c |5 -
1 file changed, 4 insertions(+), 1 deletion(-)
Index: b/arch/powerpc/kernel/prom_init.c
===
--- a/arch/powerpc/kernel/prom_init.c
+++ b
at that level.
Regards,
Robert Jennings
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev
From: Nathan Fontenot [EMAIL PROTECTED]
Remove the extraneous error reporting used when a hcall made from lparcfg fails.
Signed-off-by: Nathan Fontenot [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/lparcfg.c | 32
]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/lparcfg.c | 168 ++---
1 file changed, 90 insertions(+), 78 deletions(-)
Index: b/arch/powerpc/kernel/lparcfg.c
[EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/lparcfg.c | 119 ++
include/asm-powerpc/hvcall.h | 18 ++
2 files changed, 136 insertions(+), 1 deletion(-)
Index: b/arch/powerpc/kernel/lparcfg.c
From: Nathan Fontenot [EMAIL PROTECTED]
Split the retrieval of processor entitlement data returned in the H_GET_PPP
hcall into its own helper routine.
Signed-off-by: Nathan Fontenot [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/lparcfg.c | 80
From: Robert Jennings [EMAIL PROTECTED]
For Cooperative Memory Overcommitment (CMO), set the FW_FEATURE_CMO
flag in powerpc_firmware_features from the rtas ibm,get-system-parameters
table prior to calling iommu_init_early_pSeries.
With this, any CMO specific functionality can be controlled
From: Brian King [EMAIL PROTECTED]
Newer versions of firmware support page states, which are used by the
collaborative memory manager (future patch) to loan pages to the
hypervisor for use by other partitions.
Signed-off-by: Brian King [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL
From: Brian King [EMAIL PROTECTED]
Adds a collaborative memory manager, which acts as a simple balloon driver
for System p machines that support cooperative memory overcommitment
(CMO).
Signed-off-by: Brian King [EMAIL PROTECTED]
Signed-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch
-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/ibmebus.c |6 ++
arch/powerpc/platforms/pseries/setup.c |4
2 files changed, 10 insertions(+)
Index: b/arch/powerpc/kernel/ibmebus.c
===
--- a/arch
-off-by: Robert Jennings [EMAIL PROTECTED]
---
arch/powerpc/kernel/lparcfg.c | 20
include/asm-powerpc/lppaca.h |5 -
2 files changed, 24 insertions(+), 1 deletion(-)
Index: b/arch/powerpc/kernel/lparcfg.c
From: Robert Jennings [EMAIL PROTECTED]
Enable bus level entitled memory accounting for Cooperative Memory
Overcommitment (CMO) environments. The normal code path should not
be affected.
The following changes are made that the VIO bus layer for CMO:
* add IO memory accounting per device
1 - 100 of 133 matches
Mail list logo