Re: [PATCH] acerhdf: Fix fan activation with new thermal governor

2013-03-04 Thread Borislav Petkov
On Mon, Feb 25, 2013 at 01:16:08PM +0100, Borislav Petkov wrote: On Mon, Feb 25, 2013 at 11:25:26AM +0100, Borislav Petkov wrote: has anybody checked if the patch at lkml.org/lkml/2012/12/30/47 fixes the problem, without any other patch? Ok, let me try it out. Ok, doing a short test

Re: [PATCH -v3 16/23] drivers/net: rename random32() to prandom_u32()

2013-03-04 Thread Arend van Spriel
On 03/04/13 13:58, Akinobu Mita wrote: Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mitaakinobu.m...@gmail.com Acked-by: Thomas Sailert.sai...@alumni.ethz.ch Acked-by: Bing Zhaobz...@marvell.com [mwifiex] Cc: David S.

[PATCH] [media] m920x: let GCC see 'ret' is used initialized

2013-03-04 Thread Paul Bolle
Since commit 7543f344e9b06afe86b55a2620f5c11b38bd5642 ([media] m920x: factor out a m920x_write_seq() function) building m920x.o triggers this GCC warning: drivers/media/usb/dvb-usb/m920x.c: In function ‘m920x_probe’: drivers/media/usb/dvb-usb/m920x.c:91:6: warning: ‘ret’ may be used

Re: [PATCH 2/6] ima: Return INTEGRITY_FAIL if digital signature can't be verified

2013-03-04 Thread Mimi Zohar
On Thu, 2013-02-14 at 14:55 -0500, Vivek Goyal wrote: Digital signature verification happens using integrity_digsig_verify(). Curently we set integrity to FAIL for all error codes except -EOPNOTSUPP. This sounds out of line. - If appropriate kernel code is not compiled in to verify signature

Re: [PATCH] printk/tracing: rework console tracing

