[PATCH 6/6] [v6] phylib: Add of_phy_attach

2014-01-09 Thread shh.xie
From: Andy Fleming 10G PHYs don't currently support running the state machine, which is implicitly setup via of_phy_connect(). Therefore, it is necessary to implement an OF version of phy_attach(), which does everything except start the state machine. Signed-off-by: Andy Fleming Signed-off-by:

[PATCH 3/6] [v6] phylib: turn genphy_driver to an array

2014-01-09 Thread shh.xie
From: Shaohui Xie Then other generic phy driver such as generic 10g phy driver can join it. Signed-off-by: Shaohui Xie --- changes for v6: rebased on top of 'net-next' tree. commit id 11b57f90257c1. drivers/net/phy/phy_device.c | 29 + 1 file changed, 21 insertions

[PATCH 2/6] [v6] phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY

2014-01-09 Thread shh.xie
From: Andy Fleming Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie Acked-by: Florian Fainelli --- changes for v6: rebased on top of 'net-next' tree. commit id 11b57f90257c1. drivers/of/of_net.c | 1 + include/linux/phy.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/of

[PATCH 5/6] [v6] phylib: Support attaching to generic 10g driver

2014-01-09 Thread shh.xie
From: Andy Fleming phy_attach_direct() may now attach to a generic 10G driver. It can also be used exactly as phy_connect_direct(), which will be useful when using of_mdio, as phy_connect (and therefore of_phy_connect) start the PHY state machine, which is currently irrelevant for 10G PHYs. Sign

[PATCH 4/6] [v6] phylib: Add generic 10G driver

2014-01-09 Thread shh.xie
From: Andy Fleming Very incomplete, but will allow for binding an ethernet controller to it. Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie --- changes for v6: rebased on top of 'net-next' tree. commit id 11b57f90257c1. drivers/net/phy/phy_device.c | 81 ++

[PATCH 1/6] [v6] phylib: Add Clause 45 read/write functions

2014-01-09 Thread shh.xie
From: Andy Fleming Need an extra parameter to read or write Clause 45 PHYs, so need a different API with the extra parameter. Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie --- changes for v6: rebased on top of 'net-next' tree. commit id 11b57f90257c1. include/linux/phy.h | 39 ++

[PATCH 1/4] Input: synaptics-rmi4 - split of transport ops into a separate structure

2014-01-09 Thread Dmitry Torokhov
Split off transport operations from rmi_transport_dev into a separate structure that will be shared between all devices using the same transport and use const pointer to access it. Change signature on transport methods so that length is using the proper tyep - size_t. Also rename rmi_transport_in

[PATCH 4/4] Input: synaptics-rmi4 - switch to using i2c_transfer()

2014-01-09 Thread Dmitry Torokhov
Instead of using 2 separate transactions when reading from the device let's use i2c_transfer. Because we now have single point of failure I had to change how we collect statistics. I elected to drop control data from the stats and only track number of bytes read/written for the device data. Also,

[PATCH 3/4] Input: synaptics-rmi4 - fix I2C functionality check

2014-01-09 Thread Dmitry Torokhov
When adapter does not support required functionality (I2C_FUNC_I2C) we were returning 0 to the upper layers, making them believe that device bound successfully. Signed-off-by: Dmitry Torokhov --- drivers/input/rmi4/rmi_i2c.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --

[PATCH 2/4] Input: synaptics-rmi4 - rework transport device allocation

2014-01-09 Thread Dmitry Torokhov
Instead of allocating common and private part of transport device separately make private wrap common part and get rid of private data pointer in the transport device. Also rename rmi_i2c_data -> rmi_i2c_xport and data -> rmi_i2c. Signed-off-by: Dmitry Torokhov --- drivers/input/rmi4/rmi_bus.h

[PATCH v3 5/7] vfio: Use new interfaces for MSI/MSI-X enablement

2014-01-09 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev --- drivers/vfio/pci/vfio_pci_intrs.c | 12 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/vfio/pci/vfio_pci_intrs.c b/drivers/vfio/pci/vfio_pci_intrs.c index 641bc87..4a9db1d 100644 --- a/drivers/vfio/pci/vfio_pci_intrs.c +

Re: [PATCH 1/1] x86/iommu: use bit structures for context_entry

2014-01-09 Thread Jiang Liu
I have noticed the same issue too. But after second check, seems it's safe with current implementation, but obviously it's not future safe. On 2014/1/10 15:29, Li, ZhenHua wrote: > I have not seen such a bug yet . but obviously a '=' should be used when > you want to set a value. > > for example,

Re: [PATCH -next] zram: do not pass rw argument to __zram_make_request()

2014-01-09 Thread Minchan Kim
On Thu, Jan 09, 2014 at 04:23:43PM +0300, Sergey Senozhatsky wrote: > Do not pass rw argument down the __zram_make_request() -> zram_bvec_rw() > chain, decode it in zram_bvec_rw() instead. Besides, this is the place > where we distinguish READ and WRITE bio data directions, so account zram > RW sta

Re: [PATCH 1/1] x86/iommu: use bit structures for context_entry

