Re: [PATCH] ARM: clk-imx6q: refine esai_ipg's parent

2015-01-19 Thread Shawn Guo
On Fri, Jan 16, 2015 at 10:57:04AM +0800, Shengjiu Wang wrote: > esai_ipg clock's parent is ahb, not ipg. > > Signed-off-by: Shengjiu Wang Applied, thanks. > --- > arch/arm/mach-imx/clk-imx6q.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH 5/5] KVM: nVMX: Enable nested posted interrupt processing.

2015-01-19 Thread Wincy Van
On Tue, Jan 20, 2015 at 3:34 PM, Paolo Bonzini wrote: >> Hence, we can disable local interrupts while delivering nested posted >> interrupts to make sure >> we are faster than the destination vcpu. This is a bit tricky but it >> an avoid that race. I think we >> do not need to add a spin lock

Re: [PATCH v3] staging: lustre: fix sparse warning on LPROC_SEQ_FOPS macros

2015-01-19 Thread Tristan Lelong
Greg, On Sun, Jan 18, 2015 at 04:02:22PM +0900, Greg KH wrote: > On Sat, Jan 17, 2015 at 10:41:44PM -0800, Tristan Lelong wrote: > > Hi Greg, > > > > On Sat, Jan 17, 2015 at 03:28:27PM -0800, Greg KH wrote: > > > > > > I took your v2 version, please send me the difference as this is a > > >

linux-next: Tree for Jan 20

2015-01-19 Thread Stephen Rothwell
Hi all, Changes since 20150119: The omap tree gained a conflict against the arm-soc tree. The net-next tree lost its build failure. The mmc-uh tree gained a conflict against the sunxi tree. The audit tree gained conflicts against Linus' tree. Non-merge commits (relative to Linus' tree): 3975

Re: [PATCH RESEND v2 2/7] mfd: cros_ec: Add char dev and virtual dev pointers

2015-01-19 Thread Lee Jones
On Fri, 02 Jan 2015, Javier Martinez Canillas wrote: > The ChromeOS Embedded Controller has to be accessed by applications. > A virtual character device is used as an interface with user-space. > > Extend the struct cros_ec_device with the fields needed by the driver > of this virtual character

Re: [PATCH] kernel/module.c: Free lock-classes if parse_args failed

2015-01-19 Thread Andrey Tsyvarev
20.01.2015 9:37, Rusty Russell пишет: Andrey Tsyvarev writes: parse_args call module parameters' .set handlers, which may use locks defined in the module. So, these classes should be freed in case parse_args returns error(e.g. due to incorrect parameter passed). Thanks, this seems right.

Re: [PATCH RESEND v2 1/7] mfd: cros_ec: Use fixed size arrays to transfer data with the EC

2015-01-19 Thread Lee Jones
On Fri, 02 Jan 2015, Javier Martinez Canillas wrote: > The struct cros_ec_command will be used as an ioctl() argument for the > API to control the ChromeOS EC from user-space. So the data structure > has to be 64-bit safe to make it compatible between 32 and 64 avoiding > the need for a compat

[PATCH v2 1/2] ASoC: atmel_ssc_dai: fix start event for I2S mode

2015-01-19 Thread Bo Shen
According to the I2S specification information as following: - WS = 0, channel 1 (left) - WS = 1, channel 2 (right) So, the start event should be TF/RF falling edge. Reported-by: Songjun Wu Signed-off-by: Bo Shen --- Changes in v2: None sound/soc/atmel/atmel_ssc_dai.c | 18

[PATCH v2 2/2] ASoC: atmel_ssc_dai: remove clock pin comments

2015-01-19 Thread Bo Shen
As the clock can be get from TK/RK pin, so remove the comments. Signed-off-by: Bo Shen --- Changes in v2: - remove the comments for DSP mode A, codec as master sound/soc/atmel/atmel_ssc_dai.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git

Re: [PATCH 5/5] KVM: nVMX: Enable nested posted interrupt processing.

