Re: [PATCH v2 4/4] dw_dmac: return proper residue value

2013-01-24 Thread Andy Shevchenko
On Thu, 2013-01-24 at 10:37 +0530, Viresh Kumar wrote: > On Wed, Jan 23, 2013 at 9:07 PM, Andy Shevchenko > wrote: > > diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c > > > static void dwc_scan_descriptors(struct dw_dma *dw, struct dw_dma_chan > > *dwc) > > { > > dma_addr_t

[PATCH v2 0/3] Add device tree support for NAND flash in am335x-evm

2013-01-24 Thread Philip Avinash
This patch series adds device tree support for NAND flash in am335x-evm. Also ELM node is populated in device tree and been used for BCH error correction in NAND flash part. Also this patch series ensures RBL ecc layout maintained in Linux kernel with BCH8 ecc scheme. This patch series based on [1

[PATCH v2 1/3] ARM: dts: AM33XX: Add ELM node

2013-01-24 Thread Philip Avinash
From: "Philip, Avinash" Add ELM data node to AM33XX device tree file. Signed-off-by: Philip Avinash Acked-by: Peter Korsgaard --- Changes since v2: - Replace literals to 52 - remove tab arch/arm/boot/dts/am33xx.dtsi |8 1 file changed, 8 insertions(+) diff --gi

[PATCH v2 2/3] ARM: dts: AM33XX: Add GPMC node

2013-01-24 Thread Philip Avinash
From: "Philip, Avinash" Add GPMC data node to AM33XX device tree file. Signed-off-by: Philip Avinash Acked-by: Peter Korsgaard --- Changes since v2: - Change number of chip select to 7 arch/arm/boot/dts/am33xx.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/a

[PATCH v2 3/3] ARM: dts: AM33XX: Add NAND flash device tree data to am335x-evm

2013-01-24 Thread Philip Avinash
NAND flash connected in am335x-evm on GPMC controller. This patch adds device tree node in am3355-evm with GPMC contoller timing for NAND flash interface, NAND partition table, ECC scheme, elm handle id. Signed-off-by: Philip Avinash --- arch/arm/boot/dts/am335x-evm.dts | 98 ++

Re: [PATCH v2 4/4] dw_dmac: return proper residue value

2013-01-24 Thread Viresh Kumar
On 24 January 2013 13:31, Andy Shevchenko wrote: > On Thu, 2013-01-24 at 10:37 +0530, Viresh Kumar wrote: >> Is there a point updating residue here? I don't have a very good knowledge of >> nollp transfers but this is what i know... >> >> The above "if" will pass if we are still doing transfers a

Re: [RFC PATCH 0/2] sched: simplify the select_task_rq_fair()

2013-01-24 Thread Michael Wang
On 01/24/2013 03:47 PM, Mike Galbraith wrote: > On Thu, 2013-01-24 at 15:15 +0800, Michael Wang wrote: >> On 01/24/2013 02:51 PM, Mike Galbraith wrote: >>> On Thu, 2013-01-24 at 14:01 +0800, Michael Wang wrote: >>> I've enabled WAKE flag on my box like you did, but still can't see regres

Re: [PATCH V3 RESEND RFC 0/2] kvm: Improving undercommit scenarios

2013-01-24 Thread Raghavendra K T
On 01/23/2013 07:27 PM, Andrew Jones wrote: On Tue, Jan 22, 2013 at 01:08:54PM +0530, Raghavendra K T wrote: In some special scenarios like #vcpu <= #pcpu, PLE handler may prove very costly, because there is no need to iterate over vcpus and do unsuccessful yield_to burning CPU. The first p

Re: [PATCH V3] drm_crtc: check if fb_create return NULL

2013-01-24 Thread Jani Nikula
On Thu, 24 Jan 2013, "Su, Xuemin" wrote: > From: xueminsu > Date: Tue, 22 Jan 2013 22:39:39 +0800 > Subject: [PATCH] drm_crtc: check if fb_create return NULL > > Some buggy driver may still return NULL in fb_create, > which leads to kernel panic. > > Signed-off-by: xueminsu > --- > drivers/gpu/

Re: [PATCH] mtd: devices: elm: Removes literals in elm DT node

2013-01-24 Thread Peter Korsgaard
> "Philip" == Philip Avinash writes: Philip> As part of removing generalized dependency, replace Philip> literal fields in DT compatible field with <52> for am335x Philip> platforms. Acked-by: Peter Korsgaard -- Bye, Peter Korsgaard -- To unsubscribe from this list: send the line "uns

Re: [PATCH] vgacon/vt: clear buffer attributes when we load a 512 character font

2013-01-24 Thread Dave Airlie
On Thu, Jan 24, 2013 at 3:20 PM, H. Peter Anvin wrote: > We should clear this bit presumably on switching either from or to 512-char > mode, since the bit doesn't really make sense either way. Yeah the only problem going from 512-char is that chars above 256 will morph into garbage chars below 2

[PATCH 0/2] ARM: davinci: da850: add wdt DT node

2013-01-24 Thread Kumar, Anil
Add wdt DT node and OF_DEV_AUXDATA for wdt driver in da850 board dt file to use wdt clock. This series applies on top of v3.8-rc4. This is tested on da850 EVM. Test Procedure: $watchdog -F /dev/watchdog (Device should not reboot) After wdt heartbeat timeout(DEFAULT_HEARTBEAT is 60 sec) $ctr +

[PATCH 2/2] ARM: davinci: da850: add wdt OF_DEV_AUXDATA entry

2013-01-24 Thread Kumar, Anil
Add OF_DEV_AUXDATA for wdt driver in da850 board dt file to use wdt clock. Signed-off-by: Kumar, Anil --- :100644 100644 37c27af... 1b295d2... M arch/arm/mach-davinci/da8xx-dt.c arch/arm/mach-davinci/da8xx-dt.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/arch

[PATCH 1/2] ARM: davinci: da850: add wdt DT node

2013-01-24 Thread Kumar, Anil
Add da850 wdt DT node. Signed-off-by: Kumar, Anil --- :100644 100644 37dc5a3... 4666ce9... M arch/arm/boot/dts/da850-evm.dts :100644 100644 640ab75... 08bf974... M arch/arm/boot/dts/da850.dtsi arch/arm/boot/dts/da850-evm.dts |3 +++ arch/arm/boot/dts/da850.dtsi|5 + 2 files cha

Re: [PATCH V3] drm_crtc: check if fb_create return NULL

2013-01-24 Thread Su, Xuemin
On Thu, 2013-01-24 at 10:31 +0200, Jani Nikula wrote: > > } > > + /* some buggy driver may return NULL here, which may cause panic */ > > + BUG_ON(!fb); > > I fail to see the benefit of this compared to just letting it oops... > > > or->fb_id = fb->base.id; > > ...right here. > > F

Re: [PATCH] CMAC support for CryptoAPI, fixed patch issues, indent, and testmgr build issues

2013-01-24 Thread Jussi Kivilinna
Quoting YOSHIFUJI Hideaki : YOSHIFUJI Hideaki wrote: Jussi Kivilinna wrote: diff --git a/include/uapi/linux/pfkeyv2.h b/include/uapi/linux/pfkeyv2.h index 0b80c80..d61898e 100644 --- a/include/uapi/linux/pfkeyv2.h +++ b/include/uapi/linux/pfkeyv2.h @@ -296,6 +296,7 @@ struct sadb_x_kmaddress

Re: [PATCH 7/9] ARM: at91/at91_dt_defconfig: remove memory specification to cmdline

2013-01-24 Thread Nicolas Ferre
On 01/23/2013 11:20 AM, Jean-Christophe PLAGNIOL-VILLARD : > On 10:48 Wed 23 Jan , Nicolas Ferre wrote: >> No need for this cmdline option as we are using DT. >> Moreover this defconfig is targeted to multiple SoC/boards: this option >> was nonsense. > just keep the console the rest is a nonsen

Re: [PATCH RESEND 1/1] X86: Handle Hyper-V vmbus interrupts as special hypervisor interrupts

2013-01-24 Thread Jan Beulich
>>> On 24.01.13 at 02:17, "K. Y. Srinivasan" wrote: > @@ -69,6 +74,11 @@ static void __init ms_hyperv_init_platform(void) > ms_hyperv.features, ms_hyperv.hints); > > clocksource_register_hz(&hyperv_cs, NSEC_PER_SEC/100); > + > + /* > + * Setup the IDT for hypervisor c

Re: [PATCH][GIT PULL][3.8] x86: Don't clobber top of pt_regs in nested NMI

2013-01-24 Thread Jan Beulich
>>> On 23.01.13 at 21:00, Steven Rostedt wrote: > On Mon, 2012-11-05 at 08:58 +, Jan Beulich wrote: >> >>> On 02.11.12 at 20:19, Steven Rostedt wrote: >> > @@ -1842,8 +1851,12 @@ nmi_swapgs: >> >SWAPGS_UNSAFE_STACK >> > nmi_restore: >> >RESTORE_ALL 8 >> > + >> > + /* Pop the extra i

Re: [PATCH v2 00/76] Synopsys ARC Linux kernel Port

2013-01-24 Thread Vineet Gupta
On Friday 18 January 2013 08:42 PM, Arnd Bergmann wrote: > On Friday 18 January 2013, Vineet Gupta wrote: >> > > Hi Vineet, > > I've looked at the entire series again now, and it looks very good > overall, I only had comments for tiny issues. With 76 patches in the > series, I doubt that anybody

Re: [PATCH v9 20/20] mdf: omap-usb-host: get rid of build warning

2013-01-24 Thread Roger Quadros
On 01/24/2013 01:36 AM, Mike Turquette wrote: > Quoting Roger Quadros (2013-01-23 02:38:12) >> Fixes the below build warning when driver is built-in. >> >> drivers/mfd/omap-usb-host.c:750:12: warning: >> ‘usbhs_omap_remove’ defined but not used [-Wunused-function] >> >> Signed-off-by: Roger Quadros

Re: [PATCH V3] drm_crtc: check if fb_create return NULL

2013-01-24 Thread Jani Nikula
On Thu, 24 Jan 2013, "Su, Xuemin" wrote: > On Thu, 2013-01-24 at 10:31 +0200, Jani Nikula wrote: >> >} >> > + /* some buggy driver may return NULL here, which may cause panic */ >> > + BUG_ON(!fb); >> >> I fail to see the benefit of this compared to just letting it oops... >> >> >or->f

