Re: [PATCH v3] iio: Add Dyna-Image AL3320A ambient light sensor driver

2014-08-30 Thread Jonathan Cameron
On 27/08/14 09:49, Hartmut Knaack wrote: Daniel Baluta schrieb: Minimal implementation. This driver provides raw illuminance readings. This is based on drivers/hwmon/al3320.c (*) driver from msm tree written by Tsechih Lin tsechih_...@asus.com *

Re: [PATCH 1/3] staging: iio: light: isl29018: fix typo

2014-08-30 Thread Jonathan Cameron
On 29/08/14 15:26, Laurentiu Palcu wrote: isl29108 was used, instead of isl29018. Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com Applied to the togreg branch of iio.git - initially pushed out as testing for the autobuilders to play. Thanks, Jonathan ---

Re: [PATCH 2/3] staging: iio: light: isl29018: add support for isl29023 and isl29035

2014-08-30 Thread Jonathan Cameron
On 29/08/14 15:26, Laurentiu Palcu wrote: Intersil chips ISL29018, ISL29023 and ISL29035 are very similar. They're all ambience light sensors. The ISL29018, however, is also a proximity sensor. The registers are similar too: -+--+-- AVAILABLE IN | ADDR REG | NAME

Re: [PATCH] iio: handle -EPROBE_DEFER in of_iio_channel_get_by_name

2014-08-30 Thread Jonathan Cameron
On 28/08/14 23:13, Heiko Stübner wrote: Till now of_iio_channel_get_by_name always tried to find the channel without evaluating the return code from of_iio_channel_get. This might include -EPROBE_DEFER in which case the channel is present but its driver simply not probed yet. Therefore simply

Re: [PATCH v2 1/3] iio: accel: BMC150: fix scale value for 16G

2014-08-30 Thread Jonathan Cameron
On 29/08/14 09:38, Laurentiu Palcu wrote: According to documentation ([1] - page 27), the range for 16G is 7.81mg/LSB. Converted to SI, this is: 7.81 * 10^-3 * 9.80665 m/s^2 / LSB = 0.0765899365 m/s^2 / LSB [1]

Re: [PATCH 3/3] staging: iio: light: isl29018: add ACPI support

2014-08-30 Thread Jonathan Cameron
On 29/08/14 15:26, Laurentiu Palcu wrote: Add support for enumerating the device through ACPI. Signed-off-by: Laurentiu Palcu laurentiu.pa...@intel.com Mostly fine, but I'm unclear on why we have a cast to a char * for name. Maybe I just haven't had enough coffee this morning :) Jonathan ---

Re: [PATCH] staging: comedi: usbdux: fix sparse endianness warnings

2014-08-30 Thread Ian Abbott
On 30/08/14 02:40, Chase Southwood wrote: Sparse has many warnings like: drivers/staging/comedi/drivers/usbdux.c:366:32: warning: cast to restricted __le16 on lines on which devpriv-in_buf or devpriv-insn_buf are passed to le16_to_cpu(). This suggests that both of these variables should

Re: [PATCH v2 2/3] iio: accel: BMC150: fix issues when CONFIG_PM_RUNTIME is not set

2014-08-30 Thread Jonathan Cameron
On 29/08/14 09:38, Laurentiu Palcu wrote: When CONFIG_PM_RUNTIME is not set, the following issues are seen: * warning message at compilation time: warning: 'bmc150_accel_get_startup_times' defined but not used [-Wunused-function] * bmc150_accel_set_power_state() will always fail and

Re: [PATCH v3] iio: Add Dyna-Image AL3320A ambient light sensor driver

2014-08-30 Thread Daniel Baluta
On Sat, Aug 30, 2014 at 1:00 PM, Jonathan Cameron ji...@kernel.org wrote: On 27/08/14 09:49, Hartmut Knaack wrote: Daniel Baluta schrieb: Minimal implementation. This driver provides raw illuminance readings. This is based on drivers/hwmon/al3320.c (*) driver from msm tree written by Tsechih

Re: [PATCH] staging: comedi: usbduxsigma: fix sparse endianness warnings

2014-08-30 Thread Ian Abbott
On 30/08/14 02:40, Chase Southwood wrote: Sparse has many warnings like: drivers/staging/comedi/drivers/usbduxsigma.c:293:21: warning: cast to restricted __be32 on lines on which devpriv-in_buf is passed to be32_to_cpu(). This suggests that this variable should actually be of type __be32.

Re: [PATCH] staging: comedi: addi_apci_1564: move boilerplate text to addi_apci_1564.c

2014-08-30 Thread Ian Abbott
On 30/08/14 06:55, Chase Southwood wrote: Signed-off-by: Chase Southwood chase.southw...@gmail.com Cc: Ian Abbott abbo...@mev.co.uk Cc: H Hartley Sweeten hswee...@visionengravers.com --- .../comedi/drivers/addi-data/hwdrv_apci1564.c | 23 --

Re: [PATCH] iio: handle -EPROBE_DEFER in of_iio_channel_get_by_name