2014-01-09 Thread Li, ZhenHua
I have not seen such a bug yet . but obviously a '=' should be used when you want to set a value. for example, if x != 0, x=10 and x|=10 will cause different result. ZhenHua On 01/07/2014 10:41 PM, Joerg Roedel wrote: On Fri, Dec 20, 2013 at 04:45:01PM +0800, Li, Zhen-Hua wrot

[f2fs-dev] [PATCH] f2fs: remove the needless parameter of f2fs_wait_on_page_writeback

2014-01-09 Thread Yuan Zhong
"boo sync" parameter is never referenced in f2fs_wait_on_page_writeback. We should remove this parameter. Signed-off-by: Yuan Zhong --- fs/f2fs/data.c|2 +- fs/f2fs/f2fs.h|2 +- fs/f2fs/gc.c |4 ++-- fs/f2fs/inline.c |2 +- fs/f2fs/inode.c |2 +- fs/f2fs/segme

Re: 3.12: kernel panic when resuming from suspend to RAM (x86_64)

2014-01-09 Thread Francis Moreau
Hi. On 12/10/2013 09:29 AM, Samuel Ortiz wrote: > Hi Micky, > > On Tue, Dec 10, 2013 at 09:56:48AM +0800, micky wrote: >> Hi Francis: >> On 12/10/2013 09:39 AM, wwang wrote: >>> which is based on Thomas' patch. >> >> Can you help us test this patch, we disable irq while suspend here. > I already

[PATCH] PPC: KVM: fix VCPU run for HV KVM

2014-01-09 Thread Alexey Kardashevskiy
When write to MMIO happens and there is an ioeventfd for that and is handled successfully, ioeventfd_write() returns 0 (success) and kvmppc_handle_store() returns EMULATE_DONE. Then kvmppc_emulate_mmio() converts EMULATE_DONE to RESUME_GUEST_NV and this broke from the loop. This adds handling of R

RE: [PATCH -next] qlcnic: fix compiler warning

2014-01-09 Thread Shahed Shaikh
Adding netdev. > -Original Message- > From: Martin Kaiser,,, [mailto:mar...@reykholt.kaiser.cx] On Behalf Of > Martin Kaiser > Sent: Thursday, January 09, 2014 9:29 PM > To: Himanshu Madhani; Rajesh Borundia > Cc: linux-kernel; triv...@kernel.org > Subject: [PATCH -next] qlcnic: fix compi

Re: [alsa-devel] [PATCH] ASoC: simple-card: fix one bug to writing to the platform data

2014-01-09 Thread Jean-Francois Moine
Xiubo Li wrote: > It's a bug that writing to the platform data directly, for it should > be constant. So just copy it before writing. > > Signed-off-by: Xiubo Li > --- > sound/soc/generic/simple-card.c | 40 +--- > 1 file changed, 21 insertions(+), 19 deletio

Re: [PATCH v3] ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif

2014-01-09 Thread Sekhar Nori
On Thursday 09 January 2014 10:03 PM, Brian Norris wrote: > On Thu, Jan 09, 2014 at 04:09:00PM +0530, Sekhar Nori wrote: >> On Thursday 26 December 2013 05:36 PM, ivan.khoronzhuk wrote: >>> On 12/18/2013 02:13 PM, Sekhar Nori wrote: On Wednesday 18 December 2013 05:21 PM, ivan.khoronzhuk wrote

Re: kdump failed because of hotplug memory adding in kdump kernel

2014-01-09 Thread Baoquan
On 01/09/14 at 02:56pm, Toshi Kani wrote: > On Thu, 2014-01-09 at 16:27 -0500, Vivek Goyal wrote: > > On Thu, Jan 09, 2014 at 11:34:30AM -0700, Toshi Kani wrote: > > > On Thu, 2014-01-09 at 13:23 -0500, Vivek Goyal wrote: > > > > On Thu, Jan 09, 2014 at 10:24:25AM -0700, Toshi Kani wrote: > > > >

Re: hfsplus: kernel panic in hfsplus_brec_lenoff

2014-01-09 Thread Vyacheslav Dubeyko
On Thu, 2014-01-09 at 18:12 -0500, Sasha Levin wrote: > Hi all, > > While fuzzing with trinity inside a KVM tools guest running latest -next > kernel > I've stumbled on the following spew: > > [ 5835.181300] BUG: unable to handle kernel paging request at 880055a3cffa Thank you for report a

Re: [PATCH -next] zram: drop `init_done' zram member

2014-01-09 Thread Minchan Kim
Hello Sergey, On Thu, Jan 09, 2014 at 03:57:46PM +0300, Sergey Senozhatsky wrote: > Introduce init_done() helper function which allows us to drop > `init_done' struct zram member. init_done() uses the fact that > ->init_done == 1 equals to ->meta != NULL. > > Signed-off-by: Sergey Senozhatsky I

Re: [PATCH net 1/2] macvlan: forbid L2 fowarding offload for macvtap

2014-01-09 Thread Jason Wang
On 01/10/2014 05:39 AM, Stephen Hemminger wrote: > On Thu, 09 Jan 2014 16:55:07 +0800 > Jason Wang wrote: > >> What if use do want a qdisc and want to change the its queue length for >> tun/macvlan? And the the name tx_queue_length is misleading. For tun it >> may make sense since it was used in t

[PATCH v2 00/16] net: stmmac: Add Allwinner A20 GMAC ethernet controller glue layer