2015-01-19 Thread Paolo Bonzini
On 19/01/2015 13:34, Wincy Van wrote: > > Actually, there is a race window between > vmx_deliver_nested_posted_interrupt and nested_release_vmcs12 > since posted intr delivery is async: > > cpu 1 > cpu 2 > (nested posted intr) (dest vcpu,

Re: [PATCH 1/2] cpufreq-dt: check CPU clock/power domain during initializing

2015-01-19 Thread Viresh Kumar
On 20 January 2015 at 13:03, Pi-Cheng Chen wrote: > I will also try to add intermediate frequency support in next version. Sure > BTW, do you think it's a good idea to add a new device tree binding like > intermediate_clock = < MAINPLL> > and so that cpufreq-dt could get the intermediate clock?

Re: [PATCH v5 5/5] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-19 Thread Lyra Zhang
Hi, Rob I still have a question to be conform, specific describes below: On Mon, Jan 19, 2015 at 10:11 PM, Rob Herring wrote: > On Mon, Jan 19, 2015 at 3:55 AM, Lyra Zhang wrote: >> On Sat, Jan 17, 2015 at 12:41 AM, Rob Herring wrote: >>> On Fri, Jan 16, 2015 at 4:00 AM, Chunyan Zhang >>>

Re: [PATCH -mm v2] vmscan: move reclaim_state handling to shrink_slab

2015-01-19 Thread Paul E. McKenney
On Thu, Jan 15, 2015 at 03:48:38PM +0100, Michal Hocko wrote: > On Thu 15-01-15 16:25:16, Vladimir Davydov wrote: > > On Thu, Jan 15, 2015 at 01:58:20PM +0100, Michal Hocko wrote: > > > On Thu 15-01-15 11:37:53, Vladimir Davydov wrote: > > > > current->reclaim_state is only used to count the

Re: [PATCH 1/2] cpufreq-dt: check CPU clock/power domain during initializing

2015-01-19 Thread Pi-Cheng Chen
Hi Viresh, Thanks for reviewing. On 19 January 2015 at 16:00, Viresh Kumar wrote: > On 9 January 2015 at 15:24, pi-cheng.chen wrote: >> Currently the DT based cpufreq driver is missing some way to check which >> CPUs share clocks. In the 1st patch, CPU clock/power domain information is >>

[PATCH v2 0/4] net: stmmac: dwmac-rk: Fix phy regulator issues

2015-01-19 Thread Romain Perier
This series fixes few issues in dwmac-rk: 1. Voltage settings was hardcoded into the driver for the phy regulator. The driver now uses the default voltage settings found in the devicetree, which are applied throught the regulator framework. 2. The regulator name used to power on or power

[PATCH v2 3/4] net: stmmac: dwmac-rk: Use standard devicetree property for phy regulator

2015-01-19 Thread Romain Perier
Currently, dwmac-rk uses a custom propety "phy_regulator" to get the name of the right regulator to use to power on or power off the phy. This commit converts the driver to use phy-supply devicetree property and the corresponding API, it cleans the code a bit and make it simpler to maintain.

Re: [PATCH] i2c: drop ancient protection against sysfs refcounting issues

2015-01-19 Thread Lars-Peter Clausen
On 01/20/2015 08:12 AM, Greg Kroah-Hartman wrote: On Tue, Jan 20, 2015 at 08:05:20AM +0100, Lars-Peter Clausen wrote: On 01/20/2015 02:41 AM, Greg Kroah-Hartman wrote: On Mon, Jan 19, 2015 at 11:04:27PM +, Russell King - ARM Linux wrote: On Tue, Jan 20, 2015 at 03:01:42AM +0800, Greg

Re: [PATCHv8 1/9] devfreq: event: Add new devfreq_event class to provide basic data for devfreq governor

2015-01-19 Thread Chanwoo Choi
Dear Myungjoo, On 01/20/2015 03:59 PM, MyungJoo Ham wrote: >> >> Dear Myungjoo, >> >> On 01/20/2015 01:34 PM, MyungJoo Ham wrote: > [] + + mutex_lock(>lock); + if (edev->desc->ops && edev->desc->ops->enable) { + ret = edev->desc->ops->enable(edev); +

[PATCH] staging: iio: ad5933: fix format string warnings

2015-01-19 Thread Asaf Vertz
Fixed the following warnings (reported by cppcheck): [drivers/staging/iio/impedance-analyzer/ad5933.c:363]: (warning) %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [drivers/staging/iio/impedance-analyzer/ad5933.c:367]: (warning) %d in format string (no. 1)

Re: [PATCH] ARM: OMAP: DRA7: hwmod: Make gpmc software supervised as the smart idle is broken

2015-01-19 Thread Paul Walmsley
On Tue, 20 Jan 2015, Keerthy wrote: > On Tuesday 13 January 2015 02:21 PM, Keerthy wrote: > > This patch fixes: 'omap_hwmod: gpmc: _wait_target_disable failed' > > error during suspend. > > > > This is because smart idle is broken. > > Tested in dra7-evm D1 board. > > Ping on this. > > >

Re: [PATCH 1/5] ARM: AM43xx: hwmod: add VPFE hwmod entries

2015-01-19 Thread Paul Walmsley
Hi On Thu, 18 Dec 2014, Lad, Prabhakar wrote: > From: Benoit Parrot > > this patch adds VPFE HWMOD data for AM43xx. > > Signed-off-by: Benoit Parrot > Signed-off-by: Darren Etheridge > Signed-off-by: Felipe Balbi > Signed-off-by: Lad, Prabhakar ... > --- >

Re: [PATCH 2/2] cpufreq: add cpufreq driver for Mediatek MT8173 SoC

2015-01-19 Thread Pi-Cheng Chen
On 20 January 2015 at 00:00, Mike Turquette wrote: > Quoting pi-cheng.chen (2015-01-09 01:54:51) >> diff --git a/drivers/cpufreq/mt8173-cpufreq.c >> b/drivers/cpufreq/mt8173-cpufreq.c >> new file mode 100644 >> index 000..b578c10 >> --- /dev/null >> +++ b/drivers/cpufreq/mt8173-cpufreq.c >>

Re: [PATCHv3 2/8] devfreq: exynos: Add documentation for generic exynos memory bus frequency driver

2015-01-19 Thread Viresh Kumar
On 9 January 2015 at 02:48, Rob Herring wrote: > Adding Viresh. Sorry for being too late, I was very busy with other cpufreq stuff I was doing and saved this thread for later as it required me to understand it properly.. >> +Required properties for memory bus block: >> +- clock-names : the name

Re: [PATCH v1] dma: imx-sdma: switch to dynamic context mode after script loaded

2015-01-19 Thread Sascha Hauer
On Tue, Jan 13, 2015 at 01:09:17PM +0800, Robin Gong wrote: > Below comments got from Page4724 of Reference Manual of i.mx6q: > http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf > > --"Static context mode should be used for the first channel called > after reset to ensure that

[PATCH] crypto: atmel: Free memory in error path

2015-01-19 Thread Christophe Jaillet
If only one of the 2 __get_free_pages fails, then there is a memory leak. Signed-off-by: Christophe Jaillet --- drivers/crypto/atmel-aes.c | 2 +- drivers/crypto/atmel-tdes.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/atmel-aes.c

Logged messages from i915 using kernel 3.19-rc4

2015-01-19 Thread Larry Finger
Hi, I just discovered almost 100 of the following entries in my log: [drm:intel_uncore_check_errors [i915]] *ERROR* Unclaimed register before interrupt Those were accumulated in about 12 hours of operation. I also have one that says i915 :00:02.0: BAR 6: [??? 0x flags 0x2] has

Re: [PATCH] i2c: drop ancient protection against sysfs refcounting issues

2015-01-19 Thread Greg Kroah-Hartman
On Tue, Jan 20, 2015 at 08:05:20AM +0100, Lars-Peter Clausen wrote: > On 01/20/2015 02:41 AM, Greg Kroah-Hartman wrote: > >On Mon, Jan 19, 2015 at 11:04:27PM +, Russell King - ARM Linux wrote: > >>On Tue, Jan 20, 2015 at 03:01:42AM +0800, Greg Kroah-Hartman wrote: > >>>On Mon, Jan 19, 2015 at

[PATCH v9 1/7] devfreq: event: Add new devfreq_event class to provide basic data for devfreq governor

2015-01-19 Thread Chanwoo Choi
This patch add new devfreq_event class for devfreq_event device which provide raw data (e.g., memory bus utilization/GPU utilization). This raw data from devfreq_event data would be used for the governor of devfreq subsystem. - devfreq_event device : Provide raw data for governor of existing

Re: [PATCH] kprobes: bugfix: makes kprobes/enabled works correctly for optimized kprobes.

2015-01-19 Thread Masami Hiramatsu
(2015/01/20 11:51), Wang Nan wrote: > debugfs/kprobes/enabled doesn't work correctly on optimized kprobes. > Masami Hiramatsu has a test report on x86_64 platform: > > https://lkml.org/lkml/2015/1/19/274 > > This patch forces it to unoptimize kprobe if kprobes_all_disarmed > is set. It also

Re: Re: [PATCH] kprobes: bugfix: set kprobes_all_disarmed earlier to enable re-optimization.

2015-01-19 Thread Masami Hiramatsu
(2015/01/20 12:02), Wang Nan wrote: > On 2015/1/12 19:24, Masami Hiramatsu wrote: >> (2015/01/05 21:31), Wang Nan wrote: >>> In original code, the probed instruction doesn't get optimized after >>> >>> echo 0 > /sys/kernel/debug/kprobes/enabled >>> echo 1 > /sys/kernel/debug/kprobes/enabled >>>

[PATCH v9 3/7] devfreq: event: Add documentation for exynos-ppmu devfreq-event driver

2015-01-19 Thread Chanwoo Choi
This patch adds the documentation for Exynos PPMU (Platform Performance Monitoring Unit) devfreq-event driver. Cc: MyungJoo Ham Cc: Kyungmin Park Signed-off-by: Chanwoo Choi Acked-by: MyungJoo Ham --- .../bindings/devfreq/event/exynos-ppmu.txt | 110 + 1 file

[PATCH v9 5/7] ARM: dts: Add PPMU dt node for Exynos4 SoCs

2015-01-19 Thread Chanwoo Choi
This patch add PPMU (Platform Performance Monitoring Unit) dt node for Exynos4 (Exynos4210/4212/4412) SoC. PPMU dt node is used to monitor the utilization of each IP. The Exynos4210/Exynos4212/Exynos4412 SoC includes following PPMUs: - PPMU_DMC0 0x106A_ - PPMU_DMC1 0x106B_ -

[PATCH v9 6/7] ARM: dts: exynos: Add PPMU node for Exynos3250-based Rinato/Monk board

2015-01-19 Thread Chanwoo Choi
This patch add PPMU dt node to Exynos3250-base Rinato/Monk board. The PPMU node is used to get the utilization of DMC0/DMC1/LEFTBUS/RIGHTBUS Block. Cc: Kukjin Kim Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos3250-monk.dts | 40

[PATCH v9 0/7] devfreq: Add devfreq-event class to provide raw data for devfreq device

2015-01-19 Thread Chanwoo Choi
This patchset add new devfreq_event class to provide raw data to determine current utilization of device which is used for devfreq governor. The following description explains the feature of two kind of devfreq class: - devfreq class (existing) : devfreq consumer device use raw data from

[PATCH v9 4/7] ARM: dts: Add PPMU dt node for Exynos3250 SoC

2015-01-19 Thread Chanwoo Choi
This patch add PPMU (Platform Performance Monitoring Unit) dt node to estimate the utilization of each IP in Exynos SoC throught DEVFREQ Event subsystem. This patch adds following PPMU dt nodes: - PPMU_DMC0 0x106a - PPMU_DMC1 0x106b - PPMU_RIGHTBUS 0x112A - PPMU_LEFTBUS

[PATCH v9 7/7] ARM: dts: exynos: Add PPMU node for Exynos4412-based TRATS2 board

2015-01-19 Thread Chanwoo Choi
This patch add dt node for PPMU_{DMC0|DMC1|LEFTBUS|RIGHTBUS} for exynos4412-trats2 board. Each PPMU dt node includes one event of 'PPMU Count3'. Cc: Kukjin Kim Cc: Myungjoo Ham Cc: Kyungmin Park Signed-off-by: Chanwoo Choi Acked-by: MyungJoo Ham --- arch/arm/boot/dts/exynos4412-trats2.dts |

[PATCH v9 2/7] devfreq: event: Add exynos-ppmu devfreq-event driver

2015-01-19 Thread Chanwoo Choi
This patch adds exynos-ppmu devfreq-event driver to get performance data of each IP for Samsung Exynos SoC. These event from Exynos PPMU provide useful information about the behavior of the SoC that you can use when analyzing system performance, and made visible and can be counted using logic in

[PATCH v2 2/4] ARM: dts: Add regulator voltage settings for vcc_phy in rk3288-evb.dtsi

2015-01-19 Thread Romain Perier
Signed-off-by: Romain Perier --- arch/arm/boot/dts/rk3288-evb.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi index 489643c..1c08eb0 100644 --- a/arch/arm/boot/dts/rk3288-evb.dtsi +++

[PATCH v2 4/4] dt-bindings: Document phy-supply property in rockchip-dwmac

2015-01-19 Thread Romain Perier
As no property for phy regulator was documented in this dt-binding documentation, this commit adds an entry for the optional property phy-supply. Signed-off-by: Romain Perier --- Documentation/devicetree/bindings/net/rockchip-dwmac.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 1/4] net: stmmac: dwmac-rk: Don't set the regulator voltage for phy from the driver

2015-01-19 Thread Romain Perier
As these settings can be directly expressed from devicetree for both fixed regulators and pmic-integrated regulators, it is more standard to set them from dts and let the regulator framework use the right voltage informations when it is used in the driver. Signed-off-by: Romain Perier ---

Re: [PATCH 2/2] cpufreq: add cpufreq driver for Mediatek MT8173 SoC

2015-01-19 Thread Pi-Cheng Chen
Hi Viresh, Thanks for reviewing. On 19 January 2015 at 18:42, Viresh Kumar wrote: > On 9 January 2015 at 15:24, pi-cheng.chen wrote: >> When doing DVFS on MT8173 SoC, 2 rules should be followed to make sure the >> SoC works properly: >> 1. When doing frequency scaling of CPUs, the clock source

Re: [PATCH] i2c: drop ancient protection against sysfs refcounting issues

2015-01-19 Thread Lars-Peter Clausen
On 01/20/2015 02:41 AM, Greg Kroah-Hartman wrote: On Mon, Jan 19, 2015 at 11:04:27PM +, Russell King - ARM Linux wrote: On Tue, Jan 20, 2015 at 03:01:42AM +0800, Greg Kroah-Hartman wrote: On Mon, Jan 19, 2015 at 07:55:56PM +0100, Wolfram Sang wrote: diff --git a/drivers/i2c/i2c-core.c

Re: [RFC 1/2] misc: uidstat: Add uid stat driver to collect network statistics.

2015-01-19 Thread Kiran Raparthy
On 14 January 2015 at 00:04, Greg Kroah-Hartman wrote: > On Tue, Jan 13, 2015 at 04:44:01PM +0530, Kiran Raparthy wrote: >> From: Mike Chan >> >> misc: uidstat: Add uid stat driver to collect network statistics. >> >> To analyze application's network statistics, we need a mechanism to export >>

Re: Re: [PATCHv8 1/9] devfreq: event: Add new devfreq_event class to provide basic data for devfreq governor

2015-01-19 Thread MyungJoo Ham
> > Dear Myungjoo, > >On 01/20/2015 01:34 PM, MyungJoo Ham wrote: >>> [] >>> + >>> + mutex_lock(>lock); >>> + if (edev->desc->ops && edev->desc->ops->enable) { >>> + ret = edev->desc->ops->enable(edev); >>> + if (ret < 0) >>> + goto err; >>> + } >>

Re: [PATCH v1 0/4] net: stmmac: dwmac-rk: Fix phy regulator issues

2015-01-19 Thread Romain Perier
Hi all, 2015-01-19 21:19 GMT+01:00 Heiko Stübner : > Hi Romain > > Am Montag, 19. Januar 2015, 18:08:05 schrieb Romain Perier: >> This series fixes few issues in dwmac-rk: >> >> 1. Voltage settings was hardcoded into the driver for the phy regulator. >>The driver now uses the default voltage

Re: tick/broadcast: Make movement of broadcast hrtimer robust against hotplug

2015-01-19 Thread Preeti U Murthy
On 01/20/2015 11:39 AM, Michael Ellerman wrote: > On Mon, 2015-19-01 at 10:26:48 UTC, Preeti U Murthy wrote: >> Today if a cpu handling broadcasting of wakeups goes offline, it hands over > > It's *the* cpu handling broadcasting of wakeups right? ie. there's only ever > one at a time. Right,

Re: [PATCH v1 3/4] net: stmmac: dwmac-rk: Use standard devicetree property for phy regulator

2015-01-19 Thread Romain Perier
Hi, Ok I will do these changes. However, the property "phy_regulator" was not documented in Documentation/devicetree/bindings/net/rockchip-dwmac.txt ... I can document it anyway, it has probably been forgotten. Thanks ! 2015-01-19 21:12 GMT+01:00 Heiko Stübner : > Am Montag, 19. Januar 2015,

[PATCH] perf ui/tui: Show fatal error message only if exists

2015-01-19 Thread Namhyung Kim
When perf exits with some error it shows the error message with ui__error() or ui__warning() and then calls ui__exit() during exit_browser(). On TUI, it then shows a window titled "Fatal Error" to inform user a last message which might be related with this condition. However it sometimes

Re: [PATCH] kernel/module.c: Free lock-classes if parse_args failed

2015-01-19 Thread Rusty Russell
Andrey Tsyvarev writes: > parse_args call module parameters' .set handlers, which may use locks defined > in the module. > So, these classes should be freed in case parse_args returns error(e.g. due > to incorrect parameter passed). Thanks, this seems right. Applied. But this makes me ask:

Re: [PATCH 0/6] virtio: graceful failure with get == NULL

2015-01-19 Thread Rusty Russell
"Michael S. Tsirkin" writes: > On Tue, Jan 13, 2015 at 04:43:07PM +0200, Michael S. Tsirkin wrote: >> virtio 1.0 says device configuration is optional, but most drivers treat it >> as >> mandatory. Even if presented by device, guest bios might disable the BAR >> holding that configuration, so

Re: [RFC] export module parameters even the permission is zero

2015-01-19 Thread Rusty Russell
"Wang, Yalin" writes: > This patch make sure to export module parameters even the permission > is zero, this is useful for some platforms like Android, > the init process can change the parameter mode/owner by > chmod/chown during bootup > > Signed-off-by: Yalin Wang Hi! Unfortunately,

Re: [PATCH] ARM: OMAP: DRA7: hwmod: Make gpmc software supervised as the smart idle is broken

2015-01-19 Thread Keerthy
Hi Tony, On Tuesday 13 January 2015 02:21 PM, Keerthy wrote: This patch fixes: 'omap_hwmod: gpmc: _wait_target_disable failed' error during suspend. This is because smart idle is broken. Tested in dra7-evm D1 board. Ping on this. Signed-off-by: Keerthy ---

Re: Linux 3.19-rc5

2015-01-19 Thread Linus Torvalds
On Tue, Jan 20, 2015 at 6:02 AM, Bruno Prémont wrote: > > No idea yet which rc is the offender (nor exact patch), but on my not > so recent UP laptop with a pccard slot I have 2 pccardd kernel threads > converting my laptop into a heater. > > lspci for affected nodes: > 02:06.0 CardBus bridge

Re: [PATCH 3/3] x86: drop support for 1995 era EISA based platforms

2015-01-19 Thread Linus Torvalds
On Tue, Jan 20, 2015 at 4:05 PM, Maciej W. Rozycki wrote: > > Well, I'd like to keep my x86 box up and alive, to support EISA FDDI > equipment I maintain if nothing else -- which in particular means the > current head version of Linux, not some ancient branch. So if we actually have a user, and

RE: [PATCH 0/3] An alternative to SPI NAND

2015-01-19 Thread peterpandong
> On Thu, Jan 08, 2015 at 12:47:24AM +, Peter Pan 潘栋 (peterpandong) > wrote: > > Documentation/devicetree/bindings/mtd/spi-nand.txt | 22 + > > drivers/mtd/Kconfig|2 + > > drivers/mtd/Makefile |1 + > >

Re: [PATCH] ARM: imx_v6_v7_defconfig: Select CONFIG_FB_MXS

2015-01-19 Thread Shawn Guo
On Wed, Jan 07, 2015 at 09:35:54PM -0200, Fabio Estevam wrote: > From: Fabio Estevam > > CONFIG_FB_MXS is the LCD driver for mx6solo-lite and mx6solox. > > Enable it by default. > > Signed-off-by: Fabio Estevam Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 0/2] usb: dwc2: fix the uncompleted requests problem

