Re: [PATCH net,1/1] hyperv: Add support for setting MAC from within guests

2012-07-16 Thread David Miller
From: Haiyang Zhang Date: Tue, 10 Jul 2012 10:19:22 -0700 > This adds support for setting synthetic NIC MAC address from within Linux > guests. Before using this feature, the option "spoofing of MAC address" > should be enabled at the Hyper-V manager / Settings of the synthetic > NIC. > >

Re: [PATCH] ALSA: hda - Add new GPU codec ID to snd-hda

2012-07-16 Thread Takashi Iwai
At Mon, 16 Jul 2012 17:10:04 -0700, Aaron Plattner wrote: > > Vendor ID 0x10de0051 is used by a yet-to-be-named GPU chip. > > Signed-off-by: Aaron Plattner > Acked-by: Andy Ritger > Reviewed-by: Daniel Dadap Applied now. Thanks. Takashi > --- > sound/pci/hda/patch_hdmi.c |2 ++ > 1

linux-next: Tree for July 17

2012-07-16 Thread Stephen Rothwell
Hi all, Changes since 20120716: The vfs tree lost its build failure. The l2-mtd tree gained a conflict against the mtd tree. The battery tree tree lost its build failure. The regulator tree gained conflicts against the mfd tree. The tty tree lost its build failure but gained another, so I

Re: [PATCH net-next 0/8] etherdevice: Rename random_ether_addr to eth_random_addr

2012-07-16 Thread David Miller
From: Joe Perches Date: Thu, 12 Jul 2012 22:33:04 -0700 > net-next commit ad7eee98be ("etherdevice: introduce eth_broadcast_addr") > added a new style API. Rename random_ether_addr to eth_random_addr to > create some API symmetry. Series applied, thanks Joe. -- To unsubscribe from this list:

Re: [PATCH] ftrace: using pr_fmt for better printk output

2012-07-16 Thread Joe Perches
On Tue, 2012-07-17 at 13:32 +0800, Jovi Zhang wrote: > On Tue, Jul 17, 2012 at 1:07 PM, Joe Perches wrote: > > On Tue, 2012-07-17 at 00:25 -0400, Steven Rostedt wrote: [] > >> Also, what is KBUILD_MODNAME defined as for non-modules? As ftrace is > >> not a module. > > > > It depends on the

Re: [PATCH] ftrace: using pr_fmt for better printk output

2012-07-16 Thread Jovi Zhang
On Tue, Jul 17, 2012 at 1:07 PM, Joe Perches wrote: > On Tue, 2012-07-17 at 00:25 -0400, Steven Rostedt wrote: >> On Mon, 2012-07-16 at 20:42 -0700, Joe Perches wrote: >> >> > > diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c >> > [] >> > > @@ -13,6 +13,8 @@ >> > > * Copyright (C)

[PATCH V2] staging/gdm72xx: use kthread APIs

2012-07-16 Thread Devendra Naga
From: Devendra Naga This patch modifies the kthread usage in the gdm_usb code, and tries to use the kthread APIs better. Actually the task_struct is taken as global as the limitation of priv. we run the kthread before we allocate the priv. did only compilation test, but not the insmod, check

Re: [PATCH] ftrace: using pr_fmt for better printk output

2012-07-16 Thread Joe Perches
On Tue, 2012-07-17 at 13:23 +0800, Jovi Zhang wrote: > I don't make sure if there have some method or skill to let GCC knows > subsystem name automatically, > use built-in macro __FILE__? but this need condition of subsystem name > is same as file name, > not so easily to guarantee that. You

Re: [PATCH] ftrace: using pr_fmt for better printk output

2012-07-16 Thread Joe Perches
On Tue, 2012-07-17 at 13:23 +0800, Jovi Zhang wrote: > On Tue, Jul 17, 2012 at 12:25 PM, Steven Rostedt wrote: > > On Mon, 2012-07-16 at 20:42 -0700, Joe Perches wrote: > > > >> > diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c > >> [] > >> > @@ -13,6 +13,8 @@ > >> > * Copyright (C)

RE: Adding support for configuring polarity in PWM framework.

2012-07-16 Thread Philip, Avinash
On Mon, Jul 16, 2012 at 18:16:13, Lars-Peter Clausen wrote: > On 07/16/2012 02:23 PM, Philip, Avinash wrote: > > > > > 1. PWM framework API addition. > > PWM frame work API support. > > /** > > * pwm_setpolarity() - change a PWM device Polarity > > * @pwm: PWM device > >

Re: [PATCH] net-next: make sock diag per-namespace (v2)

2012-07-16 Thread David Miller
From: Andrew Vagin Date: Mon, 16 Jul 2012 18:28:49 +0400 > Before this patch sock_diag works for init_net only and dumps > information about sockets from all namespaces. > > This patch expands sock_diag for all name-spaces. > It creates a netlink kernel socket for each netns and filters > data

Re: [PATCH] ftrace: using pr_fmt for better printk output

2012-07-16 Thread Jovi Zhang
On Tue, Jul 17, 2012 at 12:25 PM, Steven Rostedt wrote: > On Mon, 2012-07-16 at 20:42 -0700, Joe Perches wrote: > >> > diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c >> [] >> > @@ -13,6 +13,8 @@ >> > * Copyright (C) 2004 William Lee Irwin III >> > */ >> > >> > +#define

Re: [PATCH 2/2] [RFC] cpufreq: omap: scale regulator from clk notifier

2012-07-16 Thread Prashant Gaikwad
On Saturday 14 July 2012 05:46 AM, Mike Turquette wrote: This patch moves direct control of the MPU voltage regulator out of the cpufreq driver .target callback and instead puts that logic into a clock rate change notifier callback. The same frequency/voltage lookup via the OPP library is

