Re: [RFC PATCH 3/3] Convert mce_disabled

2012-10-14 Thread Naveen N. Rao
On 10/12/2012 05:26 PM, Borislav Petkov wrote: On Fri, Oct 12, 2012 at 04:20:40PM +0530, Naveen N. Rao wrote: Hi Boris, Thanks for getting to this before I could! Ah ok, I thought you wasn't interested in doing this anymore :). Sorry - just got sidetracked a bit, I'm afraid :) I had a

Re: [E1000-devel] [PATCH] RX initialization sequence fixed - enable RX after corresponding ring initialization only

2012-10-14 Thread Jeff Kirsher
On Sun, 2012-10-14 at 19:19 +0200, Dmitry Fleytman wrote: > Reported-by: Chris Webb > Reported-by: Richard Davies > > Signed-off-by: Dmitry Fleytman > --- > drivers/net/ethernet/intel/e1000/e1000_ethtool.c |9 + > drivers/net/ethernet/intel/e1000/e1000_main.c| 18 >

Re: [PATCH] cpufreq, powernow-k8: Remove usage of smp_processor_id() in preemptible code

2012-10-14 Thread Rafael J. Wysocki
> On Sunday 14 of October 2012 10:27:22 Rafael J. Wysocki wrote: > > Hi, > > > > Thanks for the patch! I'll queue it up for v3.7 when I get back home from > > the current trip (around the -rc3 time frame I suppose). > > > > In future please don't send patches directly to sta...@vger.kernel.org.

Re: [PATCH 2/3 v2] Do not use acpi_device to find pci root bridge in _init code.

2012-10-14 Thread Taku Izumi
On Fri, 12 Oct 2012 20:34:20 +0800 Tang Chen wrote: > When the kernel is being initialized, and some hardwares are not added > to system, there won't be acpi_device structs for these devices. But > acpi_is_root_bridge() depends on acpi_device struct. As a result, all > the not-added root bridge

Re: [Bug fix] nfs-client: fix nfs_inode_attrs_need_update for async read_done comes during truncating to smaller size

2012-10-14 Thread Chen Gang
于 2012年10月15日 12:52, Chen Gang 写道: >> Now, what are the conditions of your test setup? The above bug report is >> > meaningless unless it includes a description of what is being exported >> > by the server (including a proper listing of the contents >> > of /etc/exports and /proc/mounts). It

Re: [PATCH RFC 2/6 v3] gpio: Add sysfs support to block GPIO API

2012-10-14 Thread Ryan Mallon
On 13/10/12 06:11, Roland Stigge wrote: > This patch adds sysfs support to the block GPIO API. > > Signed-off-by: Roland Stigge Hi Roland, Some comments below, ~Ryan > > --- > Documentation/ABI/testing/sysfs-gpio |6 > drivers/gpio/gpiolib.c | 226 >

[PATCHv5 0/4] modem_shm: U8500 SHaRed Memory driver(SHRM)

2012-10-14 Thread Arun Murthy
In u8500 platform the communication between the APE(Application Processor) and the modem subsystem(CMT) is by means of a shared DDR. The series of patches include a protocol called ShaRed Memory(SHRM) protocol for communicating between the APE and the CMT. Interrupt generation registers in CMT and

[PATCHv5 1/4] modem_shm: Add Modem Access Framework

2012-10-14 Thread Arun Murthy
Adds Modem Access Framework, which allows for registering platform specific modem access mechanisms. The framework also exposes APIs for client drivers for getting and releasing access to modem, regardless of the underlying platform specific access mechanism. Signed-off-by: Arun Murthy ---

[PATCHv5 4/4] Doc: Add u8500_shrm document

2012-10-14 Thread Arun Murthy
Add document for u8500 shared memory(shrm)and kernel Docbook. Signed-off-by: Arun Murthy --- Documentation/DocBook/Makefile |2 +- Documentation/DocBook/shrm.tmpl| 125 Documentation/modem_shm/u8500_shrm.txt | 254 3 files

[PATCHv5 2/4] modem_shm: Register u8500 client for MAF

2012-10-14 Thread Arun Murthy
Register with Modem Access Framework(MAF) for u8500 platform. This will provide interface to enable and disable modem access and also provide the status. Signed-off-by: Arun Murthy --- drivers/modem_shm/Kconfig | 11 + drivers/modem_shm/Makefile |1 +

Re: [RFC][PATCH] perf: Add a few generic stalled-cycles events

2012-10-14 Thread Anshuman Khandual
On 10/12/2012 06:58 AM, Sukadev Bhattiprolu wrote: > > From 89cb6a25b9f714e55a379467a832ee015014ed11 Mon Sep 17 00:00:00 2001 > From: Sukadev Bhattiprolu > Date: Tue, 18 Sep 2012 10:59:01 -0700 > Subject: [PATCH] perf: Add a few generic stalled-cycles events > > The existing generic event

Re: [PATCH RFC 1/6 v3] gpio: Add a block GPIO API to gpiolib

2012-10-14 Thread Ryan Mallon
On 13/10/12 06:11, Roland Stigge wrote: > The recurring task of providing simultaneous access to GPIO lines (especially > for bit banging protocols) needs an appropriate API. > > This patch adds a kernel internal "Block GPIO" API that enables simultaneous > access to several GPIOs. This is done

