Re: [Update][PATCH] ACPI / video / i915: Remove ACPI backlight if firmware expects Windows 8

2013-07-16 Thread Matthew Garrett
On Tue, 2013-07-16 at 17:32 +0400, Igor Gnatenko wrote: Hmm. I found regression in user-space. In GNOME (maybe and other DEs) we no longer see switch status of backlight. Yeah, I can duplicate that. Rafael, we have to call acpi_video_init_brightness() even if we're not going to initialise the

Re: [PATCH v3 6/7] USB: ohci-at91: add usb_clk for transition to common clk framework

2013-07-16 Thread boris brezillon
Hello Alan, On 16/07/2013 18:48, Alan Stern wrote: On Tue, 16 Jul 2013, Boris BREZILLON wrote: The AT91 PMC (Power Management Controller) provides an USB clock used by USB Full Speed host (ohci) and USB Full Speed device (udc). The usb drivers (ohci and udc) must configure this clock to

Re: [PATCH v3 2/7] mmc: atmel-mci: prepare clk before calling enable

2013-07-16 Thread Russell King - ARM Linux
On Tue, Jul 16, 2013 at 05:06:48PM +0200, Boris BREZILLON wrote: @@ -389,9 +391,13 @@ static int atmci_regs_show(struct seq_file *s, void *v) * consistent. */ spin_lock_bh(host-lock); - clk_enable(host-mck); + ret = clk_prepare_enable(host-mck); + if (ret) {

Re: [ATTEND] How to act on LKML

2013-07-16 Thread Steven Rostedt
On Tue, 2013-07-16 at 17:58 +0100, Stefano Stabellini wrote: I think there is a way to get the point across without cursing. One can be clear and decisive without bursting. It's easy to mistake cursing on the quality of the code for a personal attack. What's wrong with cursing? It's just

Re: [PATCH] um/configs: don't use devtmpfs in defconfig

2013-07-16 Thread Ramkumar Ramachandra
Richard Weinberger wrote: Why does this confuse systemd? systemd has also a dependency on devtmpfs. See getty@.service, which is a dependency of getty.target: # On systems without virtual consoles, don't start any getty. (Note # that serial gettys are covered by serial-getty@.service, not

[ANNOUNCE] iproute2 3.10

2013-07-16 Thread Stephen Hemminger
This is update for iproute2 tools for 3.10 kernel. In addition to the usual array of bug fixes and documentation changes, this release also fixes some important bugs relating to rate control at higher speeds. The 3.10 kernel added a number of new networking features as well for VXLAN and

Re: [PATCH 3/7] alpha: Modernize lib/mpi/longlong.h

2013-07-16 Thread Joe Perches
On Tue, 2013-07-16 at 10:04 -0700, Richard Henderson wrote: Remove the compile warning for __udiv_qrnnd not having a prototype. Use the __builtin_alpha_umulh introduced in gcc 4.0. Isn't gcc 3.x still a supported compiler? diff --git a/lib/mpi/longlong.h b/lib/mpi/longlong.h [] @@ -151,15

[PATCH RFC v4] media: OF: add sync-on-green-active property

2013-07-16 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch adds 'sync-on-green-active' property as part of endpoint property. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- Changes for v4: 1: Fixed review comments pointed by Sylwester. Changes for v3: 1: Fixed review

Re: [PATCH] um/configs: don't use devtmpfs in defconfig

2013-07-16 Thread Ramkumar Ramachandra
Ramkumar Ramachandra wrote: No, systemd does not have a hard dependency on devtmpfs. Wait, let me double-check that. -- 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

[PATCH 1/2] uio: provide vm access to UIO_MEM_PHYS maps

2013-07-16 Thread Uwe Kleine-König
This makes it possible to let gdb access mappings of the process that is being debugged. uio_mmap_logical was moved and uio_vm_ops renamed to group related code and differentiate to new stuff. Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de --- drivers/uio/uio.c | 24

[PATCH 2/2] uio: drop unused vma_count member in uio_device struct

2013-07-16 Thread Uwe Kleine-König
vma_count is used write-only and so fails to be useful. So remove it. Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de --- drivers/uio/uio.c | 16 1 file changed, 16 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index 159cfb3..af24bda 100644 ---

[PATCH 0/2] Resend of two uio patches

2013-07-16 Thread Uwe Kleine-König
Hello, these two patches were already sent back in April but fell through the cracks. They are not really related, but send in a series because they fail to apply in reverse order. Patch 1 is useful for debugging with gdb, patch 2 is a cleanup. Note that patch 2 is only compile-tested because I

Re: [PATCH 4/7] perf completion: modernize style

2013-07-16 Thread Ramkumar Ramachandra
Arnaldo Carvalho de Melo wrote: Huh? Why would this be more modern, if both are equivalent, I think applying the same rules as we have for C code applies here. It's the prevalent style in git.git, and I figured that it was picked up from linux.git but didn't check. Drop this part otherwise.

Re: [PATCH] um/configs: don't use devtmpfs in defconfig

2013-07-16 Thread Richard Weinberger
Am 16.07.2013 19:20, schrieb Ramkumar Ramachandra: Ramkumar Ramachandra wrote: No, systemd does not have a hard dependency on devtmpfs. Wait, let me double-check that. BTW: I'll not apply any patch to the kernel if the issue can easily fixed in user space, that's the major reason for my

Re: [PATCH v7 0/5] kdump: Allow ELF header creation in new kernel

2013-07-16 Thread Vivek Goyal
On Tue, Jul 16, 2013 at 06:18:10PM +0200, Michael Holzheu wrote: Hello Andrew, Here a new kdump patch series that we have discussed with Vivek and Hatayama during the last months. Besides of the feature described below, this patch series also fixes a regression on s390 that was introduced

Re: [PATCH 4/7] perf completion: modernize style

2013-07-16 Thread Arnaldo Carvalho de Melo
Em Thu, Jul 04, 2013 at 06:11:28PM +0530, Ramkumar Ramachandra escreveu: Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- tools/perf/bash_completion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/bash_completion b/tools/perf/bash_completion

Re: v3.11-rc1 USB regressions

2013-07-16 Thread Aaro Koskinen
Hi, On Tue, Jul 16, 2013 at 08:33:06AM +0200, Daniel Mack wrote: fe4cb0912f8e737f8e4b8b38b9e692f8062f5423 usb: musb: gadget: remove hcd initialization (Reverting this fixes error cdc_ether: probe of 4-1:1.0 failed with error -110 seen on the host side.) Which role does

Re: arm: Only load TLS values when needed

2013-07-16 Thread Jonathan Austin
Hi André, On 15/07/13 18:14, André Hentschel wrote: From: André Hentschel n...@dawncrow.de This patch intents to reduce loading instructions when the resulting value is not used. It's a follow up on a4780adeefd042482f624f5e0d577bf9cdcbb760 Have you done any benchmarking to see that this

Re: [PATCH] um/configs: don't use devtmpfs in defconfig

2013-07-16 Thread Ramkumar Ramachandra
Ramkumar Ramachandra wrote: Ramkumar Ramachandra wrote: No, systemd does not have a hard dependency on devtmpfs. Wait, let me double-check that. Sorry about the stupidity; devtmpfs is very much a hard dependency. I just realized that CONFIG_VT is on, and can't be turned off (!). See

Re: [PATCH] Documentation: update references to v2.6.x in development-process

2013-07-16 Thread Jonathan Corbet
On Mon, 15 Jul 2013 19:34:44 -0400 Paul Gortmaker paul.gortma...@windriver.com wrote: The last mainline release of a v2.6.x kernel was back in May 2011. Here we update references to be 3.x based, which also means updating some dates and statistics. Ccing the author of the document never hurts

Re: [PATCH] um/configs: don't use devtmpfs in defconfig

2013-07-16 Thread Richard Weinberger
Am 16.07.2013 19:31, schrieb Ramkumar Ramachandra: Ramkumar Ramachandra wrote: Ramkumar Ramachandra wrote: No, systemd does not have a hard dependency on devtmpfs. Wait, let me double-check that. Sorry about the stupidity; devtmpfs is very much a hard dependency. I just realized that

[RFC PATCH 08/10] alpha: Always enable the rpcc clocksource for single processor

2013-07-16 Thread Richard Henderson
Don't depend on SMP, just check the number of processors online. This allows a single distribution kernel to use the clocksource when run on a single processor machine. Signed-off-by: Richard Henderson r...@twiddle.net --- arch/alpha/kernel/time.c | 58

[RFC PATCH 04/10] alpha: Allow HZ to be configured

2013-07-16 Thread Richard Henderson
With the 1024Hz default, we spend 50% of QEMU emulation processing timer interrupts. Signed-off-by: Richard Henderson r...@twiddle.net --- arch/alpha/Kconfig| 36 ++-- arch/alpha/kernel/setup.c | 10 -- arch/alpha/kernel/time.c | 24

[RFC PATCH 10/10] alpha: Use qemu+cserve provided high-res clock and alarm.

2013-07-16 Thread Richard Henderson
QEMU provides a high-resolution timer and alarm; use this for a clock source and clock event source when available. Cc: Thomas Gleixner t...@linutronix.de Signed-off-by: Richard Henderson r...@twiddle.net --- arch/alpha/include/asm/pal.h | 14 ++ arch/alpha/kernel/irq_alpha.c | 2 +-

[RFC PATCH 06/10] alpha: Reorganize rtc handling

2013-07-16 Thread Richard Henderson
Discontinue use of GENERIC_CMOS_UPDATE; rely on the RTC subsystem. The marvel platform requires that the rtc only be touched from the boot cpu. This had been partially implemented with hooks for get/set_rtc_time, but read/update_persistent_clock were not handled. Fixed by adding an rtc_set_mmss

[RFC PATCH 02/10] alpha: Notice if we're being run under QEMU

2013-07-16 Thread Richard Henderson
When building a generic kernel, do a run-time check on the serial number, like we do for MILO. When building a custom kernel, make this a configure-time check. Signed-off-by: Richard Henderson r...@twiddle.net --- arch/alpha/Kconfig | 14 ++

[RFC PATCH 00/10] Alpha support for QEMU

2013-07-16 Thread Richard Henderson
While there are 3 patches in this series that are specifically related to QEMU, there are 3 more that significantly re-architect generic parts of arch/alpha that hopefully bring them more into line with current linux-kernel design, and 2 more that seem like they ought to work generically, but

[RFC PATCH 05/10] alpha: Primitive support for CPU power down.

2013-07-16 Thread Richard Henderson
Use WTINT to wait for the next interrupt. Squash the WTINT call if the PALcode doesn't support it (e.g. MILO). No attempt is yet made to skip clock ticks during normal scheduling in order to stay in power down mode longer. Signed-off-by: Richard Henderson r...@twiddle.net ---

[RFC PATCH 09/10] alpha: Switch to GENERIC_CLOCKEVENTS

2013-07-16 Thread Richard Henderson
This allows us to get rid of some hacky code for SMP. Get rid of some cycle counter hackery that's now handled by generic code via clocksource + clock_event_device objects. Cc: Thomas Gleixner t...@linutronix.de Signed-off-by: Richard Henderson r...@twiddle.net --- arch/alpha/Kconfig

[RFC PATCH 03/10] alpha: Force the user-visible HZ to a constant 1024.

2013-07-16 Thread Richard Henderson
This kernel/user split was done long ago for other architectures. Signed-off-by: Richard Henderson r...@twiddle.net --- arch/alpha/include/asm/param.h | 8 +--- arch/alpha/include/uapi/asm/param.h | 7 --- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git

[RFC PATCH 01/10] alpha: Don't if-out dp264_device_interrupt.

2013-07-16 Thread Richard Henderson
The code as written is correct, and will be used by QEMU emulation. Signed-off-by: Richard Henderson r...@twiddle.net --- arch/alpha/kernel/sys_dp264.c | 8 1 file changed, 8 deletions(-) diff --git a/arch/alpha/kernel/sys_dp264.c b/arch/alpha/kernel/sys_dp264.c index 5bf401f..6c35159

Re: [PATCH] um/configs: don't use devtmpfs in defconfig

2013-07-16 Thread Richard Weinberger
Am 16.07.2013 19:36, schrieb Ramkumar Ramachandra: Richard Weinberger wrote: BTW: I'll not apply any patch to the kernel if the issue can easily fixed in user space, that's the major reason for my NAK. I was just asking for good defaults; I want um Linux to work out-of-the-box. There's

Re: [RFC][PATCH 0/9] sched: Power scheduler design proposal

2013-07-16 Thread Peter Zijlstra
On Mon, Jul 15, 2013 at 03:52:32PM -0700, Arjan van de Ven wrote: yeah ondemand does this, but ondemand is actually a pretty bad governor. not because of the sampling, but because of its algorithm. Is it good for any class of hardware still out there? Or should the thing be shot in the head?

[RFC PATCH 07/10] alpha: Add an rtc driver for the qemu wallclock PALcall

2013-07-16 Thread Richard Henderson
In the normal case, one wants the guest to follow the host time. QEMU has a cserve call that retrieves the wall clock. Signed-off-by: Richard Henderson r...@twiddle.net --- arch/alpha/include/asm/pal.h | 56 ++ arch/alpha/kernel/Makefile | 3 +-

Re: [PATCH] um/configs: don't use devtmpfs in defconfig

2013-07-16 Thread Al Viro
On Tue, Jul 16, 2013 at 10:36:25PM +0530, Ramkumar Ramachandra wrote: Richard Weinberger wrote: If you don't want devtmpfs, just disable it in your config. I don't understand: is this not a good default? Why is creating bogus devices, confusing systemd, and making um Linux hard to boot

Re: [fuse-devel] [PATCH] fuse: fix occasional dentry leak when readdirplus is used

2013-07-16 Thread Brian Foster
On 07/16/2013 12:14 PM, Miklos Szeredi wrote: On Tue, Jul 16, 2013 at 09:15:16AM -0400, Brian Foster wrote: I'm not sure why it would need to have a valid inode. A dentry with a NULL inode is valid, no? It is valid, yes. It's called a negative dentry, which caches the information that

Re: [PATCH] um/configs: don't use devtmpfs in defconfig

2013-07-16 Thread Ramkumar Ramachandra
Richard Weinberger wrote: BTW: I'll not apply any patch to the kernel if the issue can easily fixed in user space, that's the major reason for my NAK. I was just asking for good defaults; I want um Linux to work out-of-the-box. There's really no point in creating bogus devices in /dev, and

Re: Performance regression from switching lock to rw-sem for anon-vma tree

2013-07-16 Thread Tim Chen
On Tue, 2013-07-02 at 08:45 +0200, Ingo Molnar wrote: * Tim Chen tim.c.c...@linux.intel.com wrote: On Sat, 2013-06-29 at 09:12 +0200, Ingo Molnar wrote: * Tim Chen tim.c.c...@linux.intel.com wrote: If my analysis is correct so far then it might be useful to add two more

Re: [PATCH 0/2] Resend of two uio patches

2013-07-16 Thread Greg Kroah-Hartman
On Tue, Jul 16, 2013 at 07:21:02PM +0200, Uwe Kleine-König wrote: Hello, these two patches were already sent back in April but fell through the cracks. They are not really related, but send in a series because they fail to apply in reverse order. Patch 1 is useful for debugging with gdb,

RE: [Ksummit-2013-discuss] When to push bug fixes to mainline

2013-07-16 Thread Luck, Tony
Maybe some QA period before the release might help, but who would care? (Especially under the situation where everybody has own x.y stable tree?) Hopefully people tracking the upstream stable trees would be throwing any pre-release stuff into their QA processes before it was officially

[PATCH] Thermal: Fix lockup of cpu_down()

2013-07-16 Thread Steven Rostedt
Commit f1a18a105 Thermal: CPU Package temperature thermal had code that did a get_online_cpus(), run a loop and then do a put_online_cpus(). The problem is that the loop had an error exit that would skip the put_online_cpus() part. In the error exit part of the function, it also did a

Re: [PATCH -next 2/2] kbuild: fix for updated LZ4 tool with the new streaming format

2013-07-16 Thread Sam Ravnborg
On Tue, Jul 16, 2013 at 10:08:07AM +0200, Yann E. MORIN wrote: Andrew, All, On Tuesday 16 July 2013 09:56:11 Andrew Morton wrote: On Tue, 16 Jul 2013 00:47:27 -0700 Andrew Morton a...@linux-foundation.org wrote: On Mon, 15 Jul 2013 15:08:20 -0700 H. Peter Anvin h...@zytor.com

[Regression][v3.10][v3.11] net: Kill link between CSUM and SG features.

2013-07-16 Thread Joseph Salisbury
Hi Pravin, A bug was opened against the Ubuntu kernel[0]. After a kernel bisect, it was found that reverting the following commit resolved this bug: commit ec5f061564238892005257c83565a0b58ec79295 Author: Pravin B Shelar pshe...@nicira.com Date: Thu Mar 7 09:28:01 2013 + net: Kill

Re: [ATTEND] How to act on LKML (was: [ 00/19] 3.10.1-stable review)

2013-07-16 Thread Guenter Roeck
On Tue, Jul 16, 2013 at 12:32:53AM -0700, David Lang wrote: On Mon, 15 Jul 2013, Sarah Sharp wrote: People do need to be called out on their mistakes. In companies, if you don't fire managers who do the wrong thing soon enough, it can ruin the company. In kernel development, you have a very

Re: [PATCH] Thermal: Fix lockup of cpu_down()

2013-07-16 Thread Srinivas Pandruvada
Thanks. How did you trigger this error condition? Is it a code review or you have some way to reproduce? Regards, Srinivas On 07/16/2013 11:02 AM, Steven Rostedt wrote: Commit f1a18a105 Thermal: CPU Package temperature thermal had code that did a get_online_cpus(), run a loop and then do a

Re: [PATCH] um/configs: don't use devtmpfs in defconfig

2013-07-16 Thread Ramkumar Ramachandra
Al Viro wrote: As for the devices, they are *not* bogus. RTFM, already. Documentation/virtual/uml/UserModeLinux-HOWTO.txt, if you can't be bothered to say git grep UML Documentation/ and find where it on your own. The relevant section is called Setting up serial lines and consoles.

Re: [PATCH RFC V10 16/18] kvm hypervisor : Simplify kvm_for_each_vcpu with kvm_irq_delivery_to_apic

2013-07-16 Thread Raghavendra K T
On 07/15/2013 09:16 PM, Gleb Natapov wrote: On Mon, Jul 15, 2013 at 09:06:13PM +0530, Raghavendra K T wrote: On 07/14/2013 06:54 PM, Gleb Natapov wrote: On Mon, Jun 24, 2013 at 06:13:53PM +0530, Raghavendra K T wrote: Simplify kvm_for_each_vcpu with kvm_irq_delivery_to_apic From: Raghavendra

Re: [ 00/19] 3.10.1-stable review

2013-07-16 Thread Willy Tarreau
Hi Darren, On Tue, Jul 16, 2013 at 08:40:15AM -0700, Darren Hart wrote: On Tue, 2013-07-16 at 08:13 +0200, Willy Tarreau wrote: It can seem counter-producting first (as Sarah thinks) but I think that the competent people find their way in this simply because they're backed up by other

Re: [PATCH] um/configs: don't use devtmpfs in defconfig

2013-07-16 Thread Richard Weinberger
Am 16.07.2013 20:12, schrieb Ramkumar Ramachandra: Al Viro wrote: As for the devices, they are *not* bogus. RTFM, already. Documentation/virtual/uml/UserModeLinux-HOWTO.txt, if you can't be bothered to say git grep UML Documentation/ and find where it on your own. The relevant section is

Re: driver model, duplicate names question

2013-07-16 Thread Srinivas Pandruvada
Thanks for the quick response. Here I am creating virtual devices using device_register. I have attached a simple test program, which will give error. This is my intention: $ cd /sys/class/test_class $ ls power_zone_cpu_package_0 power_zone_cpu_package_1 $ cd power_zone_cpu_package_0 $ ls

Re: [BUG] 3.10 regression: hang on suspend

2013-07-16 Thread Ortwin Glück
Without NetworkManager, no X, on console and with plain jane wpa_supplicant I do echo mem /sys/power state After that, it still responds to keyboard events: I can switch VT and type on the consoles, but I can not login on a different VT (pressing Enter after the username doesn't return). So I

Re: v3.11-rc1 USB regressions

2013-07-16 Thread Aaro Koskinen
Hi, On Tue, Jul 16, 2013 at 11:22:47AM +0300, Felipe Balbi wrote: On Tue, Jul 16, 2013 at 12:30:00PM +0530, Kishon Vijay Abraham I wrote: On Tuesday 16 July 2013 12:03 PM, Daniel Mack wrote: Hi Aaro, On 16.07.2013 00:56, Aaro Koskinen wrote: Hi, I think USB tree

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML (was: [ 00/19] 3.10.1-stable review)

2013-07-16 Thread James Bottomley
On Mon, 2013-07-15 at 15:38 -0700, Linus Torvalds wrote: On Mon, Jul 15, 2013 at 3:08 PM, Steven Rostedt rost...@goodmis.org wrote: Can we please make this into a Kernel Summit discussion. I highly doubt we would solve anything, but it certainly would be a fun segment to watch :-) I

Re: [PATCH] Thermal: Fix lockup of cpu_down()

2013-07-16 Thread Srinivas Pandruvada
On 07/16/2013 11:02 AM, Steven Rostedt wrote: Commit f1a18a105 Thermal: CPU Package temperature thermal had code that did a get_online_cpus(), run a loop and then do a put_online_cpus(). The problem is that the loop had an error exit that would skip the put_online_cpus() part. In the error exit

Re: [Regression][v3.10][v3.11] net: Kill link between CSUM and SG features.

2013-07-16 Thread Pravin Shelar
On Tue, Jul 16, 2013 at 11:09 AM, Joseph Salisbury joseph.salisb...@canonical.com wrote: Hi Pravin, A bug was opened against the Ubuntu kernel[0]. After a kernel bisect, it was found that reverting the following commit resolved this bug: commit ec5f061564238892005257c83565a0b58ec79295

Re: [Ksummit-2013-discuss] When to push bug fixes to mainline

2013-07-16 Thread Linus Torvalds
On Tue, Jul 16, 2013 at 10:58 AM, Luck, Tony tony.l...@intel.com wrote: Linux testing is (realistically) done by inflicting changes on gradually wider sets of end users. However, one thing that people should keep in mind that the testing is often self-selecting. This is particularly true for

Re: v3.11-rc1 USB regressions

2013-07-16 Thread Daniel Mack
On 16.07.2013 20:26, Aaro Koskinen wrote: Hi, On Tue, Jul 16, 2013 at 11:22:47AM +0300, Felipe Balbi wrote: On Tue, Jul 16, 2013 at 12:30:00PM +0530, Kishon Vijay Abraham I wrote: On Tuesday 16 July 2013 12:03 PM, Daniel Mack wrote: Hi Aaro, On 16.07.2013 00:56, Aaro Koskinen wrote: Hi,

[RFC] kbuild: Build samples directory with make modules

2013-07-16 Thread Jim Baxter
If CONFIG_SAMPLES is enabled with any of the sample modules enabled, they are only built if the make command includes uImage and modules (i.e. make uImage modules). This patches allows the kernel and modules to be built separately, this is how openembedded and yocto build the kernel.

Re: driver model, duplicate names question

2013-07-16 Thread Greg KH
On Tue, Jul 16, 2013 at 11:29:42AM -0700, Srinivas Pandruvada wrote: Thanks for the quick response. Here I am creating virtual devices using device_register. I have attached a simple test program, which will give error. This is my intention: $ cd /sys/class/test_class $ ls

Re: [PATCH] Thermal: Fix lockup of cpu_down()

2013-07-16 Thread Steven Rostedt
On Tue, 2013-07-16 at 11:19 -0700, Srinivas Pandruvada wrote: Thanks. How did you trigger this error condition? Is it a code review or you have some way to reproduce? No, my tests do a cpu hotplug stress and the system would hang. I had to bisect it to find the bug and it came to this code.

Re: v3.11-rc1 USB regressions

2013-07-16 Thread Aaro Koskinen
On Tue, Jul 16, 2013 at 08:30:21PM +0200, Daniel Mack wrote: On 16.07.2013 20:26, Aaro Koskinen wrote: Hi, On Tue, Jul 16, 2013 at 11:22:47AM +0300, Felipe Balbi wrote: On Tue, Jul 16, 2013 at 12:30:00PM +0530, Kishon Vijay Abraham I wrote: On Tuesday 16 July 2013 12:03 PM, Daniel Mack

[PATCH v5] x86: make sure IDT is page aligned

2013-07-16 Thread Kees Cook
Since the IDT is referenced from a fixmap, make sure it is page aligned. Merge with 32-bit one, since it was already aligned to deal with F00F bug. Since bss is cleared before IDT setup, it can live there. This also moves the other *_idt_table variables into common locations. This avoids the risk

RE: DWC2 and/or S3C-HSOTG for STA2X11 board

2013-07-16 Thread Paul Zimmerman
From: Federico Vaga [mailto:federico.v...@gmail.com] Sent: Tuesday, July 16, 2013 5:02 AM I have an x86 board made by STMicroelectronics (STA2X11) with the Synopsis USB-OTG DesignWare 2 on it and connected through the PCI-e bus. I know that there are two drivers for the same controller:

Re: [PATCH] Thermal: Fix lockup of cpu_down()

2013-07-16 Thread Srinivas Pandruvada
On 07/16/2013 11:33 AM, Steven Rostedt wrote: On Tue, 2013-07-16 at 11:19 -0700, Srinivas Pandruvada wrote: Thanks. How did you trigger this error condition? Is it a code review or you have some way to reproduce? No, my tests do a cpu hotplug stress and the system would hang. I had to bisect

Re: [PATCH RFC V10 15/18] kvm : Paravirtual ticketlocks support for linux guests running on KVM hypervisor

2013-07-16 Thread Raghavendra K T
On 07/16/2013 11:32 AM, Gleb Natapov wrote: On Tue, Jul 16, 2013 at 09:07:53AM +0530, Raghavendra K T wrote: On 07/15/2013 04:06 PM, Gleb Natapov wrote: On Mon, Jul 15, 2013 at 03:20:06PM +0530, Raghavendra K T wrote: On 07/14/2013 06:42 PM, Gleb Natapov wrote: On Mon, Jun 24, 2013 at

Re: [Ksummit-2013-discuss] When to push bug fixes to mainline

2013-07-16 Thread Willy Tarreau
Hi Takashi, On Tue, Jul 16, 2013 at 06:40:39PM +0200, Takashi Iwai wrote: IMO, one of the reasons is the nature of stable-release: the stable tree is released soon after reviews of patches, so no actual regression tests can be done before the release. For finding a regression, patch reviews

Re: [Ksummit-2013-discuss] When to push bug fixes to mainline

2013-07-16 Thread H. Peter Anvin
On 07/16/2013 12:19 AM, David Lang wrote: On Fri, 12 Jul 2013, Willy Tarreau wrote: And maybe in the end, having 1/10 patch cause a regression is not *that* dramatic, and probably less than not fixing the 9 other bugs. In one case we rely on -stable to merge the 10 fixes, and on the other

Re: [RFC][PATCH 0/9] sched: Power scheduler design proposal

2013-07-16 Thread Arjan van de Ven
On 7/16/2013 10:38 AM, Peter Zijlstra wrote: On Mon, Jul 15, 2013 at 03:52:32PM -0700, Arjan van de Ven wrote: yeah ondemand does this, but ondemand is actually a pretty bad governor. not because of the sampling, but because of its algorithm. Is it good for any class of hardware still out

Re: [PATCH RFC V10 15/18] kvm : Paravirtual ticketlocks support for linux guests running on KVM hypervisor

2013-07-16 Thread Raghavendra K T
On 07/16/2013 09:18 PM, Peter Zijlstra wrote: On Tue, Jul 16, 2013 at 09:02:15AM +0300, Gleb Natapov wrote: BTW can NMI handler take spinlocks? No -- that is, yes you can using trylock, but you still shouldn't. Thanks Peter for the clarification. I had started checking few of nmi handlers

Re: [PATCH v3 6/7] USB: ohci-at91: add usb_clk for transition to common clk framework

2013-07-16 Thread Alan Stern
On Tue, 16 Jul 2013, boris brezillon wrote: + uclk = clk_get(pdev-dev, usb_clk); + if (IS_ERR(uclk)) { + uclk = NULL; + dev_warn(pdev-dev, failed to get usb_clk\n); + } Is this really what you want for backward compatibility? Here are some proposition to remove

Re: driver model, duplicate names question

2013-07-16 Thread Srinivas Pandruvada
Hi, I am assigned to do add a powercap class. There are several technologies, which will allow to add a power budget to an individual device. For example, you can set a power budget to a individual physical cpu package, each core and uncore devices, GPUs, DRAM etc. +The Power Capping

Re: [Ksummit-2013-discuss] When to push bug fixes to mainline

2013-07-16 Thread Steven Rostedt
On Tue, 2013-07-16 at 11:29 -0700, Linus Torvalds wrote: Anyway, the point I'm making is that QA is limited and often even actively misleading (Hey, I have three tested-by's, so it must be fine), and we might actually want to have a new class of non-critical patch that might be worth

