Re: why Linux kernel will update BIOS's interrupt remapping table base address ? why does Linux Kernel create a new table instead of the one that BIOS provided ?

2012-07-09 Thread Lin-Bao Zhang
for this thing , we have known that , we can append "x2apic_phys" to tell linux kernel we support x2apic physical mode. but I found that x2apic_phys is not enough .we still found panic info in RHEL6.2(2.6.32) kernel,but on linux kernel-3.4.4 ,no this issue again. any comment for this bug ? Initia

Re: [PATCH -v2 0/8] PCI: Add 'pci_fixup_final' quirks into hot-plug paths

2012-07-09 Thread Bjorn Helgaas
On Mon, Jul 9, 2012 at 3:35 PM, Myron Stowe wrote: > PCI's final quirks (pci_fixup_final) are currently invoked by > pci_apply_final_quirk() which traverses the platform's list of PCI > devices. The calling mechanism, and to some point the use of the device > list, limits the quirk invocations to

Re: [PATCH 0/2] PCI: decode disable fixes

2012-07-09 Thread Bjorn Helgaas
On Mon, Jul 9, 2012 at 12:20 PM, Bjorn Helgaas wrote: > Since 2.6.36 (253d2e5498), we've disabled MEM & IO decoding while we size > BARs (except for host bridge devices). These patches tweak this in two > ways: > > 1) We only kept decoding disabled while sizing the low-order dword > of 64-bit BAR

Re: [PATCH 0/3] PCI: P2P bridge window fixes

2012-07-09 Thread Bjorn Helgaas
On Mon, Jul 9, 2012 at 2:31 PM, Bjorn Helgaas wrote: > Two fixes here: > > 1) Zero is a legal P2P bridge window base and BAR value and is likely to > occur when there is an offset between bus addresses and CPU addresses. > Stop disallowing it. > > 2) The Intel-specific 1K I/O window granularity fo

[PATCH] apple-gmux: Restore switch registers on suspend/resume

2012-07-09 Thread Arun Raghavan
After suspend and resume, the values of these registers seem to change from what they were at suspend time, potentially preventing the actual output lines from being enabled post-resume. This saves relevant state at suspend and restores it when resumed. This is at least required on the MacBook Pro

Re: Boot regression on Mackerel with current mainline

2012-07-09 Thread Chris Ball
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: >> > >> > > Hi, >> > > >> > > We seem to have a functi

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

2012-07-09 Thread Eric Dumazet
On Tue, 2012-07-10 at 10:31 +0800, Gao feng wrote: > there are some out of bound accesses in netprio cgroup. > when creating a new netprio cgroup,we only set a prioidx for > the new cgroup,without allocate memory for dev->priomap. > > because we don't want to see additional bound checkings in > fa

Re: [PATCH v1] usb: host: Fix possible kernel crash

2012-07-09 Thread Venu Byravarasu
Thanks Alan for your comments. On Monday 09 July 2012 08:04 PM, Alan Stern wrote: On Mon, 9 Jul 2012, Venu Byravarasu wrote: In functions itd_complete & sitd_complete, a pointer by name stream may get dereferenced after freeing it, when iso_stream_put is called with stream->refcount = 2. I d

Re: [PATCH v3] ext4: fix hole punch failure when depth is greater than 0

2012-07-09 Thread Ashish Sangwan
Please ignore the last sent mail. I will re-send the patch in new mail chain. Thanks, Ashish On Tue, Jul 10, 2012 at 6:13 AM, Ashish Sangwan wrote: > Whether to continue removing extents or not is decided by the return value > of function ext4_ext_more_to_rm() which checks 2 conditions: > a) if t

Re: why Linux kernel will update BIOS's interrupt remapping table base address ? why does Linux Kernel create a new table instead of the one that BIOS provided ?

2012-07-09 Thread Yinghai Lu
On Mon, Jul 9, 2012 at 8:17 PM, Lin-Bao Zhang <2004.zh...@gmail.com> wrote: > for this thing , we have known that , we can append "x2apic_phys" to > tell linux kernel we support x2apic physical mode. > but I found that x2apic_phys is not enough .we still found panic info > in RHEL6.2(2.6.32) kernel

