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

2015-02-09 Thread Bo Shen
Hi Peter, On 02/09/2015 03:35 PM, Peter Rosin wrote: Bo Shen wrote: Hi Peter, Hi! On 02/07/2015 06:51 PM, Peter Rosin wrote: Mark Brown wrote: On Wed, Feb 04, 2015 at 12:52:25PM +0100, Peter Rosin wrote: One thing remains a bit unclear, and that is the 500ppm deduction. Is that really w

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

2015-02-09 Thread Robert Jarzmik
Alexandre Courbot writes: > Adding Robert who reported the same thing. > > On Sat, Feb 7, 2015 at 6:28 AM, Tyler Hall wrote: >> 1. Require child nodes in DT for each bank > > This would break DT compatibility. Agreed. > >> 2. Refactor gpio-pxa to only register one gpiochip > > Sounds better, es

linux-next: manual merge of the target-updates tree with the net-next tree

2015-02-09 Thread Stephen Rothwell
Hi Nicholas, Today's linux-next merge of the target-updates tree got a conflict in drivers/vhost/scsi.c between commit 57dd8a0735aa ("vhost: vhost_scsi_handle_vq() should just use copy_from_user()") from the net-next tree and commit 09b13fa8c1a1 ("vhost/scsi: Add ANY_LAYOUT support in vhost_scsi_h

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

2015-02-09 Thread Peter Rosin
Bo Shen wrote: > Hi Peter, Hi! > On 02/04/2015 07:52 PM, Peter Rosin wrote: > > From: Peter Rosin > > > > When the SSC acts as BCK master, use a ratnum rule to limit the rate > > instead of only doing the standard rates. When the SSC acts as BCK > > slave, allow any BCK frequency up to within 50

[PATCH 2/3] powerpc: Relax secure computing on syscall entry trace

2015-02-09 Thread Bogdan Purcareata
The secure_computing_strict will just force the kernel to panic on secure_computing failure. Once SECCOMP_FILTER support is enabled in the kernel, syscalls can be denied without system failure. Signed-off-by: Bogdan Purcareata --- arch/powerpc/kernel/ptrace.c | 4 +++- 1 file changed, 3 insertio

[PATCH] powerpc: Enable HAVE_ARCH_SECCOMP_FILTER

2015-02-09 Thread Bogdan Purcareata
Signed-off-by: Bogdan Purcareata --- arch/powerpc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index a2a168e..72f363e 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -104,6 +104,7 @@ config PPC select HAVE_EFFICIEN

[RFC][PATCH 1/3] powerpc: Don't force ENOSYS as error on syscall fail

2015-02-09 Thread Bogdan Purcareata
In certain scenarios - e.g. seccomp filtering with ERRNO as default action - the system call fails for other reasons than the syscall not being available. The seccomp filter can be configured to store a user-defined error code on return from a blacklisted syscall. The RFC is this: are there curren

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 03:35 PM, Peter Rosin wrote: > > Bo Shen wrote: > >> Hi Peter, > > > > Hi! > > > >> On 02/07/2015 06:51 PM, Peter Rosin wrote: > >>> Mark Brown wrote: > On Wed, Feb 04, 2015 at 12:52:25PM +0100, Peter Rosin wrote: > > > One thing remains a

RE: [RFC] change non-atomic bitops method

2015-02-09 Thread Wang, Yalin
> -Original Message- > From: Andrew Morton [mailto:a...@linux-foundation.org] > Sent: Tuesday, February 03, 2015 6:59 PM > To: Wang, Yalin > Cc: 'Kirill A. Shutemov'; 'a...@arndb.de'; 'linux-a...@vger.kernel.org'; > 'linux-kernel@vger.kernel.org'; 'li...@arm.linux.org.uk'; 'linux-arm- > ker

Re: [E1000-devel] [PATCH 1/3] ixgbe, ixgbevf: Add new mbox API to enable MC promiscuous mode

2015-02-09 Thread Jeff Kirsher
On Mon, 2015-02-09 at 06:59 +, Hiroshi Shimamoto wrote: > > > Subject: Re: [E1000-devel] [PATCH 1/3] ixgbe, ixgbevf: Add new mbox API > > > to enable MC promiscuous mode > > > > > > On Fri, 2015-01-30 at 11:37 +, Hiroshi Shimamoto wrote: > > > > From: Hiroshi Shimamoto > > > > > > > > The