Re: [Ksummit-2013-discuss] When to push bug fixes to mainline

2013-07-16 Thread Willy Tarreau
On Tue, Jul 16, 2013 at 11:29:15AM -0700, Linus Torvalds wrote: There have been tons of obvious patches that turned out to simply be wrong - often for very non-obvious reasons. Even when they are small. And the problems seldom get caught in early testing, often exactly because of this

Re: [PATCH v5] x86: make sure IDT is page aligned

2013-07-16 Thread Steven Rostedt
On Tue, 2013-07-16 at 11:34 -0700, Kees Cook wrote: Since the IDT is referenced from a fixmap, make sure it is page aligned. Merge with 32-bit one, since it was already aligned to deal with F00F bug. Since bss is cleared before IDT setup, it can live there. This also moves the other

[RFC PATCH 4/4] tracing: Change ftrace_event_filter_fops to rely on event_mutex/i_private

2013-07-16 Thread Oleg Nesterov
1. Shift mutex_lock(event_mutex) from print/apply_event_filter to the callers. And rename them just in case. 2. Change the callers, event_filter_read() and event_filter_write() to read call = i_private under this mutex and abort if it is NULL. 3. Remove .open from ftrace_event_filter_fops.

[RFC PATCH 3/4] tracing: Kill tracing_open/release_generic_file

2013-07-16 Thread Oleg Nesterov
Kill tracing_open_generic_file() and tracing_release_generic_file(), they are racy anyway. Instead, change event_enable_read() and event_enable_write() to rely on event_mutex and file_inode(filp)-i_private != NULL check. trace_array_get() goes away. NOTE! this is actually wrong until we change

[RFC PATCH 0/4] tracing: fix open/delete fixes

2013-07-16 Thread Oleg Nesterov
Hello. Completely untested and _incomplete_. This ignores instance_delete() and ftrace_event_format_fops, at least. But I am not going to even try to finish this series unless you tell me that you agree with this approach. I have no idea what else could I miss. I probably understand no more

[RFC PATCH 2/4] tracing: Turn id-i_private into call-event.type

2013-07-16 Thread Oleg Nesterov
ftrace_event_id_fops and event_id_read() is overcomplicated. 1. Change event_create_dir() to pass data = call-event.type to debugfs_create_file(). This means that ftrace_event_id_fops doesn't need .open() and event_id_read() can simply print (int)i_private 2. event_id_read() has no

[RFC PATCH 1/4] tracing: Change remove_event_from_tracers() to clear d_subdirs-i_private

2013-07-16 Thread Oleg Nesterov
Preparation to make the next patches more understandable. The caller of trace_remove_event_call() is going to free call/files, this means that every opened id/filter/enable/format file will use the already freed memory via filp-private_data / inode-i_private. Change remove_event_from_tracers()

Re: [PATCH 1/8] mm: drop actor argument of do_generic_file_read()

2013-07-16 Thread Matthew Wilcox
On Mon, Jul 15, 2013 at 01:47:47PM +0300, Kirill A. Shutemov wrote: From: Kirill A. Shutemov kirill.shute...@linux.intel.com There's only one caller of do_generic_file_read() and the only actor is file_read_actor(). No reason to have a callback parameter. Signed-off-by: Kirill A. Shutemov

Re: driver model, duplicate names question

2013-07-16 Thread Greg KH
A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Tue, Jul 16, 2013 at 11:54:31AM -0700, Srinivas Pandruvada wrote: Hi, I am assigned to do add a powercap class. There are several technologies, which will allow to add a power budget to an

Re: [PATCH] um/configs: don't use devtmpfs in defconfig

2013-07-16 Thread Al Viro
On Tue, Jul 16, 2013 at 11:42:55PM +0530, Ramkumar Ramachandra wrote: Leave aside the fact that I could not find the uml-utils upstream [1], and didn't have a /uml/port-helper to connect the xterms for a second; I didn't even understand what was supposed to happen. Why do we spawn xterms, and

configurable partial slab support on UP

2013-07-16 Thread Uwe Kleine-König
Hello, (sorry for breaking the mail threading, but I failed to find the right mail to reply to.) while doing make oldconfig on an !SMP config using 3.11-rc1 I was asked if I want CONFIG_SLUB_CPU_PARTIAL. AFAICT this setting only affects SMP machines? If so I suggest to make the choice depend on