[PATCH v10 20/20] mfd: omap-usb-host: get rid of build warning

2013-01-24 Thread Roger Quadros
Fixes the below build warning when driver is built-in. drivers/mfd/omap-usb-host.c:750:12: warning: ‘usbhs_omap_remove’ defined but not used [-Wunused-function] Signed-off-by: Roger Quadros Reviewed-by: Felipe Balbi --- drivers/mfd/omap-usb-host.c |2 +- 1 files changed, 1 insertions(+), 1

Re: [RFC PATCH 0/2] sched: simplify the select_task_rq_fair()

2013-01-24 Thread Mike Galbraith
On Thu, 2013-01-24 at 16:14 +0800, Michael Wang wrote: > Now it's time to work on v3 I think, let's see what we could get this time. Maybe v3 can try to not waste so much ram on affine map? Even better would be if it could just go away, along with relic of the bad old days wake_affine(), and we

[GIT PULL] at91: fixes for 3.8-rc5

2013-01-24 Thread Nicolas Ferre
Arnd, Olof, Here is the pull request related to the fixes series that I sent earlier this week. Changes are obvious and are very constrained in AT91-related material. The following changes since commit 7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619: Linux 3.8-rc4 (2013-01-17 19:25:45 -0800) are ava

Re: [RFC] regulator: Display in use regulators in sysfs

