[PATCH 2.6.31] ehea: Fix napi list corruption on ifconfig down

2009-08-04 Thread Hannes Hering
This patch fixes the napi list handling when an ehea interface is shut down to avoid corruption of the napi list. Signed-off-by: Hannes Hering --- diff -Nurp -X dontdiff linux-2.6.31-rc5/drivers/net/ehea/ehea.h patched_kernel/drivers/net/ehea/ehea.h --- linux-2.6.31-rc5/drivers/net/ehea

Re: [PATCH 2.6.31] ehca: Tolerate dynamic memory operations and huge pages

2009-06-10 Thread Hannes Hering
Hi Michael, On Wednesday 10 June 2009 02:02:36 Michael Ellerman wrote: > For those of us who haven't read the HEA spec lately, can you give us > some more detail on that? :) first of all, please note that this patch is actually for the ehca infiniband driver. The ehca driver uses an internal memor

[PATCH 2.6.31] ehca: Tolerate dynamic memory operations and huge pages

2009-06-09 Thread Hannes Hering
implemented via a 3-level busmap. Signed-off-by: Hannes Hering --- This patch is built and tested against infiniband.git. Please apply for 2.6.31. Regards Hannes Index: infiniband/drivers/infiniband/hw/ehca/ehca_main.c

Re: [PATCH 2.6.30-rc5] ehea: fix invalid pointer access