Re: [PATCH v4 1/5] thermal: Add generic cpufreq cooling implementation

2012-07-09 Thread amit kachhap
Hi Rob/Eduardo, As these patches have still not made into mainline. I will rebase the whole set along with your suggestion and send them shortly. Sorry for late reply. Thanks, Amit Daniel On Tue, Jun 26, 2012 at 1:12 PM, Valentin, Eduardo wrote: > Hey Rob and Amit, > > On Tue, Jun 26, 2012 at 6

Re: rcu_dyntick and suspicious RCU usage

2012-07-09 Thread Fengguang Wu
Hi Paul, Fortunately this bug is bisectable and the first bad commit is: commit 9b2e4f1880b789be1f24f9684f7a54b90310b5c0 Author: Paul E. McKenney Date: Fri Sep 30 12:10:22 2011 -0700 rcu: Track idleness independent of idle tasks However, at that commit, th

Re: [PATCH 2/6] workqueue: factor out worker_pool from global_cwq

2012-07-09 Thread Namhyung Kim
Hi, Tejun Just nitpicks.. On Mon, 9 Jul 2012 11:41:51 -0700, Tejun Heo wrote: > Move worklist and all worker management fields from global_cwq into > the new struct worker_pool. worker_pool points back to the containing > gcwq. worker and cpu_workqueue_struct are updated to point to > worker_

Re: Subject: [PATCH] tty ldisc: Close/Reopen race prevention should check the proper flag

2012-07-09 Thread Shachar Shemesh
On 07/09/2012 07:44 PM, Greg KH wrote: Yes, that worked, but then I would have to edit the body to include the above information in the patch properly. So, care to resend it all in a "clean" format that I can apply it in? thanks, greg k-h After a few tests, it seems the only reliable way to

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

2012-07-09 Thread Yasuaki Ishimatsu
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: On 07/06/2012 08:46 AM, Yasuaki Ishimatsu wrote: Eve

[patch]block: stack unplug

2012-07-09 Thread Shaohua Li
MD raid1 prepares to dispatch request in unplug callback. If make_request in low level queue also uses unplug callback to dispatch request, the low level queue's unplug callback will not be called. Recheck the callback list helps this case. Signed-off-by: Shaohua Li diff --git a/block/blk-core.c

[PATCH V2] staging/ft1000: remove all spaces, tabs issue in while loop of ft1000_interrupt

2012-07-09 Thread Devendra Naga
all spaces in the main while loop of ft1000_interrupt are converted to tabs. Signed-off-by: Devendra Naga --- Greg, You mean to say this only right? drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 60 +++--- 1 file changed, 31 insertions(+), 29 deletions(-) diff --

Re: + checkpatch-add-check-for-use-of-sizeof-without-parenthesis.patch added to -mm tree

2012-07-09 Thread Joe Perches
On Mon, 2012-07-09 at 19:21 -0700, David Rientjes wrote: > On Mon, 9 Jul 2012, Joe Perches wrote: > > > I don't really care what style a large block of code > > uses. I care that it mostly has the same form. > Same form?? The sizeof operator has two forms depending on whether it's a > unary ex

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

2012-07-09 Thread Yasuaki Ishimatsu
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 wrote: On 07/06/2012 08:46

[PATCH] gpio/gpio-tps65910: gpio_chip.of_node referenced without CONFIG_OF_GPIO defined

2012-07-09 Thread Gerard Snitselaar
From: Jerry Snitselaar commit 626f9914 added code to initialize gpio_chip.of_node, but if CONFIG_OF_GPIO is not defined gps-tps65910 fails to build with an error complaining gpio_chip has no member of_node. I ran into this while doing a allyesconfig build on linux-next. Signed-off-by: Gerard Sni

Re: [linux-pm] [PATCH v4 0/5] thermal: exynos: Add kernel thermal support for exynos platform

2012-07-09 Thread amit daniel kachhap
Hi Len, These set of patches were accepted by you for 3.5 merge window. Can you again apply them on your for-next branch for 3.6 merge? I have some arch enablement and clean up patches based on them. It is really important for me to mainline everything in this merge window. Thanks, Amit Daniel O

