[char-misc-next 2/6] mei: get rid of most of the pci dependencies in mei

2014-09-02 Thread Tomas Winkler
For purpose of adding testing HW we would like to get rid of pci dependency in generic mei code This patch provides only straight forward changes FW status and prob quirks need to be handled separately Signed-off-by: Tomas Winkler --- drivers/misc/mei/amthif.c| 68

[PATCH] staging: et131x: et131x.c: sparse warning of incompatible types

2014-09-02 Thread Sudip Mukherjee
fixed sparse warning: incompatible types in comparison expression (different address spaces) wolw and reg both are being used only for the initialization of the __iomem area. Signed-off-by: Sudip Mukherjee --- drivers/staging/et131x/et131x.c | 4 ++-- 1 file changed,

[char-misc-next 1/6] mei: push all standard settings into mei_device_init

2014-09-02 Thread Tomas Winkler
Setting of hw_ops and device has should be in mei_device_init. We add reference to the parent device and remove pci dependent cfg Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --- drivers/misc/mei/hw-me.c | 6 ++ drivers/misc/mei/hw-txe.c | 5 ++---

[char-misc-next 6/6] mei: remove include to pci header from mei module files

2014-09-02 Thread Tomas Winkler
Remove inclusion of linux/pci.h in mei layer however we need to include the headers that before got included implicitly from linux/pci.h. Signed-off-by: Tomas Winkler --- drivers/misc/mei/amthif.c| 2 +- drivers/misc/mei/bus.c | 1 - drivers/misc/mei/client.c| 2 +-

[char-misc-next 3/6] mei: move fw_status back to hw ops handlers

2014-09-02 Thread Tomas Winkler
fw status retrieval has pci specific implementation so we push it back to the hw layer Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw-me.c | 28 drivers/misc/mei/hw-txe.c | 30 ++ drivers/misc/mei/init.c| 21

[char-misc-next 4/6] mei: remove the reference to pdev from mei_deivce

2014-09-02 Thread Tomas Winkler
For purpose of adding testing HW we would like to get rid of pci dependency in generic mei code. Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw-me.c | 3 +-- drivers/misc/mei/hw-txe.c | 3 +-- drivers/misc/mei/mei_dev.h | 2 -- drivers/misc/mei/pci-me.c | 2 +-

Re: Trickle charging for rtc-bq32k

