Re: [PATCH] powerpc/pseries: Drop unnecessary continue

2014-08-21 Thread Robert Jennings
-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 st

Re: [PATCH 2/2] powerpc: Move local setup.h declarations to arch includes

2013-10-28 Thread Robert Jennings
* 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 defi

[PATCH v3] powerpc: VPHN topology change updates all siblings

2013-07-24 Thread Robert Jennings
st is traversed by init_sched_groups_power() it will reach the thread's sched_group structure and loop indefinitely; the cpu will be stuck at this point. The bug was exposed when VPHN was enabled in commit b7abef0 (v3.9). Cc: Reported-by: Jan Stancek Signed-off-by: Robert Jennin

[PATCH v2] powerpc: VPHN topology change updates all siblings

2013-07-24 Thread Robert Jennings
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

Re: [PATCH] powerpc: VPHN topology change updates all siblings

2013-07-24 Thread Robert Jennings
* 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

[PATCH] powerpc: VPHN topology change updates all siblings

2013-07-23 Thread Robert Jennings
-by: Robert Jennings Cc: --- 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 b7abef0. --- arch/powerpc/mm/numa.c | 59

[PATCH][v2] powerpc: Bring all threads online prior to migration/hibernation

2013-05-07 Thread Robert Jennings
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: Signed-off-by: Robert Jennings --- v2: Fixed for UP build --- arch/powerpc/include/asm/rtas.h |2 + arch/powerp

Re: [PATCH] powerpc: Bring all threads online prior to migration/hibernation

2013-05-01 Thread Robert Jennings
* 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 wil

[PATCH] powerpc: Bring all threads online prior to migration/hibernation

2013-04-26 Thread Robert Jennings
, 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: Signed-off-by: Robert Jennings --- arch/powerpc/include/asm/rtas.h |2 + arch/powerpc/kernel/rtas.c

Re: [PATCH] scsi/ibmvscsi: /sys/class/scsi_host/hostX/config doesn't show any information

2012-09-07 Thread Robert Jennings
an empty config from the server. > > Signed-off-by: Benjamin Herrenschmidt > CC: 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 > --- > > diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c

Re: [PATCH] scsi/ibmvscsi: add module alias for ibmvscsic

2012-09-07 Thread Robert Jennings
On Sun, Jul 29, 2012 at 8:32 PM, Benjamin Herrenschmidt wrote: > On Wed, 2012-07-18 at 18:49 +0200, o...@aepfle.de wrote: >> From: Olaf Hering >> >> The driver is named ibmvscsic, at runtime it its name is advertised as >> ibmvscsi. For this reason mkinitrd wont pickup the driver properly. >> Rep

Re: [PATCH] scsi/ibmvscsi: /sys/class/scsi_host/hostX/config doesn't show any information

2012-08-16 Thread Robert Jennings
> So in addition to a better comment, I would suggest a fix more like > this: > > scsi/ibmvscsi: Fix host config length field overflow > > The length field in the host config packet is only 16-bit long, so > passing it 0x1 (64K which is our standard PAGE_SIZE) doesn't

Re: [PATCH] scsi/ibmvscsi: add module alias for ibmvscsic

2012-07-31 Thread Robert Jennings
On Tue, Jul 31, 2012 at 11:20 AM, Brian King 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 thing as fol

Re: [PATCH] scsi/ibmvscsi: add module alias for ibmvscsic

2012-07-31 Thread Robert Jennings
On Tue, Jul 31, 2012 at 11:20 AM, Brian King 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 thing as f

Re: [PATCH v3 03/17] powerpc: Add PFO support to the VIO bus

2012-05-10 Thread Robert Jennings
* 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, > > +

[PATCH][v2] powerpc: Support lower minimum entitlement for virtual processors

2012-05-10 Thread Robert Jennings
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 --- Dropped minimum to 1% and tested to ensure that pHYP handled this

Re: [PATCH] powerpc: Support lower minimum entitlement for virtual processors

2012-05-10 Thread Robert Jennings
* 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 wit