2015-01-19 Thread Robert Baldyga
Hi Felipe, I can't see these patches in your tree. I see only "usb: dwc2: gadget: kill requests with 'force' in s3c_hsotg_udc_stop()", which doesn't fix the bug completely. I was sure that my the final patch was in your tree, so what happened? Can you apply these patches to fix this problem? On

Re: tick/broadcast: Make movement of broadcast hrtimer robust against hotplug

2015-01-19 Thread Michael Ellerman
On Mon, 2015-19-01 at 10:26:48 UTC, Preeti U Murthy wrote: > Today if a cpu handling broadcasting of wakeups goes offline, it hands over It's *the* cpu handling broadcasting of wakeups right? ie. there's only ever one at a time. > the job of broadcasting to another cpu in the CPU_DEAD phase. I

[Patch Part2 v4 19/33] x86/irq: Clean up io_apic.h

2015-01-19 Thread Jiang Liu
Clean up io_apic.h by: 1) moving definition of struct mp_ioapic_gsi into io_apic.c 2) changing mp_pin_to_gsi() and mp_ioapic_gsi_routing() as static 3) killing unused MP_MAX_IOAPIC_PIN 4) killing useless forward declaration 5) killing useless comments Signed-off-by: Jiang Liu Cc: Konrad

Re: [PATCH V3] mm/thp: Allocate transparent hugepages on local node

