- Apr 25, 2008
-
-
Andrew Morton authored
ehea_flush_sq() and ehea_purge_sq() should be static. Cc: Jeff Garzik <jeff@garzik.org> Cc: Thomas Klein <osstklei@de.ibm.com> Cc: Thomas Klein <tklein@de.ibm.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- Apr 12, 2008
-
-
Thomas Klein authored
This patch fixes two weaknesses in send/receive packet handling which may lead to kernel panics during DLPAR memory add operations. Signed-off-by:
Thomas Klein <tklein@de.ibm.com> Signed-off-by:
Jeff Garzik <jgarzik@redhat.com>
-
- Mar 28, 2008
-
-
Daniel Walker authored
Convert the port_lock to a mutex. There is also some additional cleanup. The line length inside the ehea_rereg_mrs was getting long so I made some adjustments to shorten them. [akpm@linux-foundation.org: dec99ification] Signed-off-by:
Daniel Walker <dwalker@mvista.com> Cc: Christoph Raisch <raisch@de.ibm.com> Cc: Jan-Bernd Themann <themann@de.ibm.com> Cc: Thomas Klein <tklein@de.ibm.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Daniel Walker authored
Convert the ehea_bcmc_regs.lock to a mutex. Signed-off-by:
Daniel Walker <dwalker@mvista.com> Cc: Christoph Raisch <raisch@de.ibm.com> Cc: Jan-Bernd Themann <themann@de.ibm.com> Cc: Thomas Klein <tklein@de.ibm.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Daniel Walker authored
Nested locks always need to be taken in the same order. This change factors out the ehea_fw_handles.lock to make the locking order consistent. Signed-off-by:
Daniel Walker <dwalker@mvista.com> Cc: Christoph Raisch <raisch@de.ibm.com> Cc: Jan-Bernd Themann <themann@de.ibm.com> Cc: Thomas Klein <tklein@de.ibm.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Daniel Walker authored
Converted the ehea_fw_handles.lock to a mutex. Signed-off-by:
Daniel Walker <dwalker@mvista.com> Cc: Christoph Raisch <raisch@de.ibm.com> Cc: Jan-Bernd Themann <themann@de.ibm.com> Cc: Thomas Klein <tklein@de.ibm.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Daniel Walker authored
Converted the dlpar_mem_lock. With a bit of cleanup, I converted to DEFINE_MUTEX() instead of a runtime init. I also made the lock static. Signed-off-by:
Daniel Walker <dwalker@mvista.com> Cc: Christoph Raisch <raisch@de.ibm.com> Acked-by:
Jan-Bernd Themann <themann@de.ibm.com> Cc: Thomas Klein <tklein@de.ibm.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
- Mar 25, 2008
-
-
Thomas Klein authored
Indicate that HEA calculates IPv4 checksums only Signed-off-by:
Thomas Klein <tklein@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
- Feb 23, 2008
-
-
Thomas Klein authored
This patch adds kdump support to the ehea driver. As the firmware doesn't free resource handles automatically, the driver has to run an as simple as possible free resource function in case of a crash shutdown. The function iterates over two arrays freeing all resource handles which are stored there. The arrays are kept up-to-date during normal runtime. The crash handler fn is triggered by the recently introduced PPC crash shutdown reg/unreg functions. Signed-off-by:
Thomas Klein <tklein@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
- Feb 03, 2008
-
-
Jan-Bernd Themann authored
Due to changes in the struct device_driver there is no direct access to its kobj any longer. The kobj was used to create sysfs links between eHEA ethernet devices and the driver. This patch removes the affected sysfs links to resolve the build problems. Signed-off-by:
Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Doug Maxey authored
Cc: Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by:
Doug Maxey <dwm@austin.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Doug Maxey authored
Cc: Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by:
Doug Maxey <dwm@austin.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Doug Maxey authored
Cc: Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by:
Doug Maxey <dwm@austin.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Doug Maxey authored
Cc: Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by:
Doug Maxey <dwm@austin.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Doug Maxey authored
Cc: Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by:
Doug Maxey <dwm@austin.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- Nov 23, 2007
-
-
Thomas Klein authored
Prevent driver from brawly logging packet checksum errors. Signed-off-by:
Thomas Klein <tklein@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Thomas Klein authored
Using own tx_packets counter instead of firmware counters. Signed-off-by:
Thomas Klein <tklein@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
- Oct 29, 2007
-
-
Jan-Bernd Themann authored
eHEA resources that are allocated via H_CALLs have a unique identifier each. These identifiers are necessary to free the resources. A reboot notifier is used to free all eHEA resources before the indentifiers get lost, i.e before kexec starts a new kernel. Signed-off-by:
Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
- Oct 25, 2007
-
-
Jan-Bernd Themann authored
napi_disable / napi_enable must be applied on all ehea queues. Signed-off-by:
Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
- Oct 18, 2007
-
-
Joe Perches authored
Found these while looking at printk uses. Add missing newlines to dev_<level> uses Add missing KERN_<level> prefixes to multiline dev_<level>s Fixed a wierd->weird spelling typo Added a newline to a printk Signed-off-by:
Joe Perches <joe@perches.com> Cc: "Luck, Tony" <tony.luck@intel.com> Cc: Jens Axboe <jens.axboe@oracle.com> Cc: Mark M. Hoffman <mhoffman@lightlink.com> Cc: Roland Dreier <rolandd@cisco.com> Cc: Tilman Schmidt <tilman@imap.cc> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Jeff Garzik <jeff@garzik.org> Cc: Stephen Hemminger <shemminger@linux-foundation.org> Cc: Greg KH <greg@kroah.com> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: David Brownell <david-b@pacbell.net> Cc: James Smart <James.Smart@Emulex.Com> Cc: Andrew Vasquez <andrew.vasquez@qlogic.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Jaroslav Kysela <perex@suse.cz> Cc: Takashi Iwai <tiwai@suse.de> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- Oct 17, 2007
-
-
Joachim Fenkes authored
Replace struct ibmebus_dev and struct ibmebus_driver with struct of_device and struct of_platform_driver, respectively. Match the external ibmebus interface and drivers using it. Signed-off-by:
Joachim Fenkes <fenkes@de.ibm.com> Acked-by:
Arnd Bergmann <arnd@arndb.de> Acked-by:
Roland Dreier <rolandd@cisco.com> Acked-by:
Jeff Garzik <jeff@garzik.org> Signed-off-by:
Paul Mackerras <paulus@samba.org>
-
- Oct 10, 2007
-
-
Jan-Bernd Themann authored
eHEA recovery and DLPAR functions are called seldomly. The eHEA workqueues are replaced by the kernel event queue. Signed-off-by:
Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Jan-Bernd Themann authored
Due to stability issues in high load situations the HW queue handling has to be changed. The HW queues are now stopped and restarted again instead of destroying and allocating new HW queues. Signed-off-by:
Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Jeff Garzik authored
These have been superceded by the new ->get_sset_count() hook. Signed-off-by:
Jeff Garzik <jeff@garzik.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Jeff Garzik authored
For the operations get-tx-csum get-sg get-tso get-ufo the default ethtool_op_xxx behavior is fine for all drivers, so we permit op==NULL to imply the default behavior. This provides a more uniform behavior across all drivers, eliminating ethtool(8) "ioctl not supported" errors on older drivers that had not been updated for the latest sub-ioctls. The ethtool_op_xxx() functions are left exported, in case anyone wishes to call them directly from a driver-private implementation -- a not-uncommon case. Should an ethtool_op_xxx() helper remain unused for a while, except by net/core/ethtool.c, we can un-export it at a later date. [ Resolved conflicts with set/get value ethtool patch... -DaveM ] Signed-off-by:
Jeff Garzik <jeff@garzik.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Ralf Baechle authored
It's been a useless no-op for long enough in 2.6 so I figured it's time to remove it. The number of people that could object because they're maintaining unified 2.4 and 2.6 drivers is probably rather small. [ Handled drivers added by netdev tree and some missed IRDA cases... -DaveM ] Signed-off-by:
Ralf Baechle <ralf@linux-mips.org> Signed-off-by:
Jeff Garzik <jeff@garzik.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Jan-Bernd Themann authored
Signed-off-by:
Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Stephen Hemminger authored
Several devices have multiple independant RX queues per net device, and some have a single interrupt doorbell for several queues. In either case, it's easier to support layouts like that if the structure representing the poll is independant from the net device itself. The signature of the ->poll() call back goes from: int foo_poll(struct net_device *dev, int *budget) to int foo_poll(struct napi_struct *napi, int budget) The caller is returned the number of RX packets processed (or the number of "NAPI credits" consumed if you want to get abstract). The callee no longer messes around bumping dev->quota, *budget, etc. because that is all handled in the caller upon return. The napi_struct is to be embedded in the device driver private data structures. Furthermore, it is the driver's responsibility to disable all NAPI instances in it's ->stop() device close handler. Since the napi_struct is privatized into the driver's private data structures, only the driver knows how to get at all of the napi_struct instances it may have per-device. With lots of help and suggestions from Rusty Russell, Roland Dreier, Michael Chan, Jeff Garzik, and Jamal Hadi Salim. Bug fixes from Thomas Graf, Roland Dreier, Peter Zijlstra, Joseph Fannin, Scott Wood, Hans J. Koch, and Michael Chan. [ Ported to current tree and all drivers converted. Integrated Stephen's follow-on kerneldoc additions, and restored poll_list handling to the old style to fix mutual exclusion issues. -DaveM ] Signed-off-by:
Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
- Sep 12, 2007
-
-
Jan-Bernd Themann authored
Update last_rx in registered device struct instead of in the dummy device. Signed-off-by:
Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Jan-Bernd Themann authored
Introduces a module parameter to decide whether the physical port link state is propagated to the network stack or not. It makes sense not to take the physical port state into account on machines with more logical partitions that communicate with each other. This is always possible no matter what the physical port state is. Thus eHEA can be considered as a switch there. Signed-off-by:
Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
- Aug 25, 2007
-
-
Jan-Bernd Themann authored
Includes hcp_epas_dtor in eq/cq/qp destructors to unmap HW register. Signed-off-by:
Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Jan-Bernd Themann authored
Update the module parameter description of "use_mcs" to show correct default value Signed-off-by:
Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Jan-Bernd Themann authored
Userspace DLPAR tool expects decimal numbers to be written to and read from sysfs entries. Signed-off-by:
Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
- Aug 07, 2007
-
-
Thomas Klein authored
Fixed wrongly casted pointers Signed-off-by:
Thomas Klein <tklein@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Thomas Klein authored
Use shorter method to determine whether adapter has configured ports Signed-off-by:
Thomas Klein <tklein@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
Thomas Klein authored
Fix: Workqueue ehea_driver_wq was not destroyed Signed-off-by:
Thomas Klein <tklein@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
- Jul 24, 2007
-
-
Jan-Bernd Themann authored
net_poll support for eHEA added Signed-off-by:
Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
- Jul 18, 2007
-
-
Thomas Klein authored
The driver didn't allow an interface's MAC address to be modified if the respective interface wasn't setup - a failing Hcall was the result. Thus bonding wasn't usable. The fix moves the failing Hcall which was registering a MAC address for the reception of BC packets in firmware from the port up and down functions to the port resources setup functions. Additionally the missing update of the last_rx member of the netdev structure was added. Signed-off-by:
Thomas Klein <tklein@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
- Jul 16, 2007
-
-
Thomas Klein authored
This patch adds support for DLPAR memory add to the eHEA driver. To detect whether memory was added the driver uses its own memory mapping table and checks for kernel addresses whether they're located in already known memory sections. If not the function ehea_rereg_mrs() is triggered which performs a rebuild of the mapping table and a re-registration of the global memory region. Signed-off-by:
Thomas Klein <tklein@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-
- Jul 10, 2007
-
-
Jan-Bernd Themann authored
This patch introduces a capability flag that is used by the DLPAR userspace tool to check which DLPAR features are supported by the eHEA driver. Missing goto has been included. Signed-off-by:
Jan-Bernd Themann <themann@de.ibm.com> Signed-off-by:
Jeff Garzik <jeff@garzik.org>
-