[PATCH] powerpc: Support lower minimum entitlement for virtual processors

2012-03-26 Thread Robert Jennings
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 5%. This will allow 20 LPARs per CPU rather than only 10. Signed-off-by: Robert Jennings --- arch

[PATCH] powerpc: ONLINE to OFFLINE CPU state transition during removal

2010-07-22 Thread Robert Jennings
This patch 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 --- diff --git a/arch/powerpc/platforms/pseries/dlpar.c b/ar

Re: [patch 3/3] [v2] powerpc: make the CMM memory hotplug aware

2009-11-20 Thread Robert Jennings
* Andrew Morton (a...@linux-foundation.org) wrote: > On Wed, 18 Nov 2009 12:59:08 -0600 > 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 &g

Re: [patch 3/3] [v2] powerpc: make the CMM memory hotplug aware

2009-11-18 Thread Robert Jennings
to allow the hypervisor time to adjust. Signed-off-by: Robert Jennings Cc: Mel Gorman Cc: Ingo Molnar Cc: Brian King Cc: Paul Mackerras Cc: Martin Schwidefsky Cc: Gerald Schaefer Cc: KAMEZAWA Hiroyuki Cc: Benjamin Herrenschmidt Cc: Andrew Morton --- The pages used to track loaned pages

[PATCH 2/2][v5] powerpc: Make the CMM memory hotplug aware

2009-10-22 Thread Robert Jennings
to allow the hypervisor time to adjust. Signed-off-by: Robert Jennings --- 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 their contents to a newly

Re: [PATCH 1/2][v2] mm: add notifier in pageblock isolation for balloon drivers

2009-10-13 Thread Robert Jennings
151040 1230848 === 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

[PATCH 2/2][v4] powerpc: Make the CMM memory hotplug aware

2009-10-12 Thread Robert Jennings
to allow the hypervisor time to adjust. Signed-off-by: Robert Jennings --- 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 patch to keep them together

Re: [PATCH 2/2][v3] powerpc: Make the CMM memory hotplug aware

2009-10-12 Thread Robert Jennings
* 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 > >

[PATCH 2/2][v3] powerpc: Make the CMM memory hotplug aware

2009-10-09 Thread Robert Jennings
to allow the hypervisor time to adjust. Signed-off-by: Robert Jennings --- 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/cm

[PATCH 1/2][v3] mm: add notifier in pageblock isolation for balloon drivers

2009-10-09 Thread Robert Jennings
) 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 --- Testing: * With the patch memory remove succeeds for

Re: [PATCH 1/2][v2] mm: add notifier in pageblock isolation for balloon drivers

2009-10-09 Thread Robert Jennings
* Andrew Morton (a...@linux-foundation.org) wrote: > On Fri, 2 Oct 2009 13:44:58 -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. > > >

Re: [PATCH 1/2][v2] mm: add notifier in pageblock isolation for balloon drivers

2009-10-09 Thread Robert Jennings
* 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

Re: [PATCH 1/2][v2] mm: add notifier in pageblock isolation for balloon drivers

2009-10-09 Thread Robert Jennings
* KAMEZAWA Hiroyuki (kamezawa.hir...@jp.fujitsu.com) wrote: > On Fri, 2 Oct 2009 13:44:58 -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. >

Re: [PATCH 2/2][v2] powerpc: Make the CMM memory hotplug aware