[RFC PATCH 3/3] USB: forbid memory allocation with I/O during bus reset if storage interface exits

2012-10-14 Thread Ming Lei
If one storage interface exists in the device, memory allocation with GFP_KERNEL during usb_device_reset() might trigger I/O transfer on the storage interface itself and cause deadlock because the 'us->dev_mutex' is held in .pre_reset() and the storage interface can't do I/O transfer when the

[RFC PATCH 2/3] PM / Runtime: force memory allocation with no I/O during runtime_resume callbcack

2012-10-14 Thread Ming Lei
This patch applies the introduces tsk_memalloc_forbid_io() and tsk_memalloc_allow_io() to force memory allocation with no I/O during runtime_resume callback. Cc: Alan Stern Cc: Oliver Neukum Cc: Rafael J. Wysocki Signed-off-by: Ming Lei --- drivers/base/power/runtime.c | 13 +

[RFC PATCH 1/3] mm: teach mm by current context info to not do I/O during memory allocation

2012-10-14 Thread Ming Lei
This patch introduces PF_MEMALLOC_NOIO on process flag('flags' field of 'struct task_struct'), so that the flag can be set by one task to avoid doing I/O inside memory allocation in the task's context. The patch trys to solve one deadlock problem caused by block device, and the problem can be

[RFC PATCH 0/3] mm/PM/USB: force memory allocation with no io in need

2012-10-14 Thread Ming Lei
Hi, This patch set introduces one process flag and trys to fix one deadlock problem on block device during runtime resume or usb bus reset. The 1st one is the change on include/sched.h and mm/page_alloc.c. The other 2 patches are applied again PM and USB subsystem to demo how to use the

Re: [PATCH RFC 2/2] [x86] Optimize copy_page by re-arranging instruction sequence and saving register

2012-10-14 Thread George Spelvin
Just for everyone's information, here's the updated benchmark code on the same Phenom. The REP MOVSQ code is indeed much faster. vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : AMD Phenom(tm) 9850 Quad-Core Processor stepping: 3 microcode :

RE: [PATCH RFC 2/2] [x86] Optimize copy_page by re-arranging instruction sequence and saving register

2012-10-14 Thread Ma, Ling
Thanks Boris! So the patch is helpful and no impact for other/older machines, I will re-send new version according to comments. Any further comments are appreciated! Regards Ling > -Original Message- > From: Borislav Petkov [mailto:b...@alien8.de] > Sent: Sunday, October 14, 2012 6:58 PM

Re: [GIT PULL] Disintegrate UAPI for sh [ver #2]

2012-10-14 Thread Paul Mundt
On Tue, Oct 09, 2012 at 10:15:57AM +0100, David Howells wrote: > Can you merge the following branch into the sh tree please. > > This is to complete part of the UAPI disintegration for which the preparatory > patches were pulled recently. > > Now that the fixups and the asm-generic chunk have

Re: [Bug fix] nfs-client: fix nfs_inode_attrs_need_update for async read_done comes during truncating to smaller size

2012-10-14 Thread Chen Gang
于 2012年10月15日 12:27, Myklebust, Trond 写道: > nfs_size_need_update is not about performance. It is a heuristic that is > entirely about ensuring correctness when faced with the fact that most > Linux filesystems are utterly incapable of reporting with modifications > that occur within < 1 second

Re: [PATCH V2 0/3] Create sched_select_cpu() and use it in workqueues

2012-10-14 Thread Viresh Kumar
On 27 September 2012 14:34, Viresh Kumar wrote: > This is V2 of my sched_select_cpu() work. > > In order to save power, it would be useful to schedule work onto non-IDLE cpus > instead of waking up an IDLE one. > > To achieve this, we need scheduler to guide kernel frameworks (like: timers & >

Re: [Bug fix] nfs-client: fix nfs_inode_attrs_need_update for async read_done comes during truncating to smaller size

2012-10-14 Thread Myklebust, Trond
On Mon, 2012-10-15 at 10:12 +0800, Chen Gang wrote: > Hello Trond Myklebust, Jeff Layton: > > 1) Root Cause: >A) begin truncate to smaller, after async read finish starting. >B) async read done come, after truncate operation change inode size. >C) in nfs_inode_attrs_need_update,

Re: Linux 3.7-rc1 (uml uapi errors)

2012-10-14 Thread Alex Shi
> > Building um (uml) for x86_64 (defconfig) has lots of errors like: > > In file included from include/linux/irq.h:22:0, > from include/asm-generic/hardirq.h:12, > from arch/um/include/generated/asm/hardirq.h:1, > from include/linux/hardirq.h:7,

Hardcoded instruction causes certain features to fail on ARM platfrom due to endianness

2012-10-14 Thread Yangfei (Felix)
Hi all, I found that hardcoded instruction in inline asm can cause certains certain features fail to work on ARM platform due to endianness. As an example, consider the following code snippet of platform_do_lowpower function from arch/arm/mach-realview/hotplug.c: / *

[PATCH 2/2] perf tools: Remove warnings on JIT samples for srcline sort key