2013-01-24 Thread Lee Jones
On Wed, 23 Jan 2013, Mark Brown wrote: > On Wed, Jan 23, 2013 at 08:19:27AM +, Lee Jones wrote: > > On Wed, 23 Jan 2013, Mark Brown wrote: > > > > We call our reference counts use count but this was in fact the original > > > design, the local reference counts got dropped due to David Brownel

[PATCH RFC] media: tvp514x: add OF support

2013-01-24 Thread Prabhakar Lad
From: Lad, Prabhakar add OF support for the tvp514x driver. Signed-off-by: Lad, Prabhakar Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Mauro Carvalho Chehab Cc: Guennadi Liakhovetski --- This patch is on top of following patches: 1: https://patchwork.kernel.org/patch/1930941/ 2: http://patc

Re: [PATCH 0/4] i2c-designware: add Intel Lynxpoint support

2013-01-24 Thread Mika Westerberg
On Thu, Jan 24, 2013 at 08:28:46AM +0100, Wolfram Sang wrote: > I can't tell much about ACPI usage, but rest looks good to me. Applied > to next. Thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 3/6 v14] gpio: Add userland device interface to block GPIO

2013-01-24 Thread Alexander Stein
On Tuesday 22 January 2013 13:06:41, Roland Stigge wrote: > This patch adds a character device interface to the block GPIO system. > > Signed-off-by: Roland Stigge > --- > Documentation/ABI/testing/dev-gpioblock | 34 > drivers/gpio/gpiolib.c | 225 > +++

[PATCH 1/2] lockstat: fix a typo

2013-01-24 Thread Yuanhan Liu
It should be CONFIG_LOCK_STAT Cc: Ingo Molnar Signed-off-by: Yuanhan Liu --- Documentation/lockstat.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/lockstat.txt b/Documentation/lockstat.txt index cef00d4..dd2f7b2 100644 --- a/Documentation/lockstat.tx

[PATCH 2/2] mutex: use spin_[un]lock instead of arch_spin_[un]lock

2013-01-24 Thread Yuanhan Liu
Use spin_[un]lock instead of arch_spin_[un]lock in mutex-debug.h so that we can collect the lock statistics of spin_lock_mutex from /proc/lock_stat. Cc: Ingo Molnar Signed-off-by: Yuanhan Liu --- kernel/mutex-debug.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ke

Re: [PATCH RESEND 1/1] X86: Handle Hyper-V vmbus interrupts as special hypervisor interrupts

2013-01-24 Thread Borislav Petkov
On Wed, Jan 23, 2013 at 05:56:09PM -0800, K. Y. Srinivasan wrote: > diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S > index 1975122..803ca69 100644 > --- a/arch/x86/kernel/entry_64.S > +++ b/arch/x86/kernel/entry_64.S > @@ -1446,11 +1446,16 @@ ENTRY(xen_failsafe_callback) >

Re: [RFC PATCH 0/2] sched: simplify the select_task_rq_fair()

2013-01-24 Thread Michael Wang
On 01/24/2013 05:07 PM, Mike Galbraith wrote: > On Thu, 2013-01-24 at 16:14 +0800, Michael Wang wrote: > >> Now it's time to work on v3 I think, let's see what we could get this time. > > Maybe v3 can try to not waste so much ram on affine map? Yeah, that has been a question in my mind at very b

[PATCH] x86-64: fix unwind annotations in recent NMI changes

2013-01-24 Thread Jan Beulich
While in one case a plain annotation is necessary, in the other case the stack adjustment can simply be folded into the immediately preceding RESTORE_ALL, thus getting the correct annotation for free. Signed-off-by: Jan Beulich Cc: Steven Rostedt --- arch/x86/kernel/entry_64.S |7 +++

Re: [PATCH v2 15/17] workqueue: remove global_cwq

2013-01-24 Thread Joonsoo Kim
Hello, Tejun. On Wed, Jan 23, 2013 at 10:09:57AM -0800, Tejun Heo wrote: > global_cwq is now nothing but a container for per-cpu standard > worker_pools. Declare the worker pools directly as > cpu/unbound_std_worker_pools[] and remove global_cwq. > > * cacheline_aligned_in_smp moved from glo

RE: [alsa-devel] [PATCH V2 2/2] ASoC: Davinci: machine: Add device tree binding

2013-01-24 Thread Hebbar, Gururaja
On Wed, Jan 23, 2013 at 21:18:12, Mark Brown wrote: > On Wed, Jan 23, 2013 at 12:39:35PM +, Hebbar, Gururaja wrote: > > On Fri, Jan 04, 2013 at 17:56:12, Mark Brown wrote: > > > > The CODEC driver biases should be changed over to be supplies, this > > > makes the above much more natural - the

Re: [PATCH 1/1] ARM: ux500: Disable Power Supply and Battery Management by default

2013-01-24 Thread Lee Jones
On Mon, 21 Jan 2013, Linus Walleij wrote: > On Mon, Jan 14, 2013 at 3:57 PM, Lee Jones wrote: > > > The AB8500 Battery Management collection of drivers are more than a > > little bit broken. There is lots of work still on-going in that area > > and it's improving day by day; however, it's not re

[PATCH 1/2] cpu_hotplug: Remove __cpuinitdata declaration of __apicid_to_node[].

