[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 heri...@de.ibm.com --- 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

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 memory

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

2009-06-09 Thread Hannes Hering
is implemented via a 3-level busmap. Signed-off-by: Hannes Hering heri...@de.ibm.com --- 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 11:11:27 David Howells wrote: Hannes Hering hannes.her...@linux.vnet.ibm.com wrote: pref = skb_array[x]; - prefetchw(pref); - prefetchw(pref + EHEA_CACHE_LINE); + if (pref) { + prefetchw(pref); + prefetchw(pref + EHEA_CACHE_LINE

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) { +

[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 23:17

[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 requested

[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 based

[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 based

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

2008-09-09 Thread Hannes Hering
to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ -- Subject: ehea: fix DLPAR memory handling From: Hannes Hering [EMAIL PROTECTED] The ehea busmap must be allocated only once in the first of many

[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.27-rc5

[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.27-rc5

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

2008-06-03 Thread Hannes Hering
. 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 ehea memory hot plug

[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

[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 +53,13 @@ int

[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 @@ config

[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/drivers