2012-10-14 Thread Namhyung Kim
From: Namhyung Kim When using the srcline sort key with perf report, I see many lines of warning related to JIT samples like below: addr2line: '/tmp/perf-1397.map': No such file Since it's not a ELF binary and doesn't provide such information, just use the raw ip address. Cc: David Ahern

[PATCH 1/2] perf tools: Fix segfault when using srcline sort key

2012-10-14 Thread Namhyung Kim
From: Namhyung Kim The srcline sort key is for grouping samples based on their source file and line number. It use addr2line tool to get the information but it requires dso name. It caused a segfault when a sample does not have the name by dereferencing a NULL pointer. Fix it by using raw ip

Re: [PATCH V2 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-14 Thread Viresh Kumar
On 12 October 2012 20:28, Andy Shevchenko wrote: >> + if (last_dw) { >> + if ((last_bus_id == param) && (last_dw == dw)) >> + return false; >> + } > Just came to my mind. > dw can't be NULL, can't it? > Then > if (last_dw) { > ... > } > is unneeded. Fixup

Re: [PATCH V2 3/3] ARM: SPEAr13xx: Pass DW DMAC platform data from DT

2012-10-14 Thread Viresh Kumar
On 14 October 2012 15:31, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 19:40 Sat 13 Oct , Viresh Kumar wrote: >> On 13 October 2012 19:38, Viresh Kumar wrote: >> > On 13 October 2012 17:52, Jean-Christophe PLAGNIOL-VILLARD >> > wrote: >> >> On 14:18 Sat 13 Oct , Viresh Kumar wrote: >>

Re: [PATCH REGRESSION FIX] dw_dmac: make driver's endianness configurable

2012-10-14 Thread viresh kumar
On Sun, Oct 14, 2012 at 1:24 PM, Hein Tibosch wrote: > From: Hein Tibosch > > The dw_dmac was originally developed for avr32 to be used with the Synopsys > DesignWare AHB DMA controller. Starting from 2.6.38, access to the device's > i/o > memory was done with the little-endian readl/writel

Fix memory leak in cpufreq stats.

2012-10-14 Thread Tu, Xiaobing
Fix memory leak in cpufreq stats. When system enter sleep, non-boot CPUs will be disable. Cpufreq stats sysfs is created when the CPU is up, but it is not freed when the CPU going down. This will cause memory leak. signed-off-by: xiaobing tu signed-off-by: guifang tang diff --git

linux-next: Tree for Oct 15

2012-10-14 Thread Stephen Rothwell
Hi all, The merge window has closed, feel free to add new stuff again. Changes since 201201012: The l2-mtd tree still had its build failure so I used the version from next-20121011. The tip tree gained a conflict against Linus' tree. The kvm-ppc tree gained a build failure so I used the

[PATCH] perf ui/browser: Fix off-by-two bug on the first column

2012-10-14 Thread Namhyung Kim
From: Namhyung Kim The commit 5395a04841fc ("perf hists: Separate overhead and baseline columns") makes the "Overhead" column no more the first one. So it resulted in the mis-aligned column in the normal (non-diff) output. Reported-by: Markus Trippelsdorf Cc: Jiri Olsa Signed-off-by:

[Bug fix] nfs-client: fix nfs_inode_attrs_need_update for async read_done comes during truncating to smaller size

2012-10-14 Thread Chen Gang
Hello Trond Myklebust, Jeff Layton: 1) Root Cause: A) begin truncate to smaller, after async read finish starting. B) async read done come, after truncate operation change inode size. C) in nfs_inode_attrs_need_update, nfs_size_need_update return true. i) the bigger size is the

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

2012-10-14 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in arch/arm64/include/asm/unistd32.h between commit f3d447a97f24 ("arm64: Do not include asm/unistd32.h in asm/unistd.h") from Linus' tree and commit "compat: generic compat_sys_sched_rr_get_interval implementation" from the akpm

[PATCH] docbook: networking: fix file paths for uapi headers

2012-10-14 Thread Randy Dunlap
From: Randy Dunlap Update file paths in Documentation/DocBook/networking.tmpl for uapi headers. Signed-off-by: Randy Dunlap --- Documentation/DocBook/networking.tmpl |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- lnx-37-rc1.orig/Documentation/DocBook/networking.tmpl +++

Re: Linux 3.7-rc1 (uml uapi errors)

2012-10-14 Thread Randy Dunlap
On 10/14/2012 06:15 PM, Randy Dunlap wrote: > On 10/14/2012 03:27 PM, Linus Torvalds wrote: > >> The two weeks are up, and I was merging during my trip, so no reason >> for merge window extensions. >> >> The 3.7-rc1 kernel is out there. There's a few big things worth noting here: >> >> - the

Re: [RFC][CFT][CFReview] execve and kernel_thread unification work