2009-05-05 Thread Hannes Hering
On Tuesday 05 May 2009 14:19:54 David Howells wrote: > In that case, you might want to move the prefetchw() calls in the following: > > pref = skb_array[x]; > - prefetchw(pref); > - prefetchw(pref + EHEA_CACHE_LINE); > + if (pref) { > +

Re: [PATCH 2.6.30-rc5] ehea: fix invalid pointer access

2009-05-05 Thread Hannes Hering
On Tuesday 05 May 2009 11:11:27 David Howells wrote: > Hannes Hering wrote: > > > pref = skb_array[x]; > > - prefetchw(pref); > > - prefetchw(pref + EHEA_CACHE_LINE); > > + if (pref) { > > + prefetchw(pref); > > + prefetchw

[PATCH 2.6.30-rc5] ehea: fix invalid pointer access

2009-05-04 Thread Hannes Hering
This patch fixes an invalid pointer access in case the receive queue holds no pointer to the next skb when the queue is empty. Signed-off-by: Hannes Hering Signed-off-by: Jan-Bernd Themann --- diff -Nurp -X dontdiff linux-2.6.30-rc4/drivers/net/ehea/ehea.h patched_kernel/drivers/net/ehea

[PATCH] ehea: Fix: Remove adapter from adapter list in error path

2009-02-11 Thread Hannes Hering
Remove adapter from adapter list before freeing data structure in error path. Signed-off-by: Hannes Hering --- diff -Nurp -X dontdiff linux-2.6.29-rc4/drivers/net/ehea/ehea.h patched_kernel/drivers/net/ehea/ehea.h --- linux-2.6.29-rc4/drivers/net/ehea/ehea.h2009-02-11 13:13:42.036506588

[PATCH] ehea: Fix some whitespace issues

2008-11-05 Thread Hannes Hering
This patch removes some trailing whitespaces and spaces before tabs. Signed-off-by: Hannes Hering <[EMAIL PROTECTED]> --- diff -Nurp -X dontdiff linux-2.6.28-rc3/drivers/net/ehea/ehea.h patched_kernel/drivers/net/ehea/ehea.h --- linux-2.6.28-rc3/drivers/net/ehea/ehea.h2008-11-02

[PATCH] ehea: Fix memory hotplug support

2008-10-16 Thread Hannes Hering
This patch implements the memory notifier to update the busmap instantly instead of rebuilding the whole map. This is necessary because walk_memory_resource provides different information than required during memory hotplug. Signed-off-by: Hannes Hering <[EMAIL PROTECTED]> --- Jeff, as req

[PATCH] ehea: Fix memory hotplug support

2008-10-15 Thread Hannes Hering
This patch implements the memory notifier to update the busmap instantly instead of rebuilding the whole map. This is necessary because walk_memory_resource provides different information than required during memory hotplug. Signed-off-by: Hannes Hering <[EMAIL PROTECTED]> --- This patch is

[PATCH] [2.6.27] ehea: Fix memory hotplug support

2008-09-17 Thread Hannes Hering
This patch implements the memory notifier to update the busmap instantly instead of rebuilding the whole map. This is necessary because walk_memory_resource provides different information than required during memory hotplug. Signed-off-by: Hannes Hering <[EMAIL PROTECTED]> --- This patch is

Re: + ehea-fix-dlpar-memory-handling.patch added to -mm tree

2008-09-09 Thread Hannes Hering
ttp://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find > out what to do about this > > The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ > > ---------- > Subject: ehea: fix DLPAR memory handling &g

[PATCH 2/2] ehea: Enable DLPAR memory remove

2008-09-05 Thread Hannes Hering
This patch adds the capability flag to the capability list for dynamic LPAR memory remove to enable this feature. Signed-off-by: Hannes Hering <[EMAIL PROTECTED]> --- diff -Nurp -X dontdiff linux-2.6.27-rc5/drivers/net/ehea/ehea.h patched_kernel/drivers/net/ehea/ehea.h --- linux-2.6.

[PATCH 1/2] ehea: Fix DLPAR memory handling

2008-09-05 Thread Hannes Hering
The ehea busmap must be allocated only once in the first of many calls of the ehea_create_busmap_callback. Signed-off-by: Hannes Hering <[EMAIL PROTECTED]> --- diff -Nurp -X dontdiff linux-2.6.27-rc5/drivers/net/ehea/ehea_qmr.c patched_kernel/drivers/net/ehea/ehea_qmr.c --- linux-2.6.

Re: [PATCH 2/3] [2.6.26] ehea: Add dependency to Kconfig

2008-06-03 Thread Hannes Hering
fects. We probably need to talk to Badari who provided the walk_memory_resource code. We can also just throw it onto one of our boxes to see what happens. ;) Regards Hannes On Wednesday 28 May 2008 18:44:05 Nathan Lynch wrote: > Hello, > > Hannes Hering wrote: > > The new

[PATCH 3/3] [2.6.26] ehea: Add DLPAR memory remove support

2008-05-07 Thread Hannes Hering
The eHEA driver uses the recently modified walk_memory_resource for powerpc functionality to detect the memory layout. It further uses the memory hotplug notifiers to catch memory hotplug events. Signed-off-by: Hannes Hering <[EMAIL PROTECTED]> --- diff -Nurp -X dontdiff linux-2.6.26-rc1/d

[PATCH 2/3] [2.6.26] ehea: Add dependency to Kconfig

2008-05-07 Thread Hannes Hering
The new ehea memory hot plug implementation depends on MEMORY_HOTPLUG. Signed-off-by: Hannes Hering <[EMAIL PROTECTED]> --- diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index f90a86b..181cd86 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -2440,7 +2440,7 @@

[PATCH 1/3] [2.6.26] memory: Introduce exports for memory notifiers

2008-05-07 Thread Hannes Hering
This patch introduces two exports to allow modules to use memory notifiers. Signed-off-by: Hannes Hering <[EMAIL PROTECTED]> --- diff --git a/drivers/base/memory.c b/drivers/base/memory.c index 8ce6de5..937e825 100644 --- a/drivers/base/memory.c +++ b/drivers/base/memory.c @@ -53,11

[PATCH 0/3] [2.6.26] ehea: Add DLPAR memory remove support

2008-05-07 Thread Hannes Hering
Hi, this patchset adds memory remove hotplug support for the ehea driver. These patches apply against kernel 2.6.26-rc1. Regards Hannes ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev