[PATCH v3 0/7] ARM: at91: prepare transition to common clk framework

2013-07-16 Thread Boris BREZILLON
Hello, This patch series prepares the transition to common clk framework by 1) replacing all the clk_enable and clk_disable calls by clk_prepare_unable and clk_disable_unprepare to avoid common clock framework warnings. 2) adding explicit configuration of clk (set_rate) within drivers instead

[PATCH v3 1/7] ARM: at91/tc/clocksource: replace clk_enable/disable with clk_prepare_enable/disable_unprepare.

2013-07-16 Thread Boris BREZILLON
Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- drivers/clocksource/tcb_clksrc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

Re: [PATCH v2] [SCSI] scsi_debug: silence GCC warning

2013-07-16 Thread Akinobu Mita
2013/7/16 Paul Bolle pebo...@tiscali.nl: Building scsi_debug.o triggers a GCC warning: drivers/scsi/scsi_debug.c: In function ‘dif_verify’: drivers/scsi/scsi_debug.c:1755:3: warning: ‘csum’ may be used uninitialized in this function [-Wmaybe-uninitialized] This is a false positive.

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

2013-07-16 Thread Arjan van de Ven
On 7/16/2013 5:42 AM, Catalin Marinas wrote: Morten's power scheduler tries to address the above and it will grow into controlling a new model of power driver (and taking into account Arjan's and others' comments regarding the API). At the same time, we need some form of task packing. The power

Re: [LOCKDEP] cpufreq: possible circular locking dependency detected

2013-07-16 Thread Srivatsa S. Bhat
On 07/16/2013 04:14 PM, Sergey Senozhatsky wrote: On (07/16/13 14:03), Srivatsa S. Bhat wrote: So here is the solution: On 3.11-rc1, apply these patches in the order mentioned below, and check whether it fixes _all_ problems (both the warnings about IPI as well as the lockdep splat). 1.

[PATCH 1/4] pci_ids.h: move PCI_VENDOR_ID_AMCC here

2013-07-16 Thread Ian Abbott
PCI_VENDOR_ID_AMCC is defined locally in drivers/staging/comedi/comedidev.h for a few comedi hardware drivers, namely adl_pci9118, addi_apci_1500 and addi_apci_3120 (also addi_apci_1710 but that is not currently built and will probably be removed soon). Move the define into

[PATCH 2/4] serial: 8250_pci: replace PCI_VENDOR_ID_ADDIDATA_OLD

2013-07-16 Thread Ian Abbott
PCI_VENDOR_ID_ADDIDATA_OLD has the same value (0x10e8) as PCI_VENDOR_ID_AMCC in linux/pci_ids.h. The vender ID is actually assigned to Applied Micro Circuits Corporation. The 8250_pci driver uses PCI_VENDOR_ID_ADDIDATA_OLD in the lists of quirks and PCI IDs for the ADDI-DATA APCI-7800 card.

[PATCH 4/4] pci_ids.h: remove PCI_VENDOR_ID_ADDIDATA_OLD and PCI_DEVICE_ID_ADDIDATA_APCI7800

2013-07-16 Thread Ian Abbott
These two defines are no longer used. They were only used by the PCI serial driver 8250_pci to support the original ADDI-DATA APCI-7800 card. In that driver, PCI_VENDOR_ID_ADDIDATA_OLD has been replaced with PCI_VENDOR_ID_AMCC which has the same value (0x10e8), and

[PATCH 3/4] serial: 8250_pci: use local device ID for ADDI-DATA APCI-7800

2013-07-16 Thread Ian Abbott
The quirks and PCI ID table entries for the original ADDI-DATA APCI-7800 (not the newer APCI-7800-3) use PCI_DEVICE_ID_ADDIDATA_APCI7800 from linux/pci_ids.h but the device ID was actually assigned to ADDI-DATA by Applied Micro Circuits Corporation (PCI_VENDOR_ID_AMCC). Replace it locally with

[PATCH 0/4] pci_ids, 8250_pci: remove PCI_VENDOR_ID_ADDIDATA_OLD

2013-07-16 Thread Ian Abbott
The 8250_pci driver uses PCI_VENDOR_ID_ADDIDATA_OLD (0x10e8), PCI_DEVICE_ID_ADDIDATA_APCI7800 (0x818e) to recognize the original ADDI-DATA APCI-7800 PCI serial card. However vendor ID 0x10e8 was assigned by PCI-SIG to Applied Micro Circuits Corporation (AMCC) and the associated device ID 0x818e

Re: [ 00/19] 3.10.1-stable review