2009-10-08 Thread Robert Jennings
while the pages 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(&a

[PATCH 2/2][v2] powerpc: Make the CMM memory hotplug aware

2009-10-02 Thread Robert Jennings
to allow the hypervisor time to adjust. Signed-off-by: Robert Jennings --- 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 insertions(+), 6

[PATCH 1/2][v2] mm: add notifier in pageblock isolation for balloon drivers

2009-10-02 Thread Robert Jennings
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 --- drivers/base/memory.c | 19 +++ include/linux/memory.h | 26

Re: [PATCH 1/2] mm: add notifier in pageblock isolation for balloon drivers

2009-10-02 Thread Robert Jennings
* 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

Re: [PATCH 1/2] mm: add notifier in pageblock isolation for balloon drivers

2009-10-02 Thread Robert Jennings
* 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 notif

[PATCH 2/2] powerpc: Make the CMM memory hotplug aware

2009-10-01 Thread Robert Jennings
-off-by: Robert Jennings --- arch/powerpc/platforms/pseries/cmm.c | 211 ++- 1 file changed, 205 insertions(+), 6 deletions(-) Index: b/arch/powerpc/platforms/pseries/cmm.c === --- a/arch/powerpc

[PATCH 1/2] mm: add notifier in pageblock isolation for balloon drivers

2009-10-01 Thread Robert Jennings
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 --- drivers/base/memory.c | 19 +++ include/linux/memory.h | 22

[PATCH] [v2] powerpc: CMO unused page hinting

2009-04-15 Thread Robert Jennings
#x27; makes the LPAR 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 Signed-off-by: Robert Jennings --- Documentation/kernel-parameters.txt |7 + arch/powerpc/i

[PATCH] powerpc: VRM unused page hinting

2009-04-13 Thread Robert Jennings
#x27; makes the LPAR slower to give up unused memory to other partitions. Signed-off-by: Brian King Signed-off-by: Robert Jennings --- arch/powerpc/include/asm/page.h |5 +++ arch/powerpc/platforms/pseries/lpar.c | 52 ++ 2 files changed, 57 insertio

[PATCH] powerpc: Correct VIO bus accounting problem in CMO env.

2009-01-22 Thread Robert Jennings
, this patch adds the return that is needed in the error path. Signed-off-by: Robert Jennings --- arch/powerpc/kernel/vio.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) Index: b/arch/powerpc/kernel/vio.c === --- a

[PATCH] powerpc: Correct page-in counter for CMM

2008-11-14 Thread Robert Jennings
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/

Re: [PATCH v2] powerpc: Improve message for vio bus entitlement panic

2008-08-18 Thread Robert Jennings
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&q

[PATCH 1/3 v2] powerpc: make CMO paging space pool ID and page size available

2008-08-18 Thread Robert Jennings
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 t

[PATCH 3/3] powerpc: add CMO enabled flag and paging space data to lparcfg

2008-08-15 Thread Robert Jennings
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 c

[PATCH 2/3] powerpc: Fix CMM page loaning on 64k page kernel with 4k hardware pages

2008-08-15 Thread Robert Jennings
ge 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

[PATCH 1/3] powerpc: make CMO paging space pool ID and page size available

2008-08-15 Thread Robert Jennings
During platform setup, save off the primary/secondary paging space pool IDs and the page size. Added accessors in hvcall.h for these variables. Submitted-by: Robert Jennings <[EMAIL PROTECTED]> --- arch/powerpc/include/asm/hvcall.h | 21 + arch/powerpc/pla

[PATCH 0/3] powerpc: cmo fix page loaning and add info to lparcfg

2008-08-15 Thread Robert Jennings
via /proc/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.o

[PATCH 16/16 v4] powerpc: Update arch vector to indicate support for CMO

2008-07-23 Thread Robert Jennings
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

[PATCH 15/16 v4] ibmvfc: Add support for collaborative memory overcommit

2008-07-23 Thread Robert Jennings
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 f

[PATCH 14/16 v4] ibmvscsi: driver enablement for CMO

2008-07-23 Thread Robert Jennings
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 res

[PATCH 13/16 v4] ibmveth: enable driver for CMO

2008-07-23 Thread Robert Jennings
, 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

[PATCH 12/16 v4] ibmveth: Automatically enable larger rx buffer pools for larger mtu

2008-07-23 Thread Robert Jennings
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 Jenn

[PATCH 11/16 v4] powerpc: Verify CMO memory entitlement updates with virtual I/O

2008-07-23 Thread Robert Jennings
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 in

[PATCH 10/16 v4] powerpc: vio bus support for CMO