Re: [RFC PATCH v3 2/13] memory-hotplug : add physical memory hotplug code to acpi_memory_device_remove

2012-07-16 Thread Yasuaki Ishimatsu
Hi Wen, 2012/07/17 14:17, Wen Congyang wrote: > At 07/17/2012 12:51 PM, Yasuaki Ishimatsu Wrote: >> Hi Wen, >> >> 2012/07/17 12:32, Wen Congyang wrote: >>> At 07/17/2012 11:08 AM, Yasuaki Ishimatsu Wrote: Hi Wen, 2012/07/17 11:32, Wen Congyang wrote: > At 07/17/2012 09:54 AM,

Re: [PATCH] epoll: Add a flag, EPOLLWAKEUP, to prevent suspend while epoll events are ready

2012-07-16 Thread Michael Kerrisk
On Tue, Jul 17, 2012 at 12:04 AM, Arve Hjønnevåg wrote: > On Mon, Jul 16, 2012 at 4:00 AM, Rafael J. Wysocki wrote: >> On Monday, July 16, 2012, Michael Kerrisk wrote: >>> Arve, Rafael, >>> >>> On Tue, May 1, 2012 at 7:33 AM, Arve Hjønnevåg wrote: >>> > When an epoll_event, that has the

Re: [PATCH 1/2] drivers: bus: add a new driver for omap-ocp2scp

2012-07-16 Thread ABRAHAM, KISHON VIJAY
+Arnd Bergmann On Mon, Jul 16, 2012 at 7:43 PM, Kishon Vijay Abraham I wrote: > Adds a new driver *omap-ocp2scp*. This driver takes the responsibility of > creating all the devices that is connected to OCP2SCP. In the case of OMAP4, > USB2PHY is connected to ocp2scp. > > This also includes

Re: [RFC PATCH v3 2/13] memory-hotplug : add physical memory hotplug code to acpi_memory_device_remove

2012-07-16 Thread Wen Congyang
At 07/17/2012 12:51 PM, Yasuaki Ishimatsu Wrote: > Hi Wen, > > 2012/07/17 12:32, Wen Congyang wrote: >> At 07/17/2012 11:08 AM, Yasuaki Ishimatsu Wrote: >>> Hi Wen, >>> >>> 2012/07/17 11:32, Wen Congyang wrote: At 07/17/2012 09:54 AM, Yasuaki Ishimatsu Wrote: > Hi Wen, > >

Re: [PATCH] ftrace: using pr_fmt for better printk output

2012-07-16 Thread Joe Perches
On Tue, 2012-07-17 at 00:25 -0400, Steven Rostedt wrote: > On Mon, 2012-07-16 at 20:42 -0700, Joe Perches wrote: > > > > diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c > > [] > > > @@ -13,6 +13,8 @@ > > > * Copyright (C) 2004 William Lee Irwin III > > > */ > > > > > > +#define

Re: BUG: unable to handle kernel NULL pointer dereference at 0000000000000010 on 3.5-rc6

2012-07-16 Thread devendra.aaru
Hi Dave, On Tue, Jul 17, 2012 at 12:16 AM, Dave Jones wrote: > > Check the bugs-found.txt file in trinity.git before reporting bugs found with > it. > This one already got reported.. https://lkml.org/lkml/2012/7/13/328 > I try to keep that file up to date to reduce multiple reports of the same

[PATCH 02/10] kvm tools, powerpc: Use mmap_anon_or_hugetblfs() in kvm__arch_init()

2012-07-16 Thread Michael Ellerman
It implements essentially the same logic. The one difference is it sets MAP_NORESERVE when using anonymous mmap, but I think that is OK. Reword the comment about hugetblfs, we are no longer required to use hugepages to back the guest. Signed-off-by: Michael Ellerman --- tools/kvm/powerpc/kvm.c

[PATCH 04/10] kvm tools, powerpc: Use designated initializers for struct cpu_info

2012-07-16 Thread Michael Ellerman
Using designated initializers for structs is preferable because it is self documenting, and more robust against changes to the structure layout. Signed-off-by: Michael Ellerman --- tools/kvm/powerpc/cpu_info.c | 38 +- tools/kvm/powerpc/cpu_info.h |6

[PATCH 06/10] kvm tools, powerpc: Reformatting in find_cpu_info()

2012-07-16 Thread Michael Ellerman
Matt's enter key was broken when he wrote this ;) Signed-off-by: Michael Ellerman --- tools/kvm/powerpc/cpu_info.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/kvm/powerpc/cpu_info.c b/tools/kvm/powerpc/cpu_info.c index 7326f5b..586b232 100644 ---

[PATCH 07/10] kvm tools, powerpc: Restructure find_cpu_info()

2012-07-16 Thread Michael Ellerman
We are about to add more logic to find_cpu_info(). To support this we need to pass kvm through to it, and also restructure the return flow so we can operate on info before it is returned. Signed-off-by: Michael Ellerman --- tools/kvm/powerpc/cpu_info.c | 16 +++-

[RFC/PATCH] Use kernel supplied MMU info for kvm tool

2012-07-16 Thread Michael Ellerman
Hi all, This is a series for kvmtool that uses a newish kernel API to get MMU info, which is then fed to the guest. Currently we just make a good guess based on the PVR, but that is potentially flakey in a few ways. The most notable is that if you don't specify hugepages we don't boot - because

[PATCH 10/10] kvm tools, powerpc: Use MMU info for ibm,slb-size