2014-01-09 Thread Chen-Yu Tsai
Hi, This is v2 of the Allwinner A20 GMAC glue layer for stmmac. The clock and DT patches should be applied after my clock rename[1] series. [1] ARM: sunxi: rename DT clock node names to clk@N The Allwinner A20 SoC integrates an early version of dwmac IP from Synopsys. On top of that is a hard

[PATCH v2 05/16] blackfin: Update stmmac callback signatures

2014-01-09 Thread Chen-Yu Tsai
stmmac callbacks have been extended for better seperation. Update them to avoid breakage. Signed-off-by: Chen-Yu Tsai --- arch/blackfin/mach-bf609/boards/ezkit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/blackfin/mach-bf609/boards/ezkit.c b/arch/blackfin/mach-bf60

[PATCH v2 08/16] net: stmmac: sunxi platform extensions for GMAC in Allwinner A20 SoC's

2014-01-09 Thread Chen-Yu Tsai
The Allwinner A20 has an ethernet controller that seems to be an early version of Synopsys DesignWare MAC 10/100/1000 Universal, which is supported by the stmmac driver. Allwinner's GMAC requires setting additional registers in the SoC's clock control unit. The exact version of the DWMAC IP that

[PATCH v2 03/16] net: stmmac: Add support for optional reset control

2014-01-09 Thread Chen-Yu Tsai
The DWMAC has a reset assert line, which is used on some SoCs. Add an optional reset control to stmmac driver core. To support reset control deferred probing, this patch changes the driver probe function to return the actual error, instead of just -EINVAL. Signed-off-by: Chen-Yu Tsai --- Docume

[PATCH v2 06/16] net: stmmac: Honor DT parameter to force DMA store and forward mode

2014-01-09 Thread Chen-Yu Tsai
"snps,force_sf_dma_mode" is documented in stmmac device tree bindings, but is never handled by the driver. Signed-off-by: Chen-Yu Tsai --- drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platfo

[PATCH v2 01/16] reset: add non CONFIG_RESET_CONTROLLER routines

2014-01-09 Thread Chen-Yu Tsai
Some drivers are shared between platforms that may or may not have RESET_CONTROLLER selected for them. Add dummy functions when RESET_CONTROLLER is not selected, thereby eliminating the need for drivers to enclose reset_control_*() calls within #ifdef CONFIG_RESET_CONTROLLER, #endif Signed-off-by:

[PATCH v2 07/16] net: stmmac: Use driver data and callbacks tied with compatible strings

2014-01-09 Thread Chen-Yu Tsai
The stmmac driver core allows passing feature flags and callbacks via platform data. Add a similar stmmac_of_data to pass flags and callbacks tied to compatible strings. This allows us to extend stmmac with glue layers for different SoCs. Also deprecate device tree "snps,phy-addr" property, and de

Re: [PATCH v4 02/15] clk: Allow drivers to pass in a regmap

2014-01-09 Thread Stephen Boyd
On 01/09, Mike Turquette wrote: > If we're going to use these wrappers, why make it regmap specific? The > struct clk_desc patches[1][2] can achieve this, but in a more generic > way. > I think you're suggesting a way to avoid adding a clk_register_regmap() function? But won't we need to write th

[PATCH v2 16/16] ARM: dts: sun7i: Add ethernet alias for GMAC

2014-01-09 Thread Chen-Yu Tsai
U-Boot will insert MAC address into the device tree image. It looks up ethernet[0-5] aliases to find the ethernet nodes. Alias GMAC as ethernet0, as it is the only ethernet controller used. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun7i-a20.dtsi | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 14/16] ARM: dts: sun7i: cubieboard2: Enable GMAC instead of EMAC

2014-01-09 Thread Chen-Yu Tsai
GMAC has better performance and fewer hardware issues. Use the GMAC in MII mode for ethernet instead of the EMAC. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/arch/arm

[PATCH v2 13/16] ARM: dts: sun7i: cubietruck: Enable the GMAC

2014-01-09 Thread Chen-Yu Tsai
The CubieTruck uses the GMAC with an RGMII phy. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts index f9dcb61..025

Re: [PATCH net V2 2/2] net: core: explicitly select a txq before doing l2 forwarding

2014-01-09 Thread Jason Wang
On 01/09/2014 08:31 PM, Neil Horman wrote: > On Thu, Jan 09, 2014 at 05:37:32PM +0800, Jason Wang wrote: >> Currently, the tx queue were selected implicitly in ndo_dfwd_start_xmit(). >> The >> will cause several issues: >> >> - NETIF_F_LLTX were removed for macvlan, so txq lock were done for macvl

[PATCH V6 0/2] Exynos5250 SATA Support

2014-01-09 Thread Yuvaraj Kumar C D
This patch series enable the SATA support on Exynos5250 based boards. It incorporates the generic phy framework to deal with sata phy. This patch depends on the below patches [1]. drivers: phy: add generic PHY framework by Kishon Vijay Abraham I [2]. ata: ahci_platf

[PATCH v2 10/16] ARM: dts: sun7i: Add GMAC clock node to sun7i DTSI

2014-01-09 Thread Chen-Yu Tsai
The GMAC uses 1 of 2 sources for its transmit clock, depending on the PHY interface mode. Add both sources as dummy clocks, and as parents to the GMAC clock node. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun7i-a20.dtsi | 28 1 file changed, 28 insertions(+)

