Re: [PATCH 3/3] vdso: preallocate new vmas

2013-10-18 Thread Richard Weinberger
Am 18.10.2013 02:50, schrieb Davidlohr Bueso: With the exception of um and tile, architectures that use the install_special_mapping() function, when setting up a new vma at program startup, do so with the mmap_sem lock held for writing. Unless there's an error, this process ends up allocating

[PATCH 4/3] x86/vdso: Optimize setup_additional_pages()

2013-10-18 Thread Ingo Molnar
* Davidlohr Bueso davidl...@hp.com wrote: --- a/arch/x86/vdso/vma.c +++ b/arch/x86/vdso/vma.c @@ -154,12 +154,17 @@ static int setup_additional_pages(struct linux_binprm *bprm, unsigned size) { struct mm_struct *mm = current-mm; + struct

Re: [PATCH v10 00/12] rework arch/x86/platform/[mrst = intel-mid]

2013-10-18 Thread Ingo Molnar
* David Cohen david.a.co...@linux.intel.com wrote: David Cohen (3): intel-mid: sfi: allow struct devs_id.get_platform_data to be NULL x86: intel-mid: add section for sfi device table intel_mid: move board related codes to their own platform_device.* files Fengguang Wu (1):

Re: [PATCH] init: fix in-place parameter modification regression

2013-10-18 Thread Rusty Russell
Krzysztof Mazur krzys...@podlesie.net writes: On Mon, Oct 14, 2013 at 12:34:02PM +0100, Pawel Moll wrote: So, assuming that it is actually legal to modify static_command_line in __setup()-s (and I must say I have rather mixed feelings about it ;-), I also have mixed feelings about that, but

Re: [PATCH v3 3/4] mmc: omap_hsmmc: Remux pins to support SDIO interrupt on AM335x

2013-10-18 Thread NeilBrown
On Sat, 5 Oct 2013 13:17:09 +0200 Andreas Fenkart afenk...@gmail.com wrote: The am335x can't detect pending cirq in PM runtime suspend. This patch reconfigures dat1 as a GPIO before going to suspend. SDIO interrupts are detected with the GPIO, while in runtime suspend, standard detection of

Re: [PATCH, resend] x86-64: don't track CPU model data that is used by 32-bit code only

2013-10-18 Thread Ingo Molnar
* Jan Beulich jbeul...@suse.com wrote: struct cpu_dev's c_models is only ever set inside CONFIG_X86_32 conditionals (or code that's being built for 32-bit only), so there's no use of reserving the (empty) space for the model names in a 64-bit kernel. Similarly, c_size_cache is only used

Re: [PATCH] x86: honor ACPI FADT flag indicating absence of a CMOS RTC

2013-10-18 Thread Ingo Molnar
* Jan Beulich jbeul...@suse.com wrote: We shouldn't be creating a corresponding platform device in that case. There's a sad lack of context in the changelog, how was it found, does this address any problem/bug observed in practice, etc? Signed-off-by: Jan Beulich jbeul...@suse.com ---

Re: [BUG 3.12.rc4] Oops: unable to handle kernel paging request during shutdown

2013-10-18 Thread Ingo Molnar
* Frederic Weisbecker fweis...@gmail.com wrote: On Tue, Oct 15, 2013 at 08:40:25AM +0200, Ingo Molnar wrote: * Frederic Weisbecker fweis...@gmail.com wrote: I've been thinking that CONFIG_DEBUG_LIST could help. Unfortunately it's good to spot list APIs misuse but, if Linus is

Re: [PATCH net V2 1/2] virtio-net: don't respond to cpu hotplug notifier if we're not ready

2013-10-18 Thread Rusty Russell
David Miller da...@davemloft.net writes: From: Rusty Russell ru...@rustcorp.com.au Date: Fri, 18 Oct 2013 11:30:15 +1030 Asking people to express 'CC: stable' in words is error-prone; if Dave wants to filter it, he's quite capable. Filtering it one time is one thing. Potentially acting on

Re: [PATCH] x86: Run checksumming in parallel accross multiple alu's

2013-10-18 Thread Ingo Molnar
* H. Peter Anvin h...@zytor.com wrote: On 10/17/2013 01:41 AM, Ingo Molnar wrote: To correctly simulate the workload you'd have to: - allocate a buffer larger than your L2 cache. - to measure the effects of the prefetches you'd also have to randomize the individual buffer

Re: [PATCH 2/2] KVM: x86: fix KVM_SET_XCRS loop

2013-10-18 Thread Paolo Bonzini
Il 18/10/2013 02:04, Marcelo Tosatti ha scritto: On Thu, Oct 17, 2013 at 04:50:47PM +0200, Paolo Bonzini wrote: The loop was always using 0 as the index. This means that any rubbish after the first element of the array went undetected. It seems reasonable to assume that no KVM userspace did

Re: [PATCH v8 0/9] rwsem performance optimizations

2013-10-18 Thread Ingo Molnar
* Tim Chen tim.c.c...@linux.intel.com wrote: It would be _really_ nice to stick this into tools/perf/bench/ as: perf bench mem pagefaults or so, with a number of parallelism and workload patterns. See tools/perf/bench/numa.c for a couple of workload generators - although

Re: [PATCH 1/3 v2] regulator: core: Add ability to create a lookup alias for supply

