Re: [PATCH 0/9] QorIQ DPAA 1 updates

2017-02-21 Thread David Miller
From: Madalin Bucur Date: Tue, 21 Feb 2017 13:52:45 +0200 > This patch set introduces a series of fixes and features to the DPAA 1 > drivers. Besides activating hardware Rx checksum offloading, four traffic > classes are added for Tx traffic prioritisation. The net-next

Re: [PATCH] net/wan: add MODULE_LICENSE for fsl_ucc_hdlc

2017-02-17 Thread David Miller
From: Valentin Longchamp Date: Fri, 17 Feb 2017 11:31:22 +0100 > It is required to build it as a module. > > Signed-off-by: Valentin Longchamp Applied to net-next.

Re: [PATCH 1/2] net: fs_enet: Fix an error handling path

2017-02-13 Thread David Miller
From: Christophe JAILLET Date: Fri, 10 Feb 2017 21:17:06 +0100 > 'of_node_put(fpi->phy_node)' should also be called if we branch to > 'out_deregister_fixed_link' error handling path. > > Signed-off-by: Christophe JAILLET Applied.

Re: [PATCH 2/2] net: fs_enet: Simplify code

2017-02-13 Thread David Miller
From: Christophe JAILLET Date: Fri, 10 Feb 2017 21:17:19 +0100 > There is no need to use an intermediate variable to handle an error code > in this case. > > Signed-off-by: Christophe JAILLET Applied.

Re: [PATCH 0/2] get rid of immrbar_virt_to_phys()

2017-02-08 Thread David Miller
From: Christophe Leroy Date: Tue, 7 Feb 2017 10:05:07 +0100 (CET) > ucc_geth ethernet driver is the only driver using immrbar_virt_to_phys() and > it uses it incorrectly. > > This patch fixes ucc_geth driver then removes immrbar_virt_to_phys() Feel free to merge this

Re: [PATCH net 2/5] ibmvnic: Fix MTU settings

2017-01-26 Thread David Miller
From: Thomas Falcon <tlfal...@linux.vnet.ibm.com> Date: Thu, 26 Jan 2017 10:44:31 -0600 > On 01/25/2017 10:05 PM, David Miller wrote: >> From: Thomas Falcon <tlfal...@linux.vnet.ibm.com> >> Date: Wed, 25 Jan 2017 15:02:20 -0600 >> >>> In the current d

Re: [PATCH net 1/5] ibmvnic: harden interrupt handler

2017-01-26 Thread David Miller
From: Thomas Falcon <tlfal...@linux.vnet.ibm.com> Date: Thu, 26 Jan 2017 10:44:22 -0600 > On 01/25/2017 10:04 PM, David Miller wrote: >> From: Thomas Falcon <tlfal...@linux.vnet.ibm.com> >> Date: Wed, 25 Jan 2017 15:02:19 -0600 >> >>> Move most i

Re: [PATCH net 2/5] ibmvnic: Fix MTU settings

2017-01-25 Thread David Miller
From: Thomas Falcon Date: Wed, 25 Jan 2017 15:02:20 -0600 > In the current driver, the MTU is set to the maximum value > capable for the backing device. This patch sets the MTU to the > default value for a Linux net device. Why are you doing this? What happens to

Re: [PATCH net 1/5] ibmvnic: harden interrupt handler

2017-01-25 Thread David Miller
From: Thomas Falcon Date: Wed, 25 Jan 2017 15:02:19 -0600 > Move most interrupt handler processing into a tasklet, and > introduce a delay after re-enabling interrupts to fix timing > issues encountered in hardware testing. > > Signed-off-by: Thomas Falcon

Re: [PATCH] ibmveth: Add a proper check for the availability of the checksum features

2017-01-24 Thread David Miller
From: Thomas Huth Date: Tue, 24 Jan 2017 07:28:41 +0100 > When using the ibmveth driver in a KVM/QEMU based VM, it currently > always prints out a scary error message like this when it is started: > > ibmveth 7103 (unregistered net_device): unable to change > checksum

Re: [PATCH] net: constify mdiobb_ops structures

2017-01-16 Thread David Miller
From: Bhumika Goyal Date: Fri, 13 Jan 2017 23:32:26 +0530 > Declare mdiobb_ops structures as const as they are only stored in the > ops field of mdiobb_ctrl structures. This field is of type const, so > mdiobb_ops structures having this property can be declared const too.

Re: [PATCH 1/3] powerpc: bpf: remove redundant check for non-null image

2017-01-16 Thread David Miller
I'm assuming these patches will go via the powerpc tree. If you want them to go into net-next, I kindly ask that you always explicitly say so, and furthermore always submit a patch series with a proper "[PATCH 0/N] ..." header posting. Thanks.

Re: [PATCH] net: ibm: ibmvnic: use new api ethtool_{get|set}_link_ksettings

2017-01-09 Thread David Miller
From: Philippe Reynes Date: Sat, 7 Jan 2017 22:37:29 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH] net: ibm: ibmveth: use new api ethtool_{get|set}_link_ksettings

