[PATCH 2/3 v3] blackfin: gpio: Remove none gpio lib code.

2013-08-21 Thread Sonic Zhang
From: Sonic Zhang sonic.zh...@analog.com - Remove non gpio lib code from blackfin architecture. - Limit the lagecy blackfin gpio driver to bf5xx processors only. - Remove unused definition of the pint power functions. Signed-off-by: Sonic Zhang sonic.zh...@analog.com Acked-by: Linus Walleij

Re: [PATCH trivial] UAPI: Kbuild: add/modify comments for uapi/Kbuild and uapi/linux/Kbuild

2013-08-21 Thread Chen Gang
Hello all: According to the reply of yours, it seems we need more 'work' for the API related documents. If really it is, I need change my 'work' way for it. Currently, my 'work' way is finding and solving issues, which may be efficient for 'grow up' sub-systems (e.g. kernel/ sub-system). But

Re: [PATCH 5/9] target: Skip -queue_data_in() callbacks for COMPARE_AND_WRITE

2013-08-21 Thread Nicholas A. Bellinger
On Tue, 2013-08-20 at 23:32 -0700, Christoph Hellwig wrote: @@ -1832,7 +1832,8 @@ static void transport_complete_qf(struct se_cmd *cmd) ret = cmd-se_tfo-queue_data_in(cmd); break; case DMA_TO_DEVICE: - if (cmd-t_bidi_data_sg) { + if

[PATCH 8/8] net: emac: remove unnecessary dev_set_drvdata()

2013-08-21 Thread Libo Chen
Unnecessary dev_set_drvdata() is removed, because the driver core clears the driver data to NULL after device_release or on probe failure. Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/net/ethernet/ibm/emac/core.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff

[PATCH] intel-iommu: Quiesce devices before disabling IOMMU

2013-08-21 Thread Takao Indoh
This patch quiesces devices before disabling IOMMU on boot to stop ongoing DMA. In intel_iommu_init(), check context entries and if there is entry whose present bit is set then reset corresponding device. When IOMMU is already enabled on boot, it is disabled and new DMAR table is created and then

[PATCH 7/8] net: davinci_mdio: remove unnecessary dev_set_drvdata()

2013-08-21 Thread Libo Chen
Unnecessary dev_set_drvdata() is removed, because the driver core clears the driver data to NULL after device_release or on probe failure. Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/net/ethernet/ti/davinci_mdio.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff

Re: [PATCH 6/9] target: Allow sbc_ops-execute_rw() to accept SGLs + data_direction

2013-08-21 Thread Nicholas A. Bellinger
On Tue, 2013-08-20 at 23:35 -0700, Christoph Hellwig wrote: On Tue, Aug 20, 2013 at 08:07:57PM +, Nicholas A. Bellinger wrote: From: Nicholas Bellinger n...@daterainc.com COMPARE_AND_WRITE expects to be able to send down a DMA_FROM_DEVICE to obtain the necessary READ payload for

linux-next: manual merge of the aio tree with the aio-direct tree

2013-08-21 Thread Stephen Rothwell
Hi Benjamin, Today's linux-next merge of the aio tree got a conflict in fs/nfs/direct.c between commit 072d62aa3a83 (nfs: simplify swap) from the aio-direct tree and commit 73a7075e3f6e (aio: Kill aio_rw_vect_retry ()) from the aio tree. I fixed it up (the former also removed the line removed by

Re: [PATCH 6/8] net: xilinx_emaclite: remove unnecessary dev_set_drvdata()

2013-08-21 Thread Michal Simek
On 08/21/2013 09:02 AM, Libo Chen wrote: Unnecessary dev_set_drvdata() is removed, because the driver core clears the driver data to NULL after device_release or on probe failure. Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/net/ethernet/xilinx/xilinx_emaclite.c |1 - 1

linux-next: manual merge of the aio tree with the aio-direct tree

2013-08-21 Thread Stephen Rothwell
Hi Benjamin, Today's linux-next merge of the aio tree got a conflict in fs/block_dev.c between commit b176eedb2a8b (block_dev: add support for read_iter, write_iter) from the aio-direct tree and commit 73a7075e3f6e (aio: Kill aio_rw_vect_retry()) from the aio tree. I fixed it up (see below) and

Re: [PATCH 1/2] Revert Revert math64: New div64_u64_rem helper

2013-08-21 Thread Ingo Molnar
* Mike Snitzer snit...@redhat.com wrote: On Tue, Aug 20 2013 at 4:09am -0400, Ingo Molnar mi...@kernel.org wrote: * Stanislaw Gruszka sgrus...@redhat.com wrote: On Fri, Aug 09, 2013 at 03:56:03PM -0400, Mike Snitzer wrote: This reverts commit

Re: [PATCH 9/9] tcm_qla2xxx: Add special case for COMPARE_AND_WRITE data_direction

2013-08-21 Thread Nicholas A. Bellinger
On Tue, 2013-08-20 at 23:37 -0700, Christoph Hellwig wrote: On Tue, Aug 20, 2013 at 08:08:00PM +, Nicholas A. Bellinger wrote: From: Nicholas Bellinger n...@daterainc.com Add a special case for COMPARE_AND_WRITE for the reverse data direction mapping used for pci_map_sg() + friends.

Re: [PATCH] Kconfig: Remove hotplug enable hints in CONFIG_KEXEC help texts

2013-08-21 Thread Ingo Molnar
* Geert Uytterhoeven ge...@linux-m68k.org wrote: commit 40b313608ad4ea655addd2ec6cdd106477ae8e15 (Finally eradicate CONFIG_HOTPLUG) removed remaining references to CONFIG_HOTPLUG, but missed a few plain English references in the CONFIG_KEXEC help texts. Remove them, too. Signed-off-by:

Re: [PATCH] [TRIVIAL] Remove braces in drivers/scsi/in2000.h to fix build for clang. No functional change otherwise.

2013-08-21 Thread Jan-Simon Möller
Description: Clang chokes on the notation insw (%%dx) but works for insw %%dx (outsw likewise); GNU as accepts both forms. Signed-off-by: Jan-Simon M??ller dl...@gmx.de I think the right fix is to simply kill the FAST_READ_IO/FAST_WRITE_IO defines and their associated inline

Re: [PATCH] reboot: perform warm/cold reset correctly for CF9 type

2013-08-21 Thread Ingo Molnar
* Li Fei fei...@intel.com wrote: In current implementation for reboot type CF9 and CF9_COND, warm and cold reset are not differentiated, and both are performed by writing 0x06 to port 0xCF9 as warm reset. It's not correct. This commit will differentiate warm and cold reset, and perform

Re: [PATCH] x86, mm: Avoid step_size overflow and add comments

2013-08-21 Thread Ingo Molnar
* Yinghai Lu ying...@kernel.org wrote: Current code Current code has two problems: 1. shift step_size directly, and this could have overflow problem after we shift step_size several times. The most important piece of information is not explained: under what circumstances can this

Re: [PATCH] reboot: perform warm/cold reset correctly for CF9 type

2013-08-21 Thread H. Peter Anvin
Careful. This is a very different definition of warm vs cold boot used elsewhere. Ingo Molnar mi...@kernel.org wrote: * Li Fei fei...@intel.com wrote: In current implementation for reboot type CF9 and CF9_COND, warm and cold reset are not differentiated, and both are performed by writing

Re: [PATCH 1/4] pwm: add freescale ftm pwm driver support

2013-08-21 Thread Sascha Hauer
On Wed, Aug 21, 2013 at 11:07:39AM +0800, Xiubo Li wrote: + +#define FTM_CSC_BASE0x0C +#define FTM_CSC(_CHANNEL) \ + (FTM_CSC_BASE + (_CHANNEL * 0x08)) I see this more and more in FSL code. This is unsafe! Consider what happens when we call FTM_CSC(1 + 1). The result is certainly

Re: [PATCH] spi: fix SPI_BIT_MASK() to use correct size for 32-bit transfer mask

2013-08-21 Thread Mika Westerberg
On Tue, Aug 20, 2013 at 10:37:34AM -0600, Stephen Warren wrote: On 08/20/2013 06:15 AM, Mika Westerberg wrote: When building a 64-bit kernel we get the following warning from the compiler: drivers/spi/spi-pxa2xx.c: In function ‘pxa2xx_spi_probe’: drivers/spi/spi-pxa2xx.c:1152:3:

linux-next: build failure after merge of the aio tree

2013-08-21 Thread Stephen Rothwell
Hi Benjamin, After merging the aio tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/aio.c: In function 'aio_kernel_init_rw': fs/aio.c:1359:6: error: 'struct kiocb' has no member named 'ki_left' iocb-ki_left = nr; ^ fs/aio.c: In function 'aio_kernel_submit':

[no subject]

2013-08-21 Thread gcb
My wife and I won the Euro Millions Lottery of 41 Million British Pounds and we have decided to donate 1.5 million British Pounds to 6 individuals worldwide as our own charity project. Your email address was among the emails which were submitted to us by the Google, Inc as a web user, which

Re: [BUG REPORT] ZSWAP: theoretical race condition issues

2013-08-21 Thread Minchan Kim
Hello, On Tue, Aug 20, 2013 at 11:30:29PM +0800, Weijie Yang wrote: 2013/8/19 Minchan Kim minc...@kernel.org: On Mon, Aug 19, 2013 at 10:17:38AM +0800, Bob Liu wrote: Hi Weijie, On 08/19/2013 12:14 AM, Weijie Yang wrote: I found a few bugs in zswap when I review Linux-3.11-rc5, and I

Re: [PATCH] i2c: move of helpers into the core

2013-08-21 Thread Mika Westerberg
On Tue, Aug 20, 2013 at 04:30:43PM +0200, Wolfram Sang wrote: On Tue, Aug 20, 2013 at 12:28:13PM +0300, Mika Westerberg wrote: [Added Jerry as he found out a problem when acpi_i2c is being build as a module, this should solve it as well.] On Tue, Aug 20, 2013 at 01:25:27AM +0200, Rafael

Re: [PATCH] ARM: dts: am33xx: Correct gpio #interrupt-cells property

2013-08-21 Thread Tony Lindgren
Benoit, Care to take a look at this too? * Lars Poeschel la...@wh2.tu-dresden.de [130807 04:14]: From: Lars Poeschel poesc...@lemonage.de Following commit ff5c9059 and therefore other omap platforms using the gpio-omap driver correct the #interrupt-cells property on am33xx too. The omap

Re: [PATCH] ARM: dts: am33xx: Correct gpio #interrupt-cells property

2013-08-21 Thread Lars Poeschel
Hi Tony! On Wednesday 21 August 2013 at 09:50:16, Tony Lindgren wrote: Benoit, Care to take a look at this too? Benoit already applied this with Mark Rutlands Acked-By and Javier Martinez Canillas Reviewed-by. Regards, Lars * Lars Poeschel la...@wh2.tu-dresden.de [130807 04:14]: From:

[no subject]

2013-08-21 Thread gcb
My wife and I won the Euro Millions Lottery of 41 Million British Pounds and we have decided to donate 1.5 million British Pounds to 6 individuals worldwide as our own charity project. Your email address was among the emails which were submitted to us by the Google, Inc as a web user, which

Re: [PATCH] typo fixes (coordiante - coordinate) in am335x

2013-08-21 Thread Tony Lindgren
* Zubair Lutfullah zubair.lutful...@gmail.com [130715 08:33]: Did a grep for coordiante and replaced them all with coordinate. This applies to the mfd-next tree. This should be safe to apply via the MFD tree as a non-critical fix assuming the bootloaders are not yet using this: Acked-by:

Re: [PATCH] ARM: dts: am33xx: Correct gpio #interrupt-cells property

2013-08-21 Thread Tony Lindgren
* Lars Poeschel poesc...@lemonage.de [130821 01:04]: Hi Tony! On Wednesday 21 August 2013 at 09:50:16, Tony Lindgren wrote: Benoit, Care to take a look at this too? Benoit already applied this with Mark Rutlands Acked-By and Javier Martinez Canillas Reviewed-by. OK thanks for the

linux-next: manual merge of the akpm-current tree with the modules tree

2013-08-21 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in kernel/params.c between commit 79ac6834c255 (module: fix sprintf format specifier in param_get_byte()) from the modules tree and commit 55bba1b7fcce (kernel: replace strict_strto*() with kstrto*()) from the

Re: [PATCH] ARM: fix wrong address when loading PRM_FRAC_INCREMENTOR_DENUMERATOR_RELOAD

2013-08-21 Thread Tony Lindgren
* Chen Baozi baoz...@gmail.com [130807 07:18]: The denominator should be load from INCREMENTOR_DENUMERATOR_RELOAD_OFFSET rather than INCREMENTER_NUMERATOR_OFFSET. This is more likely a typo, since INCREMENTER_DENUMERATOR_RELOAD[23:17] is reserved. It seems that it won't make much trouble

Re: [RESEND PATCH] ARM: OMAP: TI81XX: add always-on powerdomain for TI81XX

2013-08-21 Thread Tony Lindgren
Paul, Care to queue or ack this one? * Aida Mynzhasova aida.mynzhas...@skitlab.ru [130820 01:22]: This patch adds alwon powerdomain support for TI81XX, which is required for stable functioning of a big number of TI81XX subsystems. Signed-off-by: Aida Mynzhasova aida.mynzhas...@skitlab.ru

[PATCH] dm ioctl: allow change device target type to error

2013-08-21 Thread Joe Jin
commit a5664da dm ioctl: make bio or request based device type immutable prevented dmsetup wape_table change the target type to error. Signed-off-by: Joe Jin joe@oracle.com --- drivers/md/dm-ioctl.c | 6 +- drivers/md/dm-table.c | 12 drivers/md/dm.h | 1 + 3 files

[PATCH 1/4] printk: Remove separate printk_sched buffers and use printk buf instead

2013-08-21 Thread Jan Kara
From: Steven Rostedt rost...@goodmis.org To prevent deadlocks with doing a printk inside the scheduler, printk_sched() was created. The issue is that printk has a console_sem that it can grab and release. The release does a wake up if there's a task pending on the sem, and this wake up grabs the

Re: [PATCH 28/33] ARM: ux500: Remove AUXDATA relating to MSP (Audio) clock-name bindings

2013-08-21 Thread Linus Walleij
On Thu, Jun 6, 2013 at 2:17 PM, Lee Jones lee.jo...@linaro.org wrote: @@ -232,15 +232,6 @@ static struct of_dev_auxdata u8500_auxdata_lookup[] __initdata = { /* Requires device name bindings. */ OF_DEV_AUXDATA(stericsson,db8500-pinctrl, U8500_PRCMU_BASE,

RE: [PATCH] reboot: perform warm/cold reset correctly for CF9 type

2013-08-21 Thread Li, Fei
Careful. This is a very different definition of warm vs cold boot used elsewhere. We have tested both warm and cold reboot on our x86 platform, and it works well. Besides with commit, the expected warm and reboot type can be specified through command line. Looks good, but please introduce a

[PATCH 0/4 v6] Avoid softlockups in console_unlock()

2013-08-21 Thread Jan Kara
Hello, This is the next iteration of my printk patchset. Since v5 I've made the limit for printing configurable via sysfs. Summary: These patches avoid softlockups when a CPU gets caught in console_unlock() for a long time during heavy printing from other CPU. As is discussed in patch 3/4

[PATCH 4/4] printk: Use unbound irq work for printing and waking

2013-08-21 Thread Jan Kara
Now when per-cpu printk buffers are gone, there's no need to have printk flags or printk irq_work per cpu. Just make printk_pending a single variable operated by atomic operations and have single unbound irq work doing the waking and printing. This has an advantage that any cpu can do the printing

[PATCH 2/4] irq_work: Provide a irq work that can be processed on any cpu

2013-08-21 Thread Jan Kara
Provide new irq work flag - IRQ_WORK_UNBOUND - meaning that can be processed on any cpu. This flag implies IRQ_WORK_LAZY so that things are simple and we don't have to pick any particular cpu to do the work. We just do the work from a timer tick on whichever cpu it happens first. This is useful as

[PATCH 3/4] printk: Defer printing to irq work when we printed too much

2013-08-21 Thread Jan Kara
A CPU can be caught in console_unlock() for a long time (tens of seconds are reported by our customers) when other CPUs are using printk heavily and serial console makes printing slow. Despite serial console drivers are calling touch_nmi_watchdog() this triggers softlockup warnings because

[PATCH V2] reboot: perform warm/cold reset correctly for CF9 type

2013-08-21 Thread Li Fei
In current implementation for reboot type CF9 and CF9_COND, warm and cold reset are not differentiated, and both are performed by writing 0x06 to port 0xCF9 as warm reset. It's not correct. This commit will differentiate warm and cold reset, and perform them correctly as below: For warm reset,

Re: [PATCH 28/33] ARM: ux500: Remove AUXDATA relating to MSP (Audio) clock-name bindings

2013-08-21 Thread Lee Jones
On Wed, 21 Aug 2013, Linus Walleij wrote: On Thu, Jun 6, 2013 at 2:17 PM, Lee Jones lee.jo...@linaro.org wrote: @@ -232,15 +232,6 @@ static struct of_dev_auxdata u8500_auxdata_lookup[] __initdata = { /* Requires device name bindings. */

Re: [PATCH 21/33] clk: ux500: Add Device Tree support for the PRCC Kernel clock

2013-08-21 Thread Linus Walleij
On Thu, Jun 6, 2013 at 2:17 PM, Lee Jones lee.jo...@linaro.org wrote: This patch enables clocks to be specified from Device Tree via phandles to the prcc-kernel-clock node. Cc: Mike Turquette mturque...@linaro.org Cc: Ulf Hansson ulf.hans...@linaro.org Signed-off-by: Lee Jones

[RFC] Get rid of SUBARCH

2013-08-21 Thread Richard Weinberger
This series is an attempt to remove the SUBARCH make parameter. It as introduced at the times of Linux 2.5 for UML to tell the UML build system what the real architecture is. But we actually don't need SUBARCH, we can store this information in the .config file. i386_defconfig will produce a

[PATCH 8/8] Makefile: Remove SUBARCH

2013-08-21 Thread Richard Weinberger
As all users of SUBARCH have been removed we can finally get rid of it. Signed-off-by: Richard Weinberger rich...@nod.at --- Makefile | 15 +++ arch/um/Makefile | 2 +- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index a5a55f4..48bd8fe

[PATCH 5/8] sh: Do not use SUBARCH

2013-08-21 Thread Richard Weinberger
Forces the user to specify CROSS_COMPILE at compile time instead of automatically selecting more or less randomly a cross compiler. Signed-off-by: Richard Weinberger rich...@nod.at --- arch/sh/Makefile | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/sh/Makefile b/arch/sh/Makefile

[PATCH 4/8] m68k: Do not use SUBARCH

2013-08-21 Thread Richard Weinberger
Forces the user to specify CROSS_COMPILE at compile time instead of automatically selecting more or less randomly a cross compiler. Signed-off-by: Richard Weinberger rich...@nod.at --- arch/m68k/Makefile | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/m68k/Makefile

[PATCH 3/8] um: Remove old defconfig

2013-08-21 Thread Richard Weinberger
The old unified defconfig is no longer needed. Signed-off-by: Richard Weinberger rich...@nod.at --- arch/um/defconfig | 901 -- 1 file changed, 901 deletions(-) delete mode 100644 arch/um/defconfig diff --git a/arch/um/defconfig

Re: [PATCH 05/13] ARM: ux500: Apply a ste-* prefix onto snowball.dts

2013-08-21 Thread Lee Jones
On Tue, 20 Aug 2013, Olof Johansson wrote: On Fri, Jul 19, 2013 at 7:13 AM, Lee Jones lee.jo...@linaro.org wrote: Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/boot/dts/{snowball.dts = ste-snowball.dts} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename

[PATCH 6/8] mips: Do not use SUBARCH

2013-08-21 Thread Richard Weinberger
Forces the user to specify CROSS_COMPILE at compile time instead of automatically selecting more or less randomly a cross compiler. Signed-off-by: Richard Weinberger rich...@nod.at --- arch/mips/Makefile | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/mips/Makefile

[PATCH 7/8] unicore32: Do not use SUBARCH

2013-08-21 Thread Richard Weinberger
Forces the user to specify CROSS_COMPILE at compile time instead of automatically selecting more or less randomly a cross compiler Signed-off-by: Richard Weinberger rich...@nod.at --- arch/unicore32/Makefile | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/unicore32/Makefile

[PATCH 1/8] um: Create defconfigs for i386 and x86_64

2013-08-21 Thread Richard Weinberger
Instead of having one defconfig for both i386 and x86_64 we have now two. This is the first step to get rid of SUBARCH. This patch is based on: https://lkml.org/lkml/2013/7/4/396 Cc: Ramkumar Ramachandra artag...@gmail.com Signed-off-by: Richard Weinberger rich...@nod.at ---

Re: [PATCH 19/33] clk: ux500: Add Device Tree support for the PRCMU clock

2013-08-21 Thread Linus Walleij
On Thu, Jun 6, 2013 at 2:17 PM, Lee Jones lee.jo...@linaro.org wrote: This patch enables clocks to be specified from Device Tree via phandles to the prcmu-clock node. (..) @@ -52,14 +54,17 @@ void u8500_clk_init(u32 clkrst1_base, u32 clkrst2_base, u32 clkrst3_base, clk =

[PATCH 2/8] um: Do not use SUBARCH

2013-08-21 Thread Richard Weinberger
From now on UML does no longer depend on SUBARCH and will never silently change CONFIG_64BIT. make defconfig ARCH=um produces now a .config with is suitable for your host arch. make i386_defconfig ARCH=um replaces make defconfig ARCH=um SUBARCH=i386 and make x86_64_defconfig ARCH=um replaces

Re: [PATCH 09/33] ARM: ux500: Supply the I2C clocks lookup to the DBX500 DT

2013-08-21 Thread Lee Jones
On Tue, 20 Aug 2013, Linus Walleij wrote: On Thu, Jun 6, 2013 at 2:16 PM, Lee Jones lee.jo...@linaro.org wrote: +++ b/arch/arm/boot/dts/dbx5x0.dtsi @@ -572,6 +572,8 @@ v-i2c-supply = db8500_vape_reg; clock-frequency = 40; +

Re: [PATCH RESEND 0/4] nohz: Fix racy sleeptime stats

2013-08-21 Thread Peter Zijlstra
On Tue, Aug 20, 2013 at 08:15:00PM +0200, Oleg Nesterov wrote: While at it. I do not also understand the cpu_online() checks in fs/proc/stat.c. OK, I agree, if cpu is offline it should not participate in cpu summary. But if it goes offline, why it should switch from -iowait_sleeptime +

[PATCH] power: twl4030-charger: Fix compiler warning with regulator_enable()

2013-08-21 Thread Peter Ujfalusi
The return value of regulator_enable need to be checked. This patch fixes the following warning: drivers/power/twl4030_charger.c: In function ‘twl4030_charger_enable_usb’: drivers/power/twl4030_charger.c:192:20: warning: ignoring return value of ‘regulator_enable’, declared with attribute

Re: [PATCH 2/4] nohz: Synchronize sleep time stats with seqlock

2013-08-21 Thread Peter Zijlstra
On Tue, Aug 20, 2013 at 08:25:53PM +0200, Oleg Nesterov wrote: On 08/20, Peter Zijlstra wrote: On Tue, Aug 20, 2013 at 06:33:12PM +0200, Oleg Nesterov wrote: + if (unlikely(prev-in_iowait)) { + raw_spin_lock_irq(rq-lock); + rq-nr_iowait--;

linux-next: manual merge of the akpm-current tree with the aio-direct tree

2013-08-21 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in mm/shmem.c between commit b080082bc3e8 (tmpfs: add support for read_iter and write_iter) from the aio-direct tree and commit c6dc71ff08f7 (mm: drop actor argument of do_shmem_file_read()) from the akpm-current tree. I

linux-next: manual merge of the akpm-current tree with the aio-direct tree

2013-08-21 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in mm/filemap.c between commit 6c45b468c3e6 (s: pull iov_iter use higher up the stack) from the aio-direct tree and commit ebde8e7e937d (mm: drop actor argument of do_generic_file_read()) from the akpm-current tree. I

Re: [PATCH 04/10] sched, fair: Shrink sg_lb_stats and play memset games

2013-08-21 Thread Peter Zijlstra
On Wed, Aug 21, 2013 at 11:08:29AM +0900, Joonsoo Kim wrote: On Mon, Aug 19, 2013 at 06:01:02PM +0200, Peter Zijlstra wrote: +static inline void init_sd_lb_stats(struct sd_lb_stats *sds) +{ + /* +* struct sd_lb_stats { +* struct sched_group * busiest;

Re: [PATCH 04/10] sched, fair: Shrink sg_lb_stats and play memset games

2013-08-21 Thread Peter Zijlstra
On Wed, Aug 21, 2013 at 11:20:02AM +0900, Joonsoo Kim wrote: With below change, we can simply do 'offsetof(struct sd_lb_stats, busiest_stat)'. @@ -4546,7 +4546,7 @@ static bool update_sd_pick_busiest(struct lb_env *env, struct sched_group *sg,

Re: [PATCH] bcache: Remove use of down/up_read_non_owner()

2013-08-21 Thread Steven Rostedt
On Tue, 20 Aug 2013 20:36:58 -0700 Kent Overstreet k...@daterainc.com wrote: I think we're mostly quibbling over semantics here, and it's not that big a deal - that said, I don't really get your distinction between a semaphore and a mutex; I'd distinguish them by saying a semaphore can count

[3.5.y.z extended stable] Linux 3.5.7.20

2013-08-21 Thread Luis Henriques
I am announcing the release of the Linux 3.5.7.20 kernel. The updated 3.5.y tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.5.y and can be browsed at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=refs/heads/linux-3.5.y;a=shortlog The diff from v3.5.7.19 is

Re: [3.5.y.z extended stable] Linux 3.5.7.20

2013-08-21 Thread Luis Henriques
diff --git a/Makefile b/Makefile index fa278f9..4fdc06d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 3 PATCHLEVEL = 5 SUBLEVEL = 7 -EXTRAVERSION = .19 +EXTRAVERSION = .20 NAME = Saber-toothed Squirrel # *DOCUMENTATION* diff --git a/drivers/net/wireless/iwlegacy/common.c

[PATCH 1/2] hso: Earlier catch of error condition

2013-08-21 Thread Daniel Gimpelevich
There is no need to get an interface specification if we know it's the wrong one. Signed-off-by: Daniel Gimpelevich dan...@gimpelevich.san-francisco.ca.us --- drivers/net/usb/hso.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/net/usb/hso.c

Re: [PATCH] Fix stack corruption on some architectures

2013-08-21 Thread Daniel Gimpelevich
On Tue, 2013-08-20 at 23:29 -0700, David Miller wrote: Please submit this with a more appropriate subject line. After '[PATCH] ' there should be a subsystem or driver name prefix, followed up a semicolon. Here it could be hso: , so something like: [PATCH] hso: Fix stack corruption on

[PATCH 2/2] hso: Fix stack corruption on some architectures

2013-08-21 Thread Daniel Gimpelevich
As Sergei Shtylyov explained in the #mipslinux IRC channel: [Mon 2013-08-19 12:28:21 PM PDT] headless guys, are you sure it's not DMA off stack case? [Mon 2013-08-19 12:28:35 PM PDT] headless it's a known stack corruptor on non-coherent arches [Mon 2013-08-19 12:31:48 PM PDT] DonkeyHotei

Re: [3.5.y.z extended stable] Linux 3.5.7.20

2013-08-21 Thread Luis Henriques
Luis Henriques luis.henriq...@canonical.com writes: I am announcing the release of the Linux 3.5.7.20 kernel. The updated 3.5.y tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.5.y and can be browsed at:

Re: [PATCH 1/3] mfd:mmc:rtsx: Change default tx phase

2013-08-21 Thread Lee Jones
On Wed, 21 Aug 2013, wei_w...@realsil.com.cn wrote: From: Wei WANG wei_w...@realsil.com.cn The default phase can meet most cards' requirement, but it is not the optimal one. In some extreme situation, the rx phase point produced by the following tuning process will drift quite a distance.

Re: [REGRESSION] 3.10.{6,7} crashes on network activity

2013-08-21 Thread Arend van Spriel
On 08/21/2013 02:11 AM, Josh Boyer wrote: On Tue, Aug 20, 2013 at 4:15 AM, Arend van Spriel ar...@broadcom.com wrote: On 08/20/2013 06:56 AM, Felix Fietkau wrote: On 2013-08-20 2:28 AM, Greg Kroah-Hartman wrote: On Tue, Aug 20, 2013 at 08:26:11AM +0800, Tom Gundersen wrote: On Tue, Aug

RE: [PATCH] reboot: perform warm/cold reset correctly for CF9 type

2013-08-21 Thread H. Peter Anvin
The thing is that the existing warm and cold means something different, I believe (skip post vs do post.) It is possible it just works, but it would be good to know which platforms or works on. Also, why do you need the cf9 boot method at all? All current systems * should * use the ACPI

linux-next: build warning after merge of the net-next tree

2013-08-21 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (i386 defconfig and probably others) produced this warning: net/ipv6/addrconf.c: In function 'addrconf_notify': net/ipv6/addrconf.c:2793:22: warning: 'link_dev' may be used uninitialized in this function [-Wuninitialized]

[PATCH] block: swim: remove unnecessary platform_set_drvdata()

2013-08-21 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/block/swim.c |2 -- 1 file changed, 2 deletions(-) diff --git

Re: [PATCH] iio: adc: Add bindigs documentation for twl6030 GPADC

2013-08-21 Thread Mark Rutland
On Tue, Aug 20, 2013 at 04:34:56PM +0100, Guenter Roeck wrote: On Tue, Aug 20, 2013 at 10:12:28AM +0100, Mark Rutland wrote: Hi Oleksandr, [Adding Jonathan Cameron and Guenter Roeck to Cc] Apologies for the delay replying to this. In attempting to verify this made sense I went and

Re: [Xen-devel] [PATCH] xen/hvc: If we use xen_raw_printk let it also work on HVM guests.

2013-08-21 Thread Ian Campbell
On Tue, 2013-08-20 at 15:35 -0400, Konrad Rzeszutek Wilk wrote: void xen_raw_console_write(const char *str) { - dom0_write_console(0, str, strlen(str)); + ssize_t len = strlen(str); + int rc = 0; + + if (xen_domain()) { + rc = dom0_write_console(0, str, len);

Re: [PATCH] ARM: DTS: SAMA5: Add PMU support

2013-08-21 Thread Nicolas Ferre
On 05/08/2013 17:26, Alexandre Belloni : ARM Performance Monitor Units are available on the sama5d3, add the support in the dtsi. Tested with perf and oprofile on the sama5d31ek. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Nicolas Ferre

[PATCH 1/2] clocksource: sh_tmu: remove unnecessary platform_set_drvdata()

2013-08-21 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/clocksource/sh_tmu.c |1 - 1 file changed, 1 deletion(-) diff --git

linux-next: Tree for Aug 21

2013-08-21 Thread Stephen Rothwell
Hi all, There will be no linux-next trees on Aug 23 or 26. Changes since 20130820: New tree: aio-direct Removed tree: xilinx (at maintainer's request) The xfs tree still had its build failure for which I reverted a commit. The trivial tree gained conflicts against the crypto, net-next and

[PATCH 2/2] clocksource: sh_mtu2: remove unnecessary platform_set_drvdata()

2013-08-21 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/clocksource/sh_mtu2.c |1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH 2/2] usb: fail on usb_hub_create_port_device() errors

2013-08-21 Thread Krzysztof Mazur
On Tue, Aug 20, 2013 at 03:50:37PM -0400, Alan Stern wrote: On Tue, 20 Aug 2013, Krzysztof Mazur wrote: On Tue, Aug 20, 2013 at 02:18:57PM -0400, Alan Stern wrote: On Tue, 20 Aug 2013, Krzysztof Mazur wrote: Ignoring usb_hub_create_port_device() errors cause later NULL pointer

Re: [PATCH v7 0/5] zram/zsmalloc promotion

2013-08-21 Thread Bob Liu
Hi Minchan, On 08/21/2013 02:16 PM, Minchan Kim wrote: It's 7th trial of zram/zsmalloc promotion. I rewrote cover-letter totally based on previous discussion. The main reason to prevent zram promotion was no review of zsmalloc part while Jens, block maintainer, already acked zram part.

RE: [PATCH 1/4] pwm: add freescale ftm pwm driver support

2013-08-21 Thread Xiubo Li-B47053
TO Sascha, Thanks very much for your comments. Subject: Re: [PATCH 1/4] pwm: add freescale ftm pwm driver support On Wed, Aug 21, 2013 at 11:07:39AM +0800, Xiubo Li wrote: + +#define FTM_CSC_BASE0x0C +#define FTM_CSC(_CHANNEL) \ + (FTM_CSC_BASE + (_CHANNEL * 0x08)) I

Re: [PATCH] ARM: dts: am33xx: Correct gpio #interrupt-cells property

2013-08-21 Thread Benoit Cousson
Hi Tony, On 21/08/2013 09:59, Tony Lindgren wrote: * Lars Poeschel poesc...@lemonage.de [130821 01:04]: Hi Tony! On Wednesday 21 August 2013 at 09:50:16, Tony Lindgren wrote: Benoit, Care to take a look at this too? Benoit already applied this with Mark Rutlands Acked-By and Javier

Re: [PATCH v2 03/20] mm, hugetlb: fix subpool accounting handling

2013-08-21 Thread Aneesh Kumar K.V
Joonsoo Kim iamjoonsoo@lge.com writes: If we alloc hugepage with avoid_reserve, we don't dequeue reserved one. So, we should check subpool counter when avoid_reserve. This patch implement it. Can you explain this better ? ie, if we don't have a reservation in the area chg != 0. So why

[PATCH] i2c: exynos5: add High Speed I2C controller driver

2013-08-21 Thread Naveen Krishna Chatradhi
Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. Highspeed mode is a minor change in the i2c protocol. Starts with 1. start condition, 2. 8-bit master ID code (1xxx) 3. followed by a NACK bit Once the above conditions are met, the bus is now operates in

Re: [PATCH v2 05/20] mm, hugetlb: grab a page_table_lock after page_cache_release

2013-08-21 Thread Aneesh Kumar K.V
Joonsoo Kim iamjoonsoo@lge.com writes: We don't need to grab a page_table_lock when we try to release a page. So, defer to grab a page_table_lock. Reviewed-by: Naoya Horiguchi n-horigu...@ah.jp.nec.com Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com Reviewed-by: Aneesh Kumar K.V

Re: [PATCH v2 04/20] mm, hugetlb: remove useless check about mapping type

2013-08-21 Thread Aneesh Kumar K.V
Joonsoo Kim iamjoonsoo@lge.com writes: is_vma_resv_set(vma, HPAGE_RESV_OWNER) implys that this mapping is for private. So we don't need to check whether this mapping is for shared or not. This patch is just for clean-up. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com Reviewed-by:

Re: [PATCH v2 0/3] arm: atmel: at91sam9n12: add i2c pinctrl and qt1070 support

2013-08-21 Thread Nicolas Ferre
On 11/07/2013 05:30, Bo Shen : this patch is based on linux master branch, implementation as following: - add the i2c pinctrl which needed for using at91sam9n12 TWI - enable qt1070 - trival fix for the gpio-key pin number Acked-by: Nicolas Ferre nicolas.fe...@atmel.com On the whole

Re: kmemleak in apei_res_add

2013-08-21 Thread Catalin Marinas
On 12 August 2013 03:45, Alexandra N. Kossovsky alexandra.kossov...@oktetlabs.ru wrote: When running 3.10.3 with kmemleak enabled, I see following warnings from kmemleak: unreferenced object 0x88024d2219a0 (size 32): comm swapper/0, pid 1, jiffies 4294894532 (age 26865.180s) hex dump

[PATCH] dma: sh: remove unnecessary platform_set_drvdata()

2013-08-21 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/dma/sh/shdma.c |3 --- drivers/dma/sh/sudmac.c |2 -- 2 files

sun4i_handle_irq: WARNING at net/ipv4/tcp_input.c:2711 tcp_fastretrans_alert

2013-08-21 Thread Richard GENOUD
Hi Maxime, Stephan I just realise that, *sometimes*, I have some warnings on my cubieboard (6 since the 22 of july, and the board is runnning 24/24). It has happened also on 3.10 + emac patches. Here it is: [27224.06] [ cut here ] [27224.07] WARNING: CPU: 0 PID: 0

[RFC PATCH next]module: Fix mod-mkobj.kobj potentially freed too early

2013-08-21 Thread Li Zhong
DEBUG_KOBJECT_RELEASE helps to find the issue attached below. After some investigation, it seems the reason is: The mod-mkobj.kobj(a01600d0 below) is freed together with mod itself in free_module(). However, its children still hold references to it, as the delay caused by

Re: [PATCH 1/4] pwm: add freescale ftm pwm driver support

2013-08-21 Thread Sascha Hauer
On Wed, Aug 21, 2013 at 09:24:56AM +, Xiubo Li-B47053 wrote: TO Sascha, + + fpc = to_fsl_chip(chip); + + if (WARN_ON(!test_bit(PWMF_REQUESTED, pwm-flags))) + return -ESHUTDOWN; + + statename = kasprintf(GFP_KERNEL, en%d, pwm-hwpwm); + pins_state =

[PATCH] dma: sh: remove unnecessary platform_set_drvdata()

2013-08-21 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/dma/sh/shdma.c |3 --- drivers/dma/sh/sudmac.c |2 -- 2 files

[PATCH] dma: ipu: remove unnecessary platform_set_drvdata()

2013-08-21 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/dma/ipu/ipu_idmac.c |1 - 1 file changed, 1 deletion(-) diff --git

[no subject]

2013-08-21 Thread gcb
My wife and I won the Euro Millions Lottery of 41 Million British Pounds and we have decided to donate 1.5 million British Pounds to 6 individuals worldwide as our own charity project. Your email address was among the emails which were submitted to us by the Google, Inc as a web user, which

Re: [PATCH v1 1/2] perf: add attr-mmap2 attribute to an event

2013-08-21 Thread Stephane Eranian
On Thu, Aug 15, 2013 at 12:26 PM, Peter Zijlstra pet...@infradead.org wrote: On Tue, Aug 13, 2013 at 01:55:56PM +0200, Stephane Eranian wrote: @@ -638,6 +639,25 @@ enum perf_event_type { */ PERF_RECORD_SAMPLE = 9, + /* + * The MMAP2 records

Re: [PATCH v2 06/20] mm, hugetlb: return a reserved page to a reserved pool if failed

2013-08-21 Thread Aneesh Kumar K.V
Joonsoo Kim iamjoonsoo@lge.com writes: If we fail with a reserved page, just calling put_page() is not sufficient, because put_page() invoke free_huge_page() at last step and it doesn't know whether a page comes from a reserved pool or not. So it doesn't do anything related to reserved

Re: [PATCH v1 1/2] perf: add attr-mmap2 attribute to an event

2013-08-21 Thread Stephane Eranian
On Mon, Aug 19, 2013 at 11:14 AM, Stephane Eranian eran...@google.com wrote: On Thu, Aug 15, 2013 at 12:26 PM, Peter Zijlstra pet...@infradead.org wrote: On Tue, Aug 13, 2013 at 01:55:56PM +0200, Stephane Eranian wrote: @@ -638,6 +639,25 @@ enum perf_event_type { */

Re: [PATCH v2 07/20] mm, hugetlb: unify region structure handling

2013-08-21 Thread Aneesh Kumar K.V
Joonsoo Kim iamjoonsoo@lge.com writes: Currently, to track a reserved and allocated region, we use two different ways for MAP_SHARED and MAP_PRIVATE. For MAP_SHARED, we use address_mapping's private_list and, for MAP_PRIVATE, we use a resv_map. Now, we are preparing to change a coarse

<    4   5   6   7   8   9   10   11   12   13   >