2013-10-18 Thread Lee Jones
On Fri, 18 Oct 2013, Mark Brown wrote: On Tue, Oct 15, 2013 at 08:14:20PM +0100, Charles Keepax wrote: These patches add the ability to create an alternative device on which a lookup for a certain supply should be conducted. Applied, thanks. This can't really be applied without pulling

Re: [PATCH v3] sound: pci: emu10k1: code refactoring

2013-10-18 Thread Takashi Iwai
At Thu, 17 Oct 2013 19:57:12 -0300, Geyslan G. Bem wrote: Partially restructures _snd_emu10k1_audigy_init_efx() and _snd_emu10k1_init_efx() functions. Be noted that the cast is demanded to use '__user'. So, in these cases, avoid patches based on the coccinelle 'drop_kmalloc_cast' semantic

[PATCH 1/1] drivers/vga: check decodes for vgaarb lock/unlock

2013-10-18 Thread Li, Zhen-Hua
There is a bug that X windows system may use an invalid decodes iostat on the VGA Arbiter device when lock and unlock. this may cause system crash. So we must validate the value of iostat. Signed-off-by: Li, Zhen-Hua zhen-h...@hp.com --- drivers/gpu/vga/vgaarb.c | 55

[PATCH] m68k/atari: Call paging_init() before nf_init()

2013-10-18 Thread Geert Uytterhoeven
nf_init() uses virt_to_phys(), which depends on m68k_memoffset being set and module_fixup() having been called, but this is only done in paging_init(). Hence call paging_init() before nf_init(). This went unnoticed, as virt_to_phys() is a no-op on Atari, unless you start fiddling with the memory

Re: [PATCH net V2 1/2] virtio-net: don't respond to cpu hotplug notifier if we're not ready

2013-10-18 Thread David Miller
From: Rusty Russell ru...@rustcorp.com.au Date: Fri, 18 Oct 2013 16:47:14 +1030 Do you want awk script to turn the latter into the former? Would that really help? Rusty in the several years I've been operating this way, you're the first person who seems to mind it. To be honest I sometimes

Re: trace-cmd problem with FC19

2013-10-18 Thread Arend van Spriel
On 10/17/2013 11:11 PM, Bob Copeland wrote: On Thu, Oct 17, 2013 at 04:56:56PM -0400, Steven Rostedt wrote: Hmm, are you sure? You may want to do both: sudo trace-cmd -v which trace-cmd Aaargh, bullocks! My home dir is an NFS mount on FC19 x64 machine and it has a 32-bit trace-cmd

Re: [PATCH v2] usb: phy: omap: Add omap-control Support for AM437x

2013-10-18 Thread Roger Quadros
On 10/15/2013 01:02 PM, George Cherian wrote: This adds omap control module support for USBSS in AM437x SoC. Update DT binding information to reflect these changes. Signed-off-by: George Cherian george.cher...@ti.com Acked-by: Roger Quadros rog...@ti.com --- Changes from v1: Make

Re: [PATCH 1/7] static_key: flush rate limit timer on rmmod

2013-10-18 Thread Radim Krčmář
2013-10-17 12:35+0200, Paolo Bonzini: Il 17/10/2013 12:10, Radim Krčmář ha scritto: Fix a bug when we free module memory while timer is pending by marking deferred static keys and flushing the timer on module unload. Also make static_key_rate_limit() useable more than once.

Re: [PATCH] m68k/atari: Call paging_init() before nf_init()

2013-10-18 Thread Michael Schmitz
Geert, does your fiddling with memory blocks in bootinfo now result in kernels being possible to boot in FastRAM? Cheers, Michael nf_init() uses virt_to_phys(), which depends on m68k_memoffset being set and module_fixup() having been called, but this is only done in paging_init().

Re: [PATCH v3 3/4] mmc: omap_hsmmc: Remux pins to support SDIO interrupt on AM335x

2013-10-18 Thread Balaji T K
On Friday 18 October 2013 11:50 AM, NeilBrown wrote: On Sat, 5 Oct 2013 13:17:09 +0200 Andreas Fenkart afenk...@gmail.com wrote: The am335x can't detect pending cirq in PM runtime suspend. This patch reconfigures dat1 as a GPIO before going to suspend. SDIO interrupts are detected with the

Re: [PATCH v2 1/2] ata: ahci_platform: Manage SATA PHY

2013-10-18 Thread Roger Quadros
On 10/17/2013 04:57 PM, Bartlomiej Zolnierkiewicz wrote: Hi, On Wednesday, October 16, 2013 02:42:52 PM Roger Quadros wrote: From: Balaji T K balaj...@ti.com Some platforms have a PHY hooked up to the SATA controller. The PHY needs to be initialized and powered up for SATA to work. We

Re: [PATCH 4/7] static_key: use static_key_slow_inc_deferred()

2013-10-18 Thread Radim Krčmář
2013-10-17 12:39+0200, Paolo Bonzini: Il 17/10/2013 12:10, Radim Krčmář ha scritto: Simple replacement where possible. Saves us problematic access to the structure and allows optimalizations and bug fixes to take place. I think you should introduce this first as a simple wrapper around

Re: [PATCH 5/7] jump_label: relax branch hinting restrictions

2013-10-18 Thread Radim Krčmář
2013-10-17 13:35-0400, Steven Rostedt: On Thu, 17 Oct 2013 12:10:28 +0200 Radim Krčmář rkrc...@redhat.com wrote: We implemented the optimized branch selection in higher levels of api. That made static_keys very unintuitive, so this patch introduces another element to jump_table, carrying

