Re: [PATCH v1 07/11] drivers: usb: twl4030: Add device tree support for twl4030 usb

2012-07-10 Thread Rajendra Nayak
On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: Add device tree support for twl6030 usb driver. twl4030? Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham Ikis...@ti.com --- .../devicetree/bindings/usb/twl-usb.txt

RE: [PATCH v1 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-07-10 Thread Venu Byravarasu
+ +#ifdef CONFIG_PM Should it not be CONFIG_PM_SLEEP instead of just CONFIG_PM? + +static int omap_usb2_runtime_suspend(struct device *dev) +{ + struct platform_device *pdev = to_platform_device(dev); + struct omap_usb *phy = platform_get_drvdata(pdev); + +static int

Re: [PATCH 1/4] staging:rts_pstor: Fix coding style issue in ms.c

2012-07-10 Thread Hitoshi NAKAMORI
Dear Greg. Thank you for your indication. I will rewrite this and send later. I'm sorry to let you have trouble. Regards -- 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

[PATCH v2 1/3] acpi : cpu hot-remove returns error when cpu_down() fails

2012-07-10 Thread Yasuaki Ishimatsu
Even if cpu_down() fails, acpi_processor_remove() continues to remove the cpu. But in this case, it should return error number since some process may run on the cpu. If the cpu has a running process and the cpu is turned the power off, the system may not work well. Signed-off-by: Yasuaki

[PATCH v2 2/3] acpi : prevent cpu from becoming online

2012-07-10 Thread Yasuaki Ishimatsu
Even if acpi_processor_handle_eject() offlines cpu, there is a chance to online the cpu after that. So the patch closes the window by using get/put_online_cpus(). Why does the patch change _cpu_up() logic? The patch cares the race of hot-remove cpu and _cpu_up(). If the patch does not change it,

Re: [patch 08/11] mm: memcg: remove needless !mm fixup to init_mm when charging

2012-07-10 Thread Wanpeng Li
On Mon, Jul 09, 2012 at 05:20:58PM +0200, Michal Hocko wrote: On Thu 05-07-12 02:45:00, Johannes Weiner wrote: It does not matter to __mem_cgroup_try_charge() if the passed mm is NULL or init_mm, it will charge the root memcg in either case. You can also change the comment in

[PATCH v2 3/3] acpi : acpi_bus_trim() stops removing devices when failing to remove the device

2012-07-10 Thread Yasuaki Ishimatsu
acpi_bus_trim() stops removing devices, when acpi_bus_remove() return error number. But acpi_bus_remove() cannot return error number correctly. acpi_bus_remove() only return -EINVAL, when dev argument is NULL. Thus even if device cannot be removed correctly, acpi_bus_trim() ignores and continues

Re: [PATCH 6/6] x86: Exit RCU extended QS on notify resume

2012-07-10 Thread Paul E. McKenney
On Fri, Jul 06, 2012 at 01:43:29PM -0700, Josh Triplett wrote: On Fri, Jul 06, 2012 at 09:33:38AM -0700, Paul E. McKenney wrote: On Fri, Jul 06, 2012 at 02:00:18PM +0200, Frederic Weisbecker wrote: --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -95,6 +95,7 @@ config X86 select

Re: [RESEND/PATCHv5 1/2] drivers: input: keypad: Add device tree support

2012-07-10 Thread Dmitry Torokhov
Hi Sourav, On Fri, Jun 08, 2012 at 04:22:59PM +0530, Sourav Poddar wrote: Update the Documentation with omap4 keypad device tree binding information. Add device tree support for omap4 keypad driver. Tested on omap4430 sdp. Sorry for the delay, I have a few comments: /* platform

Re: [PATCH v1 08/11] arm/dts: Add twl4030-usb data

2012-07-10 Thread Rajendra Nayak
On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: Add twl4030-usb data node in twl4030 device tree file. Signed-off-by: Kishon Vijay Abraham Ikis...@ti.com --- arch/arm/boot/dts/twl4030.dtsi | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff

Re: [PATCH 7/9] Input: ab8500-ponkey: Create AB8500 domain IRQ mapping

2012-07-10 Thread Dmitry Torokhov
On Mon, Jul 09, 2012 at 10:59:43PM +0200, Lee Jones wrote: Sorry for the cock-up(s). From: Lee Jones lee.jo...@linaro.org Date: Tue, 26 Jun 2012 10:46:50 +0100 Subject: [PATCH 1/1] Input: ab8500-ponkey: Create AB8500 domain IRQ mapping Before we can use any domain allocated IRQ, we need

Re: [patch 08/11] mm: memcg: remove needless !mm fixup to init_mm when charging

2012-07-10 Thread Michal Hocko
On Tue 10-07-12 14:10:21, Wanpeng Li wrote: On Mon, Jul 09, 2012 at 05:20:58PM +0200, Michal Hocko wrote: On Thu 05-07-12 02:45:00, Johannes Weiner wrote: It does not matter to __mem_cgroup_try_charge() if the passed mm is NULL or init_mm, it will charge the root memcg in either case. You

Re: [PATCH 7/9] Input: ab8500-ponkey: Create AB8500 domain IRQ mapping

2012-07-10 Thread Lee Jones
On 10/07/12 08:17, Dmitry Torokhov wrote: On Mon, Jul 09, 2012 at 10:59:43PM +0200, Lee Jones wrote: Sorry for the cock-up(s). From: Lee Jones lee.jo...@linaro.org Date: Tue, 26 Jun 2012 10:46:50 +0100 Subject: [PATCH 1/1] Input: ab8500-ponkey: Create AB8500 domain IRQ mapping Before we can

Re: [PATCH v1 10/11] arm/dts: omap: Add usb_otg and glue data

2012-07-10 Thread Rajendra Nayak
On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: Add usb otg data node in omap4/omap3 device tree file. Also update the node with board specific setting in omapx-board.dts file. Signed-off-by: Kishon Vijay Abraham Ikis...@ti.com --- arch/arm/boot/dts/omap3-beagle.dts |6

Re: [PATCH v1 05/11] drivers: usb: twl6030: Add dt support for twl6030 usb

2012-07-10 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 11:28 AM, Rajendra Nayak rna...@ti.com wrote: On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: Add device tree support for twl6030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham

Re: [PATCH v1 11/11] arm: omap: phy: remove unused functions from omap-phy-internal.c

2012-07-10 Thread Rajendra Nayak
On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: All the unnessary functions in omap-phy-internal is removed. These functionality are now handled by omap-usb2 phy driver. Cc: Felipe Balbiba...@ti.com Signed-off-by: Kishon Vijay Abraham Ikis...@ti.com Acked-by: Tony

[PATCH] usb: twl6030-usb: variable otg not declared in twl6030_usbotg_irq() in linux-next

2012-07-10 Thread Gerard Snitselaar
commit ff9cce82 added back 2 lines that were removed by commit c83a8542 causing build of twl6030-usb to get an error due to otg being referenced, but not declared. This patch removes those 2 lines again to restore intent of commit c83a8542. Signed-off-by: Gerard Snitselaar d...@snitselaar.org ---

Re: [PATCH v8] input: keyboard: Add keys driver for the LPC32xx SoC

2012-07-10 Thread Dmitry Torokhov
Hi Roland, On Thu, Jun 28, 2012 at 12:03:16AM +0200, Roland Stigge wrote: + +struct lpc32xx_kscan_drv { + struct input_dev *input; + struct clk *clk; + void __iomem *kscan_base; + u8 lastkeystates[8]; + u32 io_p_start; + u32 io_p_size; + u32 matrix_sz;

Re: [PATCH v1 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-07-10 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 11:16 AM, Rajendra Nayak rna...@ti.com wrote: diff --git a/Documentation/devicetree/bindings/usb/omap-usb.txt b/Documentation/devicetree/bindings/usb/omap-usb.txt new file mode 100644 index 000..80a28c9 --- /dev/null +++

[PATCH 1/6] staging/sbe-2t3e3: use module_pci_driver macro

2012-07-10 Thread Devendra Naga
the _init and _exit functions do nothing but pci_register_driver, and pci_unregister_driver, so replace these and also the module _init and _exit macros with the module_pci_driver macro. Signed-off-by: Devendra Naga devendra.a...@gmail.com --- drivers/staging/sbe-2t3e3/module.c | 13

[PATCH 2/6] staging/et131x: use module_pci_driver macro

2012-07-10 Thread Devendra Naga
remove code duplicating module_pci_driver and also the obvious comments about the _init and _exit points. Signed-off-by: Devendra Naga devendra.a...@gmail.com --- drivers/staging/et131x/et131x.c | 22 +- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git

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

2012-07-10 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/i2c/busses/i2c-nomadik.c between commit af97bace2cca (i2c-nomadik: move header to linux/platform_data/i2c-nomadik.h) from the i2c-embedded tree and commits 32e42c687e0a (ARM: ux500: Remove unused i2c platform_data

[PATCH 3/6] staging/sep: use module_pci_driver macro

2012-07-10 Thread Devendra Naga
this driver duplicates the module_pci_driver code, so remove the duplicated code and use module_pci_driver and also remove the obvious comments about _init and _exit. Signed-off-by: Devendra Naga devendra.a...@gmail.com --- drivers/staging/sep/sep_main.c | 27 +-- 1

[PATCH 4/6] staging/media/dt3155v4l: use module_pci_driver macro

2012-07-10 Thread Devendra Naga
the driver duplicates the module_pci_driver code, remove the duplicate code and use the module_pci_driver macro. Signed-off-by: Devendra Naga devendra.a...@gmail.com --- drivers/staging/media/dt3155v4l/dt3155v4l.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff

Re: [PATCH v1 05/11] drivers: usb: twl6030: Add dt support for twl6030 usb

2012-07-10 Thread Rajendra Nayak
On Tuesday 10 July 2012 11:58 AM, ABRAHAM, KISHON VIJAY wrote: Hi, On Tue, Jul 10, 2012 at 11:28 AM, Rajendra Nayakrna...@ti.com wrote: On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: Add device tree support for twl6030 usb driver. Update the Documentation with device tree

[PATCH 5/6] staging/media/solo6x10: use module_pci_driver macro

2012-07-10 Thread Devendra Naga
the driver duplicates the module_pci_driver code, how? module_pci_driver is used for those drivers whose init and exit paths does only register and unregister to pci API and nothing else. so use the module_pci_driver macro instead Signed-off-by: Devendra Naga

[PATCH 6/6] staging/phison: use module_pci_driver macro

2012-07-10 Thread Devendra Naga
remove the duplication of module_pci_driver and use this macro instead module_pci_driver macro does the same things as the code below does static int __init pci_test_dev_init(void) { return pci_register_driver(pci_test_driver_ops); } static void __exit pci_test_dev_exit(void) {

Re: [PATCH v1 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-07-10 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 11:33 AM, Venu Byravarasu vbyravar...@nvidia.com wrote: + +#ifdef CONFIG_PM Should it not be CONFIG_PM_SLEEP instead of just CONFIG_PM? Why? I think we should have CONFIG_PM_SLEEP only when we have *suspend*, *resume* hooks. But this driver has only

Re: [PATCH] pwm: add lpc32xx pwm support

2012-07-10 Thread Thierry Reding
On Mon, Jul 09, 2012 at 04:27:54PM -0300, Alexandre Pereira da Silva wrote: Add lpc32xx soc pwm driver. Signed-off-by: Alexandre Pereira da Silva aletes@gmail.com --- .../devicetree/bindings/pwm/lpc32xx-pwm.txt| 12 ++ drivers/pwm/Kconfig| 11

Re: [PATCH v1 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-07-10 Thread Rajendra Nayak
+ +static int __devinit omap_usb2_probe(struct platform_device *pdev) +{ + struct omap_usb *phy; + struct usb_otg *otg; + struct resource *res; + + phy = devm_kzalloc(pdev-dev, sizeof(*phy), GFP_KERNEL); + if (!phy)

Re: Boot regression on Mackerel with current mainline

2012-07-10 Thread Guennadi Liakhovetski
Hi Chris On Tue, 10 Jul 2012, Chris Ball wrote: Hi Guennadi, On Wed, Jul 04 2012, Guennadi Liakhovetski wrote: On Tue, 3 Jul 2012, Rafael J. Wysocki wrote: On Tuesday, July 03, 2012, Guennadi Liakhovetski wrote: Hi Rafael On Tue, 3 Jul 2012, Rafael J. Wysocki wrote:

Re: linux-next: manual merge of the arm-soc tree with the i2c-embedded tree

2012-07-10 Thread Stephen Rothwell
Hi all, On Tue, 10 Jul 2012 16:41:30 +1000 Stephen Rothwell s...@canb.auug.org.au wrote: Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/i2c/busses/i2c-nomadik.c between commit af97bace2cca (i2c-nomadik: move header to linux/platform_data/i2c-nomadik.h) from

Re: [PATCH 1/2] acpi : cpu hot-remove returns error number when cpu_down() fails

2012-07-10 Thread Srivatsa S. Bhat
On 07/10/2012 05:43 AM, Yasuaki Ishimatsu wrote: Hi Srivatsa, 2012/07/09 20:25, Srivatsa S. Bhat wrote: On 07/09/2012 08:01 AM, Yasuaki Ishimatsu wrote: Hi Srivatsa, Thank you for your reviewing. 2012/07/06 18:51, Srivatsa S. Bhat wrote: On 07/06/2012 08:46 AM, Yasuaki Ishimatsu wrote:

Re: [PATCH v1 07/11] drivers: usb: twl4030: Add device tree support for twl4030 usb

2012-07-10 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 11:32 AM, Rajendra Nayak rna...@ti.com wrote: On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: Add device tree support for twl6030 usb driver. twl4030? My bad. Will fix it. Update the Documentation with device tree binding information.

Re: [PATCH 1/2] acpi : cpu hot-remove returns error number when cpu_down() fails

2012-07-10 Thread Srivatsa S. Bhat
On 07/10/2012 10:44 AM, Yasuaki Ishimatsu wrote: Hi Srivatsa, 2012/07/10 9:13, Yasuaki Ishimatsu wrote: Hi Srivatsa, 2012/07/09 20:25, Srivatsa S. Bhat wrote: On 07/09/2012 08:01 AM, Yasuaki Ishimatsu wrote: Hi Srivatsa, Thank you for your reviewing. 2012/07/06 18:51, Srivatsa S. Bhat

Re: [PATCH v1 08/11] arm/dts: Add twl4030-usb data

2012-07-10 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 11:43 AM, Rajendra Nayak rna...@ti.com wrote: On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: Add twl4030-usb data node in twl4030 device tree file. Signed-off-by: Kishon Vijay Abraham Ikis...@ti.com --- arch/arm/boot/dts/twl4030.dtsi | 21

Re: [patch 08/11] mm: memcg: remove needless !mm fixup to init_mm when charging

2012-07-10 Thread Wanpeng Li
On Tue, Jul 10, 2012 at 08:21:04AM +0200, Michal Hocko wrote: On Tue 10-07-12 14:10:21, Wanpeng Li wrote: On Mon, Jul 09, 2012 at 05:20:58PM +0200, Michal Hocko wrote: On Thu 05-07-12 02:45:00, Johannes Weiner wrote: It does not matter to __mem_cgroup_try_charge() if the passed mm is NULL or

acpi: remove unused LIST_HEAD(acpi_device_list) more static analysis

2012-07-10 Thread cheng renquan
I just came across this file and found this LIST_HEAD(acpi_device_list) was referred in early days before 2.6.11 but not in use nowadays, ^1da177e drivers/acpi/scan.c (Linus Torvalds 2005-04-16 15:20:36 -0700 31) static LIST_HEAD(acpi_device_list); it is expanded to this line of

Re: [PATCH net-next 6/6] r8169: support RTL8168G

2012-07-10 Thread Francois Romieu
Hayes Wang hayesw...@realtek.com : fix incorrct argument in rtl_hw_init_8168g. Signed-off-by: Hayes Wang hayesw...@realtek.com Thanks Hayes. It's available with proper attribution and subject at: git://violet.fr.zoreil.com/romieu/linux davem-next.r8169 -- Ueimor -- To unsubscribe from

Re: [PATCH v1 07/11] drivers: usb: twl4030: Add device tree support for twl4030 usb

2012-07-10 Thread Rajendra Nayak
On Tuesday 10 July 2012 12:22 PM, ABRAHAM, KISHON VIJAY wrote: +TWL4030 USB PHY AND COMPARATOR + - compatible : Should be ti,twl4030-usb + - interrupts : The interrupt numbers to the cpu should be specified. First + interrupt number is the otg interrupt number that raises ID interrupts

RE: [PATCH v1 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-07-10 Thread Venu Byravarasu
Hi, On Tue, Jul 10, 2012 at 11:33 AM, Venu Byravarasu vbyravar...@nvidia.com wrote: + +#ifdef CONFIG_PM Should it not be CONFIG_PM_SLEEP instead of just CONFIG_PM? Why? I think we should have CONFIG_PM_SLEEP only when we have *suspend*, *resume* hooks. But this driver has only

Re: [PATCH v1 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-07-10 Thread Rajendra Nayak
On Tuesday 10 July 2012 12:18 PM, ABRAHAM, KISHON VIJAY wrote: Hi, On Tue, Jul 10, 2012 at 11:33 AM, Venu Byravarasu vbyravar...@nvidia.com wrote: + +#ifdef CONFIG_PM Should it not be CONFIG_PM_SLEEP instead of just CONFIG_PM? Why? I think we should have CONFIG_PM_SLEEP only when we have

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-10 Thread Ingo Molnar
* Arnd Bergmann a...@arndb.de wrote: On Saturday 07 July 2012, Olof Johansson wrote: ARM introduced AArch64 as part of the ARMv8 architecture With the risk of bikeshedding here, but I find the name awkward. How about just naming the arch port arm64 instead? It's considerably more

Re: [PATCH net-next 6/6] r8169: support RTL8168G

2012-07-10 Thread Hayes Wang
1. Remove rtl_ocpdr_cond. No waiting is needed for mac_ocp_{write / read}. 2. Set ocp_base to OCP_STD_PHY_BASE after rtl8168g_1_hw_phy_config. --- drivers/net/ethernet/realtek/r8169.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git

[PATCH] block: remove dead func declaration

2012-07-10 Thread Yuanhan Liu
__generic_unplug_device() function is removed with commit 7eaceaccab5f40bbfda044629a6298616aeaed50, which forgot to remove the declaration at meantime. Here remove it. Signed-off-by: Yuanhan Liu yuanhan@linux.intel.com --- block/blk.h |1 - 1 files changed, 0 insertions(+), 1

RE: [PATCH v1 09/11] drivers: usb: musb: Add device tree support for omap musb glue

2012-07-10 Thread Gupta, Ajay Kumar
Hi, Documentation/devicetree/bindings/usb/omap-usb.txt | 34 - drivers/usb/musb/omap2430.c| 52 [...] + of_property_read_u32(np, mode, (u32 *)pdata-mode); + of_property_read_u32(np, interface_type, +

Re: Boot regression on Mackerel with current mainline

2012-07-10 Thread Chris Ball
Hi Guennadi, On Tue, Jul 10 2012, Guennadi Liakhovetski wrote: The latter one looks big because of a rename, but with -M it's pretty trivial. Chris, do you agree? Is the minimal fix to just add | IRQF_ONESHOT to the request_threaded_irq argument? If so, I'd rather push just that for

Re: [PATCH] drivers/rtc/rtc-twl.c: fix threaded IRQ to use IRQF_ONESHOT

2012-07-10 Thread Lars-Peter Clausen
On 07/10/2012 12:15 AM, Andrew Morton wrote: On Fri, 6 Jul 2012 09:33:54 -0700 Kevin Hilman khil...@ti.com wrote: Requesting a threaded interrupt without a primary handler and without IRQF_ONESHOT is dangerous, and after commit 1c6c6952 (genirq: Reject bogus threaded irq requests), these

linux-next: manual merge of the akpm tree with the driver-core.current tree

2012-07-10 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in kernel/printk.c between commit 5becfb1df5ac (kmsg: merge continuation records while printing) from the driver-core.current tree and commit printk: only look for prefix levels in kernel messages from the akpm tree. I fixed it

Re: 82571EB: Detected Hardware Unit Hang

2012-07-10 Thread Joe Jin
When I debug the driver I found before Detected HW hang, driver unable to clean and reclaim the resources: 1457 while ((eop_desc-upper.data cpu_to_le32(E1000_TXD_STAT_DD)) == at here upper.data always is 0x300 1458(count tx_ring-count)) { --- snip --- 1487

Re: acpi: remove unused LIST_HEAD(acpi_device_list) more static analysis

2012-07-10 Thread cheng renquan
On Tue, Jul 10, 2012 at 12:00 AM, cheng renquan crq...@gmail.com wrote: $ git diff HEAD -- drivers/acpi/scan.c diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 85cbfdc..7d26ae0 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -28,7 +28,7 @@ extern struct acpi_device

linux-next: Tree for July 10

2012-07-10 Thread Stephen Rothwell
Hi all, Changes since 20120709: I have not done the powerpc allyesconfig build today as it is too broken. The ext4 tree gained a build failure so I used the version from next-20120709. The v4l-dvb tree still had its build failure so I used the version from next-20120706. The infiniband tree

Re: Boot regression on Mackerel with current mainline

2012-07-10 Thread Guennadi Liakhovetski
On Tue, 10 Jul 2012, Chris Ball wrote: Hi Guennadi, On Tue, Jul 10 2012, Guennadi Liakhovetski wrote: The latter one looks big because of a rename, but with -M it's pretty trivial. Chris, do you agree? Is the minimal fix to just add | IRQF_ONESHOT to the request_threaded_irq

Re: [tip:perf/core] perf/x86: Fix USER/KERNEL tagging of samples

2012-07-10 Thread Peter Zijlstra
On Mon, 2012-07-09 at 20:41 +0200, Ingo Molnar wrote: +static unsigned long get_segment_base(unsigned int segment) +{ + struct desc_struct *desc; + int idx = segment 3; + + if ((segment SEGMENT_TI_MASK) == SEGMENT_LDT) { + if (idx LDT_ENTRIES) +

Re: [PATCH] pwm: add lpc32xx pwm support

2012-07-10 Thread Roland Stigge
Hi, On 07/10/2012 08:48 AM, Thierry Reding wrote: --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/lpc32xx-pwm.txt @@ -0,0 +1,12 @@ +LPC32XX PWM controller + +Required properties: +- compatible: should be nxp,lpc3220-pwm Does the compatible have to be lpc3220-pwm? Can't it be

Re: [PATCH 1/2] acpi : cpu hot-remove returns error number when cpu_down() fails

2012-07-10 Thread Srivatsa S. Bhat
On 07/10/2012 10:27 AM, Yasuaki Ishimatsu wrote: Hi Toshi, 2012/07/10 6:15, Toshi Kani wrote: On Mon, 2012-07-09 at 16:55 +0530, Srivatsa S. Bhat wrote: On 07/09/2012 08:01 AM, Yasuaki Ishimatsu wrote: Hi Srivatsa, Thank you for your reviewing. 2012/07/06 18:51, Srivatsa S. Bhat wrote:

Re: [PATCH] pwm: add lpc32xx pwm support

2012-07-10 Thread Thierry Reding
On Tue, Jul 10, 2012 at 09:56:08AM +0200, Roland Stigge wrote: Hi, On 07/10/2012 08:48 AM, Thierry Reding wrote: --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/lpc32xx-pwm.txt @@ -0,0 +1,12 @@ +LPC32XX PWM controller + +Required properties: +- compatible: should be

Re: [tip:perf/core] perf/x86: Fix USER/KERNEL tagging of samples

2012-07-10 Thread Ingo Molnar
* Peter Zijlstra a.p.zijls...@chello.nl wrote: +static unsigned long code_segment_base(struct pt_regs *regs) +{ +#ifdef CONFIG_32BIT + if (user_mode(regs) regs-cs != __USER_CS) + return get_segment_base(regs-cs); +#else + if (test_thread_flag(TIF_IA32))

Re: [PATCH v1 10/11] arm/dts: omap: Add usb_otg and glue data

2012-07-10 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 11:57 AM, Rajendra Nayak rna...@ti.com wrote: On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: Add usb otg data node in omap4/omap3 device tree file. Also update the node with board specific setting in omapx-board.dts file. Signed-off-by: Kishon

Re: [PATCH v1 11/11] arm: omap: phy: remove unused functions from omap-phy-internal.c

2012-07-10 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 11:59 AM, Rajendra Nayak rna...@ti.com wrote: On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: All the unnessary functions in omap-phy-internal is removed. These functionality are now handled by omap-usb2 phy driver. Cc: Felipe Balbiba...@ti.com

Re: [PATCH v1 05/11] drivers: usb: twl6030: Add dt support for twl6030 usb

2012-07-10 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 12:14 PM, Rajendra Nayak rna...@ti.com wrote: On Tuesday 10 July 2012 11:58 AM, ABRAHAM, KISHON VIJAY wrote: Hi, On Tue, Jul 10, 2012 at 11:28 AM, Rajendra Nayakrna...@ti.com wrote: On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: Add device

Re: [tip:perf/core] perf/x86: Fix USER/KERNEL tagging of samples

2012-07-10 Thread Ingo Molnar
* Peter Zijlstra a.p.zijls...@chello.nl wrote: On Mon, 2012-07-09 at 20:41 +0200, Ingo Molnar wrote: +static unsigned long get_segment_base(unsigned int segment) +{ + struct desc_struct *desc; + int idx = segment 3; + + if ((segment SEGMENT_TI_MASK) ==

Re: [PATCH 1/2] acpi : cpu hot-remove returns error number when cpu_down() fails

2012-07-10 Thread Yasuaki Ishimatsu
Hi Srivatsa, 2012/07/10 16:57, Srivatsa S. Bhat wrote: On 07/10/2012 10:27 AM, Yasuaki Ishimatsu wrote: Hi Toshi, 2012/07/10 6:15, Toshi Kani wrote: On Mon, 2012-07-09 at 16:55 +0530, Srivatsa S. Bhat wrote: On 07/09/2012 08:01 AM, Yasuaki Ishimatsu wrote: Hi Srivatsa, Thank you for your

Re: linux-next: build failure after merge of the net-next tree

2012-07-10 Thread Bjørn Mork
Stephen Rothwell s...@canb.auug.org.au writes: Hi all, After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/net/usb/qmi_wwan.c:381:13: error: 'qmi_wwan_unbind_shared' undeclared here (not in a function) Caused by a bad automatic merge

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-10 Thread Raghavendra K T
On 07/09/2012 01:25 PM, Christian Borntraeger wrote: On 09/07/12 08:20, Raghavendra K T wrote: Currently Pause Looop Exit (PLE) handler is doing directed yield to a random VCPU on PL exit. Though we already have filtering while choosing the candidate to yield_to, we can do better. Problem is,

Re: [PATCH v1 10/11] arm/dts: omap: Add usb_otg and glue data

2012-07-10 Thread Rajendra Nayak
On Tuesday 10 July 2012 01:43 PM, ABRAHAM, KISHON VIJAY wrote: Hi, On Tue, Jul 10, 2012 at 11:57 AM, Rajendra Nayakrna...@ti.com wrote: On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: Add usb otg data node in omap4/omap3 device tree file. Also update the node with board

Re: [PATCH v1 11/11] arm: omap: phy: remove unused functions from omap-phy-internal.c

2012-07-10 Thread Rajendra Nayak
On Tuesday 10 July 2012 01:46 PM, ABRAHAM, KISHON VIJAY wrote: Hi, On Tue, Jul 10, 2012 at 11:59 AM, Rajendra Nayakrna...@ti.com wrote: On Thursday 28 June 2012 05:21 PM, Kishon Vijay Abraham I wrote: All the unnessary functions in omap-phy-internal is removed. These functionality are now

Re: linux-next: manual merge of the arm-soc tree with the i2c-embedded tree

2012-07-10 Thread Wolfram Sang
On Tue, Jul 10, 2012 at 04:41:30PM +1000, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/i2c/busses/i2c-nomadik.c between commit af97bace2cca (i2c-nomadik: move header to linux/platform_data/i2c-nomadik.h) from the i2c-embedded tree

mptscsi: BUG: unable to handle kernel NULL pointer, in scsi_send_eh_cmnd

2012-07-10 Thread Meelis Roos
I am using Linux 3.4.0 with a 53c1030 and a tape library that sometimes barfs for yet unknown reasons. When it happens, I get a BUG with backtrace and this scsi channel is dead until I reboot. Seems to be something with either generic scsi error handling or with mpt scsi. Full dmesg: [

Re: [RFC, PATCH] CLONE_NEWIPC and exit_group()

2012-07-10 Thread Kirill A. Shutemov
On Tue, Jun 26, 2012 at 03:04:25PM +0300, Kirill A. Shutemov wrote: Hi, Patch to move kern_unmount() out of exit_group() code path is below. Andrew, do you have any opinion about the patch? Dmitry, could you check if it's beneficial for your use-case? Results are not that impressive.

Re: [PATCH] mfd: Guard max77686_pmic_dt_match with CONFIG_OF

2012-07-10 Thread Samuel Ortiz
Hi Axel, On Mon, Jul 09, 2012 at 10:29:00PM +0800, Axel Lin wrote: This fixes below build warning if CONFIG_OF is not set. CC drivers/mfd/max77686.o drivers/mfd/max77686.c:37:42: warning: 'max77686_pmic_dt_match' defined but not used [-Wunused-variable] Signed-off-by: Axel Lin

Re: [PATCH] mfd: Export pm80x_regmap_config

2012-07-10 Thread Samuel Ortiz
Hi Axel, On Mon, Jul 09, 2012 at 10:44:21PM +0800, Axel Lin wrote: This fixes below build error when CONFIG_MFD_88PM800=m. ERROR: pm80x_regmap_config [drivers/mfd/88pm800.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 Signed-off-by: Axel Lin

MDaemon Notification -- Attachment Removed

2012-07-10 Thread Postmaster
--- MDaemon has detected restricted attachments within an email message --- From : linux-kernel@vger.kernel.org To: j...@grove-ent.com Subject :

Re: [PATCH 1/2] mfd: arizona: Add support for multiple PDM speaker outputs

2012-07-10 Thread Samuel Ortiz
Hi Mark, On Mon, Jul 09, 2012 at 07:33:14PM +0100, Mark Brown wrote: The registers have stride 2 so we can write the loop properly now. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/mfd/arizona-core.c|5 ++--- include/linux/mfd/arizona/pdata.h |

Re: [tip:perf/core] perf/x86: Fix USER/KERNEL tagging of samples

2012-07-10 Thread Peter Zijlstra
On Tue, 2012-07-10 at 10:21 +0200, Ingo Molnar wrote: Another boundary condition would be when we intentionally twiddle the GDT: such as during suspend or during BIOS upcalls. Can we then get a PMU interrupt? If yes then this will probably result in garbage: + desc =

RE: [RFC 0/2] USB gadget - configfs

2012-07-10 Thread Andrzej Pietrasiewicz
Dear Joel, Thank you for your review. @Sebastian, Alan, Felipe: Thank you, too. On Monday, July 02, 2012 11:09 AM Joel Becker wrote: snip As a prerequisite it adds an operation to configfs. The operation allows checking if it is ok to remove a pseudo directory corresponding to a

Re: [PATCH] net: cgroup: fix access the unallocated memory in netprio cgroup

2012-07-10 Thread Gao feng
Hi Gao Is it still needed to call update_netdev_tables() from write_priomap() ? Yes, I think it's needed,because read_priomap will show all of the net devices, But we may add the netdev after create a netprio cgroup, so the new added netdev's priomap will not be allocated. if we don't

Re: [PATCH 1/1] mfd: ab8500: Clean-up the last two ab8500 related DT match tables

2012-07-10 Thread Samuel Ortiz
Hi Lee, On Fri, Jul 06, 2012 at 01:43:18PM +0100, Lee Jones wrote: A patch was recently submitted to stop all ab8500 devices from being registered through Device Tree. Instead, only the db8500 will be DT:ed and the rest will continue to be registered via the MFD API, as they always were.

Re: [tip:perf/core] perf/x86: Fix USER/KERNEL tagging of samples

2012-07-10 Thread Peter Zijlstra
On Mon, 2012-07-09 at 10:55 -0700, Linus Torvalds wrote: However, it is worth pointing out that sp/bp have exactly the same segment base issue. So if you do stack tracing into user mode, you should really do the same thing for those. And quite frankly, at that point vm86 mode and the stack

Re: linux-next: build failure after merge of the driver-core tree

2012-07-10 Thread Mark Brown
On Tue, Jul 10, 2012 at 03:32:10PM +1000, Stephen Rothwell wrote: Caused by commit 01eaf2458773 (extcon: Convert extcon_gpio to devm_gpio_request_one). devm_gpio_request_one is not currently exported to modules. A patch for this has been in -next for most of this release cycle and really

Re: [RFC PATCH net-next] ipvs: add missing lock in ip_vs_ftp_init_conn()

2012-07-10 Thread Simon Horman
On Tue, Jul 03, 2012 at 10:12:41AM +0300, Julian Anastasov wrote: Hello, On Thu, 28 Jun 2012, Xiaotian Feng wrote: We met a kernel panic in 2.6.32.43 kernel: [2680191.848044] IPVS: ip_vs_conn_hash(): request for already hashed, called from run_timer_softirq+0x175/0x1d0

Re: linux-next: build failure after merge of the mfd tree

2012-07-10 Thread Samuel Ortiz
Hi Stephen, On Mon, Jul 09, 2012 at 01:57:19PM +1000, Stephen Rothwell wrote: Hi Samuel, After merging the mfd tree, today's linux-next build (x86_64 allmodconfig) failed like this: ERROR: arizona_dai_ops [sound/soc/codecs/snd-soc-wm5102.ko] undefined! ERROR: wm5102_aod

Re: [PATCH] pinctrl: Add one-register-per-pin type device tree based pinctrl driver

2012-07-10 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [120627 03:37]: * Stephen Warren swar...@wwwdotorg.org [120626 10:10]: On 06/26/2012 07:43 AM, Tony Lindgren wrote: ... Subject: [PATCH] pinctrl: Add one-register-per-pin type device tree based pinctrl driver Add one-register-per-pin type device

mptscsi: BUG: unable to handle kernel NULL pointer, in scsi_send_eh_cmnd

2012-07-10 Thread Meelis Roos
Resending with correct linux-scsi address - please rteply to this one if you see duplicate messages. I am using Linux 3.4.0 with a 53c1030 and a tape library that sometimes barfs for yet unknown reasons. When it happens, I get a BUG with backtrace and this scsi channel is dead until I reboot.

Re: [PATCH net-next 6/6] r8169: support RTL8168G

2012-07-10 Thread Francois Romieu
(you should include a Signed-off-by) Hayes Wang hayesw...@realtek.com : 1. Remove rtl_ocpdr_cond. No waiting is needed for mac_ocp_{write / read}. Nit: it would not hurt to do a better job than me and save some commit noise getting these things right before they pollute the history. :o) 2.

Re: [PATCH] net: cgroup: fix access the unallocated memory in netprio cgroup

2012-07-10 Thread Eric Dumazet
On Tue, 2012-07-10 at 16:53 +0800, Gao feng wrote: Hi Gao Is it still needed to call update_netdev_tables() from write_priomap() ? Yes, I think it's needed,because read_priomap will show all of the net devices, But we may add the netdev after create a netprio cgroup, so the new

Re: mptscsi: BUG: unable to handle kernel NULL pointer, in scsi_send_eh_cmnd

2012-07-10 Thread James Bottomley
On Tue, 2012-07-10 at 11:44 +0300, Meelis Roos wrote: Resending with correct linux-scsi address - please rteply to this one if you see duplicate messages. I am using Linux 3.4.0 with a 53c1030 and a tape library that sometimes barfs for yet unknown reasons. When it happens, I get a BUG

Re: [PATCH 6/6] x86: Exit RCU extended QS on notify resume

2012-07-10 Thread Frederic Weisbecker
On Sun, Jul 08, 2012 at 02:17:07PM -0700, Paul E. McKenney wrote: On Fri, Jul 06, 2012 at 01:43:29PM -0700, Josh Triplett wrote: On Fri, Jul 06, 2012 at 09:33:38AM -0700, Paul E. McKenney wrote: On Fri, Jul 06, 2012 at 02:00:18PM +0200, Frederic Weisbecker wrote: --- a/arch/x86/Kconfig

[PATCH 0/1] Option for scsi_debug to fake removable devices

2012-07-10 Thread Martin Pitt
Hello all, sorry for resending this twice to the lists. Initially I thought mailing James directly was not appropriate, but I was now told that get_maintainer.pl is actually speaking the truth and I am supposed to do just that. For the purposes of automatically testing udisks and gvfs

[PATCH 1/1] [SCSI] scsi_debug: Add removable parameter

2012-07-10 Thread Martin Pitt
Add removable module parameter to set the removable attribute of any subsequently created debug block device. It is a writable driver option, so that you can switch between removable and fixed media block devices in between the add_host calls. This is useful for being able to test the different

[git pull] Please pull powerpc.git merge branch

2012-07-10 Thread Benjamin Herrenschmidt
Hi Linus ! It looks like my rewrite of our lazy irq scheme is still exposing interesting issues left and right. The previous fixes are now causing an occasional BUG_ON to trigger (which this patch turns into a WARN_ON while at it), due to another issue of disconnect of the lazy irq state vs. the

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-10 Thread Raghavendra K T
On 07/10/2012 03:17 AM, Andrew Theurer wrote: On Mon, 2012-07-09 at 11:50 +0530, Raghavendra K T wrote: Currently Pause Looop Exit (PLE) handler is doing directed yield to a random VCPU on PL exit. Though we already have filtering while choosing the candidate to yield_to, we can do better.

Re: [Xen-devel] incorrect layout of globals from head_64.S during kexec boot

2012-07-10 Thread Olaf Hering
On Fri, Jul 06, Olaf Hering wrote: On Fri, Jul 06, Jan Beulich wrote: Could it be that some code tweaks the stack content used by decompress() in some odd way? But that would most likely lead to a crash, not to unexpected uncompressing results. Especially if the old and new

Re: [PATCH] net: cgroup: fix access the unallocated memory in netprio cgroup

2012-07-10 Thread Gao feng
于 2012年07月10日 17:15, Eric Dumazet 写道: On Tue, 2012-07-10 at 16:53 +0800, Gao feng wrote: Hi Gao Is it still needed to call update_netdev_tables() from write_priomap() ? Yes, I think it's needed,because read_priomap will show all of the net devices, But we may add the netdev after create

Re: [PATCH v8] input: keyboard: Add keys driver for the LPC32xx SoC

2012-07-10 Thread Roland Stigge
Hi Dmitry! On 07/10/2012 08:36 AM, Dmitry Torokhov wrote: +static void lpc32xx_mod_states(struct lpc32xx_kscan_drv *kscandat, int col) +{ +u8 key; +int row; +unsigned changed, scancode, keycode; + +key = readl(LPC32XX_KS_DATA(kscandat-kscan_base, col)); +changed = key

Re: CPU isolation question again

2012-07-10 Thread Luming Yu
On Wed, Jul 4, 2012 at 10:36 AM, Frederic Weisbecker fweis...@gmail.com wrote: On Wed, Jul 04, 2012 at 10:12:43PM +0800, Luming Yu wrote: On Wed, Jul 4, 2012 at 9:25 PM, Frederic Weisbecker fweis...@gmail.com wrote: On Wed, Jul 04, 2012 at 08:42:29PM +0800, Luming Yu wrote: On Tue, Jul 3,

Re: [PATCH] mm: hugetlb: flush dcache before returning zeroed huge page to userspace

2012-07-10 Thread Will Deacon
Hi Hugh, Cheers for looking at this. On Tue, Jul 10, 2012 at 12:57:14AM +0100, Hugh Dickins wrote: On Mon, 9 Jul 2012, Will Deacon wrote: On Mon, Jul 09, 2012 at 01:25:23PM +0100, Michal Hocko wrote: On Wed 04-07-12 15:32:56, Will Deacon wrote: diff --git a/mm/hugetlb.c b/mm/hugetlb.c

Re: [tip:perf/core] perf/x86: Fix USER/KERNEL tagging of samples

2012-07-10 Thread Ingo Molnar
* Peter Zijlstra a.p.zijls...@chello.nl wrote: On Tue, 2012-07-10 at 10:21 +0200, Ingo Molnar wrote: Another boundary condition would be when we intentionally twiddle the GDT: such as during suspend or during BIOS upcalls. Can we then get a PMU interrupt? If yes then this will probably

Re: [tip:perf/core] perf/x86: Fix USER/KERNEL tagging of samples

2012-07-10 Thread Ingo Molnar
* Peter Zijlstra a.p.zijls...@chello.nl wrote: On Mon, 2012-07-09 at 10:55 -0700, Linus Torvalds wrote: However, it is worth pointing out that sp/bp have exactly the same segment base issue. So if you do stack tracing into user mode, you should really do the same thing for those. And

Re: [MMTests] Interactivity during IO on ext3

2012-07-10 Thread Jan Kara
On Thu 05-07-12 15:56:52, Mel Gorman wrote: Configuration:global-dhp__io-interactive-performance-ext3 Result: http://www.csn.ul.ie/~mel/postings/mmtests-20120424/global-dhp__io-interactive-performance-ext3 Benchmarks: postmark largedd fsmark-single fsmark-threaded micro

  1   2   3   4   5   6   7   8   9   10   >