2017-01-09 Thread David Miller
From: Philippe Reynes Date: Sat, 7 Jan 2017 22:35:13 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH 0/2] dpaa_eth: a couple of fixes

2017-01-04 Thread David Miller
From: Madalin Bucur Date: Wed, 4 Jan 2017 13:21:28 +0200 > Add cleanup on PHY initialization failure path, avoid using > uninitialized memory at CGR init. Series applied, thanks.

Re: [PATCH net v4 0/4] fsl/fman: fixes for ARM

2016-12-20 Thread David Miller
From: Madalin Bucur Date: Mon, 19 Dec 2016 22:42:42 +0200 > The patch set fixes advertised speeds for QSGMII interfaces, disables > A007273 erratum workaround on non-PowerPC platforms where it does not > apply, enables compilation on ARM64 and addresses a probing issue on

Re: [PATCH net v2 2/5] powerpc: remove fsl,fman from of_device_ids[]

2016-12-19 Thread David Miller
From: Madalin Bucur Date: Mon, 19 Dec 2016 11:22:20 +0200 > The fsl/fman drivers will use of_platform_populate() on all > supported platforms. > > Signed-off-by: Madalin Bucur It seems that this creates a failure point between patches #2 and #3.

Re: [PATCH net 0/3] dpaa_eth: a couple of fixes

2016-12-17 Thread David Miller
From: Madalin Bucur Date: Thu, 15 Dec 2016 15:13:03 +0200 > This patch set introduces big endian accessors in the dpaa_eth driver > making sure accesses to the QBMan HW are correct on little endian > platforms. Removing a redundant Kconfig dependency on FSL_SOC. > Adding

Re: [PATCH net 00/16] net: fix fixed-link phydev leaks

2016-11-29 Thread David Miller
From: Johan Hovold Date: Mon, 28 Nov 2016 19:24:53 +0100 > This series fixes failures to deregister and free fixed-link phydevs > that have been registered using the of_phy_register_fixed_link() > interface. > > All but two drivers currently fail to do this and this series

Re: [PATCH] ibmvnic: drop duplicate header seq_file.h

2016-11-25 Thread David Miller
From: Geliang Tang Date: Thu, 24 Nov 2016 21:58:29 +0800 > Drop duplicate header seq_file.h from ibmvnic.c. > > Signed-off-by: Geliang Tang Applied.

Re: [PATCH net-next v8 0/9] dpaa_eth: Add the QorIQ DPAA Ethernet driver

2016-11-15 Thread David Miller
From: Madalin Bucur Date: Tue, 15 Nov 2016 10:41:00 +0200 > This patch series adds the Ethernet driver for the Freescale > QorIQ Data Path Acceleration Architecture (DPAA). Series applied, thanks.

Re: [PATCH] ps3_gelic: fix spelling mistake in debug message

2016-11-14 Thread David Miller
From: Colin King Date: Sat, 12 Nov 2016 17:20:30 + > From: Colin Ian King > > Trivial fix to spelling mistake "unmached" to "unmatched" in > debug message. > > Signed-off-by: Colin Ian King Applied.

Re: [PATCH net-next v7 03/10] dpaa_eth: add option to use one buffer pool set

2016-11-14 Thread David Miller
From: Madalin-Cristian Bucur Date: Mon, 14 Nov 2016 10:25:13 + > I've introduced this Kconfig option as a backwards compatible option, to > be able to run comparative tests between the independent buffer pool setup > and the previous common buffer pool setup. There are

Re: [PATCH net-next v7 03/10] dpaa_eth: add option to use one buffer pool set

2016-11-13 Thread David Miller
From: Madalin Bucur Date: Fri, 11 Nov 2016 10:20:00 +0200 > @@ -8,3 +8,12 @@ menuconfig FSL_DPAA_ETH > supporting the Freescale QorIQ chips. > Depends on Freescale Buffer Manager and Queue Manager > driver and Frame Manager Driver. > + > +if

Re: [PATCH net-next v6 02/10] dpaa_eth: add support for DPAA Ethernet

2016-11-09 Thread David Miller
From: Madalin-Cristian Bucur <madalin.bu...@nxp.com> Date: Wed, 9 Nov 2016 17:16:12 + >> From: Madalin-Cristian Bucur >> Sent: Monday, November 07, 2016 5:43 PM >> >> > From: David Miller [mailto:da...@davemloft.net] >> > Sent: Thursday, Novembe

Re: [PATCH net-next v6 02/10] dpaa_eth: add support for DPAA Ethernet

2016-11-07 Thread David Miller
From: Madalin-Cristian Bucur <madalin.bu...@nxp.com> Date: Mon, 7 Nov 2016 16:32:16 + >> -Original Message----- >> From: David Miller [mailto:da...@davemloft.net] >> Sent: Monday, November 07, 2016 5:55 PM >> >> From: Madalin-Cristian Bucur <mad

Re: [PATCH net-next v6 02/10] dpaa_eth: add support for DPAA Ethernet