2015-01-19 Thread Aneesh Kumar K.V
Vlastimil Babka writes: > On 01/17/2015 01:02 AM, Andrew Morton wrote: >> On Fri, 16 Jan 2015 12:56:36 +0530 "Aneesh Kumar K.V" >> wrote: >> >>> This make sure that we try to allocate hugepages from local node if >>> allowed by mempolicy. If we can't, we fallback to small page allocation >>>

[Patch Part2 v4 32/33] x86/irq: Move irqdomain specific code into asm/irqdomain.h

2015-01-19 Thread Jiang Liu
Now we have dedicated asm/irqdomain.h, so move irqdomain specific code into it. Signed-off-by: Jiang Liu --- arch/x86/include/asm/hw_irq.h| 24 --- arch/x86/include/asm/irq_remapping.h |2 +- arch/x86/include/asm/irqdomain.h | 35

[Patch Part2 v4 33/33] x86/irq: Avoid memory allocation in __assign_irq_vector()

2015-01-19 Thread Jiang Liu
Function __assign_irq_vector() is protected by vector_lock, so use a global temporary cpu_mask to avoid allocating/freeing cpu_mask. Signed-off-by: Jiang Liu --- arch/x86/kernel/apic/vector.c | 33 + 1 file changed, 17 insertions(+), 16 deletions(-) diff --git

