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 andre.przyw...@arm.com wrote: The ARM Server Base System Architecture (SBSA) describes a generic

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

2014-09-02 Thread Andy Shevchenko
From: Josef Ahmad josef.ah...@intel.com 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 josef.ah...@intel.com Acked-by: Bjorn Helgaas bhelg...@google.com Signed-off-by: Andy Shevchenko

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 in

[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] 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 shakilk1...@gmail.com wrote: Signed-off-by : Shakil A Khan shakilk1...@gmail.com --- net/sunrpc/auth_gss/auth_gss.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

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

2014-09-02 Thread Erik van Luijk
Signed-off-by: Erik van Luijk evanlu...@interact.nl --- 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

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 and

[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

[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 irina.tir...@intel.com --- 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

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 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: [c16ee73d]

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 mark.rutl...@arm.com 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

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 level1 page

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 Tue, Aug 19,

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 varkabhad...@gmail.com wrote: + switch (((np == bitclkmaster) 4) | (np == framemaster)) { + case 0x11: + return

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 ty...@mit.edu 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

[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

[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 masami.hiramatsu...@hitachi.com --- tools/testing/ftrace/test.d/basic1.tc |3 +++

[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 masami.hiramatsu...@hitachi.com ---

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

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 varkabhad...@gmail.com 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: + return

[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 su...@vectorindia.org ---

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 li.xi...@freescale.com --- sound/soc/generic/simple-card.c | 61 - 1 file changed, 29 insertions(+), 32 deletions(-) diff --git a/sound/soc/generic/simple-card.c

[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

[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 gautam.vi...@samsung.com ---

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

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

2014-09-02 Thread Klaus Goger
On Sep 2, 2014, at 9:43 AM, Daniel Mack zon...@gmail.com 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 klaus.go...@theobroma-systems.com These register definitions are currently

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 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: [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 ty...@mit.edu wrote: On Tue, Sep 02, 2014 at 02:15:39PM +1000, Dave Airlie wrote: On 2 September 2014 14:05, Theodore Ts'o ty...@mit.edu wrote: I recently upgraded to v3.17-rc3, and on my Lenovo T540p, I can no longer see the my Dell 30 monitor when

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 matthias@gmail.com --- .../devicetree/bindings/serial/mtk-uart.txt| 20 1 file changed,

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 varkabhad...@gmail.com wrote: + switch (((np == bitclkmaster) 4) | (np == framemaster)) { + case 0x11: + return SND_SOC_DAIFMT_CBS_CFS; + case 0x10: +

[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 andr...@gaisler.com --- 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: [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)) { +

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 check_flags()

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 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ä ville.syrj...@linux.intel.com 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

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 tomasz.nowi...@linaro.org 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

[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 toddpoy...@google.com 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

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

[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 toddpoy...@google.com 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

[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

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 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 tomas.wink...@intel.com --- 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 +-

[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 tomas.wink...@intel.com --- drivers/misc/mei/amthif.c| 2 +- drivers/misc/mei/bus.c | 1 - drivers/misc/mei/client.c

[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 tomas.wink...@intel.com --- drivers/misc/mei/hw-me.c | 28 drivers/misc/mei/hw-txe.c | 30 ++ drivers/misc/mei/init.c

[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 tomas.wink...@intel.com Signed-off-by: Alexander Usyskin alexander.usys...@intel.com --- drivers/misc/mei/hw-me.c | 6 ++

[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 su...@vectorindia.org --- drivers/staging/et131x/et131x.c | 4

[char-misc-next 5/6] mei: push pci cfg structure me hw

2014-09-02 Thread Tomas Winkler
Device specific configurations are currently only needed by me hw so we can remove it from txe Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/hw-me.c | 7 +-- drivers/misc/mei/hw-me.h | 26 +- drivers/misc/mei/hw-txe.c | 22

[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 tomas.wink...@intel.com --- drivers/misc/mei/amthif.c| 68

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

2014-09-02 Thread Lee Jones
On Tue, 02 Sep 2014, Andy Shevchenko wrote: 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

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

2014-09-02 Thread Lee Jones
On Tue, 02 Sep 2014, Andy Shevchenko wrote: From: Josef Ahmad josef.ah...@intel.com 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 josef.ah...@intel.com Acked-by: Bjorn Helgaas bhelg...@google.com

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

2014-09-02 Thread Lee Jones
On Tue, 02 Sep 2014, Andy Shevchenko wrote: 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 rebecca.swee.fun.ch...@intel.com Tested-by: Chang

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

2014-09-02 Thread Lee Jones
On Tue, 02 Sep 2014, Andy Shevchenko wrote: 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 andriy.shevche...@linux.intel.com ---

Re: [PATCH] i2c: i2c-tegra: Move clk_prepare/clk_set_rate to probe

2014-09-02 Thread Wolfram Sang
On Fri, Aug 15, 2014 at 10:18:15AM -0600, Stephen Warren wrote: On 08/15/2014 03:47 AM, Mikko Perttunen wrote: Currently the i2c-tegra bus driver prepares, enables and set_rates its clocks separately for each transfer. This causes locking problems when doing I2C transfers from clock

Re: [uas/3.16.1] panic in uas_data_cmplt()

2014-09-02 Thread Chunwei Chen
On 西元2014年09月02日 14:50, Hans de Goede wrote: Hi, On 09/02/2014 06:18 AM, Chunwei Chen wrote: Dear all: The kernel version is 3.16.1-1-ARCH Today I keep getting this panic when booting up. http://i.imgur.com/0Rx93Kr.jpg It might be that the UAS device was in some strange state,

Re: [PATCH v2] pinctrl: qcom: remove gpiochip in failure cases

2014-09-02 Thread Linus Walleij
On Fri, Aug 29, 2014 at 10:11 AM, Pramod Gurav pramod.gu...@smartplayin.com wrote: This patch releases gpiochip related resources by calling gpiochip_remove when either of gpiochip_add_pin_range and gpiochip_irqchip_add fails. CC: Linus Walleij linus.wall...@linaro.org CC: Bjorn Andersson

Re: [PATCH] pinctrl: qcom: Release pin ranges when gpiochip_irqchip_add fails

2014-09-02 Thread Linus Walleij
On Wed, Aug 27, 2014 at 12:57 PM, Pramod Gurav pramod.gu...@smartplayin.com wrote: This patches adds a call to gpiochip_remove_pin_ranges when gpiochip_irqchip_add fails to release memory allocated for pin_ranges. CC: Ivan T. Ivanov iiva...@mm-sol.com CC: Bjorn Andersson

Re: [PATCH v2 1/6] mm/balloon_compaction: ignore anonymous pages

2014-09-02 Thread Rafael Aquini
On Sat, Aug 30, 2014 at 08:41:09PM +0400, Konstantin Khlebnikov wrote: From: Konstantin Khlebnikov k.khlebni...@samsung.com Sasha Levin reported KASAN splash inside isolate_migratepages_range(). Problem is in function __is_movable_balloon_page() which tests AS_BALLOON_MAP in

Re: [PATCH v2 2/6] mm/balloon_compaction: keep ballooned pages away from normal migration path

2014-09-02 Thread Rafael Aquini
On Sat, Aug 30, 2014 at 08:41:13PM +0400, Konstantin Khlebnikov wrote: From: Konstantin Khlebnikov k.khlebni...@samsung.com Proper testing shows yet another problem in balloon migration: it works only once for each page. balloon_page_movable() check page flags and page_count. In

Re: [PATCH v3 3/4] pinctrl: msm: Add ps_hold function in pinctrl-apq8064 binding documentation

2014-09-02 Thread Linus Walleij
On Fri, Aug 29, 2014 at 4:30 PM, Pramod Gurav pramod.gu...@smartplayin.com wrote: This adds a function ps_hold (Power Suppy Hold Signal) in pinctrl-ap8064 documentation which was missing. This function is used to reset the targets with apq8064 soc. CC: Linus Walleij linus.wall...@linaro.org

Re: [PATCH v2 3/6] mm/balloon_compaction: isolate balloon pages without lru_lock

2014-09-02 Thread Rafael Aquini
On Sat, Aug 30, 2014 at 08:41:17PM +0400, Konstantin Khlebnikov wrote: From: Konstantin Khlebnikov k.khlebni...@samsung.com LRU-lock isn't required for balloon page isolation. This check makes migration of some ballooned pages mostly impossible because isolate_migratepages_range() drops LRU

Re: [PATCH v3 4/4] pinctrl: qcom: Add support for reset for apq8064

2014-09-02 Thread Linus Walleij
On Fri, Aug 29, 2014 at 4:30 PM, Pramod Gurav pramod.gu...@smartplayin.com wrote: This patch adds support for reset functions to reboot the boards with soc apq8064. CC: Linus Walleij linus.wall...@linaro.org CC: Bjorn Andersson bjorn.anders...@sonymobile.com CC: Ivan T. Ivanov

[PATCH] kernel/signal.c: whitespace fixes

2014-09-02 Thread Vishnu Pratap Singh
From: vishnu.ps vishnu...@samsung.com Fix minor errors and warning messages in kernel/signal.c. These errors were reported by checkpatch while working with some modifications in signal.c file. ERROR: code indent should use tabs where possible - 18 ERROR: need consistent spacing around ''

Re: [PATCH] usb: gadget: f_fs: add usb_functionfs_descs_head_v2

2014-09-02 Thread Michal Nazarewicz
On Tue, Sep 02 2014, Zhuang Jin Can jin.can.zhu...@intel.com wrote: Add usb_functionfs_descs_head_v2 structure for the new layout of descriptors. NAK. It's a duplicate of https://lkml.org/lkml/2014/6/6/128 and even more importantly, the format of the header is not fixed past the flags field

Re: [PATCH] kernel/signal.c: whitespace fixes

2014-09-02 Thread Jiri Kosina
On Tue, 2 Sep 2014, Vishnu Pratap Singh wrote: From: vishnu.ps vishnu...@samsung.com Fix minor errors and warning messages in kernel/signal.c. These errors were reported by checkpatch while working with some modifications in signal.c file. ERROR: code indent should use tabs where

Re: [PATCH 0/7] ARM: at91: update defconfigs

2014-09-02 Thread Nicolas Ferre
On 02/09/2014 10:49, Alexandre Belloni : Following recent work on the AT91 platforms, update the defconfigs to include the new power and reset driver, the ADC and touchscreen driver, the new PWM driver using the generic PWM framework. Also remove deprecated options like

Re: [PATCH] kernel/signal.c: whitespace fixes

2014-09-02 Thread Richard Weinberger
Hi! Am 02.09.2014 14:40, schrieb Vishnu Pratap Singh: From: vishnu.ps vishnu...@samsung.com Fix minor errors and warning messages in kernel/signal.c. These errors were reported by checkpatch while working with some modifications in signal.c file. ERROR: code indent should use tabs where

[PATCH 0/5] KEYS: Miscellaneous fixes

2014-09-02 Thread David Howells
/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=keys-fixes Tagged with: keys-fixes-20140902 David --- David Howells (4): KEYS: Fix public_key asymmetric key subtype name KEYS: Set pr_fmt() in asymmetric key signature handling KEYS: Fix use-after-free in assoc_array_gc

[PATCH 4/5] KEYS: Fix use-after-free in assoc_array_gc()

2014-09-02 Thread David Howells
An edit script should be considered inaccessible by a function once it has called assoc_array_apply_edit() or assoc_array_cancel_edit(). However, assoc_array_gc() is accessing the edit script just after the gc_complete: label. Reported-by: Andreea-Cristina Bernat bernat@gmail.com

[PATCH 3/5] KEYS: Set pr_fmt() in asymmetric key signature handling

2014-09-02 Thread David Howells
Printing in base signature handling should have a prefix, so set pr_fmt(). Signed-off-by: David Howells dhowe...@redhat.com --- crypto/asymmetric_keys/signature.c |1 + 1 file changed, 1 insertion(+) diff --git a/crypto/asymmetric_keys/signature.c b/crypto/asymmetric_keys/signature.c

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

2014-09-02 Thread Sergei Shtylyov
Hello. On 9/2/2014 1:55 PM, Hayes Wang wrote: 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 hayesw...@realtek.com --- drivers/net/usb/r8152.c | 39 --- 1 file changed, 24 insertions(+), 15

[PATCH 2/5] KEYS: Fix public_key asymmetric key subtype name

2014-09-02 Thread David Howells
The length of the name of an asymmetric key subtype must be stored in struct asymmetric_key_subtype::name_len so that it can be matched by a search for subkey_name:partial_fingerprint. Fix the public_key subtype to have name_len set. Signed-off-by: David Howells dhowe...@redhat.com ---

[PATCH 5/5] PEFILE: Relax the check on the length of the PKCS#7 cert

2014-09-02 Thread David Howells
Relax the check on the length of the PKCS#7 cert as it appears that the PE file wrapper size gets rounded up to the nearest 8. The debugging output looks like this: PEFILE: == verify_pefile_signature() PEFILE: == pefile_parse_binary() PEFILE: checksum @ 110

Re: [PATCH v2 4/6] mm: introduce common page state for ballooned memory

2014-09-02 Thread Rafael Aquini
On Sat, Aug 30, 2014 at 08:41:20PM +0400, Konstantin Khlebnikov wrote: From: Konstantin Khlebnikov k.khlebni...@samsung.com This patch adds page state PageBallon() and functions __Set/ClearPageBalloon. Like PageBuddy() PageBalloon() looks like page-flag but actually this is special state

[PATCH 1/5] KEYS: Increase root_maxkeys and root_maxbytes sizes

2014-09-02 Thread David Howells
From: Steve Dickson stevedredhatcom Now that NFS client uses the kernel key ring facility to store the NFSv4 id/gid mappings, the defaults for root_maxkeys and root_maxbytes need to be substantially increased. These values have been soak tested:

[PATCH v3 16/17] drm/exynos/ipp: remove file argument from node related functions

2014-09-02 Thread Andrzej Hajda
Since file pointer is preserved in c_node passing it as argument in node functions is redundant. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- v3: - file check moved to next patch --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 12 +--- 1 file changed, 5 insertions(+), 7

[PATCH v3 17/17] drm/exynos/ipp: add file checks for ioctls

2014-09-02 Thread Andrzej Hajda
Process should not have access to ipp nodes created by another process. The patch adds necessary checks. It also simplifies lookup for command node. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- v3: - added file check from previous commit - simplified c_node lookup ---

Re: [PATCH] security: Silence shadow warning

2014-09-02 Thread James Morris
On Thu, 28 Aug 2014, Jeff Kirsher wrote: From: Mark Rustad mark.d.rus...@intel.com Renaming an unused formal parameter in the static inline function security_inode_init_security eliminates many W=2 warnings. Signed-off-by: Mark Rustad mark.d.rus...@intel.com Signed-off-by: Jeff Kirsher

Re: [PATCH v2 5/6] mm/balloon_compaction: use common page ballooning

2014-09-02 Thread Rafael Aquini
On Sat, Aug 30, 2014 at 08:41:23PM +0400, Konstantin Khlebnikov wrote: From: Konstantin Khlebnikov k.khlebni...@samsung.com This patch replaces checking AS_BALLOON_MAP in page-mapping-flags with PageBalloon which is stored directly in the struct page. All code of balloon_compaction now under

Re: [PATCH 4/4] x86, fpu: irq_fpu_usable: kill all checks except !in_kernel_fpu

2014-09-02 Thread Oleg Nesterov
On 09/02, Suresh Siddha wrote: On Fri, Aug 29, 2014 at 11:17 AM, Oleg Nesterov o...@redhat.com wrote: ONCE AGAIN, THIS IS MORE THE QUESTION THAN THE PATCH. this patch I think needs more thought for sure. please see below. Of course. interrupted_kernel_fpu_idle() does: if

[PATCH v11 01/19] arm: fiq: Add callbacks to manage FIQ routings

2014-09-02 Thread Daniel Thompson
Currently enable_fiq/disable_fiq use a simple offset to convert an IRQ virq into a FIQ virq. This is too inflexible for multi-platform kernels and makes runtime error checking impossible. We solve this by introducing a flexible mapping that allows interrupt controllers that support FIQ to

[PATCH v11 05/19] arm: KGDB/KDB FIQ support

2014-09-02 Thread Daniel Thompson
The FIQ debugger may be used to debug situations when the kernel stuck in uninterruptable sections, e.g. the kernel infinitely loops or deadlocked in an interrupt or with interrupts disabled. Credit: This patch is a near complete re-write of a patch originally provided by Anton

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

2014-09-02 Thread Marc Zyngier
On 02/09/14 12:48, Tomasz Nowicki wrote: On 01.09.2014 19:35, Marc Zyngier wrote: On 01/09/14 15:57, Hanjun Guo wrote: From: Tomasz Nowicki tomasz.nowi...@linaro.org ACPI kernel uses MADT table for proper GIC initialization. It needs to parse GIC related subtables, collect CPU interface and

[PATCH v11 04/19] arm: smp: Introduce a special IPI signalled using FIQ

2014-09-02 Thread Daniel Thompson
Cross CPU signalling based on FIQ is especially useful for kgdb since it makes stopping all the CPUs during breakpointing more robust (some of the other architectures already roundup the CPUs using NMIs). The approach taken provides infrastructure that can be called (or not) by the driver's FIQ

[PATCH v11 02/19] arm: fiq: Allow ACK and EOI to be passed to the intc

2014-09-02 Thread Daniel Thompson
Modern ARM interrupt controllers require an ACK as interrupts are taken and an EOI on completion. The FIQ code currently does not provide any API to perform this. This patch provides this API, implemented by adding two callbacks to the fiq_chip structure. Signed-off-by: Daniel Thompson

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

2014-09-02 Thread Daniel Thompson
This patch introduces a new default FIQ handler that is structured in a similar way to the existing ARM exception handler and result in the FIQ being handled by C code running on the SVC stack (despite this code run in the FIQ handler is subject to severe limitations with respect to locking making

[PATCH v11 06/19] irqchip: gic: Provide support for interrupt grouping

2014-09-02 Thread Daniel Thompson
All GIC hardware except GICv1-without-TrustZone support provides a means to group exceptions into group 0 (which can optionally be signally using use FIQ) and group 1. The kernel currently provides no means to exploit this. This patch alters the initialization of the GIC to place all interrupts

[PATCH v11 09/19] irqchip: gic: Add support for IPI FIQ

2014-09-02 Thread Daniel Thompson
To support IPI FIQ we alter gic_cpu_init() to honour SMP_IPI_FIQ_MASK and register a fairly high priority notifier to acknowledge and clear the IPI when it is triggered. For the IPI FIQ to be useful we must also make it safe to call gic_raise_softirq() from the FIQ handler by altering the locking

[PATCH v11 00/19] arm: KGDB NMI/FIQ support

2014-09-02 Thread Daniel Thompson
This patchset makes it possible to use kgdb's NMI infrastructure on ARM platforms. The patches are seperated into three distinct groups: 1. arm specific changes; these provide multi-platform support for FIQ (including raising an IPI using FIQ to ensure effective SMP support) and extend ARM

[PATCH v11 10/19] irqchip: gic: Group 0 workaround.

2014-09-02 Thread Daniel Thompson
An ARM system based on GICv1 that runs by default in secure mode and uses both group 0 and group 1 interrupts (in order to exploit FIQ) will suffer a problem where the IRQ handler occasionally spuriously acknowledges a group 0 (FIQ) interrupt. This can be prevented by ensuring the IRQ handler

[PATCH v11 11/19] irqchip: vic: Add support for FIQ management

2014-09-02 Thread Daniel Thompson
This patch introduces callbacks to route interrupts to or away from the FIQ signal. It also causes these callbacks to be registered with the FIQ infrastructure. This patch enable FIQ support for mach-versatile whilst mach-ep93xx, mach-netx, mach-s3c64xx and plat-samsung are unmodified (and can

[PATCH v11 07/19] irqchip: gic: Add support for FIQ management

2014-09-02 Thread Daniel Thompson
This patch introduces callbacks to route interrupts to or away from the FIQ signal and registers these callbacks with the FIQ infrastructure (if the device can supports it). Both these aspects combine and allow a driver to deploy a FIQ handler without any machine specific knowledge; it can be

[PATCH v11 08/19] irqchip: gic: Remove spin locks from eoi_irq

2014-09-02 Thread Daniel Thompson
This patch is motivated by the comment it removes from gic_init_fiq, namely that the spin locks in eoi_irq preclude certain platforms from supporting FIQ. Currently there is only one upstream platform (tegra) that actually hooks gic_arch_extn.irq_eoi and it does not require these spin locks.

[PATCH] staging: lustre: declare some functions as static

2014-09-02 Thread Zheng Di
Declare these functions as static: llog_alloc_handle() is used in llog_open() only. llog_free_handle() is used in llog_close() only. Signed-off-by: Zheng Di zhengd...@gmail.com --- drivers/staging/lustre/lustre/obdclass/llog.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

<    5   6   7   8   9   10   11   12   13   14   >