linux-next: Tree for Dec 19

2012-12-18 Thread Stephen Rothwell
Hi all, Changes since 20121218: Removed tree: i2c (new maintainer) Lots of conflicts are migrating between trees. The slave-dma tree gained a conflict against Linus' tree. The modules tree gained a conflict against Linus' tree. The fsnotify tree gained a build failure for which I applied

Re: [PATCH v6 01/27] x86, mm: Fix page table early allocation offset checking

2012-12-18 Thread Yinghai Lu
On Fri, Dec 14, 2012 at 2:53 AM, Borislav Petkov b...@alien8.de wrote: On Thu, Dec 13, 2012 at 02:01:55PM -0800, Yinghai Lu wrote: During debug load kernel above 4G, found one page if is not used in BRK and it should be with early page allocation. What does that mean? I see that this patch

Re: [PATCH v6 02/27] x86, mm: make pgd next calculation consistent with pud/pmd

2012-12-18 Thread Yinghai Lu
On Fri, Dec 14, 2012 at 6:34 AM, Borislav Petkov b...@alien8.de wrote: On Thu, Dec 13, 2012 at 02:01:56PM -0800, Yinghai Lu wrote: Just like PUD_SIZE, and PMD_SIZE next calculation, aka round down and add size. Why? Please explain more verbosely. also remove not need next checking, just

RE: [PATCH] ARM: EXYNOS: Fix MSHC clocks instance names

2012-12-18 Thread Kukjin Kim
Thomas Abraham wrote: On 14 December 2012 21:43, Dongjin Kim tobet...@gmail.com wrote: Replace clock instance name of MSHC controller for BIC and CIU of Exynos4412. Signed-off-by: Dongjin Kim tobet...@gmail.com --- arch/arm/mach-exynos/clock-exynos4.c |4 ++-- 1 file changed,

Re: [PATCH v6 03/27] x86, boot: move verify_cpu.S and no_longmode after 0x200

2012-12-18 Thread Yinghai Lu
On Sat, Dec 15, 2012 at 9:06 AM, Borislav Petkov b...@alien8.de wrote: On Thu, Dec 13, 2012 at 02:01:57PM -0800, Yinghai Lu wrote: We are short of space before 0x200 that is entry for startup_64. And you're moving this down because of the couple of bytes the next patch is adding? If so, then

Re: zram: fix invalid memory references during disk write

2012-12-18 Thread Greg KH
On Tue, Dec 18, 2012 at 01:12:05PM -0800, Nitin Gupta wrote: On Tue, Dec 11, 2012 at 10:27 AM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Nov 29, 2012 at 10:45:09PM -0800, Nitin Gupta wrote: Fixes a bug introduced by commit c8f2f0db1 (zram: Fix handling of incompressible pages) which

Re: [PATCH v6 04/27] x86, boot: Move lldt/ltr out of 64bit code section

2012-12-18 Thread Yinghai Lu
On Sat, Dec 15, 2012 at 9:28 AM, Borislav Petkov b...@alien8.de wrote: On Thu, Dec 13, 2012 at 02:01:58PM -0800, Yinghai Lu wrote: commit 08da5a2ca x86_64: Early segment setup for VT add lldt/ltr to clean more segments. Those code are put in code64, and it is using gdt that is only

Re: [PATCH v6 05/27] x86, 64bit: clear ident mapping when kernel is above 512G

2012-12-18 Thread Yinghai Lu
On Sun, Dec 16, 2012 at 9:49 AM, Borislav Petkov b...@alien8.de wrote: On Thu, Dec 13, 2012 at 02:01:59PM -0800, Yinghai Lu wrote: After following patch: x86, 64bit: Set extra ident mapping for whole kernel range We have extra ident mapping for kernel that is loaded above 1G. What?

Re: [PATCH] synclink fix ldisc buffer argument

2012-12-18 Thread Greg KH
On Wed, Dec 19, 2012 at 10:23:29AM +0800, Chen Gang wrote: Hello Paul Fulghum: it seems you are very busy, and can not get your reply for checking length in function rx_get_buf. You should always send patches, long emails like this about potential issues are hard to handle, patches are

Re: [PATCH] synclink fix ldisc buffer argument

2012-12-18 Thread Chen Gang
于 2012年12月19日 12:09, Greg KH 写道: On Wed, Dec 19, 2012 at 10:23:29AM +0800, Chen Gang wrote: Hello Paul Fulghum: it seems you are very busy, and can not get your reply for checking length in function rx_get_buf. You should always send patches, long emails like this about potential issues

Inconsistency in clk framework

2012-12-18 Thread Tony Prisk
Hi Mike, In attempting to remove some IS_ERR_OR_NULL references, it was pointed out that clk_get() can return NULL if CONFIG_HAVE_CLK is not defined. This seems to contradict the kernel docs associated with the normal clk_get (when HAVE_CLK is defined) which states: * Returns a struct clk

RE: [PATCH v5 00/12] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2012-12-18 Thread Kukjin Kim
Cho KyoungHo wrote: The current exynos-iommu(System MMU) driver does not work autonomously since it is lack of support for power management of peripheral blocks. For example, MFC device driver must ensure that its System MMU is disabled before MFC block is power-down not to invalidate

Re: [PATCH] [RFC] cpufreq: can't raise max frequency with cpu_thermal