Re: [tip:sched/urgent] sched/fair: Avoid using uninitialized variable in preferred_group_nid()

2015-02-09 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Wed, Jan 28, 2015 at 02:46:19PM +, Jan Beulich wrote: > > >>> On 28.01.15 at 15:29, wrote: > > > Commit-ID: 81907478c4311a679849216abf723999184ab984 > > > Gitweb: > > > http://git.kernel.org/tip/81907478c4311a679849216abf723999184ab984 > > > Author: J

Re: [PATCH] kvm: add halt_poll_ns module parameter

2015-02-09 Thread Xiao Guangrong
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. finish_wait(&vcpu->wq, &wait); + cur = ktime_get(); We can move

Re: [tip:irq/core] genirq: Set initial affinity in irq_set_affinity_hint()

2015-02-09 Thread Ingo Molnar
* Jesse Brandeburg wrote: > On Tue, 27 Jan 2015 22:36:23 -0800 > Yinghai Lu wrote: > > > On Fri, Jan 23, 2015 at 2:42 AM, tip-bot for Jesse Brandeburg > > wrote: > > > Commit-ID: e2e64a932556cdfae455497dbe94a8db151fc9fa > > > Gitweb: > > > http://git.kernel.org/tip/e2e64a932556cdfae4554

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

2015-02-09 Thread Peter Ujfalusi
On 02/06/2015 09:26 PM, Peter Ujfalusi wrote: >> Yeah, I've never really bothered with data too much, its a debug >> feature. So lock_class_key is 8 bytes, and strictly speaking you could >> union them over other fields, all we really need is unique addresses, we >> don't actually use the storage.

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

2015-02-09 Thread Peter Zijlstra
On Mon, Feb 09, 2015 at 01:58:33PM +0800, Huang Ying wrote: > FYI, we noticed the below changes on > > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core > commit 9edfbfed3f544a7830d99b341f0c175995a02950 ("sched/core: Rework > rq->clock update skips") > > > testbox/testcase/te

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

2015-02-09 Thread George Spelvin
Two more comments on the code. Two minor, but one that seems like a bug, so for now, it's Nacked-by: George Spelvin Specifically, it seems like find_last_bit used to ignore trailing garbage in the bitmap, but now will stop searching if the last word contains some set bits not within size. Th

[GIT PULL] RCU tree changes for v3.20

2015-02-09 Thread Ingo Molnar
Linus, Please pull the latest core-rcu-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-rcu-for-linus # HEAD: f49028292c13b958fdf4f36c8cc8119d0dde187b Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into co

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 02:17 -0500, Andrej Manduch wrote: > Hi, > > Can you please leave full patch with git diff when you're replying to > Nicks e-mails? Nick is banned in *@vger.kernel.org so we cannot see his > patches and rest of the world is seeing only replyies to his e-mail. And > it's reall

Re: [LKP] [genetlink] WARNING: CPU: 0 PID: 804 at net/netlink/genetlink.c:1037 genl_unbind+0xc0/0xd0()

2015-02-09 Thread Huang Ying
I found the test summary table for the test, just FYI. +---+++ | | f555f3d76a | 5ad6300524 | +---+++ | b

[PATCH 3.10 10/17] ext4: prevent bugon on race between write/fcntl

2015-02-09 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Monakhov commit a41537e69b4aa43f0fea02498c2595a81267383b upstream. O_DIRECT flags can be toggeled via fcntl(F_SETFL). But this value checked twice inside ext4_file_write_iter() and __ge

[PATCH 3.10 01/17] gpio: sysfs: fix memory leak in gpiod_export_link

2015-02-09 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 0f303db08df0df9bd0966443ad6001e63960af16 upstream. Fix memory leak in the gpio sysfs interface due to failure to drop reference to device returned by class_find_device when

[PATCH 3.10 13/17] ASoC: sgtl5000: add delay before first I2C access

2015-02-09 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Eric Nelson commit 58cc9c9a175885bbf6bae3acf18233d0a8229a84 upstream. To quote from section 1.3.1 of the data sheet: The SGTL5000 has an internal reset that is deasserted 8 SYS

[PATCH 3.10 08/17] nilfs2: fix deadlock of segment constructor over I_SYNC flag

2015-02-09 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Ryusuke Konishi commit 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52 upstream. Nilfs2 eventually hangs in a stress test with fsstress program. This issue was caused by the following deadlock over