2012-07-16 Thread Michael Ellerman
Signed-off-by: Michael Ellerman --- tools/kvm/powerpc/cpu_info.c |3 +-- tools/kvm/powerpc/cpu_info.h |1 - tools/kvm/powerpc/kvm.c |5 +++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/tools/kvm/powerpc/cpu_info.c b/tools/kvm/powerpc/cpu_info.c index

[PATCH 09/10] kvm tools, powerpc: Use MMU info for ibm,processor-segment-sizes

2012-07-16 Thread Michael Ellerman
Signed-off-by: Michael Ellerman --- tools/kvm/powerpc/cpu_info.c |7 --- tools/kvm/powerpc/cpu_info.h |2 -- tools/kvm/powerpc/kvm.c |7 --- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/tools/kvm/powerpc/cpu_info.c b/tools/kvm/powerpc/cpu_info.c index

[PATCH 08/10] kvm tools, powerpc: Use MMU info from the kernel for ibm,segment-page-sizes

2012-07-16 Thread Michael Ellerman
Recent kernels (>= v3.5-rc1) have an ioctl which allows us to retrieve the list of page sizes supported for the guest. So rework the cpu info code to use that ioctl when available, falling back to the same values we used previously if the ioctl is not present. We may also need to filter the list

[PATCH 05/10] kvm tools, powerpc: Use ARRAY_SIZE() in find_cpu_info()

2012-07-16 Thread Michael Ellerman
Signed-off-by: Michael Ellerman --- tools/kvm/powerpc/cpu_info.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/kvm/powerpc/cpu_info.c b/tools/kvm/powerpc/cpu_info.c index ad27451..7326f5b 100644 --- a/tools/kvm/powerpc/cpu_info.c +++ b/tools/kvm/powerpc/cpu_info.c

[PATCH 03/10] kvm tools: Remember page size as kvm->ram_pagesize

2012-07-16 Thread Michael Ellerman
On some powerpc platforms we need to make sure we only advertise page sizes to the guest which are <= the size of the pages backing guest RAM. So have mmap_hugetblfs() save the hugetblfs page size for us, and also teach mmap_anon_or_hugetblfs() to set the page size for anonymous mmap.

[PATCH 01/10] kvm tools: Move mmap_anon_or_hugetblfs() into util

2012-07-16 Thread Michael Ellerman
So we can use it on powerpc. Signed-off-by: Michael Ellerman --- tools/kvm/include/kvm/util.h |2 +- tools/kvm/util/util.c| 13 + tools/kvm/x86/kvm.c | 13 - 3 files changed, 14 insertions(+), 14 deletions(-) diff --git

Re: [PATCH] clk: fix compile for OF && !COMMON_CLK

2012-07-16 Thread Prashant Gaikwad
On Tuesday 17 July 2012 03:16 AM, Rob Herring wrote: From: Rob Herring With commit 766e6a4ec602d0c107 (clk: add DT clock binding support), compiling with OF&& !COMMON_CLK is broken. Thanks Rob!! This patch fixed the build failure for Tegra. Reported-by: Alexandre Pereira da Silva

Re: [PATCH] xhci: EHCI/xHCI ports switching on Intense-PC.

2012-07-16 Thread Sarah Sharp
On Mon, Jul 16, 2012 at 07:46:06PM +0300, Denis Turischev wrote: > Intense-PC is Compulab's mini-desktop with Intel Panther Point > chipset. > > Unconditional ports switching provided by function > usb_enable_xhci_ports() leads to surprising results, after shutdown > system powered-on again after

Re: [PATCH mmotm] memcg: further prevent OOM with too many dirty pages

2012-07-16 Thread Hugh Dickins
On Mon, 16 Jul 2012, Michal Hocko wrote: > On Mon 16-07-12 01:35:34, Hugh Dickins wrote: > > But even so, the test still OOMs sometimes: when originally testing > > on 3.5-rc6, it OOMed about one time in five or ten; when testing > > just now on 3.5-rc6-mm1, it OOMed on the first iteration. > > >

Re: [RFC PATCH v3 2/13] memory-hotplug : add physical memory hotplug code to acpi_memory_device_remove

2012-07-16 Thread Yasuaki Ishimatsu
Hi Wen, 2012/07/17 12:32, Wen Congyang wrote: > At 07/17/2012 11:08 AM, Yasuaki Ishimatsu Wrote: >> Hi Wen, >> >> 2012/07/17 11:32, Wen Congyang wrote: >>> At 07/17/2012 09:54 AM, Yasuaki Ishimatsu Wrote: Hi Wen, 2012/07/17 10:44, Yasuaki Ishimatsu wrote: > Hi Wen, > >

Re: [PATCH V2 1/6] mfd: tps6586x:use devm managed resources

2012-07-16 Thread Laxman Dewangan
On Tuesday 17 July 2012 01:31 AM, Mark Brown wrote: On Mon, Jul 16, 2012 at 12:21:45PM +0530, Laxman Dewangan wrote: - ret = request_threaded_irq(irq, NULL, tps6586x_irq, IRQF_ONESHOT, - "tps6586x", tps6586x); + ret =

Re: Commit 6016af "[media] v4l2: use __u32 rather than enums in ioctl() structs" breaks C++ users of V4L2

2012-07-16 Thread Rémi Denis-Courmont
Le lundi 16 juillet 2012 23:40:01 Jason L Tibbitts III, vous avez écrit : > I ran into problems compiling the program ZoneMinder on Fedora rawhide > (currently using something around 3.5rc6) which do not appear with 3.4 > kernels. With help this was traced to commit >

Re: 82571EB: Detected Hardware Unit Hang

