[PATCH 27/39] blk-mq: export blk_mq_insert_request

2014-03-17 Thread Christoph Hellwig
We'll need this for now when scsi is built as a module. Eventually I hope to be able to move it to a higher level API intead. Signed-off-by: Christoph Hellwig --- block/blk-mq.c |1 + 1 file changed, 1 insertion(+) diff --git a/block/blk-mq.c b/block/blk-mq.c index 6f04dda..4408c70 100644

[PATCH 17/39] scsi: explicitly release bidi buffers

2014-03-17 Thread Christoph Hellwig
Instead of trying to guess when we have a BIDI buffer in scsi_release_buffers add a function to explicitly free the BIDI ressoures in the one place that handles them. This avoids needing a special __scsi_release_buffers for the case where we already have freed the request as well. Signed-off-by:

[PATCH 29/39] block: remove unprep_rq_fn

2014-03-17 Thread Christoph Hellwig
Now that scsi doesn't use it anymore there's no user left. Signed-off-by: Christoph Hellwig --- block/blk-core.c | 11 ++- block/blk-settings.c | 17 - include/linux/blkdev.h |3 --- 3 files changed, 2 insertions(+), 29 deletions(-) diff --git a/block/blk

[PATCH 28/39] scsi: reintroduce scsi_driver.init_command

2014-03-17 Thread Christoph Hellwig
Instead of letting the ULD play games with the prep_fn move back to the model of a central prep_fn with a callback to the ULD. This already cleans up and shortens the code by itself, and will be required to properly support blk-mq in the SCSI midlayer. Signed-off-by: Christoph Hellwig --- drive

[PATCH 35/39] virtio_scsi: use blk_mq

2014-03-17 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- drivers/scsi/virtio_scsi.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c index 5ec4a73..98469cd 100644 --- a/drivers/scsi/virtio_scsi.c +++ b/drivers/scsi/virtio_scsi.c @@ -680,6 +680,7 @@ stat

[PATCH 31/39] scsi: split __scsi_queue_insert

2014-03-17 Thread Christoph Hellwig
Factor out a helper to set the _blocked values, which we'll reuse for the blk-mq code path. Signed-off-by: Christoph Hellwig --- drivers/scsi/scsi_lib.c | 44 ++-- 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/drivers/scsi/scsi_lib.c b/

[PATCH 30/39] scsi: centralize command re-queueing in scsi_dispatch_fn

2014-03-17 Thread Christoph Hellwig
Make sure we only have the logic for requeing commands in one place. Signed-off-by: Christoph Hellwig --- drivers/scsi/scsi.c | 36 +--- drivers/scsi/scsi_lib.c |9 ++--- 2 files changed, 19 insertions(+), 26 deletions(-) diff --git a/drivers/scsi/s

[PATCH 36/39] iscsi_tcp: use blk_mq

2014-03-17 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- drivers/scsi/iscsi_tcp.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c index add6d15..44aae3d 100644 --- a/drivers/scsi/iscsi_tcp.c +++ b/drivers/scsi/iscsi_tcp.c @@ -957,6 +957,7 @@ static struct sc

[PATCH 32/39] scsi: unwind blk_end_request_all and blk_end_request_err calls

2014-03-17 Thread Christoph Hellwig
Calling blk_end_request directly with the helpers to get the right amount will make the conversion to blk-mq easier as we only have one place to switch between the different completion functions. It also makes the intention a little more clear to me, but that's a minor side effect. Signed-off-by:

[PATCH 34/39] scsi: partially stub out scsi_adjust_queue_depth when using blk-mq

2014-03-17 Thread Christoph Hellwig
This will have to be funnelled to blk-mq directly, but skip it for now. Signed-off-by: Christoph Hellwig --- drivers/scsi/scsi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index 7672371..22af3d3 100644 --- a/drivers/scsi/scsi.

[PATCH 05/39] blk-mq: replace blk_mq_init_commands with a ->init_request method

2014-03-17 Thread Christoph Hellwig
Bedides a simpler and cleared interface this also allows to initialize the flush_rq properly. The interface for that is still a bit messy as we don't have a hw_ctx available for the flush request, but that's something that should be fixable with a little work once the demand arises. Signed-off-by

[PATCH 06/39] blk-mq: add a exit_request method

2014-03-17 Thread Christoph Hellwig
This gives drivers an easy way to free any ressources allocated in ->init_request. Signed-off-by: Christoph Hellwig --- block/blk-mq.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index c2ce99b..c7e723e 100644 --- a/bloc

Re: [PATCH 2/2] Cleanup useless architecture versions of scatterlist.h

2014-03-17 Thread David Howells
Laura Abbott wrote: > There's no need to have an architecture version of scatterlist.h > if the only thing the file does is include asm-generic/scatterlist.h. > Switch to the asm-generic versions directly. Acked-by: David Howells [FRV and MN10300] -- To unsubscribe from this list: send the line

[PATCH 03/39] blk-mq: fix blk_mq_end_io_partial

2014-03-17 Thread Christoph Hellwig
We need to pass the actual nr_bytes instead of all bytes in the request. Signed-off-by: Christoph Hellwig --- block/blk-mq.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index 883f720..d81dc8b 100644 --- a/block/blk-mq.c +++ b/block/blk-m