[Patch Part2 v4 26/33] x86/irq: Move private data in struct irq_cfg into dedicated data structure

2015-01-19 Thread Jiang Liu
Several fields in struct irq_cfg are private to vector.c, so move it into dedicated data structure. This helps to hide implementation details. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Joerg Roedel Cc: Greg Kroah-Hartman Cc: Bjorn Helgaas Cc: Benjamin

[Patch Part2 v4 31/33] x86: Cleanup irq_domain ops

2015-01-19 Thread Jiang Liu
From: Thomas Gleixner We have 3 identical copies of the ioapic domain ops for acpi, mpparse, and sfi. Have a global one in the io_apic code and be done with it. To avoid include hell in io_apic.h, create a private irqdomain header and include the generic irqdomain header from there.

[Patch Part2 v4 30/33] x86,ioapic: Cleanup irq_trigger/polarity()

2015-01-19 Thread Jiang Liu
From: Thomas Gleixner These functions are full of pointless indentations, useless comments and even more useless printks. Clean them up. Signed-off-by: Thomas Gleixner Cc: Jiang Liu Cc: x...@kernel.org Signed-off-by: Jiang Liu --- arch/x86/kernel/apic/io_apic.c | 138

[Patch Part2 v4 29/33] x86, ioapic: Use proper defines for the entry fields