2013-03-04 Thread Frederic Weisbecker
2013/3/4 zhangwei(Jovi) jovi.zhang...@huawei.com: From 0a2bd3ad03fc9acd125f4eeb585a1e09027a182a Mon Sep 17 00:00:00 2001 From: zhangwei(Jovi) jovi.zhang...@huawei.com Date: Mon, 4 Mar 2013 17:45:10 +0800 Subject: [PATCH] printk/tracing: rework console tracing commit 7ff9554bb(printk: convert

Re: linux-next: consider tidying up the xen-two tree

2013-03-04 Thread Konrad Rzeszutek Wilk
On Mon, Mar 04, 2013 at 10:46:05AM +1100, Stephen Rothwell wrote: Hi Konrad, We are at the end of the merge window and the xen-two tree still looks like this: arch/x86/include/asm/xen/interface.h | 11 ++- arch/x86/include/asm/xen/page.h | 3 + arch/x86/pci/xen.c

Re: [ 093/153] ALSA: hda - hdmi: Make jacks phantom, if theyre not detectable

2013-03-04 Thread Ben Hutchings
On Mon, 2013-03-04 at 08:46 +0100, David Henningsson wrote: On 03/04/2013 06:13 AM, Ben Hutchings wrote: On Mon, 2013-03-04 at 03:38 +, Ben Hutchings wrote: 3.2-stable review patch. If anyone has any objections, please let me know. -- From: David Henningsson

LOCKDEP: 3.9-rc1: mount.nfs/4272 still has locks held!

2013-03-04 Thread Ming Lei
Hi, The below warning can be triggered each time when mount.nfs is running on 3.9-rc1. Not sure if freezable_schedule() inside rpc_wait_bit_killable should be changed to schedule() since nfs_clid_init_mutex is held in the path. [ 41.387939] = [ 41.392913]

2013 Android Microconference at Linux Plumbers: Call for Participation

2013-03-04 Thread Zach Pfeffer
There's interest in having an Android microconference at this year's Linux Plumbers Conference. I've started a Wiki at: http://wiki.linuxplumbersconf.org/2013:android I'd like to invite people to add topics to the Wiki. Please include a description of the topic you'd like to discuss. In

Re: [PATCH 12/14] MAINTAINERS: adjust for UAPI (part 2)

2013-03-04 Thread David Howells
Cesar Eduardo Barros ces...@cesarb.net wrote: F: include/linux/*aio*.h +F: include/uapi/linux/*aio*.h I wonder if we can infer things like this in the scripts rather than needing to make it explicit. David -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

[PATCH 1/1] reset nf before xmit vxlan encapsulated packet

2013-03-04 Thread Zang MingJie
We should reset nf settings bond to the skb as ipip/ipgre do. If not, the conntrack/nat info bond to the origin packet may continually redirect the packet to vxlan interface causing a routing loop. this is the scenario: VETP VXLAN Gateway /\ /---\ || |

Re: [PATCH review 49/85] sunrpc: Update svcgss xdr handle to rpsec_contect cache

2013-03-04 Thread J. Bruce Fields
On Wed, Feb 13, 2013 at 09:51:38AM -0800, Eric W. Biederman wrote: From: Eric W. Biederman ebied...@xmission.com For each received uid call make_kuid and validate the result. For each received gid call make_kgid and validate the result. Cc: J. Bruce Fields bfie...@fieldses.org Cc: Trond

Re: LOCKDEP: 3.9-rc1: mount.nfs/4272 still has locks held!

2013-03-04 Thread Myklebust, Trond
On Mon, 2013-03-04 at 21:57 +0800, Ming Lei wrote: Hi, The below warning can be triggered each time when mount.nfs is running on 3.9-rc1. Not sure if freezable_schedule() inside rpc_wait_bit_killable should be changed to schedule() since nfs_clid_init_mutex is held in the path. Cc:ing

RE: [PATCH 0/3] Drivers: hv

2013-03-04 Thread KY Srinivasan
-Original Message- From: K. Y. Srinivasan [mailto:k...@microsoft.com] Sent: Sunday, February 17, 2013 4:31 PM To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; jasow...@redhat.com Cc: KY Srinivasan

Re: [PATCH v2] hlist: drop the node parameter from iterators

2013-03-04 Thread Sasha Levin
On 03/04/2013 05:41 AM, Paul Bolle wrote: On Wed, 2013-01-30 at 21:00 -0500, Sasha Levin wrote: I'm not sure why, but the hlist for each entry iterators were conceived differently from the list ones. While the list ones are nice and elegant: list_for_each_entry(pos, head, member)

Re: [PATCH] dma: timb_dma: Fix compiler warning

2013-03-04 Thread Vinod Koul
On Tue, Feb 19, 2013 at 10:33:53PM +0200, maxin.j...@gmail.com wrote: From: Maxin B. John maxin.j...@enea.com Fix this compiler warning: warning: 'td_remove' defined but not used [-Wunused-function] Signed-off-by: Maxin B. John maxin.j...@enea.com Applied thanks ---

Re: LOCKDEP: 3.9-rc1: mount.nfs/4272 still has locks held!

2013-03-04 Thread Jeff Layton
On Mon, 4 Mar 2013 14:14:23 + Myklebust, Trond trond.mykleb...@netapp.com wrote: On Mon, 2013-03-04 at 21:57 +0800, Ming Lei wrote: Hi, The below warning can be triggered each time when mount.nfs is running on 3.9-rc1. Not sure if freezable_schedule() inside

Re: [RFC PATCH v3 4/6] uretprobes: return probe entry, prepare uretprobe

2013-03-04 Thread Anton Arapov
On Thu, Feb 28, 2013 at 09:10:24PM +0100, Oleg Nesterov wrote: On 02/28, Anton Arapov wrote: +static void prepare_uretprobe(struct uprobe *uprobe, struct pt_regs *regs) +{ + struct return_uprobe_i *ri; + struct uprobe_task *utask; + struct xol_area *area; + unsigned long

Re: [ 73/77] [hid] usb hid quirks for Masterkit MA901 usb radio

2013-03-04 Thread Ben Hutchings
On Mon, 2013-03-04 at 14:05 +0300, Alexey Klimov wrote: Hi Greg, On Fri, Mar 1, 2013 at 11:44 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: 3.8-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Klimov

Re: [PATCH] USB: storage: fix Huawei mode switching regression

2013-03-04 Thread Ben Hutchings
On Mon, 2013-03-04 at 14:19 +0100, Bjørn Mork wrote: [...] In-kernel mode switching was deprecated years ago with the development of the more user friendly userspace alternatives. The existing list of devices in usb-storage was only kept to prevent breaking already working systems. The long

Re: [PATCH 3/5] usb: musb: ux500: add otg notifier support

2013-03-04 Thread Felipe Balbi
On Thu, Feb 28, 2013 at 11:38:52AM +0100, Fabio Baltieri wrote: Add transceiver notifier event handling to the ux500 driver to set vbus on specific transceiver events. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Fabio Baltieri fabio.balti...@linaro.org ---

[RFC PATCH v4 2/6] uretprobes/x86: hijack return address

2013-03-04 Thread Anton Arapov
hijack the return address and replace it with a trampoline v2: - remove -doomed flag, kill task immediately Signed-off-by: Anton Arapov an...@redhat.com --- arch/x86/include/asm/uprobes.h | 1 + arch/x86/kernel/uprobes.c | 29 + 2 files changed, 30

[RFC PATCH v4 3/6] uretprobes: generalize xol_get_insn_slot()

2013-03-04 Thread Anton Arapov
Generalize xol_take_insn_slot() to enable more consumers of the function, e.g. trampoline implementation for return probes. The first time a uprobe with return consumer is hit for a process, a trampoline slot is obtained in the xol_area and initialized with a breakpoint instruction. This slot

[RFC PATCH v4 5/6] uretprobes: invoke return probe handlers

2013-03-04 Thread Anton Arapov
Uretprobe handlers are invoked when the trampoline is hit, on completion the trampoline is replaced with the saved return address and the uretprobe instance deleted. v4: - check, whether utask is not NULL in handle_uretprobe() ? do we want a printk() for this case? - get rid of

[RFC PATCH v4 6/6] uretprobes: implemented, thus remove -ENOSYS

2013-03-04 Thread Anton Arapov
1/6 and 6/6 patches are here to enclose return probes implementation as well as prohibit uprobe_register() routine with no consumer set. v3 changes: (the patch is introduced in v3) - remove 'TODO' as return probes implemented now Signed-off-by: Anton Arapov an...@redhat.com ---

Re: LOCKDEP: 3.9-rc1: mount.nfs/4272 still has locks held!

2013-03-04 Thread Ming Lei
On Mon, Mar 4, 2013 at 10:14 PM, Myklebust, Trond trond.mykleb...@netapp.com wrote: On Mon, 2013-03-04 at 21:57 +0800, Ming Lei wrote: Hi, The below warning can be triggered each time when mount.nfs is running on 3.9-rc1. Not sure if freezable_schedule() inside rpc_wait_bit_killable should

[RFC PATCH v4 1/6] uretprobes: preparation patch

2013-03-04 Thread Anton Arapov
1/6 and 6/6 patches are here to enclose return probes implementation as well as prohibit uprobe_register() routine with no consumer set. v3 changes: (the patch is introduced in v3) - check whether at least one of the consumer's handlers were set - a 'TODO' cap that will be removed once

[RFC PATCH v4 4/6] uretprobes: return probe entry, prepare uretprobe

2013-03-04 Thread Anton Arapov
When a uprobe with return consumer is hit, prepare_uretprobe function is invoked. It creates return_instance, hijacks return address and replaces it with the trampoline. N.B. it might be a good idea to introduce get_uprobe() to reflect put_uprobe() later, but it is not a subject of this

[PATCH v2] tpm: Add support for new Infineon I2C TPM (SLB 9645 TT 1.2 I2C)

2013-03-04 Thread Peter Huewe
This driver adds support for Infineon's new SLB 9645 TT 1.2 I2C TPMs, which supports clockstretching, combined reads and a bus speed of up to 400khz. The device also has a new device id. The driver works now also fine with device trees, so you can instantiate your device by adding: + tpm {

Re: [Resend][PATCH] ACPI / PM: Do not power manage devices in unknown initial states

2013-03-04 Thread Peter Wu
On Friday 01 February 2013 22:44:55 Rafael J. Wysocki wrote: On Friday, February 01, 2013 07:23:52 PM Peter Wu wrote: On Thursday 31 January 2013 23:32:40 Rafael J. Wysocki wrote: In general, for ACPI device power management to work, the initial power states of devices must be known

RE: [tpmdd-devel] [PATCH RESEND] char/tpm: Convert struct i2c_msg initialization to C99 format

2013-03-04 Thread Peter.Huewe
Yes, no problem. I'll create a patch without it - I'll make it this way that you can apply the conversion patch first and then the change. Thanks! Kent The new version of my patch was just sent - please apply this one first. Thanks, Peter

[RFC PATCH v4 0/6] uprobes: return probe implementation

2013-03-04 Thread Anton Arapov
Hello, RFC v4 uretprobes implementation. I'd be grateful for review. /* Oleg, this one is more quirky than previous, don't beat me. */ These patches extending uprobes by enabling tools, such as perf(trace_event), set a breakpoint on probed function's return address. v4: - get rid of

Re: [PATCH] nfsd: try nfsdcld client tracker in containers

2013-03-04 Thread Jeff Layton
On Mon, 4 Mar 2013 10:38:45 +0400 Stanislav Kinsbursky skinsbur...@parallels.com wrote: 01.03.2013 17:09, Jeff Layton пишет: On Fri, 01 Mar 2013 11:24:23 +0300 Stanislav Kinsbursky skinsbur...@parallels.com wrote: Currently, UMH and Legacy trackers are disabled in containers. But

Re: [PATCH 1/2] gfs2: fix bitmap declaration

2013-03-04 Thread Steven Whitehouse
Hi, Both patches now in the GFS2 -nmw tree. Thanks, Steve. On Sat, 2013-03-02 at 23:31 +0900, Akinobu Mita wrote: The bitmap accessed by bitops like set_bit_le and clear_bit_le must be aligned to the size of an unsigned long. But there are bitmaps that are declared as char array. This

Re: [PATCH] printk/tracing: rework console tracing

2013-03-04 Thread Steven Rostedt
On Mon, 2013-03-04 at 18:11 +0800, zhangwei(Jovi) wrote: From 0a2bd3ad03fc9acd125f4eeb585a1e09027a182a Mon Sep 17 00:00:00 2001 From: zhangwei(Jovi) jovi.zhang...@huawei.com Date: Mon, 4 Mar 2013 17:45:10 +0800 Subject: [PATCH] printk/tracing: rework console tracing commit 7ff9554bb(printk:

Re: [PATCH 0/5] at91: atmel_lcdfb: regression fixes and cpu_is removal

2013-03-04 Thread Johan Hovold
On Sat, Feb 09, 2013 at 04:47:40PM -0800, Olof Johansson wrote: On Fri, Feb 08, 2013 at 05:35:13PM +0100, Nicolas Ferre wrote: These patches fix a regression in 16-bpp support for older SOCs which use IBGR:555 rather than BGR:565 pixel layout. Use SOC-type to determine if the controller

Re: [RFC PATCH 1/5] net: implement support for low latency socket polling

2013-03-04 Thread Eric Dumazet
On Mon, 2013-03-04 at 10:43 +0200, Eliezer Tamir wrote: One could for example increment the generation id every time the RTNL is taken. or is this too much? RTNL is taken for a lot of operations, it would be better to have a finer grained increment. -- To unsubscribe from this list: send

Re: [ 34/77] xen/blkback: Dont trust the handle from the frontend.

2013-03-04 Thread Konrad Rzeszutek Wilk
On Mon, Mar 04, 2013 at 09:14:47AM +, Jan Beulich wrote: On 04.03.13 at 10:11, Paul Bolle pebo...@tiscali.nl wrote: On Mon, 2013-03-04 at 07:55 +, Jan Beulich wrote: On 03.03.13 at 11:20, Paul Bolle pebo...@tiscali.nl wrote: For one, a fix for the (indeed valid) compiler warning

Re: [PATCH RFC] usb: dwc3: Get PHY from platform specific dwc3 dt node.

2013-03-04 Thread Felipe Balbi
Hi, On Fri, Mar 01, 2013 at 08:41:29AM +0200, Felipe Balbi wrote: Moreover, SoCs having multiple dwc3 controllers will have multiple PHYs, which eventually be added using usb_add_phy_dev(), and not using usb_add_phy(). So each dwc3 controller won't be able to get PHYs by

Re: LOCKDEP: 3.9-rc1: mount.nfs/4272 still has locks held!

2013-03-04 Thread Jeff Layton
On Mon, 4 Mar 2013 22:40:02 +0800 Ming Lei ming@canonical.com wrote: On Mon, Mar 4, 2013 at 10:14 PM, Myklebust, Trond trond.mykleb...@netapp.com wrote: On Mon, 2013-03-04 at 21:57 +0800, Ming Lei wrote: Hi, The below warning can be triggered each time when mount.nfs is running on

Re: cifs: bugfix for unreclaimed writeback pages in cifs_writev_requeue()

2013-03-04 Thread Anton Altaparmakov
Hi, The below commit that is present in 3.9-rc1 is buggy. It releases the page at which point it may no longer exist and then it unlocks it afterwards. Even if you are somehow getting away with it I think it is an explosion/memory corruption waiting to happen... Best regards, Anton

Re: [PATCH] mm: Fixup the condition whether the page cache is free

2013-03-04 Thread Johannes Weiner
On Mon, Mar 04, 2013 at 09:54:26AM +0800, Li Haifeng wrote: When a page cache is to reclaim, we should to decide whether the page cache is free. IMO, the condition whether a page cache is free should be 3 in page frame reclaiming. The reason lists as below. When page is allocated, the

Re: [PATCH] mm/x86: Patch out arch_flush_lazy_mmu_mode() when running on bare metal

2013-03-04 Thread Konrad Rzeszutek Wilk
On Thu, Feb 28, 2013 at 05:55:49PM -0500, Boris Ostrovsky wrote: Invoking arch_flush_lazy_mmu_mode() results in calls to preempt_enable()/disable() which may have performance impact. Since lazy MMU is not used on bare metal we can patch away arch_flush_lazy_mmu_mode() so that it is never

[3.9-rc1] Bug in bootup code or debug code?

2013-03-04 Thread Tetsuo Handa
Tetsuo Handa wrote: Hello. I can boot linux-next-20130205 using kernel config at http://I-love.SAKURA.ne.jp/tmp/config-3.8-rc6-next-20130205 . But I get VMware's virtual machine kernel stack fault (hardware reset) as soon as kernel is loaded if CONFIG_DEBUG_VIRTUAL=y is added to the config

Re: e1000e: nic does not work properly after cold power on

2013-03-04 Thread Jiri Slaby
On 03/04/2013 11:46 AM, Mihai Donțu wrote: Hi, I apologize in advance for posting on two lists at once and for not even being subscribed to e1000-devel. Ever since upgrading to 3.8.x, I'm unable to use my wired connection (e1000e - Intel Corporation 82579LM Gigabit) immediately after

Re: [PATCH 1/1] reset nf before xmit vxlan encapsulated packet

2013-03-04 Thread Eric Dumazet
On Mon, 2013-03-04 at 22:08 +0800, Zang MingJie wrote: We should reset nf settings bond to the skb as ipip/ipgre do. If not, the conntrack/nat info bond to the origin packet may continually redirect the packet to vxlan interface causing a routing loop. this is the scenario: VETP

Re: [PATCH][v2] xhci: correctly enable interrupts

2013-03-04 Thread Alan Stern
On Mon, 4 Mar 2013, Hannes Reinecke wrote: xhci has its own interrupt enabling routine, which will try to use MSI-X/MSI if present. So the usb core shouldn't try to enable legacy interrupts; on some machines the xhci legacy IRQ setting is invalid. This version of the patch is much better

Re: [RFC PATCH 1/5] net: implement support for low latency socket polling

2013-03-04 Thread Eliezer Tamir
On 04/03/2013 16:52, Eric Dumazet wrote: On Mon, 2013-03-04 at 10:43 +0200, Eliezer Tamir wrote: One could for example increment the generation id every time the RTNL is taken. or is this too much? RTNL is taken for a lot of operations, it would be better to have a finer grained increment.

Re: [PATCH v2 06/10] usb: xhci: Enable runtime pm in xhci-plat

2013-03-04 Thread Alan Stern
On Mon, 4 Mar 2013, Vivek Gautam wrote: @@ -149,6 +150,8 @@ static int xhci_plat_probe(struct platform_device *pdev) if (ret) goto put_usb3_hcd; + pm_runtime_enable(pdev-dev); This is generally not a good idea. You shouldn't enable a device for runtime

Re: [PATCH v2 01/10] usb: phy: Add APIs for runtime power management

2013-03-04 Thread Felipe Balbi
Hi, On Sat, Mar 02, 2013 at 06:53:02PM +0530, Vivek Gautam wrote: Adding APIs to handle runtime power management on PHY devices. PHY consumers may need to wake-up/suspend PHYs when they work across autosuspend. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com ---

Re: IMA: How to manage user space signing policy with others

2013-03-04 Thread Vivek Goyal
On Sun, Mar 03, 2013 at 04:42:24PM -0500, Mimi Zohar wrote: [..] We've already spoken about needing an additional hook or moving the existing bprm hook. Can we defer the memory caching requirements for now? Sure, additional hook is not a concern. I can defer caching discussion

Re: [PATCH v12 rebased] kvm: notify host when the guest is panicked

2013-03-04 Thread Marcelo Tosatti
On Sun, Mar 03, 2013 at 03:00:22PM +0200, Gleb Natapov wrote: On Fri, Mar 01, 2013 at 09:03:12PM -0300, Marcelo Tosatti wrote: On Thu, Feb 28, 2013 at 04:54:25PM +0800, Hu Tao wrote: diff --git a/arch/x86/include/uapi/asm/kvm_para.h b/arch/x86/include/uapi/asm/kvm_para.h index

Re: LOCKDEP: 3.9-rc1: mount.nfs/4272 still has locks held!

2013-03-04 Thread Ming Lei
Hi, CC guys who introduced the lockdep change. On Mon, Mar 4, 2013 at 11:04 PM, Jeff Layton jlay...@redhat.com wrote: I don't get it -- why is it bad to hold a lock across a freeze event? At least this may deadlock another mount.nfs during freezing, :-) See detailed explanation in the

Re: [PATCH -v3 09/23] infiniband: rename random32() to prandom_u32()

2013-03-04 Thread Steve Wise
Reviewed-by: Steve Wise sw...@opengridcomputing.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: LOCKDEP: 3.9-rc1: mount.nfs/4272 still has locks held!

2013-03-04 Thread Myklebust, Trond
On Mon, 2013-03-04 at 23:33 +0800, Ming Lei wrote: Hi, CC guys who introduced the lockdep change. On Mon, Mar 4, 2013 at 11:04 PM, Jeff Layton jlay...@redhat.com wrote: I don't get it -- why is it bad to hold a lock across a freeze event? At least this may deadlock another

Re: [PATCH] PCI / ACPI: Rework ACPI device nodes lookup for the PCI bus type

2013-03-04 Thread Peter Wu
On Wednesday 23 January 2013 20:12:59 Rafael J. Wysocki wrote: On Wednesday, January 23, 2013 08:00:31 PM Peter Wu wrote: Hi, Any progress on this one? I guess it won't make into 3.8, perhaps 3.9? No, that doesn't go anywhere for now. In fact, I need to discuss that with Len. Is this

Re: [PATCH v2 06/10] usb: xhci: Enable runtime pm in xhci-plat

2013-03-04 Thread Alan Stern
On Sun, 3 Mar 2013, Felipe Balbi wrote: this is good point and, in fact, a doubt I have myself. How are we supposed to check if device is suspended ? In case it _is_ suspended we might not be able to read device's registers due to clocks possibly being gated. That's really a

Re: [PATCH] netfilter: nfnetlink: silence warning if CONFIG_PROVE_RCU isn't set

2013-03-04 Thread Pablo Neira Ayuso
On Mon, Mar 04, 2013 at 01:45:41PM +0100, Paul Bolle wrote: Since commit c14b78e7decd0d1d5add6a4604feb8609fe920a9 (netfilter: nfnetlink: add mutex per subsystem) building nefnetlink.o without CONFIG_PROVE_RCU set, triggers this GCC warning: net/netfilter/nfnetlink.c:65:22: warning:

Re: [PATCH][v2] xhci: correctly enable interrupts

2013-03-04 Thread Thomas Renninger
On Monday, March 04, 2013 10:26:40 AM Alan Stern wrote: On Mon, 4 Mar 2013, Hannes Reinecke wrote: xhci has its own interrupt enabling routine, which will try to use MSI-X/MSI if present. So the usb core shouldn't try to enable legacy interrupts; on some machines the xhci legacy IRQ setting

[PATCH][v3] xhci: correctly enable interrupts

2013-03-04 Thread Thomas Renninger
From: Hannes Reinecke h...@suse.de xhci has its own interrupt enabling routine, which will try to use MSI-X/MSI if present. So the usb core shouldn't try to enable legacy interrupts; on some machines the xhci legacy IRQ setting is invalid. v3: Be careful to not break XHCI_BROKEN_MSI workaround

Re: [RFC PATCH 1/5] net: implement support for low latency socket polling

2013-03-04 Thread Eric Dumazet
On Mon, 2013-03-04 at 17:28 +0200, Eliezer Tamir wrote: On 04/03/2013 16:52, Eric Dumazet wrote: On Mon, 2013-03-04 at 10:43 +0200, Eliezer Tamir wrote: One could for example increment the generation id every time the RTNL is taken. or is this too much? RTNL is taken for a lot of

Re: [PATCH 2/6] ima: Return INTEGRITY_FAIL if digital signature can't be verified

2013-03-04 Thread Vivek Goyal
On Mon, Mar 04, 2013 at 08:48:36AM -0500, Mimi Zohar wrote: On Thu, 2013-02-14 at 14:55 -0500, Vivek Goyal wrote: Digital signature verification happens using integrity_digsig_verify(). Curently we set integrity to FAIL for all error codes except -EOPNOTSUPP. This sounds out of line. -

Re: [PATCH 05/32] lib: devres: don't enclose pcim_*() functions in CONFIG_HAS_IOPORT

2013-03-04 Thread Thomas Petazzoni
Dear Arnd Bergmann, On Tue, 12 Feb 2013 22:36:37 +, Arnd Bergmann wrote: I have the feeling that the problem is more complex than that. My understanding is that the pcim_iomap_regions() function used by drivers/ata/libata-sff.c can perfectly be used to map memory BARs, and not

[PATCH v3] gpio: mcp23s08: convert driver to DT

2013-03-04 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de This converts the mcp23s08 driver to be able to be used with device tree. There is a spi-present-mask device tree property, that allows to use multiple of this spi chips on the same chipselect. Signed-off-by: Lars Poeschel poesc...@lemonage.de --- v3: -

MTD : Kernel oops when remounting ubifs as read/write

2013-03-04 Thread Mark Jackson
I'm encountering an oops when remounting my ubifs volume as read/write. # mount -o remount,rw / [ 89.434974] UBIFS assert failed in ubifs_write_node at 869 (pid 628) [ 89.442122] [c001b124] (unwind_backtrace+0x0/0xf0) from [c01ad7d4] (ubifs_write_node+0x180/0x1c4) [ 89.451896] [c01ad7d4]

[PATCH] drivers/crypto/nx: fix init race, alignmasks and GCM bug

2013-03-04 Thread Kent Yoder
Fixes a race on driver init with registering algorithms where the driver status flag wasn't being set before self testing started. Added the cra_alignmask field for CBC and ECB modes. Fixed a bug in GCM where AES block size was being used instead of authsize. Signed-off-by: Kent Yoder

Re: user ns: arbitrary module loading

2013-03-04 Thread Kees Cook
On Mon, Mar 4, 2013 at 12:29 AM, Mathias Krause mini...@googlemail.com wrote: On Sun, Mar 03, 2013 at 09:48:50AM -0800, Kees Cook wrote: Several subsystems already have an implicit subsystem restriction because they load with aliases. (e.g. binfmt-, net-pf=NNN, snd-card-NNN, FOO-iosched,

[PATCH] md: dm-verity: Fix to avoid a deadlock in dm-bufio

2013-03-04 Thread Paul Taysom
Changed the dm-verity prefetching to use a worker thread to avoid a deadlock in dm-bufio. If generic_make_request is called recursively, it queues the I/O request on the current-bio_list without making the I/O request and returns. The routine making the recursive call cannot wait for the I/O to

Re: [PATCH] USB: storage: fix Huawei mode switching regression

2013-03-04 Thread Bjørn Mork
Ben Hutchings b...@decadent.org.uk writes: On Mon, 2013-03-04 at 14:19 +0100, Bjørn Mork wrote: [...] In-kernel mode switching was deprecated years ago with the development of the more user friendly userspace alternatives. The existing list of devices in usb-storage was only kept to prevent

Re: [RFC PATCH v4 4/6] uretprobes: return probe entry, prepare uretprobe

2013-03-04 Thread Oleg Nesterov
On 03/04, Anton Arapov wrote: @@ -1085,6 +1093,7 @@ static int xol_add_vma(struct xol_area *area) { struct mm_struct *mm = current-mm; int ret = -EALREADY; + uprobe_opcode_t insn = UPROBE_SWBP_INSN; down_write(mm-mmap_sem); if (mm-uprobes_state.xol_area) @@

Re: [RFC PATCH v4 5/6] uretprobes: invoke return probe handlers

2013-03-04 Thread Oleg Nesterov
On 03/04, Anton Arapov wrote: +static void handle_uretprobe(struct xol_area *area, struct pt_regs *regs) +{ + struct hlist_head *head; + struct hlist_node *tmp; + struct return_uprobe_i *ri; + struct uprobe_task *utask; + unsigned long orig_ret_vaddr; + + /* TODO:

RE: [PATCH 6/6 v8] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2013-03-04 Thread Yoder Stuart-B08248
-Original Message- From: Sethi Varun-B16395 Sent: Monday, March 04, 2013 5:31 AM To: Stuart Yoder Cc: io...@lists.linux-foundation.org; linuxppc-...@lists.ozlabs.org; linux-kernel@vger.kernel.org; Wood Scott-B07421; Joerg Roedel; Yoder Stuart-B08248 Subject: RE: [PATCH 6/6 v8]

Re: [PATCH] usb: host: tegra: Reset Tegra USB controller before init

2013-03-04 Thread Stephen Warren
On 03/04/2013 12:55 AM, Venu Byravarasu wrote: Stephen Warren wrote at Thursday, February 28, 2013 11:47 PM: On 02/27/2013 11:36 PM, Venu Byravarasu wrote: To clear any configurations made by U-Boot on Tegra USB controller, reset it before init in probe. diff --git

Re: [PATCH] USB: storage: fix Huawei mode switching regression

2013-03-04 Thread Matthew Dharm
Frankly, I consider it appropriate. The question is not one of reminding me of what I said earlier it's one of pointing people in the right direction. Frankly, some of the fault for this patch lies with Greg and myself for letting it through. I had just assumed that the Huawei guys had

Re: PATCH: freezer: add fake signal clearing back when thaw task

2013-03-04 Thread Tejun Heo
Hello, On Mon, Mar 04, 2013 at 11:24:06AM +0800, Lianwei Wang wrote: Freeze/Thaw is a hot path for the Linux based mobile OS, e.g. Android. If we don't remove the pending fake signal, then the user space apps Hotness is relative. How often are we talking about? Do you have any numbers

Re: [PATCH] Revert random: Mix cputime from each thread that exits to the pool

2013-03-04 Thread Theodore Ts'o
Russ, how about this patch instead? Can you verify whether or not this fixes your issue? If so, I'll push it to Linus. - Ted From 24c598b5abd466f2bab954d0cc8c225e0d3a2a74 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o ty...@mit.edu Date: Mon, 4 Mar 2013

Re: [PATCH 1/1] mm: Export split_page().

2013-03-04 Thread Dave Hansen
On 03/03/2013 06:36 PM, KY Srinivasan wrote: I guess the most obvious question about exporting this symbol is, Why doesn't any of the other hypervisor balloon drivers need this? What is so special about hyper-v? The balloon protocol that Hyper-V has specified is designed around the

[PATCH] hlist: fix up unintentional hunks

2013-03-04 Thread Sasha Levin
I've probably fucked up when I created the big patch out of all the small chunks and pulled two hunks that I shouldn't have. Reported-by: Paul Bolle pebo...@tiscali.nl Reported-by: Thomas Schlichter thomas.schlich...@web.de Signed-off-by: Sasha Levin sasha.le...@oracle.com --- kernel/smpboot.c

Re: [PATCH][v3] xhci: correctly enable interrupts

2013-03-04 Thread Sergei Shtylyov
Hello. On 03/04/2013 07:14 PM, Thomas Renninger wrote: From: Hannes Reineckeh...@suse.de xhci has its own interrupt enabling routine, which will try to use MSI-X/MSI if present. So the usb core shouldn't try to enable legacy interrupts; on some machines the xhci legacy IRQ setting is invalid.

Re: [PATCH 1/1] gpio/vt8500: Convert to devm_ioremap_resource()

2013-03-04 Thread Tony Prisk
On Mon, 2013-03-04 at 14:39 +0530, Sachin Kamat wrote: Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages; so all explicit error messages can be removed

Re: [PATCH review 49/85] sunrpc: Update svcgss xdr handle to rpsec_contect cache

2013-03-04 Thread Eric W. Biederman
J. Bruce Fields bfie...@fieldses.org writes: krb5 mounts started failing for me as of this patch (upstream as 683428fae8c73d7d7da0fa2e0b6beb4d8df4e808), Ouch! and I believe the problem is these uid/gid_valid checks: if I recall correctly, gssd uses -1 uid/gid values to indicate

Re: i915 black screen introduced by ACPI changes

2013-03-04 Thread Chris Li
Ping, To recap, the black screen first show up after the ACPI change to use widows 8 string. The i915_setmode function did not crash. The printk output from that function seems the same as the one that is in 3.6 kernel. I also include the 3.6 and 3.7 kernel dmesg. The black screen is 100%

Re: [Xen-devel] [PATCH RFC 01/12] xen-blkback: don't store dev_bus_addr

2013-03-04 Thread Roger Pau Monné
On 28/02/13 11:58, Jan Beulich wrote: On 28.02.13 at 11:28, Roger Pau Monne roger@citrix.com wrote: dev_bus_addr returned in the grant ref map operation is the mfn of the passed page, there's no need to store it in the persistent grant entry, since we can always get it provided that we

Re: [RFC PATCH 0/5] net: low latency Ethernet device polling

2013-03-04 Thread Stephen Hemminger
On Wed, 27 Feb 2013 09:55:49 -0800 Eliezer Tamir eliezer.ta...@linux.jf.intel.com wrote: This patchset adds the ability for the socket layer code to poll directly on an Ethernet device's RX queue. This eliminates the cost of the interrupt and context switch and with proper tuning allows us to

Re: [PATCH] md: dm-verity: Fix to avoid a deadlock in dm-bufio

2013-03-04 Thread Paul Menzel
Am Montag, den 04.03.2013, 08:45 -0800 schrieb Paul Taysom: Changed the dm-verity prefetching to use a worker thread to avoid a deadlock in dm-bufio. Do you know of any bug reports about this? Searching for »dm-verity dead lock« I found [1], which seems to be the issue, right? If yes, please

[for-next][PATCH 1/6] tracing: Add a helper function for event print functions

2013-03-04 Thread Steven Rostedt
From: Li Zefan lize...@huawei.com Move duplicate code in event print functions to a helper function. This shrinks the size of the kernel by ~13K. textdata bss dec hex filename 6596137 1743966 1013867218478775119f6b7 vmlinux.o.old 6583002 1743849 10138672

[for-next][PATCH 3/6] tracing/syscalls: Annotate field-defining functions with __init

2013-03-04 Thread Steven Rostedt
From: Li Zefan lize...@huawei.com These two functions are called during kernel boot only. Link: http://lkml.kernel.org/r/51258796.7020...@huawei.com Signed-off-by: Li Zefan lize...@huawei.com Signed-off-by: Steven Rostedt rost...@goodmis.org --- kernel/trace/trace_syscalls.c |4 ++-- 1

[for-next][PATCH 0/6] tracing: memory savings and minor fixes

2013-03-04 Thread Steven Rostedt
Some more updates to the linux-next queue for 3.10. Li Zefan did a few updates to save a bit of kernel memory. I did a few minor fixes to the previous patchset I sent out. -- Steve Li Zefan (4): tracing: Add a helper function for event print functions tracing: Annotate event

[for-next][PATCH 2/6] tracing: Annotate event field-defining functions with __init

2013-03-04 Thread Steven Rostedt
From: Li Zefan lize...@huawei.com Those functions are called either during kernel boot or module init. Before: $ dmesg | grep 'Freeing unused kernel memory' Freeing unused kernel memory: 1208k freed Freeing unused kernel memory: 1360k freed Freeing unused kernel memory: 1960k freed After: $

[for-next][PATCH 6/6] tracing: Fix some section mismatch warnings

2013-03-04 Thread Steven Rostedt
From: Li Zefan lize...@huawei.com As we've added __init annotation to field-defining functions, we should add __refdata annotation to event_call variables, which reference those functions. Link: http://lkml.kernel.org/r/51343c1f.2050...@huawei.com Reported-by: Fengguang Wu

[for-next][PATCH 4/6] tracing: Add __per_cpu annotation to trace array percpu data pointer

2013-03-04 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) srost...@redhat.com With the conversion of the data array to per cpu, sparse now complains about the use of per_cpu_ptr() on the variable. But The variable is allocated with alloc_percpu() and is fine to use. But since the structure that contains the data variable

[for-next][PATCH 5/6] tracing: Fix trace events build without modules

2013-03-04 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) srost...@redhat.com The new multi-buffers added a descriptor that kept track of module events, and the directories they use, with struct ftace_module_file_ops. This is used to add a ref count to keep modules from unloading while their files are being accessed. As

Re: [PATCH 4/4] power: tps65090: Add support for tps65090-charger

2013-03-04 Thread Rhyland Klein
On 3/2/2013 7:03 PM, Anton Vorontsov wrote: Hello Rhyland, Thanks for the driver! A few comments down below... On Wed, Feb 27, 2013 at 06:07:30PM -0500, Rhyland Klein wrote: This patch adds support for the tps65090 charger driver. Would be nice to get a few more words about the hardware and

Re: [RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-03-04 Thread Rhyland Klein
On 3/2/2013 5:48 PM, Anton Vorontsov wrote: On Thu, Feb 28, 2013 at 02:48:03PM -0500, Rhyland Klein wrote: [...] Anton, David, would you be adverse to the changing of supplied_to from being a list of batteries stored in a charger to being a list of chargers stored in batteries? I wonder if we

Re: cgroup_release_agent() hung task warnings

2013-03-04 Thread Tejun Heo
(cc'ing Rusty Russell) On Mon, Mar 04, 2013 at 10:59:58AM +0800, Li Zefan wrote: On 2013/3/3 3:23, Tommi Rantala wrote: Hello, I'm seeing the following hung task warnings when fuzzing the kernel with trinity (in a qemu virtual machine, as the root user), that I have not seen before

Re: PATCH: freezer: add fake signal clearing back when thaw task

2013-03-04 Thread Oleg Nesterov
On 03/04, Lianwei Wang wrote: Freeze/Thaw is a hot path for the Linux based mobile OS, e.g. Android. If we don't remove the pending fake signal, then the user space apps or the related kernel driver has to handle such error. But if we add recalc_sigpending() we penalize the common case which

Re: [PATCH][v3] xhci: correctly enable interrupts

2013-03-04 Thread Alan Stern
On Mon, 4 Mar 2013, Sergei Shtylyov wrote: @@ -371,6 +371,7 @@ static int xhci_try_enable_msi(struct usb_hcd *hcd) return -EINVAL; } + legacy_irq: Labels shouldn't be indented by a space (unless the existing coding style has them indented already, of

Re: [PATCH 2/2] fs: Limit sys_mount to only request filesystem modules.

2013-03-04 Thread Vasily Kulikov
(cc'ed kernel-hardening) On Sun, Mar 03, 2013 at 23:51 -0800, Eric W. Biederman wrote: Modify the request_module to prefix the file system type with fs- and add aliases to all of the filesystems that can be built as modules to match. A common practice is to build all of the kernel code and

Re: [ 114/153] idr: fix top layer handling

2013-03-04 Thread Luis Henriques
On Mon, Mar 04, 2013 at 03:39:01AM +, Ben Hutchings wrote: 3.2-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo t...@kernel.org commit 326cf0f0f308933c10236280a322031f0097205d upstream. Most functions in idr fail to deal

Re: [PATCH RFC] pwm: add sysfs interface

2013-03-04 Thread Lars Poeschel
On Sunday 24 February 2013 at 01:14:48, Rob Landley wrote: On 02/19/2013 08:27:41 AM, Lars Poeschel wrote: From: Lars Poeschel poesc...@lemonage.de This adds a simple sysfs interface to the pwm subsystem. It is heavily inspired by the gpio sysfs interface. Docs! This means I have to

<    4   5   6   7   8   9   10   11   12   13   >