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 wrote: Am 19.12.2012 01:46, schrieb Andrew Morton: On Thu, 2 Aug 2012 16:53:25 -0700 Vincent Palatin 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 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 > runtime_get_sync/put_noidle() again in

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 wrote: > Am 19.12.2012 01:46, schrieb Andrew Morton: > > On Thu, 2 Aug 2012 16:53:25 -0700 > > Vincent Palatin wrote: > > > >> When calling rtc_device_unregister, we are not freeing the id used by the > >> driver. > >> So when doing a

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

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 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 rtc_cmos), its id is

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

[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

[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 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 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 ---

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 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

[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 --- arch/powerpc/perf/power7-pmu.c | 28 1 files changed, 20

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

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

[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 Cc: Steven Rostedt Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Rob Landley Cc: linux-...@vger.kernel.org Cc:

[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

[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

[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 Cc: Steven Rostedt Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: linux-kernel@vger.kernel.org

[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

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

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 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 throughput than I'd

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: common clock framwork: clk_set_rate issue

2012-12-18 Thread Chao Xie
On Tue, Dec 18, 2012 at 3:47 PM, Sascha Hauer 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 wrote: >> > On Thu, Dec 06, 2012 at 10:52:03AM +0800, Chao Xie wrote: >> >> hi >> >> When develop the clk drivers for SOCs based on

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 > --- > drivers/staging/iio/ring_sw.c | 25 ++--- > 1 file changed, 14 insertions(+), 11

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 Date: Thu, 6 Dec 2012 21:45:00 +0800 Subject: [PATCH] timekeeping: avoid adjust kernel time once hwclock kept

[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

[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

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 wrote: > CC: Doug Anderson > > > On Tue, Dec 18, 2012 at 8:43 PM, Felipe Balbi 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. >>> >>>

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

2012-12-18 Thread Rusty Russell
Stephen Rothwell 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 in C

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

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 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 >in

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 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 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 > Acked-by: Jingoo Han > --- >

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 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 Gautam >> --- >>

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 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 > Signed-off-by: Vivek Gautam > --- >

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 wrote: > Adding usbphy node for Exynos5250 along with the > necessary device data to be parsed. > > Signed-off-by: Vivek Gautam > --- > arch/arm/boot/dts/exynos5250.dtsi | 22 ++ >

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 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 > Signed-off-by: Vivek Gautam > --- >

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 wrote: > On Tue, Dec 18, 2012 at 12:29 AM, Sonny Rao 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

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 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)

[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 --- drivers/mmc/core/sdio_bus.c |8 1 files changed, 0

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 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 >> --- >> drivers/usb/phy/samsung-usbphy.c | 339

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 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 USB 3.0 phy type

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 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: Vivek Gautam >>

[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 --- scripts/diffvmlinux.sh | 227

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 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 > Acked-by: Jingoo Han > --- >

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:

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 Tested-by: Chegu Vinod Marcelo, do you want to add your Acked-by/Reviewed-by? On 12/14/2012 09:10 PM, Raghavendra K T wrote: Hi Ingo, Could you please take this into x86

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

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 > Date: Thu, 6 Dec 2012 21:45:00 +0800 > Subject: [PATCH] timekeeping: avoid adjust kernel time once hwclock kept in > UTC time > > If the Hardware

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(>autask); > > > > + uprobe_restore_context_sstep(>autask,

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 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 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

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

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 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 called by

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

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] 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

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

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 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 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 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: 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 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 caused invalid

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 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 explain

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 wrote: > > Replace clock instance name of MSHC controller for BIC and CIU of > Exynos4412. > > > > Signed-off-by: Dongjin Kim > > --- > > arch/arm/mach-exynos/clock-exynos4.c |4 ++-- > > 1 file changed, 2 insertions(+), 2

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 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 pass

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 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 adds

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 2/2]linux-usb:optimize to match the Huawei USB storage devices and support new switch command

2012-12-18 Thread Fangxiaozhi (Franko)
Dear Sebastian: Please see the comments follows yours. By the way, I found the kernel is updated to 3.7.1 today. So I have to update my patch based on 3.7.1, and resubmit it? Right? Best Regards, Franko Fang > -Original Message- > From: Sebastian Andrzej

Re: [PATCH v2 1/6] Add header files and Kbuild plumbing for SI476x MFD core

2012-12-18 Thread Andrey Smirnov
On 12-12-18 11:37 AM, Mauro Carvalho Chehab wrote: Em Mon, 8 Oct 2012 11:38:01 -0700 Andrey Smirnov escreveu: On 10/08/2012 01:43 AM, Hans Verkuil wrote: On Sat October 6 2012 03:54:57 Andrey Smirnov wrote: This patch adds all necessary header files and Kbuild plumbing for the core driver

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

2012-12-18 Thread Joe Jin
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. Thanks all of your help. Best Regards, Joe On 11/29/12 23:52, Fujinaka, Todd wrote: > Someone else pointed this out to me

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

2012-12-18 Thread Josh Cartwright
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 issues or clean up. Functionality is touched > only > in patches #2 and #7.

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

2012-12-18 Thread Josh Cartwright
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 and replace: > - s/PSS/PS/g > - s/pss/ps/g > > Signed-off-by: Soren

Re: [PATCH] synclink fix ldisc buffer argument

2012-12-18 Thread Chen Gang
Hello Paul Fulghum: it seems you are very busy, and can not get your reply for "checking length in function rx_get_buf". so I suggest: design: to give it additional length checking in function rx_get_buf. if realy > max_frame_size, will return false (also need call free_rbufs).

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 Fengguang Wu
[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: 752451f01c4567b506bf4343082682dbb8fb30dd > commit:

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

2012-12-18 Thread Fengguang Wu
Hi Linus, Wolfram, FYI, kernel build failed on tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux master head: 752451f01c4567b506bf4343082682dbb8fb30dd commit: 752451f01c4567b506bf4343082682dbb8fb30dd Merge branch 'i2c-embedded/for-next' of

[PATCH] spi-dw: delete cur_msg when pump message and transfer has finished

2012-12-18 Thread Xiao Jin
From: xiao jin Date: Tue, 20 Nov 2012 13:45:47 +0800 Subject: [PATCH] spi-dw: delete cur_msg when pump message and transfer has finished We see DPM device timeout happened in spi_max3111 when system suspend. The root cause is related to the time we delete msg from dw_spi queue. Below is the

[PATCH RESEND 1/2 v3] menuconfig: Add Save/Load buttons

2012-12-18 Thread Wang YanQing
If menuconfig have Save/Load button like alternative .config editors, xconfig, nconfig, etc.We will have a obvious benefit when use menuconfig just like when we use others, we can Save/Load our .config quickly and conveniently. This patch add the Save/Load button for menuconfig. [remove trailing

Re: [PATCH rev.2 1/6] ACPI: Separate adding ACPI device objects from probing ACPI drivers

2012-12-18 Thread Yinghai Lu
On Tue, Dec 18, 2012 at 2:05 PM, Rafael J. Wysocki wrote: >> >> i think we should put jiang four patches before Rafael's patches. >> >> http://git.kernel.org/?p=linux/kernel/git/yinghai/linux-yinghai.git;a=shortlog;h=refs/heads/for-pci-jiang-hotplug > > Actually, I have something more radical

[PATCH 2/3] gpio-langwell: update pci device table

2012-12-18 Thread David Cohen
This patch adds Cloverview ids to pci device table. Signed-off-by: David Cohen --- drivers/gpio/gpio-langwell.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpio/gpio-langwell.c b/drivers/gpio/gpio-langwell.c index 8220c04..dc534a9 100644 --- a/drivers/gpio/gpio-langwell.c

[PATCH 1/3] gpio-langwell: cleanup driver

2012-12-18 Thread David Cohen
This patch cleans up cosmetic issues, remove useless functions and add to_lnw_priv() macro to replace many usages of container_of(). Change-Id: I70a8fadd20a42493271d91633739bdddff19c8d8 Signed-off-by: David Cohen --- drivers/gpio/gpio-langwell.c | 64 ++

[PATCH 3/3] gpio-langwell: implement irq shutdown interface

2012-12-18 Thread David Cohen
From: "Li, Ning" Signed-off-by: David Cohen Signed-off-by: Li, Ning --- drivers/gpio/gpio-langwell.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/gpio/gpio-langwell.c b/drivers/gpio/gpio-langwell.c index dc534a9..c702d3d 100644 ---

[PATCH 0/3] gpio-langwell updates

2012-12-18 Thread David Cohen
Hi, Here goes some Intel updates done on gpio-langwell driver. Kind regards, David --- David Cohen (2): gpio-langwell: cleanup driver gpio-langwell: update pci device table Li, Ning (1): gpio-langwell: implement irq shutdown interface drivers/gpio/gpio-langwell.c | 80

Re: Strange results of DIV_ROUND_CLOSEST

2012-12-18 Thread Guenter Roeck
On Tue, Dec 18, 2012 at 10:04:56PM +0100, Juergen Beisert wrote: > Hi Guenter, > > 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 include/linux/kernel.h

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

2012-12-18 Thread Jun Chen
On Tue, 2012-12-18 at 15:26 +, Mark Brown wrote: > On Tue, Dec 18, 2012 at 11:29:34AM -0500, Jun Chen wrote: > > > * @master: Controller to which device is connected > > + * device_was_children_of_master is flag which the device is registed > > + * as the children of the bus > > This isn't

Re: mm, ksm: NULL ptr deref in unstable_tree_search_insert

2012-12-18 Thread Hugh Dickins
79] Pid: 3174, comm: ksmd Tainted: GW > 3.7.0-next-20121218-sasha-00023-g8e46e86 #220 > [ 127.978032] RIP: 0010:[] [] > __lock_acquire+0xb0/0xa90 > [ 127.978032] RSP: 0018:8800137abb78 EFLAGS: 00010046 > [ 127.978032] RAX: 0086 RBX: 00

Re: [PATCH] block: Avoid divide by 0 when max_discard_sectors is 0

2012-12-18 Thread Doug Anderson
David, On Tue, Dec 18, 2012 at 4:42 PM, David Rientjes wrote: > On Tue, 18 Dec 2012, Doug Anderson wrote: > >> The recent commit "block: discard granularity might not be power of 2" >> introduced a divide by 0 in the kernel. Previously the code didn't >> try to divide by discard_granularity

[PATCH 1/2 v3] menuconfig: Add Save/Load buttons

2012-12-18 Thread Wang YanQing
If menuconfig have Save/Load button like alternative .config editors, xconfig, nconfig, etc.We will have a obvious benefit when use menuconfig just like when we use others, we can Save/Load our .config quickly and conveniently. This patch add the Save/Load button for menuconfig. [remove trailing

[PATCH V2] checkpatch: Warn on uapi #includes that #include

2012-12-18 Thread Joe Perches
Avoid specifying internal uapi #include paths with uapi/... as userspace should not use and never see that. Neaten message line wrapping above. Signed-off-by: Joe Perches cc: David Howells --- scripts/checkpatch.pl |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH] ASoC: dapm: Fix the unpaired runtime_get/put cases

2012-12-18 Thread Chuansheng Liu
Commit f1aac484f7(Take a pm_runtime reference on DAPM devices that are enabled) introduced runtime_get/put calling when devices are in off/non-off bias. It is based on: 1/ device from off to non-off bias is called thru dapm_pre_sequence_async; 2/ device from non-off to off bias is called thru

mm, ksm: NULL ptr deref in unstable_tree_search_insert

2012-12-18 Thread Sasha Levin
cc55067 PMD 0 [ 127.960379] Oops: [#1] PREEMPT SMP DEBUG_PAGEALLOC [ 127.960379] Dumping ftrace buffer: [ 127.960379](ftrace buffer empty) [ 127.960379] CPU 0 [ 127.960379] Pid: 3174, comm: ksmd Tainted: GW 3.7.0-next-20121218-sasha-00023-g8e46e86 #220 [ 127.978032] RIP

Re: [PULL REQUEST] i2c-embedded for 3.8

2012-12-18 Thread Linus Torvalds
Ugh, guys. Please check this out. On Tue, Dec 18, 2012 at 3:41 PM, Wolfram Sang wrote: > > please pull the i2c-embedded changes for 3.8 which include: > > * CBUS driver (an I2C variant) > * continued rework of the omap driver > * s3c2410 gets lots of fixes and gains pinctrl support > * at91

Re: [rtc-linux] [RESEND PATCH] RTC: MAX77686: Add Maxim 77686 driver

2012-12-18 Thread Joe Perches
On Tue, 2012-12-18 at 16:30 -0800, Andrew Morton wrote: > On Wed, 28 Nov 2012 15:50:57 +0900 > Jonghwa Lee wrote: > > > Add driver for support max77686 rtc. > > MAX77686 rtc support smpl and wtsr mode. It has two alarm register > > which can be used for alarming to wake system up. This drvier

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

2012-12-18 Thread Stephen Rothwell
Hi Eric, After merging the fsnotify tree, today's linux-next build (powerpc_ppc64_defconfig) failed like this: fs/notify/fdinfo.c: In function 'show_fdinfo': fs/notify/fdinfo.c:30:18: error: 'struct fsnotify_group' has no member named 'mark_lock' fs/notify/fdinfo.c:36:20: error: 'struct

[PATCH 02/05] input: Core files

2012-12-18 Thread Christopher Heiny
In addition to the changes described in 0/0 of this patch set, these files are updated as follows: * initialization sequence rearranged to support the merging of rmi_f01 and rmi_driver into the RMI4 core. * the initial reset and firmware update PDT scans are split into their own functions in

[PATCH 04/05] input: F01 Device control

2012-12-18 Thread Christopher Heiny
In addition to the changes described in 0/0 of this patchset, this patch includes: * changes to the handling of sysfs as requested in feedback to our previous patch. * device serialization updated to conform to the latest specification. Signed-off-by: Christopher Heiny Cc: Dmitry Torokhov Cc:

[PATCH 01/05] input: RMI4 header file

2012-12-18 Thread Christopher Heiny
In addition to the changes described in part 0/5, this fixes some cut issues in the comments for module_rmi_function_driver. Signed-off-by: Christopher Heiny Cc: Dmitry Torokhov Cc: Linus Walleij Cc: Joeri de Gram Acked-by: Jean Delvare --- include/linux/rmi.h | 95

[PATCH 03/05] input: I2C physical layer

2012-12-18 Thread Christopher Heiny
Changes here are limited to those described in the 0/0 of this patchset, plus some tweaks to debugging output. Signed-off-by: Christopher Heiny Cc: Dmitry Torokhov Cc: Linus Walleij Cc: Joeri de Gram Acked-by: Jean Delvare --- drivers/input/rmi4/rmi_i2c.c | 141

[PATCH 05/05] input: F11 2D input

2012-12-18 Thread Christopher Heiny
In addition to the changes described in 0/0 of this patchset, this patch includes: * elimination of unused sysfs and debugfs parameters. * some fixes to the input device parameters. * removal of some stray Android stuff. Signed-off-by: Christopher Heiny To: Henrik Rydberg Cc: Dmitry Torokhov

[RFC PATCH 00/05] input: Synaptics RMI4 Touchscreen Driver

2012-12-18 Thread Christopher Heiny
This patchset implements changes based on the synaptics-rmi4 branch of Dmitry's input tree. The base for the patchset is Dmitry's commit 0af25383d395fb5ece54b79d12d06138bf8b9836 from 2012-11-28. Overall this patchset implements the following changes: * updates to Dmitry's RMI4_CORE structure

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

2012-12-18 Thread Andrew Morton
On Thu, 2 Aug 2012 16:53:25 -0700 Vincent Palatin 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 rtc_cmos), its id is incremented by one. As a consequence, > we

Re: [PATCH 3/3] perf tests: Add event parsing test for '*:*' tracepoints

2012-12-18 Thread Jiri Olsa
On Tue, Dec 18, 2012 at 02:35:50PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Dec 17, 2012 at 02:08:38PM +0100, Jiri Olsa escreveu: > > Adding event parsing test for '*:*' tracepoints. Checking the > > count matches all the tracepoints available plus current > > standard tracepoint

  1   2   3   4   5   6   7   8   9   10   >