[RFC v1 1/2] USB: OTG: Hold wakeupsource when VBUS present

2014-08-28 Thread Kiran Kumar Raparthy
From: Todd Poynor toddpoy...@google.com USB: OTG: Hold wakeupsource when VBUS present Purpose of this is to prevent the system to enter into suspend state from USB peripheral traffic by hodling a wakeupsource when USB(otg) is connected and enumerated in peripheral mode(say adb). Disabled by

[RFC v1 2/2] usb: otg: Temporarily hold wakeupsource on charger and disconnect events

2014-08-28 Thread Kiran Kumar Raparthy
From: Todd Poynor toddpoy...@google.com usb: otg: Temporarily hold wakeupsource on charger 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

Re: [PATCH 1/1] regulator: max77802: set opmode to normal if off is read from hw

2014-08-28 Thread Javier Martinez Canillas
Hello Mark, On 28/08/2014, at 10:28, Mark Brown broo...@kernel.org wrote: Yes, AFAIK the bootloader (none of them because Chromebooks use two chained U-boots) change the regulators default opmode so once is set to OFF on .disable, that value is preserved on warm reboot. This made sense with

[RFC v1 2/2] usb: otg: Temporarily hold wakeupsource on charger and disconnect events

2014-08-28 Thread Kiran Kumar Raparthy
From: Todd Poynor toddpoy...@google.com usb: otg: Temporarily hold wakeupsource on charger 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

[PATCH v3 4/4] Documentation/scheduler/sched-deadline.txt: add tests suite appendix

2014-08-28 Thread Juri Lelli
Add an appendix briefly describing tools that can be used to test SCHED_DEADLINE (and the scheduler in general). Links to where source code of the tools is hosted are also provided. Signed-off-by: Juri Lelli juri.le...@arm.com Cc: Randy Dunlap rdun...@infradead.org Cc: Peter Zijlstra

[PATCH v3 0/4] SCHED_DEADLINE documentation fixes and improvements

2014-08-28 Thread Juri Lelli
Hello everyone, This is version 3 of a small patchset that fixes and improves SCHED_DEADLINE documentation. Patch 1/4 fixes and clarifies terminology; patch 2/4 aligns Section 4 to the current interface; patch 3/4 improves and clarifies what admission control means on UP an SMP systems; patch

[PATCH v3 3/4] Documentation/scheduler/sched-deadline.txt: improve and clarify AC bits

2014-08-28 Thread Juri Lelli
From: Luca Abeni luca.ab...@unitn.it Admission control is of key importance for SCHED_DEADLINE, since it guarantees system schedulability (or tells us something about the degree of guarantees we can provide to the user). This patch improves and clarifies bits and pieces regarding AC, both for UP

[PATCH v3 1/4] Documentation/scheduler/sched-deadline.txt: fix terminology and improve clarity

2014-08-28 Thread Juri Lelli
From: Luca Abeni luca.ab...@unitn.it Several small changes regarding SCHED_DEADLINE documentation that fix terminology and improve clarity and readability: - current runtime becomes remaining runtime - readablity of an equation is improved by introducing more spacing - clarify when

[PATCH v3 2/4] Documentation/scheduler/sched-deadline.txt: Rewrite section 4 intro

2014-08-28 Thread Juri Lelli
Section 4 intro was still describing the old interface. Rewrite it. Signed-off-by: Juri Lelli juri.le...@arm.com Signed-off-by: Luca Abeni luca.ab...@unitn.it Cc: Randy Dunlap rdun...@infradead.org Cc: Peter Zijlstra pet...@infradead.org Cc: Ingo Molnar mi...@redhat.com Cc: Henrik Austad

Re: [PATCH 1/1] regulator: max77802: set opmode to normal if off is read from hw

2014-08-28 Thread Mark Brown
On Thu, Aug 28, 2014 at 11:59:16AM +0200, Javier Martinez Canillas wrote: On 28/08/2014, at 10:28, Mark Brown broo...@kernel.org wrote: Yes, AFAIK the bootloader (none of them because Chromebooks use two chained U-boots) change the regulators default opmode so once is set to OFF on

RE: [RESEND] clk: ppc-corenet: Add Freescale ARM-based platforms CLK_OF_DECLARE support

2014-08-28 Thread Jingchang Lu
-Original Message- From: Wood Scott-B07421 Sent: Thursday, August 28, 2014 7:34 AM To: Lu Jingchang-B35083 Cc: mturque...@linaro.org; linuxppc-...@lists.ozlabs.org; linux- ker...@vger.kernel.org; linux-arm-ker...@lists.infradead.org Subject: Re: [RESEND] clk: ppc-corenet: Add Freescale

Re: [PATCHv3 2/3] ext4: allocate buffer-cache for superblock in, non-movable area

2014-08-28 Thread Jan Kara
On Thu 28-08-14 11:32:29, Gioh Kim wrote: A buffer-cache for superblock is disturbing page migration, because the buffer-cache is not released until unmount. The buffer-cache must be allocated from non-movable area. The patch looks good. You can add: Reviewed-by: Jan Kara j...@suse.cz