2012-12-18 Thread amit daniel kachhap
On Tue, Dec 18, 2012 at 12:29 AM, Sonny Rao sonny...@chromium.org wrote: The cpu_thermal generic thermal management code has a bug where once max cpu frequency has been lowered in sysfs (scaling_max_freq) it is not possible to raise the max back up later. The bug is that the notifer gets

Re: [PATCH 1/7] arm: zynq: timer: Replace PSS through PS

2012-12-18 Thread Soren Brinkmann
Hi Josh, On Tue, Dec 18, 2012 at 08:31:20PM -0600, Josh Cartwright wrote: On Tue, Dec 18, 2012 at 04:16:33PM -0800, Soren Brinkmann wrote: The acronym PSS is deprecated by Xilinx. The correct term, which is also used in Xilinx documentation is PS (processing system). This is just a search

Re: [PATCH 0/7] Updates for Zynq's timer driver

2012-12-18 Thread Soren Brinkmann
Hi Josh, On Tue, Dec 18, 2012 at 08:59:45PM -0600, Josh Cartwright wrote: On Tue, Dec 18, 2012 at 04:16:32PM -0800, Soren Brinkmann wrote: I started to put some effort on syncing the Xilinx Linux tree with mainline and the timer driver is my first victim. Most commits are fixing style

Re: + core_pattern-set-core-helpers-root-and-namespace-to-crashing-process .patch added to -mm tree

2012-12-18 Thread Eric W. Biederman
Neil Horman nhor...@tuxdriver.com writes: On Tue, Dec 18, 2012 at 12:45:18PM -0800, Eric W. Biederman wrote: The code for setns to change the pid namespace just merged. Can you post a link to the merge commit for reference so I can take a look at it?

Re: [PATCH v2 4/4] uprobes/powerpc: Make use of generic routines to enable single step

2012-12-18 Thread Ananth N Mavinakayanahalli
On Tue, Dec 18, 2012 at 08:10:13PM +0100, Oleg Nesterov wrote: On 12/18, Ananth N Mavinakayanahalli wrote: On Fri, Dec 14, 2012 at 09:02:41PM +0100, Oleg Nesterov wrote: - uprobe_restore_context_sstep(utask-autask); + uprobe_restore_context_sstep(utask-autask, regs);

Re: [PATCH] timekeeping: avoid adjust kernel time once hwclock kept in UTC time

2012-12-18 Thread Dong Zhu
On Thu, Dec 06, 2012 at 10:03:34PM +0800, Dong Zhu wrote: From c126376cf1837b0956e0268056db61870fbbc1d4 Mon Sep 17 00:00:00 2001 From: Dong Zhu bluezhud...@gmail.com Date: Thu, 6 Dec 2012 21:45:00 +0800 Subject: [PATCH] timekeeping: avoid adjust kernel time once hwclock kept in UTC time

Re: [patch 1/8] mm: memcg: only evict file pages when we have plenty

2012-12-18 Thread Simon Jeons
On Mon, 2012-12-17 at 16:54 +0100, Michal Hocko wrote: On Sun 16-12-12 09:21:54, Simon Jeons wrote: On 12/13/2012 10:55 PM, Michal Hocko wrote: On Wed 12-12-12 17:28:44, Johannes Weiner wrote: On Wed, Dec 12, 2012 at 04:53:36PM -0500, Rik van Riel wrote: On 12/12/2012 04:43 PM, Johannes

Re: [PATCH V3 RFC 1/2] sched: Bail out of yield_to when source and target runqueue has one task

2012-12-18 Thread Raghavendra K T
[I forgot to do TO to Ingo last time] Ingo, Could you please take this into x86 tree. This is Acked-by: Andrew Jones drjo...@redhat.com Tested-by: Chegu Vinod chegu_vi...@hp.com Marcelo, do you want to add your Acked-by/Reviewed-by? On 12/14/2012 09:10 PM, Raghavendra K T wrote: Hi Ingo,

RE: [PATCH] usb: phy: tegra: Using devm API for memory allocation

2012-12-18 Thread Venu Byravarasu
-Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Tuesday, December 18, 2012 10:03 PM To: Venu Byravarasu Cc: ba...@ti.com; gre...@linuxfoundation.org; linux- ker...@vger.kernel.org; linux-...@vger.kernel.org Subject: Re: [PATCH] usb: phy: tegra: Using

Re: [PATCH v5 3/4] USB: ehci-s5p: Add phy driver support

2012-12-18 Thread Vivek Gautam
CC: Doug Anderson. On Tue, Dec 18, 2012 at 8:13 PM, Vivek Gautam gautam.vi...@samsung.com wrote: Adding the phy driver to ehci-s5p. Keeping the platform data for continuing the smooth operation for boards which still uses it Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Acked-by:

[RFC PATCH] Scripts: Add binary diff utility.

2012-12-18 Thread Lv Zheng
This utility is used as part of Linux ACPICA release process. It may be a good idea to add it to kernel scripts, since it may be generally usefull for verifying small kernel changes, like coding style cleanups etc. Signed-off-by: Lv Zheng lv.zh...@intel.com --- scripts/diffvmlinux.sh | 227

Re: [PATCH v2] usb: phy: samsung: Add support to set pmu isolation

2012-12-18 Thread Vivek Gautam
CC: Doug Anderson On Wed, Dec 19, 2012 at 4:49 AM, Sylwester Nawrocki sylvester.nawro...@gmail.com wrote: Hi Vivek, On 12/18/2012 02:56 PM, Vivek Gautam wrote: Adding support to parse device node data in order to get required properties to set pmu isolation for usb-phy. Signed-off-by:

Re: [PATCH v2] Adding USB 3.0 DRD-phy support for exynos5250

2012-12-18 Thread Vivek Gautam
CC: Doug Anderson. On Tue, Dec 18, 2012 at 8:40 PM, Vivek Gautam gautam.vi...@samsung.com wrote: Changes form v1: - Moved architecture related patch out of this patch-set. - Replaced unnecessary multi-line macro definitions by single line definitions. - Creating new data structure for

Re: [PATCH] usb: phy: samsung: Add support for USB 3.0 phy for exynos5250

2012-12-18 Thread Vivek Gautam
CC: Doug Anderson On Tue, Dec 18, 2012 at 8:43 PM, Felipe Balbi ba...@ti.com wrote: On Tue, Dec 18, 2012 at 08:40:26PM +0530, Vivek Gautam wrote: Adding support for USB3.0 phy for dwc3 controller on exynos5250 SOC. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com ---

[PATCH] mmc: sdio: Removing the unnecessary runtime_get/put in sdio_bus_remove()

2012-12-18 Thread Chuansheng Liu
The runtime_get_sync() is called during sdio_bus_probe(), then the device will be kept in active runtime state, so not neccessary to call runtime_get_sync/put_noidle() again in sdio_bus_remove(). Signed-off-by: liu chuansheng chuansheng@intel.com --- drivers/mmc/core/sdio_bus.c |8

Re: [PATCH 0/2] ARM: Exynos5250: Enabling samsung usb phy

2012-12-18 Thread Vivek Gautam
CC: Doug Anderson. On Tue, Dec 18, 2012 at 9:09 PM, Vivek Gautam gautam.vi...@samsung.com wrote: This patch-set enables the samsung-usbphy driver on exynos5250, which enables the support for USB2 type and USB3 type phys. The corresponding phy driver patches are available at: 1)

Re: [PATCH] [RFC] cpufreq: can't raise max frequency with cpu_thermal

2012-12-18 Thread Doug Anderson
Amit, On Tue, Dec 18, 2012 at 8:17 PM, amit daniel kachhap amit.dan...@samsung.com wrote: On Tue, Dec 18, 2012 at 12:29 AM, Sonny Rao sonny...@chromium.org wrote: The cpu_thermal generic thermal management code has a bug where once max cpu frequency has been lowered in sysfs (scaling_max_freq)

Re: [PATCH v5 1/4] ARM: EXYNOS: Update move usb-phy types to generic include layer

2012-12-18 Thread Vivek Gautam
CC: Doug Anderson. On Tue, Dec 18, 2012 at 8:13 PM, Vivek Gautam gautam.vi...@samsung.com wrote: Updating the names of usb-phy types to more generic names: USB_PHY_TYPE_DEIVCE USB_PHY_TYPE_HOST; and further update its dependencies. Signed-off-by: Praveen Paneri p.pan...@samsung.com

Re: [PATCH 1/2] ARM: Exynos5250: Enabling samsung-usbphy driver

2012-12-18 Thread Vivek Gautam
CC: Doug Anderson. On Tue, Dec 18, 2012 at 9:09 PM, Vivek Gautam gautam.vi...@samsung.com wrote: Adding usbphy node for Exynos5250 along with the necessary device data to be parsed. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi | 22

Re: [PATCH v5 2/4] usb: phy: samsung: Add host phy support to samsung-phy driver

2012-12-18 Thread Vivek Gautam
CC: Doug Anderson. On Tue, Dec 18, 2012 at 8:13 PM, Vivek Gautam gautam.vi...@samsung.com wrote: This patch adds host phy support to samsung-usbphy.c and further adds support for samsung's exynos5250 usb-phy. Signed-off-by: Praveen Paneri p.pan...@samsung.com Signed-off-by: Vivek Gautam

Re: [PATCH 2/2] ARM: Exynos5250: Enabling USB 3.0 phy for samsung-usbphy driver

2012-12-18 Thread Vivek Gautam
CC: Doug Anderson. On Wed, Dec 19, 2012 at 5:02 AM, Sylwester Nawrocki sylvester.nawro...@gmail.com wrote: On 12/18/2012 04:39 PM, Vivek Gautam wrote: Adding base address information required for enabling USB 3.0 DRD phy on exynos5250 SOC. Signed-off-by: Vivek

Re: [PATCH v5 4/4] USB: ohci-exynos: Add phy driver support

2012-12-18 Thread Vivek Gautam
CC: Doug Anderson. On Tue, Dec 18, 2012 at 8:13 PM, Vivek Gautam gautam.vi...@samsung.com wrote: Adding the phy-driver to ohci-exynos. Keeping the platform data for continuing the smooth operation for boards which still uses it Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Acked-by:

Re: [E1000-devel] 82571EB: Detected Hardware Unit Hang

2012-12-18 Thread Yijing Wang
On 2012/12/19 11:04, Joe Jin wrote: Hi all, I backported mps commits and ask customer pass pci=pcie_bus_peer2pee to kernel to limited MPS to 128 and issue disappeared, sound like this is a BIOS bug. Hi Joe, I found similar problem when I do pci hotplug, discussion is

Re: [PATCH v5 0/4] Adding usb2.0 host-phy support for exynos5250

2012-12-18 Thread Vivek Gautam
CC: Doug Anderson On Tue, Dec 18, 2012 at 8:13 PM, Vivek Gautam gautam.vi...@samsung.com wrote: Changes from v4: - Moved architecture side changes out of this patch-set. - Added support for multiple usbphy phandle parsing and doing all pmu_isolation() and phy_cfg_sel() related changes

