[GIT PULL] scheduler tree updates for v3.20

2015-02-09 Thread Ingo Molnar
Linus, Please pull the latest sched-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-core-for-linus # HEAD: 139b6fd26d85a65c4e0d2795b87b94f9505e5943 sched/Documentation: Remove unneeded word The main scheduler changes in this cycle were:

[PATCH 0/3] ARM: at91: at91sam9n12ek: enable usb gadget support

2015-02-09 Thread Bo Shen
This patch series enable the usb gadget support on at91sam9n12ek board. On at91sam9n12 SoC which integrate the full speed udc device. Bo Shen (3): USB: gadget: at91_udc: add at91sam9n12 support ARM: at91: dt: at91sam9n12: add udp device node ARM: at91: dt: at91sam9n12ek: enable udp

[PATCH] KVM: x86: emulate: correct page fault error code for NoWrite instructions

2015-02-09 Thread Paolo Bonzini
NoWrite instructions (e.g. cmp or test) never set the write access bit in the error code, even if one of the operands is treated as a destination. Fixes: c205fb7d7d4f81e46fc577b707ceb9e356af1456 Cc: Nadav Amit na...@cs.technion.ac.il Signed-off-by: Paolo Bonzini pbonz...@redhat.com ---

[PATCH 1/3] USB: gadget: at91_udc: add at91sam9n12 support

2015-02-09 Thread Bo Shen
Add at91sam9n12 SoC support. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/usb/gadget/udc/at91_udc.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/udc/at91_udc.c b/drivers/usb/gadget/udc/at91_udc.c index c862656..f4c785f 100644 ---

Re: [PATCH 6/8] fbdev: ssd1307fb: Add module parameter to set update delay of the deffered io.

2015-02-09 Thread Maxime Ripard
On Sat, Feb 07, 2015 at 05:12:11PM +0100, Thomas Niederprüm wrote: Am Sat, 7 Feb 2015 12:26:27 +0100 schrieb Maxime Ripard maxime.rip...@free-electrons.com: On Fri, Feb 06, 2015 at 11:28:12PM +0100, nied...@physik.uni-kl.de wrote: From: Thomas Niederprüm nied...@physik.uni-kl.de

[PATCH 3.10 11/17] lib/checksum.c: fix build for generic csum_tcpudp_nofold

2015-02-09 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: karl beldan karl.bel...@gmail.com commit 9ce357795ef208faa0d59894d9d119a7434e37f3 upstream. Fixed commit added from64to32 under _#ifndef do_csum_ but used it under _#ifndef

[GIT PULL] time/r tree changes for v3.20

2015-02-09 Thread Ingo Molnar
Linus, Please pull the latest timers-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-core-for-linus # HEAD: 4ebbda5251374d532ba8939de4241d769d1420b6 hrtimer: Make __hrtimer_get_next_event() static The main changes in this cycle were: -

Re: RAID1 might_sleep() warning on 3.19-rc7

2015-02-09 Thread Peter Zijlstra
On Mon, Feb 09, 2015 at 12:13:57PM +1100, NeilBrown wrote: I had to re-read the code (And your analysis) a couple of times to be sure ... Sorry :-) However, when io_schedule() explicitly calls blk_flush_plug(), then @from_schedule=false variant is used, and the unplug functions are allowed to

Re: MADV_DONTNEED semantics? Was: [RFC PATCH] mm: madvise: Ignore repeated MADV_DONTNEED hints

2015-02-09 Thread Michael Kerrisk (man-pages)
Hello Minchan On 02/09/2015 07:46 AM, Minchan Kim wrote: Hello, Michael On Fri, Feb 06, 2015 at 04:41:12PM +0100, Michael Kerrisk (man-pages) wrote: On 02/05/2015 02:07 AM, Minchan Kim wrote: Hello, On Wed, Feb 04, 2015 at 08:24:27PM +0100, Michael Kerrisk (man-pages) wrote: On 4

[GIT PULL] x86/apic updates for v3.20

2015-02-09 Thread Ingo Molnar
Linus, Please pull the latest x86-apic-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-apic-for-linus # HEAD: ba360f887a4130b06c55eb93bcb4ae373b262a1c x86, init: Fix UP boot regression on x86_64 Continued fallout of the conversion of the x86 IRQ

