Re: console: lockup on boot

2014-07-08 Thread Peter Zijlstra
On Thu, Jun 12, 2014 at 10:54:22AM +0200, Mike Galbraith wrote: > On Thu, 2014-06-12 at 10:26 +0200, Jan Kara wrote: > > On Wed 11-06-14 23:07:04, Sasha Levin wrote: > > > > The first patch fixed it (I assumed that there's no need to try the > > > second). > > Good. So that shows that it is th

Re: [PATCH 6/9] ARM: tegra: Export tegra_powergate_power_on

2014-07-08 Thread Thierry Reding
On Mon, Jun 23, 2014 at 01:14:42PM +0300, Peter De Schrijver wrote: > On Thu, Jun 19, 2014 at 06:01:47PM +0200, Stephen Warren wrote: > > On 06/19/2014 02:02 AM, Peter De Schrijver wrote: > > > On Wed, Jun 18, 2014 at 05:37:54PM +0200, Stephen Warren wrote: > > >> On 06/18/2014 06:18 AM, Peter De S

Re: [PATCH 01/11] fs: add O_BENEATH_ONLY flag to openat(2)

2014-07-08 Thread Meredydd Luff
On 8 July 2014 13:51, Christoph Hellwig wrote: > Yeah, it won't work for an explicit directory - I was thinking of > working relative to $CWD. I think that would sacrifice far too much flexibility. Even without Capsicum, it would be worthwhile to be able to wire up a static seccomp-bpf filter to

Re: [dm-devel] [PATCH] blk-lib: fix error reporting

2014-07-08 Thread Mikulas Patocka
On Tue, 8 Jul 2014, Christoph Hellwig wrote: > > + if (unlikely(err)) > > + ACCESS_ONCE(bb->error) = err; > > I can't see a reason for the ACCESS_ONCE here. Multiple bios can be completed concurrently, so they write bb->error at the same time. The compiler may do store tearing (se

Re: [PATCH v9] video: ARM CLCD: Add DT support

2014-07-08 Thread Pawel Moll
On Tue, 2014-06-24 at 12:55 +0100, Pawel Moll wrote: > This patch adds basic DT bindings for the PL11x CLCD cells > and make their fbdev driver use them. > > Signed-off-by: Pawel Moll As two weeks passed without any further comment, I'm assuming that there are no more obstacles for this patch to

Re: [PATCH RESEND] clk: samsung: Make of_device_id array const

2014-07-08 Thread Tomasz Figa
Hi Krzysztof, On 26.06.2014 14:00, Krzysztof Kozlowski wrote: > Array of struct of_device_id may be be const as expected by > of_match_table field and of_find_matching_node_and_match() function. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/clk/samsung/clk-exynos4.c| 2 +- > driver

[PATCH] USB: ftdi_sio: Add extra PID.

2014-07-08 Thread Bert Vermeulen
This patch adds PID 0x0003 to the VID 0x128d (Testo). At least the Testo 435-4 uses this, likely other gear as well. Signed-off-by: Bert Vermeulen --- drivers/usb/serial/ftdi_sio.c | 3 ++- drivers/usb/serial/ftdi_sio_ids.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --gi

Re: [PATCH 0/9] Serial ATA support for NVIDIA Tegra124

2014-07-08 Thread Thierry Reding
On Mon, Jun 09, 2014 at 09:49:24PM +0300, Mikko Perttunen wrote: > On 06/09/2014 09:33 PM, Stephen Warren wrote: > >On 06/06/2014 12:27 AM, Mikko Perttunen wrote: > >>The only compile-time dependencies here should be that: > >>- patch 8 of 9 which contains the actual driver depends on patch 6 of 9

Re: [RFC PATCH 2/2] ACPI/Wakup: Enable button wakeup GPEs if these GPEs have associated GPE methods.

2014-07-08 Thread Rafael J. Wysocki
On Tuesday, July 08, 2014 02:57:58 PM Lan Tianyu wrote: > The button wakeup GPEs are enabled unconditionally in the current world by > commit 2a5d24(ACPI / Wakeup: Enable button GPEs unconditionally during > initialization). Because button's GPE methods needs to be run to clear > GPE status on some

Re: fs/stat: Reduce memory requirements for stat_open

2014-07-08 Thread Peter Zijlstra
On Thu, Jun 12, 2014 at 03:00:17PM +0200, Stefan Bader wrote: > When reading from /proc/stat we allocate a large buffer to maximise > the chances of the results being from a single run and thus internally > consistent. This currently is sized at 128 * num_possible_cpus() which, > in the face of ke

[PATCH] thermal: exynos: fix ordering in exynos_tmu_remove()

2014-07-08 Thread Bartlomiej Zolnierkiewicz
It might not be a problem currently but unregister/uninitialize things in the reverse order that they are registered/initialized. Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Kyungmin Park --- drivers/thermal/samsung/exynos_tmu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH 01/11] fs: add O_BENEATH_ONLY flag to openat(2)

2014-07-08 Thread Christoph Hellwig
On Tue, Jul 08, 2014 at 02:04:45PM +0100, Meredydd Luff wrote: > On 8 July 2014 13:51, Christoph Hellwig wrote: > > Yeah, it won't work for an explicit directory - I was thinking of > > working relative to $CWD. > > I think that would sacrifice far too much flexibility. Even without > Capsicum, i

