-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
* 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
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
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
* 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
-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
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
* 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
, 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
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
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
> 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
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
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
* 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,
> > +
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
* 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
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
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
* 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
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
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
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
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
* 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
> >
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
) 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
* 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.
> >
>
* 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
* 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.
>
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
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
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
* 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
* 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
-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
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
#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
#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
, 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
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/
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
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
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
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
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
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
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
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
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
, 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: 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
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
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
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
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
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
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
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
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.
---
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
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
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]>
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
* 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
* 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
-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
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
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
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
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
* 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
> > + *
> > +
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
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/
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
, 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: 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
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
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
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
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
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
===
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
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
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
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
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
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
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
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
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
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
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/
, 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
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
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: 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
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:
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:
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 - 100 of 138 matches
Mail list logo