[PATCH] thermal: add Renesas R-Car thermal sensor support

2012-07-09 Thread Kuninori Morimoto
This patch add basic Renesas R-Car thermal sensor support. It was tested on R-Car H1 Marzen board. Signed-off-by: Kuninori Morimoto --- drivers/thermal/Kconfig|8 ++ drivers/thermal/Makefile |3 +- drivers/thermal/rcar_thermal.c | 239 ++

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

2012-07-09 Thread Stephen Rothwell
Hi Greg, After merging the driver-core tree, today's linux-next build (x86_64 allmodconfig) failed like this: ERROR: "devm_gpio_request_one" [drivers/extcon/extcon-arizona.ko] undefined! Caused by commit 01eaf2458773 ("extcon: Convert extcon_gpio to devm_gpio_request_one"). devm_gpio_request_on

Re: [PATCH 2/2 v2] memory-hotplug: fix kswapd looping forever problem

2012-07-09 Thread Aaditya Kumar
On Mon, Jul 9, 2012 at 7:59 PM, Minchan Kim wrote: Hello Minchan, > May I add your tested-by in next spin which will include automatic type > conversion > problem ? Yeah sure. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.

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

2012-07-09 Thread Hayes Wang
fix incorrct argument in rtl_hw_init_8168g. Signed-off-by: Hayes Wang --- drivers/net/ethernet/realtek/r8169.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 7ff3423..c29c5fb 100644 ---

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

2012-07-09 Thread Rajendra Nayak
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 +++ b/Documentation/devicetree/bindings/usb/omap-usb.txt @@ -0,0 +1,16 @@ +OMAP USB PHY + +OMAP USB2 PHY + +Required prope

[PATCH 1/2] staging/sm7xxfb: use module_pci_driver macro

2012-07-09 Thread Devendra Naga
as the manual of module_pci_driver says that it can be used when the init and exit functions of the module does nothing but the pci_register_driver and pci_unregister_driver. use it for the sm7xxfb driver, as the driver does nothing in its _init and _exit functions but the register and unregister.

[PATCH 2/2] staging/sm7xxfb: return a proper err for smtc_alloc_fb_info failure

2012-07-09 Thread Devendra Naga
as smtc_alloc_fb_info can fail, but we are returning the 0, how? because the pci_enable_device succeeded, which makes the probe return 0, and may cause panics or some strange problems at remove when driver unloaded by modprobe -r. so return err properly as smtc_alloc_fb_info is doing kzallocs its

linux-next: manual merge of the usb tree with the mfd tree

2012-07-09 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the usb tree got a conflict in drivers/usb/host/ehci-omap.c between commit 2761a6394516 ("mfd: USB: Fix the omap-usb EHCI ULPI PHY reset fix issues") from the mfd tree and commit 1a49e2ac9651 ("EHCI: centralize controller initialization") from the usb tree. I

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

2012-07-09 Thread Rajendra Nayak
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 I --- .../devicetree/bindings/usb/twl-usb.txt| 18 drivers

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

2012-07-09 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 I --- .../devicetree/bindings/usb/twl-usb.txt| 19 +

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

2012-07-09 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); > > + >

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

2012-07-09 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 http://vger.kernel.or

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

2012-07-09 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 Ishimatsu

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

2012-07-09 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-09 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 __mem_cgroup_t

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

2012-07-09 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 to

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

2012-07-09 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 >

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