2016-11-07 Thread David Miller
From: Madalin-Cristian Bucur <madalin.bu...@nxp.com> Date: Mon, 7 Nov 2016 15:43:26 + >> From: David Miller [mailto:da...@davemloft.net] >> Sent: Thursday, November 03, 2016 9:58 PM >> >> Why? By clearing this, you disallow an important fundamental way to

Re: Coding Style: Reverse XMAS tree declarations ?

2016-11-04 Thread David Miller
From: Lino Sanfilippo Date: Fri, 4 Nov 2016 12:01:17 +0100 > Hi, > > On 04.11.2016 07:53, Joe Perches wrote: >> >> CHECK:REVERSE_XMAS_TREE: Prefer ordering declarations longest to >> shortest >> #446: FILE: drivers/net/ethernet/ethoc.c:446: >> +int size

Re: [PATCH net-next v6 02/10] dpaa_eth: add support for DPAA Ethernet

2016-11-03 Thread David Miller
From: Madalin Bucur Date: Wed, 2 Nov 2016 22:17:26 +0200 > This introduces the Freescale Data Path Acceleration Architecture > +static inline size_t bpool_buffer_raw_size(u8 index, u8 cnt) > +{ > + u8 i; > + size_t res = DPAA_BP_RAW_SIZE / 2; Always order local

Re: [PATCH/RFC 0/5] cpu_relax: introduce yield, remove lowlatency

2016-10-21 Thread David Miller
From: Christian Borntraeger <borntrae...@de.ibm.com> Date: Fri, 21 Oct 2016 17:08:54 +0200 > On 10/21/2016 04:57 PM, David Miller wrote: >> From: Christian Borntraeger <borntrae...@de.ibm.com> >> Date: Fri, 21 Oct 2016 13:58:53 +0200 >> >>> For s

Re: [PATCH/RFC 0/5] cpu_relax: introduce yield, remove lowlatency

2016-10-21 Thread David Miller
From: Christian Borntraeger Date: Fri, 21 Oct 2016 13:58:53 +0200 > For spinning loops people did often use barrier() or cpu_relax(). > For most architectures cpu_relax and barrier are the same, but on > some architectures cpu_relax can add some latency. For example on

Re: [PATCH] net: fs_enet: Use net_device_stats from struct net_device

2016-10-19 Thread David Miller
From: Tobias Klauser Date: Wed, 19 Oct 2016 11:24:57 +0200 > Instead of using a private copy of struct net_device_stats in struct > fs_enet_private, use stats from struct net_device. Also remove the now > unnecessary .ndo_get_stats function. > > Signed-off-by: Tobias

Re: [PATCH] wan/fsl_ucc_hdlc: Fix size used in dma_free_coherent()

2016-10-07 Thread David Miller
From: Christophe JAILLET Date: Fri, 7 Oct 2016 22:58:47 +0200 > Size used with 'dma_alloc_coherent()' and 'dma_free_coherent()' should be > consistent. > Here, the size of a pointer is used in dma_alloc... and the size of the > pointed structure is used in

Re: [PATCH] net: ps3_gelic: Add missing \n to end of deb_dbg message

2016-10-06 Thread David Miller
From: Colin King Date: Tue, 4 Oct 2016 12:15:54 +0100 > From: Colin Ian King > > Trival fix, dev_dbg message is missing a \n, so add it. > > Signed-off-by: Colin Ian King Applied.

Re: [net-next 00/13] fsl/fman: cleanup and small fixes

2016-10-06 Thread David Miller
From: Madalin Bucur Date: Tue, 4 Oct 2016 10:30:24 +0300 > This series contains fixes for the DPAA FMan driver. > Adding myself as maintainer of the driver. > > The following are changes since commit > a4cc96d1f0170b779c32c6b2cc58764f5d2cdef0 > net: phy: Add Edge-rate

Re: [PATCH 2/2] bpf samples: update tracex5 sample to use __seccomp_filter

2016-09-27 Thread David Miller
From: "Naveen N. Rao" Date: Sat, 24 Sep 2016 02:10:05 +0530 > seccomp_phase1() does not exist anymore. Instead, update sample to use > __seccomp_filter(). While at it, set max locked memory to unlimited. > > Signed-off-by: Naveen N. Rao

Re: [PATCH 1/2] bpf samples: fix compiler errors with sockex2 and sockex3

2016-09-27 Thread David Miller
From: "Naveen N. Rao" Date: Sat, 24 Sep 2016 02:10:04 +0530 > These samples fail to compile as 'struct flow_keys' conflicts with > definition in net/flow_dissector.h. Fix the same by renaming the > structure used in the sample. > > Signed-off-by: Naveen N. Rao

Re: [PATCH] net: Remove NO_IRQ from powerpc-only network drivers

2016-09-13 Thread David Miller
From: Michael Ellerman Date: Sat, 10 Sep 2016 19:59:05 +1000 > We'd like to eventually remove NO_IRQ on powerpc, so remove usages of it > from powerpc-only drivers. > > Signed-off-by: Michael Ellerman Applied to net-next, thanks.

Re: [PATCH v2 0/3] Optimisation of fs_enet ethernet driver

2016-09-10 Thread David Miller
From: Christophe Leroy Date: Fri, 9 Sep 2016 14:26:18 +0200 (CEST) > This set optimises the freescale fs_enet ethernet driver: > 1/ Merge of RX and TX NAPI functions in order to limit the amount of > interrupts > 2/ Do not unmap DMA when packets len is below copybreak,

Re: [PATCH] wan/fsl_ucc_hdlc: fix spelling mistake "prameter" -> "parameter"

2016-08-28 Thread David Miller
From: Colin King Date: Sun, 28 Aug 2016 11:40:41 +0100 > From: Colin Ian King > > Trivial fix to spelling mistake in dev_err message. > > Signed-off-by: Colin Ian King Applied.

Re: [PATCH] net: ucc_geth: fix spelling mistake "propperty" -> "property"

2016-08-28 Thread David Miller
From: Colin King Date: Sun, 28 Aug 2016 12:03:27 +0100 > From: Colin Ian King > > Trivial fix to spelling mistake in dev_warn message. > > Signed-off-by: Colin Ian King Applied.

Re: [PATCH -next] ibmvnic: convert to use simple_open()

2016-08-25 Thread David Miller
From: Wei Yongjun Date: Wed, 24 Aug 2016 13:50:03 + > From: Wei Yongjun > > Remove an open coded simple_open() function and replace file > operations references to the function with simple_open() > instead. > > Generated by:

Re: [PATCH -next] ibmvnic: fix error return code in ibmvnic_probe()

2016-08-25 Thread David Miller
From: Wei Yongjun Date: Wed, 24 Aug 2016 13:47:58 + > From: Wei Yongjun > > Fix to return error code -ENOMEM from the dma_map_single error > handling case instead of 0, as done elsewhere in this function. > > Fixes: 032c5e82847a ("Driver for IBM

Re: [PATCH] ibmvnic: Handle backing device failover and reinitialization

2016-08-19 Thread David Miller
From: Thomas Falcon Date: Thu, 18 Aug 2016 11:37:51 -0500 > An upcoming feature of IBM VNIC protocol is the ability to configure > redundant backing devices for a VNIC client. In case of a failure > on the current backing device, the driver will receive a signal >

Re: [PATCH -net] net/ethernet: tundra: fix dump_eth_one warning in tsi108_eth

2016-08-08 Thread David Miller
From: Paul Gortmaker Date: Thu, 4 Aug 2016 16:07:58 -0400 > The call site for this function appears as: > > #ifdef DEBUG > data->msg_enable = DEBUG; > dump_eth_one(dev); > #endif > > ...leading to the following warning for !DEBUG builds: > >

Re: [PATCH 1/1] wan/fsl_ucc_hdlc: avoid possible NULL pointer dereference

2016-08-01 Thread David Miller
From: Heinrich Schuchardt Date: Sun, 31 Jul 2016 13:14:23 +0200 > All assignments to components of priv should only > occur after the check if prif is NULL. > > Signed-off-by: Heinrich Schuchardt Applied. ___

Re: [patch] ide: missing break statement in set_timings_mdma()

2016-07-26 Thread David Miller
From: Dan Carpenter Date: Thu, 14 Jul 2016 13:48:02 +0300 > There was clearly supposed to be a break statement here. Currently we > use the k2 ata timings instead of sh ata ones we intended. Probably no > one has this hardware anymore so it likely doesn't make a

Re: [v3] UCC_GETH/UCC_FAST: Use IS_ERR_VALUE_U32 API to avoid IS_ERR_VALUE abuses.

2016-07-25 Thread David Miller
From: Arvind Yadav Date: Sat, 23 Jul 2016 23:35:51 +0530 > However, anything that passes an 'unsigned short' or 'unsigned int' > argument into IS_ERR_VALUE() is guaranteed to be broken, as are > 8-bit integers and types that are wider than 'unsigned long'. ... >

Re: [PATCH -next] wan/fsl_ucc_hdlc: remove .owner field for driver

2016-07-20 Thread David Miller
From: Wei Yongjun Date: Tue, 19 Jul 2016 11:25:03 + > From: Wei Yongjun > > Remove .owner field if calls are used which set it automatically. > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > Signed-off-by: Wei

Re: [PATCH -next] wan/fsl_ucc_hdlc: use module_platform_driver to simplify the code

2016-07-20 Thread David Miller
From: Wei Yongjun Date: Tue, 19 Jul 2016 11:25:16 + > From: Wei Yongjun > > module_platform_driver() makes the code simpler by eliminating > boilerplate code. > > Signed-off-by: Wei Yongjun Applied.

Re: [patch v2 -next] wan/fsl_ucc_hdlc: info leak in uhdlc_ioctl()

2016-07-15 Thread David Miller
From: Dan Carpenter Date: Thu, 14 Jul 2016 14:16:53 +0300 > There is a 2 byte struct whole after line.loopback so we need to clear > that out to avoid disclosing stack information. > > Fixes: c19b6d246a35 ('drivers/net: support hdlc function for QE-UCC') >

Re: [PATCH] Need proper type casting before assignment, Remove compilation Warning.

2016-07-09 Thread David Miller
From: Arvind Yadav Date: Fri, 8 Jul 2016 00:07:54 +0530 > -Return type of 'qe_muram_alloc' is 'unsigned long', That Was trying to > assigned in ucc_fast_tx_virtual_fifo_base_offset and > ucc_fast_rx_virtual_fifo_base_offset. These variable are 'unsigned int'. > So

Re: [PATCH v2] ibmvnic: fix to use list_for_each_safe() when delete items

2016-06-25 Thread David Miller
From: Wei Yongjun Date: Wed, 22 Jun 2016 10:51:46 +0800 > Since we will remove items off the list using list_del() we need > to use a safe version of the list_for_each() macro aptly named > list_for_each_safe(). > > Signed-off-by: Wei Yongjun

Re: [PATCH 0/6] eBPF JIT for PPC64

2016-06-10 Thread David Miller
From: "Naveen N. Rao" Date: Tue, 7 Jun 2016 19:02:17 +0530 > Please note that patch [2] is a pre-requisite for this patchset, and is > not yet upstream. ... > [1] http://thread.gmane.org/gmane.linux.kernel/2188694 > [2]

Re: [PATCH] drivers/net/fsl_ucc: Do not prefix header guard with CONFIG_

2016-06-08 Thread David Miller
From: Andreas Ziegler Date: Wed, 8 Jun 2016 11:40:28 +0200 > The CONFIG_ prefix should only be used for options which > can be configured through Kconfig and not for guarding headers. > > Signed-off-by: Andreas Ziegler Applied.

Re: [Patch v3 2/5] fsl/qe: setup clock source for TDM mode

2016-06-07 Thread David Miller
From: Zhao Qiang Date: Mon, 6 Jun 2016 14:29:59 +0800 > Add tdm clock configuration in both qe clock system and ucc > fast controller. > > Signed-off-by: Zhao Qiang Applied. ___ Linuxppc-dev mailing list

Re: [Patch v3 5/5] drivers/net: support hdlc function for QE-UCC

2016-06-07 Thread David Miller
From: Zhao Qiang Date: Mon, 6 Jun 2016 14:30:02 +0800 > The driver add hdlc support for Freescale QUICC Engine. > It support NMSI and TSA mode. > > Signed-off-by: Zhao Qiang Applied. ___ Linuxppc-dev mailing

Re: [Patch v3 1/5] fsl/qe: add rx_sync and tx_sync for TDM mode

2016-06-07 Thread David Miller
From: Zhao Qiang Date: Mon, 6 Jun 2016 14:29:58 +0800 > Rx_sync and tx_sync are used by QE-TDM mode, > add them to struct ucc_fast_info. > > Signed-off-by: Zhao Qiang Applied. ___ Linuxppc-dev mailing list

Re: [Patch v3 3/5] fsl/qe: Make regs resouce_size_t

2016-06-07 Thread David Miller
From: Zhao Qiang Date: Mon, 6 Jun 2016 14:30:00 +0800 > Signed-off-by: Zhao Qiang Applied. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [Patch v3 4/5] fsl/qe: Add QE TDM lib

2016-06-07 Thread David Miller
From: Zhao Qiang Date: Mon, 6 Jun 2016 14:30:01 +0800 > QE has module to support TDM, some other protocols > supported by QE are based on TDM. > add a qe-tdm lib, this lib provides functions to the protocols > using TDM to configurate QE-TDM. > > Signed-off-by: Zhao Qiang

Re: [PATCH v2 2/5] fsl/qe: setup clock source for TDM mode

2016-06-02 Thread David Miller
From: Zhao Qiang Date: Thu, 2 Jun 2016 09:44:58 +0800 > +static int ucc_get_tdm_sync_source(u32 tdm_num, enum qe_clock clock, > +enum comm_dir mode) > +{ > + int source = -EINVAL; > + > + if (mode == COMM_DIR_RX && clock ==

Re: [PATCH] ps3_gelic: use kmemdup

2016-05-20 Thread David Miller
From: Muhammad Falak R Wani Date: Thu, 19 May 2016 19:24:41 +0530 > Use kmemdup when some other buffer is immediately copied into allocated > region. It replaces call to allocation followed by memcpy, by a single > call to kmemdup. > > Signed-off-by: Muhammad Falak R Wani

Re: [PATCH 4/4] net: ethernet: fec_mpc52xx: move to new ethtool api {get|set}_link_ksettings

2016-05-03 Thread David Miller
From: Philippe Reynes Date: Sun, 1 May 2016 17:08:11 +0200 > The ethtool api {get|set}_settings is deprecated. > We move the fec_mpc52xx driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH 3/4] net: ethernet: fs-enet: move to new ethtool api {get|set}_link_ksettings

2016-05-03 Thread David Miller
From: Philippe Reynes Date: Sun, 1 May 2016 17:08:10 +0200 > The ethtool api {get|set}_settings is deprecated. > We move the fs-enet driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH 2/4] net: ethernet: ucc: move to new ethtool api {get|set}_link_ksettings

2016-05-03 Thread David Miller
From: Philippe Reynes Date: Sun, 1 May 2016 17:08:09 +0200 > The ethtool api {get|set}_settings is deprecated. > We move the ucc driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH 1/4] net: ethernet: gianfar: move to new ethtool api {get|set}_link_ksettings

2016-05-03 Thread David Miller
From: Philippe Reynes Date: Sun, 1 May 2016 17:08:08 +0200 > The ethtool api {get|set}_settings is deprecated. > We move the gianfar driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH net-next] ibmvnic: Defer tx completion processing using a wait queue