2012-07-16 Thread Jon Mason
On Mon, Jul 16, 2012 at 9:08 AM, Henrique de Moraes Holschuh wrote: > On Mon, 16 Jul 2012, Ben Hutchings wrote: >> On Sun, 2012-07-15 at 10:35 -0300, Henrique de Moraes Holschuh wrote: >> > On Sun, 15 Jul 2012, Dave, Tushar N wrote: >> > > Somehow setting max payload to 256 from BIOS does not set

Re: 3.4.4-rt13: btrfs + xfstests 006 = BOOM.. and a bonus rt_mutex deadlock report for absolutely free!

2012-07-16 Thread Mike Galbraith
On Tue, 2012-07-17 at 00:34 -0400, Steven Rostedt wrote: > On Tue, 2012-07-17 at 00:27 -0400, Steven Rostedt wrote: > > > Actually, I was mistaken. I forgot that we defined 'cpu_chill()' as > > msleep(1) on RT, which would keep a deadlock from happening. > > Perhaps cpu_chill() isn't a good

Re: 82571EB: Detected Hardware Unit Hang

2012-07-16 Thread Jon Mason
On Mon, Jul 16, 2012 at 8:47 AM, Ben Hutchings wrote: > On Sun, 2012-07-15 at 10:35 -0300, Henrique de Moraes Holschuh wrote: >> On Sun, 15 Jul 2012, Dave, Tushar N wrote: >> > Somehow setting max payload to 256 from BIOS does not set this value for >> > all devices. I believe this is a BIOS

Re: 3.4.4-rt13: btrfs + xfstests 006 = BOOM.. and a bonus rt_mutex deadlock report for absolutely free!

2012-07-16 Thread Mike Galbraith
On Tue, 2012-07-17 at 00:27 -0400, Steven Rostedt wrote: > On Tue, 2012-07-17 at 06:18 +0200, Mike Galbraith wrote: > > > > > There's that too. But the issue I was talking about is with all trylock > > > loops. As holding an rt-mutex now disables migration, if a high priority > > > process

[patch] Rename CAP_EPOLLWAKEUP to CAL_BLOCK_SUSPEND

2012-07-16 Thread Michael Kerrisk
Rafael, As discussed in http://thread.gmane.org/gmane.linux.kernel/1249726/focus=1288990, the capability introduced in 4d7e30d98939a0340022ccd49325a3d70f7e0238 to govern EPOLLWAKEUP seems misnamed: this capability is about governing the ability to suspend the system, not using a particular API

Re: [PATCH V2 3/6] mfd: tps6586x: cache register through regmap

2012-07-16 Thread Laxman Dewangan
On Tuesday 17 July 2012 01:33 AM, Mark Brown wrote: * PGP Signed by an unknown key On Mon, Jul 16, 2012 at 12:21:47PM +0530, Laxman Dewangan wrote: To cache the interrupt mask register, use the regmap RB_TREE cache-ing mechanism in place of implementing it locally. Reviewed-by: Mark Brown

[PATCH] extcon: MAX77693: Add extcon-max77693 driver to support Maxim MAX77693 MUIC device

2012-07-16 Thread Chanwoo Choi
This patch support Maxim MAX77693 MUIC device by using EXTCON Subsystem to handle various external connector. The extcon-max77693 use regmap method for i2c communication and support irq domain instead of previous method of irq base. Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham

Re: 3.4.4-rt13: btrfs + xfstests 006 = BOOM.. and a bonus rt_mutex deadlock report for absolutely free!

2012-07-16 Thread Steven Rostedt
On Tue, 2012-07-17 at 06:18 +0200, Mike Galbraith wrote: > > > There's that too. But the issue I was talking about is with all trylock > > loops. As holding an rt-mutex now disables migration, if a high priority > > process preempts a task that holds the lock, and then the high prio task > >

[PATCH v4] USB: ehci-s5p: Add vbus setup function to the s5p ehci glue layer

2012-07-16 Thread Vivek Gautam
This patch retrieves and configures the vbus control gpio via the device tree. The suspend/resume callbacks will be later modified for vbus control. Signed-off-by: Abhilash Kesavan Signed-off-by: Vivek Gautam --- drivers/usb/host/ehci-s5p.c | 21 + 1 files changed, 21

[PATCH v4] USB: host: Add Device tree support for ohci-exynos & ehci-s5p

2012-07-16 Thread Vivek Gautam
Reworked third patch; other two got applied to 'usb-next' branch. Changes from v3: 1) Change the function name from s5p_ehci_setup_gpio() to s5p_setup_vbus_gpio(). 2) Make s5p_setup_vbus_gpio() function to return void instead of int. 3) Return void in case of failures. Vivek Gautam (1): USB:

Re: [PATCH] ftrace: using pr_fmt for better printk output

2012-07-16 Thread Steven Rostedt
On Mon, 2012-07-16 at 20:42 -0700, Joe Perches wrote: > > diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c > [] > > @@ -13,6 +13,8 @@ > > * Copyright (C) 2004 William Lee Irwin III > > */ > > > > +#define pr_fmt(fmt) "ftrace: " fmt > > #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

Re: 3.4.4-rt13: btrfs + xfstests 006 = BOOM.. and a bonus rt_mutex deadlock report for absolutely free!

2012-07-16 Thread Mike Galbraith
On Mon, 2012-07-16 at 13:03 -0400, Steven Rostedt wrote: > On Mon, 2012-07-16 at 18:36 +0200, Mike Galbraith wrote: > > > > > > Ouch, you just turned the rt_read_lock() into a spin lock. If a higher > > > > priority process preempted a lower priority process that holds the same > > > > lock, it

Re: [PATCH v2 1/1] mmc: block: Add write packing control