Re: [PATCH] x86: honor ACPI FADT flag indicating absence of a CMOS RTC

2013-10-18 Thread Jan Beulich
On 18.10.13 at 08:29, Ingo Molnar mi...@kernel.org wrote: * Jan Beulich jbeul...@suse.com wrote: We shouldn't be creating a corresponding platform device in that case. There's a sad lack of context in the changelog, how was it found, does this address any problem/bug observed in

Re: [PATCH] m68k/atari: Call paging_init() before nf_init()

2013-10-18 Thread Geert Uytterhoeven
On Fri, Oct 18, 2013 at 9:29 AM, Michael Schmitz schm...@biophys.uni-duesseldorf.de wrote: does your fiddling with memory blocks in bootinfo now result in kernels being possible to boot in FastRAM? No, I only played with the start address of ST-RAM. Probably you can run a kernel in FastRAM

Re: [PATCH 4/6] pinctrl: single: Add support for wake-up interrupts

2013-10-18 Thread Balaji T K
On Friday 11 October 2013 09:31 PM, Tony Lindgren wrote: * Linus Walleij linus.wall...@linaro.org [131011 09:05]: On Fri, Oct 11, 2013 at 5:43 PM, Tony Lindgren t...@atomide.com wrote: * Linus Walleij linus.wall...@linaro.org [131011 03:40]: On Fri, Oct 11, 2013 at 10:56 AM, Roger Quadros

Re: linux-next: Tree for Oct 17

2013-10-18 Thread Olof Johansson
On Fri, Oct 18, 2013 at 01:38:47AM +0100, Mark Brown wrote: Hi all, I've uploaded today's linux-next tree to the master branch of the repository below: git://gitorious.org/thierryreding/linux-next.git A next-20131017 tag is also provided for convenience. One new conflict

Re: [PATCH v3 3/4] mmc: omap_hsmmc: Remux pins to support SDIO interrupt on AM335x

2013-10-18 Thread NeilBrown
On Fri, 18 Oct 2013 12:59:56 +0530 Balaji T K balaj...@ti.com wrote: On Friday 18 October 2013 11:50 AM, NeilBrown wrote: On Sat, 5 Oct 2013 13:17:09 +0200 Andreas Fenkart afenk...@gmail.com wrote: The am335x can't detect pending cirq in PM runtime suspend. This patch reconfigures

Re: [PATCH v2] pwm-backlight: allow for non-increasing brightness levels

2013-10-18 Thread Thierry Reding
On Sun, Sep 22, 2013 at 09:59:56AM -0700, Mike Dunn wrote: Currently the driver assumes that the values specified in the brightness-levels device tree property increase as they are parsed from left to right. But boards that invert the signal between the PWM output and the backlight will need

Re: [PATCH v5 13/17] clk: at91: add PMC usb clock

2013-10-18 Thread Nicolas Ferre
On 17/10/2013 18:55, Boris BREZILLON : This patch adds new at91 usb clock implementation using common clk framework. This clock is used to clock usb ports (ohci, ehci and udc). Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Ok, this one

Re: [PATCH] set data enable logic level to low

2013-10-18 Thread Tomi Valkeinen
On 14/10/13 01:44, Roel Kluin wrote: Signed-off-by: Roel Kluin roel.kl...@gmail.com --- drivers/video/omap2/dss/display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/omap2/dss/display.c b/drivers/video/omap2/dss/display.c index fafe7c9..669a81f

Re: [PATCH 1/2] vmsplice: unmap gifted pages for recipient

2013-10-18 Thread Vlastimil Babka
On 10/17/2013 03:48 PM, Robert Jennings wrote: * Vlastimil Babka (vba...@suse.cz) wrote: On 10/07/2013 10:21 PM, Robert C Jennings wrote: Introduce use of the unused SPLICE_F_MOVE flag for vmsplice to zap pages. When vmsplice is called with flags (SPLICE_F_GIFT | SPLICE_F_MOVE) the writer's

[PATCH] mm/pagewalk.c: Fix walk_page_range access wrong PTEs

2013-10-18 Thread linx . z . chen
From: Chen LinX linx.z.c...@intel.com When walk_page_range walk a memory map's page tables, it'll skip VM_PFNMAP area, then variable 'next' will to assign to vma-vm_end, it maybe larger than 'end'. In next loop, 'addr' will be larger than 'next'. Then in /proc//pagemap file reading procedure,

Re: [PATCH v4 00/17] ARM: at91: move to common clk framework

2013-10-18 Thread Nicolas Ferre
On 11/10/2013 09:37, Boris BREZILLON : Hello, This patch series is the 4th version of the new at91 clock implementation (using common clk framework). Mike, DT maintainers, Can you have a look at this series converting the AT91 family to common clock framework and associated Device Tree

Re: linux-next: Tree for Oct 17

2013-10-18 Thread Thierry Reding
On Fri, Oct 18, 2013 at 12:45:26AM -0700, Olof Johansson wrote: On Fri, Oct 18, 2013 at 01:38:47AM +0100, Mark Brown wrote: Hi all, I've uploaded today's linux-next tree to the master branch of the repository below: git://gitorious.org/thierryreding/linux-next.git A

Re: [PATCH v2 3/4] ARM: EXYNOS: add Exynos Dual Cluster Support