Re: [PATCH 3.4 00/44] 3.4.98-stable review

2014-07-08 Thread Guenter Roeck
On 07/07/2014 05:06 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.98 release. There are 44 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

Re: [PATCH v9 1/7] phy: add a driver for the Berlin SATA PHY

2014-07-08 Thread Kishon Vijay Abraham I
Hi, On Tuesday 08 July 2014 06:30 PM, Sebastian Hesselbarth wrote: > On 07/08/2014 02:29 PM, Kishon Vijay Abraham I wrote: >> On Monday 07 July 2014 03:46 PM, Antoine Ténart wrote: >>> The Berlin SoC has a two SATA ports. Add a PHY driver to handle them. >>> >>> The mode selection can let us think

[PATCH 0/7] KEYS: PKCS#7 asymmetric key parser

2014-07-08 Thread David Howells
nt into the key. They can be found on this branch also: http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-modsign.git/log/?h=pkcs7 and are tagged with: keys-pkcs7-20140708 David --- David Howells (7): X.509: Export certificate parse and free functions PKCS

[PATCH2/7] PKCS#7: Implement a parser [RFC 2315]

2014-07-08 Thread David Howells
Implement a parser for a PKCS#7 signed-data message as described in part of RFC 2315. Signed-off-by: David Howells Acked-by: Vivek Goyal Reviewed-by: Kees Cook --- crypto/asymmetric_keys/Kconfig|9 + crypto/asymmetric_keys/Makefile | 13 + crypto/asymmetric_keys/pkcs7.asn1

[PATCH7/7] PKCS#7: Provide a key type for testing PKCS#7

2014-07-08 Thread David Howells
Provide a key type for testing the PKCS#7 parser. It is given a non-detached PKCS#7 message as payload: keyctl padd pkcs7_test a @s out stuff.txt: echo "The quick red fox jumped over the lazy brown dog" >stuff.txt certs: key1.x509 key2.x509 key3.x509 key4.x509 cat key{1,

[PATCH4/7] PKCS#7: Find the right key in the PKCS#7 key list and verify the signature

2014-07-08 Thread David Howells
Find the appropriate key in the PKCS#7 key list and verify the signature with it. There may be several keys in there forming a chain. Any link in that chain or the root of that chain may be in our keyrings. Signed-off-by: David Howells Acked-by: Vivek Goyal Reviewed-by: Kees Cook --- crypto

[PATCH3/7] PKCS#7: Digest the data in a signed-data message

2014-07-08 Thread David Howells
Digest the data in a PKCS#7 signed-data message and attach to the public_key_signature struct contained in the pkcs7_message struct. Signed-off-by: David Howells Acked-by: Vivek Goyal Reviewed-by: Kees Cook --- crypto/asymmetric_keys/Makefile |3 - crypto/asymmetric_keys/pkcs7_verif

[PATCH6/7] PKCS#7: Find intersection between PKCS#7 message and known, trusted keys

2014-07-08 Thread David Howells
Find the intersection between the X.509 certificate chain contained in a PKCS#7 message and a set of keys that we already know and trust. Signed-off-by: David Howells Acked-by: Vivek Goyal Reviewed-by: Kees Cook --- crypto/asymmetric_keys/Makefile |1 crypto/asymmetric_keys/pkcs7_tr

[PATCH5/7] PKCS#7: Verify internal certificate chain

2014-07-08 Thread David Howells
Verify certificate chain in the X.509 certificates contained within the PKCS#7 message as far as possible. If any signature that we should be able to verify fails, we reject the whole lot. Signed-off-by: David Howells Acked-by: Vivek Goyal Reviewed-by: Kees Cook --- crypto/asymmetric_keys/pk

mm: shmem: WARNING: CPU: 1 PID: 8994 at mm/shmem.c:594 shmem_evict_inode+0x123/0x150()

2014-07-08 Thread Sasha Levin
being triggered :) [ 297.375500] WARNING: CPU: 1 PID: 8994 at mm/shmem.c:594 shmem_evict_inode+0x123/0x150() [ 297.380368] Modules linked in: [ 297.381370] CPU: 1 PID: 8994 Comm: trinity-c84 Not tainted 3.16.0-rc4-next-20140708-sasha-00022-g94c7290-dirty #770 [ 297.384668] 000

[PATCH1/7] X.509: Export certificate parse and free functions

2014-07-08 Thread David Howells
Export certificate parse and free functions for use by modules. Signed-off-by: David Howells Acked-by: Vivek Goyal Reviewed-by: Kees Cook Reviewed-by: Josh Boyer --- crypto/asymmetric_keys/x509_cert_parser.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/crypto/asymmetric_keys/x5

Re: [PATCH 2/3] PCI: designware: use untranslated address while programming ATU

2014-07-08 Thread Jingoo Han
On Tuesday, July 08, 2014 9:31 PM, Kishon Vijay Abraham I wrote: > > Hi Mohit, Jingoo, > > On Wednesday 25 June 2014 11:26 PM, Kishon Vijay Abraham I wrote: > > In DRA7, the cpu sees 32bit address, but the pcie controller can see only > > 28bit > > address. So whenever the cpu issues a read/writ