2014-09-02 Thread Wolfram Sang
> Do you have example how to acces of_ from i2c driver? > > Platform drivers do: > > if (pdev->dev.of_node) { As I said, this is basically the same. Just use the node from the client's device. Nothing special here. signature.asc Description: Digital signature

[char-misc-next 0/6] mei: remove pci dependency from mei module

2014-09-02 Thread Tomas Winkler
In order to support testing hw module we remove dependency on pci from mei module Tomas Winkler (6): mei: push all standard settings into mei_device_init mei: get rid of most of the pci dependencies in mei mei: move fw_status back to hw ops handlers mei: remove the reference to pdev from

[RFC v2 2/2] usb: phy: Temporarily hold wakeupsource on charger connect and disconnect events

2014-09-02 Thread Kiran Kumar Raparthy
From: Todd Poynor usb: phy: Temporarily hold wakeupsource on charger connect and disconnect events Allow other parts of the system to react to the charger connect/disconnect event without allowing the system to suspend before the other parts can process the event. This wakeup_source times out

[RFC v2 1/2] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

2014-09-02 Thread Kiran Kumar Raparthy
From: Todd Poynor usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode Purpose of this is to prevent the system to enter into suspend state from USB peripheral traffic by hodling a wakeupsource when USB is connected and enumerated in peripheral mode(say adb). Disabled by

Re: [PATCH v10 03/19] arm: fiq: Replace default FIQ handler

2014-09-02 Thread Daniel Thompson
On 28/08/14 16:01, Russell King - ARM Linux wrote: > On Tue, Aug 19, 2014 at 07:12:07PM +0100, Daniel Thompson wrote: >> On 19/08/14 18:37, Russell King - ARM Linux wrote: >>> On Tue, Aug 19, 2014 at 05:45:53PM +0100, Daniel Thompson wrote: +int register_fiq_nmi_notifier(struct notifier_block

Re: [PATCH v3 13/17] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2014-09-02 Thread Tomasz Nowicki
On 01.09.2014 19:35, Marc Zyngier wrote: On 01/09/14 15:57, Hanjun Guo wrote: From: Tomasz Nowicki ACPI kernel uses MADT table for proper GIC initialization. It needs to parse GIC related subtables, collect CPU interface and distributor addresses and call driver initialization function (which

Re: [PATCH v3] drm/i915: Fix lock dropping in intel_tv_detect()

2014-09-02 Thread Jani Nikula
On Tue, 02 Sep 2014, ville.syrj...@linux.intel.com wrote: > From: Ville Syrjälä > > When intel_tv_detect() fails to do load detection it would forget to > drop the locks and clean up the acquire context. Fix it up. > > This is a regression from: > commit 208bf9fdcd3575aa4a5d48b3e0295f7cdaf6fc44

Re: [PATCH v4] i2c: rk3x: fix bug that cause transfer fails in master receive mode

2014-09-02 Thread Wolfram Sang
On Sat, Aug 23, 2014 at 02:00:52AM +0800, Addy Ke wrote: > In rk3x SOC, the I2C controller can receive/transmit up to 32 bytes data > in one chunk, so the size of data to be write/read to/from TXDATAx/RXDATAx > must be less than or equal 32 bytes at a time. > > Tested on rk3288-pinky board, elan

Re: [PATCH v10 03/19] arm: fiq: Replace default FIQ handler

2014-09-02 Thread Russell King - ARM Linux
On Tue, Sep 02, 2014 at 12:03:11PM +0100, Daniel Thompson wrote: > On 28/08/14 17:15, Paul E. McKenney wrote: > > On Thu, Aug 28, 2014 at 04:54:25PM +0100, Daniel Thompson wrote: > >> On 28/08/14 16:01, Russell King - ARM Linux wrote: > >>> There's concerns with whether either printk() in

Re: [PATCH v4 1/2] tty: serial: 8250: Add Mediatek UART driver

2014-09-02 Thread Mark Rutland
[...] > +static int mtk8250_probe_of(struct platform_device *pdev, struct uart_port > *p, > +struct mtk8250_data *data) > +{ > + int err; > + struct device_node *np = pdev->dev.of_node; > + > + data->clk = of_clk_get(np, 0); > + if (IS_ERR(data->clk)) { >

[PATCH] sparc32, leon: Make leom_dma_ops avaiable when !CONFIG_PCI

2014-09-02 Thread Andreas Larsson
The leon_dma_ops struct is needed for leon regardless of PCI configuration. Signed-off-by: Andreas Larsson --- arch/sparc/include/asm/dma-mapping.h |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/sparc/include/asm/dma-mapping.h

Re: [PATCHv2 1/4] ASoC: simple-card: add asoc_simple_card_fmt_master() to simplify the code.

2014-09-02 Thread Jyri Sarha
On 09/02/2014 02:09 PM, Jean-Francois Moine wrote: On Tue, 02 Sep 2014 16:12:40 +0530 Varka Bhadram wrote: + switch (((np == bitclkmaster) << 4) | (np == framemaster)) { + case 0x11: + return SND_SOC_DAIFMT_CBS_CFS; + case 0x10: + return

Re: [PATCH v4 2/2] DTS: serial: Add bindings documention for the Mediatek UARTs

2014-09-02 Thread Mark Rutland
On Tue, Aug 12, 2014 at 03:12:17PM +0100, Matthias Brugger wrote: > This patch adds the devicetree documentation for the Mediatek UART. > > Signed-off-by: Matthias Brugger > --- > .../devicetree/bindings/serial/mtk-uart.txt| 20 > > 1 file changed, 20

Re: [REGRESSION] i915: failure to see Dell 30" monitor connected to a Lenovo Haswell docking station

2014-09-02 Thread Dave Airlie
On 2 September 2014 21:03, Theodore Ts'o wrote: > On Tue, Sep 02, 2014 at 02:15:39PM +1000, Dave Airlie wrote: >> On 2 September 2014 14:05, Theodore Ts'o wrote: >> > I recently upgraded to v3.17-rc3, and on my Lenovo T540p, I can no >> > longer see the my Dell 30" monitor when it is connected

Re: [PATCH 01/12] Staging: rtl8821ae: hal_bt_coexist: fix commenting style

2014-09-02 Thread An Tuan Ha
I see, thanks, I will fix it, I was just worried about the subjects being too long so I just stuck with the same subject; is there a character limit on how long the subject line should be? Or as long as it's reasonable, it'll be fine? On Tue, Sep 02, 2014 at 12:19:40PM +0300, Dan Carpenter wrote:

Re: [PATCH v4 1/3] usb: dwc3: add ST dwc3 glue layer to manage dwc3 HC

2014-09-02 Thread Peter Griffin
Hi Felipe, Sorry for the delay in replying to this mail, I've been trying to get answers to the suspend/resume questions you had. > > +config USB_DWC3_ST > > + tristate "STMicroelectronics Platforms" > > + depends on ARCH_STI && OF > > + default USB_DWC3_HOST > > this seems wrong as

Re: [PATCH] Input: cap1106 - fix register definition

2014-09-02 Thread Klaus Goger
On Sep 2, 2014, at 9:43 AM, Daniel Mack wrote: > On 09/02/2014 08:32 AM, Klaus Goger wrote: >> Use the correct register address for Calibration Active and Interrupt >> Enable >> >> Signed-off-by: Klaus Goger > > These register definitions are currently unused, but your fix is > correct. Just

[PATCH v6 3/4] usb: hcd: Calibrate PHY post hcd reset

2014-09-02 Thread Vivek Gautam
Some quirky PHYs may require to be calibrated post the hcd initialization. The USB 3.0 DRD PHY on Exynos5420/5800 systems, coming along with Synopsys's DWC3 controller, is one such PHY which needs to be calibrated post xhci's reset at initialization time and at resume time, to get the controller

[PATCH v6 2/4] usb: host: xhci-plat: Get PHYs for xhci's hcds

2014-09-02 Thread Vivek Gautam
The host controller by itself may sometimes need to handle PHY and/or calibrate some of the PHY settings to get full support out of the PHY controller. The PHY core provides a calibration funtionality now to do so. Therefore, facilitate getting the two possible PHYs, viz. USB 2.0 type (UTMI+) and

[PATCH v6 4/4] phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800

2014-09-02 Thread Vivek Gautam
Adding phy calibrate callback, which facilitates setting certain PHY settings post initialization of the PHY controller. Exynos5420 and Exynos5800 have 28nm USB 3.0 DRD PHY for which the Loss-of-Signal (LOS) Detector Threshold Level as well as Tx-Vboost-Level should be controlled for Super-Speed

[PATCH v6 1/4] phy: Add provision for calibrating phy.

2014-09-02 Thread Vivek Gautam
Some PHY controllers may need to calibrate certain PHY settings after initialization of the controller and sometimes even after initializing the PHY-consumer too. Add support for the same in order to let consumers do so in need. Signed-off-by: vivek Gautam --- drivers/phy/phy-core.c | 36

[PATCH v6 0/4] Fine tune USB 3.0 PHY on exynos5420

2014-09-02 Thread Vivek Gautam
This series is based on Heikki's patches for simpliefied phy lookup table: [PATCHv3 0/6] phy: simplified phy lookup [1], applied against 'usb-next' branch alongwith Sergei's patch for adding generic phy support to usb hcd [2]. NOTE: We need to get above dependencies merged first in order to merge

Re: [PATCHv2 1/4] ASoC: simple-card: add asoc_simple_card_fmt_master() to simplify the code.

2014-09-02 Thread Jyri Sarha
On 09/02/2014 12:26 PM, Xiubo Li wrote: Signed-off-by: Xiubo Li --- sound/soc/generic/simple-card.c | 61 - 1 file changed, 29 insertions(+), 32 deletions(-) diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index

[PATCH] staging: unisys: uislib: uisqueue.c: fixed sparse warning of context imbalance

2014-09-02 Thread Sudip Mukherjee
fixed sparse warning : context imbalance in 'do_locked_client_insert' different lock contexts for basic block spin_unlock_irqrestore is called at a later stage before returning from the function if locked is 1. Signed-off-by: Sudip Mukherjee ---

Re: [PATCH] regulator: rk808: Fix n_voltages for DCDC4

2014-09-02 Thread Mark Brown
On Tue, Sep 02, 2014 at 08:47:31AM +0800, Axel Lin wrote: > The min_sel is 0, max_sel is 15, so n_voltages should be 16. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCHv2 1/4] ASoC: simple-card: add asoc_simple_card_fmt_master() to simplify the code.

2014-09-02 Thread Jean-Francois Moine
On Tue, 02 Sep 2014 16:12:40 +0530 Varka Bhadram wrote: > >>> + switch (((np == bitclkmaster) << 4) | (np == framemaster)) { > >>> + case 0x11: > >>> + return SND_SOC_DAIFMT_CBS_CFS; > >>> + case 0x10: > >>> + return SND_SOC_DAIFMT_CBS_CFM; > >>> + case 0x01: > >>> +

[RFC PATCH v3 4/4] ftracetest: Add XFAIL/XPASS and POSIX.3 std. result codes

2014-09-02 Thread Masami Hiramatsu
Add XFAIL, XPASS and POSIX 1003.3 std. codes (UNRESOLVED/ UNTESTED/UNSUPPORTED) as a result code. These are used for the results that test case is expected to fail or unsupported feature (by config). This also introduces PASS/FAIL/XFAIL/XPASS/UNSUP/UNTST/UNRES result codes for each testcase. Since

[RFC PATCH v3 1/4] ftracetest: Initial commit for ftracetest

2014-09-02 Thread Masami Hiramatsu
ftracetest is a collection of testcase shell-scripts for ftrace. To avoid regressions of ftrace, these testcases check correct ftrace behaviors. If someone would like to add any features on ftrace, the patch series should have at least one testcase for checking the new behavior. Changes in v3: -

[RFC PATCH v3 2/4] ftracetest: Add ftrace basic testcases

2014-09-02 Thread Masami Hiramatsu
Add ftrace basic testcases. This just checks ftrace debugfs interface works as it is designed. Changes in v2: - Change shell to sh instead of bash. Signed-off-by: Masami Hiramatsu --- tools/testing/ftrace/test.d/basic1.tc |3 +++ tools/testing/ftrace/test.d/basic2.tc |6 ++

[RFC PATCH v3 3/4] ftracetest: Add kprobe basic testcases

2014-09-02 Thread Masami Hiramatsu
Add basic testcases for kprobe dynamic events. This also shows that the ftracetest accepts sub-directory for new testcases. Changes in v2: - Change shell to sh instead of bash. Signed-off-by: Masami Hiramatsu --- .../testing/ftrace/test.d/kprobe/add_and_remove.tc | 11 +++

[RFC PATCH v3 0/4] ftrace: Add a ftrace test collection

2014-09-02 Thread Masami Hiramatsu
Hi, Here is the collection of testcases for ftrace version 3. This is just some updates and fixes according to the discussion at previous version. https://lkml.org/lkml/2014/8/26/304 The major updates are: - Fix some expressions to work on dash (Thanks Luis!) - Support

Re: [REGRESSION] i915: failure to see Dell 30" monitor connected to a Lenovo Haswell docking station

2014-09-02 Thread Theodore Ts'o
On Tue, Sep 02, 2014 at 02:15:39PM +1000, Dave Airlie wrote: > On 2 September 2014 14:05, Theodore Ts'o wrote: > > I recently upgraded to v3.17-rc3, and on my Lenovo T540p, I can no > > longer see the my Dell 30" monitor when it is connected via the > > docking station using a Displayport

Re: [PATCHv2 1/4] ASoC: simple-card: add asoc_simple_card_fmt_master() to simplify the code.

2014-09-02 Thread Takashi Iwai
At Tue, 02 Sep 2014 16:12:40 +0530, Varka Bhadram wrote: > > On 09/02/2014 04:08 PM, Jean-Francois Moine wrote: > > On Tue, 02 Sep 2014 15:51:41 +0530 > > Varka Bhadram wrote: > > > >>> + switch (((np == bitclkmaster) << 4) | (np == framemaster)) { > >>> + case 0x11: > >>> + return

Re: [PATCH v10 03/19] arm: fiq: Replace default FIQ handler

2014-09-02 Thread Daniel Thompson
On 28/08/14 17:15, Paul E. McKenney wrote: > On Thu, Aug 28, 2014 at 04:54:25PM +0100, Daniel Thompson wrote: >> On 28/08/14 16:01, Russell King - ARM Linux wrote: >>> On Tue, Aug 19, 2014 at 07:12:07PM +0100, Daniel Thompson wrote: On 19/08/14 18:37, Russell King - ARM Linux wrote: > On

Re: [Xen-devel] [PATCH] x86/xen: Fix 64bit kernel pagetable setup of PV guests

2014-09-02 Thread David Vrabel
On 01/09/14 18:34, David Vrabel wrote: > On 29/08/14 16:17, Stefan Bader wrote: >> >> This change might not be the fully correct approach as it basically >> removes the pre-set page table entry for the fixmap that is compile >> time set (level2_fixmap_pgt[506]->level1_fixmap_pgt). For one the >>

Re: [PATCH 1/5] usb: dwc3: exynos: Add support for SCLK present on Exynos7

2014-09-02 Thread Mark Rutland
On Tue, Sep 02, 2014 at 11:39:08AM +0100, Vivek Gautam wrote: > Hi, > > > On Fri, Aug 29, 2014 at 12:18 AM, Mark Rutland wrote: > > On Thu, Aug 28, 2014 at 09:01:56AM +0100, Vivek Gautam wrote: > >> Exynos7 also has a separate special gate clock going to the IP > >> apart from the usual AHB

[PATCH 2/2] cgroup: check cgroup liveliness before unbreaking kernfs protection

2014-09-02 Thread Li Zefan
When cgroup_kn_lock_live() is called through some kernfs operation and another thread is calling cgroup_rmdir(), we may trigger the warning in cgroup_get(). [ cut here ] WARNING: CPU: 1 PID: 1228 at kernel/cgroup.c:1034 cgroup_get+0x89/0xa0() ... Call Trace: []

Re: [PATCH] i2c:at91: Fix a race condition during signal handling in at91_do_twi_xfer.

2014-09-02 Thread Wolfram Sang
On Tue, Aug 26, 2014 at 09:13:24PM +0200, Simon Lindgren wrote: > There is a race condition in at91_do_twi_xfer when signals arrive. > If a signal is recieved while waiting for a transfer to complete > wait_for_completion_interruptible_timeout() will return -ERESTARTSYS. > This is not handled

[PATCH 1/2] cgroup: Delay the clearing of cgrp->kn->priv

2014-09-02 Thread Li Zefan
Run these two scripts concurrently: for ((; ;)) { mkdir /cgroup/sub rmdir /cgroup/sub } for ((; ;)) { echo $$ > /cgroup/sub/cgroup.procs ech $$ > /cgce 6f2e0c38c2108a74 ]--- } A kernel bug will be triggered: BUG: unable to handle kernel

[PATCH] iio: magn: ak8975: fix unnecessary casting between char* and const char*

2014-09-02 Thread Irina Tirdea
Use const char* instead of casting const char* to char*. Signed-off-by: Irina Tirdea --- drivers/iio/magnetometer/ak8975.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/iio/magnetometer/ak8975.c b/drivers/iio/magnetometer/ak8975.c index a235792..61edc66

[PATCH] iio: gyro: bmg160: only set power state if PM_RUNTIME is defined

2014-09-02 Thread Irina Tirdea
When CONFIG_PM_RUNTIME is not defined and bmg160 tries to power off the device, bmg160_set_power_state will call pm_runtime_put_autosuspend, which is not implemented (wil return -ENOSYS). Only call bmg160_set_power_state when CONFIG_PM_RUNTIME is defined. Signed-off-by: Irina Tirdea

Re: [PATCH 2/9] perf: Deny optimized switch for events read by PERF_SAMPLE_READ

2014-09-02 Thread Peter Zijlstra
On Mon, Aug 25, 2014 at 04:45:36PM +0200, Jiri Olsa wrote: > The optimized task context switch for cloned perf events just > swaps whole perf event contexts (of current and next process) > if it finds them suitable. Events from the 'current' context > will now measure data of the 'next' context

[PATCH] ARM: at91/dt: at91sam9m10g45ek add rtc node

2014-09-02 Thread Erik van Luijk
Signed-off-by: Erik van Luijk --- arch/arm/boot/dts/at91sam9g45.dtsi | 7 +++ arch/arm/boot/dts/at91sam9m10g45ek.dts | 3 +++ 2 files changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9g45.dtsi b/arch/arm/boot/dts/at91sam9g45.dtsi index 932a669..bf62c18 100644 ---

Re: [PATCH] Next branch: authgss: authgss.c: Fix warnings for uninitizlized variable expire

2014-09-02 Thread Boaz Harrosh
On 09/01/2014 04:50 PM, Trond Myklebust wrote: > On Mon, Sep 1, 2014 at 7:32 AM, Shakil A Khan wrote: >> Signed-off-by : Shakil A Khan >> --- >> net/sunrpc/auth_gss/auth_gss.c |2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git a/net/sunrpc/auth_gss/auth_gss.c

[PATCH] iio: gyro: bmi055 gyro sensor driver

2014-09-02 Thread Irina Tirdea
Add support for the BMI055 gyroscope sensor. BMI055 is a package consisting of an acceleration sensor and a gyroscope. This patch adds support for the gyroscope only. Spec downloaded from: http://ae-bst.resource.bosch.com/media/products/dokumente/bmi055/BST-BMI055-DS000-06.pdf The BMI055

Re: [PATCH 1/9] perf: Remove redundant parent context check from context_equiv

2014-09-02 Thread Peter Zijlstra
On Mon, Aug 25, 2014 at 04:45:35PM +0200, Jiri Olsa wrote: > As described in commit: > 1f9a7268c67f perf: Do not allow optimized switch for non-cloned events > we dont allow optimized switch for non cloned contexts. > > There's no need now to check if one of the context is parent > of the other

[PATCH v2 2/4] pci_ids: add support for Intel Quark ILB

2014-09-02 Thread Andy Shevchenko
From: Josef Ahmad This patch adds the PCI id for Intel Quark ILB. It will be used for GPIO and Multifunction device driver. Signed-off-by: Josef Ahmad Acked-by: Bjorn Helgaas Signed-off-by: Andy Shevchenko --- include/linux/pci_ids.h | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [RFC PATCH 1/1] drivers: introduce ARM SBSA generic UART driver

2014-09-02 Thread Mark Rutland
On Tue, Sep 02, 2014 at 11:06:30AM +0100, Andre Przywara wrote: > Hi Rob, > > thanks for looking at this. > > On 02/09/14 04:06, Rob Herring wrote: > > On Fri, Aug 29, 2014 at 11:13 AM, Andre Przywara > > wrote: > >> The ARM Server Base System Architecture (SBSA) describes a generic > >> UART

[PATCH v2 0/4] mfd: lpc_sch: Intel Quark support

2014-09-02 Thread Andy Shevchenko
This brings support of the LPC SCH device found on Intel Quark SoC. Patches were compile tested, and driver runs on actual hardware. Please, note that PCI ID will be used in future in the gpio-sch driver. Changelog v2: - squash patches 1/5 and 2/5 into 1/4 - add Acked-by Bjorn - address Lee's

[PATCH v2 1/4] mfd: lpc_sch: reduce duplicate code and improve manageability

2014-09-02 Thread Andy Shevchenko
This patch refactors the driver to use helper functions instead of copy'n'pasted pieces of code. It also introduces an additional struct to hold a chipset info. The chipset info will be used to store features that are supported by specific processor or chipset. LPC_SCH supports SMBUS, GPIO and

[PATCH v2 4/4] mfd: lpc_sch: remove FSF address

2014-09-02 Thread Andy Shevchenko
This patch removes FSF address because it can be changed. While here, update the copyright lines by adding Intel Corp. to them. There is no functional change. Signed-off-by: Andy Shevchenko --- drivers/mfd/lpc_sch.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

[PATCH v2 3/4] mfd: lpc_sch: Add support for Intel Quark X1000

2014-09-02 Thread Andy Shevchenko
Intel Quark X1000 SoC supports IRQ based GPIO. This patch will enable MFD support for Quark X1000 and provide IRQ resources to Quark X1000 GPIO device driver. Signed-off-by: Chang Rebecca Swee Fun Tested-by: Chang Rebecca Swee Fun Signed-off-by: Andy Shevchenko --- drivers/mfd/lpc_sch.c | 37

Re: [PATCHv2 1/4] ASoC: simple-card: add asoc_simple_card_fmt_master() to simplify the code.

2014-09-02 Thread Varka Bhadram
On 09/02/2014 04:08 PM, Jean-Francois Moine wrote: On Tue, 02 Sep 2014 15:51:41 +0530 Varka Bhadram wrote: + switch (((np == bitclkmaster) << 4) | (np == framemaster)) { + case 0x11: + return SND_SOC_DAIFMT_CBS_CFS; + case 0x10: + return

Re: [PATCHv2 3/4] ASoC: simple-card: Adjust the comments of simple card.

2014-09-02 Thread Jean-Francois Moine
On Tue, 2 Sep 2014 17:26:08 +0800 Xiubo Li wrote: > @@ -285,11 +287,11 @@ static int asoc_simple_card_dai_link_of(struct > device_node *node, > dai_props->codec_dai.sysclk); > > /* > - * soc_bind_dai_link() will check cpu name > - * after of_node matching if

Re: 3.16/3.16.1: Kernel Oops in nft_do_chain

2014-09-02 Thread Pablo Neira Ayuso
On Tue, Sep 02, 2014 at 12:14:27PM +0200, leroy christophe wrote: > Calling 'iptables-compat -L', first time nothing is listed on the screen. > Second try, it generates following Oops. I'm going to pass this patch to -stable asap: commit b88825de8545ad252c31543fef13cadf4de7a2bc Author: Pablo

Re: [PATCHv2 4/4] ASoC: simple-card: binding: update binding to support the new style.

2014-09-02 Thread Jean-Francois Moine
On Tue, 2 Sep 2014 17:26:09 +0800 Xiubo Li wrote: > +Example 4 - many DAI links: > sound { > compatible = "simple-audio-card"; > simple-audio-card,name = "Cubox Audio"; > @@ -128,6 +195,7 @@ sound { > }; > codec { > sound-dai = < 0>;

Re: [PATCH v2] i2c: mv64xxx: continue probe when clock-frequency is missing

2014-09-02 Thread Wolfram Sang
On Mon, Sep 01, 2014 at 10:28:13PM +0800, Chen-Yu Tsai wrote: > The "clock-frequency" DT property is listed as optional, However, > the current code stores the return value of of_property_read_u32 in > the return code of mv64xxx_of_config, but then forgets to clear it > after setting the default

Re: [PATCH 1/5] usb: dwc3: exynos: Add support for SCLK present on Exynos7

2014-09-02 Thread Vivek Gautam
Hi, On Fri, Aug 29, 2014 at 12:18 AM, Mark Rutland wrote: > On Thu, Aug 28, 2014 at 09:01:56AM +0100, Vivek Gautam wrote: >> Exynos7 also has a separate special gate clock going to the IP >> apart from the usual AHB clock. So add support for the same. >> >> Signed-off-by: Vivek Gautam >> ---

Re: [PATCHv2 1/4] ASoC: simple-card: add asoc_simple_card_fmt_master() to simplify the code.

2014-09-02 Thread Jean-Francois Moine
On Tue, 02 Sep 2014 15:51:41 +0530 Varka Bhadram wrote: > > + switch (((np == bitclkmaster) << 4) | (np == framemaster)) { > > + case 0x11: > > + return SND_SOC_DAIFMT_CBS_CFS; > > + case 0x10: > > + return SND_SOC_DAIFMT_CBS_CFM; > > + case 0x01: > > +

Re: [PATCH v3 3/3] iio: accel: BMC150: add support for other Bosch chips

2014-09-02 Thread Laurentiu Palcu
On Mon, Sep 01, 2014 at 08:51:36AM -0700, Srinivas Pandruvada wrote: > On Mon, 2014-09-01 at 08:36 -0700, Joe Perches wrote: > > On Mon, 2014-09-01 at 12:11 +0300, Laurentiu Palcu wrote: > > > The following chips are either similar or have only the resolution > > > different. Hence, change this

Re: [PATCH] staging: xillybus: Move out of staging

2014-09-02 Thread Eli Billauer
Hello, Arend. On 01/09/14 16:08, Arend van Spriel wrote: Maybe it would be better to use the DMA-API instead of the PCI wrappers. I just found out that the PCI wrappers were indeed removed from the DMA-API.txt documentation back in 2010, saying that "driver writers are always able to use

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2014-09-02 Thread Peter Zijlstra
On Tue, Sep 02, 2014 at 12:03:42PM +0800, Jason Wang wrote: > On 09/01/2014 06:19 PM, Peter Zijlstra wrote: > > OK I suppose that more or less makes sense, the contextual behaviour is > > of course tedious in that it makes behaviour less predictable. The > > 'other' tasks might not want to

Re: [PATCHv2 1/4] ASoC: simple-card: add asoc_simple_card_fmt_master() to simplify the code.

2014-09-02 Thread Varka Bhadram
On 09/02/2014 02:56 PM, Xiubo Li wrote: Signed-off-by: Xiubo Li --- sound/soc/generic/simple-card.c | 61 - 1 file changed, 29 insertions(+), 32 deletions(-) diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index

Re: [PATCH v3 8/9] usb: chipidea: move usb_otg into struct ci_hdrc

2014-09-02 Thread Peter Chen
On Tue, Sep 02, 2014 at 11:08:32AM +0200, Antoine Tenart wrote: > Hi, > > On Mon, Sep 01, 2014 at 09:13:43AM +0800, Peter Chen wrote: > > On Fri, Aug 29, 2014 at 04:25:35PM +0200, Antoine Tenart wrote: > > > On Tue, Aug 26, 2014 at 06:22:40PM +0800, Peter Chen wrote: > > > > On Fri, Aug 22, 2014

[PATCHv2 0/4] simple-card: simplify the code.

2014-09-02 Thread Xiubo Li
And comment and advice are welcome. Change in v2: - Maintian compatibility with the old DTs. Change in v1: - Add simple-card dts node patches. - Fix format parsing bug from Jean-Francois's comment. - Rebase to Kuninori-san's newest changes in next branch. Xiubo Li (4): ASoC: simple-card:

[PATCHv2 2/4] ASoC: simple-card: Merge single and muti DAI link(s) code.

2014-09-02 Thread Xiubo Li
This patch will split the DT node into old style and new style: The new style will merge the single DAI link and muti DAI links code together, the new style will be easier to add muti DAI links from old single DAI link DTs. This patch will maintian compatibility with the old DTs. Signed-off-by:

[PATCHv2 4/4] ASoC: simple-card: binding: update binding to support the new style.

2014-09-02 Thread Xiubo Li
This update patch will split the DT node into old style and new style: The new style will will be easier to add muti DAI links from old single DAI link DTs. This patch will maintian compatibility with the old DTs. Signed-off-by: Xiubo Li --- .../devicetree/bindings/sound/simple-card.txt |

[PATCHv2 3/4] ASoC: simple-card: Adjust the comments of simple card.

2014-09-02 Thread Xiubo Li
Signed-off-by: Xiubo Li --- sound/soc/generic/simple-card.c | 48 - 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index 667fa49..e6976a0 100644 ---

[PATCHv2 1/4] ASoC: simple-card: add asoc_simple_card_fmt_master() to simplify the code.

2014-09-02 Thread Xiubo Li
Signed-off-by: Xiubo Li --- sound/soc/generic/simple-card.c | 61 - 1 file changed, 29 insertions(+), 32 deletions(-) diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index 986d2c7..cad2b30 100644 ---

3.16/3.16.1: Kernel Oops in nft_do_chain

2014-09-02 Thread leroy christophe
Calling 'iptables-compat -L', first time nothing is listed on the screen. Second try, it generates following Oops. See below the console dump and the disassembled code around the failing address root@vgoip:~# /usr/local/sbin/iptables-compat -L root@vgoip:~# /usr/local/sbin/iptables-compat -L

Re: [PATCH v4 0/2] tty: serial: Add mediatek UART driver

2014-09-02 Thread Matthias Brugger
2014-08-12 16:12 GMT+02:00 Matthias Brugger : > This patch set adds support for the UART found in Mediatek SoCs. > The chip is a changed version of a 8250 controller. > Especially it introduces a new register called highspeed. The value > in this register has to be set depending on the baudrate.

Re: [PATCH net v2] ipv6: fix rtnl locking in setsockopt for anycast and multicast

2014-09-02 Thread Hannes Frederic Sowa
On Di, 2014-09-02 at 10:29 +0200, Sabrina Dubroca wrote: > Calling setsockopt with IPV6_JOIN_ANYCAST or IPV6_LEAVE_ANYCAST > triggers the assertion in addrconf_join_solict()/addrconf_leave_solict() > > ipv6_sock_ac_join(), ipv6_sock_ac_drop(), ipv6_sock_ac_close() need to > take RTNL before

Re: [RFC PATCH 1/1] drivers: introduce ARM SBSA generic UART driver

2014-09-02 Thread Andre Przywara
Hi Rob, thanks for looking at this. On 02/09/14 04:06, Rob Herring wrote: > On Fri, Aug 29, 2014 at 11:13 AM, Andre Przywara > wrote: >> The ARM Server Base System Architecture (SBSA) describes a generic >> UART which all compliant level 1 systems should implement. This is >> actually a PL011

[PATCH v3] drm/i915: Fix lock dropping in intel_tv_detect()

2014-09-02 Thread ville . syrjala
From: Ville Syrjälä When intel_tv_detect() fails to do load detection it would forget to drop the locks and clean up the acquire context. Fix it up. This is a regression from: commit 208bf9fdcd3575aa4a5d48b3e0295f7cdaf6fc44 Author: Ville Syrjälä Date: Mon Aug 11 13:15:35 2014 +0300

Re: linux-next: Tree for Aug 23

2014-09-02 Thread Peter Zijlstra
On Tue, Sep 02, 2014 at 11:40:16AM +0200, Peter Zijlstra wrote: > On Mon, Sep 01, 2014 at 09:04:38PM +0200, Peter Zijlstra wrote: > > On Mon, Sep 01, 2014 at 09:46:42AM -0700, Guenter Roeck wrote: > > > Yes, the problem is still seen in next-140829. See qemu test results at > > >

[PATCH net-next 2/2] r8152: use eth_hw_addr_random

2014-09-02 Thread Hayes Wang
If the hw doesn't have a valid MAC address, give a random one and set it to the hw. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 39 --- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/drivers/net/usb/r8152.c

[PATCH net-next 1/2] r8152: change the location of rtl8152_set_mac_address

2014-09-02 Thread Hayes Wang
Exchange the location of rtl8152_set_mac_address() and set_ethernet_addr(). Then, the set_ethernet_addr() could set the MAC address by calling rtl8152_set_mac_address() later. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 34 +- 1 file changed, 17

[PATCH net-next 0/2] r8152: random MAC address

2014-09-02 Thread Hayes Wang
If the interface has invalid MAC address, it couldn't be used. In order to let it work normally, give a random one. Hayes Wang (2): r8152: change the location of rtl8152_set_mac_address r8152: use eth_hw_addr_random drivers/net/usb/r8152.c | 65

Re: [PATCH] net: calxedaxgmac: fix driver dependencies

2014-09-02 Thread Bartlomiej Zolnierkiewicz
Hi, On Monday, September 01, 2014 09:36:39 PM Rob Herring wrote: > On Mon, Sep 1, 2014 at 10:39 AM, Bartlomiej Zolnierkiewicz > wrote: > > Calxeda 1G/10G XGMAC Ethernet support should be available only on > > Calxeda ECX-1000/2000 (Highbank/Midway) platforms. > > > > Signed-off-by: Bartlomiej

Re: [PATCH 20/41] perf tools: Let a user specify a PMU event without any config terms

2014-09-02 Thread Jiri Olsa
On Tue, Sep 02, 2014 at 08:39:56AM +0300, Adrian Hunter wrote: SNIP > >>> -e intel_pt/tsc=1,noretcomp=0/ > >>> > >>> I guess I wanted to hear more elaboration why is this better > >>> than the current way we have by defining an alias, like: > >>> > >>> krava alias: "tsc=1,noretcomp=0" > >>>

Re: linux-next: Tree for Aug 23

2014-09-02 Thread Peter Zijlstra
On Mon, Sep 01, 2014 at 09:04:38PM +0200, Peter Zijlstra wrote: > On Mon, Sep 01, 2014 at 09:46:42AM -0700, Guenter Roeck wrote: > > Yes, the problem is still seen in next-140829. See qemu test results at > > http://server.roeck-us.net:8010/builders. > > > > I provided sparc64 images at

Re: [PATCH 03/12] of: Add binding document for MIPS GIC

2014-09-02 Thread Mark Rutland
On Tue, Sep 02, 2014 at 01:53:18AM +0100, Andrew Bresticker wrote: > On Mon, Sep 1, 2014 at 4:01 AM, Mark Rutland wrote: > > On Fri, Aug 29, 2014 at 11:14:30PM +0100, Andrew Bresticker wrote: > >> The Global Interrupt Controller (GIC) present on certain MIPS systems > >> can be used to route

Re: [PATCH v6 2/6] arm64: ptrace: allow tracer to skip a system call

2014-09-02 Thread Russell King - ARM Linux
On Tue, Sep 02, 2014 at 10:16:22AM +0100, Russell King - ARM Linux wrote: > On Tue, Sep 02, 2014 at 05:47:29PM +0900, AKASHI Takahiro wrote: > > On 09/01/2014 08:47 PM, Russell King - ARM Linux wrote: > >> On Wed, Aug 27, 2014 at 02:55:46PM +0900, AKASHI Takahiro wrote: > >>> 1) > >>> setting x0

[PATCH v5 3/3] iio: accel: BMC150: add support for other Bosch chips

2014-09-02 Thread Laurentiu Palcu
The following chips are either similar or have only the resolution different. Hence, change this driver to support these chips too: BMI055 - combo chip (accelerometer part is identical to BMC150's) BMA255 - identical to BMC150's accelerometer BMA222E - 8 bit resolution BMA250E - 10 bit

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2014-09-02 Thread Michael S. Tsirkin
On Tue, Sep 02, 2014 at 09:15:18AM +0300, Eliezer Tamir wrote: > On 02/09/2014 06:29, Jason Wang wrote: > > On 09/01/2014 02:39 PM, Eliezer Tamir wrote: > >> On 29/08/2014 06:08, Jason Wang wrote: > Yes, but rx busy polling only works in process context and does not > disable bh, so it

Re: Build regressions/improvements in v3.17-rc3

2014-09-02 Thread Geert Uytterhoeven
On Tue, Sep 2, 2014 at 11:21 AM, Geert Uytterhoeven wrote: > JFYI, when comparing v3.17-rc3[1] to v3.17-rc2[3], the summaries are: > - build errors: +10/-22 Only known randconfig and new R_PPC64_REL24 relocation truncations. Gr{oetje,eeting}s, Geert -- Geert

Re: [PATCH v2] mmc:sdhci: handle busy-end interrupt during command

2014-09-02 Thread Ulf Hansson
On 30 August 2014 05:40, Chanho Min wrote: > It is fully legal for a controller to start handling busy-end interrupt > before it has signaled that the command has completed. So make sure > we do things in the proper order, Or it results that command interrupt > is ignored so it can cause

[PATCH] [media] videobuf-dma-contig: replace vm_iomap_memory() with remap_pfn_range().

2014-09-02 Thread Fancy Fang
When user requests V4L2_MEMORY_MMAP type buffers, the videobuf-core will assign the corresponding offset to the 'boff' field of the videobuf_buffer for each requested buffer sequentially. Later, user may call mmap() to map one or all of the buffers with the 'offset' parameter which is equal to its

Build regressions/improvements in v3.17-rc3

2014-09-02 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v3.17-rc3[1] compared to v3.16[2]. Summarized: - build errors: +17/-39 - build warnings: +131/-73 JFYI, when comparing v3.17-rc3[1] to v3.17-rc2[3], the summaries are: - build errors: +10/-22 - build warnings: +49/-48

Re: [PATCH 01/12] Staging: rtl8821ae: hal_bt_coexist: fix commenting style

2014-09-02 Thread Dan Carpenter
Hm... Now you've broken it into *too* many separate patches. Also the subjects are the same. Also the subjects are too vague. Which coding style issue is addressed? It should be something like: patch 1: comments patch 2: add/remove spaces patch 3: fix quoted text patch 4: braces patch 5: add

RE: [alsa-devel] [PATCHv1 1/7] ASoC: simple-card: Merge single and muti DAI link code.

2014-09-02 Thread li.xi...@freescale.com
Hi Kuninori-san This patch series will break the old DTs, and I will follow Mark's Advice to maintain compatibility with the old DTs. I will send another version, please help me to review it. And I will also split the update patch series to many small ones. Thanks very much, BRs Xiubo >

Re: [PATCH v6 2/6] arm64: ptrace: allow tracer to skip a system call

2014-09-02 Thread Russell King - ARM Linux
On Tue, Sep 02, 2014 at 05:47:29PM +0900, AKASHI Takahiro wrote: > On 09/01/2014 08:47 PM, Russell King - ARM Linux wrote: >> On Wed, Aug 27, 2014 at 02:55:46PM +0900, AKASHI Takahiro wrote: >>> 1) >>> setting x0 to -ENOSYS is necessary because, otherwise, user-issued >>> syscall(-1) will >>>

Re: [PATCH 1/2] gpu: ipu-v3: Select GENERIC_IRQ_CHIP to fix build error

2014-09-02 Thread Philipp Zabel
Hi, Am Montag, den 01.09.2014, 20:28 -0700 schrieb Greg Kroah-Hartman: [...] > > I checked the MAINTAINERS file, > > I can only find the maintainer for some subfolders of drivers/gpu but no > > entry > > for drivers/gpu/ipu-v3. > > So I'm not sure who is the maintainer for drivers/gpu/ipu-v3. >

Re: [PATCH v3 2/3] perf tools: parse the pmu event prefix and surfix

2014-09-02 Thread Jiri Olsa
On Mon, Sep 01, 2014 at 12:29:46PM -0400, kan.li...@intel.com wrote: > From: Kan Liang > > There are two types of event formats for PMU events. E.g. el-abort OR > cpu/el-abort/. However, the lexer mistakenly recognizes the simple style > format as two events. > > The parse_events_pmu_check

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