2015-01-19 Thread Jiang Liu
From: Thomas Gleixner While looking at the printout issue, I stumbled more than once over the various 0/1 assignments which are either commented in strange ways or force to lookup the meaning. Use proper constants and fix the misleading comments. While at it remove pointless 0 assignments in

[Patch Part2 v4 25/33] x86/irq: Move check of cfg->move_in_progress into send_cleanup_vector()

2015-01-19 Thread Jiang Liu
Move check of cfg->move_in_progress into send_cleanup_vector() to prepare for simplifying struct irq_cfg. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Greg Kroah-Hartman Cc: io...@lists.linux-foundation.org Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J.

[Patch Part2 v4 24/33] x86/irq: Kill function apic_set_affinity()

2015-01-19 Thread Jiang Liu
Now there's no user of apic_set_affinity(), so kill it. Also rename vector_set_affinity() to apic_set_affinity() for consistency. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Joerg Roedel Cc: Greg Kroah-Hartman Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael

[Patch Part2 v4 27/33] x86/irq: Refine the way to calculate NR_IRQS

2015-01-19 Thread Jiang Liu
Now we have made MSI independent of IOAPIC, so we need to refine the way to calculate NR_IRQS to support configuration with MSI enabled but IOAPIC disabled. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Joerg Roedel Cc: Greg Kroah-Hartman Cc: Bjorn Helgaas Cc:

[Patch Part2 v4 28/33] x86/irq, ACPI: Kill private function mp_register_gsi()/ mp_unregister_gsi()

2015-01-19 Thread Jiang Liu
Function mp_register_gsi() is only called once, so fold it into caller acpi_register_gsi_ioapic(). Do the same for mp_unregister_gsi(). Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Joerg Roedel Cc: Greg Kroah-Hartman Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc:

[Patch Part2 v4 23/33] x86/irq: Change functions only used in vector.c as static

2015-01-19 Thread Jiang Liu
Function {assign|clear}_irq_vector() and apic_retrigger_irq() are only used in file vector.c, so change them as static. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Joerg Roedel Cc: Greg Kroah-Hartman Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J.

[Patch Part2 v4 21/33] x86/irq: Remove sis apic bug workaround

2015-01-19 Thread Jiang Liu
From: Thomas Gleixner The SiS apic bug workaround is now obsolete as we cache the register values for performance reasons. Signed-off-by: Thomas Gleixner Cc: Jiang Liu Signed-off-by: Jiang Liu --- arch/x86/include/asm/io_apic.h |3 --- arch/x86/kernel/apic/io_apic.c | 35

[Patch Part2 v4 22/33] x86/irq: Kill unused alloc_irq_and_cfg_at()

2015-01-19 Thread Jiang Liu
There's no caller of alloc_irq_and_cfg_at() anymore, so kill it. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Joerg Roedel Cc: Greg Kroah-Hartman Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Randy Dunlap Cc: Yinghai Lu Cc: Borislav

[Patch Part2 v4 17/33] x86/irq: Kill struct io_apic_irq_attr