[Re-send PATCH 1/1] arm: dra7xx: Add hwmod data for MDIO and CPSW

2014-07-08 Thread Mugunthan V N
Adding hwmod data for CPSW and MDIO which is present in DRA7xx SoC Cc: Rajendra Nayak Cc: Tony Lindgren Cc: Russell King Cc: Paul Walmsley Signed-off-by: Mugunthan V N --- This patch was already send twice on 2013-10-18 and 2014-05-13. Adding more people in Cc to review the patch. --- arch

Re: [PATCH 3.10 00/53] 3.10.48-stable review

2014-07-08 Thread Guenter Roeck
On 07/07/2014 04:57 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.48 release. There are 53 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH RFC tip/core/rcu] Parallelize and economize NOCB kthread wakeups

2014-07-08 Thread Paul E. McKenney
On Thu, Jul 03, 2014 at 11:50:09AM +0200, Peter Zijlstra wrote: > On Wed, Jul 02, 2014 at 10:55:01AM -0700, Paul E. McKenney wrote: > > Name me one thing that isn't annoying. ;-) > > A cold beverage on a warm day :-) Fair point... Not clear how to work that into the RCU implementation, though.

Re: [PATCH v2 2/5] staging:iio:hmc5843: Split hmc5843.c to multiple files

2014-07-08 Thread Josef Gajdusek
On Tue, Jul 08, 2014 at 11:23:51AM +0300, Dan Carpenter wrote: > When you compare the old and new versions of hmc5843_read_raw() then it > appears there is a bug fix or something which hasn't been documentented > in the changelog. > > > -static int hmc5843_read_raw(struct iio_dev *indio_dev, > > -

[PATCH 11/15] irqchip: sun4i: convert to handle_domain_irq

2014-07-08 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-sun4i.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-sun4i.c b/drivers/irqchip/irq-sun4i.c index 6fcef4a..64155b6 100644 --- a/drivers/ir

Re: [PATCH 0/2] crypto: qce: fix few sparse warnings

2014-07-08 Thread Herbert Xu
On Fri, Jul 04, 2014 at 05:03:28PM +0300, Stanimir Varbanov wrote: > Hi Herbert, > > Here are sparse fixes for Qualcomm crypto driver reported here [1]. > The patches are based on cryptodev-2.6 tree. All applied. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http

[PATCH 15/15] irqchip: zevio: convert to handle_domain_irq

2014-07-08 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-zevio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-zevio.c b/drivers/irqchip/irq-zevio.c index ceb3a43..1b7c67d 100644 --- a/drivers/irqch

Re: [PATCH v3 3/5] PCI: designware: refactor host init code to re-use on keystone PCI

2014-07-08 Thread Murali Karicheri
Mohit, Jingoo, Thanks for the Ack for 1/5 and 2/5 of this series. Could you also review 3/5 and 4/5 of this series and provide your Ack or comments at the earliest. Thanks and regards, Murali On 06/30/2014 05:45 PM, Murali Karicheri wrote: This patch refactor the host controller init code

Re: [PATCH v2 6/7] ata: Add support for the Tegra124 SATA controller

2014-07-08 Thread Tejun Heo
(cc'ing Hans) Hans, can you please review this patch? On Wed, Jun 18, 2014 at 05:23:25PM +0300, Mikko Perttunen wrote: > +#define SATA_CONFIGURATION_0 0x180 > +#define SATA_CONFIGURATION_EN_FPCI BIT(0) Let's just indent uniformly. The new line s

RE: [PATCH 2/6] ARM: EXYNOS: Fix core ID used by platsmp and hotplug code

2014-07-08 Thread Kukjin Kim
Tomasz Figa wrote: > > When CPU topology is specified in device tree, cpu_logical_map() does > not return core ID anymore, but rather full MPIDR value. This breaks > existing calculation of PMU register offsets on Exynos SoCs. > > This patch fixes the problem by adjusting the code to use only cor

Re: [PATCH 0/6] DRBG: Rebasing unapplied patches

2014-07-08 Thread Herbert Xu
On Sun, Jul 06, 2014 at 02:22:29AM +0200, Stephan Mueller wrote: > Hi, > > This patchset superseeds the patch sets submitted with [1] and [2]. It > rebases all non-applied patches to the current Herbert Xu's > cryptodev-2.6 tree. > > [1] https://lkml.org/lkml/2014/6/28/497 > [2] https://lkml.org/

Re: [PATCH 3.14 00/94] 3.14.12-stable review

2014-07-08 Thread Guenter Roeck
On 07/07/2014 04:56 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.14.12 release. There are 94 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH v3 4/5] PCI: designware: enhance dw core driver to support Keystone PCI host controller

2014-07-08 Thread Murali Karicheri
On 06/30/2014 05:45 PM, Murali Karicheri wrote: Add API dw_pcie_v3_65_host_init() to support host controller initialization for Keystone PCI driver. The Keystone PCI uses v3.65 version of the DW hardware identified by compatibility string "dw,snps-pcie-v3.65". This allow for different treatment f