2013-07-16 Thread Darren Hart
On Tue, 2013-07-16 at 08:09 -0700, Kees Cook wrote: On Tue, Jul 16, 2013 at 04:30:45PM +0200, Geert Uytterhoeven wrote: On Mon, Jul 15, 2013 at 10:41 PM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: I should not have to ask for professional behavior on the mailing lists.

Re: [PATCH -next] ARM: edma: remove duplicated include from edma.c

2013-07-16 Thread Sekhar Nori
On 6/26/2013 7:28 AM, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Remove duplicated include. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn Sending this for inclusion in v3.11-rc2. This is technically a clean-up, but this is still -rc1, so lets see.

Re: [PATCH v2] [SCSI] scsi_debug: silence GCC warning

2013-07-16 Thread Paul Bolle
On Wed, 2013-07-17 at 00:21 +0900, Akinobu Mita wrote: This one looks good to me. Thanks. It would be much better if this commit log had a reference to the commit that introduced this warning as you described after '---' in v1 patch. Do you mean that I should submit a v3, with a commit

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

2013-07-16 Thread Boris BREZILLON
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 mach-at91/clock.c, but this implementation will be removed

[PATCH v3 7/7] usb: gadget: at91_udc: add usb_clk for transition to common clk framework

2013-07-16 Thread Boris BREZILLON
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 mach-at91/clock.c, but this implementation will be removed

Re: [PATCH v2 2/2] clocksource/cadence_ttc: Reuse clocksource as sched_clock

2013-07-16 Thread Daniel Lezcano
On 07/12/2013 02:08 PM, Michal Simek wrote: Acked-by: Michal Simek mon...@monstr.eu Applied to my tree for 3.12 Thanks -- Daniel -- http://www.linaro.org/ Linaro.org │ Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro Facebook |

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

2013-07-16 Thread Johannes Weiner
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 han...@cmpxchg.org, linux-kernel@vger.kernel.org, linux...@kvack.org, cgroups mailinglist

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

2013-07-16 Thread Michael Holzheu
On Tue, 16 Jul 2013 10:04:18 -0400 Vivek Goyal vgo...@redhat.com wrote: On Tue, Jul 16, 2013 at 11:25:27AM +0200, Michael Holzheu wrote: [..] Hello Vivek and Andrew, We just realized that Hatayama's mmap patches went into v3.11-rc1. This currently breaks s390 kdump

Re: [ 00/19] 3.10.1-stable review

2013-07-16 Thread Darren Hart
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 ones. That's how I think we get that number of skilled people at the top of

Re: [PATCH v2] [SCSI] scsi_debug: silence GCC warning

2013-07-16 Thread Akinobu Mita
2013/7/17 Paul Bolle pebo...@tiscali.nl: On Wed, 2013-07-17 at 00:21 +0900, Akinobu Mita wrote: This one looks good to me. Thanks. It would be much better if this commit log had a reference to the commit that introduced this warning as you described after '---' in v1 patch. Do you mean

Re: [PATCH 3/3] fb: backlight: HX8357: Add HX8369 support

2013-07-16 Thread 'Maxime Ripard'
Hi Jingoo, On Tue, Jul 16, 2013 at 11:04:09AM +0900, Jingoo Han wrote: On Tuesday, July 16, 2013 12:27 AM, Maxime Ripard wrote: From: Alexandre Belloni alexandre.bell...@free-electrons.com Add support for the Himax HX8369 controller as it is quite similar to the hx8357.

Re: [PATCH v3 1/7] ARM: at91/tc/clocksource: replace clk_enable/disable with clk_prepare_enable/disable_unprepare.

2013-07-16 Thread Daniel Lezcano
On 07/16/2013 05:05 PM, Boris BREZILLON wrote: Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to avoid common clk framework warnings. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com --- This patch is part of a series and the recipients are also Thomas and John

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

2013-07-16 Thread boris brezillon
Hello Thomas, On 16/07/2013 17:13, Thomas Petazzoni wrote: Dear Boris BREZILLON, On Tue, 16 Jul 2013 17:06:48 +0200, Boris BREZILLON wrote: buf = kmalloc(ATMCI_REGS_SIZE, GFP_KERNEL); if (!buf) @@ -389,9 +391,13 @@ static int atmci_regs_show(struct seq_file *s, void *v)

Re: [ATTEND] How to act on LKML

2013-07-16 Thread Stefano Stabellini
On Mon, 15 Jul 2013, H. Peter Anvin wrote: On 07/15/2013 08:06 PM, Steven Rostedt wrote: Linus's point is that he wants to be honest, and cursing is his way of giving you the most direct way to understand how he honestly feels. What I don't get about anything of this is that I have

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