[PATCH 39/39] scsi: implement ->init_request and ->exit_request

2014-03-17 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- drivers/scsi/scsi_lib.c | 67 --- include/linux/blk-mq.h |3 +++ 2 files changed, 25 insertions(+), 45 deletions(-) diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 836f197..e6d87e3 100644

[PATCH 37/39] ata_piix: use blk_mq

2014-03-17 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- drivers/ata/ata_piix.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index 6334c8d..df00cef 100644 --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c @@ -1068,6 +1068,7 @@ static u8 piix_vmw_bmdma

[PATCH 38/39] blk-mq: make blk_mq_start_stopped_hw_queues run a queue even if not stopped

2014-03-17 Thread Christoph Hellwig
We need this as a workaround for the scsi midlayer, should be fixed in a nicer way eventually. --- block/blk-mq.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index 4408c70..4950f8e 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@

[PATCH] md: Fixed issue in raid1 that may lead to data corruption

2014-03-17 Thread Ralph Mueck
If data gets damaged on a disk that is part of a RAID-1 array, it is possible that the damaged data is mirrored to the other disks of the array. In the case of a two-disk array this behavior cannot be avoided as there is no reference which disk contains the intact data. However, in a configuration

Re: [PATCH 00/39] [WIP] scsi multiqueue

2014-03-17 Thread Christoph Hellwig
Btw, this is also available from git://git.infradead.org/users/hch/scsi.git#scsi-mq-wip.3 for those who prefer a git tree. This work was sponsored by the ION division of Fusion IO. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord.

[PATCH 04/39] blk-mq: initialize resid_len

2014-03-17 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- block/blk-mq.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/block/blk-mq.c b/block/blk-mq.c index d81dc8b..e3284f6 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -350,6 +350,8 @@ static void blk_mq_start_request(struct request *rq, bool last)

[PATCH 02/39] block: change flush sequence list addition back to front add

2014-03-17 Thread Christoph Hellwig
Commit 18741986 inadvertently changed the rq flush insertion from a head to a tail insertion. Fix that back up. Signed-off-by: Mike Snitzer Signed-off-by: Jens Axboe --- block/blk-flush.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/block/blk-flush.c b/block

Re: [PATCH v2] gpio: davinci: fix gpio selection for OF

2014-03-17 Thread Sekhar Nori
On Friday 14 March 2014 04:32 PM, Linus Walleij wrote: > On Fri, Mar 14, 2014 at 11:08 AM, Alexander Holler > wrote: >> Am 11.03.2014 11:15, schrieb Linus Walleij: >>> On Wed, Mar 5, 2014 at 12:21 PM, Alexander Holler >>> wrote: >>> The driver missed an of_xlate function to translate gpio

Re: [PATCH] SPI: Add driver for Cadence SPI controller

2014-03-17 Thread Geert Uytterhoeven
On Mon, Mar 17, 2014 at 2:22 PM, Michal Simek wrote: >>> + return 0; >>> +} >>> + >>> +static SIMPLE_DEV_PM_OPS(cdns_spi_dev_pm_ops, cdns_spi_suspend, >>> +cdns_spi_resume); >>> + >>> +/* Work with hotplug and coldplug */ >>> +MODULE_ALIAS("platform:" CDNS_SPI_NAME);

Re: 回复: [Consult] unicore32: Is unicore32 still alive?

2014-03-17 Thread Chen Gang
On 03/17/2014 08:47 PM, 管雪涛 wrote: > Sorry for replying so late. > I'd like to ack the patch after testing it. > Maybe before this weekend. > > Thanks Chen. > Thank you too. Please help check these patches, when you have time. > Xuetao Guan > > - Chen Gang 写道: >> Hello all: >> >> As far

Re: [Xen-devel] [PATCHv1] x86: don't schedule when handling #NM exception

2014-03-17 Thread David Vrabel
On 17/03/14 03:43, H. Peter Anvin wrote: > On 03/16/2014 08:35 PM, Sarah Newman wrote: >> Can you please review my patch first? It's only enabled when absolutely >> required. > > It doesn't help. It means you're running on Xen, and you will have > processes subjected to random SIGKILL because t

Re: [PATCH] s390: correct misuses of module_put in appldata_generic_handler.

2014-03-17 Thread Gerald Schaefer
On Sat, 15 Mar 2014 21:35:40 +0800 Zhouyi Zhou wrote: > correct misuses of module_put in appldata_generic_handler Sorry, I don't see any misuse, could you elaborate? > > Signed-off-by: Zhouyi Zhou > --- > arch/s390/appldata/appldata_base.c | 3 --- > 1 file changed, 3 deletions(-) > > diff

Re: [PATCH] spi: sc18is602: Don't be that restrictive with the maximum transfer speed

2014-03-17 Thread Guenter Roeck
On 03/17/2014 04:52 AM, Mark Brown wrote: On Sun, Mar 16, 2014 at 06:47:50PM -0700, Guenter Roeck wrote: Commit 09e99bca8 (spi: sc18is602: Convert to let spi core validate transfer speed) made the maximum transfer speed much more restrictive than before. The transfer speed used to be adjusted to

Re: [PATCH] ata: ahci_sunxi: fix code formatting