[PATCH 06/15] irqchip: mmp: convert to handle_domain_irq

2014-07-08 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-mmp.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/irqchip/irq-mmp.c b/drivers/irqchip/irq-mmp.c index 1c3e2c9..c0da57b 100644 --- a/drivers/ir

[PATCH 00/15] arm/arm64: fix use of irq_find_mapping outside of legal RCU context

2014-07-08 Thread Marc Zyngier
A number of irqchip drivers are directly calling irq_find_mapping, which may use a rcu_read_lock call when walking the radix tree. Turns out that if you hit that point with CONFIG_PROVE_RCU enabled, the kernel will shout at you, as using RCU in this context may be illegal (specially if coming from

[PATCH 02/15] ARM: pass IRQ domain to the core IRQ handler

2014-07-08 Thread Marc Zyngier
Calling irq_find_mapping from outside a irq_{enter,exit} section is unsafe and produces ugly messages if CONFIG_PROVE_RCU is enabled: If coming from the idle state, the rcu_read_lock call in irq_find_mapping will generate an an unpleasant warning. A solution is to add a new handle_domain_irq entry

[PATCH 12/15] irqchip: versatile-fpga: convert to handle_domain_irq

2014-07-08 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-versatile-fpga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-versatile-fpga.c b/drivers/irqchip/irq-versatile-fpga.c index 3ae2bb8..73085b7

[PATCH 08/15] irqchip: orion: convert to handle_domain_irq

2014-07-08 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-orion.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-orion.c b/drivers/irqchip/irq-orion.c index 34d18b4..ad0c0f6 100644 --- a/drivers/ir

[PATCH 04/15] irqchip: armada-370-xp: convert to handle_domain_irq

2014-07-08 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-armada-370-xp.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/irqchip/irq-armada-370-xp.c b/drivers/irqchip/irq-armada-370-xp.c index

Re: [PATCH 3.15 000/122] 3.15.5-stable review

2014-07-08 Thread Guenter Roeck
On 07/07/2014 04:56 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.15.5 release. There are 122 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH v3 5/5] PCI: add PCI controller for Keystone PCIe h/w

2014-07-08 Thread Murali Karicheri
On 06/30/2014 05:45 PM, Murali Karicheri wrote: Keystone PCIe controller is based on v3.65 version of the designware h/w. Main differences are 1. No ATU support 2. Legacy and MSI irq functions are implemented in application register space 3. MSI interrupts are m

[PATCH 07/15] irqchip: mxs: convert to handle_domain_irq

2014-07-08 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-mxs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-mxs.c b/drivers/irqchip/irq-mxs.c index 4044ff2..e4acf1e 100644 --- a/drivers/irqchip/irq

[PATCH 10/15] irqchip: sirfsoc: convert to handle_domain_irq

2014-07-08 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-sirfsoc.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/irqchip/irq-sirfsoc.c b/drivers/irqchip/irq-sirfsoc.c index 5e54f6d..a469355 100644 --- a/dri

[PATCH 01/15] arm64: pass IRQ domain to the core IRQ handler