2008-07-23 Thread Robert Jennings
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

[PATCH 09/16 v4] powerpc: iommu enablement for CMO

2008-07-23 Thread Robert Jennings
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

[PATCH 08/16 v4] powerpc: Add CMO paging statistics

2008-07-23 Thread Robert Jennings
PROTECTED]> Signed-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/powerp

[PATCH 07/16 v4] powerpc: Add collaborative memory manager

2008-07-23 Thread Robert Jennings
PROTECTED]> 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. T

[PATCH 06/16 v4] powerpc: Utilities to set firmware page state

2008-07-23 Thread Robert Jennings
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-o

[PATCH 05/16 v4] powerpc: Enable CMO feature during platform setup

2008-07-23 Thread Robert Jennings
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 control

[PATCH 04/16 v4] powerpc: Split retrieval of processor entitlement data into a helper routine

2008-07-23 Thread Robert Jennings
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. ---

[PATCH 03/16 v4] powerpc: Add memory entitlement capabilities to /proc/ppc64/lparcfg

2008-07-23 Thread Robert Jennings
ntenot <[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 chang

[PATCH 02/16 v4] powerpc: Split processor entitlement retrieval and gat

2008-07-23 Thread Robert Jennings
off-by: Nathan 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/kerne

[PATCH 01/16 v4] powerpc: Remove extraneous error reporting for hcall failures in lparcfg

2008-07-23 Thread Robert Jennings
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]>

[PATCH 00/16 v4] powerpc: pSeries Cooperative Memory Overcommitment support

2008-07-23 Thread Robert Jennings
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

Re: [PATCH 10/16 v3] [v2] powerpc: iommu enablement for CMO

2008-07-22 Thread Robert Jennings
* 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

Re: [PATCH 10/16 v3] powerpc: iommu enablement for CMO

2008-07-22 Thread Robert Jennings
* 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 > Mi

[PATCH] powerpc: Correct CMO entitlement accounting for map_sg

2008-07-21 Thread Robert Jennings
-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

[PATCH] powerpc: correct CMO feature flag enablement

2008-07-15 Thread Robert Jennings
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 appl

Re: [PATCH 10/16 v3] [v2] powerpc: iommu enablement for CMO

2008-07-08 Thread Robert Jennings
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 n

Re: [PATCH 14/16 v3] [v2] ibmveth: enable driver for CMO

2008-07-08 Thread Robert Jennings
efined to function in a CMO 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 PR

Re: [PATCH 15/16 v3] [v2] ibmvscsi: driver enablement for CMO

2008-07-08 Thread Robert Jennings
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 al

Re: [PATCH 15/16 v3] ibmvscsi: driver enablement for CMO

2008-07-08 Thread Robert Jennings
* 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 > > + * > > +

Re: linux-next: scsi tree build failure

2008-07-07 Thread Robert Jennings
s, has > > been merged before any of the other patches in the series. I have > > reverted that commit. > > Do I detect the fact that IBM sent a patch for a SCSI driver for which > the core features weren't yet enabled (and which I couldn't check, not > hav

[PATCH 16/16 v3] powerpc: Update arch vector to indicate support for CMO

2008-07-04 Thread Robert Jennings
PROTECTED]> 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/

[PATCH 15/16 v3] ibmvscsi: driver enablement for CMO

2008-07-04 Thread Robert Jennings
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 res

[PATCH 14/16 v3] ibmveth: enable driver for CMO

2008-07-04 Thread Robert Jennings
, 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

[PATCH 13/16 v3] ibmveth: Automatically enable larger rx buffer pools for larger mtu

2008-07-04 Thread Robert Jennings
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 Jenn

[PATCH 12/16 v3] powerpc: Verify CMO memory entitlement updates with virtual I/O

2008-07-04 Thread Robert Jennings
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 in

[PATCH 11/16 v3] powerpc: vio bus support for CMO

2008-07-04 Thread Robert Jennings
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

[PATCH 10/16 v3] powerpc: iommu enablement for CMO