Re: [E1000-devel] 82571EB: Detected Hardware Unit Hang

2012-12-18 Thread Joe Jin
Hi Yijing, Thanks for your reference, the patch looks good for me, but I have no chance to test it on customer's env. Best Regards, Joe On 12/19/12 13:52, Yijing Wang wrote: On 2012/12/19 11:04, Joe Jin wrote: Hi all, I backported mps commits and ask customer pass pci=pcie_bus_peer2pee to

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

2012-12-18 Thread Rusty Russell
Stephen Rothwell s...@canb.auug.org.au writes: Hi Rusty, Today's linux-next merge of the modules tree got a conflict in kernel/modsign_pubkey.c between commit 84ecfd15f554 (modsign: add symbol prefix to certificate list) from Linus' tree and commit bb8f5966421d (MODSIGN: Avoid using .incbin

Re: [PATCH] usb: phy: samsung: Add support for USB 3.0 phy for exynos5250

2012-12-18 Thread Vivek Gautam
Hi Felipe, On Wed, Dec 19, 2012 at 11:14 AM, Vivek Gautam gautamvivek1...@gmail.com wrote: CC: Doug Anderson On Tue, Dec 18, 2012 at 8:43 PM, Felipe Balbi ba...@ti.com wrote: On Tue, Dec 18, 2012 at 08:40:26PM +0530, Vivek Gautam wrote: Adding support for USB3.0 phy for dwc3 controller on

[PATCH V3] serial: tegra: add serial driver

2012-12-18 Thread Laxman Dewangan
NVIDIA's Tegra has multiple UART controller which supports: - APB DMA based controller fifo read/write. - End Of Data interrupt in incoming data to know whether end of frame achieve or not. - HW controlled RTS and CTS flow control to reduce SW overhead. Add serial driver to use all above

[PATCH] ARM: tegra: dts: add aliases and DMA requestor for serial controller

2012-12-18 Thread Laxman Dewangan
Add APB DMA requestor and serial aliases for serial controller. There will be two serial driver i.e. 8250 based simple serial driver and APB DMA based serial driver for higher baudrate and performace. The simple serial driver get enabled with compatible nvidia,tegra20-uart and APB DMA based

Re: [PATCH] timekeeping: avoid adjust kernel time once hwclock kept in UTC time

2012-12-18 Thread John Stultz
On 12/18/2012 09:15 PM, Dong Zhu wrote: On Thu, Dec 06, 2012 at 10:03:34PM +0800, Dong Zhu wrote: From c126376cf1837b0956e0268056db61870fbbc1d4 Mon Sep 17 00:00:00 2001 From: Dong Zhu bluezhud...@gmail.com Date: Thu, 6 Dec 2012 21:45:00 +0800 Subject: [PATCH] timekeeping: avoid adjust kernel

Re: [PATCH] staging: iio: cleanup ring_sw.c

2012-12-18 Thread Dan Carpenter
On Wed, Dec 19, 2012 at 12:39:59AM +0100, Cong Ding wrote: clean the checkpatch warnings in ring_sw.c. mostly are 80 characters per line issue. Signed-off-by: Cong Ding ding...@gmail.com --- drivers/staging/iio/ring_sw.c | 25 ++--- 1 file changed, 14 insertions(+),

Re: common clock framwork: clk_set_rate issue

2012-12-18 Thread Chao Xie
On Tue, Dec 18, 2012 at 3:47 PM, Sascha Hauer s.ha...@pengutronix.de wrote: On Tue, Dec 18, 2012 at 10:19:21AM +0800, Chao Xie wrote: On Tue, Dec 18, 2012 at 4:19 AM, Sascha Hauer s.ha...@pengutronix.de wrote: On Thu, Dec 06, 2012 at 10:52:03AM +0800, Chao Xie wrote: hi When develop the

RE: arch/arm/mach-omap2/i2c.c:130:2: error: implicit declaration of function 'omap_pm_set_max_mpu_wakeup_lat'

2012-12-18 Thread Bedia, Vaibhav
On Wed, Dec 19, 2012 at 07:52:47, Fengguang Wu wrote: [add more CC] On Wed, Dec 19, 2012 at 10:11:02AM +0800, Fengguang Wu wrote: Hi Linus, Wolfram, FYI, kernel build failed on tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux master head:

Re: [PATCH 00/26] AIO performance improvements/cleanups, v2

2012-12-18 Thread Kent Overstreet
On Tue, Dec 18, 2012 at 11:16 AM, Kent Overstreet koverstr...@google.com wrote: Or maybe just getting rid of the ringbuffer is that awesome. Gonna try and work on combining our optimizations so I can see what that looks like :) Yes, yes it is. Combined our aio/dio patches and got 50% better

Re: [PATCH] staging: iio: cleanup ring_sw.c

2012-12-18 Thread Joe Perches
On Wed, 2012-12-19 at 09:42 +0300, Dan Carpenter wrote: On Wed, Dec 19, 2012 at 12:39:59AM +0100, Cong Ding wrote: clean the checkpatch warnings in ring_sw.c. mostly are 80 characters per line issue. [] diff --git a/drivers/staging/iio/ring_sw.c b/drivers/staging/iio/ring_sw.c [] @@

[PATCH v3 -tip 0/4] tracing: make a snapshot feature available from userspace