Re: [RFC][PATCH 0/4] tracing/kprobes/uprobes: Fix race between opening probe event files and deleting probe

2013-07-16 Thread Steven Rostedt
On Tue, 2013-07-16 at 18:38 +0200, Oleg Nesterov wrote: On 07/15, Oleg Nesterov wrote: So. As Masami pointed out, this is not enough. Probably we can add more hacks, but I'd like to discuss the alternative approach. Note also that this ref count has the unfortunate property, if someone

Re: [PATCH 3/7] alpha: Modernize lib/mpi/longlong.h

2013-07-16 Thread Richard Henderson
On 07/16/2013 10:19 AM, Joe Perches wrote: On Tue, 2013-07-16 at 10:04 -0700, Richard Henderson wrote: Remove the compile warning for __udiv_qrnnd not having a prototype. Use the __builtin_alpha_umulh introduced in gcc 4.0. Isn't gcc 3.x still a supported compiler? Further investigation

Re: [PATCH] ndisc: bool initializations should use true and false

2013-07-16 Thread David Miller
From: Daniel Baluta dbal...@ixiacom.com Date: Sat, 13 Jul 2013 11:26:51 +0300 Signed-off-by: Daniel Baluta dbal...@ixiacom.com Applied, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v3 6/7] USB: ohci-at91: add usb_clk for transition to common clk framework