2014-03-17 Thread Hans de Goede
Hi, On 03/17/2014 02:08 PM, Bartlomiej Zolnierkiewicz wrote: > Signed-off-by: Bartlomiej Zolnierkiewicz Thanks for doing these clean-ups. Acked-by: Hans de Goede Regards, Hans > --- > drivers/ata/ahci_sunxi.c | 44 ++-- > 1 file changed, 22 inserti

Re: [PATCH] ata: ahci_sunxi: make ahci_sunxi_resume() static

2014-03-17 Thread Hans de Goede
Hi, On 03/17/2014 02:06 PM, Bartlomiej Zolnierkiewicz wrote: > Signed-off-by: Bartlomiej Zolnierkiewicz Thanks for doing these clean-ups. Acked-by: Hans de Goede Regards, Hans > --- > drivers/ata/ahci_sunxi.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Index: b/drivers

Re: [PATCH] SPI: Add driver for Cadence SPI controller

2014-03-17 Thread Michal Simek
Hi Rob, On 03/17/2014 01:47 PM, Rob Herring wrote: > On Mon, Mar 17, 2014 at 7:05 AM, Harini Katakam wrote: >> Add driver for Cadence SPI controller. This is used in Xilinx Zynq. >> >> Signed-off-by: Harini Katakam >> --- >> .../devicetree/bindings/spi/spi-cadence.txt| 25 + > > We pr

[PATCH 4/4] blk-mq: add a exit_request method

2014-03-17 Thread Christoph Hellwig
This gives drivers an easy way to free any resources allocated in ->init_request. Signed-off-by: Christoph Hellwig --- block/blk-mq.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index c2ce99b..c7e723e 100644 --- a/block

[PATCH 0/4] blk-mq updates

2014-03-17 Thread Christoph Hellwig
Two fixes for partial completion support, and the addition of two methods to allow drivers to easily init/cleanup per-request allocations. -- 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://

[PATCH 3/4] blk-mq: replace blk_mq_init_commands with a ->init_request method

2014-03-17 Thread Christoph Hellwig
Bedides a simpler and cleared interface this also allows to initialize the flush_rq properly. The interface for that is still a bit messy as we don't have a hw_ctx available for the flush request, but that's something that should be fixable with a little work once the demand arises. Signed-off-by

[PATCH 2/4] blk-mq: initialize resid_len

2014-03-17 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- block/blk-mq.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/block/blk-mq.c b/block/blk-mq.c index d81dc8b..e3284f6 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -350,6 +350,8 @@ static void blk_mq_start_request(struct request *rq, bool last)

[PATCH 1/4] blk-mq: fix blk_mq_end_io_partial

2014-03-17 Thread Christoph Hellwig
We need to pass the actual nr_bytes instead of all bytes in the request. Signed-off-by: Christoph Hellwig --- block/blk-mq.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index 883f720..d81dc8b 100644 --- a/block/blk-mq.c +++ b/block/blk-m

Re: [PATCH] clk: samsung: fixed compiler warning [-Wpointer-to-int-cast]

2014-03-17 Thread Tomasz Figa
Hi Pankaj, On 17.03.2014 02:22, Pankaj Dubey wrote: On 02/26/2014 11:42 AM, Pankaj Dubey wrote: When compiled using ARM64 cross compiler, gcc complains as drivers/clk/samsung/clk.c:293:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Signed-off-by: Pankaj Du

Re: [PATCH] ata: ahci_sunxi: disable resources on driver removal

2014-03-17 Thread Bartlomiej Zolnierkiewicz
On Monday, March 17, 2014 02:05:15 PM Bartlomiej Zolnierkiewicz wrote: > Add custom ->host_stop method to disable resources on driver removal. > > Signed-off-by: Bartlomiej Zolnierkiewicz After looking some more into ahci_platform.c it seems that this patch is not needed, sorry for the noise. B

Re: [PATCH] SPI: Add driver for Cadence SPI controller

2014-03-17 Thread Mark Brown
On Mon, Mar 17, 2014 at 07:47:24AM -0500, Rob Herring wrote: Please delete irrelevant context from your replies, it makes it easier to find the new content. > On Mon, Mar 17, 2014 at 7:05 AM, Harini Katakam wrote: > > +/* Macros for the SPI controller read/write */ > > +#define cdns_spi_read(ad

[PATCH 2/2] [RFC] serial_core: Avoid NULL pointer dereference in uart_close()

2014-03-17 Thread Geert Uytterhoeven
From: Geert Uytterhoeven When unbinding a serial driver that's being used as a serial console, the kernel may crash with a NULL pointer dereference in a uart_*() function called from uart_close () (e.g. uart_flush_buffer() or uart_chars_in_buffer()). To fix this, let uart_close() check for port-

[PATCH 1/2] serial_core: Get a reference for port->tty in uart_remove_one_port()

2014-03-17 Thread Geert Uytterhoeven
From: Geert Uytterhoeven Suggested-by: Peter Hurley Signed-off-by: Geert Uytterhoeven --- drivers/tty/serial/serial_core.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index 8ee90f731f31..21084f0

Re: v3.14-rc1+: new error: "nsc-ircc, Wrong chip version ff"