2016-04-12 Thread David Miller
From: John Allen Date: Tue, 12 Apr 2016 16:00:23 -0500 > On 04/12/2016 03:12 PM, Eric Dumazet wrote: >> On Tue, 2016-04-12 at 14:38 -0500, John Allen wrote: >>> Moves tx completion processing out of interrupt context, deferring work >>> using a wait queue. With this

Re: [PATCH net-next] ibmvnic: Enable use of multiple tx/rx scrqs

2016-04-08 Thread David Miller
From: John Allen Date: Wed, 6 Apr 2016 11:49:55 -0500 > Enables the use of multiple transmit and receive scrqs allowing the ibmvnic > driver to take advantage of multiqueue functionality. To achieve this, the > driver must implement the process of negotiating the

Re: [PATCH net 3/4] lib/test_bpf: Add test to check for result of 32-bit add that overflows

2016-04-06 Thread David Miller
From: "Naveen N. Rao" Date: Tue, 5 Apr 2016 15:32:55 +0530 > BPF_ALU32 and BPF_ALU64 tests for adding two 32-bit values that results in > 32-bit overflow. > > Cc: Alexei Starovoitov > Cc: Daniel Borkmann > Cc: "David S.

Re: [PATCH net 4/4] lib/test_bpf: Add additional BPF_ADD tests