Re: [PATCHv3 3/3] jbd/jbd2: allocate buffer-cache for superblock inode in non-movable area

2014-08-28 Thread Jan Kara
On Thu 28-08-14 11:33:20, Gioh Kim wrote: A long-lasting buffer-cache can distrub page migration so that it must be allocated from non-movable area. The journal_init_inode is creating a buffer-cache for superblock journaling. The superblock exists until system shutdown so that the

[PATCH] debugfs: keep the old valid mode value when no explicity specify it

2014-08-28 Thread Chen LinX
From: Chen, LinX linx.z.c...@intel.com When mount debugfs with no mode specifed after it's mounted, the mount point mode will change to default mode(0700) even the mount operation was fail, this will cause some issues like can't get binder info in android. Here we can keep the old valid mode if

[RFC v1 2/2] usb: otg: Temporarily hold wakeupsource on charger

2014-08-28 Thread Kiran Kumar Raparthy
From: Todd Poynor toddpoy...@google.com usb: otg: 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

Re: [PATCH v4] spi: spi-imx: add DMA support

2014-08-28 Thread Robin Gong
On Wed, Aug 27, 2014 at 11:12:08AM +0530, sanjeev sharma wrote: On Sat, Aug 23, 2014 at 5:43 AM, Robin Gong b38...@freescale.com wrote: + /* +* Configure the DMA register: setup the watermark +* and enable DMA request. +*/ + if

[PATCH] staging: lustre: mdc: expand the GOTO macro

2014-08-28 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier lbl; identifier rc; constant c; @@ - GOTO(lbl,\(rc\|c\)); + goto lbl; @@ identifier lbl; expression rc; @@ - GOTO(lbl,rc); + rc; + goto lbl; //

Re: [f2fs-dev] [PATCH] f2fs: reposition unlock_new_inode to prevent accessing invalid inode

2014-08-28 Thread Changman Lee
Hi, On Thu, Aug 28, 2014 at 04:53:01PM +0800, Chao Yu wrote: Hi Changman, -Original Message- From: Changman Lee [mailto:cm224@samsung.com] Sent: Thursday, August 28, 2014 9:48 AM To: Chao Yu Cc: Jaegeuk Kim; linux-kernel@vger.kernel.org;

Re: [PATCH v5 3/3] kprobes: arm: enable OPTPROBES for ARM 32

2014-08-28 Thread Masami Hiramatsu
(2014/08/27 22:02), Wang Nan wrote: +/* + * ARM can always optimize an instruction when using ARM ISA. + */ Hmm, this comment looks not correct anymore :) +int arch_prepared_optinsn(struct arch_optimized_insn *optinsn) +{ + return optinsn-prepared; +} BTW, why don't you check

Re: [PATCH v5 1/3] ARM: probes: check stack operation when decoding

2014-08-28 Thread Russell King - ARM Linux
On Thu, Aug 28, 2014 at 06:51:15PM +0900, Masami Hiramatsu wrote: (2014/08/27 22:02), Wang Nan wrote: This patch improves arm instruction decoder, allows it check whether an instruction is a stack store operation. This information is important for kprobe optimization. For normal str

Re: [PATCH v5 1/3] ARM: probes: check stack operation when decoding

2014-08-28 Thread Will Deacon
On Thu, Aug 28, 2014 at 11:20:21AM +0100, Russell King - ARM Linux wrote: On Thu, Aug 28, 2014 at 06:51:15PM +0900, Masami Hiramatsu wrote: (2014/08/27 22:02), Wang Nan wrote: This patch improves arm instruction decoder, allows it check whether an instruction is a stack store operation.

[PATCH 5/5] phy: miphy365x: Select GENERIC_PHY instead of depending on it

2014-08-28 Thread Kishon Vijay Abraham I
From: Lee Jones lee.jo...@linaro.org Enabling GENERIC_PHY in the shared (by most ARM sub-architectures) defconfig multi_v7_defconfig is prohibited. Instead, we'll enable it from the Kconfig whenever PHY_MIPHY365X is enabled. Cc: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Lee Jones

[PATCH 3/5] phy: exynos5-usbdrd: Add MODULE_DEVICE_TABLE entry

2014-08-28 Thread Kishon Vijay Abraham I
From: Sjoerd Simons sjoerd.sim...@collabora.co.uk Add a MODULE_DEVICE_TABLE call for OF match tables. This allows the module to be autoloaded based on devicetree information. Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

[PATCH 2/5] usb: phy: twl4030-usb: Fix lost interrupts after ID pin goes down

2014-08-28 Thread Kishon Vijay Abraham I
From: Tony Lindgren t...@atomide.com Commit 249751f22380 (usb: phy: twl4030-usb: poll for ID disconnect) added twl4030_id_workaround_work() to deal with lost interrupts after ID pin goes down. Looks like commit f1ddc24c9e33 (usb: phy: twl4030-usb: remove *set_suspend* and *phy_init* ops) changed