Re: [PATCH 03/14] target/sbc: Add sbc_check_prot + update sbc_parse_cdb for DIF

2014-01-09 Thread Nicholas A. Bellinger
On Thu, 2014-01-09 at 16:58 +0200, Sagi Grimberg wrote: > On 1/8/2014 10:36 PM, Nicholas A. Bellinger wrote: > > From: Nicholas Bellinger > > > > This patch adds sbc_check_prot() for performing various DIF > > related CDB sanity checks, along with setting SCF_PROT once > > sanity checks have passe

[PATCH v2 04/16] net: stmmac: Allocate and pass soc/board specific data to callbacks

2014-01-09 Thread Chen-Yu Tsai
The current .init and .exit callbacks requires access to driver private data structures. This is not a good seperation and abstraction. Instead, we add a new .setup callback for allocating private data, and pass the returned pointer to the other callbacks. Signed-off-by: Chen-Yu Tsai --- Docume

[PATCH v2 09/16] clk: sunxi: Add Allwinner A20/A31 GMAC clock unit

2014-01-09 Thread Chen-Yu Tsai
The Allwinner A20/A31 clock module controls the transmit clock source and interface type of the GMAC ethernet controller. Model this as a single clock for GMAC drivers to use. Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/clock/sunxi.txt | 26 drivers/clk/sunxi/clk-s

[PATCH v2 15/16] ARM: dts: sun7i: olinuxino-micro: Enable GMAC instead of EMAC

2014-01-09 Thread Chen-Yu Tsai
GMAC has better performance and fewer hardware issues. Use the GMAC in MII mode for ethernet instead of the EMAC. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 27 +++-- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/arch/a

[PATCH V6 1/2] PHY: Exynos: Add Exynos5250 SATA PHY driver

2014-01-09 Thread Yuvaraj Kumar C D
This patch adds the SATA PHY driver for Exynos5250.Exynos5250 SATA PHY comprises of CMU and TRSV blocks which are of I2C register Map. So this patch also adds a i2c client driver, which is used configure the CMU and TRSV block of exynos5250 SATA PHY. This patch incorporates the generic PHY framewo

[PATCH v2 11/16] ARM: dts: sun7i: Add GMAC controller node to sun7i DTSI

2014-01-09 Thread Chen-Yu Tsai
Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun7i-a20.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 4019c55..18d211e 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/su

[PATCH v2 02/16] net: stmmac: Enable stmmac main clock when probing hardware

2014-01-09 Thread Chen-Yu Tsai
Guiseppe previously stated that the "stmmaceth" clock is the main clock that drives the IP. The stmmac driver does not enable this clock during the probe phase. If the clock was not enabled by the boot loader or disabled by the kernel, hardware features and the MDIO bus would not be probed properly

[PATCH v2 12/16] ARM: dts: sun7i: Add pin muxing options for the GMAC

2014-01-09 Thread Chen-Yu Tsai
The A20 has EMAC and GMAC muxed on the same pins. Add pin sets with gmac function for MII and RGMII mode to the DTSI. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun7i-a20.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi

[PATCH V6 2/2] ARM: dts: Enable ahci sata and sata phy

2014-01-09 Thread Yuvaraj Kumar C D
This patch adds dt entry for ahci sata controller and its corresponding phy controller.phy node has been added w.r.t new generic phy framework. Signed-off-by: Yuvaraj Kumar C D --- Changes since V4: 1.Used the new phandle "sata_phy_i2c" in the DT entry. 2.Updated binding document

Re: [PATCH 09/14] target/configfs: Expose protection device attributes

