Re: [PATCH 5/7] sctp: Convert __list_for_each use to list_for_each

2013-06-20 Thread David Miller
From: Dave Jones da...@redhat.com Date: Mon, 17 Jun 2013 22:26:52 -0400 Signed-off-by: Dave Jones da...@redhat.com Applied, thanks Dave. -- 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

Re: [net-next rfc 1/3] net: avoid high order memory allocation for queues by using flex array

2013-06-20 Thread Eric Dumazet
On Thu, 2013-06-20 at 13:14 +0800, Jason Wang wrote: A drawback of NETIF_F_LLTX is that we may contend on qdisc lock especially when we have a huge number of tx queues. For your information loopback driver is LLTX, and there is no qdisc on it, unless you specifically add one. Once you add a

Re: [PATCH 2/9] PTR_RET is now PTR_ERR_OR_ZERO(): Replace most.

2013-06-20 Thread David Miller
From: Rusty Russell ru...@rustcorp.com.au Date: Sun, 16 Jun 2013 14:12:41 +0930 Sweep of the simple cases. Cc: net...@vger.kernel.org Cc: linuxppc-...@lists.ozlabs.org Cc: linux-arm-ker...@lists.infradead.org Cc: Julia Lawall julia.law...@lip6.fr Signed-off-by: Rusty Russell

Re: [Part1 PATCH v5 00/22] x86, ACPI, numa: Parse numa info earlier

2013-06-20 Thread Tejun Heo
Hello, Tang. On Thu, Jun 20, 2013 at 01:52:50PM +0800, Tang Chen wrote: 1. It is difficult to tell which memory allocation is temporary and which one is permanent when memblock is allocating memory. So, we can only wait till boot is complete, and see which remains. But, we have the

Re: [PATCH v2 4/7] ARM: davinci: creation of gpio platform device for dmxxx platforms

2013-06-20 Thread Sekhar Nori
On 6/14/2013 3:05 PM, Philip Avinash wrote: gpio controller resource information being associated with davinci_soc_info structure and not created any device. Hence davinci gpio didn't fall under proper device model. This patch creates gpio davinci as a platform device for dmxxx platforms.

Re: [Trivial PATCH 28/33] ipv6: Convert use of typedef ctl_table to struct ctl_table

2013-06-20 Thread David Miller
From: Joe Perches j...@perches.com Date: Thu, 13 Jun 2013 19:37:53 -0700 This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches j...@perches.com Applied. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [Trivial PATCH 29/33] ndisc: Convert use of typedef ctl_table to struct ctl_table

2013-06-20 Thread David Miller
From: Joe Perches j...@perches.com Date: Thu, 13 Jun 2013 19:37:54 -0700 This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches j...@perches.com Applied. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[PATCH] kernel/itimer.c: for return value, using -EINVAL instead of -EFAULT

2013-06-20 Thread Chen Gang
For the system call getitimer(), if the parameter 'value' is NULL, need return -EINVAL, not -EFAULT. Signed-off-by: Chen Gang gang.c...@asianux.com --- kernel/itimer.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/itimer.c b/kernel/itimer.c index

Re: [PATCH RESEND v5] fat: editions to support fat_fallocate

2013-06-20 Thread Namjae Jeon
2013/6/19, OGAWA Hirofumi hirof...@mail.parknet.co.jp: Namjae Jeon linkinj...@gmail.com writes: If above is correct, right implement to change get_block(). Now when we try to write in the fallocated region ( with keep size) in the fat_write_begin when it is called first time it checks that the

Re: [PATCH] pinctrl: document the pinctrl PM states

2013-06-20 Thread Tony Lindgren
* Stephen Warren swar...@wwwdotorg.org [130619 13:08]: On 06/17/2013 01:20 AM, Tony Lindgren wrote: ... First, I think the concept of remuxing (or even checking) _all_ the pins for a consumer device is wrong on most if not all hardware. For past 10 years I have not seen a case where _all_

Re: [PATCH 0/3] mm, vmalloc: cleanup for vmap block

2013-06-20 Thread Johannes Weiner
On Mon, Jun 10, 2013 at 10:12:57AM +0900, Chanho Min wrote: This patchset is a cleanup for vmap block. And similar/same patches has been submitted before: - Johannes Weiner's patch: https://lkml.org/lkml/2011/4/14/619 - Chanho Min's patch: https://lkml.org/lkml/2013/2/6/810 This is

Re: [PATCH v3 1/3] cpufreq: Add boost frequency support in core

2013-06-20 Thread Lukasz Majewski
On Thu, 20 Jun 2013 10:41:41 +0530, Viresh Kumar wrote: On 19 June 2013 12:46, Lukasz Majewski l.majew...@samsung.com wrote: I would like to clarify the above issue. When I've discussed with Viresh previous version of this patch, we have agreed, that boost sysfs attribute [*]:

Re: [PATCH V5 1/3] pci: Add PCIe driver for Samsung Exynos