2012-12-18 Thread Hiraku Toyooka
Hi, Steven, Thank you for your review. I applied your review comments. These patches depend on the next patch. tracing: Add a resize function to make one buffer equivalent to another buffer http://lkml.kernel.org/r/20121017025616.2627.91226.stgit@falsita v2-v3: [1/4] tracing: add checks if

[PATCH v3 -tip 1/4] tracing: add checks if tr-buffer is NULL in tracing_reset{_online_cpus}

2012-12-18 Thread Hiraku Toyooka
max_tr-buffer could be NULL in the tracing_reset{_online_cpus}. In this case, a NULL pointer dereference happens, so we should return immediately from these functions. Signed-off-by: Hiraku Toyooka hiraku.toyooka...@hitachi.com Cc: Steven Rostedt rost...@goodmis.org Cc: Frederic Weisbecker

[PATCH v3 -tip 2/4] tracing: replace static old_tracer with strcmp

2012-12-18 Thread Hiraku Toyooka
Currently, read functions for trace buffer use static old_tracer for detecting changes of current tracer. This is because we can assume that these functions are used from only one file (trace). But we are adding snapshot feature for ftrace, then those functions are called from two files. So we

[PATCH v3 -tip 3/4] tracing: make a snapshot feature available from userspace

2012-12-18 Thread Hiraku Toyooka
Ftrace has a snapshot feature available from kernel space and latency tracers (e.g. irqsoff) are using it. This patch enables user applictions to take a snapshot via debugfs. Add snapshot debugfs file in tracing directory. snapshot: This is used to take a snapshot and to read the output of

[PATCH v3 -tip 4/4] tracing: add description of snapshot to Documentation/trace/ftrace.txt

2012-12-18 Thread Hiraku Toyooka
This patch adds snapshot description in ftrace documentation. This description includes what the snapshot is and how to use it. Signed-off-by: Hiraku Toyooka hiraku.toyooka...@hitachi.com Cc: Steven Rostedt rost...@goodmis.org Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar

Re: [PATCH] staging: iio: cleanup ring_sw.c

2012-12-18 Thread Joe Perches
On Wed, 2012-12-19 at 07:13 +, Jonathan Cameron wrote: Err. This whole file is going away in the coming cycle anyway so I am not going to take cleanup patches for it. That's the best kind of staging cleanup. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

SPARSE_IRQ

2012-12-18 Thread Paul Thompson
Hi; Perhaps Im being an idiot, but it looks to me like the menu-item for SPARSE_IRQ (under General setup - IRQ subsystem) depends solely on MAY_HAVE_SPARSE_IRQ, but I only see *one* user for that in the kernel now, the SuperH arch (arch/sh/Kconfig). It looks like everyone else

[PATCH 1/5] perf/Power7: Use macros to identify perf events

2012-12-18 Thread Sukadev Bhattiprolu
Define and use macros to identify perf events codes This would make it easier and more readable when these event codes need to be used in more than one place. Signed-off-by: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com --- arch/powerpc/perf/power7-pmu.c | 28 1

Re: zram: fix invalid memory references during disk write