2014-01-09 Thread Nicholas A. Bellinger
On Thu, 2014-01-09 at 13:01 +0200, Sagi Grimberg wrote: > On 1/8/2014 10:36 PM, Nicholas A. Bellinger wrote: > > From: Nicholas Bellinger > > > > This patch adds support for exposing DIF protection device > > attributes via configfs. This includes: > > > > pi_prot_type: Protection Type (0, 1,

Re: 3.13-rc2 phy-twl4030-usb.c - Timeout setting T2 HSUSB PHY DPLL

2014-01-09 Thread Belisko Marek
Hi, On Fri, Jan 10, 2014 at 6:25 AM, Kishon Vijay Abraham I wrote: > Hi, > > On Thursday 09 January 2014 10:54 AM, Roger Quadros wrote: >> Hi Marek, >> >> I have no idea what is happening there. Have you tried using device tree >> boot? >> Board file boot support would be dropped eventually. >>

Re: [PATCH 02/14] target: Add DIF CHECK_CONDITION ASC/ASCQ exception cases

2014-01-09 Thread Nicholas A. Bellinger
On Thu, 2014-01-09 at 12:43 +0200, Sagi Grimberg wrote: > On 1/8/2014 10:36 PM, Nicholas A. Bellinger wrote: > > From: Nicholas Bellinger > > > > This patch adds support for DIF related CHECK_CONDITION ASC/ASCQ > > exception cases into transport_send_check_condition_and_sense(). > > > > This inclu

Re: [PATCH 13/14] target/rd: Add DIF protection into rd_execute_rw

2014-01-09 Thread Nicholas A. Bellinger
On Thu, 2014-01-09 at 12:32 +0200, Sagi Grimberg wrote: > On 1/8/2014 10:36 PM, Nicholas A. Bellinger wrote: > > From: Nicholas Bellinger > > > > This patch adds support for DIF protection into rd_execute_rw() code > > for WRITE/READ I/O using sbc_dif_verify_[write,read]() logic. > > > > It also a

Re: [PATCH v8 0/4] qrwlock: Introducing a queue read/write lock implementation

2014-01-09 Thread Paul E. McKenney
On Wed, Jan 08, 2014 at 11:59:32AM -0500, Waiman Long wrote: > v7->v8: > - Use atomic_t functions (which are implemented in all arch's) to >modify reader counts. > - Use smp_load_acquire() & smp_store_release() for barriers. > - Further tuning in slowpath performance. This version looks goo

Re: [PATCH v8 1/4] qrwlock: A queue read/write lock implementation

2014-01-09 Thread Paul E. McKenney
On Wed, Jan 08, 2014 at 11:59:33AM -0500, Waiman Long wrote: > This patch introduces a new read/write lock implementation that put > waiting readers and writers into a queue instead of actively contending > the lock like the current read/write lock implementation. This will > improve performance in

[PATCH] genalloc: spinlock_t needs spinlock_types.h

2014-01-09 Thread Shawn Guo
Compiling a C file which includes genalloc.h but without spinlock_types.h being included before, we will see the compile error below. include/linux/genalloc.h:54:2: error: unknown type name ‘spinlock_t’ Include spinlock_types.h from genalloc.h to fix the problem. Signed-off-by: Shawn Guo ---

Re: [PATCH v12 7/7] thermal:exynos:boost: Automatic enable/disable of BOOST feature (at Exynos4412)

2014-01-09 Thread Zhang Rui
On Fri, 2013-12-20 at 15:24 +0100, Lukasz Majewski wrote: > This patch provides auto disable/enable operation for boost. It uses already > present thermal infrastructure to provide BOOST hysteresis. > The TMU data has been modified to work properly with or without BOOST. > Hence, the two first trip

Re: [PATCH v12 0/7] cpufreq:boost: CPU Boost mode support

2014-01-09 Thread Zhang Rui
On Wed, 2014-01-08 at 01:35 +0100, Rafael J. Wysocki wrote: > On Tuesday, January 07, 2014 07:58:24 AM Lukasz Majewski wrote: > > Hi Rafael, > > Hi, > > > > This patch series introduces support for CPU overclocking technique > > > called Boost. > > > > > > It is a follow up of a LAB governor pro

[GIT PULL] clk: fixes for 3.13

2014-01-09 Thread Mike Turquette
The following changes since commit d6e0a2dd12f4067a5bcefb8bbd8ddbeff800afbc: Linux 3.13-rc7 (2014-01-04 15:12:14 -0800) are available in the git repository at: git://git.linaro.org/people/mike.turquette/linux.git tags/clk-fixes-for-linus for you to fetch changes up to 778037e1ccb75609846dec

Re: [PATCH 2/6 v2] crypto:s5p-sss: Add device tree support

2014-01-09 Thread Sachin Kamat
Hi Naveen, On 10 January 2014 11:37, Naveen Krishna Ch wrote: > Hello Tomasz, > [snip] >>> *pdev) >>> static struct platform_driver s5p_aes_crypto = { >>> .probe = s5p_aes_probe, >>> .remove = s5p_aes_remove, >>> + .id_table = s5p_sss_ids, >>> .driver = { >

Re: [PATCH 07/14] target/sbc: Add P_TYPE + PROT_EN bits to READ_CAPACITY_16

2014-01-09 Thread Nicholas A. Bellinger
On Thu, 2014-01-09 at 12:24 +0200, Sagi Grimberg wrote: > On 1/8/2014 10:36 PM, Nicholas A. Bellinger wrote: > > From: Nicholas Bellinger > > > > This patch updates sbc_emulate_readcapacity_16() to set > > P_TYPE and PROT_EN bits when DIF emulation is enabled by > > the backend device. > > > > Cc:

RE: [PATCHv8 2/2] dma: Add Freescale eDMA engine driver support

2014-01-09 Thread Jingchang Lu
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Thursday, January 09, 2014 8:19 PM > To: Lu Jingchang-B35083 > Cc: vinod.k...@intel.com; dan.j.willi...@intel.com; shawn@linaro.org; > pawel.m...@arm.com; mark.rutl...@arm.com; swar...@wwwdotorg.org; linux- > ker.

[PATCH] ASoC: simple-card: fix simple card widgets routing property name usage

2014-01-09 Thread Xiubo Li
Fix the usage of simple card widgets routing property, and make it the same with simple card routing property name. Signed-off-by: Xiubo Li --- Documentation/devicetree/bindings/sound/simple-card.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bin

Re: [PATCH 2/6 v2] crypto:s5p-sss: Add device tree support

2014-01-09 Thread Naveen Krishna Ch
Hello Tomasz, Thanks for time and review comments they are really helping me a lot in getting the patches merged. Secondly, accept my apologies for not giving proper writeup of why i din't address few of your comments on v1 of this patchset. On 9 January 2014 19:44, Tomasz Figa wrote: > Hi Nave

[PATCH] gpio: pxa: normalize the return value for gpio_get

2014-01-09 Thread Neil Zhang
It would be convenient to normalize the return value for gpio_get. I have checked mach-mmp / mach-pxa / plat-pxa / plat-orion / mach-orion5x. It's OK for all of them to change this function to return 0 and 1. Signed-off-by: Neil Zhang --- drivers/gpio/gpio-pxa.c |3 ++- 1 file changed, 2 in

Re: [PATCH 00/14] target: Initial support for DIF Type1+Type3 emulation

2014-01-09 Thread Nicholas A. Bellinger
On Thu, 2014-01-09 at 21:00 -0500, Martin K. Petersen wrote: > > "Nic" == Nicholas A Bellinger writes: > > Nic> This series contains initial support for target mode DIF > Nic> Type1+Type3 emulation within target core, RAMDISK_MCP device > Nic> backend, and tcm_loop fabric driver. > > Super c

Re: [PATCH 0/2] ION dummy driver

2014-01-09 Thread John Stultz
On 01/09/2014 08:23 PM, Greg KH wrote: > On Thu, Jan 09, 2014 at 07:40:53PM -0800, John Stultz wrote: >> Greg: I realize this is after the usual -rc6 cutoff for staging, >> so no pressure if you want to defer this for 3.15, but I saw you've >> picked up a few things recently, so I figured I'd send

Intel MIC host driver: possible signed underflow (undefined behavior) in userspace API

2014-01-09 Thread Mathieu Desnoyers
Hi, Looking at this commit: commit f69bcbf3b4c4b333dcd7a48eaf868bf0c88edab5 Author: Ashutosh Dixit Date: Thu Sep 5 16:42:18 2013 -0700 Intel MIC Host Driver Changes for Virtio Devices. Especially at: +struct mic_copy_desc { +#ifdef __KERNEL__ + struct iovec __user *iov; +#else +

Re: [PATCH] drivers: target: target_core_mod: use div64_u64_rem() instead of operator '%' for u64

2014-01-09 Thread Nicholas A. Bellinger
On Thu, 2014-01-09 at 11:17 +0100, Hannes Reinecke wrote: > On 01/09/2014 12:18 AM, Nicholas A. Bellinger wrote: > > On Wed, 2014-01-08 at 08:32 +0100, Hannes Reinecke wrote: > >> Other than that the sector_div() patch is correct. > >> > > > > Thanks for confirming that sector_div() is correct

[PATCH 0/2] ION dummy driver v2

2014-01-09 Thread John Stultz
The ION subsystem requires something register it along with the various heaps that may be available on a system in order to work (Otherwise no /dev/ion is created). This can make it difficult to play with. Thus I've created this simple dummy driver which allocates and registers some basic heaps.

[PATCH 1/2] ion: Add dummy driver for testing

2014-01-09 Thread John Stultz
Provide a basic dummy driver to register the ion device and to install basic SYSTEM and SYSTEM_CONTIG heaps. This allows for basic testing with ION without having access to drivers or systems that have been enabled to use ION. Cc: Colin Cross Cc: Greg KH Cc: Jesse Barker Cc: Android Kernel Tea

[PATCH 2/2] ion: Add carveout and chunk heaps to dummy driver

2014-01-09 Thread John Stultz
Add support to the dummy driver for basic carveout and chunk heaps. Since we're generating these heaps at module_init, and we want this driver to be generic enough to be tested on any arch, we don't have the ability to alloc bootmem, so both of these heaps are conventionally allocated using alloc_

oops in rds_iw_laddr_check

2014-01-09 Thread Dave Jones
Oops: [#1] PREEMPT SMP DEBUG_PAGEALLOC CPU: 0 PID: 5036 Comm: trinity-main Not tainted 3.13.0-rc7+ #15 task: 88008fc6b7b0 ti: 880090796000 task.ti: 880090796000 RIP: 0010:[] [] rds_iw_laddr_check+0x73/0xc0 [rds_rdma] RSP: 0018:880090797e10 EFLAGS: 00010246 RAX:

linux-next: Tree for Jan 10

2014-01-09 Thread Stephen Rothwell
Hi all, This tree fails (more than usual) the powerpc allyesconfig build. Changes since 20140109: Removed tree: ubi (at maintainers request) Dropped tree: sh (complex merge conflicts against very old commits) The powerpc tree still had its build failure. The kvm tree gained a build failure

[PATCH] ASoC: dpcm: don't do hw_param when BE has done hw_param

2014-01-09 Thread Nenghua Cao
From: Nenghua Cao It fixes the following case: Two FEs connects the same BE; FE1 & BE path has been opened and hw_paramed. At this momment, FE2 & BE path is being opened and hw_paramed. The BE dai will do hw_param again even if it has done hw_param. It is not reasonable. FE1>B

Re: 3.13-rc2 phy-twl4030-usb.c - Timeout setting T2 HSUSB PHY DPLL

2014-01-09 Thread Kishon Vijay Abraham I
Hi, On Thursday 09 January 2014 10:54 AM, Roger Quadros wrote: > Hi Marek, > > I have no idea what is happening there. Have you tried using device tree boot? > Board file boot support would be dropped eventually. > > Did you try if I2C read write to the twl4030 device works and all necessary >

warning: (PPC_PSERIES && ..) selects HOTPLUG_CPU which has unmet direct dependencies (SMP && ..))

2014-01-09 Thread Fengguang Wu
tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7d1c153ab373a5c07feb97eaf4e4bcad5bfc262e commit: bb07b00be77fb33274cb44a03bdbf2471e556189 Merge 3.10-rc6 into driver-core-next date: 7 months ago config: make ARCH=powerpc mpc86xx_defconfig All warnings: wa

linux-next: manual merge of the akpm-current tree with the char-misc tree

2014-01-09 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in drivers/misc/mei/hbm.c between commit 544f94601409 ("mei: do not run reset flow from the interrupt thread") from the char-misc tree and commit dd045dab2999 ("drivers/misc/mei: ratelimit several error messages") from the

powerpc: possible access beyond TASK_SIZE in start_thread

2014-01-09 Thread Mathieu Desnoyers
Hi Rusty, I was looking at the diff between kernel v3.12 and recent master (after 3.13-rc7), and noticed that in the following commit: commit 94af3abf995b17f6a008b00152c94841242ec6c7 Author: Rusty Russell Date: Wed Nov 20 22:15:02 2013 +1100 powerpc: ELF2 binaries launched directly. on

Re: [PATCH 0/2] ION dummy driver

2014-01-09 Thread Greg KH
On Thu, Jan 09, 2014 at 07:40:53PM -0800, John Stultz wrote: > Greg: I realize this is after the usual -rc6 cutoff for staging, > so no pressure if you want to defer this for 3.15, but I saw you've > picked up a few things recently, so I figured I'd send it out so > I'm not just sitting on it while

Re: [PATCH v3] ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif

2014-01-09 Thread Sekhar Nori
On Thursday 09 January 2014 10:03 PM, Brian Norris wrote: > On Thu, Jan 09, 2014 at 04:09:00PM +0530, Sekhar Nori wrote: >> On Thursday 26 December 2013 05:36 PM, ivan.khoronzhuk wrote: >>> On 12/18/2013 02:13 PM, Sekhar Nori wrote: On Wednesday 18 December 2013 05:21 PM, ivan.khoronzhuk wrote

Re: Freeing of dev->p

2014-01-09 Thread Greg Kroah-Hartman
On Wed, Jan 08, 2014 at 09:33:30PM +0100, Jean Delvare wrote: > On Wed, 8 Jan 2014 08:56:28 -0800, Greg Kroah-Hartman wrote: > > On Wed, Jan 08, 2014 at 04:40:58PM +0100, Jean Delvare wrote: > > > Hi Greg, hi all, > > > > > > A memory leak has been reported to me: > > > http://marc.info/?l=linux-i

Donation!

2014-01-09 Thread adriang . bayford
My wife and I won £148m on the Euromillions lottery & will be donating £1.5 Million each to you and four other individuals in our ongoing charity project, get back to us for more details on how you can receieve your donation. See article for more info - http://www.bbc.co.uk/news/uk-england-1925

Re: [patch/rfc] perf on raspberry-pi without overflow interrupt

2014-01-09 Thread Vince Weaver
On Thu, 9 Jan 2014, Will Deacon wrote: > I'd rather see it in the generic code if at all possible. Maybe we could add > a flags field to perf_pmu_register? I can look into adding the check in generic code. In the meantime, would you consider a patch like this that disables the IRQ check and lets

[PATCH] Staging: comedi: fix spacing coding style issue in 8255.c.

2014-01-09 Thread Chase Southwood
This patch for 8255.c fixes a spacing warning found by checkpatch.pl. Signed-off-by: Chase Southwood --- drivers/staging/comedi/drivers/8255.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/comedi/drivers/8255.c b/drivers/staging/comedi/drivers/8255.c

Re: [PATCH] acpi memory hotplug, add parameter to disable memory hotplug for kexec

2014-01-09 Thread Yasuaki Ishimatsu
(2014/01/10 6:44), Vivek Goyal wrote: On Thu, Jan 09, 2014 at 04:34:16PM -0500, KOSAKI Motohiro wrote: On Thu, Jan 9, 2014 at 10:00 AM, Vivek Goyal wrote: On Thu, Jan 09, 2014 at 12:00:29AM +0100, Rafael J. Wysocki wrote: [..] The system then panics and the kdump/kexec kernel boots. During

[PATCH v3 6/6] arm64: add early_ioremap support

2014-01-09 Thread Mark Salter
Add support for early IO or memory mappings which are needed before the normal ioremap() is usable. This also adds fixmap support for permanent fixed mappings such as that used by the earlyprintk device register region. Signed-off-by: Mark Salter CC: linux-arm-ker...@lists.infradead.org CC: Catal

[PATCH v3 2/6] mm: create generic early_ioremap() support

2014-01-09 Thread Mark Salter
This patch creates a generic implementation of early_ioremap() support based on the existing x86 implementation. early_ioremp() is useful for early boot code which needs to temporarily map I/O or memory regions before normal mapping functions such as ioremap() are available. Signed-off-by: Mark Sa

[PATCH v3 0/6] generic early_ioremap support

2014-01-09 Thread Mark Salter
This patch series takes the common bits from the x86 early ioremap implementation and creates a generic implementation which may be used by other architectures. The early ioremap interfaces are intended for situations where boot code needs to make temporary virtual mappings before the normal iorema

[PATCH v3 5/6] arm64: initialize pgprot info earlier in boot

2014-01-09 Thread Mark Salter
Presently, paging_init() calls init_mem_pgprot() to initialize pgprot values used by macros such as PAGE_KERNEL, PAGE_KERNEL_EXEC, etc. The new fixmap and early_ioremap support also needs to use these macros before paging_init() is called. This patch moves the init_mem_pgprot() call out of paging_i

[PATCH v3 4/6] arm: add early_ioremap support

2014-01-09 Thread Mark Salter
This patch uses the generic early_ioremap code to implement early_ioremap for ARM. The ARM-specific bits come mostly from an earlier patch from Leif Lindholm here: https://lkml.org/lkml/2013/10/3/279 Signed-off-by: Mark Salter Tested-by: Leif Lindholm Acked-by: Catalin Marinas CC: linux-arm

[PATCH v3 3/6] x86: use generic early_ioremap

2014-01-09 Thread Mark Salter
Move x86 over to the generic early ioremap implementation. Signed-off-by: Mark Salter CC: x...@kernel.org CC: Andrew Morton CC: Arnd Bergmann CC: Ingo Molnar CC: Thomas Gleixner CC: "H. Peter Anvin" --- arch/x86/Kconfig | 1 + arch/x86/include/asm/Kbuild | 1 + arch/x86/i

[PATCH v3 1/6] x86/mm: sparse warning fix for early_memremap

2014-01-09 Thread Mark Salter
From: Dave Young There's a lot of sparse warnings for code like below: void *a = early_memremap(phys_addr, size); early_memremap intend to map kernel memory with ioremap facility, the return pointer should be a kernel ram pointer instead of iomem one. For making the function clearer and supress

[PATCH 2/2] ion: Add carveout and chunk heaps to dummy driver

2014-01-09 Thread John Stultz
Add support to the dummy driver for basic carveout and chunk heaps. Since we're generating these heaps at module_init, and we want this driver to be generic enough to be tested on any arch, we don't have the ability to alloc bootmem, so both of these heaps are conventionally allocated using alloc_

[PATCH 1/2] ion: Add dummy driver for testing

2014-01-09 Thread John Stultz
Provide a basic dummy driver to register the ion device and to install basic SYSTEM and SYSTEM_CONTIG heaps. This allows for basic testing with ION without having access to drivers or systems that have been enabled to use ION. Cc: Colin Cross Cc: Greg KH Cc: Jesse Barker Cc: Android Kernel Tea

[PATCH 0/2] ION dummy driver

2014-01-09 Thread John Stultz
The ION subsystem requires something register it along with the various heaps that may be available on a system in order to work (Otherwise no /dev/ion is created). This can make it difficult to play with. Thus I've created this simple dummy driver which allocates and registers some basic heaps.

RE: [PATCH 3/6] [v5] phylib: turn genphy_driver to an array

2014-01-09 Thread Shaohui Xie
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Friday, January 10, 2014 10:45 AM > To: shh@gmail.com > Cc: jg1@samsung.com; mugunthan...@ti.com; f.faine...@gmail.com; > net...@vger.kernel.org; linux-kernel@vger.kernel.org; Xie Shaohui-B21989 > Subject

[PATCH 3/3] iscsi-target: Pre-allocate more tags to avoid ack starvation

2014-01-09 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch addresses an traditional iscsi-target fabric ack starvation issue where iscsit_allocate_cmd() -> percpu_ida_alloc_state() ends up hitting slow path percpu-ida code, because iscsit_ack_from_expstatsn() is expected to free ack'ed tags after tag allocation. This

[Firmware Bug]: cpu 1, try to use APIC500 (LVT offset 0) for vector 0x400

2014-01-09 Thread poma
Robert, is there a patch for this case? https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1152484/comments/12 3.10.2 - 3.13.0-0.rc7: ACPI: Low-level resume complete PM: Restoring platform NVS memory microcode: CPU0: new patch_level=0x01c8 Enabling non-boot CPUs ... x86: Booting SMP configu

[PATCH 0/3] percpu-ida/iscsi-target: Address connection reset starved tag hang

2014-01-09 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Hi folks, This short series addresses a bug in >= v3.12 iscsi-target code where a connection reset occuring once percpu_ida_alloc() goes into starved tag uninterruptible sleep mode causes an indefinate hang, due to the SIGINT being ignored that normally forces the sleepi

[PATCH 1/3] percpu_ida: Add tag alloc interface for interruptible sleep

2014-01-09 Thread Nicholas A. Bellinger
From: Kent Overstreet This patch adds an tag allocation interface that allows for interruptible sleep with GFP_KERNEL, instead of always assuming uninterruptible sleep preventing a signal from being delivered to a scheduled process context in the tag stealing slow path. This includes a wrapper f

[PATCH 2/3] iscsi-target: Fix connection reset hang with percpu_ida_alloc

2014-01-09 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch addresses a bug where connection reset would hang indefinately when percpu_ida_alloc() was starved for tags, and always assumed uninterruptible sleep mode. So now with percpu_ida_alloc_state() available to make interruptible sleep optional, convert iscsit_allo

  1   2   3   4   5   6   7   8   >