2013-01-24 Thread Tang Chen
__apicid_to_node[] will be used by acpi_unmap_lsapic() when we do node hotplug. So it is no longer an init data. Do not declare __apicid_to_node[] as a __cpuinitdata, otherwise it will cause section mismatch warning when compiling. Signed-off-by: Tang Chen --- arch/x86/mm/numa.c |2 +- 1 fil

[PATCH 2/2] cpu-hotplug,memory-hotplug: Remove __cpuinit declaration of numa_clear_node().

2013-01-24 Thread Tang Chen
numa_clear_node() will be used by check_and_unmap_cpu_on_node() when we do node hotplug. So it is no longer a __cpuinit function. Do not declare it as a __cpuinit function, otherwise it will cause section mismatch warning when compiling. Signed-off-by: Tang Chen --- arch/x86/mm/numa.c |2 +-

Re: [PATCH v6 2/2] perf stat: add interval printing

2013-01-24 Thread Ingo Molnar
* Stephane Eranian wrote: > This patch adds a new printing mode for perf stat. > It allows internval printing. That means perf stat s/rnv/rv > can now print event deltas at regular time interval. > This is useful to detect phases in programs. > > The -I option enables interval printing. It ex

[PATCH 1/1] pinctrl: core: Make pinctrl_release static

2013-01-24 Thread Sachin Kamat
'pinctrl_release' is used only in this file. Hence make it static. Without this patch we get the following sparse error: drivers/pinctrl/core.c:815:6: warning: symbol 'pinctrl_release' was not declared. Should it be static? Signed-off-by: Sachin Kamat --- drivers/pinctrl/core.c |2 +- 1 fil

Re: [patch v4 0/18] sched: simplified fork, release load avg and power awareness scheduling

2013-01-24 Thread Borislav Petkov
On Thu, Jan 24, 2013 at 11:06:42AM +0800, Alex Shi wrote: > Since the runnable info needs 345ms to accumulate, balancing > doesn't do well for many tasks burst waking. After talking with Mike > Galbraith, we are agree to just use runnable avg in power friendly > scheduling and keep current instant

[PATCH 0/2] Fix section mismatch caused by node offline code.

2013-01-24 Thread Tang Chen
Since node offline code uses __apicid_to_node[] and numa_clear_node(), they are no longer init data or function. So do not declare them as __cpuinitdata or __cpuinit. Tang Chen (2): cpu_hotplug: Remove __cpuinitdata declaration of __apicid_to_node[]. cpu-hotplug,memory-hotplug: Remove __cpuini

Re: [PATCH] CMAC support for CryptoAPI, fixed patch issues, indent, and testmgr build issues

2013-01-24 Thread Steffen Klassert
On Wed, Jan 23, 2013 at 05:35:10PM +0200, Jussi Kivilinna wrote: > > Problem seems to be that PFKEYv2 does not quite work with IKEv2, and > XFRM API should be used instead. There is new numbers assigned for > IKEv2: > https://www.iana.org/assignments/ikev2-parameters/ikev2-parameters.xml#ikev2-pa

Re: [GIT PULL] parisc fixes for v3.8-rc5

2013-01-24 Thread Geert Uytterhoeven
Hi Helge, On Tue, Jan 22, 2013 at 10:11 PM, Helge Deller wrote: > please consider pulling the following 4 patches for 3.8-rc5 which improve > the stability of the linux kernel on the parisc architecture. I think you forgot https://patchwork.kernel.org/patch/1917351/ Gr{oetje,eeting}s,

RE: [PATCH] vhost-net: fall back to vmalloc if high-order allocation fails

2013-01-24 Thread David Laight
> + n = kmalloc(sizeof *n, GFP_KERNEL | __GFP_NOWARN); > + if (!n) > + n = vmalloc(sizeof *n); I'm slightly confused by this construct. I thought kmalloc(... GFP_KERNEL) would sleep waiting for memory (rather than return NULL). I realise that (for multi-page sizes) that kmallo

Re: [PATCH v2 00/76] Synopsys ARC Linux kernel Port

2013-01-24 Thread James Hogan
Hi Vineet, On 24/01/13 08:54, Vineet Gupta wrote: > (3) That branch will be ARC patches on top of Linus's 3.8 rc4. Actually for my > development, I'd also cherry picked a few patches from linux-next (soft and > hard > dependencies from several different *next trees) - hard ones being > > f13a366

Re: [PATCH] iio: adc: add exynos5 adc driver under iio framwork

2013-01-24 Thread Lars-Peter Clausen
On 01/24/2013 01:42 AM, Doug Anderson wrote: > Lars, > > On Wed, Jan 23, 2013 at 4:52 AM, Lars-Peter Clausen wrote: >>> Few doubts regarding the mappings and child device handling. >>> Kindly, suggest me better methods. >> >> The patch looks mostly good now. As for the mappings, the problem is th

Re: [PATCH v2 65/76] ARC: UAPI Disintegrate arch/arc/include/asm

2013-01-24 Thread James Hogan
Hi Vineet, On 24/01/13 05:46, Vineet Gupta wrote: > On Wednesday 23 January 2013 06:20 PM, David Howells wrote: >> Vineet Gupta wrote: >> >>> I generated this patch using the scripts you provided. If these look OK to >>> you, can you please ACK. >> >> You need to take a look at uapi/asm/setup.h.

Re: linux-3.7.4: BUG: unable to handle kernel NULL pointer dereference at target_fabric_port_link

2013-01-24 Thread Paul Bolle
On Thu, 2013-01-24 at 01:07 +0900, Kouichi ONO wrote: > At target_fabric_port_link(), struct se_device *dev is used before set? It seems the (stable specific) patch in http://article.gmane.org/gmane.linux.kernel.stable/40880 should fix that. Paul Bolle -- To unsubscribe from this list: send the

Re: [PATCH 2/2] mutex: use spin_[un]lock instead of arch_spin_[un]lock