2012-07-09 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: > > /* p

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

2012-07-09 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 I --- arch/arm/boot/dts/twl4030.dtsi | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch/a

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

2012-07-09 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 > 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 to first create

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

2012-07-09 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

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

2012-07-09 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 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 allocat

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

2012-07-09 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-.dts file. Signed-off-by: Kishon Vijay Abraham I --- arch/arm/boot/dts/omap3-beagle.dts |6 ++ arch/arm/boo

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

2012-07-09 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 11:28 AM, Rajendra Nayak 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 I >> ---

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

2012-07-09 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 Balbi Signed-off-by: Kishon Vijay Abraham I Acked-by: Tony Lindgren --- arch/arm/mach-omap2/omap

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

2012-07-09 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 --- drivers/usb/otg/tw

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

2012-07-09 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-09 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 11:16 AM, Rajendra Nayak 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 >> +++ b/Documentation/devicetree/bindings/usb/

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

2012-07-09 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 --- drivers/staging/sbe-2t3e3/module.c | 13 + 1 file changed, 1

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

2012-07-09 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 --- drivers/staging/et131x/et131x.c | 22 +- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/drivers/staging/et131x/et131x.c

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

2012-07-09 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 ") from the i2c-embedded tree and commits 32e42c687e0a ("ARM: ux500: Remove unused i2c platform_data initialisation code") and 8214fd238

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

2012-07-09 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 --- drivers/staging/sep/sep_main.c | 27 +-- 1 file changed, 1 insertion(+

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

2012-07-09 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 --- drivers/staging/media/dt3155v4l/dt3155v4l.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/staging/medi

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

2012-07-09 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 Nayak 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 inform

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

2012-07-09 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 --- drivers

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

2012-07-09 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) { pc

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

2012-07-09 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 11:33 AM, Venu Byravarasu 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 *runtime_suspend* and *runt

Re: [PATCH] pwm: add lpc32xx pwm support

2012-07-09 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 > --- > .../devicetree/bindings/pwm/lpc32xx-pwm.txt| 12 ++ > drivers/pwm/Kconfig| 11 ++ > drivers/

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

2012-07-09 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-09 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. Wys

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

2012-07-09 Thread Stephen Rothwell
Hi all, On Tue, 10 Jul 2012 16:41:30 +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 ") from Also commit 235602146ec9 ("i2c-nomadik: turn

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

2012-07-09 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, Ya

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

2012-07-09 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 11:32 AM, Rajendra Nayak 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. >> >> Sign

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

2012-07-09 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. 201

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

2012-07-09 Thread ABRAHAM, KISHON VIJAY
Hi, On Tue, Jul 10, 2012 at 11:43 AM, Rajendra Nayak 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 I >> --- >> arch/arm/boot/dts/twl4030.dtsi | 21 +++

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

2012-07-09 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

Re: [PATCH 1/4] x86 boot: Jump to the entry point address in the elf header.

2012-07-09 Thread Eric W. Biederman
And Peter no rush on these. I have just finished testing and I am pushing the changes out before I forget them. Moving the Elf loader earlier to compile time makes the code a lot more robust. Eric -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messag

Re: [PATCH 1/1] atl1c: fix issue of transmit queue 0 timed out

2012-07-09 Thread David Miller
From: Date: Wed, 4 Jul 2012 10:51:48 +0800 > some people report atl1c could cause system hang with following > kernel trace info: > --- > WARNING: at.../net/sched/sch_generic.c:258 dev_watchdog+0x1db/0x1d0() > ... > NETDEV WATCHDOG: eth0 (atl1c): transmit queue

Re: [PATCH 2/2] x86, boot: Optimize the elf header handling.

2012-07-09 Thread Eric W. Biederman
Tejun Heo writes: > Hello, guys. > > On Sun, Jul 01, 2012 at 11:37:22AM -0700, H. Peter Anvin wrote: >> If we don't need it, I think we can use -z max-page-size=4096, but we >> use the PMD alignment for percpu on x86-64; Tejun, does that apply to >> the .data..percpu section in the executable as

[PATCH RESEND] Fix a dead loop in async_synchronize_full()

2012-07-09 Thread Li Zhong
This patch tries to fix a dead loop in async_synchronize_full(), which could be seen when preemption is disabled on a single cpu machine. void async_synchronize_full(void) { do { async_synchronize_cookie(next_cookie); } while (!list_empty(&async_running) || ! list

Re: [Question] sched/rt_mutex: re-enqueue_task on rt_mutex_setprio()

2012-07-09 Thread Namhyung Kim
On Mon, Jul 9, 2012 at 3:48 PM, Peter Zijlstra wrote: > On Mon, 2012-07-09 at 09:50 +0900, Namhyung Kim wrote: >> On Sat, 07 Jul 2012 21:29:19 -0400, Steven Rostedt wrote: >> > On Sat, 2012-07-07 at 14:44 +0900, Namhyung Kim wrote: >> >> Hi, >> >> >> >> I have a question on the code below: >> >> >

Re: [PATCH] netdev/phy: Fixup lockdep warnings in mdio-mux.c

2012-07-09 Thread David Miller
From: David Daney Date: Wed, 4 Jul 2012 15:06:16 -0700 > From: David Daney > > With lockdep enabled we get: ... > This is a false positive, since we are indeed using 'nested' locking, > we need to use mutex_lock_nested(). > > Now in theory we can stack multiple MDIO multiplexers, but that wo

Re: [PATCH v2] cgroup: fix panic in netprio_cgroup

2012-07-09 Thread David Miller
From: Gao feng Date: Thu, 5 Jul 2012 17:28:40 +0800 > we set max_prioidx to the first zero bit index of prioidx_map in > function get_prioidx. > > So when we delete the low index netprio cgroup and adding a new > netprio cgroup again,the max_prioidx will be set to the low index. > > when we set

Re: Antw: Re: /sys and access(2): Correctly implemented?

2012-07-09 Thread Ryan Mallon
On 09/07/12 16:23, Ulrich Windl wrote: Ryan Mallon schrieb am 09.07.2012 um 01:24 in Nachricht > <4ffa16b6.9050...@gmail.com>: >> On 06/07/12 16:27, Ulrich Windl wrote: >>> Hi! >>> >>> Recently I found a problem with the command (kernel 3.0.34-0.7-default from >> SLES 11 SP2, run as root): >

[PATCH] fs/ubifs/orphan.c: remove invalid reference to list iterator variable

2012-07-09 Thread Julia Lawall
From: Julia Lawall If list_for_each_entry, etc complete a traversal of the list, the iterator variable ends up pointing to an address at an offset from the list head, and not a meaningful structure. Thus this value should not be used after the end of the iterator. Replace a field access from or

Re: pull request: wireless 2012-07-06

2012-07-09 Thread David Miller
From: "John W. Linville" Date: Fri, 6 Jul 2012 15:20:35 -0400 > Please let me know if there are problems! This indentation is not correct: commit 01f9cb073c827c60c43f769763b49a2026f1a897 Author: Thomas Huehn Date: Thu Jun 28 14:39:51 2012 -0700 mwl8k: fix possible race condition in info

Re: [PATCH v2 11/11] MAINTAINERS: add fblog entry

2012-07-09 Thread Geert Uytterhoeven
On Sun, Jul 8, 2012 at 11:56 PM, David Herrmann wrote: > Add myself as maintainer for the fblog driver to the MAINTAINERS file. > > Signed-off-by: David Herrmann > --- > MAINTAINERS | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index ae8fe46..249b02a

Re: [PATCH v2 04/11] fbdev: export get_fb_info()/put_fb_info()

2012-07-09 Thread Geert Uytterhoeven
On Sun, Jul 8, 2012 at 11:56 PM, David Herrmann wrote: > --- a/drivers/video/fbmem.c > +++ b/drivers/video/fbmem.c > @@ -46,7 +46,7 @@ static DEFINE_MUTEX(registration_lock); > struct fb_info *registered_fb[FB_MAX] __read_mostly; > int num_registered_fb __read_mostly; > > -static struct fb_info

Re: Fwd: Hid over I2C and ACPI interaction

2012-07-09 Thread Lan Tianyu
On 2012年07月09日 12:02, Moore, Robert wrote: > These are already defined in acpica - in the file acrestyp.h > > ACPI_RESOURCE_FIXED_DMA FixedDma; > > ACPI_RESOURCE_GPIO Gpio; > ACPI_RESOURCE_I2C_SERIALBUS I2cSerialBus; > ACPI_RESO

Re: [patch 04/11] mm: memcg: push down PageSwapCache check into uncharge entry functions

2012-07-09 Thread Johannes Weiner
On Mon, Jul 09, 2012 at 11:42:12AM +0900, Kamezawa Hiroyuki wrote: > (2012/07/05 9:44), Johannes Weiner wrote: > > @@ -3278,10 +3283,11 @@ void mem_cgroup_end_migration(struct mem_cgroup > > *memcg, > > unused = oldpage; > > } > > anon = PageAnon(used); > > - __mem_cgroup_unc

Re: UBI fastmap updates

2012-07-09 Thread Shmulik Ladkani
Hi Richard, On Sun, 08 Jul 2012 14:07:41 +0200 Richard Weinberger wrote: > > + /* TODO: in the new locking scheme, produce_free_peb is > > +* called under wl_lock taken. > > +* so when returning, should reacquire the lock > > +

Re: [PATCH 1/2] hw_random: mxc-rnga: Adapt clocks to new i.mx clock framework

2012-07-09 Thread Sascha Hauer
On Fri, Jul 06, 2012 at 05:20:19PM -0300, Fabio Estevam wrote: > Cc: Theodore Ts'o > Cc: Herbert Xu > Cc: > Signed-off-by: Fabio Estevam > --- > drivers/char/hw_random/mxc-rnga.c |8 > 1 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/char/hw_random/mxc-r

[PATCH] net: cgroup: fix out of bounds accesses

2012-07-09 Thread Eric Dumazet
From: Eric Dumazet dev->priomap is allocated by extend_netdev_table() called from update_netdev_tables(). And this is only called if write_priomap() is called. But if write_priomap() is not called, it seems we can have out of bounds accesses in cgrp_destroy(), read_priomap() & skb_update_prio()

Re: [RFC][PATCH V2 2/3] pwm_backlight: use power sequences

2012-07-09 Thread Alex Courbot
Sorry, I just noticed a mistake in this patch I made while merging another one. The following also needs to be changed, otherwise the power-on sequence will never be executed: diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c index 1a38953..4546d23 100644 --- a/

Re: Fwd: Hid over I2C and ACPI interaction

2012-07-09 Thread Mika Westerberg
On Mon, Jul 09, 2012 at 11:24:45AM +0800, Lan Tianyu wrote: > I think we can add new interface to get acpi specific resources. e.g > struct acpi_resource pnp_get_acpi_resource(...). When the pnp acpi devices > were initialized, put those acpi specific resources into a new resource list > pnpdev->ac

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

2012-07-09 Thread Christian Borntraeger
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, for large vcpu guests, we have more probability

Re: [PATCH] CONFIG_CC_STACKPROTECTOR is no longer experimental

2012-07-09 Thread Jean Delvare
Hi all, Le vendredi 06 juillet 2012 à 22:19 +0200, Paul Bolle a écrit : > On Fri, 2012-07-06 at 10:58 -0700, Arjan van de Ven wrote: > > I rather just retire the whole concept of "Experimental". > > > > it's really utterly meaningless in practice anyway. > > See Russell King's quick survey in ht

Re: Antw: Re: /sys and access(2): Correctly implemented?

2012-07-09 Thread Ulrich Windl
Hi! Still the problem seems to be related to the sysfs: # cd /tmp # touch testfile # chmod u=w,go= testfile # F=/tmp/testfile # test -r "$F" && cat "$F" So it seems access(2) works correctly for root and "normal" filesystems. That's why I came up with the issue here. Regards, Ulrich >>> Ryan M

Re: [PATCH] net: cgroup: fix out of bounds accesses

2012-07-09 Thread Gao feng
于 2012年07月09日 15:45, Eric Dumazet 写道: > From: Eric Dumazet > > dev->priomap is allocated by extend_netdev_table() called from > update_netdev_tables(). > And this is only called if write_priomap() is called. > > But if write_priomap() is not called, it seems we can have out of bounds > accesses

Re: [RFC PATCH v2 4/13] memory-hotplug : remove /sys/firmware/memmap/X sysfs

2012-07-09 Thread Yasuaki Ishimatsu
Hi Wen, 2012/07/06 18:20, Wen Congyang wrote: > At 07/06/2012 04:27 PM, Yasuaki Ishimatsu Wrote: >> Hi Wen, >> >> 2012/07/04 19:01, Wen Congyang wrote: >>> At 07/04/2012 01:52 PM, Yasuaki Ishimatsu Wrote: Hi Wen, 2012/07/04 14:08, Wen Congyang wrote: > At 07/04/2012 12:45 PM, Ya

Re: UBI fastmap updates

2012-07-09 Thread Richard Weinberger
Am 09.07.2012 09:37, schrieb Shmulik Ladkani: > Hi Richard, > > On Sun, 08 Jul 2012 14:07:41 +0200 Richard Weinberger wrote: >>> + /* TODO: in the new locking scheme, produce_free_peb is >>> +* called under wl_lock taken. >>> +* so when re

Re: [PATCH] mm: Warn about costly page allocation

2012-07-09 Thread Mel Gorman
On Mon, Jul 09, 2012 at 11:38:20AM +0900, Minchan Kim wrote: > Since lumpy reclaim was introduced at 2.6.23, it helped higher > order allocation. > Recently, we removed it at 3.4 and we didn't enable compaction > forcingly[1]. The reason makes sense that compaction.o + migration.o > isn't trivial f

Re: [PATCH 2/5] uprobes: suppress uprobe_munmap() from mmput()

2012-07-09 Thread Peter Zijlstra
On Sun, 2012-07-08 at 22:30 +0200, Oleg Nesterov wrote: > uprobe_munmap() does get_user_pages() and it is also called from > the final mmput()->exit_mmap() path. This slows down exit/mmput() > for no reason, and I think it is simply dangerous/wrong to try to > fault-in a page into the dying mm. If

Re: Infinite looping in omap2430.c USB driver

2012-07-09 Thread Tony Lindgren
* NeilBrown [120706 15:44]: > > Hello `./scripts/get_maintainer.pl -f drivers/usb/musb/omap2430.c` > > omap2430_musb_set_vbus in omap2430.c contains: > > while (musb_readb(musb->mregs, MUSB_DEVCTL) & 0x80) { > > cpu_relax(); > >

Re: [PATCH 4/5] uprobes: kill copy_vma()->uprobe_mmap()

2012-07-09 Thread Peter Zijlstra
On Sun, 2012-07-08 at 22:30 +0200, Oleg Nesterov wrote: > And why this uprobe_mmap() was added? I believe the intent was wrong. > Note that the caller is going to do move_page_tables(), all registered > uprobes are already faulted in, we only change the virtual addresses. > I think it was because

Re: [PATCH RESEND v7 1/2] block: ioctl support for sanitize in eMMC 4.5

2012-07-09 Thread Girish K S
On 28 June 2012 14:02, Yaniv Gardi wrote: > Adding a new ioctl to support sanitize operation in eMMC > cards version 4.5. > The sanitize ioctl support helps performing this operation > via user application. > > Signed-off-by: Yaniv Gardi > > --- > block/blk-core.c | 15 ++-- >

Re: linux-next: comment on pm tree commit

2012-07-09 Thread Rafael J. Wysocki
On Monday, July 09, 2012, Stephen Rothwell wrote: > Hi Rafael, > > I noticed commit b8eec56cd8e5 ("PM / cpuidle: System resume hang fix with > cpuidle") in the pm tree needs some work (I noticed it because it was > changed in a rebase ...). > > diff --git a/include/linux/cpuidle.h b/include/linux

Re: [PATCH] mm: Warn about costly page allocation

2012-07-09 Thread Minchan Kim
Hi Mel, On Mon, Jul 09, 2012 at 09:22:00AM +0100, Mel Gorman wrote: > On Mon, Jul 09, 2012 at 11:38:20AM +0900, Minchan Kim wrote: > > Since lumpy reclaim was introduced at 2.6.23, it helped higher > > order allocation. > > Recently, we removed it at 3.4 and we didn't enable compaction > > forcing

82571EB: Detected Hardware Unit Hang

2012-07-09 Thread Joe Jin
Hi list, I'm seeing a Unit Hang even with the latest e1000e driver 2.0.0 when doing scp test. this issue is easy do reproduced on SUN FIRE X2270 M2, just copy a big file (>500M) from another server will hit it at once. Would you please help on this? device info: # lspci -s 05:00.0 05:00.0 Ethe

<    1   2   3   4   5   6   7   8   >