2013-06-20 Thread Jingoo Han
On Wednesday, June 19, 2013 9:43 PM, Arnd Bergmann wrote: On Wednesday 19 June 2013, Jingoo Han wrote: Then, do you mean the following? static int __exit exynos_pcie_remove(struct platform_device *pdev) { struct pcie_port *pp = platform_get_drvdata(pdev);

Re: [PATCH] gpio-langwell: remove Withney point support

2013-06-20 Thread Linus Walleij
On Wed, Jun 19, 2013 at 11:02 PM, Andy Shevchenko andy.shevche...@gmail.com wrote: On Wed, Jun 19, 2013 at 10:23 PM, Linus Walleij linus.wall...@linaro.org wrote: Please give some context though, Wikipedia says: Whitney Point is the codename of a PCH in the Oak Trail platform chipset for

Re: [RFC PATCH 13/50] ARM: at91: move at91rm9200 SoC to new at91 clk implem

2013-06-20 Thread Mike Turquette
Quoting Boris BREZILLON (2013-06-07 08:11:03) +static struct clk_lookup pioA_clk_lookup[] = { + CLKDEV_INIT(NULL, pioA_clk, NULL), + CLKDEV_INIT(NULL, pioA, NULL), +}; It would be great to get rid of this clkdev data from the kernel as well. Have you looked into encoding the

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-20 Thread David Gibson
On Thu, Jun 20, 2013 at 02:58:18PM +1000, Alexey Kardashevskiy wrote: On 06/20/2013 01:49 AM, Alex Williamson wrote: On Thu, 2013-06-20 at 00:50 +1000, Benjamin Herrenschmidt wrote: On Wed, 2013-06-19 at 11:58 +0200, Alexander Graf wrote: Alex, any objection ? Which Alex? :) Heh,

[PATCH] Staging: vt6655: aes_ccmp: fixed a brace coding style

2013-06-20 Thread John B. Wyatt IV
From: John B. Wyatt IV sageofredo...@gmail.com Fixed a coding style issue. Signed-off-by: John B. Wyatt IV sageofredo...@gmail.com --- drivers/staging/vt6655/aes_ccmp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/vt6655/aes_ccmp.c

Re: [PATCH] kernel/itimer.c: for return value, using -EINVAL instead of -EFAULT

2013-06-20 Thread Thomas Gleixner
On Thu, 20 Jun 2013, Chen Gang wrote: For the system call getitimer(), if the parameter 'value' is NULL, need return -EINVAL, not -EFAULT. Care to explain why? Because you are feeling so? I recommend reading the man page of getitimer: ERRORS EFAULT new_value, old_value, or curr_value

Re: [PATCH] net bridge: add null pointer check, fix panic

2013-06-20 Thread xiaoming gao
Eric Dumazet said, at 2013-6-20 12:55: On Thu, 2013-06-20 at 11:08 +0800, xiaoming gao wrote: From: newtongao newton...@tencent.com Date: Wed, 19 Jun 2013 14:58:33 +0800 Subject: [PATCH] net bridge: add null pointer check,fix panic in kernel 3.0, br_port_get_rcu() may return NULL when

[git pull] Please pull powerpc.git merge branch

2013-06-20 Thread Benjamin Herrenschmidt
Hi Linus ! Please pull this regression fix into 3.10. We accidentally broke hugetlbfs on Freescale embedded processors which use a slightly different page table layout than our server processors. Cheers, Ben. The following changes since commit c0691143dfe1d42ec9bd89de5921ccb6a27ea1b3:

Re: [PATCH] kernel/kthread.c: need spin_lock_irq() for 'worker' before main looping, since it can WARN_ON(worker-task).

2013-06-20 Thread Thomas Gleixner
On Thu, 20 Jun 2013, Chen Gang wrote: On 06/19/2013 11:52 PM, Tejun Heo wrote: On Wed, Jun 19, 2013 at 06:17:36PM +0800, Chen Gang wrote: Hmm... can 'worker-task' has chance to be not NULL before set 'current' to it ? Yes, if the caller screws up and try to attach more than one workers

[PATCH] regulator: max77693: Add max77693 regualtor driver.

2013-06-20 Thread Jonghwa Lee
This patch adds new regulator driver to support max77693 chip's regulators. max77693 has two linear voltage regulators and one current regulator which can be controlled through I2C bus. This driver also supports device tree. Signed-off-by: Jonghwa Lee jonghwa3@samsung.com Signed-off-by:

paper supplier

2013-06-20 Thread Ewrshn
Dear Purchasing manager: Nice time to you It is my big pleasure to hear you need A4 paper If you still need that pls tell me Then i can send you our best price Best wishes Ida Ida Chen SALES MANAGER East Siweite industry Co., Ltd www.dfswtpaper.com SKYPE: siweite

Re: [PATCH] gpio-langwell: remove Withney point support

2013-06-20 Thread Andy Shevchenko
On Thu, Jun 20, 2013 at 9:46 AM, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Jun 19, 2013 at 11:02 PM, Andy Shevchenko andy.shevche...@gmail.com wrote: On Wed, Jun 19, 2013 at 10:23 PM, Linus Walleij linus.wall...@linaro.org wrote: Please give some context though, Wikipedia says:

[PATCH V6 0/3] PCIe support for Samsung Exynos5440 SoC

2013-06-20 Thread Jingoo Han
Hi, This series of patches introduces PCIe support for Samsung Exynos5440, and is based on the latest 'linux-next' tree (20130619). These patches was tested with Intel e1000e LAN card on Exynos5440. This PATCH v6 follows: * PATCH v5, sent on June, 13th 2013 * PATCH v4, sent on June, 12th 2013

[PATCH V6 1/3] pci: Add PCIe driver for Samsung Exynos

