[PATCH 3/4] iommu/amd: Fix device_state reference counting

2014-07-30 Thread Joerg Roedel
From: Joerg Roedel The references to the device state are not dropped everywhere. This might cause a dead-lock in amd_iommu_free_device(). Fix it. Signed-off-by: Joerg Roedel Tested-by: Oded Gabbay --- drivers/iommu/amd_iommu_v2.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/dri

[PATCH 1/4] iommu/amd: Don't set pasid_state->mm to NULL in unbind_pasid

2014-07-30 Thread Joerg Roedel
From: Joerg Roedel With calling te mmu_notifier_register function we hold a reference to the mm_struct that needs to be released in mmu_notifier_unregister. This is true even if the notifier was already unregistered from exit_mmap and the .release call-back has already run. So make sure we call

[PATCH 2/4] iommu/amd: Remove change_pte mmu_notifier call-back

2014-07-30 Thread Joerg Roedel
From: Joerg Roedel All calls to this call-back are wrapped with mmu_notifer_invalidate_range_start()/end(), making this notifier pretty useless, so remove it. Signed-off-by: Joerg Roedel Tested-by: Oded Gabbay --- drivers/iommu/amd_iommu_v2.c | 9 - 1 file changed, 9 deletions(-) dif

[PATCH 4/4] iommu/amd: Fix 2 typos in comments

2014-07-30 Thread Joerg Roedel
From: Joerg Roedel amd_iommu_pasid_bind -> amd_iommu_bind_pasid Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu_v2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iommu/amd_iommu_v2.c b/drivers/iommu/amd_iommu_v2.c index 2de13be..5f578e8 100644 --- a/d

[PATCH] tty: serial: serial_core.c: printk replacement

2014-07-30 Thread Sudip Mukherjee
printk replaced with corresponding dev_* fixed two broken user-visible strings used by the corresponding printk Signed-off-by: Sudip Mukherjee --- drivers/tty/serial/serial_core.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/tty/serial/seria

Re: [PATCH 13/19 v2] staging: comedi: amplc_pci230: remove unnecessary braces

2014-07-30 Thread Dan Carpenter
On Wed, Jul 30, 2014 at 03:04:03PM +0100, Ian Abbott wrote: > On 2014-07-30 14:41, Dan Carpenter wrote: > >On Wed, Jul 30, 2014 at 12:53:47PM +0100, Ian Abbott wrote: > >>Signed-off-by: Ian Abbott > >>--- > >>v2: Be less aggressive in brace removal. Keep them for outer nested > >>'if's. Keep the

Re: [PATCH v5 0/7] kernel: Add support for restart handler call chain

2014-07-30 Thread Guenter Roeck
On 07/30/2014 05:16 AM, Heiko Stübner wrote: Hi Guenter, Am Dienstag, 29. Juli 2014, 18:50:47 schrieb Guenter Roeck: On 07/18/2014 12:34 AM, Guenter Roeck wrote: Various drivers implement architecture and/or device specific means to restart (reset) the system. Various mechanisms have been impl

Re: [PATCH 1/1] dmaengine: of: kconfig: select DMA_ENGINE when DMA_OF is selected

2014-07-30 Thread Alexander Popov
2014-07-30 17:38 GMT+04:00 Vinod Koul : > On Wed, Jul 30, 2014 at 03:58:51PM +0400, Alexander Popov wrote: >> Select DMA_ENGINE when DMA_OF is selected since >> of_dma_xlate_by_chan_id() from drivers/dma/of-dma.c uses >> dma_get_slave_channel() from drivers/dma/dmaengine.c >> > Please give credit t

Re: [PATCH] staging: vt6655: Fix device table definition.

2014-07-30 Thread Fernando Apesteguía
On Wed, Jul 30, 2014 at 1:43 PM, Tobias Klauser wrote: > > On 2014-07-29 at 19:44:24 +0200, fernando.apesteg...@gmail.com > wrote: > > From: Fernando Apesteguia > > > > Add static to the definition of the pci device table. > > > > Signed-off-by: Fernando Apesteguia > > This change is already p

Re: Work Queue for btrfs compression writes

2014-07-30 Thread Theodore Ts'o
On Wed, Jul 30, 2014 at 10:38:21AM +0100, Hugo Mills wrote: > qemu/kvm is good for this, because it has a mode > that bypasses the BIOS and bootloader emulation, and just directly > runs a kernel from a file on the host machine. This is fast. You can > pass large sparse files to the VM to act as sc

[Patch v4] input: drv260x: Add TI drv260x haptics driver

2014-07-30 Thread Dan Murphy
Add the TI drv260x haptics/vibrator driver. This device uses the input force feedback to produce a wave form to driver an ERM or LRA actuator device. The initial driver supports the devices real time playback mode. But the device has additional wave patterns in ROM. This functionality will be ad

[PATCH 1/2] brd: Fix the partitions BUG

2014-07-30 Thread Boaz Harrosh
With current code after a call to: bdev = blkdev_get_by_path(dev_name, mode, fs_type); size = i_size_read(bdev->bd_inode); part_size = bdev->bd_part->nr_sects << 9; I get the following bad results: dev_name == /dev/ram0 foo: [foo_mount:880] size=0x4000 bdev=8800

Re: [PATCH 2/3] watchdog: control hard lockup detection default