2014-03-17 Thread Rafael J. Wysocki
On Monday, March 17, 2014 01:33:33 PM Paul Bolle wrote: > Rafael J. Wysocki schreef op ma 17-03-2014 om 01:02 [+0100]: > > On Sunday, March 16, 2014 10:41:35 PM Paul Bolle wrote: > > > 2) What should I do to make that error go away? > > > > This is not an error, but a message whose log level is to

[PATCH] ata: ahci_sunxi: fix code formatting

2014-03-17 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ata/ahci_sunxi.c | 44 ++-- 1 file changed, 22 insertions(+), 22 deletions(-) Index: b/drivers/ata/ahci_sunxi.c === --- a/drivers/ata/ahc

[PATCH] ata: ahci_sunxi: make ahci_sunxi_resume() static

2014-03-17 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ata/ahci_sunxi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/ata/ahci_sunxi.c === --- a/drivers/ata/ahci_sunxi.c 2014-03-17 13:59:05.556474489 +0100

[PATCH] ata: ahci_sunxi: disable resources on driver removal

2014-03-17 Thread Bartlomiej Zolnierkiewicz
Add custom ->host_stop method to disable resources on driver removal. Signed-off-by: Bartlomiej Zolnierkiewicz --- Compile tested only. drivers/ata/ahci_sunxi.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) Index: b/drivers/ata/ahci_sunxi.c

[PATCH] printk: Remove double asmlinkage in printk_emit

2014-03-17 Thread Simon Kågström
The double asmlinkage was introduced in 7ff9554bb578ba02166071d2d487b7fc7d860d62 ("printk: convert byte-buffer to variable-length record buffer"). Signed-off-by: Simon Kagstrom --- include/linux/printk.h |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/p

Re: btrfs: lock inversion between delayed_node->mutex and found->groups_sem

2014-03-17 Thread David Sterba
On Fri, Mar 14, 2014 at 08:12:16PM -0400, Sasha Levin wrote: > While fuzzing with trinity inside a KVM tools guest running the latest -next > kernel I've stumbled on the following: > > [ 788.458756]CPU0CPU1 > [ 788.459188] > [ 788.

Re: race in audit_log_untrusted_string for task_struct::comm

2014-03-17 Thread Steve Grubb
On Saturday, March 15, 2014 07:28:46 PM Richard Guy Briggs wrote: > I'm inclined to go get_task_comm() in all 5 locations, but if we care > more about locking overhead, I'll switch to memcpy(). > > Steve, do we care about the integrity of the comm field? In the case of interpreters, its about the

回复: [Consult] unicore32: Is unicore32 still alive?

2014-03-17 Thread 管雪涛
Sorry for replying so late. I'd like to ack the patch after testing it. Maybe before this weekend. Thanks Chen. Xuetao Guan - Chen Gang 写道: > Hello all: > > As far as I know, unicore32 is still alive. If it will be obsoleted, > please let me know, so we can avoid the related spam about uni

Re: [PATCH] SPI: Add driver for Cadence SPI controller

2014-03-17 Thread Rob Herring
On Mon, Mar 17, 2014 at 7:05 AM, Harini Katakam wrote: > Add driver for Cadence SPI controller. This is used in Xilinx Zynq. > > Signed-off-by: Harini Katakam > --- > .../devicetree/bindings/spi/spi-cadence.txt| 25 + We prefer binding docs in separate patch. > drivers/spi/Kconfig

[RFC PATCH 4/4] max17042_battery: Change battery name instead of static name according to device type

2014-03-17 Thread Chanwoo Choi
This patch use device name to make power_supply path according to device type: [Before] In case of max17042/max17047/max17050, - /sys/class/power_supply/max170xx_battery [After] In case of max17042, - /sys/class/power_supply/max17042 In case of max17047, - /sys/class/power_supply/max17047 In case

[RFC PATCH 1/4] power_supply: of: Add an API to get power_supply device from dt node

2014-03-17 Thread Chanwoo Choi
This patch add an API of_power_supply_get_dev() to be used by drivers to get power_supply device in the case of DT(DeviceTree) node (this can be used instead of power_supply_get_by_name()). Signed-off-by: Chanwoo Choi --- drivers/power/Kconfig | 4 ++ drivers/power/Makefile

[RFC PATCH 0/4] power_supply: Add DT helper function to get power-supply dev from dt

2014-03-17 Thread Chanwoo Choi
This patchset add DT helper function to get power-supply device from devicetree. - of_power_supply_get_dev(struct device *dev, enum power_supply_dev_type type, int index) Power-supply class provides 'power_supply_get_by_name()' to users who want to find power-supply device

[RFC PATCH 2/4] charger-manager: Get power_supply device using of_power_supply_get_dev()

2014-03-17 Thread Chanwoo Choi
This patch use of_power_supply_get_dev() dt funtion to get power_supply device instead of legacy method. This patch get direclty the instance of power supply device from dt. Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- --- drivers/power/charger-manager.c | 22 ++

[RFC PATCH 3/4] Documentation: dt: charger-manager: Change the way to get fuel-gauge power-supply device

2014-03-17 Thread Chanwoo Choi
This patch use the phandle of fuel-gauge device instead of the name of fuel-gauge device to get fuel-gauge device directly from dt. Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- .../devicetree/bindings/power_supply/charger-manager.txt | 8 ++-- 1 file changed, 6 inse