2013-07-16 Thread Paul Gortmaker
On 13-07-15 08:25 PM, H. Peter Anvin wrote: On 07/15/2013 05:21 PM, Greg KH wrote: However, it doesn't seem to happen too often, but it does underscore the need for a maintainer to be able to *retroactively* NAK a patch for stable, if it is uncovered that it isn't appropriate after all. I

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

2013-07-16 Thread Peter Zijlstra
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. If it can what happens if NMI is delivered in a section protected by local_irq_save()/local_irq_restore()? You deadlock. -- To

Re: [PATCH v2] sched: move h_load calculation to task_h_load

2013-07-16 Thread Peter Zijlstra
On Mon, Jul 15, 2013 at 05:49:19PM +0400, Vladimir Davydov wrote: The bad thing about update_h_load(), which computes hierarchical load factor for task groups, is that it is called for each task group in the system before every load balancer run, and since rebalance can be triggered very

[PATCH] mm: vmstats: tlb flush counters

2013-07-16 Thread Dave Hansen
I was investigating some TLB flush scaling issues and realized that we do not have any good methods for figuring out how many TLB flushes we are doing. It would be nice to be able to do these in generic code, but the arch-independent calls don't explicitly specify whether we actually need to do

Re: [PATCH 16/18] sched: Avoid overloading CPUs on a preferred NUMA node

2013-07-16 Thread Hillf Danton
On Mon, Jul 15, 2013 at 11:20 PM, Mel Gorman mgor...@suse.de wrote: + +static int task_numa_find_cpu(struct task_struct *p, int nid) +{ + int node_cpu = cpumask_first(cpumask_of_node(nid)); [...] + /* No harm being optimistic */ + if (idle_cpu(node_cpu)) +

Re: [GIT PULL] clockevents/clocksource: Add Marvell Orion SoC timer

2013-07-16 Thread Daniel Lezcano
On 07/08/2013 10:45 AM, Thomas Gleixner wrote: On Sun, 7 Jul 2013, Jason Cooper wrote: On Sun, Jul 07, 2013 at 05:30:31PM +0200, Thomas Gleixner wrote: I don't mind delaying half of a series so the drivers/ portion can land in mainline, and the rest can land in the next cycle. But when things

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

2013-07-16 Thread Ramkumar Ramachandra
Hi, So, I was trying to boot User-Mode Linux with a modern rootfs with systemd on it, and found that it wouldn't present me a prompt. I dug further, and found out that getty is not able to open /dev/tty1; I then tried the console-getty.service (which uses /dev/console), and it worked. The

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

2013-07-16 Thread Vivek Goyal
On Tue, Jul 16, 2013 at 05:37:09PM +0200, Michael Holzheu wrote: [..] The problem is that with the mmap patches we now use copy_oldmem_page() to copy the notes from oldmem into the notes_buf which has been allocated with vmalloc. The s390 version of copy_oldmem_page() bypasses the page tables

Re: [PATCH v3] rtc: Add MOXA ART RTC driver

2013-07-16 Thread Mark Brown
On Tue, Jul 16, 2013 at 04:04:07PM +0200, Jonas Jensen wrote: On 16 July 2013 15:13, Mark Brown broo...@kernel.org wrote: Since you're now using OF you should also be including a binding document. The binding document already exist in set of patches adding MOXA ART SoC support ( I intend

Re: [PATCH v2 2/2] clocksource/cadence_ttc: Reuse clocksource as sched_clock

2013-07-16 Thread Sören Brinkmann
On Tue, Jul 16, 2013 at 05:32:41PM +0200, Daniel Lezcano wrote: On 07/12/2013 02:08 PM, Michal Simek wrote: Acked-by: Michal Simek mon...@monstr.eu Applied to my tree for 3.12 thanks -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH v2] arch/um: make it work with defconfig and x86_64

2013-07-16 Thread Richard Weinberger
Am 15.07.2013 09:43, schrieb Ramkumar Ramachandra: Ping? Does this patch look okay? Yeah, patch looks ok. :) It's queued up for 3.12. I'm currently working on a patch series to remove SUBARCH completely. Thanks, //richard -- To unsubscribe from this list: send the line unsubscribe

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

2013-07-16 Thread Richard Weinberger
Hi! Am 16.07.2013 17:54, schrieb Ramkumar Ramachandra: Hi, So, I was trying to boot User-Mode Linux with a modern rootfs with systemd on it, and found that it wouldn't present me a prompt. I dug further, and found out that getty is not able to open /dev/tty1; I then tried the

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

2013-07-16 Thread Ramkumar Ramachandra
Richard Weinberger wrote: UML does not have CONFIG_VT. Not sure what this means. But recent systemd versions can deal with that. Nope, running systemd HEAD. I only recently figured out how to detect that um Linux is running [1]. [1]: https://github.com/systemd/systemd/commit/7080ea16 -- To