2012-12-18 Thread Nitin Gupta
On 12/18/2012 07:49 PM, Greg KH wrote: On Tue, Dec 18, 2012 at 01:12:05PM -0800, Nitin Gupta wrote: On Tue, Dec 11, 2012 at 10:27 AM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Nov 29, 2012 at 10:45:09PM -0800, Nitin Gupta wrote: Fixes a bug introduced by commit c8f2f0db1 (zram: Fix

[PATCH 2/5] perf: Make EVENT_ATTR and EVENT_PTR global

2012-12-18 Thread Sukadev Bhattiprolu
Rename EVENT_ATTR() and EVENT_PTR() PMU_EVENT_ATTR() and PMU_EVENT_PTR(). Make them global so they are available to all architectures. Further to allow architectures flexibility, have PMU_EVENT_PTR() pass in the variable name as a parameter. Signed-off-by: Sukadev Bhattiprolu

[PATCH 3/5] perf/POWER7: Make generic event translations available in sysfs

2012-12-18 Thread Sukadev Bhattiprolu
[PATCH 3/5] perf/POWER7: Make generic event translations available in sysfs Make the generic perf events in POWER7 available via sysfs. $ ls /sys/bus/event_source/devices/cpu/events branch-instructions branch-misses cache-misses cache-references

[PATCH 4/5] perf/POWER7: Make some POWER7 events available in sysfs

2012-12-18 Thread Sukadev Bhattiprolu
Make some POWER7-specific perf events available in sysfs. $ /bin/ls -1 /sys/bus/event_source/devices/cpu/events/ branch-instructions branch-misses cache-misses cache-references cpu-cycles instructions PM_BRU_FIN PM_BRU_MPRED

[PATCH 5/5] perf: Create a sysfs entry for Power event format

2012-12-18 Thread Sukadev Bhattiprolu
Create a sysfs entry, '/sys/bus/event_source/devices/cpu/format/event' which describes the format of a POWER cpu. The format of the event is the same for all POWER cpus at least in (Power6, Power7), so bulk of this change is common in the code common to POWER cpus. This code is based on

Re: Strange results of DIV_ROUND_CLOSEST

2012-12-18 Thread Juergen Beisert
Hi Guenter, Guenter Roeck wrote: On Tue, Dec 18, 2012 at 10:04:56PM +0100, Juergen Beisert wrote: Guenter Roeck wrote: On Tue, Dec 18, 2012 at 04:03:41PM +0100, Juergen Beisert wrote: commit 263a523d18bca306016d75f5c8d5c57c37fe52fb changes the code of DIV_ROUND_CLOSEST in

Re: [rtc-linux] [PATCH] rtc: recycle id when unloading a rtc driver

2012-12-18 Thread Alexander Holler
Am 19.12.2012 01:46, schrieb Andrew Morton: On Thu, 2 Aug 2012 16:53:25 -0700 Vincent Palatin vpala...@chromium.org wrote: When calling rtc_device_unregister, we are not freeing the id used by the driver. So when doing a unload/load cycle for a RTC driver (e.g. rmmod rtc_cmos modprobe

Re: [patch 7/7] mm: reduce rmap overhead for ex-KSM page copies created on swap faults

2012-12-18 Thread Simon Jeons
On Mon, 2012-12-17 at 13:12 -0500, Johannes Weiner wrote: When ex-KSM pages are faulted from swap cache, the fault handler is not capable of re-establishing anon_vma-spanning KSM pages. In this case, a copy of the page is created instead, just like during a COW break. These freshly made

Re: [rtc-linux] [PATCH] rtc: recycle id when unloading a rtc driver

2012-12-18 Thread Andrew Morton
On Wed, 19 Dec 2012 08:37:07 +0100 Alexander Holler hol...@ahsoftware.de wrote: Am 19.12.2012 01:46, schrieb Andrew Morton: On Thu, 2 Aug 2012 16:53:25 -0700 Vincent Palatin vpala...@chromium.org wrote: When calling rtc_device_unregister, we are not freeing the id used by the driver.

Re: [PATCH] mmc: sdio: Removing the unnecessary runtime_get/put in sdio_bus_remove()

2012-12-18 Thread Ohad Ben-Cohen
On Wed, Dec 19, 2012 at 4:51 PM, Chuansheng Liu chuansheng@intel.com wrote: The runtime_get_sync() is called during sdio_bus_probe(), then the device will be kept in active runtime state Unless, of course, the driver powered it down. , so not neccessary to call

Re: [rtc-linux] [PATCH] rtc: recycle id when unloading a rtc driver

2012-12-18 Thread Alexander Holler
Am 19.12.2012 08:45, schrieb Andrew Morton: On Wed, 19 Dec 2012 08:37:07 +0100 Alexander Holler hol...@ahsoftware.de wrote: Am 19.12.2012 01:46, schrieb Andrew Morton: On Thu, 2 Aug 2012 16:53:25 -0700 Vincent Palatin vpala...@chromium.org wrote: When calling rtc_device_unregister, we are

Re: [GIT PULL] x86/uapi for 3.8

2012-12-18 Thread Jan Beulich
>>> On 17.12.12 at 18:15, "H. Peter Anvin" wrote: > On 12/17/2012 09:03 AM, Jan Beulich wrote: > On 17.12.12 at 17:39, "H. Peter Anvin" wrote: >>> Right, I think you nailed this one. This patch copies PTEs from the >>> kernel PTEs and thus they will have the global bit set. It obviously

[patch] x86, paravirt: fix build error when thp is disabled

2012-12-18 Thread David Rientjes
With CONFIG_PARAVIRT=y and CONFIG_TRANSPARENT_HUGEPAGE=n, the build breaks because set_pmd_at() is undeclared: mm/memory.c: In function 'do_pmd_numa_page': mm/memory.c:3520: error: implicit declaration of function 'set_pmd_at' mm/mprotect.c: In function 'change_pmd_protnuma': mm/mprotect.c:120:

Re: [PATCH 1/3] tools/hv: Fix for long file names from readdir

2012-12-18 Thread Tomas Hozza
- Original Message - > > This is just for sanity. The value PATH_MAX was chosen after > > discussion > > with K. Y. Srinivasan and Olaf Hering instead of some "magic" > > number like > > 256 or 512. > > PATH_MAX is a magic name. It is defined in "limits.h". I would welcome some more

[GIT PULL] s390 patches for the 3.8 merge window #2

2012-12-18 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: The main patch is the function measurement blocks extension for PCI to do performance statistics and help with debugging. The

Re: [PATCH 5/6] fuse: truncate file if async dio failed

2012-12-18 Thread Maxim V. Patlasov
12/17/2012 11:04 PM, Brian Foster пишет: On 12/17/2012 09:13 AM, Maxim V. Patlasov wrote: Hi, 12/15/2012 12:16 AM, Brian Foster пишет: On 12/14/2012 10:21 AM, Maxim V. Patlasov wrote: ... + fuse_do_truncate() looks fairly close to fuse_do_setattr(). Is there any reason we couldn't make

[regression][PATCH v3] watchdog: Fix disable/enable regression

2012-12-18 Thread Bjørn Mork
commit 8d451690 ("watchdog: Fix CPU hotplug regression") cause an oops or hard lockup when doing echo 0 > /proc/sys/kernel/nmi_watchdog echo 1 > /proc/sys/kernel/nmi_watchdog and the kernel is booted with nmi_watchdog=1 (default) Running laptop-mode-tools and disconnecting/connecting AC power

[PATCH] spi: Add the flag indicate to registe new device as children of master or not.

2012-12-18 Thread Jun Chen
Because there are two aim when allocating the new device, one is for children of master, other is for master. So this patch add one flag to indicate different purpose. Signed-off-by: Bi Chao Signed-off-by: Chen Jun --- drivers/spi/spi.c | 16 +++- include/linux/spi/spi.h

Re: [PATCH] usb: gadget zero: avoid unnecessary reinit of data in f_sourcesink

2012-12-18 Thread Sebastian Andrzej Siewior
On Mon, Dec 17, 2012 at 06:21:16PM +0100, Armando Visconti wrote: > >Besides that the patch looks fine :) > > Do you mean that 'inited' should be changed with 'initialized'? Yes, I do. > Oh ... my poor english... :( Don't worry. Others, including myself, do this from time to time as well :) >

Re: [PATCH] mm: Suppress mm/memory.o warning on older compilers if !CONFIG_NUMA_BALANCING

2012-12-18 Thread David Rientjes
On Mon, 17 Dec 2012, Andrew Morton wrote: > > The kbuild test robot reported the following after the merge of Automatic > > NUMA Balancing when cross-compiling for avr32. > > > > mm/memory.c: In function 'do_pmd_numa_page': > > mm/memory.c:3593: warning: no return statement in function returning

[PATCHv2 2/2] dma: dw_dmac: clear suspend bit during termination

2012-12-18 Thread Andy Shevchenko
From: Heikki Krogerus The DMA transfer could not be established if previously it was paused and terminated. In that case the channel's suspend bit remains set that prevents to transfer anything until channel is resumed. The patch adds a code that clears the DWC_CFGL_CH_SUSP bit during

[PATCHv2 1/2] dma: dw_dmac: add dwc_chan_pause and dwc_chan_resume

2012-12-18 Thread Andy Shevchenko
We will use at least the dwc_chan_resume() later. Signed-off-by: Andy Shevchenko Acked-by: Viresh Kumar --- drivers/dma/dw_dmac.c | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c index

[PATCH RESEND 4] ARM: plat-versatile: move secondary CPU startup into cpuinit

2012-12-18 Thread Claudio Fontana
Using __CPUINIT instead of __INIT puts the secondary CPU startup code into the "right" section: it will not be freed in hotplug configurations, allowing hot-add of cpus, while still getting freed in non-hotplug configs. Tested successfully on Fast-Models and on Arndale for VCPU hotplug.

[PATCH v2] backlight: add lms501kf03 LCD driver

2012-12-18 Thread Jingoo Han
Add the lms501kf03 LCD panel driver. The lms501kf03 LCD panel (800 x 480) driver uses 3-wired SPI inteface. Signed-off-by: Ilho Lee Signed-off-by: Jingoo Han --- Change since v1: - remove redundant return variables - use -EINVAL instead of -EFAULT - add a more detailed description of 120ms

[PATCH] [RFC] cpufreq: can't raise max frequency with cpu_thermal

2012-12-18 Thread Sonny Rao
The cpu_thermal generic thermal management code has a bug where once max cpu frequency has been lowered in sysfs (scaling_max_freq) it is not possible to raise the max back up later. The bug is that the notifer gets called by __cpufreq_set_policy() before the user policy max is raised, and is

[PATCH V2] spi: remove check for bits_per_word on transfer from low level driver

2012-12-18 Thread Laxman Dewangan
The spi core make sure that each transfer structure have the proper setting for bits_per_word before calling low level transfer APIs. Hence it is no more require to check again in low level driver for this field whether this is set correct or not. Removing such code from low level driver.

Re: [PATCH v2] backlight: add lms501kf03 LCD driver

2012-12-18 Thread devendra.aaru
On Tue, Dec 18, 2012 at 3:46 AM, Jingoo Han wrote: > Add the lms501kf03 LCD panel driver. The lms501kf03 LCD panel (800 > x 480) driver uses 3-wired SPI inteface. > > Signed-off-by: Ilho Lee > Signed-off-by: Jingoo Han > --- > Change since v1: > - remove redundant return variables > - use

[PATCH 1/2] pinctrl: nomadik: return if prcm_base is NULL

2012-12-18 Thread Fabio Baltieri
This patch adds a check for npct->prcm_base to make sure that the address is not NULL before using it, as the driver was made capable of loading even without a proper memory resource in: f1671bf pinctrl/nomadik: make independent of prcmu driver Also, refuses to probe without prcm_base on

Re: [PATCH] kvm: fix i8254 counter 0 wraparound

2012-12-18 Thread Gleb Natapov
On Sat, Dec 15, 2012 at 06:34:37AM -0500, Nickolai Zeldovich wrote: > The kvm i8254 emulation for counter 0 (but not for counters 1 and 2) > has at least two bugs in mode 0: > > 1. The OUT bit, computed by pit_get_out(), is never set high. > > 2. The counter value, computed by pit_get_count(),

[PATCH 2/2] ARM: ux500: add pinctrl address resources

2012-12-18 Thread Fabio Baltieri
Current nmk_pinctrl driver is not PRCMU dependent anymore, so it needs its own DT address resources to work properly, as done for platform_device in: f482833 ARM: ux500: add PRCM register base for pinctrl Reviewed-by: Linus Walleij Signed-off-by: Fabio Baltieri ---

Re: [PATCH 4/4] ARM: tegra: Set SCU base address dynamically from DT

2012-12-18 Thread Hiroshi Doyu
Hi Rob, Rob Herring wrote @ Mon, 17 Dec 2012 15:00:46 +0100: > On 12/17/2012 12:18 AM, Hiroshi Doyu wrote: > > Set Snoop Control Unit(SCU) register base address dynamically from DT. > > > > Signed-off-by: Hiroshi Doyu > > --- > > arch/arm/mach-tegra/platsmp.c | 23 --- >

[PATCH 0/8] Thermal Framework Enhancements

2012-12-18 Thread Durgadoss R
This patch is a v1 based on the RFC submitted here: https://patchwork.kernel.org/patch/1758921/ This patch set is based on Rui's -thermal tree, and is tested on a Core-i5 and an Atom netbook. This series contains 8 patches: Patch 1/8: Creates new sensor level APIs Patch 2/8: Creates new zone

[PATCH 3/8] Thermal: Add APIs to bind cdev to new zone structure

2012-12-18 Thread Durgadoss R
This patch creates new APIs to add/remove a cdev to/from a zone. This patch does not change the old cooling device implementation. Signed-off-by: Durgadoss R --- drivers/thermal/thermal_sys.c | 80 + include/linux/thermal.h |8 + 2 files

[PATCH 2/8] Thermal: Create zone level APIs

2012-12-18 Thread Durgadoss R
This patch adds a new thermal_zone structure to thermal.h. Also, adds zone level APIs to the thermal framework. A thermal zone is a hot spot on the platform, which can have one or more sensors and cooling devices attached to it. These sensors can be mapped to a set of cooling devices, which when

[PATCH 8/8] Thermal: Dummy driver used for testing

2012-12-18 Thread Durgadoss R
This patch has a dummy driver that can be used for testing purposes. This patch is not for merge. Signed-off-by: Durgadoss R --- drivers/thermal/Kconfig|5 + drivers/thermal/Makefile |3 + drivers/thermal/thermal_test.c | 315 3

[PATCH 7/8] Thermal: Make PER_ZONE values configurable

2012-12-18 Thread Durgadoss R
This patch makes MAX_SENSORS_PER_ZONE and MAX_CDEVS_PER_ZONE values configurable. The default value is 1, and range is 1-12. Signed-off-by: Durgadoss R --- No great reason for using 12. --- drivers/thermal/Kconfig | 14 ++ include/linux/thermal.h |6 +++--- 2 files changed, 17

[PATCH 6/8] Thermal: Add Documentation to new APIs

2012-12-18 Thread Durgadoss R
This patch adds Documentation for the new APIs introduced in this patch set. The documentation also has a model sysfs structure for reference. Signed-off-by: Durgadoss R --- Documentation/thermal/sysfs-api2.txt | 248 ++ 1 file changed, 248 insertions(+) create

[PATCH 4/8] Thermal: Add Thermal_trip sysfs node

2012-12-18 Thread Durgadoss R
This patch adds a thermal_trip directory under /sys/class/thermal/zoneX. This directory contains the trip point values for sensors bound to this zone. Signed-off-by: Durgadoss R --- drivers/thermal/thermal_sys.c | 237 - include/linux/thermal.h |

[PATCH 5/8] Thermal: Add 'thermal_map' sysfs node

2012-12-18 Thread Durgadoss R
This patch creates a thermal map sysfs node under /sys/class/thermal/thermal_zoneX/. This contains entries named map0, map1 .. mapN. Each map has the following space separated values: trip_type sensor_name cdev_name trip_mask weights Signed-off-by: Durgadoss R --- drivers/thermal/thermal_sys.c

[PATCH 1/8] Thermal: Create sensor level APIs

2012-12-18 Thread Durgadoss R
This patch creates sensor level APIs, in the generic thermal framework. A Thermal sensor is a piece of hardware that can report temperature of the spot in which it is placed. A thermal sensor driver reads the temperature from this sensor and reports it out. This kind of driver can be in any

[PATCH 5/6] Cleanup header files to build a proper 32 bit VDSO

2012-12-18 Thread stefani
From: Stefani Seibold To build a proper VDSO for 64 bit and 32 bit from the same source, some header cleanup is necessary, otherwise a "gcc -m32" will produce a lot of errors and warnings due the differents with LP64 and LP32. Signed-off-by: Stefani Seibold --- arch/x86/mm/init_32.c

[PATCH 1/6] Move out seqcount from seqlock.h

2012-12-18 Thread stefani
From: Stefani Seibold Create a seperate seqcount.h file which handles only seqcount. This file is save to include in VDSO, since there is no in-kernel functionality like spinlock in use. seqlock.h still includes seqcount.h, so there is no side effect for current users. Signed-off-by: Stefani

[PATCH 3/6] Make vsyscall_gtod_data compatible with 32 bit VDSO

2012-12-18 Thread stefani
From: Stefani Seibold To make the vsyscall_gtod_data available for both VDSO (X86_64 and IA32_EMULATION) the alignment must be set to 4. Otherwise the code create with "gcc -m32" will fail, since the structure alignment in 32 bit mode ist 4 byte. There is currently no drawback for X86_64, since

[PATCH 6/6] Add 32 bit VDSO support for 32 and 64 bit kernels

2012-12-18 Thread stefani
From: Stefani Seibold This patch adds support for 32 bit VDSO. For 32 bit programs running on a 32 bit kernel, the same mechanism is used as for 64 bit programs running on a 64 bit kernel. For 32 bit programs running under a 64 bit IA32_EMULATION, it is a little bit more tricky. In this case

[PATCH 0/6] Add 32 bit VDSO time function support

2012-12-18 Thread stefani
From: Stefani Seibold This patch add the functions vdso_gettimeofday(), vdso_clock_gettime() and vdso_time() to the 32 bit VDSO. The reason to do this was to get a fast reliable time stamp. Many developers uses TSC to get a fast time time stamp, without knowing the pitfalls. VDSO time functions

<    1   2   3   4   5   6   7   8   9   10   >