2013-01-24 Thread Ingo Molnar
* Yuanhan Liu wrote: > Use spin_[un]lock instead of arch_spin_[un]lock in mutex-debug.h so > that we can collect the lock statistics of spin_lock_mutex from > /proc/lock_stat. > > Cc: Ingo Molnar > Signed-off-by: Yuanhan Liu > --- > kernel/mutex-debug.h |4 ++-- > 1 files changed, 2 inse

Re: [PATCH 2/2] drm/i915: fixup per-crtc locking in intel_release_load_detect_pipe

2013-01-24 Thread Daniel Vetter
On Wed, Jan 23, 2013 at 05:25:09PM +0100, Daniel Vetter wrote: > One of the early return cases missed the mutex unlocking. Hilarity > ensued. > > This regression has been introduced in > > commit 7b24056be6db7ce907baffdd4cf142ab774ea60c > Author: Daniel Vetter > Date: Wed Dec 12 00:35:33 2012

Re: [PATCH RFC] media: tvp514x: add OF support

2013-01-24 Thread Heiko Schocher
Hello Prabhakar, On 24.01.2013 10:12, Prabhakar Lad wrote: > From: Lad, Prabhakar > > add OF support for the tvp514x driver. > > Signed-off-by: Lad, Prabhakar > Cc: Hans Verkuil > Cc: Laurent Pinchart > Cc: Mauro Carvalho Chehab > Cc: Guennadi Liakhovetski > --- > This patch is on top of

Re: [PATCH 1/2] regulator: tps65217: Fix using wrong dev argument for calling of_regulator_match

2013-01-24 Thread Mark Brown
On Thu, Jan 24, 2013 at 04:22:59PM +0800, Axel Lin wrote: > This patch does not change "node" argument ( the second parameter of > of_regulator_match()), so it should not break the OF bindings. Ugh, right - the argument is just confusingly named when the context is missing. No problem. signatu

Re: [PATCH v2 2/6] sched: split out css_online/css_offline from tg creation/destruction

2013-01-24 Thread Ingo Molnar
* Li Zefan wrote: > This is a preparaton for later patches. > > - What do we gain from cpu_cgroup_css_online(): > > After ss->css_alloc() and before ss->css_online(), there's a small > window that tg->css.cgroup is NULL. With this change, tg won't be seen > before ss->css_online(), where it's

Re: [PATCH] vhost-net: fall back to vmalloc if high-order allocation fails

2013-01-24 Thread Michael S. Tsirkin
On Thu, Jan 24, 2013 at 09:45:50AM -, David Laight wrote: > > + n = kmalloc(sizeof *n, GFP_KERNEL | __GFP_NOWARN); > > + if (!n) > > + n = vmalloc(sizeof *n); > > I'm slightly confused by this construct. > I thought kmalloc(... GFP_KERNEL) would sleep waiting for > memory (rather

Re: [PATCH] staging/comedi: Move comedi_pci_auto_unconfig to drivers.c

2013-01-24 Thread Ian Abbott
On 2013-01-22 23:03, Peter Huewe wrote: Since comedi_pci_auto_unconfig cannot be inlined anymore after staging/comedi: Use comedi_pci_auto_unconfig directly for pci_driver.remove is applied, it makes sense to move it drivers.c Signed-off-by: Peter Huewe --- drivers/staging/comedi/comedide

Re: [alsa-devel] [PATCH V2 2/2] ASoC: Davinci: machine: Add device tree binding

2013-01-24 Thread Mark Brown
On Thu, Jan 24, 2013 at 09:33:34AM +, Hebbar, Gururaja wrote: > So, by just using the SND_SOC_DAPM_POST_PMU & SND_SOC_DAPM_PRE_PMD I can mask > & handle one particular voltage. What makes you say that? That is just not true. signature.asc Description: Digital signature

Re: [PATCH v2 2/6] sched: split out css_online/css_offline from tg creation/destruction

2013-01-24 Thread Ingo Molnar
* Li Zefan wrote: > extern struct task_group *sched_create_group(struct task_group *parent); > +extern void sched_online_group(struct task_group *tg, > +struct task_group *parent); > extern void sched_destroy_group(struct task_group *tg); > +extern void sched_offlin

Re: [RFC] regulator: Display in use regulators in sysfs

2013-01-24 Thread Mark Brown
On Thu, Jan 24, 2013 at 09:11:34AM +, Lee Jones wrote: > So the premise of the patch is good and is worth updating and upstreaming? Yes. signature.asc Description: Digital signature

RE: [alsa-devel] [PATCH V2 2/2] ASoC: Davinci: machine: Add device tree binding

2013-01-24 Thread Hebbar, Gururaja
On Thu, Jan 24, 2013 at 15:32:55, Mark Brown wrote: > On Thu, Jan 24, 2013 at 09:33:34AM +, Hebbar, Gururaja wrote: > > > So, by just using the SND_SOC_DAPM_POST_PMU & SND_SOC_DAPM_PRE_PMD I can > > mask > > & handle one particular voltage. > > What makes you say that? That is just not tr