[RFC PATCH v5 0/1] drivers: mfd: Versatile Express SPC support

2013-07-16 Thread Lorenzo Pieralisi
Hello, version v5 of VExpress SPC driver, please read on the changelog for major changes and explanations. The probing scheme is unchanged, since after trying the early platform devices approach it appeared that the end result was no better than the current one. The only clean solution relies

[RFC PATCH v5 1/1] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-07-16 Thread Lorenzo Pieralisi
The TC2 versatile express core tile integrates a logic block that provides the interface between the dual cluster test-chip and the M3 microcontroller that carries out power management. The logic block, called Serial Power Controller (SPC), contains several memory mapped registers to control among

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

2013-07-16 Thread Jonathan Cameron
Lars-Peter Clausen l...@metafoo.de wrote: On 07/16/2013 11:58 AM, Jonathan Cameron wrote: On 07/15/2013 03:22 PM, Otavio Salvador wrote: Signed-off-by: Otavio Salvador ota...@ossystems.com.br seems a sensible facility to have available. Applied to the togreg branch of iio.git Can you

Re: [PATCH 16/18] sched: Avoid overloading CPUs on a preferred NUMA node

2013-07-16 Thread Mel Gorman
On Tue, Jul 16, 2013 at 11:55:24PM +0800, Hillf Danton wrote: On Mon, Jul 15, 2013 at 11:20 PM, Mel Gorman mgor...@suse.de wrote: + +static int task_numa_find_cpu(struct task_struct *p, int nid) +{ + int node_cpu = cpumask_first(cpumask_of_node(nid)); [...] + /* No harm

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

2013-07-16 Thread Michal Hocko
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 han...@cmpxchg.org, linux-kernel@vger.kernel.org,

Re: [PATCH 2/4] pinmux: Add TB10x pinmux driver

2013-07-16 Thread Stephen Warren
On 07/16/2013 02:47 AM, Christian Ruppert wrote: On Wed, Jul 10, 2013 at 01:27:52PM -0600, Stephen Warren wrote: On 07/08/2013 07:02 AM, Christian Ruppert wrote: ... OK, a small drawing of our hardware should make this clear, let's take an imaginary example of one port with 10 pins, one i2c

Re: [alsa-devel] [BUG] 3.10.[01] modprobe snd-... hangs

2013-07-16 Thread Lucas De Marchi
On Tue, Jul 16, 2013 at 5:28 AM, Philipp Hahn pmh...@pmhahn.de wrote: Hello, Am Dienstag 16 Juli 2013, 08:43:36 schrieb Takashi Iwai: At Tue, 16 Jul 2013 15:11:51 +0930, Rusty Russell wrote: Philipp Matthias Hahn pmh...@pmhahn.de writes: My x86_64 systems has some trouble loading some

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

2013-07-16 Thread Richard Weinberger
Am 16.07.2013 18:03, schrieb Ramkumar Ramachandra: Richard Weinberger wrote: UML does not have CONFIG_VT. Not sure what this means. UML does not have virtual consoles. But recent systemd versions can deal with that. Nope, running systemd HEAD. I only recently figured out how to detect

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

2013-07-16 Thread Jonathan Cameron
Lars-Peter Clausen l...@metafoo.de wrote: On 07/16/2013 02:01 PM, Otavio Salvador wrote: On Tue, Jul 16, 2013 at 7:26 AM, Lars-Peter Clausen l...@metafoo.de wrote: On 07/16/2013 11:58 AM, Jonathan Cameron wrote: On 07/15/2013 03:22 PM, Otavio Salvador wrote: Signed-off-by: Otavio Salvador

Re: [PATCH] nohz: Do not warn about unstable tsc unless user uses nohz_full

2013-07-16 Thread Frederic Weisbecker
On Tue, Jul 16, 2013 at 10:22:12AM -0400, Steven Rostedt wrote: If the user enables CONFIG_NO_HZ_FULL and runs the kernel on a machine with an unstable TSC, it will produce a WARN_ON dump as well as taint the kernel. This is a bit extreme for a kernel that just enables a feature but doesn't

Re: [PATCH] nohz: fix compile warning in tick_nohz_init()

2013-07-16 Thread Frederic Weisbecker
On Tue, Jul 16, 2013 at 12:18:47PM +0800, Li Zhong wrote: cpu is not used after commit 5b8621a68fdcd2baf1d3b413726f913a5254d46a Signed-off-by: Li Zhong zh...@linux.vnet.ibm.com Applied, thanks! --- kernel/time/tick-sched.c | 2 -- 1 file changed, 2 deletions(-) diff --git

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

2013-07-16 Thread Miklos Szeredi
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 the file does not exist. I think the question is

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); +

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