2016-04-06 Thread David Miller
From: "Naveen N. Rao" Date: Tue, 5 Apr 2016 15:32:56 +0530 > Some of these tests proved useful with the powerpc eBPF JIT port due to > sign-extended 16-bit immediate loads. Though some of these aspects get > covered in other tests, it is better to have explicit

Re: [PATCH net 2/4] lib/test_bpf: Add tests for unsigned BPF_JGT

2016-04-06 Thread David Miller
From: "Naveen N. Rao" Date: Tue, 5 Apr 2016 15:32:54 +0530 > Unsigned Jump-if-Greater-Than. > > Cc: Alexei Starovoitov > Cc: Daniel Borkmann > Cc: "David S. Miller" > Cc: Ananth N Mavinakayanahalli

Re: [PATCH net 1/4] lib/test_bpf: Fix JMP_JSET tests

2016-04-06 Thread David Miller
From: "Naveen N. Rao" Date: Tue, 5 Apr 2016 15:32:53 +0530 > JMP_JSET tests incorrectly used BPF_JNE. Fix the same. > > Cc: Alexei Starovoitov > Cc: Daniel Borkmann > Cc: "David S. Miller" > Cc: Ananth

Re: [PATCHv2 net 3/3] samples/bpf: Enable powerpc support

2016-04-06 Thread David Miller
From: "Naveen N. Rao" Date: Mon, 4 Apr 2016 22:31:34 +0530 > Add the necessary definitions for building bpf samples on ppc. > > Since ppc doesn't store function return address on the stack, modify how > PT_REGS_RET() and PT_REGS_FP() work. > > Also, introduce