2013-07-16 Thread boris brezillon
On 16/07/2013 20:47, Alan Stern wrote: On Tue, 16 Jul 2013, boris brezillon wrote: + uclk = clk_get(pdev-dev, usb_clk); + if (IS_ERR(uclk)) { + uclk = NULL; + dev_warn(pdev-dev, failed to get usb_clk\n); + } Is this really what you want for

Re: [PATCH] ethtool: fixed trailing statements in ethtool

2013-07-16 Thread David Miller
From: Dragos Foianu dragos.foi...@gmail.com Date: Sat, 13 Jul 2013 14:43:00 +0100 Applied fixes suggested by checkpatch.pl. Signed-off-by: Dragos Foianu dragos.foi...@gmail.com Applied, but only so that life is easier for the next person who makes changes to this file and wants to validate

Re: [PATCH] net/irda: fixed style issues in irlan_eth

2013-07-16 Thread David Miller
From: Dragos Foianu dragos.foi...@gmail.com Date: Sat, 13 Jul 2013 15:03:55 +0100 Applied fixes suggested by checkpatch.pl Signed-off-by: Dragos Foianu dragos.foi...@gmail.com Applied. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[RFC] sched: Limit idle_balance() when it is being used too frequently

2013-07-16 Thread Jason Low
When running benchmarks on an 8 socket 80 core machine with a 3.10 kernel, there can be a lot of contention in idle_balance() and related functions. On many AIM7 workloads in which CPUs go idle very often and idle balance gets called a lot, it is actually lowering performance. Since idle balance