2013-06-20 Thread Jingoo Han
Exynos5440 has a PCIe controller which can be used as Root Complex. This driver supports a PCIe controller as Root Complex mode. Signed-off-by: Surendranath Gurivireddy Balla suren.re...@samsung.com Signed-off-by: Siva Reddy Kallam siva.kal...@samsung.com Signed-off-by: Jingoo Han

[PATCH V1] ARM: dts: tegra: Modify pcie memory space size

2013-06-20 Thread Jay Agarwal
- decrease non-prefetch memory size to 128 MB - increase prefetch memory size to 384 MB - above change is done because most pcie devices prefetch memory size requirement is quite higher compared to non-prefetch memory space. Signed-off-by: Jay Agarwal jagar...@nvidia.com --- Patch is based on

linux-next: manual merge of the arm-soc tree with the tip tree

2013-06-20 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-integrator/integrator_ap.c between commit 38ff87f77af0 (sched_clock: Make ARM's sched_clock generic for all architectures) from the tip tree and commit 01ef31053ddd (ARM: integrator: move VGA base assignment)

[PATCH V6 2/3] ARM: EXYNOS: Enable PCIe support for Exynos5440

2013-06-20 Thread Jingoo Han
Enable PCIe support for Exynos5440 which has two PCIe controllers. Signed-off-by: Jingoo Han jg1@samsung.com --- arch/arm/Kconfig |1 + arch/arm/mach-exynos/Kconfig |2 ++ 2 files changed, 3 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index

Re: [RFC PATCH 13/50] ARM: at91: move at91rm9200 SoC to new at91 clk implem

2013-06-20 Thread boris brezillon
Hello, On 20/06/2013 08:52, Mike Turquette wrote: Quoting Boris BREZILLON (2013-06-07 08:11:03) +static struct clk_lookup pioA_clk_lookup[] = { + CLKDEV_INIT(NULL, pioA_clk, NULL), + CLKDEV_INIT(NULL, pioA, NULL), +}; It would be great to get rid of this clkdev data from the

[PATCH V6 3/3] ARM: dts: Add pcie controller node for Samsung EXYNOS5440 SoC

2013-06-20 Thread Jingoo Han
Exynos5440 has two PCIe controllers which can be used as root complex for PCIe interface. Signed-off-by: Jingoo Han jg1@samsung.com --- arch/arm/boot/dts/exynos5440-ssdk5440.dts |8 ++ arch/arm/boot/dts/exynos5440.dtsi | 40 - 2 files changed, 47

linux-next: manual merge of the arm-soc tree with the tip tree

2013-06-20 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/clocksource/dw_apb_timer_of.c between commits 0a0a7e66fa26 (clocksource: dw_apb: Remove unused header) and 38ff87f77af0 (sched_clock: Make ARM's sched_clock generic for all architectures) from the tip tree and commit

Re: [PATCH] kernel/itimer.c: for return value, using -EINVAL instead of -EFAULT

2013-06-20 Thread Chen Gang
On 06/20/2013 02:59 PM, Thomas Gleixner wrote: On Thu, 20 Jun 2013, Chen Gang wrote: For the system call getitimer(), if the parameter 'value' is NULL, need return -EINVAL, not -EFAULT. Care to explain why? Because you are feeling so? I am not feeling so, the original implementation

Re: [RFC PATCH 2/6] mfd: omap-usb-host: Put pins in IDLE state on suspend

2013-06-20 Thread Tony Lindgren
* Kevin Hilman khil...@linaro.org [130619 10:30]: Hi Roger, Roger Quadros rog...@ti.com writes: In order to support wake up from suspend use the pinctrl framework to put the USB host pins in IDLE state during suspend. CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger

[PATCH 0/2] pinctrl: ABX500: Add device tree support

2013-06-20 Thread patrice.chotard.st
From: Patrice Chotard patrice.chot...@st.com This patchset replaces previously submitted patch regarding device tree support for ABX500 Asic family. It now uses pin configuration generic parsing code proposed by Heiko Stuebner. Patrice Chotard (2): pinctrl: abx500: Add device tree support

[PATCH 2/2] pinctrl: abx500: fix abx500_pin_config_set()

2013-06-20 Thread patrice.chotard.st
From: Patrice Chotard patrice.chot...@st.com _ Update abx500_pin_config_set() in order to take in account PIN_CONFIG_BIAS_DISABLE state to disable pull up or pull down. _ Rework error path. Signed-off-by: Patrice Chotard patrice.chot...@st.com --- drivers/pinctrl/pinctrl-abx500.c | 31

[PATCH 1/2] pinctrl: abx500: Add device tree support

2013-06-20 Thread patrice.chotard.st
From: Patrice Chotard patrice.chot...@st.com We use the same way to define pin muxing and pin configuration than for nomadik. So pickup code from pinctrl_nomadik.c to be able to implement pin multiplexing and pin configuration using the device tree. Pin configuration uses generic parsing code.

[PATCH 0/2] pinctrl: ABX500: fix

2013-06-20 Thread patrice.chotard.st
From: Patrice Chotard patrice.chot...@st.com Patrice Chotard (2): pinctrl: abx500: suppress hardcoded value pinctrl: abx500: fix abx500_gpio_get() drivers/pinctrl/pinctrl-abx500.c | 34 ++-- include/linux/mfd/abx500/ab8500-gpio.h |5 + 2 files

[PATCH 2/2] pinctrl: abx500: fix abx500_gpio_get()

2013-06-20 Thread patrice.chotard.st
From: Patrice Chotard patrice.chot...@st.com _ allow to get output GPIO value. _ as there is no GPIO0 on ABX500, use correct offset with abx500_gpio_get_bit(). Signed-off-by: Patrice Chotard patrice.chot...@st.com --- drivers/pinctrl/pinctrl-abx500.c | 16 ++-- 1 file changed,

[PATCH 1/2] pinctrl: abx500: suppress hardcoded value

2013-06-20 Thread patrice.chotard.st
From: Patrice Chotard patrice.chot...@st.com Replace hardcoded value by corresponding #define's. Signed-off-by: Patrice Chotard patrice.chot...@st.com --- drivers/pinctrl/pinctrl-abx500.c | 18 ++ include/linux/mfd/abx500/ab8500-gpio.h |5 + 2 files changed, 19

[PATCH] gpio: ADI GPIO2 driver for BF54x and BF60x.

2013-06-20 Thread Sonic Zhang
From: Sonic Zhang sonic.zh...@analog.com The new ADI GPIO2 controller was introduced since the BF548 and BF60x processors. It differs a lot from the old one on BF5xx processors. So, create a ADI GPIO2 platform driver in the GPIO driver folder. - Define gpio ports as individual platform devices.

Re: [PATCH] net bridge: add null pointer check, fix panic

2013-06-20 Thread Eric Dumazet
On Thu, 2013-06-20 at 15:00 +0800, xiaoming gao wrote: HI Eric the problem is as follow: br_del_if()--del_nbp(): list_del_rcu(p-list); dev-priv_flags = ~IFF_BRIDGE_PORT; --at this point, the nic be deleting still have rx_handler , so , may in br_handle_frame()

[PATCH V2] regulator: 88pm800: add regulator driver for 88pm800

2013-06-20 Thread Chao Xie
Add the regulator driver for PMIC 88pm800 including device tree support. 88pm800 is an I2C-based power-management IC containing voltage regulators, a real-time clock, and some general purpose ADC devices, Signed-off-by: Yi Zhang yizh...@marvell.com Signed-off-by: Chao Xie chao@marvell.com ---

Re: [PATCH] perf: fix bench numa compilation

2013-06-20 Thread Riccardo Magliocchetti
Hello, Il 19/06/2013 19:23, Arnaldo Carvalho de Melo ha scritto: - process_nr, thread_nr, runtime_ns_max / bytes_done, val); + printf( #%2d / %2d: %14.2lf nsecs/op [val: %016llx]\n, +

Re: [PATCH 1/8] ARM: at91/tc/clocksource: replace clk_enable/disable with clk_prepare_enable/disable_unprepare.

2013-06-20 Thread Nicolas Ferre
On 19/06/2013 13:13, Boris BREZILLON : Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/clocksource/tcb_clksrc.c |

Re: [PATCH] kernel/timer.c: using spin_lock_irqsave instead of spin_lock + local_irq_save, especially when CONFIG_LOCKDEP not defined

2013-06-20 Thread Thomas Gleixner
On Thu, 20 Jun 2013, Chen Gang wrote: On 06/19/2013 06:49 PM, Thomas Gleixner wrote: We must do this because some architectures implement do_raw_spin_lock_flags() in the following way: do_raw_spin_lock_flags(l, flags) { while (!arch_spin_trylock(l)) { if

linux-next: manual merge of the samsung tree with Linus' tree

2013-06-20 Thread Stephen Rothwell
Hi Kukjin, Today's linux-next merge of the samsung tree got a conflict in drivers/clk/samsung/clk-exynos5250.c between commit 39b72d89eb2b (clk: exynos5250: Update cpufreq related clocks for EXYNOS5250) from Linus' tree and commit 407e8d62fa7d (clk: exynos5250: Staticize local symbols) from the

Re: [PATCH] kernel/kthread.c: need spin_lock_irq() for 'worker' before main looping, since it can WARN_ON(worker-task).

2013-06-20 Thread Chen Gang
On 06/20/2013 03:02 PM, Thomas Gleixner wrote: On Thu, 20 Jun 2013, Chen Gang wrote: On 06/19/2013 11:52 PM, Tejun Heo wrote: On Wed, Jun 19, 2013 at 06:17:36PM +0800, Chen Gang wrote: Hmm... can 'worker-task' has chance to be not NULL before set 'current' to it ? Yes, if

Re: [PATCH v2 1/2] mce: acpi/apei: Honour Firmware First for MCA banks listed in APEI HEST CMC

2013-06-20 Thread Borislav Petkov
On Wed, Jun 19, 2013 at 11:27:17PM +0530, Naveen N. Rao wrote: The Corrected Machine Check structure (CMC) in HEST has a flag which can be set by the firmware to indicate to the OS that it prefers to process the corrected error events first. In this scenario, the OS is expected to not monitor

[PATCH v3] perf: fix bench numa compilation

2013-06-20 Thread Riccardo Magliocchetti
Fix the following errors on gcc 4.8.1 / x86: bench/numa.c: In function ‘worker_thread’: bench/numa.c:1113:20: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if (diff.tv_sec = g-p.nr_secs) { ^ bench/numa.c:1161:6: error: format

[linux-next 20130619] make at91x40_defconfig build error

2013-06-20 Thread Axel Lin
Hi, Test on linux-next 20130619. I Got below build error by make at91x40_defconfig; make fs/built-in.o: In function `copy_strings': super.c:(.text+0x6398): undefined reference to `flush_kernel_dcache_page' super.c:(.text+0x6420): undefined reference to `flush_kernel_dcache_page' lib/built-in.o:

Re: [PATCH 2/8] at_hdmac: prepare clk before calling enable

2013-06-20 Thread Nicolas Ferre
On 19/06/2013 13:14, Boris BREZILLON : Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com BTW Vinod, it seems that we have several

Re: [PATCH] kernel/itimer.c: for return value, using -EINVAL instead of -EFAULT

2013-06-20 Thread Thomas Gleixner
On Thu, 20 Jun 2013, Chen Gang wrote: On 06/20/2013 02:59 PM, Thomas Gleixner wrote: On Thu, 20 Jun 2013, Chen Gang wrote: For the system call getitimer(), if the parameter 'value' is NULL, need return -EINVAL, not -EFAULT. Care to explain why? Because you are feeling so? I am

Re: [PATCH] kernel: timer: looping issue, need reset variable 'found'

2013-06-20 Thread Thomas Gleixner
On Tue, 18 Jun 2013, Chen Gang wrote: On 06/10/2013 10:12 PM, Thomas Gleixner wrote: I think we can treat original implementation as for speed optimization, so our discussion is whether this speed optimization has effect with correctness. Then I recommend that you to sit down and analyze the

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-20 Thread Benjamin Herrenschmidt
On Thu, 2013-06-20 at 15:28 +1000, David Gibson wrote: Just out of curiosity - would not get_file() and fput_atomic() on a group's file* do the right job instead of vfio_group_add_external_user() and vfio_group_del_external_user()? I was thinking that too. Grabbing a file reference

Re: [PATCH] net bridge: add null pointer check, fix panic

2013-06-20 Thread xiaoming gao
Eric Dumazet said, at 2013-6-20 15:29: On Thu, 2013-06-20 at 15:00 +0800, xiaoming gao wrote: HI Eric the problem is as follow: br_del_if()--del_nbp(): list_del_rcu(p-list); dev-priv_flags = ~IFF_BRIDGE_PORT; --at this point, the nic be deleting still have rx_handler , so , may in

Re: [PATCH 8/8] at91/avr32/atmel_lcdfb: prepare clk before calling enable

2013-06-20 Thread Nicolas Ferre
On 19/06/2013 13:22, Boris BREZILLON : Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/video/atmel_lcdfb.c |8

Re: [PATCH v2 2/2] mce: acpi/apei: Add a boot option to disable ff mode for corrected errors

2013-06-20 Thread Borislav Petkov
On Wed, Jun 19, 2013 at 11:27:42PM +0530, Naveen N. Rao wrote: Add a boot option to disable firmware first mode for corrected errors. Signed-off-by: Naveen N. Rao naveen.n@linux.vnet.ibm.com --- Documentation/x86/x86_64/boot-options.txt |5 + arch/x86/include/asm/acpi.h

Re: [PATCH V6 3/3] ARM: dts: Add pcie controller node for Samsung EXYNOS5440 SoC

2013-06-20 Thread Thomas Petazzoni
Dear Jingoo Han, On Thu, 20 Jun 2013 16:12:24 +0900, Jingoo Han wrote: - pinctrl { + pin_ctrl: pinctrl { compatible = samsung,exynos5440-pinctrl; I know I'm nitpicking, but isn't this change completely unrelated to PCIe support? Thomas -- Thomas Petazzoni, Free

Re: [PATCH 4/8] tty: atmel_serial: prepare clk before calling enable

2013-06-20 Thread Nicolas Ferre
On 19/06/2013 13:17, Boris BREZILLON : Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com (one comment though) ---

Re: [PATCH 1/2] GPIO: Add support for dual channel in gpio-xilinx.c

2013-06-20 Thread Michal Simek
On 06/17/2013 07:29 AM, Linus Walleij wrote: On Fri, May 31, 2013 at 9:34 AM, Michal Simek mon...@monstr.eu wrote: On 05/31/2013 09:14 AM, Linus Walleij wrote: It's OK, but fix the boolean member so as to just needing to be present: xlnx,is-dual; Rather than xlnx,is-dual = 1; Surely

[v2][PATCH 7/7] book3e/kexec/kdump: recover r4 = 0 to create the initial TLB

2013-06-20 Thread Tiejun Chen
In commit 96f013f, powerpc/kexec: Add kexec hold support for Book3e processors, requires that GPR4 survive the hold process, for IBM Blue Gene/Q with with some very strange firmware. But for FSL Book3E, r4 = 1 to indicate that the initial TLB entry for this core already exists so we still should

[v2][PATCH 6/7] book3e/kexec/kdump: redefine VIRT_PHYS_OFFSET

2013-06-20 Thread Tiejun Chen
Book3e is always aligned 1GB to create TLB so we should use (KERNELBASE - MEMORY_START) as VIRT_PHYS_OFFSET to get __pa/__va properly while boot kdump. Signed-off-by: Tiejun Chen tiejun.c...@windriver.com --- arch/powerpc/include/asm/page.h |2 ++ 1 file changed, 2 insertions(+) diff --git

[v2][PATCH 3/7] book3e/kexec/kdump: create a 1:1 TLB mapping

2013-06-20 Thread Tiejun Chen
book3e have no real MMU mode so we have to create a 1:1 TLB mapping to make sure we can access the real physical address. And correct something to support this pseudo real mode on book3e. Signed-off-by: Tiejun Chen tiejun.c...@windriver.com --- arch/powerpc/kernel/head_64.S |9 ---

[v2][PATCH 4/7] book3e/kexec/kdump: introduce a kexec kernel flag

2013-06-20 Thread Tiejun Chen
We need to introduce a flag to indicate we're already running a kexec kernel then we can go proper path. For example, We shouldn't access spin_table from the bootloader to up any secondary cpu for kexec kernel, and kexec kernel already know how to jump to generic_secondary_smp_init.

[v2][PATCH 5/7] book3e/kexec/kdump: implement ppc64 kexec specfic

2013-06-20 Thread Tiejun Chen
ppc64 kexec mechanism has a different implementation with ppc32. Signed-off-by: Tiejun Chen tiejun.c...@windriver.com --- arch/powerpc/platforms/85xx/smp.c | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/powerpc/platforms/85xx/smp.c b/arch/powerpc/platforms/85xx/smp.c

[v2][PATCH 0/7] powerpc/book3e: support kexec and kdump

2013-06-20 Thread Tiejun Chen
This patchset is used to support kexec and kdump on book3e. Tested on fsl-p5040 DS. v2: * rebase on merge branch as Ben mention now. v1: * improve some patch head * rebase on next branch with patch 7 Tiejun Chen

[v2][PATCH 2/7] book3e/kexec/kdump: enable kexec for kernel

2013-06-20 Thread Tiejun Chen
We need to active KEXEC for book3e and bypass or convert non-book3e stuff in kexec coverage. Signed-off-by: Tiejun Chen tiejun.c...@windriver.com --- arch/powerpc/Kconfig |2 +- arch/powerpc/kernel/machine_kexec_64.c |6 ++ arch/powerpc/kernel/misc_64.S |

[v2][PATCH 1/7] powerpc/book3e: support CONFIG_RELOCATABLE

2013-06-20 Thread Tiejun Chen
book3e is different with book3s since 3s includes the exception vectors code in head_64.S as it relies on absolute addressing which is only possible within this compilation unit. So we have to get that label address with got. And when boot a relocated kernel, we should reset ipvr properly again

Re: [PATCH V6 3/3] ARM: dts: Add pcie controller node for Samsung EXYNOS5440 SoC

2013-06-20 Thread Jingoo Han
On Thursday, June 20, 2013 4:49 PM, Thomas Petazzoni wrote: Dear Jingoo Han, On Thu, 20 Jun 2013 16:12:24 +0900, Jingoo Han wrote: - pinctrl { + pin_ctrl: pinctrl { compatible = samsung,exynos5440-pinctrl; I know I'm nitpicking, but isn't this change completely

Re: [PATCH] gpio-langwell: remove Withney point support

2013-06-20 Thread Mika Westerberg
On Thu, Jun 20, 2013 at 10:09:37AM +0300, Andy Shevchenko wrote: On Thu, Jun 20, 2013 at 9:46 AM, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Jun 19, 2013 at 11:02 PM, Andy Shevchenko andy.shevche...@gmail.com wrote: On Wed, Jun 19, 2013 at 10:23 PM, Linus Walleij

Re: [PATCH] virtio-pci: fix leaks of msix_affinity_masks

2013-06-20 Thread Michael S. Tsirkin
On Thu, Jun 20, 2013 at 09:36:50AM +0400, Andrey Vagin wrote: From: Andrew Vagin ava...@openvz.org vp_dev-msix_vectors should be initialized before allocating msix_affinity_masks, otherwise vp_free_vectors will not free these objects. unreferenced object 0x88010f969d88 (size 512):

Re: [PATCH V6 3/3] ARM: dts: Add pcie controller node for Samsung EXYNOS5440 SoC

2013-06-20 Thread Thomas Petazzoni
Dear Jingoo Han, On Thu, 20 Jun 2013 16:57:32 +0900, Jingoo Han wrote: - pinctrl { + pin_ctrl: pinctrl { compatible = samsung,exynos5440-pinctrl; I know I'm nitpicking, but isn't this change completely unrelated to PCIe support? This change is related to PCIe

Re: [PATCH RFC 0/2] Extend multi_v7_defconfig

2013-06-20 Thread Arnd Bergmann
On Thursday 20 June 2013, Michal Simek wrote: On 06/19/2013 08:46 PM, Arnd Bergmann wrote: On Wednesday 19 June 2013, Soren Brinkmann wrote: I don't know how much a defconfig is supposed to provide, hence as RFC. This patches are needed for booting Zynq into a minimum ramfs based system

Re: [PATCH 1/2] pinctrl: abx500: Add device tree support

2013-06-20 Thread Fabio Baltieri
Hi Patrice, this looks good, just a couple of minor notes, check below... On Thu, Jun 20, 2013 at 09:23:21AM +0200, patrice.chotard...@gmail.com wrote: From: Patrice Chotard patrice.chot...@st.com We use the same way to define pin muxing and pin configuration than for nomadik. So pickup

Re: [PATCH V6 3/3] ARM: dts: Add pcie controller node for Samsung EXYNOS5440 SoC

2013-06-20 Thread Tomasz Figa
Hi Jingoo, On Thursday 20 of June 2013 16:12:24 Jingoo Han wrote: Exynos5440 has two PCIe controllers which can be used as root complex for PCIe interface. Signed-off-by: Jingoo Han jg1@samsung.com --- arch/arm/boot/dts/exynos5440-ssdk5440.dts |8 ++

Re: [patch -next] FMC: NULL dereference on allocation failure

2013-06-20 Thread Dan Carpenter
On Wed, Jun 19, 2013 at 07:57:58PM +0200, Alessandro Rubini wrote: I'm not a fan of kcalloc. I think it removes readability. Ok. We'll go with my original patch then. regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 4/8] tty: atmel_serial: prepare clk before calling enable

2013-06-20 Thread boris brezillon
On 20/06/2013 09:48, Nicolas Ferre wrote: On 19/06/2013 13:17, Boris BREZILLON : Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com

Re: [for-next][PATCH 08/12] tracing: Add binary filter for events

2013-06-20 Thread Arend van Spriel
On 06/20/2013 05:35 AM, Steven Rostedt wrote: By allowing a binary '' operation, this gives the user the ability to test a bit. Note, a binary '|' is not added, as it doesn't make sense as fields must be compared to constants (for now), and ORing a constant will always return true.

[patch] FMC: fix error handling in probe() function

2013-06-20 Thread Dan Carpenter
The call to kzalloc() wasn't checked. The dev_info() message dereferenced freed memory on error. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/fmc/fmc-chardev.c b/drivers/fmc/fmc-chardev.c index b071039..cc031db 100644 --- a/drivers/fmc/fmc-chardev.c +++

[patch] lib/scatterlist: error handling in __sg_alloc_table()

2013-06-20 Thread Dan Carpenter
I was reviewing code which I suspected might allocate a zero size SG table. That will cause memory corruption. Also we can't return before doing the memset or we could end up using uninitialized memory in the cleanup path. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git

Re: [PATCH] net bridge: add null pointer check, fix panic

2013-06-20 Thread Eric Dumazet
On Thu, 2013-06-20 at 15:47 +0800, xiaoming gao wrote: if you remove the test on FF_BRIDGE_PORT, and br_port_get_rcu never returns NULL, the problem is fixed. but the codes in mainline is still bugged, am i right?? by the way, kernel-stable 3.0 and 3.4 tree also have this bug, and is very

Re: [PATCH] power/reset: Make the vexpress driver optional on arm and arm64

2013-06-20 Thread Pawel Moll
On Mon, 2013-06-10 at 16:12 +0100, Pawel Moll wrote: The driver can be used on either arm or arm64 platforms, but the latter doesn't have any platform-specific configuration options, so it must be possible to manually enable the driver. Signed-off-by: Pawel Moll pawel.m...@arm.com Acked-by:

Re: [PATCH] kernel/itimer.c: for return value, using -EINVAL instead of -EFAULT

2013-06-20 Thread Chen Gang
On 06/20/2013 03:44 PM, Thomas Gleixner wrote: We could do that, but that makes no sense. If we can detect it before copy_to_user() we can return the exactly same return value which we would return via copy_to_user(). That avoids to take a trap and run through the fixup code I don't think

Re: [PATCH 7/7] KVM: MMU: document fast invalidate all mmio sptes

2013-06-20 Thread Paolo Bonzini
Il 20/06/2013 07:21, Rob Landley ha scritto: On 06/19/2013 04:09:25 AM, Xiao Guangrong wrote: Document it to Documentation/virtual/kvm/mmu.txt Why break a change to a single documentation file into 7 pieces. Are we going to bisect the documentation? It is explaining 7 different

Re: [PATCH 2/2] pinctrl: abx500: fix abx500_pin_config_set()

2013-06-20 Thread Fabio Baltieri
On Thu, Jun 20, 2013 at 09:23:22AM +0200, patrice.chotard...@gmail.com wrote: From: Patrice Chotard patrice.chot...@st.com _ Update abx500_pin_config_set() in order to take in account PIN_CONFIG_BIAS_DISABLE state to disable pull up or pull down. _ Rework error path. Signed-off-by:

[PATCH v2] cpufreq: stats: Add 'load_table' debugfs file to show accumulated data of CPUs

2013-06-20 Thread Chanwoo Choi
This patch add new 'load_table' debugfs file to show previous accumulated data of CPUs load as following path and add CPUFREQ_LOADCHECK notification to CPUFREQ_TRANSITION_NOTIFIER notifier chain. - /sys/kernel/debug/cpufreq/load_table When governor calculates CPUs load on dbs_check_cpu(),

Re: [PATCH 1/2] mfd: davinci_voicecodec: Fix build breakage

2013-06-20 Thread Samuel Ortiz
Hi Sachin, On Tue, Jun 18, 2013 at 03:35:39PM +0530, Sachin Kamat wrote: Include the missing header file to fix the following build error: drivers/mfd/davinci_voicecodec.c: In function ‘davinci_vc_probe’: drivers/mfd/davinci_voicecodec.c:86:3: error: implicit declaration of function ‘io_v2p’

RE: [PATCH V6 3/3] ARM: dts: Add pcie controller node for Samsung EXYNOS5440 SoC

2013-06-20 Thread Jingoo Han
On Thursday, June 20, 2013 5:04 PM, Tomasz Figa wrote: Hi Jingoo, On Thursday 20 of June 2013 16:12:24 Jingoo Han wrote: Exynos5440 has two PCIe controllers which can be used as root complex for PCIe interface. Signed-off-by: Jingoo Han jg1@samsung.com ---

Re: [PATCH] lp: implement proper detach function for parport_driver lp

2013-06-20 Thread Hannes Weisbach
Am 19.06.2013 um 20:32 schrieb Greg Kroah-Hartman: They are doing what I am doing: translating whatever the user does on a /dev/parportN-node and sending device-specific commands over USB. When they do parport_announce_port(), lp.c should also be initialized and they should have the same

Re: [PATCH] kernel: timer: looping issue, need reset variable 'found'

2013-06-20 Thread Chen Gang
On 06/20/2013 03:47 PM, Thomas Gleixner wrote: On Tue, 18 Jun 2013, Chen Gang wrote: On 06/10/2013 10:12 PM, Thomas Gleixner wrote: I think we can treat original implementation as for speed optimization, so our discussion is whether this speed optimization has effect with correctness.

Re: [PATCH RFC 0/2] Extend multi_v7_defconfig

2013-06-20 Thread Michal Simek
On 06/20/2013 10:02 AM, Arnd Bergmann wrote: On Thursday 20 June 2013, Michal Simek wrote: On 06/19/2013 08:46 PM, Arnd Bergmann wrote: On Wednesday 19 June 2013, Soren Brinkmann wrote: I don't know how much a defconfig is supposed to provide, hence as RFC. This patches are needed for booting

Re: [PATCH] MFD: Change TWL6025 references to TWL6032

2013-06-20 Thread Samuel Ortiz
Hi Oleksandr, On Wed, Jun 19, 2013 at 03:24:02PM +0300, Oleksandr Kozaruk wrote: From: Graeme Gregory g...@slimlogic.co.uk The TWL6025 was never released beyond sample form and was replaced by the PhoenixLite range of chips - TWL6032. Change the references to reference the TWL6032 class and

Re: [PATCH] kernel/kthread.c: need spin_lock_irq() for 'worker' before main looping, since it can WARN_ON(worker-task).

2013-06-20 Thread Thomas Gleixner
On Thu, 20 Jun 2013, Chen Gang wrote: On 06/20/2013 03:02 PM, Thomas Gleixner wrote: On Thu, 20 Jun 2013, Chen Gang wrote: On 06/19/2013 11:52 PM, Tejun Heo wrote: On Wed, Jun 19, 2013 at 06:17:36PM +0800, Chen Gang wrote: Hmm... can 'worker-task' has chance to be not NULL

Re: [PATCH v2 2/4] tty/8250_dw: Add support for OCTEON UARTS.

2013-06-20 Thread Heikki Krogerus
On Wed, Jun 19, 2013 at 02:37:27PM -0700, David Daney wrote: From: David Daney david.da...@cavium.com A few differences needed by OCTEON: o These are DWC UARTS, but have USR at a different offset. o Internal SoC buses require reading back from registers to maintain write ordering.

Re: [PATCH] perf: arm64: Record the user-mode PC in the call chain.

2013-06-20 Thread Ingo Molnar
* Jed Davis j...@mozilla.com wrote: With this change, we no longer lose the innermost entry in the user-mode part of the call chain. See also the x86 port, which includes the ip, and the corresponding change in arch/arm. Signed-off-by: Jed Davis j...@mozilla.com ---

Re: [PATCHv1] kvm guest: fix uninitialized kvmclock read by KVM guest

2013-06-20 Thread Paolo Bonzini
Il 20/06/2013 10:30, Igor Mammedov ha scritto: On Wed, 19 Jun 2013 15:29:31 +0200 Paolo Bonzini pbonz...@redhat.com wrote: Il 19/06/2013 15:20, Batalov Eugene ha scritto: I've missed this detail. It looks like Igor's patch doesn't bring secondary cpus kvm_clocksource behavior back to one

[PATCH] cpufreq: stats: Add 'load_table' debugfs file to show accumulated data of CPUs

2013-06-20 Thread Chanwoo Choi
This patch add new 'load_table' debugfs file to show previous accumulated data of CPUs load as following path and add CPUFREQ_LOADCHECK notification to CPUFREQ_TRANSITION_NOTIFIER notifier chain. - /sys/kernel/debug/cpufreq/load_table When governor calculates CPUs load on dbs_check_cpu(),

Re: [PATCH v3 0/4] MFD: Palmas: Add TPS659038 PMIC support on Palmas

2013-06-20 Thread Samuel Ortiz
Hi, On Wed, Jun 19, 2013 at 11:27:46AM +0530, Keerthy wrote: From: J Keerthy j-keer...@ti.com The Patch series adds TPS659038 PMIC support in the palmas MFD and Regulator drivers. The TPS659038 has almost the same registers as of the earlier supported variants of PALMAS family such as the

[PATCH 1/2] regulator: of: Added a property to indicate bypass mode support

2013-06-20 Thread Kishon Vijay Abraham I
Added a property to indicate if the regulator supports bypass mode. Also modified of_get_regulation_constraints() to check for that property and set appropriate constraints. Cc: Laxman Dewangan ldewan...@nvidia.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

  1   2   3   4   5   6   7   8   9   10   >