2012-07-16 Thread S, Venkatraman
On Mon, Jul 16, 2012 at 8:16 AM, Chris Ball wrote: > Hi, > > On Sun, Jul 15 2012, Muthu Kumar wrote: >>> I've already replied to a later version of the patch, but just to get >>> this comment in at the appropriate point of the discussion as well: >>> >>> Even though it would result in a cleaner

Re: [PATCH 02/15] Drivers: hv: Add KVP definitions for IP address injection

2012-07-16 Thread Olaf Hering
On Sat, Jul 14, K. Y. Srinivasan wrote: > diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h > index 68ed7f7..38b561a 100644 > --- a/include/linux/hyperv.h > +++ b/include/linux/hyperv.h > @@ -127,6 +127,8 @@ enum hv_kvp_exchg_op { > KVP_OP_SET, > KVP_OP_DELETE, >

答复: [PATCH 7/13] USB:support the new interfaces of Huawei Data Card devices in option driver

2012-07-16 Thread Fangxiaozhi (Franko)
Dear bjorn: "Fangxiaozhi (Franko)" writes: > From: fangxiaozhi > 1. This patch is based on the kernel of 3.5-rc6 > 2. In this patch, we add new micro for matching the series USB devices with > vendor ID and interface information. > 3. In this patch, we add new declarations into option.c to

[PATCH 2/2] staging: rts5139: rts51x_card: fixed brace coding style issue

2012-07-16 Thread Erik Jones
Fixed a coding style issue. An else statement was not on the same line as the preceding if statement's closing brace. Signed-off-by: Erik Jones --- drivers/staging/rts5139/rts51x_card.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH 1/2] staging: rts5139: rts51x_card: fixed brace coding style issue

2012-07-16 Thread Erik Jones
Fixed a coding style issue. Signed-off-by: Erik Jones --- drivers/staging/rts5139/rts51x_card.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rts5139/rts51x_card.c b/drivers/staging/rts5139/rts51x_card.c index 4192c3b..a3cb559 100644 ---

[RESEND PATCH 0] staging: rts5139: rts51x_card: coding style fix

2012-07-16 Thread Erik Jones
I am resending this patch-set because the initial version's subject didn't include [PATCH 0]. This patch-set fixes coding style issues in rts51x_card driver. Issues were found with scripts/checkpatch.pl tool. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

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

2012-07-16 Thread Stephen Rothwell
Hi Greg, After merging the tty tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/tty/tty_ioctl.c: In function 'set_sgflags': drivers/tty/tty_ioctl.c:741:9: error: request for member 'c_iflag' in something not a structure or union drivers/tty/tty_ioctl.c:742:9:

Re: [PATCH] ftrace: using pr_fmt for better printk output

2012-07-16 Thread Joe Perches
On Tue, 2012-07-17 at 09:15 +0800, Jovi Zhang wrote: > >From fe42b2f29e5968482b3129c71f81a58a0559cf04 Mon Sep 17 00:00:00 2001 [] > There don't have subsystem name output in front ot ftrace related log entry, > so use pr_fmt to enable better printk output, for output subsystem name in > log entry.

Re: staging: rts5139: rts51x_card: coding style fix

2012-07-16 Thread Erik Jones
On 07/16/2012 10:52 PM, Erik Jones wrote: This patch-set fixes coding style issues in rts51x_card driver. Issues were found with scripts/checkpatch.pl tool. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] xfs: fix comment typo of struct xfs_da_blkinfo.

2012-07-16 Thread Chen Baozi
Hi Ben, On Jul 16, 2012, at 11:10 PM, Ben Myers wrote: > Hey Chen, > > On Sat, Jul 14, 2012 at 03:38:13AM +0800, Chen Baozi wrote: >> Fix trivial typo error that has written "It" to "Is". >> >> Signed-off-by: Chen Baozi > > Reviewed-by: Ben Myers > > Thanks for the patch! I'm happy you're

[PATCH RFT] regulator: palmas: Fix calcuating selector in palmas_map_voltage_smps

2012-07-16 Thread Axel Lin
The logic of calculating selector in palmas_map_voltage_smps() does not match the logic to list voltage in palmas_list_voltage_smps(). We use below equation to calculate voltage when selector > 0: voltage = (0.49V + (selector * 0.01V)) * RANGE RANGE is either x1 or x2 So we need to take

Re: [RFC PATCH v3 2/13] memory-hotplug : add physical memory hotplug code to acpi_memory_device_remove

2012-07-16 Thread Wen Congyang
At 07/17/2012 11:08 AM, Yasuaki Ishimatsu Wrote: > Hi Wen, > > 2012/07/17 11:32, Wen Congyang wrote: >> At 07/17/2012 09:54 AM, Yasuaki Ishimatsu Wrote: >>> Hi Wen, >>> >>> 2012/07/17 10:44, Yasuaki Ishimatsu wrote: Hi Wen, 2012/07/13 12:35, Wen Congyang wrote: > At 07/09/2012

Re: [PATCH] x86: revert "x86: Fix S4 regression"

2012-07-16 Thread Takao Indoh
Hi Cong, When I tested kdump with 3.5.0-rc6 kernel, I found a problem of kdump kernel's panic in find_early_table_space(). init_memory_mapping: [mem 0x-0x36ffafff] Kernel panic - not syncing: Cannot find space for the kernel page tables Pid: 0, comm: swapper Not tainted 3.5.0-rc6 #17

Re: [patch RT 1/3] cpu/rt: Rework cpu down for PREEMPT_RT

2012-07-16 Thread Steven Rostedt
On Mon, 2012-07-16 at 08:07 +, Thomas Gleixner wrote: I know you are on vacation (hope you are enjoying yourself ;-) > --- > include/linux/sched.h |7 ++ > kernel/cpu.c | 236 > + > kernel/sched/core.c | 82