Re: [PATCHv2 net 2/3] samples/bpf: Use llc in PATH, rather than a hardcoded value

2016-04-06 Thread David Miller
From: "Naveen N. Rao" Date: Mon, 4 Apr 2016 22:31:33 +0530 > While at it, remove the generation of .s files and fix some typos in the > related comment. > > Cc: Alexei Starovoitov > Cc: David S. Miller > Cc: Daniel Borkmann

Re: [PATCHv2 net 1/3] samples/bpf: Fix build breakage with map_perf_test_user.c

2016-04-06 Thread David Miller
From: "Naveen N. Rao" Date: Mon, 4 Apr 2016 22:31:32 +0530 > Building BPF samples is failing with the below error: ... > Fix this by including the necessary header file. > > Cc: Alexei Starovoitov > Cc: Daniel Borkmann >

Re: [net-next PATCH 2/2 v4] ibmvnic: enable RX checksum offload

2016-04-05 Thread David Miller
From: Thomas Falcon Date: Fri, 1 Apr 2016 17:20:35 -0500 > Enable RX Checksum offload feature in the ibmvnic driver. > > Signed-off-by: Thomas Falcon Applied. ___ Linuxppc-dev mailing list

Re: [net-next PATCH 1/2 v4] ibmvnic: map L2/L3/L4 header descriptors to firmware