2014-07-08 Thread Marc Zyngier
Calling irq_find_mapping from outside a irq_{enter,exit} section is unsafe and produces ugly messages if CONFIG_PROVE_RCU is enabled: If coming from the idle state, the rcu_read_lock call in irq_find_mapping will generate an an unpleasant warning: === [ INFO: suspiciou

[PATCH 09/15] irqchip: s3c24xx: convert to handle_domain_irq

2014-07-08 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-s3c24xx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-s3c24xx.c b/drivers/irqchip/irq-s3c24xx.c index 78a6acc..c8d373f 100644 --- a/driver

[PATCH 03/15] irqchip: GIC: convert to handle_domain_irq

2014-07-08 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c index 7e11c9d..f1f09a7 100644 --- a/drivers/irqchip/irq

[PATCH 13/15] irqchip: vic: convert to handle_domain_irq

2014-07-08 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-vic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-vic.c b/drivers/irqchip/irq-vic.c index 7d35287..54089de 100644 --- a/drivers/irqchip/irq-v

[PATCH 05/15] irqchip: clps711x: convert to handle_domain_irq

2014-07-08 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-clps711x.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/irqchip/irq-clps711x.c b/drivers/irqchip/irq-clps711x.c index 33340dc..33127f1

[PATCH 14/15] irqchip: vt8500: convert to handle_domain_irq

2014-07-08 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-vt8500.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-vt8500.c b/drivers/irqchip/irq-vt8500.c index eb6e91e..b7af816 100644 --- a/drivers

Re: fs/stat: Reduce memory requirements for stat_open

2014-07-08 Thread Stefan Bader
On 08.07.2014 15:09, Peter Zijlstra wrote: > On Thu, Jun 12, 2014 at 03:00:17PM +0200, Stefan Bader wrote: >> When reading from /proc/stat we allocate a large buffer to maximise >> the chances of the results being from a single run and thus internally >> consistent. This currently is sized at 128

Re: [PATCH v3 3/5] PCI: designware: refactor host init code to re-use on keystone PCI

2014-07-08 Thread Jingoo Han
On Tuesday, July 08, 2014 10:21 PM, Murali Karicheri wrote: > > Mohit, Jingoo, > > Thanks for the Ack for 1/5 and 2/5 of this series. > > Could you also review 3/5 and 4/5 of this series and provide your Ack or > comments at the earliest. Sorry, I cannot review 3/5 and 4/5. For a few years, I

Fwd

2014-07-08 Thread Mr Yuen
Please I have a business that i will like to discuss with you. Mr Yuen -- 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 Please read the FAQ at htt

Re: [PATCH 0/9] Serial ATA support for NVIDIA Tegra124

2014-07-08 Thread Mikko Perttunen
On 08/07/14 16:08, Thierry Reding wrote: * PGP Signed by an unknown key On Mon, Jun 09, 2014 at 09:49:24PM +0300, Mikko Perttunen wrote: On 06/09/2014 09:33 PM, Stephen Warren wrote: On 06/06/2014 12:27 AM, Mikko Perttunen wrote: The only compile-time dependencies here should be that: - patch

Re: [PATCH v2 2/7] regulator: Add DT bindings for tps65218 PMIC regulators.

2014-07-08 Thread Felipe Balbi
On Tue, Jul 08, 2014 at 03:46:32PM +0530, Keerthy wrote: > Add DT bindings for tps65218 PMIC regulators. > > Signed-off-by: Keerthy Reviewed-by: Felipe Balbi > --- > > Changes in V2: > * Added dcdc3, dcdc5, dcdc6 compatible properties. > > .../devicetree/bindings/regulator/tps65218.txt

Re: [PATCH v2 1/7] mfd: Add DT bindings for tps65218 PMIC

2014-07-08 Thread Felipe Balbi
On Tue, Jul 08, 2014 at 03:46:31PM +0530, Keerthy wrote: > Add DT bindings for tps65218 PMIC > > Signed-off-by: Keerthy Reviewed-by: Felipe Balbi > --- > > Changes in V2: > * Added dcdc3, dcdc5, dcdc6 compatible properties. > > Documentation/devicetree/bindings/mfd/tps65218.txt | 89 >

[PATCH v3 0/5] staging:iio:hmc5843: Few adjustments and support for hmc5983

2014-07-08 Thread Josef Gajdusek
This patch series modifies the hmc5843 driver to support the hmc5983 i2c and spi interfaces. Josef Gajdusek (5): staging:iio:hmc5843: Added regmap support staging:iio:hmc5843: Split hmc5843.c to multiple files staging:iio:hmc5843: register <-> value arrays now can have different lengths

[PATCH v3 1/5] staging:iio:hmc5843: Added regmap support

2014-07-08 Thread Josef Gajdusek
This patch changes hmc5843.c to use regmap. This provides transparent caching to the code as well as abstraction necessary to add support for SPI-based hmc5983. Signed-off-by: Josef Gajdusek --- drivers/staging/iio/magnetometer/Kconfig | 1 + drivers/staging/iio/magnetometer/hmc5843.c | 140

Re: [PATCH v2 3/7] ARM: dts: AM43x: Add TPS65218 device tree nodes

2014-07-08 Thread Felipe Balbi
On Tue, Jul 08, 2014 at 03:46:33PM +0530, Keerthy wrote: > Add TPS65218 device tree nodes. i2c clock frequency setting > also added as part of tps65218 nodes addition. As i2c clock > enabling is required. > > Signed-off-by: Keerthy > --- > > Changes in V2: > * Added dcdc3, dcdc5, dcdc6 nodes.

Re: [PATCH v2 6/7] regulator: tps65218: Add get_voltage ops for dcdc5 and dcdc6

2014-07-08 Thread Felipe Balbi
On Tue, Jul 08, 2014 at 03:46:36PM +0530, Keerthy wrote: > Add get_voltage ops for dcdc5 and dcdc6. Both dcdc5 and 6 are fixed regulators > and hence return min_uV (or max_uV). > > Signed-off-by: Keerthy Reviewed-by: Felipe Balbi > --- > drivers/regulator/tps65218-regulator.c |9 +

Re: [PATCH v3 0/3] mm: introduce fincore() v3

2014-07-08 Thread Naoya Horiguchi
On Tue, Jul 08, 2014 at 05:16:18AM -0700, Christoph Hellwig wrote: > Still a hard NAK for exposing page flags in a syscall ABI. These are > way to volatile to go into an application interface. Is there any specific reason that exporting via syscall ABI is more volatile than exporting via procfs a

Re: [PATCH v2 5/7] ARM: dts: AM437x: Add TPS65218 device tree nodes

2014-07-08 Thread Felipe Balbi
On Tue, Jul 08, 2014 at 03:46:35PM +0530, Keerthy wrote: > Add TPS65218 device tree nodes. i2c clock frequency setting > also added as part of tps65218 nodes addition. As i2c clock > enabling is required. > > Signed-off-by: Keerthy > --- > > Changes in V2: > *Added dcdc3, dcdc5, dcdc6 nodes s

Re: [PATCH v2 6/7] ata: Add support for the Tegra124 SATA controller

2014-07-08 Thread Mikko Perttunen
Thanks, I'll fix these. On 08/07/14 16:22, Tejun Heo wrote: (cc'ing Hans) Hans, can you please review this patch? On Wed, Jun 18, 2014 at 05:23:25PM +0300, Mikko Perttunen wrote: +#define SATA_CONFIGURATION_0 0x180 +#defineSATA_CONFIGURATION_EN_FPCI