2015-01-19 Thread Jiang Liu
Now there's no user of struct io_apic_irq_attr anymore, so kill it. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Joerg Roedel Cc: Greg Kroah-Hartman Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Randy Dunlap Cc: Yinghai Lu Cc: Borislav

[Patch Part2 v4 20/33] x86/irq: Use cached IOAPIC entry instead of reading from hardware

2015-01-19 Thread Jiang Liu
Use cached IOAPIC entry instead of reading data from IOAPIC hardware registers to improve performance. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Joerg Roedel Cc: Greg Kroah-Hartman Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Randy

[Patch Part2 v4 18/33] x86/irq: Kill x86_io_apic_ops.write and x86_io_apic_ops.modify

2015-01-19 Thread Jiang Liu
x86_io_apic_ops.write is always set to native_io_apic_write(), and nobody overrides it. So get rid of the indirection by changing native_io_apic_write() as io_apic_write() and killing x86_io_apic_ops.write. Do the same for x86_io_apic_ops.modify and native_io_apic_modify(). Signed-off-by: Jiang

[Patch Part2 v4 16/33] x86/irq: Move irq_cfg.irq_2_pin into io_apic.c

2015-01-19 Thread Jiang Liu
Now only io_apic.c accesses struct irq_cfg.irq_2_pin, so move irq_2_pin into struct mp_chip_data in io_apic.c to clean up struct irq_cfg further. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Joerg Roedel Cc: Greg Kroah-Hartman Cc: Bjorn Helgaas Cc: Benjamin

[Patch Part2 v4 15/33] irq_remapping/amd: Move struct irq_2_irte into amd_iommu.c

2015-01-19 Thread Jiang Liu
Now only amd_iommu.c access irq_2_irte, so move it from hw_irq.h into amd_iommu.c. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Greg Kroah-Hartman Cc: io...@lists.linux-foundation.org Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Randy

[Patch Part2 v4 14/33] irq_remapping/vt-d: Move struct irq_2_iommu into intel_irq_remapping.c

2015-01-19 Thread Jiang Liu
Now only intel_irq_remapping.c access irq_2_iommu, so move it from hw_irq.h into intel_irq_remapping.c. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Greg Kroah-Hartman Cc: io...@lists.linux-foundation.org Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J.

[Patch Part2 v4 09/33] irq_remapping: Clean up unsued code to support IOAPIC

2015-01-19 Thread Jiang Liu
Now we have converted to hierarchy irqdomain, so clean up unused code. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Greg Kroah-Hartman Cc: io...@lists.linux-foundation.org Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Randy Dunlap Cc:

[Patch Part2 v4 10/33] irq_remapping/vt-d: Clean up unsued code

2015-01-19 Thread Jiang Liu
Now we have converted to hierarchy irqdomain, so clean up unused code. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Greg Kroah-Hartman Cc: io...@lists.linux-foundation.org Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Randy Dunlap Cc:

[Patch Part2 v4 12/33] irq_remapping: Clean up unused interfaces

2015-01-19 Thread Jiang Liu
Now we have converted to hierarchy irqdomain, so clean up unused interfaces. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Greg Kroah-Hartman Cc: io...@lists.linux-foundation.org Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Randy Dunlap Cc:

[Patch Part2 v4 13/33] x86/irq: Kill irq_cfg.irq_remapped

2015-01-19 Thread Jiang Liu
Now there is no user of irq_cfg.irq_remapped, so kill it. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Greg Kroah-Hartman Cc: io...@lists.linux-foundation.org Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Randy Dunlap Cc: Yinghai Lu Cc:

[Patch Part2 v4 11/33] irq_remapping/amd: Clean up unsued code

2015-01-19 Thread Jiang Liu
Now we have converted to hierarchy irqdomain, so clean up unused code. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Greg Kroah-Hartman Cc: io...@lists.linux-foundation.org Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Randy Dunlap Cc:

[Patch Part2 v4 06/33] x86/irq: Kill x86_io_apic_ops.eoi_ioapic_pin and related interfaces

2015-01-19 Thread Jiang Liu
Now there is no user of x86_io_apic_ops.eoi_ioapic_pin anymore, so kill it. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Greg Kroah-Hartman Cc: io...@lists.linux-foundation.org Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Randy Dunlap Cc:

[Patch Part2 v4 07/33] x86/irq: Kill GENERIC_IRQ_LEGACY_ALLOC_HWIRQ

2015-01-19 Thread Jiang Liu
There's no user of irq_alloc_hwirqs(), irq_alloc_hwirq(), irq_free_hwirqs() and irq_free_hwirq() anymore, so kill GENERIC_IRQ_LEGACY_ALLOC_HWIRQ and related code. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Joerg Roedel Cc: Greg Kroah-Hartman Cc: Bjorn Helgaas Cc:

[Patch Part2 v4 08/33] x86/irq: Clean up unused forward declarations in x86_init.h

2015-01-19 Thread Jiang Liu
Clean up unused forward declarations in x86_init.h. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Joerg Roedel Cc: Greg Kroah-Hartman Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Randy Dunlap Cc: Yinghai Lu Cc: Borislav Petkov Cc: Yijing

[Patch Part2 v4 05/33] x86/irq: Kill x86_io_apic_ops.set_affinity and related interfaces

2015-01-19 Thread Jiang Liu
Now there is no user of x86_io_apic_ops.set_affinity anymore, so kill it. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Greg Kroah-Hartman Cc: io...@lists.linux-foundation.org Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Randy Dunlap Cc:

[Patch Part2 v4 03/33] x86/irq: Kill x86_io_apic_ops.print_entries and related interfaces

2015-01-19 Thread Jiang Liu
Now there is no user of x86_io_apic_ops.print_entries anymore, so kill it. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Greg Kroah-Hartman Cc: io...@lists.linux-foundation.org Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Randy Dunlap Cc:

[Patch Part2 v4 04/33] x86/irq: Kill x86_io_apic_ops.setup_entry and related interfaces

2015-01-19 Thread Jiang Liu
Now there is no user of x86_io_apic_ops.setup_entry anymore, so kill it. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Greg Kroah-Hartman Cc: io...@lists.linux-foundation.org Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Randy Dunlap Cc:

[Patch Part2 v4 02/33] x86/irq: Kill unused struct mp_pin_info

2015-01-19 Thread Jiang Liu
Now nobody makes use of struct mp_pin_info, so kill it. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Joerg Roedel Cc: Greg Kroah-Hartman Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Randy Dunlap Cc: Yinghai Lu Cc: Borislav Petkov Cc:

[Patch Part2 v4 00/33] Clean up obsoleted x86 interrupt manangement code and interfaces

2015-01-19 Thread Jiang Liu
This is a following-on patch of "[Patch Part1 v7 00/38] Convert x86 to hierarchy irqdomain and stacked irqchip" at https://lkml.org/lkml/2015/1/19/685 The precedent patch has convert x86 interrupt management subsystem to hierarchy irqdomain and stacked irqchip, so this patch set cleans up code

[Patch Part2 v4 01/33] x86/irq: Kill unused old IOAPIC irqdomain interfaces

2015-01-19 Thread Jiang Liu
Now we have converted to hierarchy irqdomain, so kill unused old IOAPIC irqdomain interfaces and code. Signed-off-by: Jiang Liu Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Joerg Roedel Cc: Greg Kroah-Hartman Cc: Bjorn Helgaas Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Randy

Re: [Intel-gfx] [BUG, bisect] drm/i915: mouse pointer lags and overshoots

2015-01-19 Thread Daniel Vetter
On Mon, Jan 19, 2015 at 08:40:24AM -0800, Matt Roper wrote: > On Mon, Jan 19, 2015 at 11:04:04AM +, Chris Wilson wrote: > > On Mon, Jan 19, 2015 at 11:51:43AM +0100, Daniel Vetter wrote: > > > There's also an issue in (most) X drivers which exaberates this > > > issues: When changing the

Re: [patch -rt 1/2] KVM: use simple waitqueue for vcpu->wq

2015-01-19 Thread Paul Mackerras
On Mon, Jan 19, 2015 at 12:41:00PM -0200, Marcelo Tosatti wrote: > On Fri, Jan 16, 2015 at 11:48:46AM -0500, Steven Rostedt wrote: > > > static void kvmppc_vcore_blocked(struct kvmppc_vcore *vc) > > > { > > > - DEFINE_WAIT(wait); > > > + DEFINE_SWAITER(wait); > > > > > > - prepare_to_wait(>wq,

Re: [PATCH 2/2] drm/msm/mdp5: Add hardware cursor support

2015-01-19 Thread Daniel Vetter
On Sat, Jan 17, 2015 at 08:46:05AM -0500, Rob Clark wrote: > On Fri, Jan 16, 2015 at 11:06 PM, Daniel Vetter wrote: > > On Thu, Jan 15, 2015 at 08:46:46AM -0500, Rob Clark wrote: > >> On Wed, Jan 14, 2015 at 7:55 PM, Daniel Vetter wrote: > >> > On Tue, Jan 13, 2015 at 05:18:04PM -0500, Stephane

Re: [PATCH 7/8] module: add core_param_unsafe

2015-01-19 Thread Rusty Russell
Dmitry Torokhov writes: > Similarly to module_param_unsafe(), add the helper to be used by core > code wishing to expose unsafe debugging or testing parameters that taint > the kernel when set. > > Signed-off-by: Dmitry Torokhov Acked-by: Rusty Russell Thanks, Rusty. > --- >

Re: cpuidle/powernv: Read target_residency value of idle states from DT if available

2015-01-19 Thread Michael Ellerman
On Mon, 2015-19-01 at 11:32:51 UTC, Preeti U Murthy wrote: > The device tree now exposes the residency values for different idle states. > Read > these values instead of calculating residency from the latency values. The > values > exposed in the DT are validated for optimal power efficiency.

[PATCH] misc: ti-st: add handling of the signal case

2015-01-19 Thread Nicholas Mc Guire
handling logic should be preserved correctly This patch was only compile tested for i368_defconfig + CONFIG_X86_32_NON_STANDARD=y CONFIG_STA2X11=y CONFIG_TI_ST=m This patch is against 3.19.0-rc5 -next-20150119 drivers/misc/ti-st/st_kim.c | 19 +++ 1 file changed, 11 insertions

[PATCH] wireless: p54pci: add handling of signal case

2015-01-19 Thread Nicholas Mc Guire
, CONFIG_P54_PCI=m Patch is against 3.19.0-rc5 -next-20150119 drivers/net/wireless/p54/p54pci.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/p54/p54pci.c b/drivers/net/wireless/p54/p54pci.c index d4aee64..27a4906 100644 --- a/drivers/net/wireless

  1   2   3   4   5   6   7   8   9   10   >