2016-04-05 Thread David Miller
From: Thomas Falcon Date: Fri, 1 Apr 2016 17:20:34 -0500 > Allow the VNIC driver to provide descriptors containing > L2/L3/L4 headers to firmware. This feature is needed > for greater hardware compatibility and enablement of checksum > and TCP offloading features.

Re: [net-next PATCH v3] ibmvnic: map L2/L3/L4 header descriptors to firmware

2016-02-24 Thread David Miller
From: Thomas Falcon Date: Wed, 24 Feb 2016 21:34:43 -0600 > + > +static union sub_crq *build_hdr_descs_arr(struct sk_buff *skb, > + int *num_entries, > + union sub_crq subcrq, u8 hdr_field) >

Re: [PATCH] 82xx: FCC: Fixing a bug causing to FCC port lock-up (second try)

2016-01-25 Thread David Miller
From: Martin Roth Date: Sun, 24 Jan 2016 00:56:19 +0200 > This is an additional patch to the one already submitted recently. > The previous patch was not complete, and the FCC port lock-up scenario > has been reproduced in lab. > I had an opportunity to check

Re: [PATCH] net: filter: make JITs zero A for SKF_AD_ALU_XOR_X

2016-01-05 Thread David Miller
From: Rabin Vincent Date: Tue, 5 Jan 2016 16:23:07 +0100 > The SKF_AD_ALU_XOR_X ancillary is not like the other ancillary data > instructions since it XORs A with X while all the others replace A with > some loaded value. All the BPF JITs fail to clear A if this is used as > the

Re: [PATCH v2 24/32] sparc: define __smp_xxx

2015-12-31 Thread David Miller
From: "Michael S. Tsirkin" Date: Thu, 31 Dec 2015 21:08:53 +0200 > This defines __smp_xxx barriers for sparc, > for use by virtualization. > > smp_xxx barriers are removed as they are > defined correctly by asm-generic/barriers.h > > Signed-off-by: Michael S. Tsirkin

Re: [PATCH v2 07/32] sparc: reuse asm-generic/barrier.h

2015-12-31 Thread David Miller
From: "Michael S. Tsirkin" Date: Thu, 31 Dec 2015 21:06:38 +0200 > On sparc 64 bit dma_rmb, dma_wmb, smp_store_mb, smp_mb, smp_rmb, > smp_wmb, read_barrier_depends and smp_read_barrier_depends match the > asm-generic variants exactly. Drop the local definitions and pull in >

Re: [PATCH net-next v3] Driver for IBM System i/p VNIC protocol

2015-12-27 Thread David Miller
From: Thomas Falcon Date: Mon, 21 Dec 2015 11:26:06 -0600 > This is a new device driver for a high performance SR-IOV assisted virtual > network for IBM System p and IBM System i systems. The SR-IOV VF will be > attached to the VIOS partition and mapped to the Linux

Re: [v10, 0/6] Freescale DPAA FMan

2015-12-27 Thread David Miller
From: Date: Mon, 21 Dec 2015 02:21:24 +0200 > The Freescale Data Path Acceleration Architecture (DPAA) is a set > of hardware components on specific QorIQ multicore processors. > This architecture provides the infrastructure to support > simplified sharing of

Re: [PATCH] 82xx: FCC: Fixing a bug causing to FCC port lock-up

2015-12-16 Thread David Miller
From: Martin Roth Date: Tue, 15 Dec 2015 04:17:53 +0200 > The patch fixes FCC port lock-up, which occurs as a result of a bug > during underrun/collision handling. Within the tx_startup() function > in mac-fcc.c, the address of last BD is not calculated

Re: [PATCH net-next v2] Driver for IBM System i/p VNIC protocol