Re: Re: Re: [RFC][PATCH 2/4 v4] ftrace/x86: Add save_regs for i386 function calls

2012-07-16 Thread Masami Hiramatsu
(2012/07/17 12:05), Steven Rostedt wrote: > On Tue, 2012-07-17 at 11:08 +0900, Masami Hiramatsu wrote: > >>> I found that regs_get_register() doesn't honor this either. Thus, >>> kprobes in tracing gets this: >>> >>> # echo 'p:ftrace sys_read+4 s=%sp' > /debug/tracing/kprobe_events >>> # echo 1

Re: [RFC PATCH v3 2/13] memory-hotplug : add physical memory hotplug code to acpi_memory_device_remove

2012-07-16 Thread Yasuaki Ishimatsu
Hi Wen, 2012/07/17 11:32, Wen Congyang wrote: > At 07/17/2012 09:54 AM, Yasuaki Ishimatsu Wrote: >> Hi Wen, >> >> 2012/07/17 10:44, Yasuaki Ishimatsu wrote: >>> Hi Wen, >>> >>> 2012/07/13 12:35, Wen Congyang wrote: At 07/09/2012 06:24 PM, Yasuaki Ishimatsu Wrote: >

[PATCH 2/2] staging: rts5139: rts51x_card: fixed brace coding style issue

2012-07-16 Thread Erik Jones
Fixed a coding style issue. An else statement was not on the same line as the preceding if statement's closing brace. Signed-off-by: Erik Jones --- drivers/staging/rts5139/rts51x_card.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH 1/2] staging: rts5139: rts51x_card: fixed brace coding style issue

2012-07-16 Thread Erik Jones
Fixed a coding style issue. Signed-off-by: Erik Jones --- drivers/staging/rts5139/rts51x_card.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rts5139/rts51x_card.c b/drivers/staging/rts5139/rts51x_card.c index 4192c3b..a3cb559 100644 ---

staging: rts5139: rts51x_card: coding style fix

2012-07-16 Thread Erik Jones
This patch-set fixes coding style issues in rts51x_card driver. Issues were found with scripts/checkpatch.pl tool. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: Re: [RFC][PATCH 2/4 v4] ftrace/x86: Add save_regs for i386 function calls

2012-07-16 Thread Steven Rostedt
On Tue, 2012-07-17 at 11:08 +0900, Masami Hiramatsu wrote: > > I found that regs_get_register() doesn't honor this either. Thus, > > kprobes in tracing gets this: > > > > # echo 'p:ftrace sys_read+4 s=%sp' > /debug/tracing/kprobe_events > > # echo 1 > /debug/tracing/events/kprobes/enable > >

Re: [RFC PATCH] sched: dynamically schedule domain configuration

2012-07-16 Thread Michael Wang
Add the missing cc list. On 07/16/2012 05:16 PM, Michael Wang wrote: > From: Michael Wang > > This patch is trying to provide a way for user to dynamically change > the behaviour of load balance by setting flags of schedule domain. > > Currently it's rely on cpu cgroup and only

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