[PATCH v2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-02-09 Thread Josh Wu
Add at91 sama5d4 xplained board support. Signed-off-by: Josh Wu josh...@atmel.com --- Changes in v2: - to be sorted by memory address, put the adc dt node after usart4. arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/at91-sama5d4_xplained.dts | 232

Re: [PATCH] mmc: dw_mmc: fix bug that cause 'Timeout sending command'

2015-02-09 Thread addy ke
On 2015/2/9 15:04, Jaehoon Chung wrote: On 02/09/2015 03:56 PM, Addy wrote: On 2015.02.09 12:51, Ulf Hansson wrote: On 5 February 2015 at 12:13, Addy Ke addy...@rock-chips.com wrote: Because of some uncertain factors, such as worse card or worse hardware, DAT[3:0](the data lines) may be

Re: [PATCH] usb: isp1760: use msecs_to_jiffies for time conversion

2015-02-09 Thread Laurent Pinchart
Hi Nicholas, Thank you for the patch. On Friday 06 February 2015 05:08:53 Nicholas Mc Guire wrote: This is only an API consolidation and should make things more readable it replaces var * HZ / 1000 by msecs_to_jiffies(var). Signed-off-by: Nicholas Mc Guire hof...@osadl.org Acked-by:

[PATCH 3.18 03/39] gpio: mcp23s08: handle default gpio base

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Sonic Zhang sonic.zh...@analog.com commit b184c388f773f30b6c707d3d4599b2db80f4390c upstream. Create default gpio base if neither device node nor platform data is defined. Signed-off-by: Sonic

[PATCH 3.18 29/39] arm64: Fix up /proc/cpuinfo

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Mark Rutland mark.rutl...@arm.com commit 44b82b7700d05a52cd983799d3ecde1a976b3bed upstream. Commit d7a49086f263164a (arm64: cpuinfo: print info for all CPUs) attempted to clean up

[PATCH 3.18 30/39] lib/checksum.c: fix build for generic csum_tcpudp_nofold

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: karl beldan karl.bel...@gmail.com commit 9ce357795ef208faa0d59894d9d119a7434e37f3 upstream. Fixed commit added from64to32 under _#ifndef do_csum_ but used it under _#ifndef

[PATCH 3.18 19/39] mm: pagewalk: call pte_hole() for VM_PFNMAP during walk_page_range

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Shiraz Hashim shas...@codeaurora.org commit 23aaed6659df9adfabe9c583e67a36b54e21df46 upstream. walk_page_range() silently skips vma having VM_PFNMAP set, which leads to undesirable behaviour

[PATCH 3.14 08/20] Complete oplock break jobs before closing file handle

2015-02-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Sachin Prabhu spra...@redhat.com commit ca7df8e0bb2a5ec79691de8a1a4c0e611fe04e60 upstream. Commit c11f1df5003d534fd067f0168bfad7befffb3b5c requires writers to wait for any pending oplock break

[LKP] [nfs] mount.nfs: an incorrect mount option was specified

2015-02-09 Thread Huang Ying
FYI, we noticed the below changes on git://git.infradead.org/users/hch/pnfs.git pnfs-testing commit 418f5019f1a8cd6fc50db11303e5a9297522d814 (nfs: force version 4.1) Our test script uses the following command line: $ mount.nfs -o v3,nolock nfs service directory And found something as follow in

[PATCH 3.14 20/20] x86,kvm,vmx: Preserve CR4 across VM entry

2015-02-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski l...@amacapital.net commit d974baa398f34393db76be45f7d4d04fbdbb4a0a upstream. CR4 isn't constant; at least the TSD and PCE bits can vary. TBH, treating CR0 and CR3 as constant

[PATCH 3.14 04/20] MIPS: IRQ: Fix disable_irq on CPU IRQs

2015-02-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau n...@openwrt.org commit a3e6c1eff54878506b2dddcc202df9cc8180facb upstream. If the irq_chip does not define .irq_disable, any call to disable_irq will defer disabling the IRQ

[PATCH 3.14 03/20] PCI: Add NEC variants to Stratus ftServer PCIe DMI check

2015-02-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Charlotte Richardson charlotte.richard...@stratus.com commit 51ac3d2f0c505ca36ffc9715ffd518d756589ef8 upstream. NEC OEMs the same platforms as Stratus does, which have multiple devices on some

[PATCH 3.14 05/20] MIPS: OCTEON: fix kernel crash when offlining a CPU

2015-02-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Aaro Koskinen aaro.koski...@iki.fi commit 63a87fe0d0de2ce126a8cec9a299a133cfd5658e upstream. octeon_cpu_disable() will unconditionally enable interrupts when called. We can assume that the

[PATCH 3.14 06/20] MIPS: Fix kernel lockup or crash after CPU offline/online

2015-02-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Hemmo Nieminen hemmo.niemi...@iki.fi commit c7754e75100ed5e3068ac5085747f2bfc386c8d6 upstream. As printk() invocation can cause e.g. a TLB miss, printk() cannot be called before the exception

[PATCH 3.14 02/20] gpio: sysfs: fix memory leak in gpiod_sysfs_set_active_low

2015-02-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jo...@kernel.org commit 49d2ca84e433dab854c7a866bc6add09cfab682d upstream. Fix memory leak in the gpio sysfs interface due to failure to drop reference to device returned by

[PATCH 3.14 19/20] smpboot: Add missing get_online_cpus() in smpboot_register_percpu_thread()

2015-02-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Lai Jiangshan la...@cn.fujitsu.com commit 4bee96860a65c3a62d332edac331b3cf936ba3ad upstream. The following race exists in the smpboot percpu threads management: CPU0

Re: [PATCH] kvm: add halt_poll_ns module parameter

2015-02-09 Thread Paolo Bonzini
On 09/02/2015 09:22, Xiao Guangrong wrote: On 02/06/2015 08:48 PM, Paolo Bonzini wrote: +unsigned int halt_poll_ns = 0; +module_param(halt_poll_ns, uint, S_IRUGO | S_IWUSR); + Can we make this parameter be changeable? So that we can tune it on the fly. It is changeable (S_IWUSR).

RE: [PATCH v2] ASoC: atmel_ssc_dai: Allow more rates

2015-02-09 Thread Peter Rosin
Bo Shen wrote: Hi Peter, On 02/09/2015 04:09 PM, Peter Rosin wrote: [Snip] /*-*\ * DAI functions @@ -200,6 +290,7 @@ static int atmel_ssc_startup(struct snd_pcm_substream *substream,

Re: [PATCH 0/4] HID: Improve handling of multimode Logitech handling wheels

2015-02-09 Thread Elias Vanderstuyft
On Fri, Feb 6, 2015 at 5:34 PM, Michal Malý madcatxs...@devoid-pointer.net wrote: This patch series improves handling of various Logitech gaming wheels and allows switching between various compatibility modes which might be useful to improve compatibility with very old games and testing

Re: [PATCH] ath9k_htc: add adaptive usb receive flow control to repair soft lockup with monitor mode

2015-02-09 Thread Oleksij Rempel
Am 09.02.2015 um 08:20 schrieb Yuwei Zheng: On 五, 2015-02-06 at 23:24 +0100, Oleksij Rempel wrote: formatting of this patch is still badly broken. ./scripts/checkpatch.pl ~/Downloads/patch.eml ERROR: DOS line endings #442: FILE: drivers/net/wireless/ath/ath9k/htc_drv_txrx.c:1170:

Re: [PATCH] media: bcm2048: remove unused return of function

2015-02-09 Thread Pali Rohár
On Sunday 08 February 2015 23:29:11 Luis de Bethencourt wrote: Integer return of bcm2048_parse_rds_rt () is never used, changing the return type to void. Signed-off-by: Luis de Bethencourt luis...@samsung.com --- drivers/staging/media/bcm2048/radio-bcm2048.c | 4 +--- 1 file changed, 1

[GIT PULL] x86/asm changes for v3.20

2015-02-09 Thread Ingo Molnar
Linus, Please pull the latest x86-asm-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-asm-for-linus # HEAD: b57c0b5175ddbe9b477801f9994a5b330702c1ba Merge tag 'pr-20150201-x86-entry' of git://git.kernel.org/pub/scm/linux/kernel/git/luto/linux into

Re: [PATCH 0/2] ARM: omap2+: omap_hwmod: Fix false lockdep warning

2015-02-09 Thread Peter Zijlstra
On Mon, Feb 09, 2015 at 10:27:32AM +0200, Peter Ujfalusi wrote: As I recall there is a plan to remove the hwmod static database and move it or generate it from DT? Not sure when and how this will be done, but will it affect the lockdep_set_class() way? Yes, struct lock_class_key wants to be in

Re: [PATCH v2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-02-09 Thread Boris Brezillon
Hi Josh, On Mon, 9 Feb 2015 17:17:03 +0800 Josh Wu josh...@atmel.com wrote: Add at91 sama5d4 xplained board support. Signed-off-by: Josh Wu josh...@atmel.com --- Changes in v2: - to be sorted by memory address, put the adc dt node after usart4. arch/arm/boot/dts/Makefile

Re: [LKP] [sched/core] 9edfbfed3f5: +88.2% hackbench.time.involuntary_context_switches

2015-02-09 Thread Peter Zijlstra
On Mon, Feb 09, 2015 at 04:47:07PM +0800, huang ying wrote: There are no distinguishable difference between the parent and the child for hackbench throughput number. Usually you will not consider statistics such as involuntary context switches? Only if there's a 'problem' with the primary

linux-next: manual merge of the akpm-current tree with the net-next tree

2015-02-09 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in lib/Makefile between commits 9d6dbe1bbaf8 (rhashtable: Make selftest modular) and 57dd8a0735aa (vhost: vhost_scsi_handle_vq() should just use copy_from_user()) from the net-next tree and commits f3d593d650ec (hexdump:

Re: [PATCH] net:ethernet:intel:Remove outdated fix me comment in the function,gb_acquire_swfw_sync_i210

2015-02-09 Thread Bjørn Mork
Jeff Kirsher jeffrey.t.kirs...@intel.com writes: If you want to see Nick's patch, feel free to view his patch on my queue tree: https://git.kernel.org/cgit/linux/kernel/git/jkirsher/queue.git/ which said: - s32 i = 0, timeout = 200; /* FIXME: find real value to use here */ + s32 i = 0,

Re: [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-09 Thread Raghavendra K T
On 02/09/2015 02:44 AM, Jeremy Fitzhardinge wrote: On 02/06/2015 06:49 AM, Raghavendra K T wrote: [...] Linus suggested that we should not do any writes to lock after unlock(), and we can move slowpath clearing to fastpath lock. Yep, that seems like a sound approach. Current approach

Re: BUG: stuck on mmap_sem in 3.18.6

2015-02-09 Thread Vlastimil Babka
On 02/09/2015 08:14 AM, Konstantin Khlebnikov wrote: Python was running under ptrace-based sandbox sydbox used exherbo chroot. Kernel: 3.18.6 + my patch mm: prevent endless growth of anon_vma hierarchy (patch seems stable). [ 4674.087780] INFO: task python:25873 blocked for more than 120

Re: [PATCH] net:ethernet:intel:Remove outdated fix me comment in the function,gb_acquire_swfw_sync_i210

2015-02-09 Thread Jeff Kirsher
On Mon, 2015-02-09 at 10:29 +0100, Bjørn Mork wrote: Jeff Kirsher jeffrey.t.kirs...@intel.com writes: If you want to see Nick's patch, feel free to view his patch on my queue tree: https://git.kernel.org/cgit/linux/kernel/git/jkirsher/queue.git/ which said: - s32 i = 0, timeout =

[PATCH] ARM: at91: dts: sama5d4ek: add leds in DT node

2015-02-09 Thread Josh Wu
Add the leds DT node in the dts file. In the leds, d10 is set as heartbeat led. Signed-off-by: Josh Wu josh...@atmel.com --- arch/arm/boot/dts/at91-sama5d4ek.dts | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts

Re: [PATCH] CRIS: enable GPIOLIB

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 04:31:58PM +0100, Rabin Vincent wrote: Enable GPIOLIB on CRIS so that we can use the generic GPIO APIs. Signed-off-by: Rabin Vincent ra...@rab.in Looks good, putting it in the CRIS tree for 3.20. /^JN - Jesper Nilsson -- Jesper Nilsson --

Re: [PATCH 1/4] CRIS: add device tree support

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 04:35:42PM +0100, Rabin Vincent wrote: Add support for booting CRIS with a built-in device tree. Signed-off-by: Rabin Vincent ra...@rab.in Looks good, putting it in the CRIS tree for 3.20. /^JN - Jesper Nilsson -- Jesper Nilsson --

Re: [PATCH 2/4] CRISv32: add irq domains support

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 04:35:43PM +0100, Rabin Vincent wrote: Add support for IRQ domains to the CRISv32 interrupt controller. Signed-off-by: Rabin Vincent ra...@rab.in Looks good, putting it in the CRIS tree for 3.20. /^JN - Jesper Nilsson -- Jesper Nilsson --

RE: gpio-pxa: getting GPIOs by devicetree phandle broken

2015-02-09 Thread Holmberg, Hans
1. Require child nodes in DT for each bank This would break DT compatibility. 2. Refactor gpio-pxa to only register one gpiochip Sounds better, especially since this would reflect the hardware more accurately. One DT node should translate into one GPIO chip. The problem is that I'm

Re: [PATCH v2] ASoC: atmel_ssc_dai: Allow more rates

2015-02-09 Thread Bo Shen
Hi Peter, On 02/09/2015 05:07 PM, Peter Rosin wrote: Bo Shen wrote: Hi Peter, On 02/09/2015 04:09 PM, Peter Rosin wrote: [Snip] /*-*\ * DAI functions @@ -200,6 +290,7 @@ static int atmel_ssc_startup(struct

[PATCH v2 1/1] drivers/base: Remove unnecessary OOM message

2015-02-09 Thread Quentin Lambert
This patch reduces the kernel size by removing error messages that duplicate the normal OOM message. A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr) @@ identifier f,print,l; expression e; constant char[] c; @@ e =

[GIT PULL] x86/cleanups for v3.20

2015-02-09 Thread Ingo Molnar
Linus, Please pull the latest x86-cleanups-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-cleanups-for-linus # HEAD: d505ad1d66c9cd31db5ab0d2c7bcb2a47e5bb29e x86/rtc: Remove duplicate const specifier Misc cleanups. Thanks, Ingo

Re: [PATCH 3/4] CRIS: document CRISv32 intc bindings

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 04:35:44PM +0100, Rabin Vincent wrote: Add the DT bindings documentation for the CRISV32 interrupt controller. Signed-off-by: Rabin Vincent ra...@rab.in Looks good, putting it in the CRIS tree for 3.20. /^JN - Jesper Nilsson -- Jesper Nilsson --

Re: arm: kprobe compilation error

2015-02-09 Thread Jon Medhurst (Tixy)
Hi Janusz On Thu, 2015-02-05 at 16:17 +0100, Janusz Użycki wrote: I got the compilation error on next-20150204: [...] In file included from arch/arm/probes/kprobes/core.c:37: arch/arm/probes/kprobes/core.h:43: error: '[*]' not allowed in other than a declaration [...] gcc version 4.2.4

Re: [PATCH 4/4] CRIS: add Axis 88 board device tree

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 04:35:45PM +0100, Rabin Vincent wrote: Add a minimal device tree for the ETRAX FS SoC and the Axis 88 developer board. Signed-off-by: Rabin Vincent ra...@rab.in Looks good, putting it in the CRIS tree for 3.20. /^JN - Jesper Nilsson -- Jesper Nilsson

Re: BUG: stuck on mmap_sem in 3.18.6

2015-02-09 Thread Konstantin Khlebnikov
On Mon, Feb 9, 2015 at 12:36 PM, Vlastimil Babka vba...@suse.cz wrote: On 02/09/2015 08:14 AM, Konstantin Khlebnikov wrote: Python was running under ptrace-based sandbox sydbox used exherbo chroot. Kernel: 3.18.6 + my patch mm: prevent endless growth of anon_vma hierarchy (patch seems stable).

Re: [PATCH v4 2/5] sched_clock: Optimize cache line usage

2015-02-09 Thread Daniel Thompson
On 09/02/15 09:28, Will Deacon wrote: On Sun, Feb 08, 2015 at 12:02:37PM +, Daniel Thompson wrote: Currently sched_clock(), a very hot code path, is not optimized to minimise its cache profile. In particular: 1. cd is not cacheline_aligned, 2. struct clock_data does not

Re: [Bugfix 0/3] Xen IRQ related hotfixes for v3.19

2015-02-09 Thread Stefan Bader
On 05.02.2015 21:07, Sander Eikelenboom wrote: Tuesday, January 20, 2015, 3:21:04 AM, you wrote: Hi Thomas, This patch set includes three hotfixes related Xen IRQ for v3.19. Sorry for the long delay to get these two regressions fixed, it really cost me some time to read and

Re: [Update] Re: [PATCH v3]PM/Sleep: Timer quiesce in freeze state

2015-02-09 Thread Peter Zijlstra
On Fri, Feb 06, 2015 at 11:36:12PM +0100, Rafael J. Wysocki wrote: On Friday, February 06, 2015 07:29:22 PM Peter Zijlstra wrote: So I'm a wee bit confused; if we use an enter_freeze() state that keeps interrupts disabled; who is going to call the freeze_wake() thing? Ah, I think I

Re: [PATCH 1/3] CRISv32: don't attempt syscall restart on irq exit

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 09:45:02PM +0100, Rabin Vincent wrote: r9 is used to determine whether syscall restarting must be performed or not. Unfortunately, r9 is never set to zero in the non-syscall path, and r9 is on top of that a callee-saved register which can be set to non-zero by the C

Re: [PATCH v2] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-02-09 Thread Josh Wu
Hi, Boris On 2/9/2015 5:24 PM, Boris Brezillon wrote: Hi Josh, On Mon, 9 Feb 2015 17:17:03 +0800 Josh Wu josh...@atmel.com wrote: Add at91 sama5d4 xplained board support. Signed-off-by: Josh Wu josh...@atmel.com --- Changes in v2: - to be sorted by memory address, put the adc dt node after

[GIT PULL] EFI updates for v3.20

2015-02-09 Thread Ingo Molnar
Linus, Please pull the latest x86-efi-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-efi-for-linus # HEAD: 3c01b74e818a7a3b2ee9b0d584cca0bc154a031c Merge tag 'efi-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi into x86/efi

Re: [PATCH 2/3] CRISv32: prevent bogus restarts on sigreturn

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 09:45:03PM +0100, Rabin Vincent wrote: Al Viro noted that CRIS is vulnerable to bogus restarts on sigreturn. Reported-by: Al Viro v...@zeniv.linux.org.uk Signed-off-by: Rabin Vincent ra...@rab.in Nice, added in the CRIS tree for 3.20. /^JN - Jesper Nilsson --

Re: [PATCH 3/3] CRISv32: handle multiple signals

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 09:45:04PM +0100, Rabin Vincent wrote: Al Viro noted that CRIS fails to handle multiple signals. This fixes the problem for CRISv32 by making it use a C work_pending handling loop similar to the ARM implementation in 0a267fa6a15d41c (ARM: 7472/1: pull all work_pending

Re: [PATCH v8 14/21] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2015-02-09 Thread Catalin Marinas
On Mon, Feb 09, 2015 at 06:55:12AM +, Will Deacon wrote: On Mon, Feb 02, 2015 at 12:45:42PM +, Hanjun Guo wrote: Introduce a new function map_gicc_mpidr() to allow MPIDRs to be obtained from the GICC Structure introduced by ACPI 5.1. MPIDR is the CPU hardware ID as local APIC ID

[GIT PULL] x86/fpu updates for v3.20

2015-02-09 Thread Ingo Molnar
Linus, Please pull the latest x86-fpu-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-fpu-for-linus # HEAD: 7575637ab293861a799f3bbafe0d8c597389f4e9 x86, fpu: Fix math_state_restore() race with kernel_fpu_begin() Initial round of

Re: [PATCH 3/3] CRISv32: handle multiple signals

2015-02-09 Thread Jesper Nilsson
On Sun, Feb 08, 2015 at 06:03:49PM -0800, Guenter Roeck wrote: On Sun, Feb 08, 2015 at 09:45:04PM +0100, Rabin Vincent wrote: Al Viro noted that CRIS fails to handle multiple signals. [snip] Reported-by: Al Viro v...@zeniv.linux.org.uk Link:

Re: [PATCH v2 1/2] mmc: dw_mmc: fix bug that cause 'Timeout sending command'

2015-02-09 Thread Jaehoon Chung
Hi, Addy. On 02/09/2015 04:25 PM, Addy Ke wrote: Because of some uncertain factors, such as worse card or worse hardware, DAT[3:0](the data lines) may be pulled down by card, and mmc controller will be in busy state. This should not happend when mmc controller send command to update card

[PATCH] staging: lustre: use linux headers

2015-02-09 Thread Asaf Vertz
WARNING: Use #include linux/uaccess.h instead of asm/uaccess.h WARNING: Use #include linux/statfs.h instead of asm/statfs.h WARNING: Use #include linux/kgdb.h instead of asm/kgdb.h Signed-off-by: Asaf Vertz asaf.ve...@tandemg.com --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h|2 +-

[GIT PULL] x86/mm updates for v3.20

2015-02-09 Thread Ingo Molnar
Linus, Please pull the latest x86-mm-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-mm-for-linus # HEAD: d574ffa1066003569ed5cdaeabf44597564ce975 x86, e820: Clean up sanitize_e820_map() users Two cleanups: simplify parse_setup_data() and

Re: [PATCH 1/3] perf/e6500: Make event translations available in sysfs

2015-02-09 Thread Peter Zijlstra
On Fri, Feb 06, 2015 at 04:43:54PM -0600, Tom Huynh wrote: arch/powerpc/perf/e6500-events-list.h | 289 ++ That's a lot of events to stuff in the kernel, would a userspace list not be more convenient? ISTR there being various discussions on providing support

Re: [PATCH 1/6] drivers: usb: core: devio.c: remove assignment of variables in if conditions.

2015-02-09 Thread Bas Peters
2015-02-09 3:15 GMT+01:00 Peter Chen peter.c...@freescale.com: On Sat, Feb 07, 2015 at 10:55:01PM +0100, Bas Peters wrote: This patch removes assignment of variables in if conditions in accordance witht the CodingStyle. %s/witht/with Typo, my bad. Should I fix the commit message and resend?

Re: [PATCH v8 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-02-09 Thread Wolfram Sang
Okay. Let me check with our ASIC engineer to see if there's a way to get the driver extended to support the case when data size is larger than the FIFO size. From my understanding based on the data sheet I have, I don't think that can be done with this controller. But if the ASIC engineers

Re: [for-next][PATCH 3/7] tracefs: Add new tracefs file system

2015-02-09 Thread Steven Rostedt
On Mon, 9 Feb 2015 14:56:19 +0900 Namhyung Kim namhy...@kernel.org wrote: Hi Steve, On Wed, Feb 04, 2015 at 09:34:23AM -0500, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Add a separate file system to handle the tracing directory. Currently it is part of

Re: [PATCH 6/6 v2] perf: Make perf aware of tracefs

2015-02-09 Thread Steven Rostedt
On Sun, 8 Feb 2015 23:12:46 +0900 Namhyung Kim namhy...@kernel.org wrote: Shouldn't it be /sys/kernel/tracing/ ? if (evsel == NULL) { - pr_debug(is debugfs mounted on /sys/kernel/debug?\n); + if (tracefs_configured()) + pr_debug(is tracefs

Re: [Update 2x] Re: [PATCH v3]PM/Sleep: Timer quiesce in freeze state

2015-02-09 Thread Peter Zijlstra
On Mon, Feb 09, 2015 at 03:54:22AM +0100, Rafael J. Wysocki wrote: Complete patch with that modification is appended. In the next few days I'm going to split it into smaller parts and send along with cpuidle driver patches implementing -enter_freeze. Please let me know what you think. @@

Re: [PATCH 3.18 00/39] 3.18.7-stable review

2015-02-09 Thread Greg Kroah-Hartman
On Mon, Feb 09, 2015 at 04:35:53PM +0100, Sedat Dilek wrote: Hi Greg, nice to see the kbuild and trace patches I was involved are in this series. Unfortunately, I see the following in my logs... [2.117022] Request for unknown module key 'Magrathea: Glacier signing key:

Re: [PATCH v2] i2c: cadence: fixup of wait_for_completion_timeout return handling

2015-02-09 Thread Sören Brinkmann
On Mon, 2015-02-09 at 10:03AM -0500, Nicholas Mc Guire wrote: return type of wait_for_completion_timeout is unsigned long not int. The return variable is renamed to reflect its use and the type adjusted to unsigned long. Signed-off-by: Nicholas Mc Guire hof...@osadl.org Reviewed-by: Soren

Re: [PATCH for-3.20-fixes] workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE

2015-02-09 Thread Jesper Nilsson
On Mon, Feb 09, 2015 at 05:15:27PM +0100, Tejun Heo wrote: Hello, Hi, Can you please verify that the following patch fixes the issue? Rabin will have to report if it fixes it for his synthetic case, but I'll try it in my real-world jffs2 sync problem, and report after a couple of hours.

Re: [PATCH] ARM: shmobile: r8a73a4: Move pfc node to work around probe ordering bug

2015-02-09 Thread Tony Lindgren
* Geert Uytterhoeven geert+rene...@glider.be [150206 12:26]: Currently the pin function controller (which is also a GPIO controller) is instantiated before the interrupt controllers due to the order in the DTS. At that time, the irq domains for the interrupt controllers referenced by its

[PATCH v3 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-09 Thread Daniel Sanders
Replace incorrect matching constraint that caused the error with an alternative that still has the required constraints on the inline assembly. This is the error message reported by clang: arch/mips/include/asm/checksum.h:285:27: error: unsupported inline asm: input with type '__be32' (aka

Re: [PATCH v3 1/3] lib: find_*_bit reimplementation

2015-02-09 Thread George Spelvin
Sorry, I screwed up the bit-twiddling while messing with various options. I was trying to get size == 32 to work; that should have been: tmp = (2UL ((size-1) % BITS_PER_LONG)) - 1; /* Mask last word */ And you're right that LAST_WORD_MASK is a good wrapper. Vasrious working solutions

Re: [PATCH v3] net: bluetooth: hci_sock: Use 'const u32 *' instead of 'void *' for 2nd parameter of hci_test_bit()

2015-02-09 Thread Marcel Holtmann
Hi David, So at present, in kernel part, we can only say the original authors intended to do like this. And only within kernel part, it can not cause issue. I guess, original authors originally knew what we talk about. I've just searched for hci_u*filter it is all horrid. Look at the code

Re: [Bugfix 0/3] Xen IRQ related hotfixes for v3.19

2015-02-09 Thread Sander Eikelenboom
Monday, February 9, 2015, 5:09:44 PM, you wrote: On 09.02.2015 13:29, Stefan Bader wrote: On 09.02.2015 13:12, Jiang Liu wrote: On 2015/2/9 17:47, Stefan Bader wrote: On 05.02.2015 21:07, Sander Eikelenboom wrote: Tuesday, January 20, 2015, 3:21:04 AM, you wrote: Hi Thomas, This

Re: [PATCH 6/6] nohz: add stub context_tracking_is_enabled

2015-02-09 Thread Paolo Bonzini
On 09/02/2015 17:04, r...@redhat.com wrote: From: Rik van Riel r...@redhat.com With code elsewhere doing something conditional on whether or not context tracking is enabled, we want a stub function that tells us context tracking is not enabled, when CONFIG_CONTEXT_TRACKING is not set.

randconfig build error with next-20150209, in arch/x86/mm/kasan_init_64.c

2015-02-09 Thread Jim Davis
Building with the attached random configuration file, arch/x86/built-in.o: In function `populate_zero_shadow': kasan_init_64.c:(.init.text+0xe2cc): undefined reference to `vmemmap_alloc_block' kasan_init_64.c:(.init.text+0xe3ab): undefined reference to `vmemmap_alloc_block'

[PATCH 1/6] rcu,nohz: add state parameter to context_tracking_user_enter/exit

2015-02-09 Thread riel
From: Rik van Riel r...@redhat.com Add the expected ctx_state as a parameter to context_tracking_user_enter and context_tracking_user_exit, allowing the same functions to not just track kernel user space switching, but also kernel guest transitions. Catalin, Will: this patch and the next one

[PATCH 4/6] nohz,kvm: export context_tracking_user_enter/exit

2015-02-09 Thread riel
From: Rik van Riel r...@redhat.com Export context_tracking_user_enter/exit so it can be used by KVM. Signed-off-by: Rik van Riel r...@redhat.com --- kernel/context_tracking.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/context_tracking.c b/kernel/context_tracking.c index

[PATCH 6/6] nohz: add stub context_tracking_is_enabled

2015-02-09 Thread riel
From: Rik van Riel r...@redhat.com With code elsewhere doing something conditional on whether or not context tracking is enabled, we want a stub function that tells us context tracking is not enabled, when CONFIG_CONTEXT_TRACKING is not set. Signed-off-by: Rik van Riel r...@redhat.com ---

[PATCH 2/6] rcu,nohz: rename context_tracking_enter _exit

2015-02-09 Thread riel
From: Rik van Riel r...@redhat.com Rename context_tracking_user_enter context_tracking_user_exit to just context_tracking_enter context_tracking_exit, since it will be used to track guest state, too. This also breaks ARM. The rest of the series does not look like it impacts ARM. Cc:

[PATCH 3/6] rcu,nohz: run vtime_user_enter/exit only when state == IN_USER

2015-02-09 Thread riel
From: Rik van Riel r...@redhat.com Only run vtime_user_enter, vtime_user_exit, and the user enter exit trace points when we are entering or exiting user state, respectively. The RCU code only distinguishes between idle and not idle or kernel. There should be no need to add an additional

[PATCH 0/2] pci: generic: Add supports for ARM64

2015-02-09 Thread Suravee Suthikulpanit
This patch series modifies the current PCI generic host controller to support both ARM32 and ARM64. It has been tested on AMD Seattle platform with the following patch series: 1. Marc Zyngier's patch series (for MSI supports): [PATCH v2 0/8] Introducing per-device MSI domain

[PATCH 1/2] pci: generic: Use the pci_scan_root_bus instead of pci_common_init_dev

2015-02-09 Thread Suravee Suthikulpanit
Replacing pci_common_init_dev with pci_scan_root_bus, and remove reference to struct pci_sys_data and pci_hw, which is specific to ARM32. This allows the PCI host generic driver to also usable in ARM64 architecture. Cc: Bjorn Helgaas bhelg...@google.com Cc: Arnd Bergmann a...@arndb.de Cc: Will

Re: [PATCH 0/6 v3] perf: Have perf become tracefs aware

2015-02-09 Thread Steven Rostedt
If you already applied v2, here's the patch that changes v3. -- Steve From 55989e0e3e9c15d755a9cf0d8c6a899a0de7d1eb Mon Sep 17 00:00:00 2001 From: Steven Rostedt (Red Hat) rost...@goodmis.org Date: Mon, 9 Feb 2015 10:42:59 -0500 Subject: [PATCH] perf: Fix directory name in error message for

[GIT PULL for v3.20-rc1] media updates

2015-02-09 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v3.20-1 For: - Some documentation updates and a few new pixel formats; - Stop btcx-risc abuse by cx88 and move it to bt8xx driver; - New platform driver: am437x; - New webcam

[PATCH] vt: vt_ioctl: use msecs_to_jiffies for time conversion

2015-02-09 Thread Nicholas Mc Guire
--- Patch was compile tested with x86_64_defconfig (implies CONFIG_HW_CONSOLE=y and CONFIG_VT=y) Patch is against 3.19.0-rc7 (localversion-next is -next-20150209) drivers/tty/vt/vt_ioctl.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/vt/vt_ioctl.c b/drivers/tty/vt

Re: [PATCH] Documentation: Fix the wrong command `echo -1 set_ftrace_pid` for cleaning the filter.

2015-02-09 Thread Jonathan Corbet
On Thu, 5 Feb 2015 05:16:14 + Wang Long long.wangl...@huawei.com wrote: The command `echo set_ftrace_pid` should be used to clean the filter quietly. because the command `echo -1 set_ftrace_pid` will output the following: bash: echo: write error: Invalid argument. so update the

[PATCH 3/3] media/videobuf2-dma-vmalloc: Save output from dma_map_sg

2015-02-09 Thread Ricardo Ribalda Delgado
dma_map_sg returns the actual number of areas mapped. Save it on nents. Signed-off-by: Ricardo Ribalda Delgado ricardo.riba...@gmail.com --- drivers/media/v4l2-core/videobuf2-vmalloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/v4l2-core/videobuf2-vmalloc.c

Re: cleanup and refactor BLOCK_PC mapping helpers V2

2015-02-09 Thread Dongsu Park
On 05.02.2015 09:28, Jens Axboe wrote: On 02/02/2015 06:19 AM, Christoph Hellwig wrote: Jens, do these patches look fine to you? Any chance to get them into the tree for the 3.20 merge window? Yes, I think they look fine. I'll throw them into the testing mix and merge them for 3.20.

Re: [PATCH net-next] drivers: net: cpsw: make cpsw_ale.c a module to allow re-use on Keystone

2015-02-09 Thread Tony Lindgren
* Murali Karicheri m-kariche...@ti.com [150205 14:37]: On 02/02/2015 11:40 AM, Tony Lindgren wrote: * Arnd Bergmanna...@arndb.de [150129 15:51]: On Thursday 29 January 2015 18:15:51 Murali Karicheri wrote: NetCP on Keystone has cpsw ale function similar to other TI SoCs and this driver is

Re: blk-mq crash with dm-multipath in for-3.20/core

2015-02-09 Thread Mike Snitzer
On Mon, Feb 09 2015 at 11:38am -0500, Dongsu Park dongsu.p...@profitbricks.com wrote: Hi Jens, during testing with the linux-block for-3.20/core branch, I hit a BUG like below. It's reproducible by running xfstests/xfs/279. Bisecting showed that the first bad commit is 6d6285c45f5a

Re: blk-mq crash with dm-multipath in for-3.20/core

2015-02-09 Thread Keith Busch
On Mon, 9 Feb 2015, Mike Snitzer wrote: On Mon, Feb 09 2015 at 11:38am -0500, Dongsu Park dongsu.p...@profitbricks.com wrote: So that commit 6d6285c45f5a should be either reverted, or moved to linux-dm tree, doesn't it? Cheers, Dongsu [1]

Re: [Update 2x] Re: [PATCH v3]PM/Sleep: Timer quiesce in freeze state

2015-02-09 Thread Peter Zijlstra
On Mon, Feb 09, 2015 at 03:54:22AM +0100, Rafael J. Wysocki wrote: The only remaining issue might be a NMI calling into ktime_get_mono_fast_ns() before timekeeping is resumed. Its probably a non issue on x86/tsc, but it might be a problem on other platforms which turn off devices,

[PATCH] vt: use msecs_to_jiffies for time conversion

2015-02-09 Thread Nicholas Mc Guire
--- Patch was compile tested with x86_64_defconfig (implies CONFIG_HW_CONSOLE=y and CONFIG_VT=y) Patch is against 3.19.0-rc7 (localversion-next is -next-20150209) drivers/tty/vt/vt.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c index

<    4   5   6   7   8   9   10   11   12   13   >