2013-10-18 Thread Tarek Dakhran
On 17.10.2013 19:46, Dave Martin wrote: On Mon, Oct 14, 2013 at 07:08:24PM +0400, Vyacheslav Tyrtov wrote: From: Tarek Dakhran t.dakh...@samsung.com Add EDCS(Exynos Dual Cluster Support) for Samsung Exynos5410 SoC. This enables all 8 cores, 4 x A7 and 4 x A15 run at the same time.

Re: [PATCH v5 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-10-18 Thread srinivas kandagatla
On 17/10/13 15:49, Lucas Stach wrote: Am Donnerstag, den 17.10.2013, 15:30 +0100 schrieb srinivas kandagatla: [...] Sorry to ask this but, Where is this requirement coming from? I have not spotted any thing as such in ePAPR specs. All the spec says is. === The compatible property value

Re: [PATCH RFC v2 0/6] ARM64: Add kernel probes(Kprobes) support

2013-10-18 Thread Masami Hiramatsu
(2013/10/17 20:17), Sandeepa Prabhu wrote: This patchset adds support for kernel probes(kprobes), jump probes(jprobes) and return probes(kretprobes) support for ARM64. Kprobes mechanism make use of software breakpoint and single stepping support available in ARM v8 kernel. Thank you! This

[PATCH v3 0/9] Extended H/W error log driver

2013-10-18 Thread Chen, Gong
[PATCH v3 1/9] ACPI, APEI, CPER: Fix status check during error printing [PATCH v3 2/9] ACPI, CPER: Update cper info [PATCH v3 3/9] bitops: Introduce a more generic BITMASK macro [PATCH v3 4/9] ACPI, x86: Extended error log driver for x86 platform [PATCH v3 5/9] DMI: Parse memory device (type 17)

Re: [RFC][PATCH 4/7] sched: power: Remove power capacity hints for kworker threads

2013-10-18 Thread Morten Rasmussen
On Thu, Oct 17, 2013 at 05:54:16PM +0100, Peter Zijlstra wrote: On Thu, Oct 17, 2013 at 05:40:38PM +0100, Morten Rasmussen wrote: On Mon, Oct 14, 2013 at 04:14:25PM +0100, Arjan van de Ven wrote: On 10/14/2013 6:33 AM, Peter Zijlstra wrote: On Fri, Oct 11, 2013 at 06:19:14PM +0100,

[PATCH v3 8/9] ACPI, APEI, CPER: Cleanup CPER memory error output format

2013-10-18 Thread Chen, Gong
Keep up only the most important fields for memory error reporting. The detail information will be moved to perf/trace interface. Suggested-by: Tony Luck tony.l...@intel.com Signed-off-by: Chen, Gong gong.c...@linux.intel.com Reviewed-by: Mauro Carvalho Chehab m.che...@samsung.com ---

[PATCH v3 5/9] DMI: Parse memory device (type 17) in SMBIOS

2013-10-18 Thread Chen, Gong
This patch adds a new interface to decode memory device (type 17) to help error reporting on DIMMs. Original-author: Tony Luck tony.l...@intel.com Signed-off-by: Chen, Gong gong.c...@linux.intel.com Acked-by: Naveen N. Rao naveen.n@linux.vnet.ibm.com Acked-by: Borislav Petkov b...@suse.de

[PATCH v3 2/9] ACPI, CPER: Update cper info

2013-10-18 Thread Chen, Gong
To prepare for the following patches and make related definition more clear, update some definitions about CPER. v2 - v1: Update some more definitions suggested by Boris Signed-off-by: Chen, Gong gong.c...@linux.intel.com Acked-by: Borislav Petkov b...@suse.de Reviewed-by: Mauro Carvalho Chehab

[PATCH v3 7/9] ACPI, APEI, CPER: Enhance memory reporting capability

2013-10-18 Thread Chen, Gong
After H/W error happens under FFM enabled mode, lots of information are shown but some important parts like DIMM location missed. This patch is used to show these extra fileds. Original-author: Tony Luck tony.l...@intel.com Signed-off-by: Chen, Gong gong.c...@linux.intel.com Acked-by: Naveen N.

[PATCH v3 4/9] ACPI, x86: Extended error log driver for x86 platform

2013-10-18 Thread Chen, Gong
This H/W error log driver (a.k.a eMCA driver) is implemented based on http://www.intel.com/content/www/us/en/architecture-and-technology/enhanced-mca-logging-xeon-paper.html After errors are captured, more valuable information can be got via this new enhanced H/W error log driver. v3 - v2: fix a

[PATCH v3 9/9] EDAC, GHES: Update ghes error record info

2013-10-18 Thread Chen, Gong
In latest UEFI spec(by now it's 2.4) there are some new fields for memory error reporting. Add these new fields for ghes_edac interface. Signed-off-by: Chen, Gong gong.c...@linux.intel.com Cc: Mauro Carvalho Chehab m.che...@samsung.com --- drivers/edac/ghes_edac.c | 11 +++

Re: [PATCH] mm: Check for NULL return values from allocating functions

2013-10-18 Thread Jan Kara
On Thu 17-10-13 07:49:34, Laura Abbott wrote: A security audit revealed that several functions were not checking return value of allocation functions. These allocations may return NULL which may lead to NULL pointer dereferences and crashes or security concerns. Fix this by properly checking

[PATCH v3 6/9] ACPI, APEI, CPER: Add UEFI 2.4 support for memory error

2013-10-18 Thread Chen, Gong
In latest UEFI spec(by now it is 2.4) memory error definition for CPER (UEFI 2.4 Appendix N Common Platform Error Record) adds some new fields. These fields help people to locate memory error on actual DIMM location. Original-author: Tony Luck tony.l...@intel.com Signed-off-by: Chen, Gong

[PATCH v3 3/9] bitops: Introduce a more generic BITMASK macro

2013-10-18 Thread Chen, Gong
GENMASK is used to create a contiguous bitmask([hi:lo]). It is implemented twice in current kernel. One is in EDAC driver, the other is in SiS/XGI FB driver. Move it to a more generic place for other usage. Signed-off-by: Chen, Gong gong.c...@linux.intel.com Cc: Borislav Petkov b...@alien8.de Cc:

[PATCH v3 1/9] ACPI, APEI, CPER: Fix status check during error printing

2013-10-18 Thread Chen, Gong
Commit aaf9d93 only catches condition check before print, but the similar check is needed during printing CPER error sections. Signed-off-by: Chen, Gong gong.c...@linux.intel.com Reviewed-by: Borislav Petkov b...@suse.de Reviewed-by: Mauro Carvalho Chehab m.che...@samsung.com ---

[PATCH] init: make init failures more explicit

2013-10-18 Thread Michael Opdenacker
This patch proposes to make init failures more explicit. Before this, the No init found message didn't help much. It could sometimes be misleading and actually mean No *working* init found. This message could hide many different issues: - no init program candidates found at all - some init

Re: [RFC][PATCH 4/7] sched: power: Remove power capacity hints for kworker threads

2013-10-18 Thread Morten Rasmussen
On Thu, Oct 17, 2013 at 06:18:38PM +0100, Arjan van de Ven wrote: cpufreq has pre- and post-change notifiers so the current TC2 clock driver yeah those are EVIL ;-) waits (yields) in its clk_set_rate() implementation until the change has happened to ensure that the post-change

Re: [PATCH v4 2/7] arm64: introduce interfaces to hotpatch kernel and module code

2013-10-18 Thread Will Deacon
Hi Tixy, On Thu, Oct 17, 2013 at 04:24:01PM +0100, Jon Medhurst (Tixy) wrote: On Thu, 2013-10-17 at 12:38 +0100, Will Deacon wrote: On Thu, Oct 17, 2013 at 07:19:35AM +0100, Jiang Liu wrote: + /* + * Execute __aarch64_insn_patch_text() on every online CPU, + * which ensure

Re: [PATCH] init: make init failures more explicit

2013-10-18 Thread Kieran Bingham
Fantastic I've been hurt by this in the past - and this patch would certainly would have helped save some time! -- Kieran On 18 October 2013 09:47, Michael Opdenacker michael.opdenac...@free-electrons.com wrote: This patch proposes to make init failures more explicit. Before this, the No

module: Documentation/module-signing.txt?

2013-10-18 Thread Paul Bolle
Rusty, Since v3.7 there's a link to Documentation/module-signing.txt in init/Kconfig. It was added by your commit 106a4ee258d1 (module: signature checking hook). It seems that this file was never added to the tree. Is it perhaps queued somewhere? Paul Bolle -- To unsubscribe from this list:

Re: [PATCH v2 3/6] ARM: at91/dt: define sama5d3 clocks

2013-10-18 Thread Nicolas Ferre
On 11/10/2013 14:43, Boris BREZILLON : Define sama5d3 clocks in sama5d3 device tree. Add references to the appropriate clocks in each peripheral. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com good: Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/sama5d3.dtsi

Re: [PATCH v2 6/6] ARM: at91/dt: remove old clk material

2013-10-18 Thread Nicolas Ferre
On 11/10/2013 14:43, Boris BREZILLON : This patch removes the old main clk node which is now useless as sama5d3 SoCs and boards are no longer compatible with the old at91 clk implementations. It also remove old clock definitions (clock definitions using at91 old clk framework). Signed-off-by:

[PATCH v6] media: st-rc: Add ST remote control driver

2013-10-18 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds support to ST RC driver, which is basically a IR/UHF receiver and transmitter. This IP (IRB) is common across all the ST parts for settop box platforms. IRB is embedded in ST COMMS IP block. It supports both Rx Tx

Re: [PATCH] init: fix in-place parameter modification regression

2013-10-18 Thread Krzysztof Mazur
On Fri, Oct 18, 2013 at 02:20:38PM +1030, Rusty Russell wrote: Back when there was almost no parameter parsing support, everyone got used to keeping pointers into the original. Making everyone kstrdup() seems like gratuitous churn which is likely to make more bugs. Your fix means __setup()

Re: [PATCH v3 0/9] Extended H/W error log driver

2013-10-18 Thread Borislav Petkov
On Fri, Oct 18, 2013 at 04:23:35AM -0400, Chen, Gong wrote: OK, this is the 3rd version. Hope it is the last one :-). It looks ok to me so far, I'm guessing Tony you're picking this up or should I? this version just updates some minors places and apply some Ack/Review information. In this

Re: [PATCH] init: make init failures more explicit

2013-10-18 Thread Geert Uytterhoeven
On Fri, Oct 18, 2013 at 10:47 AM, Michael Opdenacker michael.opdenac...@free-electrons.com wrote: + if (ret ret != -ENOENT) { + pr_err(Starting init: %s exists but couldn't execute it\n, I think it makes sense to also print the value of ret here. Apart from your -ENOEXEC

[PATCH 1/2] f2fs: use true and false for boolean value

2013-10-18 Thread Haicheng Li
Signed-off-by: Haicheng Li haicheng...@linux.intel.com --- fs/f2fs/segment.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 3b20359..862fef3 100644 --- a/fs/f2fs/segment.c +++ b/fs/f2fs/segment.c @@ -1277,9 +1277,9 @@ static

[PATCH 2/2] f2fs: no need to check other dirty_segmap when the seg has been found

2013-10-18 Thread Haicheng Li
Because one dirty seg can only be mapped to one dirty_type. Otherwise, it's a bug. Signed-off-by: Haicheng Li haicheng...@linux.intel.com --- fs/f2fs/segment.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index

Build error for nommu if CONFIG_DEBUG_ATOMIC_SLEEP is selected

2013-10-18 Thread Axel Lin
Hi Michael, I got below build error for nommu if CONFIG_DEBUG_ATOMIC_SLEEP is selected. Also got the same build error if CONFIG_PROVE_LOCKING is selected. Seems this issue is introduced by commit 662bbcb2747c2 mm, sched: Allow uaccess in atomic with pagefault_disable().

Re: [PATCH] init: make init failures more explicit

2013-10-18 Thread Michael Opdenacker
Hi Geert, On 10/18/2013 11:23 AM, Geert Uytterhoeven wrote: On Fri, Oct 18, 2013 at 10:47 AM, Michael Opdenacker michael.opdenac...@free-electrons.com wrote: + if (ret ret != -ENOENT) { + pr_err(Starting init: %s exists but couldn't execute it\n, I think it makes sense

Re: [PATCH 2/5] mfd: tc3589x: detect the precise version

2013-10-18 Thread Linus Walleij
On Wed, Oct 16, 2013 at 11:23 AM, Lee Jones lee.jo...@linaro.org wrote: On Tue, 15 Oct 2013, Linus Walleij wrote: static const struct i2c_device_id tc3589x_id[] = { - { tc3589x, 24 }, + { tc35890, TC3589X_TC35890 }, + { tc35892, TC3589X_TC35892 }, + { tc35893,

Re: [PATCH] init: make init failures more explicit

2013-10-18 Thread Janne Karhunen
On Fri, Oct 18, 2013 at 11:47 AM, Michael Opdenacker michael.opdenac...@free-electrons.com wrote: This patch proposes to make init failures more explicit. Before this, the No init found message didn't help much. It could sometimes be misleading and actually mean No *working* init found.

Re: [PATCH 1/5] mfd: tc3589x: add device tree bindings

2013-10-18 Thread Linus Walleij
On Wed, Oct 16, 2013 at 11:08 AM, Lee Jones lee.jo...@linaro.org wrote: 1. MFD patches have the following syntax: mfd: device[-sub]: Description /* Note the uppercase 'D' */ Sure fixed this. 2. The binding document is normally attached to the patch which applies the bindings, unless we've

Re: [PATCH 1/2] mmc: dw_mmc: Cleanup disable of low power mode w/ SDIO interrupts

2013-10-18 Thread Jaehoon Chung
Hi Doug, On 10/16/2013 07:39 AM, Doug Anderson wrote: In the patch (9623b5b mmc: dw_mmc: Disable low power mode if SDIO interrupts are used) I added code that disabled the low power mode of dw_mmc when SDIO interrupts are used. That code worked but always felt a little hacky because we ended

Re: [PATCH] tracing: fix referencing after memory freeing and refactors code

2013-10-18 Thread Geyslan Gregório Bem
2013/10/17 Steven Rostedt rost...@goodmis.org: On Thu, 17 Oct 2013 22:44:56 -0300 Geyslan G. Bem geys...@gmail.com wrote: Restructures function logic conditions testing 'tracing_open_generic' return before the others. It avoids: unnecessary trace_array_get and kzalloc when tracing is

RE: [PATCH 2/2 v2] irqchip: mmp: add dt support for wakeup

2013-10-18 Thread Neil Zhang
Ping ? -Original Message- From: Neil Zhang [mailto:zhan...@marvell.com] Sent: 2013年10月11日 16:24 To: linux-kernel@vger.kernel.org Cc: haojian.zhu...@gmail.com; t...@linutronix.de; Neil Zhang Subject: [PATCH 2/2 v2] irqchip: mmp: add dt support for wakeup Some of the Marvell SoCs

Re: [PATCH 2/2] mmc: dw_mmc: Protect read-modify-write of INTMASK with a lock

2013-10-18 Thread Jaehoon Chung
On 10/17/2013 05:23 AM, James Hogan wrote: Hi Doug, On 16 October 2013 17:43, Doug Anderson diand...@chromium.org wrote: On Wed, Oct 16, 2013 at 2:49 AM, James Hogan james.ho...@imgtec.com wrote: We can't just use the standard host-lock since that lock is not irq safe and

[PATCH 1/5 v2] mfd: tc3589x: Add device tree bindings

2013-10-18 Thread Linus Walleij
This defines the device tree bindings for the Toshiba TC3589x series of multi-purpose expanders. Only the stuff I can test is defined: GPIO and keypad. Others may implement more subdevices further down the road. This is to complement commit a435ae1d51e2f18414f2a87219fdbe068231e692 mfd: Enable the

[PATCH 2/5 v2] mfd: tc3589x: Detect the precise version

2013-10-18 Thread Linus Walleij
Instead of detecting the tc3589x and hard-coding the number of GPIO pins to 24, encode all the possible subtypes and set the number of GPIO pins from the type. Signed-off-by: Linus Walleij linus.wall...@linaro.org --- ChangeLog v1-v2: - Compress the switch tree to the two variables we currently

Re: [PATCH v3 6/7] arm64, jump label: optimize jump label implementation

2013-10-18 Thread Will Deacon
Hi guys, On Fri, Oct 18, 2013 at 04:31:22AM +0100, Jiang Liu (Gerry) wrote: On 2013/10/17 23:27, Steven Rostedt wrote: On Thu, 17 Oct 2013 22:40:32 +0800 Jiang Liu liu...@gmail.com wrote: You could make the code more concise by limiting your patching ability to branch immediates.

[PATCH] thermal: Fix binding problem when there is thermal zone params

2013-10-18 Thread Wei Ni
The thermal zone params can be used to set governor to specific thermal governor for thermal zone device. But if the thermal zone params has only governor name without thermal bind params, then the thermal zone device will not be binding to cooling device. Because tz-ops-bind operator is not

[PATCH] genirq: error reporting for non-percpu interrupt in request_percpu_irq()

2013-10-18 Thread Vinayak Kale
Return a separate error code when a non-percpu interrupt is passed to request_percpu_irq(). Suggested-by: Will Deacon will.dea...@arm.com Signed-off-by: Vinayak Kale vk...@apm.com --- kernel/irq/manage.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v3 3/4] mmc: omap_hsmmc: Remux pins to support SDIO interrupt on AM335x