Re: [RFC][PATCH 0/9] sched: Power scheduler design proposal

2013-07-16 Thread Peter Zijlstra
On Tue, Jul 16, 2013 at 11:44:15AM -0700, Arjan van de Ven wrote: the interaction is using the scheduler data using the scheduler provided function. I'm so not following. So I don't just want something that makes sense for todays Intel ;-) We need something that has an interface that makes

Re: [Ksummit-2013-discuss] When to push bug fixes to mainline

2013-07-16 Thread Greg Kroah-Hartman
On Tue, Jul 16, 2013 at 02:41:24PM -0400, Steven Rostedt wrote: On Tue, 2013-07-16 at 11:29 -0700, Linus Torvalds wrote: Anyway, the point I'm making is that QA is limited and often even actively misleading (Hey, I have three tested-by's, so it must be fine), and we might actually want to

Re: driver model, duplicate names question

2013-07-16 Thread Srinivas Pandruvada
On 07/16/2013 12:04 PM, Greg KH wrote: A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top Glad to learn something new today. On Tue, Jul 16, 2013 at 11:54:31AM -0700, Srinivas Pandruvada wrote: Hi, I am assigned to do add a powercap class. There

Re: arm: Only load TLS values when needed

2013-07-16 Thread André Hentschel
Hi Jonathan, First, thank you for your review. Am 16.07.2013 19:31, schrieb Jonathan Austin: Hi André, On 15/07/13 18:14, André Hentschel wrote: From: André Hentschel n...@dawncrow.de This patch intents to reduce loading instructions when the resulting value is not used. It's a follow