2014-08-30 Thread Heiko Stübner
Am Samstag, 30. August 2014, 11:29:04 schrieb Jonathan Cameron: On 28/08/14 23:13, Heiko Stübner wrote: Till now of_iio_channel_get_by_name always tried to find the channel without evaluating the return code from of_iio_channel_get. This might include -EPROBE_DEFER in which case the channel

Re: RTNL: assertion failed at net/ipv6/addrconf.c (1699)

2014-08-30 Thread Sabrina Dubroca
2014-08-29, 15:54:48 -0700, Cong Wang wrote: [...] You are absolutely right here. Can I have your Signed-off-by and Tested-by before sending the patch formally? Thanks! Sure: Signed-off-by: Sabrina Dubroca s...@queasysnail.net Tested-by: Sabrina Dubroca s...@queasysnail.net Thanks,

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

2014-08-30 Thread Jonathan Cameron
On 29/08/14 09:38, Laurentiu Palcu 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 - identical to BMC150's accelerometer

Re: [PATCHv1 1/4] staging:lustre:lnet: lib-md.c make line not over 80 characters

2014-08-30 Thread Dan Carpenter
On Sat, Aug 30, 2014 at 02:52:55PM +0800, Janet Liu wrote: @@ -121,7 +123,7 @@ lnet_md_build(lnet_libmd_t *lmd, lnet_md_t *umd, int unlink) lmd-md_length = total_length; - if ((umd-options LNET_MD_MAX_SIZE) != 0 /* max size used */ + if

Re: RTNL: assertion failed at net/ipv6/addrconf.c (1699)

2014-08-30 Thread Sabrina Dubroca
Hello, 2014-08-30, 03:51:29 +0200, Hannes Frederic Sowa wrote: Hi Sabrina, [...] Sorry, just had time to look at this. The reason is not to have list corruption but that the calls down to ndo_set_rx_mode expect rtnl to be locked by the drivers. Filter lists are locked by

[PATCH] pinctrl: sirf: Remove gpiochip on failure cases

2014-08-30 Thread Pramod Gurav
This patch releases gpiochip related resources by calling gpiochip_remove when gpiochip_irqchip_add fails. CC: Linus Walleij linus.wall...@linaro.org CC: Barry Song baohua.s...@csr.com CC: Rongjun Ying rongjun.y...@csr.com CC: Yuping Luo yuping@csr.com Signed-off-by: Pramod Gurav

Re: [PATCH] x86: only load initrd above 4g on second try

2014-08-30 Thread Matt Fleming
On Wed, 27 Aug, at 10:13:22AM, Yinghai Lu wrote: How about adding more info print out like: Try to load initrd file to higher address... Yeah, that could work, at least we've had some debugging information to go on if people start reporting hangs, though I'd suggest using Trying or

Re: [PATCH 0/2] IO voltage domain support for rk3188 and rk3288

2014-08-30 Thread Heiko Stübner
Am Freitag, 29. August 2014, 21:51:46 schrieb Doug Anderson: Santosh, On Thu, Aug 28, 2014 at 2:26 PM, Santosh Shilimkar santosh.shilim...@ti.com wrote: On Thursday 28 August 2014 03:36 PM, Doug Anderson wrote: These two patches add support for automatically configuring the IO voltage

Re: [PATCH] iio: accel: kxcjk-1013: add support for kxcj9-1008

2014-08-30 Thread Daniel Baluta
On Tue, Aug 19, 2014 at 6:25 PM, Daniel Baluta daniel.bal...@intel.com wrote: This patch adds support for KXCJ9-1008 3-axis acceleromenter sensor. KXCJ9-1008 uses the same register definitions as KXCJK-1013. The specification for KXCJ9-1008 can be downloaded from:

Re: [PATCH v5 03/12] sched: fix avg_load computation

2014-08-30 Thread Preeti U Murthy
Hi Vincent, On 08/26/2014 04:36 PM, Vincent Guittot wrote: The computation of avg_load and avg_load_per_task should only takes into account the number of cfs tasks. The non cfs task are already taken into account by decreasing the cpu's capacity and they will be tracked in the CPU's

[PATCH] Export functions from pcie-designware

2014-08-30 Thread matwey
From: Matwey V. Kornilov mat...@sai.msu.ru pcie-spear13xx when built as module requires the functions from pcie-designware. Export them properly. Signed-off-by: Matwey V. Kornilov mat...@sai.msu.ru --- drivers/pci/host/pcie-designware.c | 7 +++ drivers/pci/host/pcie-designware.h | 14

Re: [PATCH v6 2/2] dt-bindings: document Rockchip saradc

2014-08-30 Thread Heiko Stübner
Am Donnerstag, 7. August 2014, 15:15:52 schrieb Jonathan Cameron: On 23/07/14 22:24, Heiko Stübner wrote: This add the necessary binding documentation for the saradc found in all recent processors from Rockchip. Signed-off-by: Heiko Stuebner he...@sntech.de Applied to the togreg

[PATCH v2 0/4] Add support for Ricoh RN5T618 PMIC

2014-08-30 Thread Beniamino Galvani
Ricoh RN5T618 is a power management IC which includes 3 step-down DCDC converters, 7 low-dropout regulators, a Li-ion battery charger, fuel gauge, ADC, GPIOs and a watchdog timer. This series adds a MFD core driver and separate drivers to support the regulator and watchdog functionalities. The

[PATCH v2 2/4] regulator: add driver for Ricoh RN5T618 regulators

2014-08-30 Thread Beniamino Galvani
This driver supports the 3 DCDC and 7 LDO regulators available on Ricoh RN5T618 PMIC. Signed-off-by: Beniamino Galvani b.galv...@gmail.com --- drivers/regulator/Kconfig |6 ++ drivers/regulator/Makefile|1 + drivers/regulator/rn5t618-regulator.c | 143

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

2014-08-30 Thread Beniamino Galvani
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 seconds. Signed-off-by: Beniamino Galvani b.galv...@gmail.com --- drivers/watchdog/Kconfig | 11 +++ drivers/watchdog/Makefile |1 +

[PATCH v2 4/4] mfd: rn5t618: document device tree bindings

2014-08-30 Thread Beniamino Galvani
This adds the device tree bindings documentation for Ricoh RN5T618. Signed-off-by: Beniamino Galvani b.galv...@gmail.com Reviewed-by: Mark Brown broo...@linaro.org --- Documentation/devicetree/bindings/mfd/rn5t618.txt | 36 + 1 file changed, 36 insertions(+) create mode

[PATCH v2 1/4] mfd: Add Ricoh RN5T618 PMIC core driver

2014-08-30 Thread Beniamino Galvani
Ricoh RN5T618 is a power management IC which integrates 3 step-down DCDC converters, 7 low-dropout regulators, a Li-ion battery charger, fuel gauge, ADC, GPIOs and a watchdog timer. This commit adds a MFD core driver to support the I2C communication with the device. Signed-off-by: Beniamino

Re: [PATCH 1/5] kexec: Fix make headers_check

2014-08-30 Thread Paul Bolle
[Added Peter Anvin.] On Mon, 2014-08-25 at 13:22 -0400, Vivek Goyal wrote: On Fri, Aug 22, 2014 at 06:39:47PM +, Geoff Levand wrote: Remove the unneded declaration for a kexec_load() routine. Fixes errors like these when running 'make headers_check': include/uapi/linux/kexec.h:

[PATCH] iio: adc: rockchip_saradc: add support for rk3066-tsadc variant

2014-08-30 Thread Heiko Stübner
Older Rockchip SoCs, at least the rk3066, used a slightly modified saradc for temperature measurements. This so called tsadc does not contain any active parts like temperature interrupts and only supports polling the current temperature. The returned voltage can then be converted by a suitable

Re: [PATCH] ktest: add ability to skip during BISECT_MANUAL

2014-08-30 Thread Satoru Takeuchi
Hi Chris, Sorry for late reply. 2014-08-28 3:26 GMT+09:00 Chris J Arges chris.j.ar...@canonical.com: When doing a manual bisect, a build can fail or a test can be inconclusive. In these cases it would be helpful to be able to skip the test entirely. Signed-off-by: Chris J Arges

Re: [PATCH] Export functions from pcie-designware

2014-08-30 Thread Fabio Estevam
On Sat, Aug 30, 2014 at 9:24 AM, mat...@sai.msu.ru wrote: From: Matwey V. Kornilov mat...@sai.msu.ru pcie-spear13xx when built as module requires the functions from pcie-designware. Export them properly. Signed-off-by: Matwey V. Kornilov mat...@sai.msu.ru ---

Re: [PATCH v2 2/4] regulator: add driver for Ricoh RN5T618 regulators

2014-08-30 Thread Mark Brown
On Sat, Aug 30, 2014 at 02:50:24PM +0200, Beniamino Galvani wrote: This driver supports the 3 DCDC and 7 LDO regulators available on Ricoh RN5T618 PMIC. Applied, thanks. signature.asc Description: Digital signature

[PATCH] apf27dev: add max1027 in the dts

2014-08-30 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@gmail.com --- arch/arm/boot/dts/imx27-apf27dev.dts | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/imx27-apf27dev.dts b/arch/arm/boot/dts/imx27-apf27dev.dts index b982309..25b9ecd 100644 ---

[BISECTED] 3.17-rc1 radeon screen corruption due to Always flush the HDP cache before submitting a CS to the GPU

2014-08-30 Thread Mikael Pettersson
Since 3.17-rc1 my radeon card (RV370 / X1050 card) causes screen corruption after a while in X + firefox. This still occurs with yesterday's HEAD of Linus' repo. 3.16 and ealier kernels are fine. I ran a bisect, which identified: commit 72a9987edcedb89db988079a03c9b9c65b6ec9ac Author: Michel

Re: [PATCH] mtd: denali: fix include guard and license block of denali.h

2014-08-30 Thread Joe Perches
On Fri, 2014-08-29 at 11:30 -0700, Josh Triplett wrote: (Side note: could we get checkpatch to complain about comment headers containing the name of the file they appear in? They're always either redundant or wrong.) Sure, if you can write a regex to determine an incorrect filename. Good

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

2014-08-30 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; @@ if (...) GOTO(lbl,...); +else GOTO(lbl,...); @@ identifier lbl,rc; constant c; expression e,e1; @@ if ( - e + !e ) -

Re: mm: kernel BUG at mm/rmap.c:530

2014-08-30 Thread Sasha Levin
On 08/20/2014 10:02 AM, Kirill A. Shutemov wrote: Sasha Levin wrote: Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel, I've stumbled on the following spew: [ 2581.180086] kernel BUG at mm/rmap.c:530! Page is mapped where it shouldn't

[PATCH] staging: lustre: fid,fld: expand the GOTO macro

2014-08-30 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; //

[PATCH] pinctrl: st: Add remove function and remove gpio_chip on failure

2014-08-30 Thread Pramod Gurav
This patch adds a remove function to platform_driver to unload the driver in a cleaner way. This also releases gpiochip related resources by calling gpiochip_remove when gpiochip_irqchip_add fails. CC: Srinivas Kandagatla srinivas.kandaga...@gmail.com CC: Srinivas Kandagatla

Re: [PATCHv3 0/9] Mark literal strings in __init / __exit code

2014-08-30 Thread Mathias Krause
On 22 August 2014 10:24, Ingo Molnar mi...@kernel.org wrote: * Mathias Krause mini...@googlemail.com wrote: It feels like a burdensome hack that kernel developers are forced to use different printing facilities, depending on the life cycle of a method. We want to simplify init

Re: [PATCH] apf27dev: add max1027 in the dts

2014-08-30 Thread Alexander Shiyan
Sat, 30 Aug 2014 15:22:12 +0200 от Philippe Reynes trem...@gmail.com: Signed-off-by: Philippe Reynes trem...@gmail.com --- arch/arm/boot/dts/imx27-apf27dev.dts | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/imx27-apf27dev.dts

clk: shmobile: CONFIG_ARCH_R8A7794?

2014-08-30 Thread Paul Bolle
Hi Hisashi, Your commit 8de078f189da (clk: shmobile: Add r8a7794 support) landed in next-20140828. It adds a single line to a Makefile. That new line contains a check for CONFIG_ARCH_R8A7794. There's no Kconfig symbol ARCH_R8A7794 so this line is basically a NOP currently. I assume that code to

block: loop: convert to blk-mq

2014-08-30 Thread Ming Lei
Hi, The following 6 patches convert current loop driver into blk-mq: - loop's scalability gets improved much - loop driver gets quite simplified, and the conversion can be throught as cleanup The previous kernel AIO patches will be submitted in another patchset for

[PATCH v2 1/6] blk-mq: export blk_mq_freeze_queue and blk_mq_unfreeze_queue

2014-08-30 Thread Ming Lei
It is handy to use the two helpers for switching backend file in loop driver, so export them. Signed-off-by: Ming Lei ming@canonical.com --- block/blk-mq.c |4 +++- block/blk-mq.h |1 - include/linux/blk-mq.h |2 ++ 3 files changed, 5 insertions(+), 2 deletions(-)

[PATCH v2 2/6] blk-mq: introduce prepare_flush_rq_fn callback and its pair

2014-08-30 Thread Ming Lei
Currently pdu of the flush rq is simlpy copied from another rq, it isn't enough to initialize pointer field well, so introduce these two callbacks for driver to handle the case easily. Signed-off-by: Ming Lei ming@canonical.com --- block/blk-flush.c |4 block/blk-mq.c |

[PATCH v2 4/6] block: loop: say goodby to bio

2014-08-30 Thread Ming Lei
Switch to block request completely. Signed-off-by: Ming Lei ming@canonical.com --- drivers/block/loop.c | 46 -- 1 file changed, 20 insertions(+), 26 deletions(-) diff --git a/drivers/block/loop.c b/drivers/block/loop.c index b02122d..b1181b0

[PATCH v2 3/6] block: loop: convert to blk-mq

2014-08-30 Thread Ming Lei
The conversion is a bit straightforward, and use per-hw_queue kthread work queue to dispatch reqests of loop block, so scalability gets improved a lot if nr_hw_queues is increased. Another benefit is that loop driver code gets simplified much, and the patch can be thought as cleanup too.

[PATCH v2 6/6] block: loop: don't handle REQ_FUA explicitly

2014-08-30 Thread Ming Lei
block core handles REQ_FUA by its flush state machine, so won't do it in loop explicitly. Signed-off-by: Ming Lei ming@canonical.com --- drivers/block/loop.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/block/loop.c b/drivers/block/loop.c

[PATCH v2 5/6] block: loop: introduce lo_discard() and lo_req_flush()

2014-08-30 Thread Ming Lei
No behaviour change, just move the handling for REQ_DISCARD and REQ_FLUSH in these two functions. Signed-off-by: Ming Lei ming@canonical.com --- drivers/block/loop.c | 73 +++--- 1 file changed, 40 insertions(+), 33 deletions(-) diff --git

[PATCH] pinctrl: bcm281xx: Add remove function to pinctrl_unregister

2014-08-30 Thread Pramod Gurav
This patch adds a remove function in platform_driver to pinctrl_unregister for clean unloading. This makes local struct pinctrl_dev a part of struct bcm281xx_pinctrl_data to be accessed from pdev in remove function. CC: Sherman Yin s...@broadcom.com CC: Linus Walleij linus.wall...@linaro.org

[PATCH] mm: rename migrate_page to generic_migrate_page

2014-08-30 Thread Konstantin Khlebnikov
If CONFIG_MIGRATION=n migrate_page turns into NULL. This kills ifdef-endif mess inside definitions of address space operations. But this macro affects everything with this name, migrate_page is too short and generic. This patch renames it into generic_migrate_page. Fortunately it's used only in

[PATCH v2 0/6] mm/balloon_compaction: fixes and cleanups

2014-08-30 Thread Konstantin Khlebnikov
I've checked compilation of linux-next/x86 for allnoconfig, defconfig and defconfig + kvmconfig + virtio-balloon with and without balloon-compaction. For stable kernels first three patches should be enough. changes since v1: mm/balloon_compaction: ignore anonymous pages * no changes

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

2014-08-30 Thread Konstantin Khlebnikov
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 of page-_mapcount counter. There is no conflict because ballooned pages cannot

[PATCH v2 6/6] mm/balloon_compaction: general cleanup

2014-08-30 Thread Konstantin Khlebnikov
From: Konstantin Khlebnikov k.khlebni...@samsung.com * move special branch for balloon migraion into migrate_pages * remove special mapping for balloon and its flag AS_BALLOON_MAP * embed struct balloon_dev_info into struct virtio_balloon * cleanup balloon_page_dequeue, kill balloon_page_free

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

2014-08-30 Thread Konstantin Khlebnikov
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 CONFIG_MEMORY_BALLOON. Signed-off-by: Konstantin Khlebnikov

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

2014-08-30 Thread Konstantin Khlebnikov
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 __unmap_and_move page is locked, reference counter is elevated, so

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

2014-08-30 Thread Konstantin Khlebnikov
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 lock periodically. Signed-off-by: Konstantin Khlebnikov

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

2014-08-30 Thread Konstantin Khlebnikov
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 page-mapping-flags. This function has no protection against anonymous pages. As result it

Re: [PATCH v5 04/12] sched: Allow all archs to set the capacity_orig

2014-08-30 Thread Preeti U Murthy
Hi Vincent, On 08/26/2014 04:36 PM, Vincent Guittot wrote: capacity_orig is only changed for system with a SMT sched_domain level in order I think I had asked this before, but why only capacity_orig? The capacity of a group is also being updated the same way. This patch fixes the capacity of

Re: RTNL: assertion failed at net/ipv6/addrconf.c (1699)

2014-08-30 Thread Sabrina Dubroca
2014-08-30, 12:58:21 +0200, Sabrina Dubroca wrote: - pndisc_constructor, called from pneigh_lookup -- pneigh_lookup has ASSERT_RTNL(), but pneigh_lookup is called from ip6_forward and ndisc_recv_na Ah, these have creat = 0, so it's fine. I missed that earlier. Sorry for the

Re: [RFC 1/2] target: Add documentation on the target userspace pass-through driver

2014-08-30 Thread Richard W.M. Jones
On Tue, Jul 01, 2014 at 12:11:14PM -0700, Andy Grover wrote: Describes the driver and its interface to make it possible for user programs to back a LIO-exported LUN. Signed-off-by: Andy Grover agro...@redhat.com --- Documentation/target/tcmu-design.txt | 210

[PATCH] pinctrl: adi2: Remove duplicate gpiochip_remove_pin_ranges from remove function

2014-08-30 Thread Pramod Gurav
This patch removes call to gpiochip_remove_pin_ranges() from platform_driver remove function as it will anway be called by gpiochip_remove(). CC: Sonic Zhang sonic.zh...@analog.com CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Pramod Gurav pramod.gu...@smartplayin.com ---

Re: [RFC PATCH v4] tpm_tis: verify interrupt during init

2014-08-30 Thread Jason Gunthorpe
On Fri, Aug 29, 2014 at 11:59:32PM +, Scot Doyle wrote: (current-pending.signal.sig[0] == 0x0100 == SIGKILL?) about 30 seconds after module load begins. wait_for_tpm_stat sees that the return value from wait_event_interruptible_timeout is positive and returns 0. tpm_tis_send thinks

Re: [PATCH v5 08/12] sched: move cfs task on a CPU with higher capacity

2014-08-30 Thread Preeti U Murthy
Hi Vincent, On 08/26/2014 04:36 PM, Vincent Guittot wrote: If the CPU is used for handling lot of IRQs, trig a load balance to check if it's worth moving its tasks on another CPU that has more capacity. As a sidenote, this will note generate more spurious ilb because we already trig an ilb

Re: [PATCH/RFC 2/2] lib: string: Make all calls to strnicmp into calls to strncasecmp

2014-08-30 Thread Rasmus Villemoes
On Wed, Aug 27 2014, Dan Carpenter dan.carpen...@oracle.com wrote: On Wed, Aug 27, 2014 at 11:13:16AM +0200, Rasmus Villemoes wrote: Anyway, I was also planning on sending tree-wide patches doing s/strnicmp/strncasecmp/, and then removing the hack from string.h, but I first wanted to get

[PATCH] Staging: nokia_h4p: nokia_fw: remove extra return

2014-08-30 Thread Andrew Plummer
Remove empty return at end of function. Signed-off-by: Andrew Plummer plummer...@gmail.com --- drivers/staging/nokia_h4p/nokia_fw.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/nokia_h4p/nokia_fw.c b/drivers/staging/nokia_h4p/nokia_fw.c index 14ba219..18953ae 100644 ---

[PATCH] Staging: rtl8821ae: hal_bt_coexist: fix coding style issue

2014-08-30 Thread An Ha
Fix coding style issues, these changes include: -Add space between if and brackets -Add space after comma in an argument -Add space between equal sign to separate the variable and the assignment -Remove unnecessary curly braces around one-line if statements -Remove unnecessary whitespace between

Re: [PATCH 2/2] rockchip-i2s: add power setting for I2S controller, also fix some bugs

2014-08-30 Thread Mark Brown
On Fri, Aug 29, 2014 at 03:09:56PM -0700, Jianqun wrote: changes: * add snd_soc_dai_init_dma_data * fix duplicated argument to I2S_DMACR_TDE_DISABLE * set 1.8v or 3.3v power for I2S controller by GRF interface * enable hclk always * dma maxburst change to 16 Requested on RK3XXX I2S

[PATCH] Staging: emxx_udc: emxx_udc: remove spaces before semicolons

2014-08-30 Thread Andrew Plummer
Remove spaces before semicolons to remove checkpatch warnings. Signed-off-by: Andrew Plummer plummer...@gmail.com --- drivers/staging/emxx_udc/emxx_udc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c

Re: [PATCH 09/10] lustre: Add MAINTAINERS entry

2014-08-30 Thread Greg Kroah-Hartman
On Sun, Aug 17, 2014 at 12:47:57PM -0400, Oleg Drokin wrote: On Aug 17, 2014, at 12:37 PM, Greg Kroah-Hartman wrote: On Fri, Aug 15, 2014 at 12:48:14PM -0400, Oleg Drokin wrote: Just add the entry with some info. Signed-off-by: Oleg Drokin gr...@linuxhacker.ru --- MAINTAINERS | 8

Re: [PATCH 0/2] rockchip-i2s: add power setting for I2S controller and fix some critical bugs

2014-08-30 Thread Heiko Stübner
Am Freitag, 29. August 2014, 21:30:43 schrieb Doug Anderson: Jianqun, On Fri, Aug 29, 2014 at 3:07 PM, Jianqun jay...@rock-chips.com wrote: Add optional power setting for i2s controller found on rk3066, rk3168 and rk3288 processors from rockchip, should according to hardware design.

Re: [PATCH] staging: lustre: lustre: ptlrpc: Fix space required

2014-08-30 Thread Greg KH
On Thu, Aug 21, 2014 at 06:59:07PM +0530, Hema Prathaban wrote: This patch fixes the checkpatch.pl issue Error: Required space after '+' ',' '=' '(' ' if' Signed-off-by: Hema Prathaban hemakl...@gmail.com --- drivers/staging/lustre/lustre/ptlrpc/client.c | 2 +-

Re: [PATCH 1/2] jsm: add support for additional Neo cards

2014-08-30 Thread Greg KH
On Sat, Aug 30, 2014 at 02:54:36PM -0400, wf...@worldbroken.com wrote: From: Bill Pemberton wf...@worldbroken.com Add device ids for additional Neo cards. The ids come from the dgnc driver. Signed-off-by: Bill Pemberton wf...@worldbroken.com --- drivers/tty/serial/jsm/jsm_driver.c | 38

Re: [PATCH] staging: fix style in lustre_import.h

2014-08-30 Thread Greg KH
On Fri, Aug 22, 2014 at 07:57:40PM -0400, Spencer Baugh wrote: This patch fixes style errors and warnings reported by scripts/checkpatch.pl Which errors and warnings does it fix? Please always be specific. And only do one type of fix per patch, you do a few different ones here, right? Can

[PATCH 0/2] Move Digi Neo card support from dgnc to jsm

2014-08-30 Thread wfp5p
From: Bill Pemberton wf...@worldbroken.com The jsm driver (drivers/tty/serial/jsm) already supports the Digi Neo cards that dgnc (staging) supports. In fact, it appears that jsm was based on dgnc. The dgnc driver has PCI ids for more cards than jsm, this patch moves support for all the Neo

[PATCH 1/2] jsm: add support for additional Neo cards

2014-08-30 Thread wfp5p
From: Bill Pemberton wf...@worldbroken.com Add device ids for additional Neo cards. The ids come from the dgnc driver. Signed-off-by: Bill Pemberton wf...@worldbroken.com --- drivers/tty/serial/jsm/jsm_driver.c | 38 + include/linux/pci_ids.h |

[PATCH 2/2] staging: dgnc: remove Neo card ids from device table

2014-08-30 Thread wfp5p
From: Bill Pemberton wf...@worldbroken.com The Digi Neo cards are supported by the jsm driver. Remove support for these cards from dgnc. Signed-off-by: Bill Pemberton wf...@worldbroken.com --- drivers/staging/dgnc/dgnc_driver.c | 13 - 1 file changed, 13 deletions(-) diff --git

Re: [PATCH 00/11] staging/lustre flatten some headers

2014-08-30 Thread Greg KH
On Thu, Aug 28, 2014 at 06:35:08PM -0500, John L. Hammond wrote: This series removes several headers from lustre/include/linux by taking whatever was worthwhile from linux/lustre_barf.h and moving it to lustre_barf.h or to wherever it's needed. Very nice, all now applied, thanks. greg k-h --

Re: [PATCHv1 2/4] staging:lustre:lnet: lib-md.c delete space before '(' for code style

2014-08-30 Thread Greg KH
On Sat, Aug 30, 2014 at 02:56:09PM +0800, Janet Liu wrote: Silences the following checkpatch warning: WARNING: space prohibited between function name and open parenthesis '(' Signed-off-by: Janet Liu jianhua@gmail.com --- drivers/staging/lustre/lnet/lnet/lib-md.c | 18

Re: [PATCHv1 3/4] staging:lustre:lnet: lib-md.c erase C99 // comments

2014-08-30 Thread Greg KH
On Sat, Aug 30, 2014 at 02:57:33PM +0800, Janet Liu wrote: After changing the comments format, the other error disappears. So silences two checkpatch errors: ERROR: do not use C99 // comments ERROR: trailing statements should be on next line Signed-off-by: Janet Liu

[PATCH] staging: netlogic: fixed checkpatch.pl styling warnings

2014-08-30 Thread Ramon Fried
This patch fixes the following checkpatch.pl warnings: WARNING: Possible unnecessary 'out of memory' message #146: FILE: ./xlr_net.c:146: + if (!skb) { + pr_err(SKB allocation failed\n); WARNING: Missing a blank line after declarations #1107: FILE: ./xlr_net.c:1107: +

Re: [PATCH v6 2/2] dt-bindings: document Rockchip saradc

2014-08-30 Thread Jonathan Cameron
On 30/08/14 13:41, Heiko Stübner wrote: Am Donnerstag, 7. August 2014, 15:15:52 schrieb Jonathan Cameron: On 23/07/14 22:24, Heiko Stübner wrote: This add the necessary binding documentation for the saradc found in all recent processors from Rockchip. Signed-off-by: Heiko Stuebner

Re: [PATCH 1/2] jsm: add support for additional Neo cards

2014-08-30 Thread Bill Pemberton
On 08/30/2014 02:59 PM, Greg KH wrote: On Sat, Aug 30, 2014 at 02:54:36PM -0400, wf...@worldbroken.com wrote: From: Bill Pemberton wf...@worldbroken.com Add device ids for additional Neo cards. The ids come from the dgnc driver. Signed-off-by: Bill Pemberton wf...@worldbroken.com ---

Re: [PATCH] iio: accel: kxcjk-1013: add support for kxcj9-1008

2014-08-30 Thread Jonathan Cameron
On 30/08/14 12:44, Daniel Baluta wrote: On Tue, Aug 19, 2014 at 6:25 PM, Daniel Baluta daniel.bal...@intel.com wrote: This patch adds support for KXCJ9-1008 3-axis acceleromenter sensor. KXCJ9-1008 uses the same register definitions as KXCJK-1013. The specification for KXCJ9-1008 can be

Re: [PATCH] Staging: nokia_h4p: nokia_fw: remove extra return

2014-08-30 Thread Greg KH
On Sat, Aug 30, 2014 at 07:14:51PM +0100, Andrew Plummer wrote: Remove empty return at end of function. Signed-off-by: Andrew Plummer plummer...@gmail.com --- drivers/staging/nokia_h4p/nokia_fw.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/nokia_h4p/nokia_fw.c

[PATCH] staging: lustre: adjust spacing within pointer casts

2014-08-30 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 @@ type T; expression e; @@ ( - T * + T * ) e // /smpl This semantic patch just removes the cast and adds it back, but when it does so, it follows the spacing

Re: [PATCH] iio: adc: rockchip_saradc: add support for rk3066-tsadc variant

2014-08-30 Thread Jonathan Cameron
On 30/08/14 14:07, Heiko Stübner wrote: Older Rockchip SoCs, at least the rk3066, used a slightly modified saradc for temperature measurements. This so called tsadc does not contain any active parts like temperature interrupts and only supports polling the current temperature. The returned

Re: [PATCH 3/8] staging: et131x: Use for loop to initialise contiguous registers to zero

2014-08-30 Thread Greg KH
On Wed, Aug 20, 2014 at 11:17:53PM +0100, Mark Einon wrote: Replace a long list of contiguous writel() calls with a for loop iterating over the same values. Signed-off-by: Mark Einon mark.ei...@gmail.com --- drivers/staging/et131x/et131x.c | 27 +++ 1 file changed,

[Patch v2 1/2] jsm: add support for additional Neo cards

2014-08-30 Thread wfp5p
From: Bill Pemberton wf...@worldbroken.com Add device ids for additional Neo cards. The ids come from the dgnc driver. Signed-off-by: Bill Pemberton wf...@worldbroken.com --- drivers/tty/serial/jsm/jsm.h| 10 ++ drivers/tty/serial/jsm/jsm_driver.c | 38

Re: [PATCH] iio: adc: rockchip_saradc: add support for rk3066-tsadc variant

2014-08-30 Thread Heiko Stübner
Am Samstag, 30. August 2014, 21:15:53 schrieb Jonathan Cameron: On 30/08/14 14:07, Heiko Stübner wrote: Older Rockchip SoCs, at least the rk3066, used a slightly modified saradc for temperature measurements. This so called tsadc does not contain any active parts like temperature interrupts

[Patch v2 0/2] Move Digi Neo card support from dgnc to jsm

2014-08-30 Thread wfp5p
From: Bill Pemberton wf...@worldbroken.com The jsm driver (drivers/tty/serial/jsm) already supports the Digi Neo cards that dgnc (staging) supports. In fact, it appears that jsm was based on dgnc. The dgnc driver has PCI ids for more cards than jsm, this patch moves support for all the Neo

[Patch v2 2/2] staging: dgnc: remove Neo card ids from device table

2014-08-30 Thread wfp5p
From: Bill Pemberton wf...@worldbroken.com The Digi Neo cards are supported by the jsm driver. Remove support for these cards from dgnc. Signed-off-by: Bill Pemberton wf...@worldbroken.com --- drivers/staging/dgnc/dgnc_driver.c | 13 - 1 file changed, 13 deletions(-) diff --git

Re: [PATCH 1/4] staging: rtl8188eu: os_intfs.c

2014-08-30 Thread Greg KH
Your subject does not say what is going on in this patch, only the file being modified :( On Fri, Aug 22, 2014 at 11:32:38AM +0100, Miguel Oliveira wrote: void rtw_proc_remove_one(struct net_device *dev) { } void rtw_proc_init_one(struct net_device *dev) /* TODO: Convert these to /sys */

Re: [PATCH 2/4] staging: rtl8188eu: rtw_debug.c

2014-08-30 Thread Greg KH
On Fri, Aug 22, 2014 at 11:33:20AM +0100, Miguel Oliveira wrote: Convert all rtw_proc_xxx references to rtw_sys_xxx Again, your subject: is not understandable. And what are you doing here? Code with 62 WARNING: line over 80 characters, I'll write another patch to clean the whole file. What

Re: [PATCH 3/4] staging: rtl8188eu: osdep_intf.h and usb_intf.c

2014-08-30 Thread Greg KH
On Fri, Aug 22, 2014 at 11:33:37AM +0100, Miguel Oliveira wrote: Convert all rtw_proc_xxx references to rtw_sys_xxx in files include/osdep_intf.h and os_dep/usb_intf.c Same comments as the previous ones, please redo all of these patches. greg k-h -- To unsubscribe from this list: send the line

Re: [PATCH 4/4] staging: rtl8188eu: rtw_debug.h

2014-08-30 Thread Greg KH
On Fri, Aug 22, 2014 at 11:33:52AM +0100, Miguel Oliveira wrote: Convert all rtw_proc_xxx references to rtw_sys_xxx in file include/rtw_debug.h That's interesting, but: Signed-off-by: Miguel Oliveira cmro...@gmail.com --- drivers/staging/rtl8188eu/include/rtw_debug.h | 227

Re: [PATCH] rtl8188eu: Replace rcu_dereference() with rcu_access_pointer()

2014-08-30 Thread Greg KH
On Sun, Aug 17, 2014 at 02:43:37PM +0300, Andreea-Cristina Bernat wrote: The rcu_dereference() call is used directly in a condition. Since its return value is never dereferenced it is recommended to use rcu_access_pointer() instead of rcu_dereference(). Therefore, this patch makes the

Re: [PATCH 03/20] staging: rtl8188eu: Rework function PHY_QueryBBReg()

2014-08-30 Thread Greg KH
On Sat, Aug 23, 2014 at 07:48:24PM +0530, navin patidar wrote: Rename CamelCase variables and function name. Signed-off-by: navin patidar navin.pati...@gmail.com This patch fails to apply: checking file drivers/staging/rtl8188eu/hal/HalHWImg8188E_RF.c checking file

scsi_debug module deadlock on 3.17-rc2

2014-08-30 Thread Milan Broz
Hi, I am using scsi_debug in cryptsetup testsuite and with recent 3.17-rc kernel it deadlocks on rmmod of scsi_debug module. For me even this simple reproducer causes deadlock: modprobe scsi_debug dev_size_mb=16 sector_size=512 num_tgts=1 DEV=/dev/$(grep -l -e scsi_debug

<    1   2   3   4   >