2013-10-18 Thread Javier Martinez Canillas
On Fri, Oct 18, 2013 at 8:20 AM, NeilBrown ne...@suse.de wrote: On Sat, 5 Oct 2013 13:17:09 +0200 Andreas Fenkart afenk...@gmail.com wrote: The am335x can't detect pending cirq in PM runtime suspend. This patch reconfigures dat1 as a GPIO before going to suspend. SDIO interrupts are detected

Re: [PATCH] genirq: error reporting for non-percpu interrupt in request_percpu_irq()

2013-10-18 Thread Vinayak Kale
Need for this patch is discussed in mail-thread [1]. [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2013-October/204414.html Thanks -Vinayak On Fri, Oct 18, 2013 at 3:36 PM, Vinayak Kale vk...@apm.com wrote: Return a separate error code when a non-percpu interrupt is passed to

Re: [PATCH 1/2] ARM: SMMU: add devices attached to the SMMU to an IOMMU group

2013-10-18 Thread Antonios Motakis
On Mon, Oct 14, 2013 at 7:07 PM, Will Deacon will.dea...@arm.com wrote: On Mon, Oct 14, 2013 at 04:13:15PM +0100, Antonios Motakis wrote: On Mon, Oct 14, 2013 at 2:48 PM, Will Deacon will.dea...@arm.com wrote: diff --git a/drivers/iommu/arm-smmu.c b/drivers/iommu/arm-smmu.c index

Re: [PATCH] genirq: error reporting for non-percpu interrupt in request_percpu_irq()

2013-10-18 Thread Will Deacon
On Fri, Oct 18, 2013 at 11:06:29AM +0100, Vinayak Kale wrote: Return a separate error code when a non-percpu interrupt is passed to request_percpu_irq(). Suggested-by: Will Deacon will.dea...@arm.com Signed-off-by: Vinayak Kale vk...@apm.com --- kernel/irq/manage.c |6 -- 1 file

[PATCH 1/1] mfd: max77693: Include linux/of.h header

2013-10-18 Thread Sachin Kamat
'of_match_ptr' is defined in linux/of.h. Include it explicitly to avoid build breakage in the future. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: SangYoung, Son hello@samsung.com --- drivers/mfd/max77693.c |1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 2/5 v2] mfd: tc3589x: Detect the precise version