Re: [PATCH 1/3] mm: munlock: fix a bug where THP tail page is encountered

2014-03-17 Thread Vlastimil Babka
On 03/15/2014 04:06 AM, Sasha Levin wrote: > On 03/14/2014 07:55 PM, Sasha Levin wrote: >> On 12/17/2013 08:00 AM, Vlastimil Babka wrote: >>> From: Vlastimil Babka >>> Date: Fri, 13 Dec 2013 14:25:21 +0100 >>> Subject: [PATCH 1/3] mm: munlock: fix a bug where THP tail page is >>> encountered >>> >

Re: [v3.13][v3.14][Regression] kthread: make kthread_create()killable

2014-03-17 Thread Tetsuo Handa
Oleg Nesterov wrote: > > @@ -292,6 +292,17 @@ struct task_struct *kthread_create_on_node(int > > (*threadfn)(void *data), > > * new kernel thread. > > */ > > if (unlikely(wait_for_completion_killable(&done))) { > > + int i = 0; > > + > > + /* > > +* I

Re: v3.14-rc1+: new error: "nsc-ircc, Wrong chip version ff"

2014-03-17 Thread Paul Bolle
Rafael J. Wysocki schreef op ma 17-03-2014 om 01:02 [+0100]: > On Sunday, March 16, 2014 10:41:35 PM Paul Bolle wrote: > > 2) What should I do to make that error go away? > > This is not an error, but a message whose log level is too high. It basically > means "I found something, but I don't like

Re: [PATCH] Xen: include asm/page.h in xen-ops.h

2014-03-17 Thread Stefano Stabellini
On Sat, 15 Mar 2014, Arnd Bergmann wrote: > The declaration of xen_remap_domain_mfn_range relies on the > pgprot_t typedef to be visible. In some configurations, that > may not already have been seen, and I have encountered a > bug during randconfig testing on ARM. > > Adding an explicit #include

Re: [PATCH] MAINTAINERS: Update ARM STi maintainers

2014-03-17 Thread Maxime Coquelin
Hi, On 03/03/2014 12:28 PM, srinivas.kandaga...@st.com wrote: From: Srinivas Kandagatla This patch adds Maxime and Patrice to ARM/STi maintainers list. As Stuart Menefy opted to be removed from the list, this patch removes his email from maintainers. Updated my email with private email address

Re: [Xen-devel] [PATCHv1] x86: don't schedule when handling #NM exception

2014-03-17 Thread George Dunlap
On Mon, Mar 17, 2014 at 3:33 AM, H. Peter Anvin wrote: > No, the right thing is to unf*ck the Xen braindamage and use eagerfpu as a > workaround for the legacy hypervisor versions. The interface wasn't an accident. In the most common case you'll want to clear the bit anyway. In PV mode clearing

[Consult] unicore32: Is unicore32 still alive?

2014-03-17 Thread Chen Gang
Hello all: As far as I know, unicore32 is still alive. If it will be obsoleted, please let me know, so we can avoid the related spam about unicored32 (also can save my time resource). Thanks. -- Chen Gang Open, share, and attitude like air, water, and life which God blessed -- To unsubscribe f

Re: [PATCH 2/2] arm64: dts: exynos: added mailbox node

2014-03-17 Thread Arnd Bergmann
On Monday 17 March 2014 17:33:59 Girish K S wrote: > +Samsung Mailbox Driver > + > +Required properties: > +- compatible: Should be one of the following, > + "samsung,gh7-mailbox" for > + Samsung GH7 SoC series > +

Re: [RFC PATCH 2/2] ACPI: Default disable auto-serialization.

2014-03-17 Thread Rafael J. Wysocki
On 3/17/2014 5:14 AM, Lv Zheng wrote: This feature enabled by the following commit is still under development. Commit: cd52379678785b02d7a357988cfba214fdaf92f4 Subject: ACPICA: Add global option to disable method auto-serialization. This change adds an option to disable the auto-seriali

Re: [PATCH 2/2] arm64: dts: exynos: added mailbox node

2014-03-17 Thread Girish KS
On Mon, Mar 17, 2014 at 5:33 PM, Girish K S wrote: > This patch adds the dt node for the mailbox IP > > Signed-off-by: Girish K S > > Change-Id: I35e45e9a62592887a84a909aee54f259a2f731fa Sorry for this. will modify in the v2 with other comments > --- > .../bindings/mailbox/samsung-mailbox.txt

[PATCH] SPI: Add driver for Cadence SPI controller

2014-03-17 Thread Harini Katakam
Add driver for Cadence SPI controller. This is used in Xilinx Zynq. Signed-off-by: Harini Katakam --- .../devicetree/bindings/spi/spi-cadence.txt| 25 + drivers/spi/Kconfig|7 + drivers/spi/Makefile |1 + drivers/spi

[PATCH 0/2] Support for samsung mailbox controller

2014-03-17 Thread Girish K S
This patch series is based on the mailbox framework prepared by jassi and others. Girish K S (2): mailbox: samsung: added support for samsung mailbox arm64: dts: exynos: added mailbox node .../bindings/mailbox/samsung-mailbox.txt | 24 ++ arch/arm64/boot/dts/samsung-gh7.dtsi

[PATCH 2/2] arm64: dts: exynos: added mailbox node

2014-03-17 Thread Girish K S
This patch adds the dt node for the mailbox IP Signed-off-by: Girish K S Change-Id: I35e45e9a62592887a84a909aee54f259a2f731fa --- .../bindings/mailbox/samsung-mailbox.txt | 24 +++ arch/arm64/boot/dts/samsung-gh7.dtsi | 66 arch/arm64/boot/dt

[PATCH 1/2] mailbox: samsung: added support for samsung mailbox

2014-03-17 Thread Girish K S
This patch adds support to the samsung mailbox driver. Signed-off-by: Girish K S --- drivers/mailbox/Kconfig |8 + drivers/mailbox/Makefile |2 + drivers/mailbox/mailbox-samsung.c | 354 + include/linux/mailbox-samsung.h | 112 ++

Re: [dm-devel] [PATCH 1/1] block: rework flush sequencing for blk-mq

2014-03-17 Thread Bryn M. Reeves
On 03/14/2014 02:13 PM, Mike Snitzer wrote: > Yeah, not sure why single path scsi_debug "just works", maybe it is a > "feature" of the older multipathd I have kicking around?, but for basic > data path testing scsi_debug is a quick means to an end. I can look > closer at _why_ it gets multipathd i

Re: [PATCH 7/8] ASoC: atmel: document clock properties of the wm8904 driver

2014-03-17 Thread Mark Brown
On Mon, Mar 17, 2014 at 05:45:40PM +0800, Bo Shen wrote: >- compatible: "atmel,asoc-wm8904" >- atmel,model: The user-visible name of this sound complex. > + - clocks: A list of clocks needed by the wm8904 chip. > + - clock-output-names: Driver related clock names. Shall contain "pck0".

Re: [PATCH][RESEND 3] hwrng: add randomness to system from rng sources

2014-03-17 Thread Austin S Hemmelgarn
On 2014-03-16 18:56, H. Peter Anvin wrote: > On 03/03/2014 03:51 PM, Kees Cook wrote: >> When bringing a new RNG source online, it seems like it would make sense >> to use some of its bytes to make the system entropy pool more random, >> as done with all sorts of other devices that contain per-devi

Re: [RFC 0/6] rework sched_domain topology description

2014-03-17 Thread Peter Zijlstra
On Wed, Mar 12, 2014 at 01:28:07PM +, Dietmar Eggemann wrote: > On 11/03/14 13:17, Peter Zijlstra wrote: > > On Sat, Mar 08, 2014 at 12:40:58PM +, Dietmar Eggemann wrote: > >>> > >>> I don't have a strong opinion about using or not a cpu argument for > >>> setting the flags of a level (it w

Re: [PATCH] spi: sc18is602: Don't be that restrictive with the maximum transfer speed

2014-03-17 Thread Mark Brown
On Sun, Mar 16, 2014 at 06:47:50PM -0700, Guenter Roeck wrote: > Commit 09e99bca8 (spi: sc18is602: Convert to let spi core validate > transfer speed) made the maximum transfer speed much more restrictive > than before. The transfer speed used to be adjusted to 1/4 of the chip > clock rate if a high

Re: [PATCH] proc: show mnt_id in fdinfo files

2014-03-17 Thread Cyrill Gorcunov
On Mon, Mar 17, 2014 at 03:30:26PM +0400, Pavel Emelyanov wrote: > On 03/17/2014 02:39 PM, Andrey Vagin wrote: > > Currently we don't have a way how to determing from which mount point > > file has been opened. This information is required for proper dumping > > and restoring file descriptos due to

Re: [PATCH v5 4/9] at91: dt: Add at91sam9261 dt SoC support

2014-03-17 Thread Alexandre Belloni
Hi Jean-Christophe, I think you are a bit late and the series got taken by Nicolas. Anyway, most of your comments have been taken care of. On 17/03/2014 at 12:40:18 +0100, Jean-Christophe PLAGNIOL-VILLARD wrote : > On 11:05 Mon 03 Mar , Jean-Jacques Hiblot wrote: > > + usb0: ohci@00

Re: [PATCH v2] dt: platform driver: Fill the resources before probe and defer if needed

2014-03-17 Thread Jean-Jacques Hiblot
Hi Grant, Sorry for the delay, I was having nice vacations. 2014-03-08 8:37 GMT+01:00 Grant Likely : > On Fri, 21 Feb 2014 14:18:40 +0100, Jean-Jacques Hiblot > wrote: >> The goal of this patch is to allow drivers to be probed even if at the time >> of >> the DT parsing some of their ressource

Re: [PATCH v5 4/9] at91: dt: Add at91sam9261 dt SoC support

2014-03-17 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:05 Mon 03 Mar , Jean-Jacques Hiblot wrote: > This patch adds support for the Device Tree on a sam9261-based platform > > Signed-off-by: Jean-Jacques Hiblot > --- > arch/arm/boot/dts/at91sam9261.dtsi | 740 > + > arch/arm/mach-at91/at91sam9261.c |

Re: [PATCH 0/2] KVM: x86 emulator: emulate MOVAPS and MOVAPD SSE instructions

2014-03-17 Thread Paolo Bonzini
Il 15/03/2014 23:39, H. Peter Anvin ha scritto: MOVAPS, MOVAPD, and MOVDQA are the same operation. They may, architecturally, have different performance characteristics, but nothing that would affect an emulator. In fact MOVAPS and MOVAPD are implemented the same way in this patch: I(Aligne

Re: [RFC PATCH] Support map_pages() for DAX

2014-03-17 Thread Kirill A. Shutemov
On Sat, Mar 15, 2014 at 10:46:13PM -0400, Matthew Wilcox wrote: > On Sat, Mar 15, 2014 at 01:32:33AM +0200, Kirill A. Shutemov wrote: > > Side note: I'm sceptical about whole idea to use i_mmap_mutux to protect > > against truncate. It will not scale good enough comparing lock_page() > > with its g

Re: [PATCH v5 6/9] at91: dt: sam9261: Device Tree support for the at91sam9261ek

2014-03-17 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:05 Mon 03 Mar , Jean-Jacques Hiblot wrote: > This patch implements a DTS to boot a at91sam9261ek with a dt-enabled > kernel (at91_dt_defconfig). > supported features are: > * dbgu > * lcdc > * usb host > * usb gadget, > * spi dataflash > * nand flash > * touchscreen > * leds > * user butt

Re: [PATCH 2/2] net: cdc_ncm: respect operator preferred MTU reported by MBIM

2014-03-17 Thread Bjørn Mork
Is this *really* driver material, or should we just leave the IP MTU hint handling up to the userspace management application? There are no less than 3(!) different ways for a device to specify the MBIM MTU: 1) wMaxSegmentSize field of the "MBIM Control Model Functional Descriptor" (

[PATCH] charger-manager: Fix checking of wrong return type

2014-03-17 Thread Chanwoo Choi
This patch fix minor issue about checking wrong return type. The of_cm_parse_desc() return ERR_PTR(errnor number) when some error happen in this function. But, charger_manager_probe() has only checked whether desc is NULL or not. If of_cm_parse_desc() returns ERR_PTR(-ENOMEM), desc isn't NULL but

Re: [PATCH v5 3/9] at91: pinctrl: don't request GPIOs used for interrupts but lock them as IRQ

2014-03-17 Thread Boris BREZILLON
Le 17/03/2014 12:14, Jean-Jacques Hiblot a écrit : Hi Boris, Sorry for being late, I was on vacation. Yes this patch can be dropped from the serie. That's fine, Nicolas dropped it ;-). 2014-03-12 13:59 GMT+01:00 Boris BREZILLON : Hi JJ, IIRC this patch was necessary for the DM9000 device,

Re: [PATCH] charger-manager: Fix checking of wrong return type

2014-03-17 Thread Chanwoo Choi
Dear all, Ignore this patch due to wrong e-mail address. I'll resend patch. Thanks, Chanwoo Choi On 03/17/2014 08:31 PM, y...@samsung.com wrote: > From: Chanwoo Choi > > This patch fix minor issue about checking wrong return type. > > The of_cm_parse_desc() return ERR_PTR(errnor number) when

[PATCH] charger-manager: Fix checking of wrong return type

2014-03-17 Thread y
From: Chanwoo Choi This patch fix minor issue about checking wrong return type. The of_cm_parse_desc() return ERR_PTR(errnor number) when some error happen in this function. But, charger_manager_probe() has only checked whether desc is NULL or not. If of_cm_parse_desc() returns ERR_PTR(-ENOMEM),

Re: [PATCH 7/8] ASoC: atmel: document clock properties of the wm8904 driver

2014-03-17 Thread Mark Rutland
On Mon, Mar 17, 2014 at 11:24:41AM +, Boris BREZILLON wrote: > Le 17/03/2014 11:48, Mark Rutland a écrit : > > On Mon, Mar 17, 2014 at 10:18:08AM +, boris brezillon wrote: > >> Hello Mark, > >> > >> Le 17/03/2014 11:02, Mark Rutland a écrit : > >>> On Mon, Mar 17, 2014 at 09:45:40AM +,

Re: [PATCH] proc: show mnt_id in fdinfo files

2014-03-17 Thread Pavel Emelyanov
On 03/17/2014 02:39 PM, Andrey Vagin wrote: > Currently we don't have a way how to determing from which mount point > file has been opened. This information is required for proper dumping > and restoring file descriptos due to presence of mount namespaces. It's > possible, that two file descriptors

Re: [PATCH] spi: sc18is602: Don't be that restrictive with the maximum transfer speed

2014-03-17 Thread Mark Brown
On Sun, Mar 16, 2014 at 08:53:09PM -0700, Guenter Roeck wrote: > On 03/16/2014 07:07 PM, Axel Lin wrote: > >Now I'm thinking if it is ok to use master->max_speed_hz as transfer speed > >when > >xfer->speed_hz > master->max_speed_hz. And it should be handled in spi core. > >I'm sending a RFC patch

Re: [PATCH 7/8] ASoC: atmel: document clock properties of the wm8904 driver

2014-03-17 Thread Boris BREZILLON
Le 17/03/2014 11:48, Mark Rutland a écrit : On Mon, Mar 17, 2014 at 10:18:08AM +, boris brezillon wrote: Hello Mark, Le 17/03/2014 11:02, Mark Rutland a écrit : On Mon, Mar 17, 2014 at 09:45:40AM +, Bo Shen wrote: From: Boris BREZILLON Signed-off-by: Boris BREZILLON Signed-off-by:

Re: [PATCH 9/9] powerpc/pm: support deep sleep feature on T1040

2014-03-17 Thread Chenhui Zhao
On Fri, Mar 14, 2014 at 06:18:27PM -0500, Scott Wood wrote: > On Wed, 2014-03-12 at 18:40 +0800, Chenhui Zhao wrote: > > On Tue, Mar 11, 2014 at 08:10:24PM -0500, Scott Wood wrote: > > > On Fri, 2014-03-07 at 12:58 +0800, Chenhui Zhao wrote: > > > > From: Zhao Chenhui > > > > > > > > T1040 suppor

Re: [PATCH] [RFC] perf: Fix a race between ring_buffer_detach() and ring_buffer_wakeup()

2014-03-17 Thread Peter Zijlstra
> rcu: Provide grace-period piggybacking API > > The following pattern is currently not well supported by RCU: > > 1.Make data element inaccessible to RCU readers. > > 2.Do work that probably lasts for more than one grace period. > > 3.Do something to make sure RCU r

Re: [PATCH kvm-unit-tests 0/2] test MOVAPS and MOVAPD SSE instructions

2014-03-17 Thread Paolo Bonzini
Il 15/03/2014 21:03, Igor Mammedov ha scritto: This series adds checks for MOVAPS and MOVAPD SSE instructions. It's used by MS HCK test on 32-bit Windows 8.1 Igor Mammedov (2): emulator: movaps emulator: movapd x86/emulator.c | 14 ++ 1 file changed, 14 insertions(+) Applied

Re: [PATCH 0/2] KVM: x86 emulator: emulate MOVAPS and MOVAPD SSE instructions

2014-03-17 Thread Paolo Bonzini
Il 15/03/2014 21:01, Igor Mammedov ha scritto: MS HCK test fails on 32-bit Windows 8.1 due to missing MOVAPS instruction emulation, this series adds it and while at it, it adds emulation of MOVAPD which is trivial to implement on top of MOVAPS. Igor Mammedov (2): KVM: x86 emulator: emulate MOV

[PATCH] cpuidle: sysfs: Export target residency information

2014-03-17 Thread Daniel Lezcano
>From userspace, there is no way to know the target residency for each idle state. If we want to write tools to measure the accuracy of the idle state selection from the governor, we need this info. As the exit latency is exported through sysfs, exporting the target residency in the same place mak

Re: [PATCH v5 3/9] at91: pinctrl: don't request GPIOs used for interrupts but lock them as IRQ

2014-03-17 Thread Jean-Jacques Hiblot
Hi Boris, Sorry for being late, I was on vacation. Yes this patch can be dropped from the serie. 2014-03-12 13:59 GMT+01:00 Boris BREZILLON : > Hi JJ, > > IIRC this patch was necessary for the DM9000 device, which is not defined > in this series anymore. > And, correct me if I'm wrong, but there'

Re: [PATCH 2/3] irqchip: sun4i: Simplify irq mapping

2014-03-17 Thread Maxime Ripard
On Thu, Mar 13, 2014 at 08:50:01PM +0100, Hans de Goede wrote: > Now that we're using handle_fasteio_irq for all interrupts, we can get rid > of having 2 irq_chip structs by making sun4i_irq_ack a nop for all irqs > except irq 0. > > Signed-off-by: Hans de Goede > --- > drivers/irqchip/irq-sun4i

Re: [PATCH v2 1/2] irqchip: sun4i: Use handle_fasteoi_irq for all interrupts

2014-03-17 Thread Maxime Ripard
On Sat, Mar 15, 2014 at 04:04:53PM +0100, Hans de Goede wrote: > Since the sun4i irq chip does not require any action and clears the interrupt > when the level goes back to inactive, we don't need to mask / unmask for > non oneshot IRQs, to achieve this we make sun4i_irq_ack a nop for all irqs > ex

Re: [PATCH v2 2/2] irqchip: sun4i: simplify sun4i_irq_ack

2014-03-17 Thread Maxime Ripard
On Sat, Mar 15, 2014 at 04:04:54PM +0100, Hans de Goede wrote: > Now that we only ack irq 0 the code can be simplified a lot. > > Also switch from read / modify / write to a simple write clear: > 1) This is what the android code does (it has a hack for acking irq 0 > in its unmask code doing thi

[PATCH] usb: dwc3: core: Fix gadget for system suspend/resume

2014-03-17 Thread Roger Quadros
During system resume, if the event buffers are not setup before the gadget controller starts then we start with invalid context and this can lead to bus access errors. This is especially true for platforms that loose the controller context during system suspend. e.g. AM437x. The following backtrac

Re: [PATCH 5/5] perf tools: Share process map groups within process threads

2014-03-17 Thread Jiri Olsa
On Mon, Mar 17, 2014 at 04:25:15PM +0900, Namhyung Kim wrote: > On Fri, 14 Mar 2014 15:00:06 +0100, Jiri Olsa wrote: > > + if (!mg) { > > + struct thread *leader = thread__get_leader(thread); > > + > > + if (!leader) > > + return NULL; > > + > > + i

<    1   2   3   4   5   6   >