[GIT PULL 0/5] PHY: Fixes for 3.17 -rc cycle

2014-08-28 Thread Kishon Vijay Abraham I
Hi Greg, Please find the pull request for this -rc cycle. It consistes of a regression fix to runtime PM on OMAP (cc'ed stable) and few other minor fixes. Please consider merging it in this -rc cycle. Let me know If I have to make any changes. Cheers Kishon The following changes since commit

[PATCH 4/5] MAINTAINERS: add entry for the Samsung USB2 PHY driver

2014-08-28 Thread Kishon Vijay Abraham I
From: Kamil Debski k.deb...@samsung.com Add MAINTAINERS entry for the Samsung USB2 PHY driver. Signed-off-by: Kamil Debski k.deb...@samsung.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS

[PATCH 1/5] usb: phy: twl4030-usb: Fix regressions to runtime PM on omaps

2014-08-28 Thread Kishon Vijay Abraham I
From: Tony Lindgren t...@atomide.com Commit 30a70b026b4cd (usb: musb: fix obex in g_nokia.ko causing kernel panic) attempted to fix runtime PM handling for PHYs that are on the I2C bus. Commit 3063a12be2b0 (usb: musb: fix PHY power on/off) then changed things around to enable of PHYs that rely on

Re: [PATCH] xhci-ring: Fix Null pointer dereference

2014-08-28 Thread Mathias Nyman
On 08/27/2014 07:10 PM, Ricardo Ribalda Delgado wrote: Perhaps we could apply both patches to current tree and backport mine to older kernels? The already applied patch fixes many other issues than just this one. backporting it to stable 3.13 turned out to not be that difficult, stable

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

2014-08-28 Thread Luis Henriques
On Thu, Aug 28, 2014 at 05:40:22PM +0900, Masami Hiramatsu wrote: (2014/08/28 0:54), Luis Henriques wrote: Hi, Not really a complete review, but just 2 comments on this script: On Tue, Aug 26, 2014 at 11:15:18AM +, Masami Hiramatsu wrote: ... +prlog() { # messages + echo $@

[PATCH v2 0/7] Adding Skyworks SKY81452 device drivers

2014-08-28 Thread Gyungoh Yoo
This patch set includes regulator and backlight driver for SKY81452. Also it includes documents for device tree and module. v2: Split the patches for each sub-system. Added 'reg' attribute for I2C address in device tree documents Added 'compatible' attribute in child drivers Renamed

Re: [PATCH 0/4] x86, fpu: copy_process's FPU paths cleanups

2014-08-28 Thread Oleg Nesterov
On 08/27, H. Peter Anvin wrote: Oleg, this is unacceptable. Last week was Kernel Summit and that was right on the heels of a merge window. We are backlogged like crazy and being rude doesn't help one iota. Me? Rude?? I really hope that this is the first (and last) email from me which can

[PATCH] clk: fractional-divider: cast parent_rate to u64 before multiplying

2014-08-28 Thread Heiko Stübner
On 32bit architectures, like ARM calculating the fractional rate will do the multiplication before converting the value to u64 when it gets assigned to ret, which can produce overflows. The error in question happened with a parent_rate of 386MHz, m = 3000, n = 6, which resulted in a wrong

[PATCH v2 1/7] Adding Skyworks SKY81452 MFD driver

2014-08-28 Thread Gyungoh Yoo
v2: Renamed CONFIG_SKY81452 to CONFIG_MFD_SKY81452 Changed the dependency from I2C=y to I2C, for CONFIG_MFD_SKY81452 Added message for exception or errors. --- drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile | 1 + drivers/mfd/sky81452.c | 108

Reply urgent please.

2014-08-28 Thread David Zakian
Hello Dear, I am contacting you to assist me in a claim of $6,200,000.00 USD, it is a genuine transaction and 100 %risk free, so we MUST remain honest in all our dealings because i cannot achieve the opportunity without the support of a foreigner, you will be entitled to 30% of the total

[PATCH v2 2/7] Adding Skyworks SKY81452 regulator driver

2014-08-28 Thread Gyungoh Yoo
v2: Added 'compatible' attribute in the driver Added message for exception or errors. --- drivers/regulator/Kconfig | 11 +++ drivers/regulator/Makefile | 1 + drivers/regulator/sky81452-regulator.c | 140 + 3 files changed, 152

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

2014-08-28 Thread Laurentiu Palcu
Hi Peter, On Thu, Aug 28, 2014 at 11:26:19AM +0200, Peter Meerwald wrote: 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 -

[PATCH v2 4/7] iio: da9150: Add DT binding documentation for GPADC

2014-08-28 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- .../devicetree/bindings/iio/adc/da9150-gpadc.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt diff --git

[PATCH v2 5/7] power: Add support for DA9150 Charger

2014-08-28 Thread Adam Thomson
This patch adds support for DA9150 Charger Fuel-Guage IC Charger. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- drivers/power/Kconfig | 12 + drivers/power/Makefile | 1 + drivers/power/da9150-charger.c | 715 + 3

[PATCH v2 6/7] power: da9150: Add DT binding documentation for charger

2014-08-28 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- .../devicetree/bindings/power/da9150-charger.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/da9150-charger.txt diff --git

[PATCH v2 3/7] Adding Skyworks SKY81452 backlight driver

2014-08-28 Thread Gyungoh Yoo
v2: Added 'compatible' attribute in child drivers Added messages for exception or errors. --- drivers/video/backlight/Kconfig | 10 + drivers/video/backlight/Makefile | 1 + drivers/video/backlight/sky81452-backlight.c | 347 +++

Re: [PATCH] xhci-ring: Fix Null pointer dereference

2014-08-28 Thread Ricardo Ribalda Delgado
Hello On Thu, Aug 28, 2014 at 12:41 PM, Mathias Nyman mathias.ny...@intel.com wrote: On 08/27/2014 07:10 PM, Ricardo Ribalda Delgado wrote: Perhaps we could apply both patches to current tree and backport mine to older kernels? The already applied patch fixes many other issues than just

Re: [PATCH v4 2/3] perf/sdt : Support perf-list to print SDT events in a single file

2014-08-28 Thread Masami Hiramatsu
(2014/08/28 6:50), Hemant Kumar wrote: [...] +/* + * get_sdt_note_info(): flush the SDT notes onto stdout + */ +static void get_sdt_note_info(struct list_head *start, const char *target) +{ + struct sdt_note *pos; + + if (list_empty(start)) + return; + +

[PATCH v2 0/7] Add initial support for DA9150 Charger Fuel-Gauge IC

2014-08-28 Thread Adam Thomson
This patch set adds initial support for the Dialog DA9150 Integrated Charger Fuel-Gauge IC. The device also provides GPIO and GPADC functionality. In this patch set the following is provided: - MFD Core support and DT bindings documentation. - IIO GPADC support and DT bindings documentation.

[PATCH v2 2/7] mfd: da9150: Add DT binding documentation for core

2014-08-28 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- Documentation/devicetree/bindings/mfd/da9150.txt | 41 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/da9150.txt diff --git

[PATCH v2 1/7] mfd: Add support for DA9150 combined charger fuel-gauge device

2014-08-28 Thread Adam Thomson
DA9150 is a combined Charger and Fuel-Gauge IC, with additional GPIO and GPADC functionality. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- drivers/mfd/Kconfig | 12 + drivers/mfd/Makefile |2 + drivers/mfd/da9150-core.c|

[PATCH v2 3/7] iio: Add support for DA9150 GPADC

2014-08-28 Thread Adam Thomson
This patch adds support for DA9150 Charger Fuel-Gauge IC GPADC. Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- drivers/iio/adc/Kconfig| 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/da9150-gpadc.c | 430 + 3

[PATCH v2 4/7] Adding SKY81452 MFD device tree bindings document

2014-08-28 Thread Gyungoh Yoo
v2: Added 'reg' attribute for I2C address in device tree documents --- .../devicetree/bindings/i2c/trivial-devices.txt| 1 + Documentation/devicetree/bindings/mfd/sky81452.txt | 32 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + 3 files changed, 34

[PATCH v2 7/7] MAINTAINERS: Include DA9150 files in Dialog Semiconductor support list.

2014-08-28 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index aefa948..6dc0aee 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2883,12 +2883,15 @@ S: Supported F:

[PATCH v2 5/7] Adding SKY81452 regulator device tree bindings document

2014-08-28 Thread Gyungoh Yoo
v2: Added 'compatible' attribute in child drivers --- .../bindings/regulator/sky81452-regulator.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/sky81452-regulator.txt diff --git

Re: [PATCHv3 1/3] fs/buffer.c: allocate buffer cache with user specific flag

2014-08-28 Thread Jan Kara
On Thu 28-08-14 11:31:46, Gioh Kim wrote: A buffer cache is allocated from movable area because it is referred for a while and released soon. But some filesystems are taking buffer cache for a long time and it can disturb page migration. New APIs are introduced to allocate buffer cache

[PATCH v2 6/7] Adding SKY81452 backlight device tree bindings document

2014-08-28 Thread Gyungoh Yoo
v2: Added 'compatible' attribute in child drivers --- .../video/backlight/sky81452-backlight.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/backlight/sky81452-backlight.txt diff --git

[PATCH v2 7/7] Adding SKY81452 backlight document

2014-08-28 Thread Gyungoh Yoo
v2: split the patches --- Documentation/backlight/sky81452-backlight.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/backlight/sky81452-backlight.txt diff --git a/Documentation/backlight/sky81452-backlight.txt

Re: [PATCH v2 2/7] Adding Skyworks SKY81452 regulator driver

2014-08-28 Thread Mark Brown
On Thu, Aug 28, 2014 at 07:46:37PM +0900, Gyungoh Yoo wrote: v2: Added 'compatible' attribute in the driver Added message for exception or errors. This driver has already been applied, please send any changes as incremental patches against current code. I would *not* expect to see a

Re: [PATCH 1/2] ARM: LPAE: load upper bits of early TTBR0/TTBR1

2014-08-28 Thread Will Deacon
On Wed, Aug 27, 2014 at 04:45:24PM +0100, Jassi Brar wrote: On Wed, Aug 27, 2014 at 9:01 PM, Konstantin Khlebnikov koc...@gmail.com wrote: On Wed, Aug 27, 2014 at 7:26 PM, Jassi Brar jassisinghb...@gmail.com wrote: It seems the patch wasn't tested on any real platform, I did on my CA15

Re: [PATCH v5 2/3] kprobes: copy ainsn after alloc aggr kprobe

2014-08-28 Thread Wang Nan
On 2014/8/28 17:39, Masami Hiramatsu wrote: (2014/08/27 22:02), Wang Nan wrote: Copy old kprobe to newly alloced optimized_kprobe before arch_prepare_optimized_kprobe(). Original kprove can brings more information to optimizer. Signed-off-by: Wang Nan wangn...@huawei.com Cc: Russell King

Re: amd_mce.c redundant if check?

2014-08-28 Thread Robert Richter
On 22.08.14 06:55:16, Borislav Petkov wrote: On Wed, Aug 20, 2014 at 10:08:18PM -0600, Chip wrote: Now, if the return from lvt_off_valid() is false, then nothing is changed in hi. However, if the return is true, which means the value in tr-lvt_off is equal to the LVTOFF value in hi, then

[GIT PULL] sound fixes for 3.16-rc3

2014-08-28 Thread Takashi Iwai
Linus, please pull sound fixes for v3.17-rc3 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-3.17-rc3 The topmost commit is 1a22e7758eabc431d6d8af085dc6e4c5031779a6 sound fixes for 3.17-rc3

Re: [PATCH v2 7/7] MAINTAINERS: Include DA9150 files in Dialog Semiconductor support list.

2014-08-28 Thread Lee Jones
On Thu, 28 Aug 2014, Adam Thomson wrote: Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- MAINTAINERS | 4 1 file changed, 4 insertions(+) Acked-by: Lee Jones lee.jo...@linaro.org diff --git a/MAINTAINERS b/MAINTAINERS index aefa948..6dc0aee 100644 ---

[LTP] [ANNOUNCE] The Linux Test Project has been released for AUGUST 2014

2014-08-28 Thread chrubis
/ltp-20140828/ The project pages as well as GIT repository are hosted on GitHub for quite some time now: https://github.com/linux-test-project/ltp http://linux-test-project.github.io/ If you ever wondered how to write a LTP testcase, don't miss our (continuously updated) developer documentation

Re: [PATCH 0/4] x86, fpu: copy_process's FPU paths cleanups

2014-08-28 Thread Oleg Nesterov
On 08/27, Linus Torvalds wrote: On Wed, Aug 27, 2014 at 11:51 AM, Oleg Nesterov o...@redhat.com wrote: Who can review this? And where should I send FPU changes? FWIW, I have nothing against this series (or, indeed, the last series with the exception of 2/5 that got replaced by just the

Re: [PATCH] ACPI: Add GPIO-signaled event emulator.

2014-08-28 Thread Tomasz Nowicki
On 26.08.2014 00:39, Rafael J. Wysocki wrote: On Thursday, August 21, 2014 04:39:46 PM Tomasz Nowicki wrote: Hi Mika, On 21.08.2014 12:45, Mika Westerberg wrote: On Wed, Aug 20, 2014 at 04:58:20PM +0200, Tomasz Nowicki wrote: [cut] + +static int gpio_evt_trigger(void *data, u64 val) +{ +

Re: [PATCH v4 0/3] perf/sdt : Support for SDT markers

2014-08-28 Thread Masami Hiramatsu
(2014/08/28 6:43), Hemant Kumar wrote: The v3 patchset had some spacing errors because of my editor messing up during sending the patches. Resending the patchset again. This patchset helps in listing dtrace style markers(SDT) present in user space applications through perf. Notes/markers are

Re: [PATCH] mfd: da9052: Avoid setting read_flag_mask for da9052-i2c driver

2014-08-28 Thread Lee Jones
Steve, Adam, Current code init regmap with da9052_regmap_config for both da9052-spi and da9052-i2c drivers. da9052-spi sets the read_flag_mask. The same setting may be applied for da9052-i2c if da9052-spi driver is loaded first because they actually use the same regmap_config setting. Fix

Re: [RFC PATCH 5/9] mfd: Add ACPI support

2014-08-28 Thread Lee Jones
On Sun, 17 Aug 2014, Mika Westerberg wrote: If an MFD device is backed by ACPI namespace, we should allow subdevice drivers to access their corresponding ACPI companion devices through normal means (e.g using ACPI_COMPANION()). This patch adds such support to the MFD core. If the MFD parent

Re: [PATCH RFC] rcu: assoc_array: Add critical section to avoid a bug

2014-08-28 Thread David Howells
Andreea-Cristina Bernat bernat@gmail.com wrote: * The function assoc_array_gc() could be preempted between the call to assoc_array_apply_edit() call and the assignment edit-array-nr_leaves_on_tree = nr_leaves_on_tree;, so the grace period could complete. The bug is real, but this patch

[PATCH][RESEND] acpi: fan.c: printk replacement

2014-08-28 Thread Sudip Mukherjee
printk replaced with corresponding dev_err and dev_info fixed one broken user-visible string multiine comment edited for correct commenting style asm/uaccess.h replaced with linux/uaccess.h PREFIX removed Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- modified with reference to the

Re: [alsa-devel] [PATCH v3 1/2] mfd: arizona: Add support for INn_Modec register control

2014-08-28 Thread Lee Jones
On Mon, 18 Aug 2014, Inha Song wrote: Some boards need to set the INn_MODE[1:0] register to change the input signal patch. This wlf,inmode property is optional. If present, values must be specified less than or equal to the number of input singals. If values less than the number of input

Re: Documentation for init

2014-08-28 Thread Austin S Hemmelgarn
On 2014-08-26 18:00, Rob Landley wrote: On Tue, Aug 26, 2014 at 7:34 AM, Austin S Hemmelgarn ahferro...@gmail.com wrote: A lot of LiveCD's make use of this to control hardware detection and module loading. The only open file descriptors (i believe, I may be wrong) are 0, 1, and 2, all

[PATCH] rtc: ds1307: add trickle charger device tree binding

2014-08-28 Thread Matti Vaittinen
Patch adding support for specifying trickle charger setup from device tree. Patch is based on linux-next tree. Some DS13XX devices have trickle chargers. Introduce a device tree binding for specifying the setup and register values. Signed-off-by: Matti Vaittinen matti.vaitti...@nsn.com ---

[PATCH] security: Silence shadow warning

2014-08-28 Thread Jeff Kirsher
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 jeffrey.t.kirs...@intel.com ---

[PATCH 1/4] include/linux/cycx_x25.h: Remove unused header

2014-08-28 Thread Rasmus Villemoes
The header file include/linux/cycx_x25.h does not seem to be used anywhere. It was orphaned by 6fcdf4facb wanrouter: delete now orphaned header content, files/drivers. Remove it. Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk --- include/linux/cycx_x25.h | 125

[PATCH 0/4] Remove various orphaned header files

2014-08-28 Thread Rasmus Villemoes
These four files are not included anywhere, and seem to be accidental leftovers from past cleanups (see the individual commit messages). Rasmus Villemoes (4): include/linux/cycx_x25.h: Remove unused header include/linux/i82593.h: Remove unused header include/linux/phonedev.h: Remove unused

Re: [RFC PATCH 5/9] mfd: Add ACPI support

2014-08-28 Thread Mika Westerberg
On Thu, Aug 28, 2014 at 12:29:00PM +0100, Lee Jones wrote: On Sun, 17 Aug 2014, Mika Westerberg wrote: If an MFD device is backed by ACPI namespace, we should allow subdevice drivers to access their corresponding ACPI companion devices through normal means (e.g using ACPI_COMPANION()).

[PATCH 2/4] include/linux/i82593.h: Remove unused header

2014-08-28 Thread Rasmus Villemoes
The header file include/linux/i82593.h does not seem to be used anywhere. It was orphaned by 8a594170 drivers/net: delete intel i825xx based znet notebook driver. Remove it. Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk --- include/linux/i82593.h | 229

[PATCH 3/4] include/linux/phonedev.h: Remove unused header

2014-08-28 Thread Rasmus Villemoes
The header file include/linux/phonedev.h does not seem to be used anywhere. It was orphaned by 7326446c Staging: remove telephony drivers. Remove it. Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk --- include/linux/phonedev.h | 25 - 1 file changed, 25

[PATCH 4/4] include/rxrpc/types.h: Remove unused header

2014-08-28 Thread Rasmus Villemoes
The header file include/rxrpc/types.h does not seem to be used anywhere. It was orphaned by 63b6be55 [AF_RXRPC]: Delete the old RxRPC code.. Remove it. Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk --- include/rxrpc/types.h | 41 - 1 file

Re: [PATCH] ib_umem_release should decrement mm-pinned_vm from ib_umem_get

2014-08-28 Thread Haggai Eran
On 26/08/2014 00:07, Shawn Bohrer wrote: The following patch fixes the issue by storing the mm_struct of the You are doing more than just storing the mm_struct - you are taking a reference to the process' mm. This can lead to a massive resource leakage. The reason is bit complex: The

Re: [PATCH v2 1/7] mfd: Add support for DA9150 combined charger fuel-gauge device

2014-08-28 Thread Varka Bhadram
On 08/28/2014 04:18 PM, Adam Thomson wrote: (...) +static int da9150_probe(struct i2c_client *client, + const struct i2c_device_id *id) +{ + struct da9150 *da9150; + int ret; + + da9150 = devm_kzalloc(client-dev, sizeof(struct da9150), GFP_KERNEL); +

Re: Fwd: Re: [PATCH] staging:lustre:lnet: lib-md.c fix checkpath warnings and errors.

2014-08-28 Thread Dan Carpenter
No worries. But Greg asked you to break the patch up into 4 patches: patch 1: long lines patch 2: spaces patch 3: comments patch 4: trailing statements. Please resend. regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH v4 1/8] mfd: max14577: Add defines for MAX77836 charger

2014-08-28 Thread Lee Jones
On Wed, 27 Aug 2014, Krzysztof Kozlowski wrote: Prepare for adding support for MAX77836 charger to the max14577 charger driver by adding necessary new defines and prefixes to existing ones. The MAX77836 uses slightly different values for ChgTyp field of STATUS2 register. On the MAX14577

Re: [PATCH 1/2] ARM: LPAE: load upper bits of early TTBR0/TTBR1

2014-08-28 Thread Konstantin Khlebnikov
On 2014-08-28 15:03, Will Deacon wrote: On Wed, Aug 27, 2014 at 04:45:24PM +0100, Jassi Brar wrote: On Wed, Aug 27, 2014 at 9:01 PM, Konstantin Khlebnikov koc...@gmail.com wrote: On Wed, Aug 27, 2014 at 7:26 PM, Jassi Brar jassisinghb...@gmail.com wrote: It seems the patch wasn't tested on

Re: [PATCH v4 2/8] mfd: max14577: Map charger device to its own of_node

2014-08-28 Thread Lee Jones
On Wed, 27 Aug 2014, Krzysztof Kozlowski wrote: Add a maxim,max14577-charger of_compatible to the mfd_cell so the MFD child device (the charger) will have its own of_node set. This will be used by the max14577 charger driver in next patches to obtain battery configuration from DTS.

Re: [PATCH v4 6/8] power: max17040: Add ID for MAX77836 Fuel Gauge block

2014-08-28 Thread Lee Jones
On Wed, 27 Aug 2014, Krzysztof Kozlowski wrote: MAX77836 has the same Fuel Gauge as MAX17040/17048. The max17040 driver can be safely re-used. The patch adds MAX77836 ID to array of i2c_device_id. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Cc: Kyungmin Park

[PATCH] include/linux/mfd/ti_ssp.h: Remove unused header

2014-08-28 Thread Rasmus Villemoes
The header file include/linux/mfd/ti_ssp.h does not seem to be used anywhere. It was orphaned by 3033ee62 mfd: Remove obsolete ti-ssp driver. Remove it. Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk --- include/linux/mfd/ti_ssp.h | 93 -- 1

[PATCH] include/linux/platform_data/tegra_emc.h: Remove unused header

2014-08-28 Thread Rasmus Villemoes
The header file include/linux/platform_data/tegra_emc.h does not seem to be used anywhere. It was orphaned by a7cbe92c ARM: tegra: remove tegra EMC scaling driver. Remove it. Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk --- include/linux/platform_data/tegra_emc.h | 34

Re: [PATCH v7] x86: initialize secondary CPU only if master CPU will wait for it

2014-08-28 Thread Igor Mammedov
On Fri, 20 Jun 2014 14:23:11 +0200 Igor Mammedov imamm...@redhat.com wrote: Hang is observed on virtual machines during CPU hotplug, especially in big guests with many CPUs. (It reproducible more often if host is over-committed). It happens because master CPU gives up waiting on secondary

Re: [PATCH 2/2] android: add sync_fence_create_dma

2014-08-28 Thread Dan Carpenter
On Thu, Aug 28, 2014 at 08:54:05AM +0200, Maarten Lankhorst wrote: Hey, On 15-08-14 08:46, Greg Kroah-Hartman wrote: On Thu, Aug 14, 2014 at 11:54:52AM +0200, Maarten Lankhorst wrote: This allows users of dma fences to create a android fence. Who is going to use these functions? I

[PATCH v3] usb: phy: samsung: remove old common USB PHY code

2014-08-28 Thread Bartlomiej Zolnierkiewicz
drivers/usb/phy/phy-samsung-usb[2,3] drivers got replaced by drivers/phy/phy-samsung-usb[2,3] ones and the old common Samsung USB PHY code is no longer used. Signed-off-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Reviewed-by: Vivek

Re: [PATCH 3/4] watchdog: add driver for Ricoh RN5T618 watchdog

2014-08-28 Thread Guenter Roeck
On 08/28/2014 12:19 AM, Lee Jones wrote: On Wed, 27 Aug 2014, Guenter Roeck wrote: On Wed, Aug 27, 2014 at 12:13:56AM +0200, Beniamino Galvani wrote: This adds a driver for the watchdog timer available in Ricoh RN5T618 PMIC. The device supports a programmable expiration time of 1, 8, 32 or 128

Re: [RFC PATCH 10/10] scsi/trace: Use scsi_print_command trace point instead of printk

2014-08-28 Thread Hannes Reinecke
On 08/28/2014 08:19 AM, Yoshihiro YUNOMAE wrote: Hi Hannes, I tried to remove duplicated decoder of SCSI command, but the output format of it in constants.c is different from it in traceevents. I have two questions for it. (Ex1) traceevents: TEST_UNIT_READY constants: Test Unit Ready = Which

Re: [PATCH v4 00/11] drm: add support for Atmel HLCDC Display Controller

2014-08-28 Thread Laurent Pinchart
Hi Boris, On Wednesday 27 August 2014 09:52:35 Boris BREZILLON wrote: On Tue, 26 Aug 2014 01:39:21 +0200 Laurent Pinchart wrote: On Thursday 21 August 2014 19:26:33 Boris BREZILLON wrote: On Thu, 21 Aug 2014 19:08:53 +0200 Laurent Pinchart laurent.pinch...@ideasonboard.com wrote:

[PATCH] semaphore: Resolve some shadow warnings

2014-08-28 Thread Jeff Kirsher
From: Mark Rustad mark.d.rus...@intel.com Resolve some shadow warnings resulting from using the name jiffies, which is a well-known global. This is not a problem of course, but it could be a trap for someone copying and pasting code, and it just makes W=2 a little cleaner. Signed-off-by: Mark

Re: [PATCH v4 2/3] perf/sdt : Support perf-list to print SDT events in a single file

2014-08-28 Thread Hemant Kumar
Hi Masami, On 08/28/2014 04:24 PM, Masami Hiramatsu wrote: (2014/08/28 6:50), Hemant Kumar wrote: [...] +/* + * get_sdt_note_info(): flush the SDT notes onto stdout + */ +static void get_sdt_note_info(struct list_head *start, const char *target) +{ + struct sdt_note *pos; + + if

Re: [PATCH] staging: lustre: mdc: expand the GOTO macro

2014-08-28 Thread Dan Carpenter
Thanks. These are nice. We need to get rid of the GOTO() macro entirely. regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 0/4] x86, fpu: copy_process's FPU paths cleanups

2014-08-28 Thread Oleg Nesterov
On 08/28, Ingo Molnar wrote: * H. Peter Anvin h...@zytor.com wrote: Oleg, this is unacceptable. Last week was Kernel Summit and that was right on the heels of a merge window. We are backlogged like crazy and being rude doesn't help one iota. Also, the previous set of patches was

Re: [PATCH v4 6/8] power: max17040: Add ID for MAX77836 Fuel Gauge block

2014-08-28 Thread Krzysztof Kozlowski
On czw, 2014-08-28 at 12:52 +0100, Lee Jones wrote: On Wed, 27 Aug 2014, Krzysztof Kozlowski wrote: MAX77836 has the same Fuel Gauge as MAX17040/17048. The max17040 driver can be safely re-used. The patch adds MAX77836 ID to array of i2c_device_id. Signed-off-by: Krzysztof Kozlowski

Re: [PATCH] staging: lustre: mdc: expand the GOTO macro

2014-08-28 Thread Julia Lawall
On Thu, 28 Aug 2014, Dan Carpenter wrote: Thanks. These are nice. We need to get rid of the GOTO() macro entirely. I will. The whole patch is 11,000 lines (including the context code, @@s etc), and I didn't have the patience to check all of that at once... julia -- To unsubscribe from

Re: [PATCH] acpi: fan.c: printk replacement

2014-08-28 Thread Sudip Mukherjee
On Thu, Aug 28, 2014 at 01:26:58AM +0200, Rafael J. Wysocki wrote: On Wednesday, August 27, 2014 10:27:47 AM Sudip Mukherjee wrote: On Tue, Aug 26, 2014 at 11:22:12PM +0200, Rafael J. Wysocki wrote: On Tuesday, August 26, 2014 01:59:02 PM Joe Perches wrote: On Tue, 2014-08-26 at 23:02

[GIT PULL] pin control fixes for the v3.17 series

2014-08-28 Thread Linus Walleij
Hi Linus, here is my first (a bit delayed) pack of pin control fixes, details in the signed tag as usual. Please pull it in! Yours, Linus Walleij The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9: Linux 3.17-rc1 (2014-08-16 10:40:26 -0600) are available in the

Re: [PATCH] xhci-ring: Fix Null pointer dereference

2014-08-28 Thread Ricardo Ribalda Delgado
Hello Mathias This is the dmesg output after your patch. No WARN(), no crash :), but still some weird messages: [ 146.511623] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd [ 146.531652] usb 2-2: New USB device found, idVendor=0525, idProduct=a4a5 [ 146.531661] usb 2-2: New USB

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