2013-10-18 Thread Lee Jones
On Fri, 18 Oct 2013, Linus Walleij wrote: Instead of detecting the tc3589x and hard-coding the number of GPIO pins to 24, encode all the possible subtypes and set the number of GPIO pins from the type. Signed-off-by: Linus Walleij linus.wall...@linaro.org --- ChangeLog v1-v2: - Compress

Re: [PATCH 2/5] mfd: tc3589x: detect the precise version

2013-10-18 Thread Lee Jones
Whoops, read this after. Fair enough. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] x86: honor ACPI FADT flag indicating absence of a CMOS RTC

2013-10-18 Thread Ingo Molnar
* Jan Beulich jbeul...@suse.com wrote: On 18.10.13 at 08:29, Ingo Molnar mi...@kernel.org wrote: * Jan Beulich jbeul...@suse.com wrote: We shouldn't be creating a corresponding platform device in that case. There's a sad lack of context in the changelog, how was it found, does

Re: [PATCH] tracing: fix referencing after memory freeing and refactors code

2013-10-18 Thread Geyslan Gregório Bem
2013/10/18 Geyslan Gregório Bem geys...@gmail.com: 2013/10/17 Steven Rostedt rost...@goodmis.org: On Thu, 17 Oct 2013 22:44:56 -0300 Geyslan G. Bem geys...@gmail.com wrote: Restructures function logic conditions testing 'tracing_open_generic' return before the others. It avoids: unnecessary