[PATCH 3.14 10/20] lib/checksum.c: fix carry in csum_tcpudp_nofold

2015-02-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: karl beldan commit 150ae0e94634714b23919f0c333fee28a5b199d5 upstream. The carry from the 64->32bits folding was dropped, e.g with: saddr=0x daddr=0xFFFF len=0x proto=0 sum=1, c

[PATCH 3.14 13/20] arm64: Fix up /proc/cpuinfo

2015-02-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Mark Rutland commit 44b82b7700d05a52cd983799d3ecde1a976b3bed upstream. Commit d7a49086f263164a (arm64: cpuinfo: print info for all CPUs) attempted to clean up /proc/cpuinfo, but due to concern

[PATCH 3.10 14/17] ALSA: ak411x: Fix stall in work callback

2015-02-09 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 4161b4505f1690358ac0a9ee59845a7887336b21 upstream. When ak4114 work calls its callback and the callback invokes ak4114_reinit(), it stalls due to flush_delayed_work(). For

[PATCH 3.18 11/39] MIPS: IRQ: Fix disable_irq on CPU IRQs

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

[PATCH 3.18 16/39] ARM: 8299/1: mm: ensure local active ASID is marked as allocated on rollover

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit 8e64806672466392acf19e14427d1c29df3e58b9 upstream. Commit e1a5848e3398 ("ARM: 7924/1: mm: don't bother with reserved ttbr0 when running with LPAE") removed the use of the re

[PATCH 3.14 17/20] ASoC: sgtl5000: add delay before first I2C access

2015-02-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Nelson commit 58cc9c9a175885bbf6bae3acf18233d0a8229a84 upstream. To quote from section 1.3.1 of the data sheet: The SGTL5000 has an internal reset that is deasserted 8 SYS

[PATCH 3.14 09/20] mm: pagewalk: call pte_hole() for VM_PFNMAP during walk_page_range

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

[PATCH 3.18 13/39] MIPS: Fix kernel lockup or crash after CPU offline/online

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

[PATCH 3.14 07/20] ARM: 8299/1: mm: ensure local active ASID is marked as allocated on rollover

2015-02-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit 8e64806672466392acf19e14427d1c29df3e58b9 upstream. Commit e1a5848e3398 ("ARM: 7924/1: mm: don't bother with reserved ttbr0 when running with LPAE") removed the use of the re

[PATCH 3.18 02/39] gpio: sysfs: fix memory leak in gpiod_sysfs_set_active_low

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

[PATCH 3.18 08/39] spi: imx: use pio mode for i.mx6dl

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Robin Gong commit a02bb401f8ae264be782ee57d98bdd99f14c8022 upstream. For TKT238285 hardware issue which may cause txfifo store data twice can only be caught on i.mx6dl, we use pio mode instead

[PATCH 3.18 18/39] md/raid5: fix another livelock caused by non-aligned writes.

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit b1b02fe97f75b12ab34b2303bfd4e3526d903a58 upstream. If a non-page-aligned write is destined for a device which is missing/faulty, we can deadlock. As the target device is miss

[PATCH 3.18 27/39] drm/radeon: properly set vm fragment size for TN/RL

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit a124d068bf5be6be2ff4b9fab77b1b7509107e68 upstream. Should be the same as cayman. We don't use VM by default on NI parts so this isn't critical. Signed-off-by: Alex Deuche

[PATCH 3.18 38/39] tracing: Add condition check to RCU lockdep checks

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit a05d59a5673339ef6936d6940cdf68172ce75b9f upstream. The trace_tlb_flush() tracepoint can be called when a CPU is going offline. When a CPU is offline, RCU is n

Re: [PATCH v2] brcmfmac: avoid duplicated suspend/resume operation

2015-02-09 Thread Arend van Spriel
On 02/09/15 05:43, Fu, Zhonghui wrote: From ff39ed4af9f1c50358fe92ec4c8eaac9db183e00 Mon Sep 17 00:00:00 2001 From: Zhonghui Fu Date: Mon, 26 Jan 2015 10:13:21 +0800 Subject: [PATCH v2] brcmfmac: avoid duplicated suspend/resume operation WiFi chip has 2 SDIO functions, and PM core will trigger

[PATCH 3.18 09/39] sd: Fix max transfer length for 4k disks

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Brian King commit 3a9794d32984b67a6d8992226918618f0e51e5d5 upstream. The following patch fixes an issue observed with 4k sector disks where the max_hw_sectors attribute was getting set too lar