Re: [RFC][PATCH 0/4] tracing/kprobes/uprobes: Fix race between opening probe event files and deleting probe

2013-07-16 Thread Oleg Nesterov
On 07/16, Steven Rostedt wrote: On Tue, 2013-07-16 at 18:38 +0200, Oleg Nesterov wrote: On 07/15, Oleg Nesterov wrote: So. As Masami pointed out, this is not enough. Probably we can add more hacks, but I'd like to discuss the alternative approach. Note also that this ref count

Re: [RFC] sched: Limit idle_balance() when it is being used too frequently

2013-07-16 Thread Rik van Riel
On 07/16/2013 03:21 PM, Jason Low wrote: When running benchmarks on an 8 socket 80 core machine with a 3.10 kernel, there can be a lot of contention in idle_balance() and related functions. On many AIM7 workloads in which CPUs go idle very often and idle balance gets called a lot, it is actually

Re: [Ksummit-2013-discuss] When to push bug fixes to mainline

2013-07-16 Thread Takashi Iwai
At Tue, 16 Jul 2013 09:42:34 -0700 (PDT), David Lang wrote: On Tue, 16 Jul 2013, Takashi Iwai wrote: At Tue, 16 Jul 2013 00:19:16 -0700 (PDT), David Lang wrote: On Fri, 12 Jul 2013, Willy Tarreau wrote: And maybe in the end, having 1/10 patch cause a regression is not *that*

Re: [PATCH] um/configs: don't use devtmpfs in defconfig

2013-07-16 Thread Ramkumar Ramachandra
Richard Weinberger wrote: http://user-mode-linux.sourceforge.net/downloads.html I found a uml_utilities_20070815.tar.bz2. 2007, seriously? Is there no interest in maintaining it? -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[PATCH RFC] allow some kernel filesystems to be mounted in a user namespace

2013-07-16 Thread Serge Hallyn
All the files will be owned by host root, so there's no security concern in allowing this. (These are mounted by default by mountall, and if permission is denied then by default container boot will hang) Signed-off-by: Serge Hallyn serge.hal...@canonical.com --- fs/debugfs/inode.c | 1 +

Re: [PATCH] um/configs: don't use devtmpfs in defconfig

2013-07-16 Thread Richard Weinberger
Am 16.07.2013 21:29, schrieb Ramkumar Ramachandra: Richard Weinberger wrote: http://user-mode-linux.sourceforge.net/downloads.html I found a uml_utilities_20070815.tar.bz2. 2007, seriously? Is there no interest in maintaining it? What patches are missing? Maintaining != Applying a patch

<    1   2   3   4   5   6   7   8   9   10   >