Re: [PATCH] genirq: error reporting for non-percpu interrupt in request_percpu_irq()

2013-10-18 Thread Vinayak Kale
Hi Will, On Fri, Oct 18, 2013 at 4:01 PM, Will Deacon will.dea...@arm.com wrote: On Fri, Oct 18, 2013 at 11:06:29AM +0100, Vinayak Kale wrote: Return a separate error code when a non-percpu interrupt is passed to request_percpu_irq(). Suggested-by: Will Deacon will.dea...@arm.com

Re: [PATCH 8/8] ACPI / trace: Add trace interface for eMCA driver

2013-10-18 Thread Naveen N. Rao
On 10/16/2013 04:19 PM, Borislav Petkov wrote: Btw, I don't know what's the problem but when I hit reply-to-all to your emails, mutt drops your email address from the To: and makes the CC: list become the To: list. Strange. I'm seeing the same thing. Looking at the headers, Chen Gong's email

[PATCH V3 3/6] USB: OHCI: Properly handle ohci-s3c2410 suspend

2013-10-18 Thread Majunath Goudar
Suspend scenario in case of ohci-s3c2410 glue was not properly handled as it was not suspending generic part of ohci controller. Alan Stern suggested, properly handle ohci-s3c2410 suspend scenario. Calling explicitly the ohci_suspend() routine in ohci_hcd_s3c2410_drv_suspend() will ensure proper