2014-07-30 Thread Paolo Bonzini
Il 30/07/2014 15:43, Don Zickus ha scritto: >> > Nice catch. Looks like this will need a v2. Paolo, do we have a >> > consensus on the proc echoing? Or should that be revisited in the v2 as >> > well? > As discussed privately, how about something like this to handle that case: > (applied on top of

Re: [PATCH 1/6] thermal: of: Add support for hardware-tracked trip points

2014-07-30 Thread Eduardo Valentin
Terve Mikko, On Fri, Jun 27, 2014 at 11:11:34AM +0300, Mikko Perttunen wrote: > This adds support for hardware-tracked trip points to the device tree > thermal sensor framework. > > The framework supports an arbitrary number of trip points. Whenever > the current temperature is updated, the trip

[PATCH 2/2] brd: Fix brd_direct_access with partitions

2014-07-30 Thread Boaz Harrosh
When brd_direct_access() is called on a partition-bdev it would access the wrong sector. And caller would then corrupt the device's data. This is a preliminary fix, Matthew Wilcox has a patch in his DAX patchset which will define a global wrapper to bdev->bd_disk->fops->direct_access that will do

Re: [PATCH] cpufreq, store_scaling_governor requires policy->rwsem to be held for duration of changing governors [v2]

2014-07-30 Thread Prarit Bhargava
On 07/29/2014 08:03 PM, Rafael J. Wysocki wrote: > On Tuesday, July 29, 2014 07:46:02 AM Prarit Bhargava wrote: >> [v2]: Fixed wording of commit, and added additional testing information. >> >> A while ago we added a test to mimic some of our users' userspace governor >> programs which monitor sy

Re: [PATCH v5 14/14] mm, compaction: try to capture the just-created high-order freepage

2014-07-30 Thread Joonsoo Kim
Oops... resend because of omitting everyone on CC. 2014-07-30 18:56 GMT+09:00 Vlastimil Babka : > On 07/30/2014 10:39 AM, Joonsoo Kim wrote: >> >> On Tue, Jul 29, 2014 at 05:34:37PM +0200, Vlastimil Babka wrote: >>> >>> Could do it in isolate_migratepages() for whole pageblocks only (as >>> David'

Re: [PATCH] vfs: Fix RCU usage in __propagate_umount()

2014-07-30 Thread Richard Weinberger
Am 30.07.2014 15:59, schrieb Richard Weinberger: > If we use the plain list_empty() we might not see the > hlist_del_init_rcu() and therefore miss one member of the > list. > > It fixes the following issue: > $ unshare -m /usr/bin/sleep 1 & > $ mkdir -p foo/proc > $ mount -t proc none foo/proc

Re: [alsa-devel] [PATCH] ASoC: max98090 add irq valid check

2014-07-30 Thread Jarkko Nikula
Hi On 07/30/2014 11:54 AM, jianqun wrote: From: Jianqun Since IRQ pin from max98090 may NC, the irq number will be zero, that is invalid for request_threaded_irq, so just add irq valid check there. Since hardware may not MUST to use IRQ pin of max98090 as jack detect, the driver can work well

Re: [PATCH RFC tip/core/rcu 1/9] rcu: Add call_rcu_tasks()

2014-07-30 Thread Paul E. McKenney
On Wed, Jul 30, 2014 at 03:23:39PM +0200, Mike Galbraith wrote: > On Tue, 2014-07-29 at 11:06 -0700, Paul E. McKenney wrote: > > On Tue, Jul 29, 2014 at 07:33:32PM +0200, Peter Zijlstra wrote: > > > > FWIW its _the_ thing that makes nohz_full uninteresting for me. The > > > required overhead is i

Re: [PATCH v3] video: hyperv: hyperv_fb: refresh the VM screen by force on VM panic

2014-07-30 Thread Tomi Valkeinen
On 09/07/14 06:04, Dexuan Cui wrote: > Currently the VSC has no chance to notify the VSP of the dirty rectangle on VM > panic because the notification work is done in a workqueue, and in panic() the > kernel typically ends up in an infinite loop, and a typical kernel config has > CONFIG_PREEMPT_VOL

Re: [LKP] [sched/numa] a43455a1d57: +94.1% proc-vmstat.numa_hint_faults_local

2014-07-30 Thread Rik van Riel
On 07/29/2014 10:14 PM, Aaron Lu wrote: > On Tue, Jul 29, 2014 at 04:04:37PM -0400, Rik van Riel wrote: >> On Tue, 29 Jul 2014 10:17:12 +0200 >> Peter Zijlstra wrote: >> +#define NUMA_SCALE 1000 +#define NUMA_MOVE_THRESH 50 >>> >>> Please make that 1024, there's no reason not to use powe

Re: [PATCH] thermal: of: look for sensor driver parent node if device node missing

2014-07-30 Thread Eduardo Valentin
Hello Laxman, On Wed, Jul 30, 2014 at 07:09:04PM +0530, Laxman Dewangan wrote: > On Wednesday 30 July 2014 06:48 PM, Eduardo Valentin wrote: > > Laxman, > > > > On Mon, Jul 14, 2014 at 02:04:55PM +0200, Lucas Stach wrote: > >> Am Montag, den 14.07.2014, 16:42 +0530 schrieb Laxman Dewangan: > >>> T

Re: [PATCH v2 2/4] driver core: enable drivers to use deferred probefrom init

2014-07-30 Thread Luis R. Rodriguez
On Wed, Jul 30, 2014 at 11:22:14AM +0900, Tetsuo Handa wrote: > Luis R. Rodriguez wrote: > > Tetsuo is it possible / desirable to allow tasks to not kill unless the > > reason is OOM ? Its unclear if this was discussed before, sorry if it was, > > have just been a bit busy today to review the archi

Re: [PATCH 13/19 v2] staging: comedi: amplc_pci230: remove unnecessary braces

2014-07-30 Thread Ian Abbott
On 2014-07-30 15:09, Dan Carpenter wrote: On Wed, Jul 30, 2014 at 03:04:03PM +0100, Ian Abbott wrote: On 2014-07-30 14:41, Dan Carpenter wrote: On Wed, Jul 30, 2014 at 12:53:47PM +0100, Ian Abbott wrote: Signed-off-by: Ian Abbott --- v2: Be less aggressive in brace removal. Keep them for out

Re: [PATCH v5 0/7] kernel: Add support for restart handler call chain

2014-07-30 Thread Guenter Roeck
On 07/30/2014 07:10 AM, Guenter Roeck wrote: On 07/30/2014 05:16 AM, Heiko Stübner wrote: Hi Guenter, Am Dienstag, 29. Juli 2014, 18:50:47 schrieb Guenter Roeck: On 07/18/2014 12:34 AM, Guenter Roeck wrote: Various drivers implement architecture and/or device specific means to restart (reset)

Re: [PATCH] Btrfs: Fix memory corruption by ulist_add_merge() on 32bit arch

2014-07-30 Thread Josef Bacik
On 07/30/2014 05:57 AM, Takashi Iwai wrote: At Mon, 28 Jul 2014 16:01:55 +0200, Takashi Iwai wrote: At Mon, 28 Jul 2014 15:48:41 +0200, Takashi Iwai wrote: At Mon, 28 Jul 2014 09:16:48 -0400, Josef Bacik wrote: On 07/28/2014 04:57 AM, Takashi Iwai wrote: We've got bug reports that btrfs cr

Re: [PATCH v4] devicetree: Add generic IOMMU device tree bindings

2014-07-30 Thread Will Deacon
On Wed, Jul 30, 2014 at 02:23:50PM +0100, Thierry Reding wrote: > On Wed, Jul 30, 2014 at 12:04:25PM +0100, Will Deacon wrote: > > On Fri, Jul 04, 2014 at 04:29:17PM +0100, Thierry Reding wrote: > > > From: Thierry Reding > > > > > > This commit introduces a generic device tree binding for IOMMU

Re: vmstat: On demand vmstat workers V8

2014-07-30 Thread Christoph Lameter
On Wed, 30 Jul 2014, Lai Jiangshan wrote: > > > > > > Index: linux/mm/vmstat.c > > === > > --- linux.orig/mm/vmstat.c 2014-07-29 10:22:45.073884943 -0500 > > +++ linux/mm/vmstat.c 2014-07-29 10:34:45.083369228 -0500 > > @@ -127

Re: [PATCH -v5] random: introduce getrandom(2) system call

2014-07-30 Thread Rolf Eike Beer
Theodore Ts'o wrote: It's me again, finding only one issue per cycle :/ > EAGAIN The requested entropy was not available, and > getentropy(2) would have blocked if GRND_BLOCK flag > was set. "if GRND_NONBLOCK flag was not set" Eike -- T

Re: Work Queue for btrfs compression writes

2014-07-30 Thread Peter Hurley
On 07/30/2014 10:13 AM, Theodore Ts'o wrote: > On Wed, Jul 30, 2014 at 10:38:21AM +0100, Hugo Mills wrote: >> qemu/kvm is good for this, because it has a mode >> that bypasses the BIOS and bootloader emulation, and just directly >> runs a kernel from a file on the host machine. This is fast. You ca

Re: [PATCH] tty: serial: serial_core.c: printk replacement

2014-07-30 Thread Jiri Slaby
On 07/30/2014, 04:07 PM, Sudip Mukherjee wrote: > printk replaced with corresponding dev_* > fixed two broken user-visible strings used by the corresponding printk > > > Signed-off-by: Sudip Mukherjee > --- > drivers/tty/serial/serial_core.c | 19 ++- > 1 file changed, 10 inser

Re: General flags to turn things off (getrandom, pid lookup, etc)

2014-07-30 Thread One Thousand Gnomes
> Andy you seem to be arguing here for two system calls. > get_urandom() and get_random(). > > Where get_urandom only blocks if there is not enough starting entropy, > and get_random(GRND_RANDOM) blocks if there is currently not enough > entropy. > > That would allow -ENOSYS to be the right retur

Re: General flags to turn things off (getrandom, pid lookup, etc)

2014-07-30 Thread One Thousand Gnomes
> > We sort of have one. It's called capable(). Just needs extending to cover > > anything else you care about, and probably all the numeric constants > > replacing with textual names. > > > > Except that it's all backwards: these are things that default to *on*, > and people might want them to tu

Re: [PATCH -v4] random: introduce getrandom(2) system call

2014-07-30 Thread Bernd Petrovitsch
On Mit, 2014-07-30 at 07:56 -0600, Bob Beck wrote: > Pavel. I have bit 'ol enterprise daemon running with established file > descriptors serving thousands of connections > which periodically require entropy. Now I run out of descriptors. I > can't establish new connections. but I should > now halt

Re: [PATCH 29/35] arm: omap: intc: switch over to linear irq domain

2014-07-30 Thread Felipe Balbi
HI, On Tue, Jul 29, 2014 at 11:04:21PM -0700, Tony Lindgren wrote: > * Felipe Balbi [140729 09:36]: > > Hi, > > > > On Tue, Jul 29, 2014 at 10:40:57AM -0500, Felipe Balbi wrote: > > > On Tue, Jul 29, 2014 at 08:20:52AM -0700, Tony Lindgren wrote: > > > > * Felipe Balbi [140729 07:18]: > > > > >

Re: [PATCH v2 2/5] sched: Teach scheduler to understand ONRQ_MIGRATING state

2014-07-30 Thread Oleg Nesterov
On 07/30, Kirill Tkhai wrote: > > В Вт, 29/07/2014 в 18:19 +0200, Oleg Nesterov пишет: > > On 07/29, Kirill Tkhai wrote: > > > > > > How about this? Everything is inside task_rq_lock() now. The patch > > > became much less. > > > > And with this change task_migrating() is not possible under > > tas

Re: vmstat: On demand vmstat workers V8

2014-07-30 Thread Christoph Lameter
On Wed, 30 Jul 2014, Lai Jiangshan wrote: > I think the bug is here, it re-queues the per_cpu(vmstat_work, cpu) which is > offline > (after vmstat_cpuup_callback(CPU_DOWN_PREPARE). And cpu_stat_off is accessed > without > proper lock. Ok. I guess we need to make the preemption check output mor

Re: [PATCH] x86, efi: print debug values in Kib not MB

2014-07-30 Thread Matt Fleming
On Wed, 30 Jul, at 12:29:32AM, Borislav Petkov wrote: > On Tue, Jul 29, 2014 at 01:09:21PM -0400, Prarit Bhargava wrote: > > The current debug print in EFI does > > > > [0.00] efi: mem84: type=3, attr=0xf, > > range=[0x645b5000-0x645fb000) (0MB) > > > > and rounds off the

Re: [fs] BUG: unable to handle kernel NULL pointer dereference at 00000104

2014-07-30 Thread Christoph Hellwig
On Wed, Jul 30, 2014 at 08:39:33PM +0800, Fengguang Wu wrote: > It's from this git tree: > > git://people.freedesktop.org/~dvdhrm/linux fops David, please make sure things touching VFS code go through linux-fsdevel and the proper trees. In the current form this gets a strong NAK. -- To unsubscri

Re: [RFC PATCHv2 00/11] Adding FreeBSD's Capsicum security framework

2014-07-30 Thread Andy Lutomirski
On Jul 29, 2014 11:25 PM, "Eric W. Biederman" wrote: > > > I have cut this down to just focus on O_BENEATH openat case. > > David Drysdale writes: > > > On Mon, Jul 28, 2014 at 10:13 PM, Eric W. Biederman > > wrote: > > >> Nope. What you can implement today if you want fine grained limitations

Re: [PATCH] tty: serial: serial_core.c: printk replacement

2014-07-30 Thread Sudip Mukherjee
On Wed, Jul 30, 2014 at 8:07 PM, Jiri Slaby wrote: > On 07/30/2014, 04:07 PM, Sudip Mukherjee wrote: >> printk replaced with corresponding dev_* >> fixed two broken user-visible strings used by the corresponding printk >> >> >> Signed-off-by: Sudip Mukherjee >> --- >> drivers/tty/serial/serial_c

Re: WARNING: CPU: 1 PID: 495 at mm/slab_common.c:69 kmem_cache_create+0x1a9/0x330()

2014-07-30 Thread Christoph Hellwig
On Wed, Jul 30, 2014 at 08:21:35AM -0400, Josh Boyer wrote: > > Thanks, I've update the author, added a Cc to ћtable and pushed it out to > > the core-for-3.17 branch. > > This fixes a bug in the 3.16 kernel. Why wouldn't it be sent to Linus > for inclusion in the final release there? I'm only c

Re: [PATCH 11/11] seccomp: Add tgid and tid into seccomp_data

2014-07-30 Thread Andy Lutomirski
On Jul 29, 2014 10:57 PM, "Eric W. Biederman" wrote: > > Andy Lutomirski writes: > > > On Tue, Jul 29, 2014 at 9:08 PM, Eric W. Biederman > > wrote: > >> Andy Lutomirski writes: > >> > >>> On Mon, Jul 28, 2014 at 2:18 PM, Eric W. Biederman > >>> wrote: > Andy Lutomirski writes: > >

[GIT PULL] Last minute bug fix for Exynos platform

2014-07-30 Thread Grant Likely
Hi Linus, This bug fix has been brewing for a while. I hate sending it to you so late, but I only got confirmation that it solves the problem this past weekend. The diff looks big for a bug fix, but the majority of it is only executed in the Exynos quirk case. Unfortunately it required splitting e

Re: [RESEND][PATCH 07/10][SCSI]mpt2sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-07-30 Thread Sreekanth Reddy
Hi Martin, Sorry for the delay as I was on vacation. Here are the change set when compared to the initial patch 1. Declared the following functions at the beginning of the mpt2sas_base.c file instead of moving all these functions before mpt2sas_base_map_resources() function a. _base_wait

Re: [scheduler] BUG: unable to handle kernel paging request at 000000000000ce50

2014-07-30 Thread Christoph Lameter
On Wed, 30 Jul 2014, Fengguang Wu wrote: > FYI, this commit seems to convert some kernel boot hang bug into > different BUG messages. Hmmm. Still a bit confused as to why these messages occur.. Does this patch do any good? Subject: vmstat ondemand: Fix online/offline races Do not allow onlinin

Re: [PATCH 3.12 81/94] libata: support the ata host which implements a queue depth less than 32

2014-07-30 Thread Thomas Backlund
Jiri Slaby skrev den 30.7.2014 15:15: From: Kevin Hao 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1871ee134b73fb4cadab75752a7152ed2813c751 upstream. The sata on fsl mpc8315e is broken after the commit 8a4aeec8d2d6 ("libata/ahci: accommo

Re: [PATCH 3/4 V3] irqchip: gic: Add supports for ARM GICv2m MSI(-X)

2014-07-30 Thread Marc Zyngier
On Thu, Jul 10 2014 at 12:05:03 am BST, "suravee.suthikulpa...@amd.com" wrote: Hi Suravee, > From: Suravee Suthikulpanit > > ARM GICv2m specification extends GICv2 to support MSI(-X) with > a new set of register frames. This patch introduces support for > the non-secure GICv2m register frame.

Re: [x86_64,vsyscall] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

2014-07-30 Thread Andy Lutomirski
On Wed, Jul 30, 2014 at 7:29 AM, Fengguang Wu wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > git://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/vsyscall > commit 442aba0c6131f0c41dfc5edb6bfb88335556523f > Author: Andy Lutomir

Re: [PATCH 2/2] mtd: nand: add Hynix's H27UCG8T2ATR-BC to nand_ids table

2014-07-30 Thread Boris BREZILLON
On Mon, 28 Jul 2014 11:16:52 +0200 Boris BREZILLON wrote: > Add the full description of the Hynix H27UCG8T2ATR-BC NAND chip in the > nand_ids table so that we can later use the NAND ECC infos and ONFI timings > mode in controller drivers. > > Signed-off-by: Boris BREZILLON > --- > drivers/mtd/

Re: [PATCH] Btrfs: Fix memory corruption by ulist_add_merge() on 32bit arch

2014-07-30 Thread Takashi Iwai
At Wed, 30 Jul 2014 10:29:46 -0400, Josef Bacik wrote: > > On 07/30/2014 05:57 AM, Takashi Iwai wrote: > > At Mon, 28 Jul 2014 16:01:55 +0200, > > Takashi Iwai wrote: > >> > >> At Mon, 28 Jul 2014 15:48:41 +0200, > >> Takashi Iwai wrote: > >>> > >>> At Mon, 28 Jul 2014 09:16:48 -0400, > >>> Josef

Re: [PATCH] Btrfs: Fix memory corruption by ulist_add_merge() on 32bit arch

2014-07-30 Thread Takashi Iwai
At Wed, 30 Jul 2014 17:01:52 +0200, Takashi Iwai wrote: > > At Wed, 30 Jul 2014 10:29:46 -0400, > Josef Bacik wrote: > > > > On 07/30/2014 05:57 AM, Takashi Iwai wrote: > > > At Mon, 28 Jul 2014 16:01:55 +0200, > > > Takashi Iwai wrote: > > >> > > >> At Mon, 28 Jul 2014 15:48:41 +0200, > > >> Tak

Re: [PATCH v5 14/14] mm, compaction: try to capture the just-created high-order freepage

2014-07-30 Thread Vlastimil Babka
On 07/30/2014 04:19 PM, Joonsoo Kim wrote: But, I guess that there is a reason that watermark_ok() is so conservative. If page allocator aggressively provides high order page, future atomic high order page request cannot succeed easily. For preventing this situation, watermark_ok() should be cons

Re: [PATCH] x86, efi: print debug values in Kib not MB

2014-07-30 Thread Colin Ian King
On 30/07/14 15:48, Matt Fleming wrote: > On Wed, 30 Jul, at 12:29:32AM, Borislav Petkov wrote: >> On Tue, Jul 29, 2014 at 01:09:21PM -0400, Prarit Bhargava wrote: >>> The current debug print in EFI does >>> >>> [0.00] efi: mem84: type=3, attr=0xf, >>> range=[0x645b5000-0x64

[PATCH 0/5] arm64, thunder: Enable Cavium Thunder SoC Family

2014-07-30 Thread Robert Richter
From: Robert Richter This initial patches enable Cavium Thunder SoC Family. The patches add Kconfig and devicetree support and then add Thunder to the defconfig. The last patch is unrelated to Thunder and enables the tmpfs mount option for a more convinient use of defconfig with distros. The Thu

[PATCH 5/5] arm64, defconfig: Enable tmpfs mount option

2014-07-30 Thread Robert Richter
From: Robert Richter Making it more convinient to run the arm64 default kernel as distros like Ubuntu need this option. Signed-off-by: Robert Richter --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig

[PATCH 1/5] arm64, thunder: Add Kconfig option for Cavium Thunder SoC Family

2014-07-30 Thread Robert Richter
From: Radha Mohan Chintakuntla Increase maximum numbers of cpus to 32. This relates to current maximal possible cpu number. Increasing this to 64 cpus will be a separate patch not part of this enablement patches. Signed-off-by: Radha Mohan Chintakuntla Signed-off-by: Robert Richter --- arch/a

[PATCH 2/5] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-07-30 Thread Robert Richter
From: Radha Mohan Chintakuntla Add initial device tree nodes for Cavium Thunder SoCs with support of 48 cores and gicv3. The dts file requires further changes, esp. for pci, gicv3-its and smmu. This changes will be added later together with the device drivers. Signed-off-by: Radha Mohan Chintaku

[PATCH 3/5] arm64, thunder: document devicetree bindings for Cavium Thunder SoC

2014-07-30 Thread Robert Richter
From: Radha Mohan Chintakuntla This patch adds documentation for the devicetree bindings used by the DT files of Cavium Thunder SoC platforms. Signed-off-by: Radha Mohan Chintakuntla Signed-off-by: Robert Richter --- Documentation/devicetree/bindings/arm/cavium-thunder.txt | 10 ++ Do

Re: [PATCH -tip/master 2/7] locking/mutex: Document quick lock release when unlocking

2014-07-30 Thread Jason Low
On Sun, 2014-07-27 at 22:18 -0700, Davidlohr Bueso wrote: > When unlocking, we always want to reach the slowpath with the lock's counter > indicating it is unlocked. -- as returned by the asm fastpath call or by > explicitly setting it. While doing so, at least in theory, we can optimize > and allo

Re: [PATCH -tip/master 3/7] locking/mcs: Remove obsolete comment

2014-07-30 Thread Jason Low
On Sun, 2014-07-27 at 22:18 -0700, Davidlohr Bueso wrote: > ... as we clearly inline mcs_spin_lock() now. > > Signed-off-by: Davidlohr Bueso Acked-by: Jason Low -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: WARNING: CPU: 1 PID: 495 at mm/slab_common.c:69 kmem_cache_create+0x1a9/0x330()

2014-07-30 Thread James Bottomley
On Wed, 2014-07-30 at 16:52 +0200, Christoph Hellwig wrote: > On Wed, Jul 30, 2014 at 08:21:35AM -0400, Josh Boyer wrote: > > > Thanks, I've update the author, added a Cc to ћtable and pushed it out to > > > the core-for-3.17 branch. > > > > This fixes a bug in the 3.16 kernel. Why wouldn't it be

Re: [PATCH 1/3] ARM: dts: Turn on USB host vbus on rk3288-evb

2014-07-30 Thread Doug Anderson
Heiko, On Wed, Jul 30, 2014 at 4:24 AM, Heiko Stübner wrote: > Am Dienstag, 29. Juli 2014, 16:24:31 schrieb Doug Anderson: >> There is no phy driver that works on the Rockchip board for either USB >> host port yet. For now just hardcode the vbus signal to be on all the >> time which makes both t

Re: [PATCH RFC tip/core/rcu 1/9] rcu: Add call_rcu_tasks()

2014-07-30 Thread Paul E. McKenney
On Wed, Jul 30, 2014 at 02:52:41PM +0800, Lai Jiangshan wrote: > On 07/29/2014 06:56 AM, Paul E. McKenney wrote: > > > + /* > > +* Each pass through the following loop scans the list > > +* of holdout tasks, removing any that are no longer > > +* holdo

Re: [patch] mm, oom: remove unnecessary exit_state check

2014-07-30 Thread Oleg Nesterov
On 07/29, David Rientjes wrote: > > --- a/kernel/exit.c > +++ b/kernel/exit.c > @@ -455,6 +455,7 @@ static void exit_mm(struct task_struct * tsk) > task_unlock(tsk); > mm_update_next_owner(mm); > mmput(mm); > + clear_thread_flag(TIF_MEMDIE); > } > > /* > diff --git a/mm/oo

[PATCH 4/5] arm64, defconfig: Enable Cavium Thunder SoC in defconfig

2014-07-30 Thread Robert Richter
From: Robert Richter This patch enables Thunder SoCs in the arm64 defconfig. This is esp. useful to add Thunder platforms to automated builds based on arm64 defconfig. Signed-off-by: Robert Richter --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/

Re: [PATCH 4/4 V3] irqchip: gicv2m: Add support for multiple MSI for ARM64 GICv2m

2014-07-30 Thread Marc Zyngier
On Thu, Jul 10 2014 at 12:05:04 am BST, "suravee.suthikulpa...@amd.com" wrote: > From: Suravee Suthikulpanit > > This patch extend GICv2m MSI to support multiple MSI in ARM64. > > This requires the common arch_setup_msi_irqs() to be overwriten > with ARM64 version which does not return 1 for PCI

Re: [PATCH 2/4] ARM: dts: add rk3288 dwc2 controller support

2014-07-30 Thread Sergei Shtylyov
Hello. On 07/30/2014 05:34 AM, Kever Yang wrote: rk3288 has two kind of usb controller, this add the dwc2 controller for otg and host1. Controller can works with usb PHY default setting and Vbus on. Signed-off-by: Kever Yang --- arch/arm/boot/dts/rk3288.dtsi | 20

Re: [PATCH -tip/master 4/7] locking/mutex: Refactor optimistic spinning code

2014-07-30 Thread Jason Low
On Sun, 2014-07-27 at 22:18 -0700, Davidlohr Bueso wrote: > +static bool mutex_optimistic_spin(struct mutex *lock, > + struct ww_acquire_ctx *ww_ctx, const bool > use_ww_ctx) > +{ > + struct task_struct *task = current; > + > + if (!mutex_can_spin_on_owner(lo

Re: [PATCH 1/2] perf tools: Ensure --symfs ends with '/'

2014-07-30 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 30, 2014 at 08:52:36AM +0900, Namhyung Kim escreveu: > Hi Arnaldo, > > On Tue, 29 Jul 2014 09:33:05 -0300, Arnaldo Carvalho de Melo wrote: > > Em Tue, Jul 29, 2014 at 02:02:46PM +0900, Minchan Kim escreveu: > >> On Fri, Jul 25, 2014 at 10:31:47AM +0900, Namhyung Kim wrote: > >> > Minch

Re: [PATCH -tip/master 5/7] locking/mutex: Use MUTEX_SPIN_ON_OWNER when appropriate

2014-07-30 Thread Jason Low
On Sun, 2014-07-27 at 22:18 -0700, Davidlohr Bueso wrote: > 4badad35 (locking/mutex: Disable optimistic spinning on some > architectures) added a ARCH_SUPPORTS_ATOMIC_RMW flag to > disable the mutex optimistic feature on specific archs. > > Because CONFIG_MUTEX_SPIN_ON_OWNER only depended on DEBUG

Re: [PATCH] KVM: nVMX: nested TPR shadow/threshold emulation

2014-07-30 Thread Paolo Bonzini
Il 30/07/2014 14:04, Wanpeng Li ha scritto: > @@ -7962,14 +7965,14 @@ static void prepare_vmcs02(struct kvm_vcpu *vcpu, > struct vmcs12 *vmcs12) > if (!vmx->rdtscp_enabled) > exec_control &= ~SECONDARY_EXEC_RDTSCP; > /* Take the following fields on

Re: [PATCH 3/3] ARM: dts: Enable USB host0 (EHCI) on rk3288-evb

2014-07-30 Thread Doug Anderson
Heiko, On Wed, Jul 30, 2014 at 4:26 AM, Heiko Stübner wrote: > Am Dienstag, 29. Juli 2014, 16:24:33 schrieb Doug Anderson: >> This is the top USB port on the evb (the one closest to the Ethernet >> connector). >> >> Signed-off-by: Doug Anderson >> Signed-off-by: Kever Yang > > shouldn't the sig

Re: [PATCH v4] devicetree: Add generic IOMMU device tree bindings

2014-07-30 Thread Mark Rutland
Hi Thierry, This looks sane to me. I just have a few questions below which are hopefully simple/stupid. On Fri, Jul 04, 2014 at 04:29:17PM +0100, Thierry Reding wrote: > From: Thierry Reding > > This commit introduces a generic device tree binding for IOMMU devices. > Only a very minimal subse

Re: [PATCH] cpuset: fix the WARN_ON() in update_nodemasks_hier()

2014-07-30 Thread Tejun Heo
On Wed, Jul 30, 2014 at 03:07:13PM +0800, Li Zefan wrote: > The WARN_ON() is used to check if we break the legal hierarchy, on > which the effective mems should be equal to configured mems. > > Reported-by: Mike Qiu > Tested-by: Mike Qiu > Signed-off-by: Li Zefan Applied to cgroup/for-3.17. T

[PATCH v4 1/3] usb: dwc3: add ST dwc3 glue layer to manage dwc3 HC

2014-07-30 Thread Peter Griffin
This patch adds the ST glue logic to manage the DWC3 HC on STiH407 SoC family. It manages the powerdown signal, and configures the internal glue logic and syscfg registers. Signed-off-by: Giuseppe Cavallaro Signed-off-by: Peter Griffin Acked-by: Lee Jones --- drivers/usb/dwc3/Kconfig | 9 +

[PATCH v4 3/3] MAINTAINERS: Add dwc3-st.c file to ARCH/STI architecture

2014-07-30 Thread Peter Griffin
Signed-off-by: Peter Griffin Acked-by: Lee Jones --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 702ca10..269ad3b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1325,6 +1325,7 @@ F:drivers/pinctrl/pinctrl-st.c F: drivers/media/rc/s

Re: [PATCH] ARM: smp_scu: Enable standby mode

2014-07-30 Thread Sören Brinkmann
On Wed, 2014-07-30 at 10:43AM +0100, Will Deacon wrote: > On Tue, Jul 29, 2014 at 06:21:03PM +0100, Soren Brinkmann wrote: > > Enable the SCU standby mode. > > From documentation: > > When set, SCU CLK is turned off when all processors are in WFI mode, > > there is no pending request on the ACP

[PATCH v4 2/3] usb: dwc3: dwc3-st: Add st-dwc3 devicetree bindings documentation

2014-07-30 Thread Peter Griffin
This patch documents the device tree documentation required for the ST usb3 controller glue layer found in STiH407 devices. Signed-off-by: Giuseppe Cavallaro Signed-off-by: Peter Griffin Acked-by: Lee Jones --- Documentation/devicetree/bindings/usb/dwc3-st.txt | 69 +++ 1 f

Re: [PATCH v3 2/3] usb: gadget: f_fs: add ioctl returning ep descriptor

2014-07-30 Thread Sergei Shtylyov
On 07/30/2014 01:43 PM, Robert Baldyga wrote: This patch introduces ioctl named FUNCTIONFS_ENDPOINT_DESC, which returns endpoint descriptor to userspace. It works only if function is active. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/f_fs.c | 17 + incl

Re: [x86_64,vsyscall] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

2014-07-30 Thread Fengguang Wu
On Wed, Jul 30, 2014 at 07:58:13AM -0700, Andy Lutomirski wrote: > On Wed, Jul 30, 2014 at 7:29 AM, Fengguang Wu wrote: > > Greetings, > > > > 0day kernel testing robot got the below dmesg and the first bad commit is > > > > git://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/vsyscall

Re: [PATCH 2/2] brd: Fix brd_direct_access with partitions

2014-07-30 Thread Matthew Wilcox
On Wed, Jul 30, 2014 at 05:18:47PM +0300, Boaz Harrosh wrote: > When brd_direct_access() is called on a partition-bdev > it would access the wrong sector. And caller would then > corrupt the device's data. > > This is a preliminary fix, Matthew Wilcox has a patch > in his DAX patchset which will d

Re: [PATCH v4 0/5] x86: two-phase syscall tracing and seccomp fastpath

2014-07-30 Thread Oleg Nesterov
On 07/29, Andy Lutomirski wrote: > > > SAVE_REST is 6 movq instructions and a subq. FIXUP_TOP_OF_STACK is 7 > > movqs (and 8 if I ever get my way). RESTORE_TOP_OF_STACK is 4. > > RESTORE_REST is 6 movqs and an adsq. So we're talking about avoiding > > 21 movqs, and addq, and a subq. That may be

[PATCH v4 0/3] Add ST dwc3 glue layer driver

2014-07-30 Thread Peter Griffin
This series adds support for the ST glue logic which wraps the DWC3 controller on STiH407 SoC family chipsets. Changes since v3 - Various formating nits Changes since v2 - Use dr_mode for host/device static configuration - Manage shared reset signal to usbss to avoid hang if probing before usb

Re: [PATCH v11 3/8] ata: libahci_platform: move port_map parameters into the AHCI structure

2014-07-30 Thread Tejun Heo
Hello, On Wed, Jul 30, 2014 at 10:20:38AM +0200, Antoine Ténart wrote: > How do you want me to send the series? There is two conflicts when > applying to libata/for-3.17: > - patch 4/8: it takes into account a patch not in libata/for-3.17 but > added before rc7. It should be better to first merg

Re: [PATCH 2/2] brd: Fix brd_direct_access with partitions

2014-07-30 Thread Boaz Harrosh
On 07/30/2014 06:34 PM, Matthew Wilcox wrote: > On Wed, Jul 30, 2014 at 05:18:47PM +0300, Boaz Harrosh wrote: >> When brd_direct_access() is called on a partition-bdev >> it would access the wrong sector. And caller would then >> corrupt the device's data. >> >> This is a preliminary fix, Matthew W

Re: [PATCH] Btrfs: Fix memory corruption by ulist_add_merge() on 32bit arch

2014-07-30 Thread Josef Bacik
On 07/30/2014 11:05 AM, Takashi Iwai wrote: At Wed, 30 Jul 2014 17:01:52 +0200, Takashi Iwai wrote: At Wed, 30 Jul 2014 10:29:46 -0400, Josef Bacik wrote: On 07/30/2014 05:57 AM, Takashi Iwai wrote: At Mon, 28 Jul 2014 16:01:55 +0200, Takashi Iwai wrote: At Mon, 28 Jul 2014 15:48:41 +0200,

RE: [RFC PATCH v3] edac: synps: Added EDAC support for zynq ddr ecc controller

2014-07-30 Thread Punnaiah Choudary Kalluri
Hi Boris, >-Original Message- >From: Borislav Petkov [mailto:b...@alien8.de] >Sent: Monday, July 28, 2014 11:32 PM >To: Punnaiah Choudary Kalluri >Cc: Punnaiah Choudary Kalluri; dougthomp...@xmission.com; >robh...@kernel.org; pawel.m...@arm.com; Michal Simek; >mark.rutl...@arm.com; ijc+dev

Re: [PATCH 29/35] arm: omap: intc: switch over to linear irq domain

2014-07-30 Thread Nishanth Menon
On Wed, Jul 30, 2014 at 9:40 AM, Felipe Balbi wrote: > HI, > > On Tue, Jul 29, 2014 at 11:04:21PM -0700, Tony Lindgren wrote: >> * Felipe Balbi [140729 09:36]: >> > Hi, >> > >> > On Tue, Jul 29, 2014 at 10:40:57AM -0500, Felipe Balbi wrote: >> > > On Tue, Jul 29, 2014 at 08:20:52AM -0700, Tony Li

Re: [PATCH RFC v3 net-next 3/3] samples: bpf: eBPF dropmon example in C

2014-07-30 Thread Frank Ch. Eigler
ast wrote earlier: > [...] > dtrace/systemtap/ktap approach is to use one script file that should provide > all desired functionality. That architectural decision overcomplicated their > implementations. > > eBPF follows split model: everything that needs to process millions of events > per secon

Re: [PATCH 2/5] arm64, thunder: Add initial dts for Cavium Thunder SoC

2014-07-30 Thread Mark Rutland
Hi, On Wed, Jul 30, 2014 at 04:06:31PM +0100, Robert Richter wrote: > From: Radha Mohan Chintakuntla > > Add initial device tree nodes for Cavium Thunder SoCs with support of > 48 cores and gicv3. The dts file requires further changes, esp. for > pci, gicv3-its and smmu. This changes will be add

Re: [PATCH 3.15 33/37] Fix gcc-4.9.0 miscompilation of load_balance() in scheduler

2014-07-30 Thread Linus Torvalds
On Tue, Jul 29, 2014 at 11:53 PM, Jakub Jelinek wrote: > > IMNSHO this is a too big hammer approach. The bug happened on a single > file only (right?) Very dubious. We happened to see it in a single case, and _maybe_ that was the only one in the whole kernel. But it's much more likely that it wa

Re: [PATCH 3.15 00/37] 3.15.8-stable review

2014-07-30 Thread Greg Kroah-Hartman
On Wed, Jul 30, 2014 at 08:58:44PM +0900, Satoru Takeuchi wrote: > At Tue, 29 Jul 2014 18:48:36 -0700, > Greg Kroah-Hartman wrote: > > > > This is the start of the stable review cycle for the 3.15.8 release. > > There are 37 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH RFC tip/core/rcu 1/9] rcu: Add call_rcu_tasks()

2014-07-30 Thread Oleg Nesterov
On 07/28, Paul E. McKenney wrote: > > This commit adds a new RCU-tasks flavor of RCU, which provides > call_rcu_tasks(). This RCU flavor's quiescent states are voluntary > context switch (not preemption!), userspace execution, and the idle loop. > Note that unlike other RCU flavors, these quiescen

Re: [PATCH] Btrfs: Fix memory corruption by ulist_add_merge() on 32bit arch

2014-07-30 Thread Takashi Iwai
At Wed, 30 Jul 2014 11:40:14 -0400, Josef Bacik wrote: > > On 07/30/2014 11:05 AM, Takashi Iwai wrote: > > At Wed, 30 Jul 2014 17:01:52 +0200, > > Takashi Iwai wrote: > >> > >> At Wed, 30 Jul 2014 10:29:46 -0400, > >> Josef Bacik wrote: > >>> > >>> On 07/30/2014 05:57 AM, Takashi Iwai wrote: > >>>

Re: [x86,kaslr] [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/x86/kernel/cpu/common.c:1422 warn_pre_alternatives()

2014-07-30 Thread Paul E. McKenney
On Wed, Jul 30, 2014 at 10:17:32PM +0800, Fengguang Wu wrote: > On Wed, Jul 30, 2014 at 10:07:56PM +0800, Fengguang Wu wrote: > > Hi Andy, > > > > Here is another WARNING message for the same commit. > > > > commit d07c7f1ed61789e175fa975134855be32263be2c > > Author: Andy Lutomirski > > Auth

Re: [PATCH 1/2] regulator: userspace-consumer: add DT binding details

2014-07-30 Thread Mark Rutland
On Wed, Jul 30, 2014 at 02:54:00PM +0100, Laxman Dewangan wrote: > Add DT binding document and details DT binding for the driver > regulator/userspace-consumer. > > Signed-off-by: Laxman Dewangan > --- > .../bindings/regulator/userspace-consumer.txt | 26 > ++ > 1 file

Re: [PATCH] Btrfs: Fix memory corruption by ulist_add_merge() on 32bit arch

2014-07-30 Thread Josef Bacik
On 07/30/2014 11:52 AM, Takashi Iwai wrote: At Wed, 30 Jul 2014 11:40:14 -0400, Josef Bacik wrote: On 07/30/2014 11:05 AM, Takashi Iwai wrote: At Wed, 30 Jul 2014 17:01:52 +0200, Takashi Iwai wrote: At Wed, 30 Jul 2014 10:29:46 -0400, Josef Bacik wrote: On 07/30/2014 05:57 AM, Takashi Iwai

Re: [PATCH v8 04/22] Change direct_access calling convention

2014-07-30 Thread Boaz Harrosh
On 07/22/2014 10:47 PM, Matthew Wilcox wrote: > In order to support accesses to larger chunks of memory, pass in a > 'size' parameter (counted in bytes), and return the amount available at > that address. > > Support partitioning the underlying block device through a new helper > function, bdev_di

<    1   2   3   4   5   6   7   8   9   >