Re: [PATCH 2/4] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2013-01-24 Thread Ingo Molnar
* Alex Shi wrote: > @@ -2539,7 +2539,11 @@ static void __update_cpu_load(struct rq *this_rq, > unsigned long this_load, > void update_idle_cpu_load(struct rq *this_rq) > { > unsigned long curr_jiffies = ACCESS_ONCE(jiffies); > +#if defined(CONFIG_SMP) && defined(CONFIG_FAIR_GROUP_SCHED)

Re: [PATCH RFC] media: tvp514x: add OF support

2013-01-24 Thread Prabhakar Lad
Hi Heiko, On Thu, Jan 24, 2013 at 4:30 PM, Heiko Schocher wrote: > Hello Prabhakar, > > On 24.01.2013 10:12, Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> add OF support for the tvp514x driver. >> >> Signed-off-by: Lad, Prabhakar >> Cc: Hans Verkuil >> Cc: Laurent Pinchart >> Cc: Mauro C

Re: [PATCH 6/6] Drivers: hv: Execute shutdown in a thread context

2013-01-24 Thread Jiri Kosina
On Wed, 23 Jan 2013, K. Y. Srinivasan wrote: > Execute the shutdown code in a thread context. With recent changes made to the > shutdown code, shutdown code cannot be invoked from an interrupt context. > > Signed-off-by: K. Y. Srinivasan > Reviewed-by: Haiyang Zhang > --- > drivers/hv/hv_util.

Re: [PATCH 5/6] Drivers: hid: hid-hyperv: Use consolidated GUID definitions

2013-01-24 Thread Jiri Kosina
On Wed, 23 Jan 2013, K. Y. Srinivasan wrote: > Use the consolidated GUID definitions in the Hyper-V mouse driver. > > Signed-off-by: K. Y. Srinivasan > Reviewed-by: Haiyang Zhang Acked-by: Jiri Kosina Greg, I guess you are taking this as a whole? Thanks. > --- > drivers/hid/hid-hyperv.c |

Re: [PATCH 2/2] mutex: use spin_[un]lock instead of arch_spin_[un]lock

2013-01-24 Thread Yuanhan Liu
On Thu, Jan 24, 2013 at 10:58:07AM +0100, Ingo Molnar wrote: > > * Yuanhan Liu wrote: > > > Use spin_[un]lock instead of arch_spin_[un]lock in mutex-debug.h so > > that we can collect the lock statistics of spin_lock_mutex from > > /proc/lock_stat. > > > > Cc: Ingo Molnar > > Signed-off-by: Yu

Re: [PATCH] regmap: debugfs: Fix compilation warning

2013-01-24 Thread Vincent Stehlé
On 01/23/2013 04:58 PM, Mark Brown wrote: > On Tue, Jan 22, 2013 at 11:07:04AM +0100, Vincent Stehlé wrote: > >> Do you think there is a way to "mark" the list_for_each_entry() >> as iterating at least once? an __attribute__ maybe? > > No - but are you sure that's true? If you mean "am I sure th

Re: [PATCH v2 00/76] Synopsys ARC Linux kernel Port

2013-01-24 Thread Vineet Gupta
On Thursday 24 January 2013 03:22 PM, James Hogan wrote: > Hi Vineet, > > On 24/01/13 08:54, Vineet Gupta wrote: >> (3) That branch will be ARC patches on top of Linus's 3.8 rc4. Actually for >> my >> development, I'd also cherry picked a few patches from linux-next (soft and >> hard >> dependenc

Re: [PATCH V6 3/3] tuntap: allow polling/writing/reading when detached

2013-01-24 Thread Jason Wang
On 01/17/2013 09:16 AM, Jason Wang wrote: > On 01/17/2013 01:03 AM, Michael S. Tsirkin wrote: >> On Wed, Jan 16, 2013 at 11:44:38PM +0800, Jason Wang wrote: >>> We forbid polling, writing and reading when the file were detached, this may >>> complex the user in several cases: >>> >>> - when guest p

Re: [alsa-devel] [PATCH V2 2/2] ASoC: Davinci: machine: Add device tree binding

2013-01-24 Thread Mark Brown
On Thu, Jan 24, 2013 at 10:06:42AM +, Hebbar, Gururaja wrote: > What I meant was that by using this macro (SND_SOC_DAPM_POST_PMU & > SND_SOC_DAPM_PRE_PMD) I can just save and restore existing voltage values > inside > the event. They will not be user configurable (available to user through so

Re: [PATCH 2/2] mutex: use spin_[un]lock instead of arch_spin_[un]lock

2013-01-24 Thread Ingo Molnar
* Yuanhan Liu wrote: > On Thu, Jan 24, 2013 at 10:58:07AM +0100, Ingo Molnar wrote: > > > > * Yuanhan Liu wrote: > > > > > Use spin_[un]lock instead of arch_spin_[un]lock in mutex-debug.h so > > > that we can collect the lock statistics of spin_lock_mutex from > > > /proc/lock_stat. > > > >

[PATCH] arm: tegra: dt: Add reset GPIO information to PHY DT node

2013-01-24 Thread Venu Byravarasu
As reset GPIO information is PHY specific detail, adding it to PHY DT node. Signed-off-by: Venu Byravarasu --- .../bindings/usb/nvidia,tegra20-usb-phy.txt|3 +++ arch/arm/boot/dts/tegra20-harmony.dts |4 arch/arm/boot/dts/tegra20-paz00.dts|4

Re: [PATCH] CONFIG_PANIC_ON_OOPS should be shown if DEBUG_KERNEL

2013-01-24 Thread Ingo Molnar
* Andrew Morton wrote: > On Tue, 22 Jan 2013 14:21:03 -0500 > Kyle McMartin wrote: > > > CONFIG_EXPERT is a bit silly a place for this, and hides it > > unnecessarily. CONFIG_DEBUG_KERNEL makes much more sense. > > > > Signed-off-by: Kyle McMartin > > > > --- a/lib/Kconfig.debug > > +++ b/l

[PATCH V3 0/4] i2c: s3c2410: Add devm_* apis and cleanup

2013-01-24 Thread Tushar Behera
This patchset cleans up the probe function of i2c-s3c2410 driver. These have been tested on Exynos4210 based Origen board. Changes since V2: * Rebased to v3.8-rc4. * devm_request_and_ioremap() has already been implemented. Changes since V1: * devm_request_mem_region and devm_ioremap calls w

[PATCH V3 1/4] i2c: s3c2410: Remove unnecessary label err_noclk

2013-01-24 Thread Tushar Behera
err_noclk label redirects to a simple return statement. Move the return statement to the caller location and remove the label. Signed-off-by: Tushar Behera --- Changes since V2: * Rebased to v3.8-rc4. drivers/i2c/busses/i2c-s3c2410.c |9 +++-- 1 files changed, 3 insertions(+), 6 delet

[PATCH V3 3/4] i2c: s3c2410: Move location of clk_prepare_enable() call in probe function

2013-01-24 Thread Tushar Behera
In i2c-s3c2410 driver probe, only s3c24xx_i2c_init() needs the I2C clock to be enabled. Moving clk_prepare_enable() and clk_disable_unprepare() calls to around this function simplifies the return path of probe call. Signed-off-by: Tushar Behera --- Changes since V2: * Rebased to v3.8-rc4. Chan

[PATCH V3 4/4] i2c: s3c2410: Remove err_cpufreq label

2013-01-24 Thread Tushar Behera
err_cpufreq label is now used only once. It can be removed and related code can be moved to the caller location. Signed-off-by: Tushar Behera --- Changes since V2: * Rebased to v3.8-rc4. Changes since V1: * Rebased as per the V2 patch series. drivers/i2c/busses/i2c-s3c2410.c |7 ++

[PATCH V3 2/4] i2c: s3c2410: Convert to use devm_* APIs

2013-01-24 Thread Tushar Behera
i2c-s3c2410 driver is modified to use devm_clk_get() and devm_request_irq(). This also simplifies the return path in driver's probe. Signed-off-by: Tushar Behera --- Changes since V2: * Rebased on v3.8-rc4. devm_request_and_ioremap implementaion has already been merged. Changes since V1: * de

RE: [alsa-devel] [PATCH V2 2/2] ASoC: Davinci: machine: Add device tree binding

2013-01-24 Thread Hebbar, Gururaja
On Thu, Jan 24, 2013 at 15:43:03, Mark Brown wrote: > On Thu, Jan 24, 2013 at 10:06:42AM +, Hebbar, Gururaja wrote: > > > What I meant was that by using this macro (SND_SOC_DAPM_POST_PMU & > > SND_SOC_DAPM_PRE_PMD) I can just save and restore existing voltage values > > inside > > the event.

[PATCH v2] usb: host: tegra: make use of PHY pointer of HCD

2013-01-24 Thread Venu Byravarasu
As pointer to PHY structure can be stored in struct usb_hcd making use of it, to call Tegra PHY APIs. Call to usb_phy_shutdown() is moved up in tegra_ehci_remove(), so that to avoid dereferencing of hcd after its freed up. Signed-off-by: Venu Byravarasu --- First version of patch can be found at

Re: [PATCH 2/2] mutex: use spin_[un]lock instead of arch_spin_[un]lock

2013-01-24 Thread Yuanhan Liu
On Thu, Jan 24, 2013 at 11:14:50AM +0100, Ingo Molnar wrote: > > * Yuanhan Liu wrote: > > > On Thu, Jan 24, 2013 at 10:58:07AM +0100, Ingo Molnar wrote: > > > > > > * Yuanhan Liu wrote: > > > > > > > Use spin_[un]lock instead of arch_spin_[un]lock in mutex-debug.h so > > > > that we can colle

Re: [GIT PULL] parisc fixes for v3.8-rc5

2013-01-24 Thread Helge Deller
Hi Geert, From: Geert Uytterhoeven > On Tue, Jan 22, 2013 at 10:11 PM, Helge Deller wrote: > > please consider pulling the following 4 patches for 3.8-rc5 which > improve > > the stability of the linux kernel on the parisc architecture. > > I think you forgot https://patchwork.kernel.org/patch/

Re: linux-next: build failure after merge of the final tree (akpm tree related)

2013-01-24 Thread Shaohua Li
On Thu, Jan 24, 2013 at 04:54:48PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the final tree, today's linux-next build (sparc32 defconfig) > failed like this: > > arch/sparc/mm/init_32.c: In function 'show_mem': > arch/sparc/mm/init_32.c:60:23: error: invalid operands to binary <<

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

2013-01-24 Thread Ingo Molnar
* Raghavendra K T wrote: > From: Peter Zijlstra > > In case of undercomitted scenarios, especially in large guests > yield_to overhead is significantly high. when run queue length of > source and target is one, take an opportunity to bail out and return > -ESRCH. This return condition can be f

Re: [PATCH V6 3/3] tuntap: allow polling/writing/reading when detached

2013-01-24 Thread Michael S. Tsirkin
On Thu, Jan 24, 2013 at 06:12:44PM +0800, Jason Wang wrote: > On 01/17/2013 09:16 AM, Jason Wang wrote: > > On 01/17/2013 01:03 AM, Michael S. Tsirkin wrote: > >> On Wed, Jan 16, 2013 at 11:44:38PM +0800, Jason Wang wrote: > >>> We forbid polling, writing and reading when the file were detached, th

Re: [PATCH 1/8] mm: use vm_unmapped_area() on parisc architecture

2013-01-24 Thread James Bottomley
On Wed, 2013-01-23 at 17:29 -0800, Michel Lespinasse wrote: > Update the parisc arch_get_unmapped_area function to make use of > vm_unmapped_area() instead of implementing a brute force search. > > Signed-off-by: Michel Lespinasse > Acked-by: Rik van Riel > > --- > arch/parisc/kernel/sys_paris

Re: [PATCH V6 0/3] handle polling errors in vhost/vhost_net

2013-01-24 Thread Michael S. Tsirkin
On Wed, Jan 16, 2013 at 11:44:35PM +0800, Jason Wang wrote: > This is an update version of last version to fix the handling of polling > errors > in vhost/vhost_net. > > Currently, vhost and vhost_net ignore polling errors which can lead kernel > crashing when it tries to remove itself from waitq

Re: [PATCH V6 1/3] vhost_net: correct error handling in vhost_net_set_backend()

2013-01-24 Thread Michael S. Tsirkin
On Wed, Jan 16, 2013 at 11:44:36PM +0800, Jason Wang wrote: > Currently, when vhost_init_used() fails the sock refcnt and ubufs were > leaked. Correct this by calling vhost_init_used() before assign ubufs and > restore the oldsock when it fails. > > Signed-off-by: Jason Wang Acked-by: Michael S.

Re: [PATCH V6 2/3] vhost_net: handle polling errors when setting backend

2013-01-24 Thread Michael S. Tsirkin
On Wed, Jan 16, 2013 at 11:44:37PM +0800, Jason Wang wrote: > Currently, the polling errors were ignored, which can lead following issues: > > - vhost remove itself unconditionally from waitqueue when stopping the poll, > this may crash the kernel since the previous attempt of starting may fail

Re: [RFC PATCH 0/2] sched: simplify the select_task_rq_fair()

2013-01-24 Thread Mike Galbraith
On Thu, 2013-01-24 at 17:26 +0800, Michael Wang wrote: > On 01/24/2013 05:07 PM, Mike Galbraith wrote: > > On Thu, 2013-01-24 at 16:14 +0800, Michael Wang wrote: > > > >> Now it's time to work on v3 I think, let's see what we could get this time. > > > > Maybe v3 can try to not waste so much ram

[PATCH v3 4/4] dw_dmac: return proper residue value

2013-01-24 Thread Andy Shevchenko
Currently the driver returns full length of the active descriptor which is wrong. We have to go throught the active descriptor and substract the length of each sent children in the chain from the total length along with the actual data in the DMA channel registers. The cyclic case is not handled b

[PATCH v3 3/4] dw_dmac: fill individual length of descriptor

2013-01-24 Thread Andy Shevchenko
It will be useful to have the length of the transfer in the descriptor. The cyclic transfer functions remained untouched. Signed-off-by: Andy Shevchenko Acked-by: Viresh Kumar --- drivers/dma/dw_dmac.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/dma/dw_dmac.c b/drivers/dma

Re: [PATCH V6 3/3] tuntap: allow polling/writing/reading when detached

2013-01-24 Thread Michael S. Tsirkin
On Wed, Jan 16, 2013 at 11:44:38PM +0800, Jason Wang wrote: > We forbid polling, writing and reading when the file were detached, this may > complex the user in several cases: > > - when guest pass some buffers to vhost/qemu and then disable some queues, > host/qemu needs to do its own cleanup o

Re: [PATCH V8 00/13] MIPS: Add Loongson-3 based machines support

2013-01-24 Thread John Crispin
Huacai Chen(13): MIPS: Loongson: Add basic Loongson-3 definition. MIPS: Loongson: Add basic Loongson-3 CPU support. MIPS: Loongson: Introduce and use cpu_has_coherent_cache feature. MIPS: Loongson 3: Add Lemote-3A machtypes definition. MIPS: Loongson: Add UEFI-like firmware interface

[PATCH v3 2/4] dw_dmac: introduce total_len field in struct dw_desc

2013-01-24 Thread Andy Shevchenko
By this new field we distinguish a total length of the chain and the individual length of each descriptor in the chain. Signed-off-by: Andy Shevchenko Acked-by: Viresh Kumar --- drivers/dma/dw_dmac.c | 12 ++-- drivers/dma/dw_dmac_regs.h |1 + 2 files changed, 7 insertions(+)

[PATCH v3 1/4] dw_dmac: remove unnecessary tx_list field in dw_dma_chan

2013-01-24 Thread Andy Shevchenko
The soft LLP mode is working for active descriptor only. So, we do not need to have a copy of its pointer. Signed-off-by: Andy Shevchenko Acked-by: Viresh Kumar --- drivers/dma/dw_dmac.c | 20 +++- drivers/dma/dw_dmac_regs.h |1 - 2 files changed, 15 insertions(+), 6

[PATCH v3 0/4] dw_dmac: return actual residue value

2013-01-24 Thread Andy Shevchenko
The patch series is targeted for getting proper residue value. Since v2: - get rid of dwc_update_residue(): for soft LLP mode we assign residue in dwc_do_start() and decrease it at each interrupt. In the middle of transfer we will return that result substracted by amount of sent bytes Since

Re: qt3 and ptrdiff_t build error

2013-01-24 Thread Michal Marek
On 16.1.2013 13:26, Tiana Rakotovao Andriamahefa wrote: > I have checked it and found that the error was effectively fixed in the last > maintained upload of Qt3 in 2011. However, the correction is not yet in Wheezy > (Debian testing) which I have used for more than a year. It might be > included t

Re: [PATCH v2 05/12] KVM: MMU: introduce vcpu_adjust_access

2013-01-24 Thread Gleb Natapov
On Wed, Jan 23, 2013 at 06:06:36PM +0800, Xiao Guangrong wrote: > Introduce it to split the code of adjusting pte_access from the large > function of set_spte > > Signed-off-by: Xiao Guangrong > --- > arch/x86/kvm/mmu.c | 63 > +--- > 1 files ch

RE: [PATCH] vhost-net: fall back to vmalloc if high-order allocation fails

2013-01-24 Thread David Laight
> > I think this means that kmalloc() is likely to be faster > > (if it doesn't have to sleep), but that vmalloc() is > > allocating from a much larger resource. > > > > This make me that that large allocations that are not > > temporary should probably be allocated with vmalloc(). > > vmalloc has

  1   2   3   4   5   6   7   8   9   10   >