2008-07-04 Thread Robert Jennings
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

[PATCH 09/16 v3] powerpc: Add CMO paging statistics

2008-07-04 Thread Robert Jennings
PROTECTED]> Signed-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/powerp

[PATCH 08/16 v3] powerpc: Do not probe PCI buses or eBus devices if CMO is enabled

2008-07-04 Thread Robert Jennings
igned-off-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 ===

[PATCH 07/16 v3] powerpc: Add collaborative memory manager

2008-07-04 Thread Robert Jennings
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 PROTECTE

[PATCH 06/16 v3] powerpc: Utilities to set firmware page state

2008-07-04 Thread Robert Jennings
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-o

[PATCH 06/16 v3] powerpc: Utilities to set firmware page state

2008-07-04 Thread Robert Jennings
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-o

[PATCH 05/16 v3] powerpc: Enable CMO feature during platform setup

2008-07-04 Thread Robert Jennings
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 control

[PATCH 05/16 v3] powerpc: Enable CMO feature during platform setup

2008-07-04 Thread Robert Jennings
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 control

[PATCH 04/16 v3] powerpc: Split retrieval of processor entitlement data into a helper routine

2008-07-04 Thread Robert Jennings
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/powerp

[PATCH 03/16 v3] powerpc: Add memory entitlement capabilities to /proc/ppc64/lparcfg

2008-07-04 Thread Robert Jennings
ntenot <[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/powerp

[PATCH 02/16 v3] powerpc: Split processor entitlement retrieval and gathering to helper routines

2008-07-04 Thread Robert Jennings
lt;[EMAIL PROTECTED]> Signed-off-by: Robert Jennings <[EMAIL PROTECTED]> --- arch/powerpc/kernel/lparcfg.c | 168 ++--- 1 file changed, 90 insertions(+), 78 deletions(-) Index: b/arch/powerp

[PATCH 01/16 v3] powerpc: Remove extraneous error reporting for hcall failures in lparcfg

2008-07-04 Thread Robert Jennings
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/kerne

[PATCH 00/16 v3] powerpc: pSeries Cooperative Memory Overcommitment support

2008-07-04 Thread Robert Jennings
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

[PATCH 18/18 v2] powerpc: Update arch vector to indicate support for CMO

2008-06-25 Thread Robert Jennings
PROTECTED]> 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/

[PATCH 16/18 v2] ibmveth: enable driver for CMO

2008-06-25 Thread Robert Jennings
, ibmveth_replenish_buffer_pool() is corrected to check the return from dma_map_single and fail gracefully. * The driver will have a get_io_entitlement 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

[PATCH 17/18 v2] ibmvscsi: driver enablement for CMO

2008-06-25 Thread Robert Jennings
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 res

[PATCH 10/18 v2] powerpc: iommu enablement for CMO

2008-06-25 Thread Robert Jennings
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

[PATCH 15/18 v2] ibmveth: Automatically enable larger rx buffer pools for larger mtu

2008-06-25 Thread Robert Jennings
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 Jenn

[PATCH 14/18 v2] powerpc: hvcs enablement for CMO

2008-06-25 Thread Robert Jennings
From: Robert Jennings <[EMAIL PROTECTED]> Define a get_io_entitlement function so that it can function in a Cooperative Memory Overcommitment (CMO) environment (it returns 0 to indicate that no IO entitlement is required, as the driver does not perform DMA operations). Signed-off-by:

[PATCH 13/18 v2] powerpc: hvc enablement for CMO

2008-06-25 Thread Robert Jennings
From: Robert Jennings <[EMAIL PROTECTED]> Define a get_io_entitlement function so that it can function in a Cooperative Memory Overcommitment (CMO) environment (it returns 0 to indicate that no IO entitlement is required, as the driver does not perform DMA operations). Signed-off-by:

[PATCH 12/18 v2] powerpc: Verify CMO memory entitlement updates with virtual I/O

2008-06-25 Thread Robert Jennings
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 in

  1   2   >