Re: [ATTEND] How to act on LKML

2013-07-16 Thread Steven Rostedt
On Tue, 2013-07-16 at 16:49 +0100, Stefano Stabellini wrote: I have been hacking in several different Open Source communities during the last few years, including qemu-devel, xen-devel, linux-arm and the lkml of course. The etiquette on the lkml is by far the roughest of them all. It's the

[PATCH v7 5/5] s390/vmcore: Use vmcore for zfcpdump

2013-07-16 Thread Michael Holzheu
This patch modifies the s390 copy_oldmem_page() and remap_oldmem_pfn_range() function for zfcpdump to read from the HSA memory if memory below HSA_SIZE bytes is requested. Otherwise real memory is used. Signed-off-by: Michael Holzheu holz...@linux.vnet.ibm.com --- arch/s390/Kconfig |

[PATCH v7 1/5] vmcore: Introduce ELF header in new memory feature

2013-07-16 Thread Michael Holzheu
Currently for s390 we create the ELF core header in the 2nd kernel with a small trick. We relocate the addresses in the ELF header in a way that for the /proc/vmcore code it seems to be in the 1st kernel (old) memory and the read_from_oldmem() returns the correct data. This allows the /proc/vmcore

[PATCH v7 3/5] vmcore: Introduce remap_oldmem_pfn_range()

2013-07-16 Thread Michael Holzheu
For zfcpdump we can't map the HSA storage because it is only available via a read interface. Therefore, for the new vmcore mmap feature we have introduce a new mechanism to create mappings on demand. This patch introduces a new architecture function remap_oldmem_pfn_range() that should be used to

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

2013-07-16 Thread Michael Holzheu
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 with the mmap patches for /proc/vmcore (git commit

[PATCH v7 2/5] s390/vmcore: Use ELF header in new memory feature

2013-07-16 Thread Michael Holzheu
This patch now exchanges the old relocate mechanism with the new arch function call override mechanism that allows to create the ELF core header in the 2nd kernel. Signed-off-by: Michael Holzheu holz...@linux.vnet.ibm.com --- arch/s390/kernel/crash_dump.c | 81

Re: [PATCH 0/2] regulator: palmas-pmic: doc: update device tree bindings

2013-07-16 Thread Mark Brown
On Tue, Jul 16, 2013 at 09:27:10AM -0500, Nishanth Menon wrote: On 09:23-20130716, Nishanth Menon wrote: We seem to have a few missing updates to device tree bindings with the latest set of changes getting merged in. Oops.. seems like I have an old mailID for Mark :( I'll need the actual

[PATCH v7 4/5] s390/vmcore: Implement remap_oldmem_pfn_range for s390

2013-07-16 Thread Michael Holzheu
From: Jan Willeke will...@de.ibm.com This patch introduces the s390 specific way to map pages from oldmem. The memory area below OLDMEM_SIZE is mapped with offset OLDMEM_BASE. The other old memory is mapped directly. Signed-off-by: Jan Willeke will...@de.ibm.com Signed-off-by: Michael Holzheu

Re: [PATCH] i2c-omap: always send stop after nack

2013-07-16 Thread Hein Tibosch
Hi Grygorii, Filipe, On 7/16/2013 9:00 PM, Felipe Balbi wrote: On Tue, Jul 16, 2013 at 03:08:04PM +0300, Grygorii Strashko wrote: Hi Felipe, On 07/16/2013 02:27 PM, Felipe Balbi wrote: Hi, On Tue, Jul 16, 2013 at 02:01:11PM +0300, Grygorii Strashko wrote: On a OMAP4460, i2c-bus-3: A

Re: [linux-sunxi] Re: [PATCH 1/2] Initial support for Allwinner's Security ID fuses

2013-07-16 Thread Greg KH
On Mon, Jul 15, 2013 at 11:16:19PM +0200, Oliver Schinagl wrote: With your latest patches for binary attributes and your blog post, I thought that you want to create your binary attributes before the probe function, to avoid the userspace race. To do that, we have two options, create them

Re: [PATCH] usb: udc: add gadget state kobject uevent

2013-07-16 Thread Greg KH
On Tue, Jul 16, 2013 at 11:49:07AM +0800, Rong Wang wrote: Hi Greg, The USB on our platform can change roles between HOST and GADGET, but it is not capable of OTG. That kind of sounds like the definition of OTG :) When the USB changes between roles the udev will run some scripts

Re: [PATCH-v3 00/17] staging/lustre: fix various build issues

2013-07-16 Thread Greg Kroah-Hartman
On Tue, Jul 16, 2013 at 10:21:23AM +0800, Peng Tao wrote: On Tue, Jul 16, 2013 at 8:07 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Mon, Jul 15, 2013 at 12:13:57PM -0700, Andrew Morton wrote: On Mon, 15 Jul 2013 11:40:30 -0700 Greg Kroah-Hartman gre...@linuxfoundation.org

Re: [PATCH 3.11-rc1] crypto: Fix boot failure due to moduledependency.

2013-07-16 Thread Tim Chen
On Tue, 2013-07-16 at 22:49 +0900, Tetsuo Handa wrote: Herbert Xu wrote: Looks like a bug in whatever is creating the initrd as it isn't including modules necessary for the boot. It turned out that it is already wrong as of creating modules.dep. # grep crc

Re: [QUERY] User-Mode Linux and /dev/tty*

2013-07-16 Thread Ramkumar Ramachandra
Richard Weinberger wrote: UML does not have virtual consoles. Then why do I see this on my UML box? # ls /dev/tty* | wc -l 113 Why is it creating unusable devices? Is drivers/tty.c responsible for this? What is it exactly? I'm not running HEAD, but opensuse 12.3 (with systemd) works on

driver model, duplicate names question

2013-07-16 Thread Srinivas Pandruvada
Hi Greg, I would like to create tree like structure using device model (struct device, device_register/device_unregister) using parent/child relationship while creation. I want to be able to create duplicate names, when their parents are different, similar to a directory structure. I see that

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

2013-07-16 Thread Gleb Natapov
On Tue, Jul 16, 2013 at 05:48:52PM +0200, 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. Great news for this code. Thanks. --

Re: [PATCH-v3 00/17] staging/lustre: fix various build issues

2013-07-16 Thread Joe Perches
On Mon, 2013-07-15 at 23:32 -0700, Greg Kroah-Hartman wrote: I'll not apply those patches, don't worry, the shrinker stuff needs to stay in Andrew's tree until it hits Linus's. To clarify, are you going to apply these 17 patches but not those 5 patches in Andrew's tree? -- To unsubscribe from

Re: [QUERY] User-Mode Linux and /dev/tty*

2013-07-16 Thread Richard Weinberger
Am 16.07.2013 18:26, schrieb Ramkumar Ramachandra: Richard Weinberger wrote: UML does not have virtual consoles. Then why do I see this on my UML box? # ls /dev/tty* | wc -l 113 Why is it creating unusable devices? Is drivers/tty.c responsible for this? What is it exactly? This is

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

2013-07-16 Thread Takashi Iwai
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* dramatic, and probably less than not fixing the 9 other bugs. In one case we rely on -stable to merge the 10

[PATCH V2 2/2] regulator: palmas-pmic: doc: remove ti,tstep

2013-07-16 Thread Nishanth Menon
commit 28d1e8cd671a53d6b4f967abbbc2a55f7bd333f6 (regulator: palma: add ramp delay support through regulator constraints) Removed the regulator's ti,step option from driver without updating the documentation. So, remove from documentation and example as well. Signed-off-by: Nishanth Menon

Re: [Ksummit-2013-discuss] KS Topic request: Handling the Stable kernel, let's dump the cc: stable tag

2013-07-16 Thread Greg KH
On Tue, Jul 16, 2013 at 11:11:24AM +0200, Jiri Kosina wrote: On Mon, 15 Jul 2013, Greg KH wrote: Anything that's being reviewed on the stable list is public. I know this is an old argument, but if you point out a fix you *know* has a security impact then you'll help general

[PATCH V2 1/2] regulator: palmas-pmic: doc: fix typo for sleep-mode

2013-07-16 Thread Nishanth Menon
commit 3c870e3f9d9d98f1ab98614b3b1fd5c79287d361 (regulator: palmas: Change the DT node property names to follow the convention) Missed updating mode-sleep from sleep-mode. Fix the same. Documentation example seems proper for this property. Signed-off-by: Nishanth Menon n...@ti.com ---

Re: [PATCH-v3 00/17] staging/lustre: fix various build issues

2013-07-16 Thread Greg Kroah-Hartman
On Tue, Jul 16, 2013 at 09:34:15AM -0700, Joe Perches wrote: On Mon, 2013-07-15 at 23:32 -0700, Greg Kroah-Hartman wrote: I'll not apply those patches, don't worry, the shrinker stuff needs to stay in Andrew's tree until it hits Linus's. To clarify, are you going to apply these 17 patches

[PATCH V2 0/2] regulator: palmas-pmic: doc: update device tree bindings

2013-07-16 Thread Nishanth Menon
We seem to have a few missing updates to device tree bindings with the latest set of changes getting merged in. Changes since V1: Apologies on the spam, looks like I got the wrong mail ID first time around :( minor commit message cleanups V1:

Re: [Ksummit-2013-discuss] KS Topic request: Handling the Stable kernel, let's dump the cc: stable tag

2013-07-16 Thread Greg KH
On Tue, Jul 16, 2013 at 11:46:05AM +0200, Jiri Kosina wrote: On Tue, 16 Jul 2013, James Bottomley wrote: But I need, from the distros, specific examples of what they object to. So far all I've gotten is one security patch (that was needed), and one patch for sysfs that I backported too

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

2013-07-16 Thread David Lang
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* dramatic, and probably less than not fixing the 9 other bugs. In one case

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/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 keeps the file opened we can't remove an event. And please

Re: [Ksummit-2013-discuss] KS Topic request: Handling the Stable kernel, let's dump the cc: stable tag

2013-07-16 Thread Steven Rostedt
On Mon, 2013-07-15 at 23:24 -0700, David Lang wrote: Just because some crazy person ;-) decides to maintain 2.4 for many years doesn't mean that every subsystem maintainer needs to worry about backporting patches from 3.11 all the way back to 2.4. The fact that they are as willing as

Re: driver model, duplicate names question

2013-07-16 Thread Greg KH
On Tue, Jul 16, 2013 at 09:34:57AM -0700, Srinivas Pandruvada wrote: Hi Greg, I would like to create tree like structure using device model (struct device, device_register/device_unregister) using parent/child relationship while creation. I want to be able to create duplicate names, when

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: 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 48Mhz. This configuration was formely done in

Re: [PATCH for 3.2] memcg: do not trap chargers with full callstack on OOM

2013-07-16 Thread Johannes Weiner
On Tue, Jul 16, 2013 at 06:09:05PM +0200, Michal Hocko wrote: On Tue 16-07-13 11:35:44, Johannes Weiner wrote: On Mon, Jul 15, 2013 at 06:00:06PM +0200, Michal Hocko wrote: On Mon 15-07-13 17:41:19, Michal Hocko wrote: On Sun 14-07-13 01:51:12, azurIt wrote: CC: Johannes Weiner

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

2013-07-16 Thread David Howells
Linus Torvalds torva...@linux-foundation.org wrote: A small panel discussion with a few people (fiveish?) that have very different viewpoints, along with baskets of rotten fruit set out on the tables? That could be fun. And I'm serious, although we might want to limit the size of the fruit to

Re: [PATCH v2 4/4] iio: add configuration option for debug support

2013-07-16 Thread Jonathan Cameron
On 07/16/2013 01:56 PM, Otavio Salvador wrote: Signed-off-by: Otavio Salvador ota...@ossystems.com.br Applied to the togreg branch of iio.git in place of v1 --- Changes in v2: - Rework Kconfig help (Lars-Peter Clausen) drivers/iio/Kconfig | 7 +++ drivers/iio/Makefile | 2 ++ 2

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

2013-07-16 Thread Ramkumar Ramachandra
Avoid creating lots of bogus devices nodes like /dev/tty* (since User-Mode Linux does not have virtual consoles. Cc: Richard Weinberger rich...@nod.at Cc: Jeff Dike jd...@addtoit.com Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- Applies on top of the patch I posted earlier.

Re: [ATTEND] How to act on LKML

2013-07-16 Thread Stefano Stabellini
On Tue, 16 Jul 2013, Steven Rostedt wrote: On Tue, 2013-07-16 at 16:49 +0100, Stefano Stabellini wrote: I have been hacking in several different Open Source communities during the last few years, including qemu-devel, xen-devel, linux-arm and the lkml of course. The etiquette on the

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

2013-07-16 Thread Mark Brown
On Tue, Jul 16, 2013 at 06:40:39PM +0200, Takashi Iwai wrote: 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

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

2013-07-16 Thread Richard Weinberger
Am 16.07.2013 18:52, schrieb Ramkumar Ramachandra: Avoid creating lots of bogus devices nodes like /dev/tty* (since User-Mode Linux does not have virtual consoles. Cc: Richard Weinberger rich...@nod.at Cc: Jeff Dike jd...@addtoit.com Signed-off-by: Ramkumar Ramachandra artag...@gmail.com

Re: early microcode on amd is broken when no initramfs provided

2013-07-16 Thread Borislav Petkov
On Thu, Jul 11, 2013 at 11:05:25PM +0200, Johannes Hirte wrote: config is attached Ok, I can reproduce the hang with your config but even with: $ grep MICROCODE .config # CONFIG_MICROCODE is not set # CONFIG_MICROCODE_INTEL_EARLY is not set # CONFIG_MICROCODE_AMD_EARLY is not set which means,

[PATCH 7/7] alpha: Fix type compatibility warning for marvel_map_irq

2013-07-16 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- arch/alpha/kernel/sys_marvel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/alpha/kernel/sys_marvel.c b/arch/alpha/kernel/sys_marvel.c index 407accc..53d6e4a 100644 --- a/arch/alpha/kernel/sys_marvel.c +++

[PATCH 2/7] alpha: Eliminate compiler warning from memset macro

2013-07-16 Thread Richard Henderson
Compiling with GCC 4.8 yields several instances of crypto/vmac.c: In function ‘vmac_final’: crypto/vmac.c:616:9: warning: value computed is not used [-Wunused-value] memset(mac, 0, sizeof(vmac_t)); ^ arch/alpha/include/asm/string.h:31:25: note: in definition of macro ‘memset’ ?

[PATCH 4/7] alpha: Improve atomic_add_unless

2013-07-16 Thread Richard Henderson
Use ll/sc loops instead of C loops around cmpxchg. Update the atomic64_add_unless block comment to match the code. Signed-off-by: Richard Henderson r...@twiddle.net --- arch/alpha/include/asm/atomic.h | 60 + 1 file changed, 37 insertions(+), 23

[PATCH 5/7] alpha: Implement atomic64_dec_if_positive

2013-07-16 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- arch/alpha/Kconfig | 1 + arch/alpha/include/asm/atomic.h | 28 2 files changed, 29 insertions(+) diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig index 837a1f2..082d9b4 100644 ---

[PATCH 6/7] alpha: Generate dwarf2 unwind info for various kernel entry points.

2013-07-16 Thread Richard Henderson
Having unwind info past the PALcode generated stack frame makes debugging the kernel significantly easier. Signed-off-by: Richard Henderson r...@twiddle.net --- arch/alpha/kernel/entry.S | 399 +- 1 file changed, 288 insertions(+), 111 deletions(-)

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

2013-07-16 Thread Richard Henderson
Remove the compile warning for __udiv_qrnnd not having a prototype. Use the __builtin_alpha_umulh introduced in gcc 4.0. Signed-off-by: Richard Henderson r...@twiddle.net --- lib/mpi/longlong.h | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git

[PATCH 1/7] alpha: Add kcmp and finit_module syscalls

2013-07-16 Thread Richard Henderson
Signed-off-by: Richard Henderson r...@twiddle.net --- arch/alpha/include/asm/unistd.h | 3 +-- arch/alpha/include/uapi/asm/unistd.h | 2 ++ arch/alpha/kernel/systbls.S | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/alpha/include/asm/unistd.h

[PATCH 0/7] Minor Alpha updates for 3.11

2013-07-16 Thread Richard Henderson
Here's a set of minor updates for arch/alpha that should not be controversial. r~ The following changes since commit 47188d39b5deeebf41f87a02af1b3935866364cf: Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 (2013-07-14 21:47:51 -0700) are available

[PATCH RFC] lib: Make radix_tree_node_alloc() irq safe

2013-07-16 Thread Jan Kara
With users of radix_tree_preload() run from interrupt (CFQ is one such possible user), the following race can happen: radix_tree_preload() ... radix_tree_insert() radix_tree_node_alloc() if (rtp-nr) { ret = rtp-nodes[rtp-nr - 1]; interrupt ... radix_tree_preload() ...

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

2013-07-16 Thread Ramkumar Ramachandra
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 desirable? -- To unsubscribe from this list: send the line unsubscribe

Re: [Intel-gfx] [PATCH] drm/i915: fix long-standing SNB regression in power consumption after resume

2013-07-16 Thread Jesse Barnes
On Tue, 16 Jul 2013 11:34:25 +0400 Konstantin Khlebnikov khlebni...@openvz.org wrote: I've tested that patch and it really works for me. If you want change something for other hardware or extend range where forcewake is held prease do it in a separate patch. This will be good for bisecting new

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

2013-07-16 Thread Richard Weinberger
Am 16.07.2013 19:06, schrieb Ramkumar Ramachandra: 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 desirable? Why does

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

2013-07-16 Thread Russell King - ARM Linux
On Tue, Jul 16, 2013 at 05:22:15PM +0200, Boris BREZILLON wrote: @@ -41,6 +41,10 @@ extern int usb_disabled(void); static void at91_start_clock(void) { + if (uclk) { if (!IS_ERR(uclk)) { + clk_set_rate(uclk, 4800); + clk_prepare_enable(uclk); +

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

<    7   8   9   10   11   12   13   14   15   16   >