2015-12-11 Thread David Miller
From: Thomas Falcon Date: Tue, 8 Dec 2015 11:52:19 -0600 > +static long h_reg_sub_crq(unsigned long unit_address, unsigned long token, > + unsigned long length, unsigned long *number, > + unsigned long *irq) > +{ > +

Re: [v9, 6/6] fsl/fman: Add FMan MAC driver

2015-12-08 Thread David Miller
From: Scott Wood Date: Tue, 8 Dec 2015 16:44:38 -0600 > On Tue, 2015-12-08 at 14:18 -0600, Andy Fleming wrote: >> On Thu, Dec 3, 2015 at 1:19 AM, wrote: >> > From: Igal Liberman >> > >> > This patch adds the

Re: [PATCH] sbc8641: drop bogus PHY IRQ entries from DTS file

2015-12-08 Thread David Miller
From: Paul Gortmaker Date: Tue, 8 Dec 2015 17:44:02 -0500 > This file was originally cloned off of the MPC8641D-HPCN reference > platform, which actually had a PHY IRQ line connected. However > this board does not. The bogus entry was largely inert and went >

Re: [PATCH net-next] Driver for IBM System i/p VNIC protocol

2015-12-07 Thread David Miller
From: Thomas Falcon Date: Mon, 7 Dec 2015 12:50:00 -0600 > Hi. Thanks for you feedback. Could you clarify on what constitutes > basic operation? I just want to be sure if we should remove the > other module parameters or just this one in particular? With very

Re: [PATCH net-next] Driver for IBM System i/p VNIC protocol

2015-12-05 Thread David Miller
From: Thomas Falcon Date: Fri, 4 Dec 2015 11:49:46 -0600 > +static int ibmvnic_buffs_per_pool = IBMVNIC_BUFFS_PER_POOL; > +module_param(ibmvnic_buffs_per_pool, int, S_IRUGO); > +MODULE_PARM_DESC(ibmvnic_buffs_per_pool, > + "IBMVNIC number of buffers per

Re: [net-next v5 2/8] dpaa_eth: add support for DPAA Ethernet

2015-12-04 Thread David Miller
From: Madalin Bucur Date: Thu, 3 Dec 2015 15:49:43 +0200 > @@ -0,0 +1,22 @@ > +menuconfig FSL_DPAA_ETH > + tristate "DPAA Ethernet" > + depends on FSL_SOC && FSL_BMAN && FSL_QMAN && FSL_FMAN > + select PHYLIB > + select FSL_FMAN_MAC I do not see the

Re: [net-next v5 2/8] dpaa_eth: add support for DPAA Ethernet

2015-12-04 Thread David Miller
From: Joe Perches <j...@perches.com> Date: Fri, 04 Dec 2015 12:00:35 -0800 > On Fri, 2015-12-04 at 14:55 -0500, David Miller wrote: >> From: Madalin Bucur <madalin.bu...@freescale.com> >> Date: Thu, 3 Dec 2015 15:49:43 +0200 >> >> > @@ -

Re: [v9, 3/6] fsl/fman: Add FMan MAC support

2015-12-03 Thread David Miller
From: Date: Thu, 3 Dec 2015 09:19:14 +0200 > +static u32 crc_table[256] = { No way. We have every conceivable implementation of CRC calculations in the kernel already. Use them. ___ Linuxppc-dev mailing list

Re: [v8, 2/6] fsl/fman: Add FMan support

2015-12-01 Thread David Miller
From: Date: Mon, 30 Nov 2015 14:20:58 +0200 > +typedef irqreturn_t (fman_exceptions_cb)(struct fman *fman, > + enum fman_exceptions exception); Function and function pointer declarations and definitions should be indented such

Re: [v7, 2/6] fsl/fman: Add FMan support

2015-11-02 Thread David Miller
From: Date: Mon, 2 Nov 2015 14:30:12 +0200 > +static int clear_iram(struct fman *fman) > +{ > + struct fman_iram_regs __iomem *iram; > + int i, count; > + > + iram = (struct fman_iram_regs __iomem *)(fman->base_addr + IMEM_OFFSET); "fman->base_addr" is

Re: [PATCH 0/5 v3] Fix NVMe driver support on Power with 32-bit DMA

2015-10-29 Thread David Miller
From: Nishanth Aravamudan Date: Thu, 29 Oct 2015 08:57:01 -0700 > So, would that imply changing just the NVMe driver code rather than > adding the dma_page_shift API at all? What about > architectures that can support the larger page sizes? There is an > implied

Re: [PATCH 0/5 v3] Fix NVMe driver support on Power with 32-bit DMA

2015-10-27 Thread David Miller
From: Nishanth Aravamudan Date: Tue, 27 Oct 2015 15:20:10 -0700 > Well, looks like I should spin up a v4 anyways for the powerpc changes. > So, to make sure I understand your point, should I make the generic > dma_get_page_shift a compile-error kind of thing? It will

Re: [PATCH 0/5 v3] Fix NVMe driver support on Power with 32-bit DMA

2015-10-27 Thread David Miller
From: "Busch, Keith" Date: Tue, 27 Oct 2015 22:36:43 + > If you're suggesting to compile-time break architectures that currently > work just fine with NVMe, let me stop you right there. Silently "working" without the architecture maintainer having to explicity look at

Re: [PATCH 0/5 v3] Fix NVMe driver support on Power with 32-bit DMA

2015-10-27 Thread David Miller
From: Julian Calaby Date: Wed, 28 Oct 2015 10:43:35 +1100 > You'll be CCing the maintainers of each architecture on the patches to > add the functions, so if they do have specific requirements, I'm sure > they'll let you know or provide patches. People miss things,

Re: [PATCH 0/5 v3] Fix NVMe driver support on Power with 32-bit DMA

2015-10-26 Thread David Miller
From: Nishanth Aravamudan Date: Fri, 23 Oct 2015 13:54:20 -0700 > 1) add a generic dma_get_page_shift implementation that just returns > PAGE_SHIFT I won't object to this patch series, but if I had implemented this I would have required the architectures to implement

<    1   2   3   4   5   6   7   8   9   10   >