[PATCH 3.18 35/39] x86, microcode: Return error from driver init code when loader is disabled

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Boris Ostrovsky commit da63865a01c6384d459464e5165d95d4f04878d8 upstream. Commits 65cef1311d5d ("x86, microcode: Add a disable chicken bit") and a18a0f6850d4 ("x86, microcode: Don't initialize

[PATCH 3.18 23/39] drm/radeon: dont init gpuvm if accel is disabled (v3)

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 544143f9e01a60a93eb00ab4bfcb9bf4702a2a7d upstream. If acceleration is disabled, it does not make sense to init gpuvm since nothing will use it. Moreover, if radeon_vm_init

[PATCH 3.18 21/39] memcg, shmem: fix shmem migration to use lrucare

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Michal Hocko commit f5e03a4989e80a86f8b514659dca8539132e6e09 upstream. It has been reported that 965GM might trigger VM_BUG_ON_PAGE(!lrucare && PageLRU(oldpage), oldpage) in mem_cgroup_mig

[PATCH 3.18 39/39] x86/tlb/trace: Do not trace on CPU that is offline

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit 6c8465a82a605bc692304bab42703017dcfff013 upstream. When taking a CPU down for suspend and resume, a tracepoint may be called when the CPU has been designated

[PATCH RFC v5 net-next 5/6] vhost: let vhost_signal() returns whether signalled

2015-02-09 Thread Jason Wang
Let vhost_signal() return whether or not vhost has injected an interrupt to guest. This is used for interrupt coalescing implementation to calculate the interval between two interrupts. Signed-off-by: Jason Wang --- drivers/vhost/vhost.c | 7 +-- drivers/vhost/vhost.h | 2 +- 2 files changed

[PATCH RFC v5 net-next 2/6] virtio_ring: try to disable event index callbacks in virtqueue_disable_cb()

2015-02-09 Thread Jason Wang
Currently, we do nothing to prevent the callbacks in virtqueue_disable_cb() when event index is used. This may cause spurious interrupts which may damage the performance. This patch tries to publish avail event as the used even to prevent the callbacks. Signed-off-by: Jason Wang --- drivers/virt

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

2015-02-09 Thread Bo Shen
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, struct atmel_ssc_info *ssc_p = &ssc_i

[PATCH 3.18 22/39] nilfs2: fix deadlock of segment constructor over I_SYNC flag

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Ryusuke Konishi commit 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52 upstream. Nilfs2 eventually hangs in a stress test with fsstress program. This issue was caused by the following deadlock over

[PATCH RFC v5 net-next 0/6] enable tx interrupts for virtio-net

2015-02-09 Thread Jason Wang
Hi: This is a new version of trying to enable tx interrupts for virtio-net. We used to try to avoid tx interrupts and orphan packets before transmission for virtio-net. This breaks socket accounting and can lead serveral other side effects e.g: - Several other functions which depends on socket a

Re: [PATCH V5 6/8] USB: f81232: clarify f81232_ioctl()

2015-02-09 Thread Johan Hovold
On Mon, Feb 09, 2015 at 02:59:12PM +0800, Peter Hung wrote: > Hello, > > Sergei Shtylyov 於 2015/2/6 下午 08:21 寫道: > >> We extract TIOCGSERIAL section in f81232_ioctl() to > >> f81232_get_serial_info() > >> to make it clarify > > > > You're also changing 'ser.baud_rate' from 460800 to 115200. An

[PATCH RFC v5 net-next 3/6] virtio_net: enable tx interrupt

2015-02-09 Thread Jason Wang
On newer hosts that support delayed tx interrupts, we probably don't have much to gain from orphaning packets early. Note: this might degrade performance for hosts without event idx support. Should be addressed by the next patch. Signed-off-by: Jason Wang --- Changes from RFCv4: - change:

[PATCH RFC v5 net-next 6/6] vhost_net: interrupt coalescing support

2015-02-09 Thread Jason Wang
This patch implements interrupt coalescing support for vhost_net. And provides ioctl()s for userspace to get and set coalescing parameters. Two kinds of parameters were allowed to be set: - max_coalesced_frames: which is the maximum numbers of packets were allowed before issuing an irq. - coales

[PATCH RFC v5 net-next 4/6] virtio-net: add basic interrupt coalescing support

2015-02-09 Thread Jason Wang
This patch enables the interrupt coalescing setting through ethtool. Cc: Rusty Russell Cc: Michael S. Tsirkin Signed-off-by: Jason Wang --- drivers/net/virtio_net.c| 67 + include/uapi/linux/virtio_net.h | 12 2 files changed, 79 inserti

[PATCH RFC v5 net-next 1/6] virtio_ring: fix virtqueue_enable_cb() when only 1 buffers were pending

2015-02-09 Thread Jason Wang
We currently does: bufs = (avail->idx - last_used_idx) * 3 / 4; This is ok now since we only try to enable the delayed callbacks when the queue is about to be full. This may not work well when there is only one pending buffer in the virtqueue (this may be the case after tx interrupt was enabled).

[PATCH] devicetree: Add TI-NSPIRE USB OTG support to device tree

2015-02-09 Thread Daniel Tang
Signed-off-by: Daniel Tang --- arch/arm/boot/dts/nspire-classic.dtsi | 5 + arch/arm/boot/dts/nspire-cx.dts | 4 arch/arm/boot/dts/nspire.dtsi | 21 + 3 files changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/nspire-classic.dtsi b/arch/arm/boo

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

2015-02-09 Thread yuweizheng
From: Yuwei Zheng In the environment with heavy wifi traffic, set the ar9271 into monitor mode, will trigger a deadloop panic. The ath9k_hif_usb_rx_cb function excute on the interrupt context, and ath9k_rx_tasklet excute on the soft irq context. In other words, the ath9k_hif_usb_rx_cb have m

[PATCH 3.18 20/39] lib/checksum.c: fix carry in 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 commit 150ae0e94634714b23919f0c333fee28a5b199d5 upstream. The carry from the 64->32bits folding was dropped, e.g with: saddr=0x daddr=0xFFFF len=0x proto=0 sum=1, c

[GIT PULL] locking tree updates for v3.20

2015-02-09 Thread Ingo Molnar
Linus, Please pull the latest locking-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-core-for-linus # HEAD: afffc6c1805d98e08e778cddb644a666e78cfcfd locking/rtmutex: Optimize setting task running after being blocked The main changes are:

[PATCH 3.18 34/39] ARM: dts: Fix I2S1, I2S2 compatible for exynos4 SoCs

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Sylwester Nawrocki commit fddcd300732dad5b822d27de7aa78998dca43162 upstream. I2S1, I2S2 on Exynos4 SoC series have limited functionality compared to I2S0, "samsung,s3c6410-i2s" compatible shou

Re: [PATCH] tpm, tpm_tis: fix TPM 2.0 probing

2015-02-09 Thread Jarkko Sakkinen
On Mon, Feb 09, 2015 at 12:08:46AM +0100, Peter Hüwe wrote: > Am Mittwoch, 4. Februar 2015, 15:21:09 schrieb Jarkko Sakkinen: > > If during transmission system error was returned, the logic was to > > incorrectly deduce that chip is a TPM 1.x chip. This patch fixes this > > issue. Also, this patch

[PATCH 3.18 37/39] hrtimer: Fix incorrect tai offset calculation for non high-res timer systems

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: John Stultz commit 2d926c15d629a13914ce3e5f26354f6a0ac99e70 upstream. I noticed some CLOCK_TAI timer test failures on one of my less-frequently used configurations. And after digging in I foun

[PATCH 3.18 33/39] ALSA: ak411x: Fix stall in work callback

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 4161b4505f1690358ac0a9ee59845a7887336b21 upstream. When ak4114 work calls its callback and the callback invokes ak4114_reinit(), it stalls due to flush_delayed_work(). For

[PATCH 3.18 36/39] smpboot: Add missing get_online_cpus() in smpboot_register_percpu_thread()

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Lai Jiangshan commit 4bee96860a65c3a62d332edac331b3cf936ba3ad upstream. The following race exists in the smpboot percpu threads management: CPU0 CPU1 cpu_up(2) get_o

[PATCH 3.18 32/39] ASoC: sgtl5000: add delay before first I2C access

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric Nelson commit 58cc9c9a175885bbf6bae3acf18233d0a8229a84 upstream. To quote from section 1.3.1 of the data sheet: The SGTL5000 has an internal reset that is deasserted 8 SYS

[PATCH 3.18 31/39] ASoC: atmel_ssc_dai: fix start event for I2S mode

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Bo Shen commit a43bd7e125143b875caae6d4f9938855b440faaf upstream. According to the I2S specification information as following: - WS = 0, channel 1 (left) - WS = 1, channel 2 (right) So, th

[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 commit b184c388f773f30b6c707d3d4599b2db80f4390c upstream. Create default gpio base if neither device node nor platform data is defined. Signed-off-by: Sonic Zhang Reviewed-by: Al

[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 commit 44b82b7700d05a52cd983799d3ecde1a976b3bed upstream. Commit d7a49086f263164a (arm64: cpuinfo: print info for all CPUs) attempted to clean up /proc/cpuinfo, but due to concern

[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 commit 9ce357795ef208faa0d59894d9d119a7434e37f3 upstream. Fixed commit added from64to32 under _#ifndef do_csum_ but used it under _#ifndef csum_tcpudp_nofold_, breaking some builds

[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 commit 23aaed6659df9adfabe9c583e67a36b54e21df46 upstream. walk_page_range() silently skips vma having VM_PFNMAP set, which leads to undesirable behaviour at client end (who calle

[PATCH 3.18 04/39] PCI: designware: Reject MSI-X IRQs

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Lucas Stach commit 19c5392eb1c1e81188e898400c0e8258827eb160 upstream. The DesignWare PCIe MSI hardware does not support MSI-X IRQs. Setting those up failed as a side effect of a bug which was

[PATCH 3.18 00/39] 3.18.7-stable review

2015-02-09 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.18.7 release. There are 39 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Feb 11 08:33:11 UTC 2015. Anything receive

[PATCH 3.18 05/39] PCI: Add NEC variants to Stratus ftServer PCIe DMI check

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Charlotte Richardson commit 51ac3d2f0c505ca36ffc9715ffd518d756589ef8 upstream. NEC OEMs the same platforms as Stratus does, which have multiple devices on some PCIe buses under downstream port

[PATCH 3.18 07/39] spi: spi-fsl-dspi: Remove usage of devm_kzalloc

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Bhuvanchandra DV commit 973fbce69ed8e79b5fe3ad19cfecb581a7ef8048 upstream. devm_* API was supposed to be used only in probe function call. Memory is allocated at 'probe' and free automatically

[PATCH 3.18 06/39] PCI: Handle read-only BARs on AMD CS553x devices

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Myron Stowe commit 06cf35f903aa6da0cc8d9f81e9bcd1f7e1b534bb upstream. Some AMD CS553x devices have read-only BARs because of a firmware or hardware defect. There's a workaround in quirk_cs553

[PATCH 3.18 14/39] MIPS: mipsregs.h: Add write_32bit_cp1_register()

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: James Hogan commit 5e32033e14ca9c7f7341cb383f5a05699b0b5382 upstream. Add a write_32bit_cp1_register() macro to compliment the read_32bit_cp1_register() macro. This is to abstract whether .set

[PATCH 3.18 10/39] MIPS: Fix C0_Pagegrain[IEC] support.

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: David Daney commit 9ead8632bbf454cfc709b6205dc9cd8582fb0d64 upstream. The following commits: 5890f70f15c52d (MIPS: Use dedicated exception handler if CPU supports RI/XI exceptions) 6575b

[PATCH 3.18 12/39] MIPS: OCTEON: fix kernel crash when offlining a CPU

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

[PATCH 3.18 15/39] MIPS: traps: Fix inline asm ctc1 missing .set hardfloat

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: James Hogan commit d76e9b9fc5de7e8fc4fd0e72a94e8c723929ffea upstream. Commit 842dfc11ea9a ("MIPS: Fix build with binutils 2.24.51+") in v3.18 enabled -msoft-float and sprinkled ".set hardfloat

[PATCH 3.14 00/20] 3.14.33-stable review

2015-02-09 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.14.33 release. There are 20 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Feb 11 08:30:18 UTC 2015. Anything receiv

[PATCH 3.18 01/39] gpio: sysfs: fix memory leak in gpiod_export_link

2015-02-09 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 0f303db08df0df9bd0966443ad6001e63960af16 upstream. Fix memory leak in the gpio sysfs interface due to failure to drop reference to device returned by class_find_device when

[PATCH 3.18 17/39] Complete oplock break jobs before closing file handle

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

[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 commit ca7df8e0bb2a5ec79691de8a1a4c0e611fe04e60 upstream. Commit c11f1df5003d534fd067f0168bfad7befffb3b5c requires writers to wait for any pending oplock break handler to complet

[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 And found something as follow in the stderr after t

[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 commit 49d2ca84e433dab854c7a866bc6add09cfab682d upstream. Fix memory leak in the gpio sysfs interface due to failure to drop reference to device returned by class_find_device when

[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 commit 4bee96860a65c3a62d332edac331b3cf936ba3ad upstream. The following race exists in the smpboot percpu threads management: CPU0 CPU1 cpu_up(2) get_o

[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 commit d974baa398f34393db76be45f7d4d04fbdbb4a0a upstream. CR4 isn't constant; at least the TSD and PCE bits can vary. TBH, treating CR0 and CR3 as constant scares me a bit, to

[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 commit a3e6c1eff54878506b2dddcc202df9cc8180facb upstream. If the irq_chip does not define .irq_disable, any call to disable_irq will defer disabling the IRQ until it fires while

[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 commit 51ac3d2f0c505ca36ffc9715ffd518d756589ef8 upstream. NEC OEMs the same platforms as Stratus does, which have multiple devices on some PCIe buses under downstream port

[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 commit 63a87fe0d0de2ce126a8cec9a299a133cfd5658e upstream. octeon_cpu_disable() will unconditionally enable interrupts when called. We can assume that the routine is always called

[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 commit c7754e75100ed5e3068ac5085747f2bfc386c8d6 upstream. As printk() invocation can cause e.g. a TLB miss, printk() cannot be called before the exception handlers have been pro

[PATCH 3.14 18/20] ALSA: ak411x: Fix stall in work callback

2015-02-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 4161b4505f1690358ac0a9ee59845a7887336b21 upstream. When ak4114 work calls its callback and the callback invokes ak4114_reinit(), it stalls due to flush_delayed_work(). For

[PATCH 3.14 16/20] ASoC: atmel_ssc_dai: fix start event for I2S mode

2015-02-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Bo Shen commit a43bd7e125143b875caae6d4f9938855b440faaf upstream. According to the I2S specification information as following: - WS = 0, channel 1 (left) - WS = 1, channel 2 (right) So, th

[GIT PULL] perf tree updates for v3.20

2015-02-09 Thread Ingo Molnar
Linus, Please pull the latest perf-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-core-for-linus # HEAD: 2fde4f94e0a9531251e706fa57131b51b0df042e perf: Decouple unthrottling and rotating Kernel side changes: - AMD range breakpoints suppo

Re: [PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-02-09 Thread Maxime Ripard
On Sat, Feb 07, 2015 at 05:42:44PM +0100, Thomas Niederprüm wrote: > > > +static struct device_attribute device_attrs[] = { > > > + __ATTR(contrast, S_IRUGO|S_IWUSR, show_contrast, > > > store_contrast), > > > + __ATTR(dim, S_IRUGO|S_IWUSR, show_dim, store_dim), > > > + > > > +}; > > > + > > > > I

Re: [RFC][PATCH 1/3] powerpc: Don't force ENOSYS as error on syscall fail

2015-02-09 Thread Purcareata Bogdan
Obvious mistake on my behalf to send the patch with lines commented out. I will fix it in v2. On 09.02.2015 09:55, Bogdan Purcareata wrote: In certain scenarios - e.g. seccomp filtering with ERRNO as default action - the system call fails for other reasons than the syscall not being available.

[PATCH 3.14 15/20] lib/checksum.c: fix build for generic csum_tcpudp_nofold

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

[PATCH 3.10 16/17] kvm: vmx: handle invvpid vm exit gracefully

2015-02-09 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Petr Matousek commit a642fc305053cc1c6e47e4f4df327895747ab485 upstream. On systems with invvpid instruction support (corresponding bit in IA32_VMX_EPT_VPID_CAP MSR is set) guest invocation of

[PATCH 3.10 05/17] MIPS: Fix kernel lockup or crash after CPU offline/online

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

[PATCH 3.10 06/17] mm: pagewalk: call pte_hole() for VM_PFNMAP during walk_page_range

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

[PATCH 3.10 07/17] lib/checksum.c: fix carry in 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 commit 150ae0e94634714b23919f0c333fee28a5b199d5 upstream. The carry from the 64->32bits folding was dropped, e.g with: saddr=0x daddr=0xFFFF len=0x proto=0 sum=1, c

[PATCH 3.14 01/20] gpio: sysfs: fix memory leak in gpiod_export_link

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

  1   2   3   4   5   6   7   8   >