2012-07-16 Thread Li Zhong
resend it again with the email client fixed... in case it is needed This patch tries to fix a dead loop in async_synchronize_full(), which could be seen when preemption is disabled on a single cpu machine. void async_synchronize_full(void) { do {

Re: [PATCH v5 3/4] kvm: Create kvm_clear_irq()

2012-07-16 Thread Alex Williamson
On Tue, 2012-07-17 at 03:51 +0300, Michael S. Tsirkin wrote: > On Mon, Jul 16, 2012 at 02:34:03PM -0600, Alex Williamson wrote: > > This is an alternative to kvm_set_irq(,,,0) which returns the previous > > assertion state of the interrupt and does nothing if it isn't changed. > > > >

Re: [PATCH] net-next: make sock diag per-namespace (v2)

2012-07-16 Thread Pavel Emelyanov
On 07/16/2012 06:28 PM, Andrew Vagin wrote: > Before this patch sock_diag works for init_net only and dumps > information about sockets from all namespaces. > > This patch expands sock_diag for all name-spaces. > It creates a netlink kernel socket for each netns and filters > data during dumping.

RE: [PATCH] staging: comedi: adl_pci6208: use the comedi_device hw_dev to hold the pci_dev

2012-07-16 Thread H Hartley Sweeten
On Monday, July 16, 2012 7:31 PM, Greg KH wrote: > On Mon, Jul 16, 2012 at 07:26:22PM -0700, H Hartley Sweeten wrote: >> Use the 'struct device *hw_dev' variable in the comedi_device struct >> to hold the pci_dev instead of carrying it in the private data. >> >> Signed-off-by: H Hartley Sweeten

Re: [PATCH] staging: comedi: adl_pci6208: use the comedi_device hw_dev to hold the pci_dev

2012-07-16 Thread Greg KH
On Mon, Jul 16, 2012 at 07:26:22PM -0700, H Hartley Sweeten wrote: > Use the 'struct device *hw_dev' variable in the comedi_device struct > to hold the pci_dev instead of carrying it in the private data. > > Signed-off-by: H Hartley Sweeten > Cc: Ian Abbott > Cc: Greg Kroah-Hartman > --- >

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

2012-07-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the regulator tree got a conflict in include/linux/mfd/s5m87xx/s5m-core.h between commits from the mfd tree and commit c848bc8538cd ("regulator: s5m8767a: Support AP watchdog reset operation") from the regulator tree. This file was renamed (twice) in the mfd

Re: [RFC PATCH v3 2/13] memory-hotplug : add physical memory hotplug code to acpi_memory_device_remove

2012-07-16 Thread Wen Congyang
At 07/17/2012 09:54 AM, Yasuaki Ishimatsu Wrote: > Hi Wen, > > 2012/07/17 10:44, Yasuaki Ishimatsu wrote: >> Hi Wen, >> >> 2012/07/13 12:35, Wen Congyang wrote: >>> At 07/09/2012 06:24 PM, Yasuaki Ishimatsu Wrote: acpi_memory_device_remove() has been prepared to remove physical memory.

[PATCH] staging: comedi: adl_pci6208: use the comedi_device hw_dev to hold the pci_dev

2012-07-16 Thread H Hartley Sweeten
Use the 'struct device *hw_dev' variable in the comedi_device struct to hold the pci_dev instead of carrying it in the private data. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/adl_pci6208.c | 19 ++- 1 file

RE: [PATCH 01/30] staging: comedi: add pci_dev pointer to comedi_device

2012-07-16 Thread H Hartley Sweeten
On Monday, July 16, 2012 7:01 PM, Greg KH wrote: > On Mon, Jul 16, 2012 at 08:55:47PM -0500, H Hartley Sweeten wrote: >> On Monday, July 16, 2012 6:52 PM, Greg KH wrote: >>> No, the field above this, hw_dev, should be used instead here, as that's >>> what it is there for, right? >> >> The hw_dev

Re: linux-next: Tree for July 12 (v4l2-ioctl.c)

2012-07-16 Thread Ming Lei
On Thu, Jul 12, 2012 at 11:49 PM, Randy Dunlap wrote: > On 07/11/2012 11:03 PM, Stephen Rothwell wrote: > >> Hi all, >> >> Changes since 20120710: > > > > on i386 and/or x86_64, drivers/media/video/v4l2-ioctl.c has too many > errors to be listed here. This is the beginning few lines of the

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

2012-07-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the regulator tree got a conflicts in drivers/regulator/s5m8767.c between commit 63063bfbffe9 ("mfd: Modify samsung mfd driver for common api") from the mfd tree and commits 3fe3a182adfe ("regulator: Remove s5m8767a buck initialization"), df2643cfa4ad

[PATCH] firmware_map : unify argument of firmware_map_add_early/hotplug

2012-07-16 Thread Yasuaki Ishimatsu
There are two ways to create /sys/firmware/memmap/X sysfs: - firmware_map_add_early When the system starts, it is calledd from e820_reserve_resources() - firmware_map_add_hotplug When the memory is hot plugged, it is called from add_memory() But these functions are called without

[PATCH] [TRIVIAL] perf: missing struct before structure name

2012-07-16 Thread Jovi Zhang
>From 3abcb73682893ed2bde318d17f1cc3430bf70224 Mon Sep 17 00:00:00 2001 From: Jovi Zhang Date: Tue, 17 Jul 2012 17:21:56 +0800 Subject: [PATCH] [TRIVIAL] perf: missing struct before structure name when CONFIG_PERF_EVENTS disabled, there will have a compiliation error, because missing struct

RE: [PATCH 2/2] staging: comedi: remove the devpriv and thisboard macros

2012-07-16 Thread H Hartley Sweeten
On Monday, July 16, 2012 7:09 PM, Greg KH wrote: > Because I didn't take your other large patch series, this one didn't > apply :( Of course... ;-) Looking at using the hw_dev right now. I should have something tomorrow. Thanks. Hartley -- To unsubscribe from this list: send the line

Re: [PATCH v2] staging: sbe-2t3e3: Remove code that will never execute

2012-07-16 Thread Greg KH
On Thu, Jul 12, 2012 at 11:27:49PM -0300, Marcos Paulo de Souza wrote: > This patch removes all references of "if 0" blocks in the sbe-2t3e3 driver. > > Signed-off-by: Marcos Paulo de Souza > --- > drivers/staging/sbe-2t3e3/2t3e3.h|3 -- > drivers/staging/sbe-2t3e3/cpld.c | 15

Re: [PATCH] clk: fix compile for OF && !COMMON_CLK

2012-07-16 Thread Rob Herring
On 07/16/2012 07:12 PM, Mike Turquette wrote: > On 20120716-16:46, Rob Herring wrote: >> From: Rob Herring >> >> With commit 766e6a4ec602d0c107 (clk: add DT clock binding support), >> compiling with OF && !COMMON_CLK is broken. >> > &g

Re: [PATCH 2/2] staging: comedi: remove the devpriv and thisboard macros

2012-07-16 Thread Greg KH
On Thu, Jul 12, 2012 at 05:47:21PM -0700, H Hartley Sweeten wrote: > The macros 'devpriv' and 'thisboard' rely on a local variable having > a specific name and yeild pointers derived from that variable. Replace > the macros with local variables where used and use to comedi_board() > helper to get

Re: Re: [RFC][PATCH 2/4 v4] ftrace/x86: Add save_regs for i386 function calls

2012-07-16 Thread Masami Hiramatsu
(2012/07/14 3:47), Steven Rostedt wrote: > On Thu, 2012-07-12 at 21:39 +0900, Masami Hiramatsu wrote: > >> /* >> * X86_32 CPUs don't save ss and esp if the CPU is already in kernel mode >> * when it traps. The previous stack will be directly underneath the saved >> * registers, and 'sp/ss'

Re: [PATCHv4 0/4] staging: adding OMAP bandgap driver

2012-07-16 Thread Greg Kroah-Hartman
On Thu, Jul 12, 2012 at 07:02:28PM +0300, Eduardo Valentin wrote: > Greg, > > Here is again the OMAP BG driver, under staging area. > I fixed the compilation issue I didn't see, wrt implicit function > declarations. As I mentioned on other thread, my compilation test > didn't see it, that's why I

[PATCH] ARM: ftrace: Trace function entry before updating index

2012-07-16 Thread Colin Cross
Commit 722b3c74695377d11d18a52f3da08114d37f3f37 modified x86 ftrace to avoid tracing all functions called from irqs when function graph was used with a filter. Port the same fix to ARM. Cc: Steven Rostedt Signed-off-by: Colin Cross --- It looks like the same issue affects blackfin,

Re: [PATCHv4 1/4] staging: OMAP4+: thermal: introduce bandgap temperature sensor

2012-07-16 Thread Greg Kroah-Hartman
On Thu, Jul 12, 2012 at 07:02:29PM +0300, Eduardo Valentin wrote: > In the System Control Module, OMAP supplies a voltage reference > and a temperature sensor feature that are gathered in the band > gap voltage and temperature sensor (VBGAPTS) module. The band > gap provides current and voltage

Re: [PATCH 01/30] staging: comedi: add pci_dev pointer to comedi_device

2012-07-16 Thread Greg KH
On Mon, Jul 16, 2012 at 08:55:47PM -0500, H Hartley Sweeten wrote: > On Monday, July 16, 2012 6:52 PM, Greg KH wrote: > > On Wed, Jul 11, 2012 at 02:49:14PM -0700, H Hartley Sweeten wrote: > >> The pci_dev pointer in the private driver data is used by every > >> comedi pci driver. Some of them

Re: How to map ata_link to physical link and ata_port to physical port

2012-07-16 Thread Yang Bai
CC-ed Gwendal and Jeff Ping. On Mon, Jul 16, 2012 at 11:09 AM, Yang Bai wrote: > Hi hackers, > > In our internal usage, we want to map the disk in system like > sd{a,b,c} to physical disk slot. When the disk is attached to LSI HBA > card, we find that we can rely on the phy attribute of the

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

2012-07-16 Thread Paul E. McKenney
On Mon, Jul 16, 2012 at 04:01:33PM -0700, Dan Williams wrote: > On Mon, Jul 16, 2012 at 11:32 AM, Christian Kujau > wrote: > > Is this still scheduled to go into 3.5? I'm asking because -rc7 has been > > released and does not contain this fix. W/o this fix, my powerpc system > > won't boot[0]

Re: [Regression][Revert request] Excessive delay or hang during resume from system suspend due to a hrti

2012-07-16 Thread John Stultz
On 07/16/2012 10:54 AM, John Stultz wrote: Thanks for sending your config and test results. Looking at the call trace you provided, I'm not seeing anything yet, but I'll be looking over the code while running my test boxes in a reboot loop w/ your config to see if I can't figure out the

RE: [PATCH 01/30] staging: comedi: add pci_dev pointer to comedi_device

2012-07-16 Thread H Hartley Sweeten
On Monday, July 16, 2012 6:52 PM, Greg KH wrote: > On Wed, Jul 11, 2012 at 02:49:14PM -0700, H Hartley Sweeten wrote: >> The pci_dev pointer in the private driver data is used by every >> comedi pci driver. Some of them only have the need for the >> private data because of this pointer. >> >>

Re: [RFC PATCH v3 2/13] memory-hotplug : add physical memory hotplug code to acpi_memory_device_remove

2012-07-16 Thread Yasuaki Ishimatsu
Hi Wen, 2012/07/17 10:44, Yasuaki Ishimatsu wrote: > Hi Wen, > > 2012/07/13 12:35, Wen Congyang wrote: >> At 07/09/2012 06:24 PM, Yasuaki Ishimatsu Wrote: >>> acpi_memory_device_remove() has been prepared to remove physical memory. >>> But, the function only frees acpi_memory_device currentlry.

Re: [PATCH 01/30] staging: comedi: add pci_dev pointer to comedi_device

2012-07-16 Thread Greg KH
On Wed, Jul 11, 2012 at 02:49:14PM -0700, H Hartley Sweeten wrote: > The pci_dev pointer in the private driver data is used by every > comedi pci driver. Some of them only have the need for the > private data because of this pointer. > > Introduce the pci_dev pointer in the comedi_device struct

Re: [PATCH] driver core: move uevent call to driver_register

2012-07-16 Thread Greg Kroah-Hartman
On Tue, Jul 17, 2012 at 09:35:02AM +0800, Ming Lei wrote: > On Tue, Jul 3, 2012 at 1:08 AM, Sebastian Ott > wrote: > > > --- a/drivers/base/driver.c > > +++ b/drivers/base/driver.c > > @@ -187,6 +187,9 @@ int driver_register(struct device_driver > > ret = driver_add_groups(drv,

Re: [RFC PATCH v3 2/13] memory-hotplug : add physical memory hotplug code to acpi_memory_device_remove

2012-07-16 Thread Yasuaki Ishimatsu
Hi Wen, 2012/07/13 12:35, Wen Congyang wrote: > At 07/09/2012 06:24 PM, Yasuaki Ishimatsu Wrote: >> acpi_memory_device_remove() has been prepared to remove physical memory. >> But, the function only frees acpi_memory_device currentlry. >> >> The patch adds following functions into

Re: [PATCH] driver core: move uevent call to driver_register

2012-07-16 Thread Ming Lei
On Tue, Jul 3, 2012 at 1:08 AM, Sebastian Ott wrote: > --- a/drivers/base/driver.c > +++ b/drivers/base/driver.c > @@ -187,6 +187,9 @@ int driver_register(struct device_driver > ret = driver_add_groups(drv, drv->groups); > if (ret) > bus_remove_driver(drv); > + >

  1   2   3   4   5   6   7   8   9   10   >