[PATCH V3 5/6] USB: OHCI: Properly handle ohci-exynos suspend

2013-10-18 Thread Majunath Goudar
Suspend scenario in case of ohci-exynos glue was not properly handled as it was not suspending generic part of ohci controller. Alan Stern suggested, properly handle ohci-exynos suspend scenario. Calling explicitly the ohci_suspend() routine in exynos_ohci_suspend() will ensure proper handling of

Re: [PATCH 2/8] ACPI, CPER: Update cper info

2013-10-18 Thread Naveen N. Rao
Gong, This mail seems to have missed copying you given the header issues. Thanks, Naveen On 10/17/2013 05:51 PM, Naveen N. Rao wrote: On 10/16/2013 07:09 AM, Chen Gong wrote: On Tue, Oct 15, 2013 at 11:47:23PM +0530, Naveen N. Rao wrote: Date: Tue, 15 Oct 2013 23:47:23 +0530 From: Naveen N.

Re: [PATCH] netfilter: fix ordering of jumpstack allocation and table update

2013-10-18 Thread Pablo Neira Ayuso
On Thu, Oct 17, 2013 at 02:24:33PM +0100, Will Deacon wrote: During kernel stability testing on an SMP ARMv7 system, Yalin Wang reported the following panic from the netfilter code: 1fe0: 001c 5e2d3b10 4007e779 4009e110 6010 0032 ff565656 ff545454 [c06c48dc]

RE: [PATCH] mm/pagewalk.c: Fix walk_page_range access wrong PTEs

2013-10-18 Thread Kirill A. Shutemov
linx.z.chen@ wrote: From: Chen LinX linx.z.c...@intel.com When walk_page_range walk a memory map's page tables, it'll skip VM_PFNMAP area, then variable 'next' will to assign to vma-vm_end, it maybe larger than 'end'. In next loop, 'addr' will be larger than 'next'. Then in

Re: [PATCH v3 0/3] New descriptor-based GPIO interface

2013-10-18 Thread Linus Walleij
On Thu, Oct 17, 2013 at 7:21 PM, Alexandre Courbot acour...@nvidia.com wrote: Hi Linus, This version should merge as-is in your tree (I hope!). A patch for documentation will follow soon. Changes since v2: - rebased on top of Linus' for-next branch - exported new gpiod_(un)lock_as_irq()

[PATCH v2 2/2] m68k/amiga: Provide mach_random_get_entropy()

2013-10-18 Thread Geert Uytterhoeven
Use the beam position registers, which provide at least 17 bits of data changing at 1.79 MHz. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- v2: - Use beam position registers (which provide a faster rate but less bits) instead of 24-bit Time-Of-Day clock in CIA B running at

[PATCH v2 1/2] m68k: Add infrastructure for machine-specific random_get_entropy()

2013-10-18 Thread Geert Uytterhoeven
On m68k, get_cycles() (the default implementation for random_get_entropy()) always returns zero, providing no entropy for the random driver. Add a hook where platforms can provide their own implementation, and wire it up in the infrastructure provided by commit

Re: linux-next: Tree for Oct 17

2013-10-18 Thread Guenter Roeck
On 10/18/2013 12:45 AM, Olof Johansson wrote: On Fri, Oct 18, 2013 at 01:38:47AM +0100, Mark Brown wrote: Hi all, I've uploaded today's linux-next tree to the master branch of the repository below: git://gitorious.org/thierryreding/linux-next.git A next-20131017 tag is also provided

Re: [PATCH RFC] media: rc: OF: Add Generic bindings for remote-control

2013-10-18 Thread Mark Rutland
On Wed, Oct 09, 2013 at 01:17:30PM +0100, srinivas kandagatla wrote: .../devicetree/bindings/media/remote-control.txt | 31 1 files changed, 31 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/remote-control.txt

  1   2   3   4   5   6   7   8   9   10   >