2012-10-14 Thread Al Viro
On Mon, Oct 01, 2012 at 10:38:09PM +0100, Al Viro wrote: > [with apologies for folks Cc'd, resent due to mis-autoexpanded l-k address > on the original posting ;-/ Mea culpa...] > > There's an interesting ongoing project around kernel_thread() and > friends, including execve() variants. I

Re: [PATCH REGRESSION FIX] dw_dmac: make driver's endianness configurable

2012-10-14 Thread Hein Tibosch
Hi Andy, On 10/15/2012 4:08 AM, Andy Shevchenko wrote: > On Sun, Oct 14, 2012 at 10:54 AM, Hein Tibosch wrote: >> From: Hein Tibosch >> >> The dw_dmac was originally developed for avr32 to be used with the Synopsys >> DesignWare AHB DMA controller. Starting from 2.6.38, access to the device's

[PATCH -mmotm] kernel: fix synchro-test.c printk format warrnings

2012-10-14 Thread Randy Dunlap
From: Randy Dunlap Fix printk format warnings in kernel/synchro-test.c. Fixes warnings on i386 and on x86_64. kernel/synchro-test.c:432:4: warning: format '%u' expects type 'unsigned int', but argument 5 has type 'long unsigned int' kernel/synchro-test.c:437:4: warning: format '%u' expects

Re: Linux 3.7-rc1 (uml uapi errors)

2012-10-14 Thread Randy Dunlap
On 10/14/2012 03:27 PM, Linus Torvalds wrote: > The two weeks are up, and I was merging during my trip, so no reason > for merge window extensions. > > The 3.7-rc1 kernel is out there. There's a few big things worth noting here: > > - the "uapi" include file cleanups. The idea is that the

Re: [ 097/120] rcu: Fix day-one dyntick-idle stall-warning bug

2012-10-14 Thread Paul E. McKenney
On Mon, Oct 15, 2012 at 12:54:13AM +0100, Ben Hutchings wrote: > On Sun, 2012-10-14 at 16:32 -0700, Paul E. McKenney wrote: > > On Fri, Oct 12, 2012 at 11:14:28PM +0100, Ben Hutchings wrote: > > > On Thu, 2012-10-11 at 10:00 +0900, Greg Kroah-Hartman wrote: > > > > 3.4-stable review patch. If

Re: [PATCH] regmap : make lock/unlock functions customizable.

2012-10-14 Thread Mark Brown
On Fri, Oct 12, 2012 at 10:24:12AM +0200, Davide Ciminaghi wrote: > On Fri, Oct 12, 2012 at 03:26:09PM +0900, Mark Brown wrote: > > On Mon, Oct 01, 2012 at 11:31:04PM +0200, cimina...@gnudd.com wrote: > > > + struct regmap *map = (struct regmap *)__map; > > > mutex_lock(>mutex); > > ...you

Re: [PATCH V2 4/5] regmap: add API to get irq_domain from regmap irq

2012-10-14 Thread Mark Brown
On Wed, Oct 10, 2012 at 10:49:04PM +0530, Laxman Dewangan wrote: > Add API regmap_irq_get_irq_domain() for getting the > irq domain from regmap irq. The irq domain created on > result of regmap_add_irq_chip() from driver. Sorry, when doing the merge down after the merge window I realised that I

[PATCH] power: remove duplicated include of abx500.h from ab8500_fb.c

2012-10-14 Thread Thiago Farina
Signed-off-by: Thiago Farina --- drivers/power/ab8500_fg.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c index 2db8cc2..1041397 100644 --- a/drivers/power/ab8500_fg.c +++ b/drivers/power/ab8500_fg.c @@

linux-next: build failure after merge of the kvm-ppc tree

2012-10-14 Thread Stephen Rothwell
Hi Alexander, Take into account that I removed the top two WIP commits from the kvm-ppc tree before the following ... After merging the kvm-ppc tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: ERROR: ".kvm_irqfd" [arch/powerpc/kvm/kvm.ko] undefined! ERROR:

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

2012-10-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in include/linux/mempolicy.h between commit 607ca46e97a1 ("UAPI: (Scripted) Disintegrate include/linux") from Linus' tree and commits 6f98f92971e9 ("mm/mpol: Make MPOL_LOCAL a real policy"), 84e3a981648d ("mm/mpol: Add MPOL_MF_LAZY

Re: [RFC v3 00/13] vfs: hot data tracking

2012-10-14 Thread Zheng Liu
On Wed, Oct 10, 2012 at 06:07:22PM +0800, zwu.ker...@gmail.com wrote: > From: Zhi Yong Wu > > NOTE: > > The patchset is currently post out mainly to make sure > it is going in the correct direction and hope to get some > helpful comments from other guys. > For more infomation, please check

Re: [RFC v3 13/13] vfs: add documentation

2012-10-14 Thread Zheng Liu
Hi Zhi Yong, [cut...] > +3. The Design > + > +These include the following parts: > + > +* Hooks in existing vfs functions to track data access frequency > + > +* New rbtrees for tracking access frequency of inodes and sub-file ^^^ s/rbtrees/radix-trees > +ranges

Re: [ 097/120] rcu: Fix day-one dyntick-idle stall-warning bug

2012-10-14 Thread Ben Hutchings
On Sun, 2012-10-14 at 16:32 -0700, Paul E. McKenney wrote: > On Fri, Oct 12, 2012 at 11:14:28PM +0100, Ben Hutchings wrote: > > On Thu, 2012-10-11 at 10:00 +0900, Greg Kroah-Hartman wrote: > > > 3.4-stable review patch. If anyone has any objections, please let me > > > know. > > > > > >

Re: [ 097/120] rcu: Fix day-one dyntick-idle stall-warning bug

2012-10-14 Thread Paul E. McKenney
On Fri, Oct 12, 2012 at 11:14:28PM +0100, Ben Hutchings wrote: > On Thu, 2012-10-11 at 10:00 +0900, Greg Kroah-Hartman wrote: > > 3.4-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: "Paul E. McKenney" > > > > commit

Re: [git pull] signals pile 3

2012-10-14 Thread Russell King - ARM Linux
On Mon, Oct 15, 2012 at 12:39:40AM +0200, Daniel Mack wrote: > Tested-by: Daniel Mack > > Many thanks for the very prompt response! Thanks Daniel. I've also tested this on my OMAP4430 board running in ARM mode, so that still works - we've covered the possibilities between us here between ARM

[Announce] sg3_utils-1.34 available

2012-10-14 Thread Douglas Gilbert
sg3_utils is a package of command line utilities for sending SCSI and some ATA commands to devices. This package targets the linux kernel (lk) 3, 2.6 and lk 2.4 series. It also has ports to FreeBSD, Tru64, Solaris, and Windows (cygwin and mingw). This version adds sg_xcopy and sg_copy_results

Re: RCU NOHZ, tsc, and clock_gettime

2012-10-14 Thread Paul E. McKenney
On Fri, Oct 12, 2012 at 02:27:01PM -0400, Prarit Bhargava wrote: > > > The effect of removing the two functions you noted (on 3.6 and earlier) > > is to prevent RCU from checking for dyntick-idle CPUs, likely incurring > > a cache miss for each CPU with interrupts disabled. If you have a lot > >

Re: [git pull] signals pile 3

2012-10-14 Thread Daniel Mack
On 15.10.2012 00:24, Russell King - ARM Linux wrote: > Okay, here's the post-mortem diagnosis. > > What's happening is as follows (I'm very certain of this.) > > We come through the usual init, and issue (see init/main.c): > > kernel_thread(kernel_init, NULL, CLONE_FS | CLONE_SIGHAND); >

Linux 3.7-rc1

2012-10-14 Thread Linus Torvalds
The two weeks are up, and I was merging during my trip, so no reason for merge window extensions. The 3.7-rc1 kernel is out there. There's a few big things worth noting here: - the "uapi" include file cleanups. The idea is that the stuff exported to user space should now be found under

Re: [git pull] signals pile 3

2012-10-14 Thread Russell King - ARM Linux
Okay, here's the post-mortem diagnosis. What's happening is as follows (I'm very certain of this.) We come through the usual init, and issue (see init/main.c): kernel_thread(kernel_init, NULL, CLONE_FS | CLONE_SIGHAND); This creates a new thread, which falls through to the

Re: [PULL] modules

2012-10-14 Thread Alan Cox
> I realize that fips_enabled is only for crazy people, but it's exactly > code like this that limits it to only crazy people. Is there some > *reason* for this? Presumably its so a typical server with reboot on panic will reboot so the attacker can hide the attempt better ;-) Alan -- To

Re: Local DoS through write heavy I/O on CFQ & Deadline

2012-10-14 Thread Dave Chinner
On Thu, Oct 11, 2012 at 01:23:32PM +0100, Alex Bligh wrote: > We have noticed significant I/O scheduling issues on both the CFQ and the > deadline scheduler where a non-root user can starve any other process of > any I/O for minutes at a time. The problem is more serious using CFQ but is > still

Re: [PULL] modules

2012-10-14 Thread Linus Torvalds
On Sun, Oct 14, 2012 at 1:11 PM, Linus Torvalds wrote: > > I've pulled and resolved the branch, and I'm going through it now, but > I'd like this verified before I push out if it all looks fine.. Hmm. So this thing makes me wonder: /* Not having a signature is only an error if we're

Re: Intel graphics drm issue?

2012-10-14 Thread Bruno Prémont
On Sun, 14 October 2012 Mark Hounschell wrote: > I gave it a try. I don't think it liked my kernel cmdline. dmesg attached. > There is a lot more in there now that nomodeset is gone and the debug is > turned on. > > # ls -al /lib/firmware/edid/lg42lb9df.edid > -rw-r--r-- 1 root root 1024 Oct

Re: [git pull] signals pile 3

2012-10-14 Thread Russell King - ARM Linux
On Sun, Oct 14, 2012 at 05:35:23PM +0200, Daniel Mack wrote: > I rebased my ARM development branch and figured that your patch 9fff2fa > ("arm: switch to saner kernel_execve() semantics") breaks the boot on my > board right after init is invoked via NFS: Ok, I'm not going to assign blame to Al's

Re: [PULL] modules

2012-10-14 Thread Linus Torvalds
On Wed, Oct 10, 2012 at 2:57 AM, Rusty Russell wrote: > > > module signing is the highlight, but it's an all-over David Howells frenzy... > > Hmm. What happened here?

Re: [PATCH REGRESSION FIX] dw_dmac: make driver's endianness configurable

2012-10-14 Thread Andy Shevchenko
On Sun, Oct 14, 2012 at 10:54 AM, Hein Tibosch wrote: > From: Hein Tibosch > > The dw_dmac was originally developed for avr32 to be used with the Synopsys > DesignWare AHB DMA controller. Starting from 2.6.38, access to the device's > i/o > memory was done with the little-endian readl/writel

Re: [PULL REQ] IXP4xx changes for Linux 3.7

2012-10-14 Thread Arnd Bergmann
On Saturday 13 October 2012, Krzysztof Halasa wrote: > Linus, > > please pull my ARM IXP4xx changes for 3.7: > > The following changes since commit 4d7127dace8cf4b05eb7c8c8531fc204fbb195f4: > > "Merge branch 'for-linus' of git://git.kernel.org/.../jmorris/linux-security" > (2012-10-13 11:29:00

Re: [revert request for commit 9fff2fa] Re: [git pull] signals pile 3

2012-10-14 Thread Al Viro
On Sun, Oct 14, 2012 at 08:24:03PM +0100, Al Viro wrote: > Russell, could you recall what those had been about? I'm not sure if that > had been oopsable that far back (again, oops scenario is userland stack > page getting swapped out before we get to start_thread(), leading to > direct read from

[PATCH] staging: lirc_serial: silence GCC warning

2012-10-14 Thread Paul Bolle
Building lirc_serial.o triggers this GCC warning: drivers/staging/media/lirc/lirc_serial.c: In function '__check_sense': drivers/staging/media/lirc/lirc_serial.c:1301:1: warning: return from incompatible pointer type [enabled by default] This can be trivially fixed by changing the

[PATCH] checkpatch: Improve network block comment style checking

2012-10-14 Thread Joe Perches
Some comment styles in net and drivers/net are flagged inappropriately. Avoid proclaiming inline comments like: int a = b; /* some comment */ and block comments like: /* * some comment / are defective. Tested with $

[PATCH 2/9] uprobes: check for single step support

2012-10-14 Thread Rabin Vincent
Check for single step support before calling user_enable_single_step(), since user_enable_single_step() just BUG()s if support does not exist. Needed by ARM. Signed-off-by: Rabin Vincent --- kernel/events/uprobes.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 6/9] uprobes: flush cache after xol write

2012-10-14 Thread Rabin Vincent
Flush the cache so that the instructions written to the XOL area are visible. Signed-off-by: Rabin Vincent --- kernel/events/uprobes.c |1 + 1 file changed, 1 insertion(+) diff --git a/kernel/events/uprobes.c b/kernel/events/uprobes.c index ca000a9..8c52f93 100644 ---

[PATCH 4/9] uprobes: allow arch access to xol slot

2012-10-14 Thread Rabin Vincent
Allow arches to customize how the instruction is filled into the xol slot. ARM will use this to insert an undefined instruction after the real instruction in order to simulate a single step of the instruction without hardware support. Signed-off-by: Rabin Vincent --- include/linux/uprobes.h |

Re: [STABLE REQUEST] add: e1000: fix lockdep splat in shutdown handler

2012-10-14 Thread Thomas Gleixner
On Thu, 11 Oct 2012, Steven Rostedt wrote: > commit 3a3847e007aae732d64d8fd1374126393e9879a3 > Author: Jesse Brandeburg > Date: Wed Jan 4 20:23:33 2012 + > > e1000: fix lockdep splat in shutdown handler as I discussed with Jesse on IRC, there is another possible deadlock lurking in

[PATCH 9/9] ARM: add uprobes support

2012-10-14 Thread Rabin Vincent
Add basic uprobes support for ARM. perf probe --exec and SystemTap's userspace probing work. The ARM kprobes test code has also been run in a userspace harness to test the uprobe instruction decoding. Caveats: - Thumb is not supported - XOL abort/trap handling is not implemented

Re: [revert request for commit 9fff2fa] Re: [git pull] signals pile 3

2012-10-14 Thread Al Viro
On Sun, Oct 14, 2012 at 06:26:40PM +0100, Al Viro wrote: > and the last 3 make no sense whatsoever. Note that on normal execve() we'll > be going through the syscall return, so the userland will see 0 in there, > no matter what do we do here. Theoretically, it might've been done for > ptrace

[PATCH 5/9] uprobes: allow arch-specific initialization

2012-10-14 Thread Rabin Vincent
Add a weak function for any architecture-specific initialization. ARM will use this to register the handlers for the undefined instructions it uses to implement uprobes. Signed-off-by: Rabin Vincent --- include/linux/uprobes.h |1 + kernel/events/uprobes.c | 10 ++ 2 files

[PATCH 8/9] ARM: support uprobe handling

2012-10-14 Thread Rabin Vincent
Extend the kprobes code to handle user-space probes. Much of the code can be reused so currently the ARM uprobes code reuses the kprobes structures. The decode tables are reused, with the modification that for those instruction that require custom decoding for uprobes, a new element is added in

[PATCH 7/9] uprobes: add arch write opcode hook

2012-10-14 Thread Rabin Vincent
Allow arches to write the opcode with a custom function. ARM needs to customize the swbp instruction depending on the condition code of the instruction it replaces. Signed-off-by: Rabin Vincent --- include/linux/uprobes.h |3 +++ kernel/events/uprobes.c |8 +++- 2 files changed, 10

[PATCH 3/9] uprobes: allow ignoring of probe hits

2012-10-14 Thread Rabin Vincent
Allow arches to decided to ignore a probe hit. ARM will use this to only call handlers if the conditions to execute a conditionally executed instruction are satisfied. Signed-off-by: Rabin Vincent --- include/linux/uprobes.h |1 + kernel/events/uprobes.c | 14 +- 2 files

[PATCH 1/9] uprobes: move function declarations out of arch

2012-10-14 Thread Rabin Vincent
It seems odd to keep the function declarations in the arch header where they will need to be copy/pasted verbatim across arches. Move them to the common header. Signed-off-by: Rabin Vincent --- arch/x86/include/asm/uprobes.h |6 -- include/linux/uprobes.h|8 2

[PATCH 5/5] snd-ice1712: Fix resume on ice1724

2012-10-14 Thread Ondrej Zary
set_pro_rate() is called from hw_params() but not from prepare(), breaking running PCM on suspend/resume. Call it from prepare() if PCM was suspended to fix the problem. Signed-off-by: Ondrej Zary --- sound/pci/ice1712/ice1724.c | 14 ++ 1 files changed, 14 insertions(+), 0

[PATCH 4/5] snd-ice1712: Add Philips PSC724 Ultimate Edge

2012-10-14 Thread Ondrej Zary
Add psc724 subdriver to snd-ice1712 that provides full support for Philips PSC724 Ultimate Edge sound cards. Signed-off-by: Ondrej Zary --- sound/pci/Kconfig |2 +- sound/pci/ice1712/Makefile |2 +- sound/pci/ice1712/ice1724.c |4 +- sound/pci/ice1712/psc724.c | 464

[PATCH 3/5] snd-ice1712: Add Wolfson Microelectronics WM8776 codec support

2012-10-14 Thread Ondrej Zary
Needed by Philips PSC724 subdriver. The code does not contain any card-specific bits so other ice17xx cards using this codec could be converted to use this generic code. Signed-off-by: Ondrej Zary --- sound/pci/ice1712/wm8776.c | 632

[PATCH 2/5] snd-ice1712: Add Wolfson Microelectronics WM8766 codec support

2012-10-14 Thread Ondrej Zary
Needed by Philips PSC724 subdriver. The code does not contain any card-specific bits so other ice17xx cards using this codec could be converted to use this generic code. Signed-off-by: Ondrej Zary --- sound/pci/ice1712/wm8766.c | 361

[PATCH 1/5] snd-ice1712: add chip_exit callback

2012-10-14 Thread Ondrej Zary
Add chip_exit callback to allow card subdrivers to do cleanup work on module removal. Needed by Philips PSC724 subdriver to cancel delayed work. Signed-off-by: Ondrej Zary --- sound/pci/ice1712/ice1712.c |8 +++- sound/pci/ice1712/ice1712.h |3 +++ sound/pci/ice1712/ice1724.c |

[PATCH 0/5] snd-ice1712: Add Philips PSC724 Ultimate Edge

2012-10-14 Thread Ondrej Zary
Hello, this patch series adds full support for Philips PSC724 Ultimate Edge sound card to snd-ice1712 driver. Unlike other snd-ice1712 subdrivers, the codec code is splitted into separate files, reusable by other ice1712 subdrivers. Working: all analog outputs (front, rear, center+lfe, headphone)

Re: [PATCH REGRESSION FIX] dw_dmac: make driver's endianness configurable

2012-10-14 Thread Arnd Bergmann
On Sunday 14 October 2012, Hein Tibosch wrote: > From: Hein Tibosch > > The dw_dmac was originally developed for avr32 to be used with the Synopsys > DesignWare AHB DMA controller. Starting from 2.6.38, access to the device's > i/o > memory was done with the little-endian readl/writel

Re: [revert request for commit 9fff2fa] Re: [git pull] signals pile 3

2012-10-14 Thread Al Viro
On Sun, Oct 14, 2012 at 08:21:53PM +0200, Daniel Mack wrote: > On 14.10.2012 19:55, Al Viro wrote: > > On Sun, Oct 14, 2012 at 06:26:40PM +0100, Al Viro wrote: > >> On Sun, Oct 14, 2012 at 06:44:12PM +0200, Daniel Mack wrote: > >>> On Oct 14, 2012 6:40 PM, "Al Viro" wrote: > > On Sun,

Re: [PATCH 0/1] (Was: [regression] boot failure on alpha, bisected)

2012-10-14 Thread Oleg Nesterov
On 10/14, Oleg Nesterov wrote: > > Again, this is fine. But why "else" ? It seems that > > if (thread_flags & _TIF_SIGPENDING) { > do_signal(regs, r0, r19); > r0 = 0; > } > >

Re: [PATCH 0/1] (Was: [regression] boot failure on alpha, bisected)

2012-10-14 Thread Oleg Nesterov
On 10/12, Al Viro wrote: > > On Fri, Oct 12, 2012 at 06:03:37PM +0200, Oleg Nesterov wrote: > > On 10/06, Thorsten Kranzkowski wrote: > > > > > > After upgrading from v3.5-rc7 to current git my system oopses and locks up > > > early in the boot sequence. > > > > OK, I am sending the patch which I

Re: [revert request for commit 9fff2fa] Re: [git pull] signals pile 3

2012-10-14 Thread Daniel Mack
On 14.10.2012 19:55, Al Viro wrote: > On Sun, Oct 14, 2012 at 06:26:40PM +0100, Al Viro wrote: >> On Sun, Oct 14, 2012 at 06:44:12PM +0200, Daniel Mack wrote: >>> On Oct 14, 2012 6:40 PM, "Al Viro" wrote: On Sun, Oct 14, 2012 at 05:35:23PM +0200, Daniel Mack wrote: > I rebased

Re: Intel graphics drm issue?

2012-10-14 Thread Bruno Prémont
On Sun, 14 October 2012 Mark Hounschell wrote: > >> And could I ask if this simple pgm might work to build the file I need? > > > > It looks fine. You can also check the output with hexdump just to > > make sure it looks sane. > > Did that and the data looks swapped compared to the array

[PATCH] lib: decompress_unlzo: Change include file name

2012-10-14 Thread Fabio Estevam
From: Fabio Estevam Commit 7c979cebc (lib/lzo: Rename lzo1x_decompress.c to lzo1x_decompress_safe.c) renamed lzo1x_decompress.c file, but missed to update lib/decompress_unlzo.c, which breaks imx_v6_v7_defconfig build: arch/arm/boot/compressed/../../../../lib/decompress_unlzo.c:34:34: fatal

Re: Intel graphics drm issue?

2012-10-14 Thread Mark Hounschell
On 10/14/2012 01:22 PM, Bruno Prémont wrote: Hi Mark, On Sun, 14 October 2012 Mark Hounschell wrote: I've taken the EDID data from that service manual. I've looked at the EDID-Howto for how to specify the connector but all I see is: "An EDID data set will only be used for a particular

new "Cputime accounting" kconfig prompt not "make oldconfig" friendly

2012-10-14 Thread Stefan Richter
Hi Frederic, commit fdf9c356502a "cputime: Make finegrained irqtime accounting generally available" introduced a new kconfig prompt. From the diff I can see that you also added help texts for two new options (and an old option already had its own help text). But alas "make oldconfig" is unable

Re: [revert request for commit 9fff2fa] Re: [git pull] signals pile 3

2012-10-14 Thread Al Viro
On Sun, Oct 14, 2012 at 06:26:40PM +0100, Al Viro wrote: > On Sun, Oct 14, 2012 at 06:44:12PM +0200, Daniel Mack wrote: > > On Oct 14, 2012 6:40 PM, "Al Viro" wrote: > > > > > > On Sun, Oct 14, 2012 at 05:35:23PM +0200, Daniel Mack wrote: > > > > > > > I rebased my ARM development branch and

Re: [revert request for commit 9fff2fa] Re: [git pull] signals pile 3

2012-10-14 Thread Al Viro
On Sun, Oct 14, 2012 at 06:44:12PM +0200, Daniel Mack wrote: > On Oct 14, 2012 6:40 PM, "Al Viro" wrote: > > > > On Sun, Oct 14, 2012 at 05:35:23PM +0200, Daniel Mack wrote: > > > > > I rebased my ARM development branch and figured that your patch 9fff2fa > > > ("arm: switch to saner

Re: Intel graphics drm issue?

2012-10-14 Thread Bruno Prémont
Hi Mark, On Sun, 14 October 2012 Mark Hounschell wrote: > I've taken the EDID data from that service manual. I've looked at the > EDID-Howto for how to specify the connector but all I see is: > > "An EDID data set will only be used for a particular connector, > if its name and a colon are

[PATCH] RX initialization sequence fixed - enable RX after corresponding ring initialization only

2012-10-14 Thread Dmitry Fleytman
Reported-by: Chris Webb Reported-by: Richard Davies Signed-off-by: Dmitry Fleytman --- drivers/net/ethernet/intel/e1000/e1000_ethtool.c |9 + drivers/net/ethernet/intel/e1000/e1000_main.c| 18 -- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git

[PATCH] e1000 driver RX race condition fixed

2012-10-14 Thread Dmitry Fleytman
There is a race condition in e1000 driver. It enables HW receive before RX rings initalization. In case of specific timing this may lead to host memory corruption due to DMA write to arbitrary memory location. Following patch fixes this issue by reordering initialization steps. Other Intel

Re: [PATCH 21/25] tile: Use Kbuild infrastructure for kvm_para.h

2012-10-14 Thread Chris Metcalf
On 10/12/2012 10:26 PM, Steven Rostedt wrote: > From: Steven Rostedt > > All the headers but kvm_para.h use the Kbuild infrastructure to > get to the asm-generic headers. > > Cc: linux-kbu...@vger.kernel.org > Cc: Chris Metcalf > Signed-off-by: Steven Rostedt > --- >

Re: Intel graphics drm issue?

2012-10-14 Thread Mark Hounschell
On 10/14/2012 07:03 AM, Bruno Prémont wrote: On Sun, 14 October 2012 Mark Hounschell wrote: On 10/14/2012 04:41 AM, Bruno Prémont wrote: Your best solution is probably to write an EDID blob (or reuse one you find somewhere) that provides at least one mode matching your TV's native mode

  1   2   3   4   5   6   7   >