Re: [PATCH 2/4] MCS spinlocks: Convert osq lock to atomic_t to reduce overhead

2014-07-08 Thread Steven Rostedt
On Mon, 7 Jul 2014 11:50:17 -0700 Jason Low wrote: > The cancellable MCS spinlock is currently used to queue threads that are > doing optimistic spinning. It uses per-cpu nodes, where a thread obtaining > the lock would access and queue the local node corresponding to the CPU that > it's running

Re: [PATCH v9 3/7] ata: libahci: allow to use multiple PHYs

2014-07-08 Thread Tejun Heo
(Cc'ing Hans.) On Mon, Jul 07, 2014 at 12:16:09PM +0200, Antoine Ténart wrote: > @@ -482,6 +482,13 @@ void ahci_save_initial_config(struct device *dev, > port_map &= mask_port_map; > } > > + /* > + * If port_map was filled automatically when finding port sub-nodes, >

[PATCH v3 3/5] staging:iio:hmc5843: register <-> value arrays now can have different lengths

2014-07-08 Thread Josef Gajdusek
Changed structure of struct hmc5843_chip_info to include length of translation arrays. Code previously using #defined constant has been changed accordingly. This allows to integrate devices which do have different amounts of available rates/scales. Signed-off-by: Josef Gajdusek --- drivers/stagi

[ANNOUNCE] scsi patch queue tree updated

2014-07-08 Thread Christoph Hellwig
I've pushed out new version of the for-3.17 core and drivers trees: git://git.infradead.org/users/hch/scsi-queue.git core-for-3.17 git://git.infradead.org/users/hch/scsi-queue.git drivers-for-3.17 In the core tree the biggest news is the old target infrastructure removal, in addition a few wa

[PATCH v3 2/5] staging:iio:hmc5843: Split hmc5843.c to multiple files

2014-07-08 Thread Josef Gajdusek
This patch splits hmc5843.c to multiple files - the interface-agnostic hmc5843_core.c, i2c specific hmc5843_i2c.c and header file hmc5843.h. This is another step to add support of SPI-enabled hmc5983. Signed-off-by: Josef Gajdusek --- drivers/staging/iio/magnetometer/Kconfig| 16 +- dri

[PATCH v3 4/5] staging:iio:hmc5843: Add support for i2c hmc5983

2014-07-08 Thread Josef Gajdusek
This patch adds support for the hmc5983 i2c interface. This chip is almost identical to the hmc5883. The difference being added temperature compensation, additional available sample rate (220Hz) and an SPI interface. Signed-off-by: Josef Gajdusek --- drivers/staging/iio/magnetometer/Kconfig

Re: [PATCH 2/3] gpu: drm: Remove unnecessary parameter from drm_ht_remove_item()

2014-07-08 Thread Daniel Vetter
On Tue, Jul 08, 2014 at 01:40:44PM +0200, Thomas Hellstrom wrote: > On 07/08/2014 01:24 PM, Daniel Vetter wrote: > > On Tue, Jun 24, 2014 at 10:52:13PM +0100, Masaru Nomura wrote: > >> removed drm_open_hash from drm_ht_remove_item() as the parameter is > >> not used within the function. > >> > >> S

Re: [PATCH v2 4/7] ARM: dts: AM437x: Fix i2c nodes indentation

2014-07-08 Thread Felipe Balbi
On Tue, Jul 08, 2014 at 03:46:34PM +0530, Keerthy wrote: > Fix i2c nodes indentation. > > Signed-off-by: Keerthy Reviewed-by: Felipe Balbi > --- > arch/arm/boot/dts/am437x-gp-evm.dts | 13 ++--- > 1 file changed, 6 insertions(+), 7 deletions(-) > > diff --git a/arch/arm/boot/dts/am

Re: [PATCH v9 3/7] ata: libahci: allow to use multiple PHYs

2014-07-08 Thread Tejun Heo
One more thing. On Mon, Jul 07, 2014 at 12:16:09PM +0200, Antoine Ténart wrote: > This introduce a new way of defining SATA ports in the device tree, with > one port per sub-node. This as the advantage of allowing a per port > configuration. Because some ports may be accessible but disabled in the

[PATCH v3 5/5] staging:iio:hmc5843: Add support for spi hmc5983

2014-07-08 Thread Josef Gajdusek
This patch adds support for the hmc5983 spi interface. This chip is almost identical to the hmc5883. The difference being added temperature compensation, additional available sample rate (220Hz) and an SPI interface. Signed-off-by: Josef Gajdusek --- drivers/staging/iio/magnetometer/Kconfig

Re: [PATCH v2 0/9] Updated fence patch series

2014-07-08 Thread Daniel Vetter
On Mon, Jul 07, 2014 at 10:30:52AM -0700, Greg KH wrote: > On Mon, Jul 07, 2014 at 03:23:17PM +0200, Daniel Vetter wrote: > > On Wed, Jul 2, 2014 at 7:37 AM, Greg KH wrote: > > >> Android can expose fences to userspace. It's possible to make the new > > >> fence > > >> mechanism expose the same f

[PATCH v2 04/15] irqchip: armada-370-xp: convert to handle_domain_irq

2014-07-08 Thread Marc Zyngier
Use the new handle_domain_irq method to handle interrupts. Signed-off-by: Marc Zyngier --- Sending the right patch this time... drivers/irqchip/irq-armada-370-xp.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/irqchip/irq-armada-370-xp.c b/dri

[PATCH v2 02/15] ARM: pass IRQ domain to the core IRQ handler

2014-07-08 Thread Marc Zyngier
Calling irq_find_mapping from outside a irq_{enter,exit} section is unsafe and produces ugly messages if CONFIG_PROVE_RCU is enabled: If coming from the idle state, the rcu_read_lock call in irq_find_mapping will generate an an unpleasant warning. A solution is to add a new handle_domain_irq entry

Re: [PATCH RFC tip/core/rcu] Parallelize and economize NOCB kthread wakeups

2014-07-08 Thread Paul E. McKenney
On Thu, Jul 03, 2014 at 03:12:17PM +0200, Peter Zijlstra wrote: > On Wed, Jul 02, 2014 at 10:55:01AM -0700, Paul E. McKenney wrote: > > On Wed, Jul 02, 2014 at 07:26:00PM +0200, Peter Zijlstra wrote: > > > On Wed, Jul 02, 2014 at 10:08:38AM -0700, Paul E. McKenney wrote: > > > > As were others, not

RE: [PATCH 4/6] ARM: SAMSUNG: Restore Samsung PM Debug functionality

2014-07-08 Thread Kukjin Kim
Tomasz Figa wrote: > > Due to recently merged patches and previous merge conflicts, the Samsung > PM Debug functionality no longer can be enabled. This patch fixes > incorrect dependency of SAMSUNG_PM_DEBUG on an integer symbol and adds > missing header inclusion. > Yes, you're right and it shoul

[PATCH] arch/score/kernel: Add 'score_ksyms.c' to export special symbols

2014-07-08 Thread Chen Gang
Some symbols are not implemented in C, or not in "arch/score", but score need export them, so add 'score_ksyms.c' to export them, just like other architectures have done. The related error (with allmodconfig under score): MODPOST 1365 modules ERROR: "__clear_user" [drivers/md/dm-mod.ko] unde

[GIT PULL] irqchip: core: Changes for v3.17 (round #2)

2014-07-08 Thread Jason Cooper
Thomas, Here's a round of changes for irq/core. These changes have been in -next for at least a week, and this is an incremental pull request from tags/irqchip-core-3.17 up to tags/irqchip-core-3.17-2 on the irqchip/core branch. The only thing unusual here is that I set up a topic branch for cro

Re: [PATCH 4/6] ARM: SAMSUNG: Restore Samsung PM Debug functionality

2014-07-08 Thread Tomasz Figa
On 08.07.2014 15:48, Kukjin Kim wrote: > Tomasz Figa wrote: >> >> Due to recently merged patches and previous merge conflicts, the Samsung >> PM Debug functionality no longer can be enabled. This patch fixes >> incorrect dependency of SAMSUNG_PM_DEBUG on an integer symbol and adds >> missing header

[PATCH] staging: rtl8192ee: Correct bitmask in comparsion

2014-07-08 Thread Andrey Utkin
The issue is discovered by static checker. The proposed change (0x000c0 -> 0x000c) is likely correct because: 1. 16-bit `map` holds value coming from struct ieee80211_vht_mcs_info.tx_mcs_map, which is described so: "TX MCS map 2 bits for each stream, total 8 streams". The changed code refers to cas

Re: [PATCH tip/core/rcu 14/17] rcu: remove CONFIG_PROVE_RCU_DELAY

2014-07-08 Thread Paul E. McKenney
On Tue, Jul 08, 2014 at 10:11:06AM +0200, Paul Bolle wrote: > Paul, > > On Mon, 2014-07-07 at 15:38 -0700, Paul E. McKenney wrote: > > The CONFIG_PROVE_RCU_DELAY Kconfig parameter doesn't appear to be very > > effective at finding race conditions, so this commit removes it. > > > > Signed-off-by:

[PATCH] Bluetooth: Add support for Acer [13D3:3432]

2014-07-08 Thread Anantha Krishnan
Add support for the QCA6174 chip. T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 30 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=13d3 ProdID=3432 Rev=00.02 C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon)

RE: [PATCH 5/6] ARM: EXYNOS: Fix suspend/resume sequencies

2014-07-08 Thread Kukjin Kim
Tomasz Figa wrote: > > Due to recent consolidation of Exynos suspend and cpuidle code, some > parts of suspend and resume sequences are executed two times, once from > exynos_pm_syscore_ops and then from exynos_cpu_pm_notifier() and thus it > breaks suspend, at least on Exynos4-based boards. > +

Questions About a Semi-Soft irqchip Device

2014-07-08 Thread Jon Loeliger
Folks, I have a few questions about an interrupt controller IP block that I would like to support in an ARM SoC port. My IP block provides software-assignable interrupts. That is, I have a large pool of interrupt sources, and a large pool of interrupt bits in the controller, but they are not phy

[PATCH] staging: ft1000-usb: check for errors in card_send_command

2014-07-08 Thread Andrey Utkin
kmalloc() result check was lacking. Fixing that required also changing card_send_command() return type from void to int, and checking its return code everywhere. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=78561 Reported-by: Maksymilian Arciemowicz Signed-off-by: Andrey Utkin --- driv

Re: [dm-devel] [PATCH] blk-lib: fix error reporting

2014-07-08 Thread James Bottomley
On Tue, 2014-07-08 at 09:05 -0400, Mikulas Patocka wrote: > > On Tue, 8 Jul 2014, Christoph Hellwig wrote: > > > > + if (unlikely(err)) > > > + ACCESS_ONCE(bb->error) = err; > > > > I can't see a reason for the ACCESS_ONCE here. > > Multiple bios can be completed concurrently, so they w

[PATCH] UBI: init_volumes: Ignore volumes with no LEBs

2014-07-08 Thread Richard Weinberger
UBI assumes that ubi_attach_info will only contain ubi_ainf_volume structures for volumes with at least one LEB. In scanning mode this is true because UBI can nicely create a ubi_ainf_volume on demand while creating the EBA table. For fastmap this is not true, the fastmap on-flash structure has a

Re: [workqueue] WARNING: CPU: 0 PID: 76 at drivers/block/floppy.c:968 schedule_bh()

2014-07-08 Thread Tejun Heo
(cc'ing Jiri) On Tue, Jul 08, 2014 at 10:11:49AM +0800, Fengguang Wu wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > commit b22ce2785d97423846206cceec4efee0c4afd980 > A

Re: [PATCH v2 0/4] Add support for Exynos clock output configuration

2014-07-08 Thread Tomasz Figa
On 03.07.2014 02:14, Mike Turquette wrote: > Quoting Kukjin Kim (2014-06-25 03:36:51) >> Tomasz Figa wrote: >>> >> Hi Tomasz, >> >>> On all Exynos SoCs there is a dedicated CLKOUT pin that allows many of >>> internal SoC clocks to be output from the SoC. The hardware structure >> >> Yeah, because t

Re: [PATCH] ARM: dts: Add I2S dt node for Exynos3250

2014-07-08 Thread Tomasz Figa
Hi Chanwoo, On 04.07.2014 11:18, Chanwoo Choi wrote: > Dear Kukjin and Tomasz, > > On 07/04/2014 05:05 PM, Tomasz Figa wrote: >> Hi Chanwoo, >> >> On 03.07.2014 09:52, Chanwoo Choi wrote: >>> From: Tomasz Figa >>> >>> This patch add I2S (Inter-IC Sound) dt node which supports 1-port stereo >>> (

[PATCH] [media] davinci-vpfe: Fix retcode check

2014-07-08 Thread Andrey Utkin
Use signed type to check correctly for negative error code. The issue was reported with static analyser: [linux-3.13/drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.c:270]: (style) A pointer can not be negative so it is either pointless or an error to check if it is. Bugzilla: https://bugzilla.

Re: [PATCH 6/9] ARM: tegra: Export tegra_powergate_power_on

2014-07-08 Thread Peter De Schrijver
> > > > Yes, but the problem is that you also need clocks and reset of other modules > > in the same domain to safely control the domain's status. Eg: the ISPs, VI > > and > > CSI share a domain. VI and CSI are useable without ISP and the ISP lacks > > public documentation. So it's not unlikely a

Re: [PATCH 18/19] ARM: SAMSUNG: Remove remaining legacy code

2014-07-08 Thread Tomasz Figa
On 04.07.2014 22:23, Arnd Bergmann wrote: > On Friday 04 July 2014 19:48:18 Tomasz Figa wrote: >> After refactoring suspend/resume, which was last part with dependencies >> on legacy code, all Kconfig symbols related to Samsung ATAGS support can >> be deselected and more unused code removed. This i

Re: [PATCH v2 6/7] regulator: tps65218: Add get_voltage ops for dcdc5 and dcdc6

2014-07-08 Thread Mark Brown
On Tue, Jul 08, 2014 at 03:46:36PM +0530, Keerthy wrote: > +static int tps65218_pmic_dcdc56_get_voltage(struct regulator_dev *dev) > +{ > + struct tps65218 *tps = rdev_get_drvdata(dev); > + unsigned int rid = rdev_get_id(dev); > + > + return tps->info[rid]->min_uV; > +} Set fixed_uV i

Re: [PATCH v5 4/5] ARM: EXYNOS: Add platform driver support for Exynos PMU

2014-07-08 Thread Tomasz Figa
On 05.07.2014 09:09, Pankaj Dubey wrote: > On Monday, June 30, 2014 Tomasz Figa wrote: >> On 25.06.2014 16:03, Pankaj Dubey wrote: >>> + >>> + if (pmu_context->pmu_data && pmu_context->pmu_data->pmu_init) >> >> In what conditions pmu_data will be NULL? >> > > What if we want driver to be probed

  1   2   3   4   5   6   7   8   9   10   >