Re: [GIT PULL] selftest: Add futex functional tests

2015-04-08 Thread Shuah Khan
On 04/07/2015 10:12 PM, Darren Hart wrote: > On Tue, Mar 31, 2015 at 10:37:51AM -0600, Shuah Khan wrote: >> On 03/31/2015 10:24 AM, Darren Hart wrote: >>> On 3/31/15, 8:32 AM, "Shuah Khan" wrote: >>> Hi Daren, On 03/27/2015 04:17 PM, Darren Hart wrote: > Hi Shuah, > >

Re: [PATCH 2/2] locking/rwsem: Use a return variable in rwsem_spin_on_owner()

2015-04-08 Thread Ingo Molnar
* Jason Low wrote: > Ingo suggested for mutex_spin_on_owner() that having multiple return > statements is not the cleanest approach, especially when holding locks. > > The same thing applies to the rwsem variant. This patch rewrites > much of this function to use a "ret" return value. > >

Re: [PATCH v2 10/17] IB/Verbs: Adopt management helpers for IB helpers

2015-04-08 Thread ira.weiny
On Tue, Apr 07, 2015 at 03:16:30PM -0500, Steve Wise wrote: > > > > -Original Message- > > From: Jason Gunthorpe [mailto:jguntho...@obsidianresearch.com] > > Sent: Tuesday, April 07, 2015 3:13 PM > > To: Michael Wang > > Cc: Roland Dreier; Sean Hefty; linux-r...@vger.kernel.org; > >

Re: [PATCH v2 2/2] tty: serial: msm: Disable pclk when port is closed

2015-04-08 Thread Pramod Gurav
On Thu, April 9, 2015 5:21 am, Stephen Boyd wrote: > On 04/08/15 06:28, Pramod Gurav wrote: >> Disable the pclk when tty port is closed by user space. >> >> Signed-off-by: Pramod Gurav >> --- >> drivers/tty/serial/msm_serial.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git

Re: [alsa-devel] Audio Jack Out does not work

2015-04-08 Thread Takashi Iwai
At Thu, 9 Apr 2015 09:34:05 +0800, Raymond Yau wrote: > > > > > > > Taylor Smock wrote: > > > > > > > > > > > > > > Yes; reverting the patch does fix the problem. > > > > > > > > > > > > What if you just adjust the new volume manually without > > > > > > reverting the > > > > > > patch? Run

Re: [RFE] perf probe: Support globbing/regex in -a

2015-04-08 Thread Masami Hiramatsu
Hi Arnaldo, (2015/04/09 4:48), Arnaldo Carvalho de Melo wrote: > Hi Masami, > > In tools/perf constructors are named __new, and right now I want > to know hoe many of each objects are being allocated, so I expected to > be able to do: > > [root@zoo ~]# perf probe -x ~/bin/perf -a

[PATCH] panic: flush local cache in panic_smp_self_stop

2015-04-08 Thread Neil Zhang
Sometimes we will use the memory dump to figure out what has happened. Flush the local cache is needed to make the memory content be updated. Signed-off-by: Neil Zhang --- kernel/panic.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/panic.c b/kernel/panic.c index

Re: [PATCH] ALSA: hda - make power_save threshold per-codec

2015-04-08 Thread Takashi Iwai
At Wed, 8 Apr 2015 18:53:48 -0700, Matthew Garrett wrote: > > Modern hardware will often have multiple HDA devices, and the desired > power saving configuration may vary depending on the codecs attached to > each of them. Push the power_save value down to the individual codec > structures,

[PATCH] hv: vmbus_free_channels(): remove the redundant free_channel()

2015-04-08 Thread Dexuan Cui
free_channel() has been invoked in vmbus_remove() -> hv_process_channel_removal(), or vmbus_remove() -> ... -> vmbus_close_internal() -> hv_process_channel_removal(). We also change to use list_for_each_entry_safe(), because the entry is removed in hv_process_channel_removal(). Thank Dan

Re: [PATCH -next] xtensa: Fix fix linker script transformation for .text / .text.fixup

2015-04-08 Thread Max Filippov
On Thu, Apr 9, 2015 at 2:24 AM, Chris Zankel wrote: > It would seem Guenter's fix addresses the issue. Are there any additional > benefits in your patch (better localized code, etc.?) It's a bit more generic. Maybe it's not an advantage. Also we have a rule for .text already, in the first line.

Re: [v3 2/5] arm64: kvm: allow EL2 context to be reset on shutdown

2015-04-08 Thread AKASHI Takahiro
Mark, On 04/08/2015 10:05 PM, Mark Rutland wrote: On Thu, Apr 02, 2015 at 06:40:13AM +0100, AKASHI Takahiro wrote: The current kvm implementation keeps EL2 vector table installed even when the system is shut down. This prevents kexec from putting the system with kvm back into EL2 when starting

Re: [PATCH] of: return NUMA_NO_NODE from fallback of_node_to_nid()

2015-04-08 Thread Konstantin Khlebnikov
On Thu, Apr 9, 2015 at 2:12 AM, Julian Calaby wrote: > Hi Konstantin, > > On Thu, Apr 9, 2015 at 3:04 AM, Konstantin Khlebnikov > wrote: >> On 08.04.2015 19:59, Konstantin Khlebnikov wrote: >>> >>> Node 0 might be offline as well as any other numa node, >>> in this case kernel cannot handle

linux-next: build failure after merge of the regulator tree

2015-04-08 Thread Stephen Rothwell
Hi all, After merging the regulator tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/gpu/drm/msm/dsi/dsi_host.c: In function 'dsi_host_regulator_disable': drivers/gpu/drm/msm/dsi/dsi_host.c:330:4: error: implicit declaration of function

Re: [PATCH] of: return NUMA_NO_NODE from fallback of_node_to_nid()

2015-04-08 Thread Konstantin Khlebnikov
On Thu, Apr 9, 2015 at 2:07 AM, Nishanth Aravamudan wrote: > On 08.04.2015 [20:04:04 +0300], Konstantin Khlebnikov wrote: >> On 08.04.2015 19:59, Konstantin Khlebnikov wrote: >> >Node 0 might be offline as well as any other numa node, >> >in this case kernel cannot handle memory allocation and

Re: [PATCH 3/3] PCI: Set pref for mem64 resource of pcie device

2015-04-08 Thread Bjorn Helgaas
On Wed, Apr 8, 2015 at 10:17 PM, Benjamin Herrenschmidt wrote: > On Wed, 2015-04-08 at 17:06 -0700, Yinghai Lu wrote: >> On Wed, Apr 8, 2015 at 2:12 PM, Benjamin Herrenschmidt >> wrote: >> >> > Thanks Bjorn. We can fix Yinghai patch for 4.2, it would be indeed handy >> > even for us to be able

Re: [PATCH v4 1/9] module: Sanitize RCU usage and locking

2015-04-08 Thread Lai Jiangshan
On 04/09/2015 12:48 AM, Peter Zijlstra wrote: > +static void module_assert_mutex_or_preempt(void) > +{ > +#ifdef CONFIG_LOCKDEP > + int rcu_held = rcu_read_lock_sched_held(); > + int mutex_held = 1; > + > + if (debug_locks) > + mutex_held = lockdep_is_held(_mutex); > + > +

Re: [PATCH 3/3] PCI: Set pref for mem64 resource of pcie device

2015-04-08 Thread Yinghai Lu
On Wed, Apr 8, 2015 at 8:17 PM, Benjamin Herrenschmidt wrote: > On Wed, 2015-04-08 at 17:06 -0700, Yinghai Lu wrote: > I'll let Bjorn be the final judge here but I am not fan of the way you > set/clear/set/clear the IORESOURCE_PREFETCH bit with > pci_set_pref_under_pref(). It's error prone and

Re: [v3 1/5] arm64: kvm: add a cpu tear-down function

2015-04-08 Thread AKASHI Takahiro
On 04/08/2015 10:02 PM, Mark Rutland wrote: + /* We're now in idmap, disable MMU */ +1: mrs x0, sctlr_el2 + and x1, x0, #SCTLR_EL2_EE + orr x0, x0, x1 // preserve endianness of EL2 + ldr x1, =SCTLR_EL2_FLAGS + eor x1, x1, xzr +

[PATCH 2/3] jump_label: Allow jump labels to be used in assembly

2015-04-08 Thread Anton Blanchard
To use jump labels in assembly we need the HAVE_JUMP_LABEL define, so we select a fallback version if the toolchain does not support them. Modify linux/jump_label.h so it can be included by assembly files. We also need to add -DCC_HAVE_ASM_GOTO to KBUILD_AFLAGS. Signed-off-by: Anton Blanchard

[PATCH 3/3] powerpc: Include linux/jump_label.h to get HAVE_JUMP_LABEL define

2015-04-08 Thread Anton Blanchard
Commit 1bc9e47aa8e4 ("powerpc/jump_label: Use HAVE_JUMP_LABEL") converted uses of CONFIG_JUMP_LABEL to HAVE_JUMP_LABEL in some assembly files. HAVE_JUMP_LABEL is defined in linux/jump_label.h, so we need to include this or we always get the non jump label fallback code. Fixes: 1bc9e47aa8e4

[PATCH 1/3] jump_label: Allow asm/jump_label.h to be included in assembly

2015-04-08 Thread Anton Blanchard
Wrap asm/jump_label.h for all archs with #ifndef __ASSEMBLY__. Since these are kernel only headers, we don't need #ifdef __KERNEL__ so can simplify things a bit. If an architecture wants to use jump labels in assembly, it will still need to define a macro to create the __jump_table entries (see

Re: [PATCH kernel v7 26/31] powerpc/iommu: Add userspace view of TCE table

2015-04-08 Thread Alex Williamson
On Thu, 2015-04-09 at 13:21 +1000, Alexey Kardashevskiy wrote: > On 04/09/2015 01:43 AM, Alex Williamson wrote: > > On Wed, 2015-04-08 at 13:22 +1000, Alexey Kardashevskiy wrote: > >> On 04/03/2015 07:50 AM, Alex Williamson wrote: > >>> > >>> Should have sent this with the other comments, but

Re: [PATCH] mips: Fix build if PERF_EVENTS is configured

2015-04-08 Thread Guenter Roeck
On 04/08/2015 05:09 PM, Ralf Baechle wrote: On Wed, Apr 08, 2015 at 01:29:52PM -0700, Guenter Roeck wrote: mips builds fail in -next as follows if PERF_EVENTS is configured. kernel/built-in.o: In function `perf_sample_regs_user': kernel/events/core.c:4828: undefined reference to

Re: [PATCH] (gpio-fan): Move the thermal registration after registration is complete

2015-04-08 Thread Guenter Roeck
On 04/08/2015 04:23 PM, Nishanth Menon wrote: Thermal framework may already be ready and cooling policies might already be functional when we are attempting to register gpio fan as a cooling device. This can be reproduced by changing probe order in which registration of various modules are done

[PATCH v5 1/3] lib/plist: Provide plist_add_head() for nodes with the same prio

2015-04-08 Thread Xunlei Pang
From: Xunlei Pang If there're multiple nodes with the same prio as @node, currently plist_add() will add @node behind all of them. Now we need to add @node before all of these nodes for SMP RT scheduler. This patch adds a common __plist_add() for adding @node before or after existing nodes with

[PATCH v5 2/3] sched/rt: Fix wrong SMP scheduler behavior for equal prio cases

2015-04-08 Thread Xunlei Pang
From: Xunlei Pang Currently, SMP RT scheduler has some trouble in dealing with equal prio cases. For example, in check_preempt_equal_prio(): When RT1(current task) gets preempted by RT2, if there is a migratable RT3 with same prio, RT3 will be pushed away instead of RT1 afterwards, because RT1

[PATCH v5 3/3] sched/rt: Check to push the task when changing its affinity

2015-04-08 Thread Xunlei Pang
From: Xunlei Pang We may suffer from extra rt overload rq due to the affinity, so when the affinity of any runnable rt task is changed, we should check to trigger balancing, otherwise it will cause some unnecessary delayed real-time response. Unfortunately, current RT global scheduler doesn't

Re: [PATCH V2] x86/numa: kernel stack corruption fix

2015-04-08 Thread Baoquan He
On 04/08/15 at 11:09am, Dave Young wrote: > On 04/08/15 at 10:41am, Xishi Qiu wrote: > > >> Hi Dave, > > >> > > >> I made a mistake, when numa is on, numa_meminfo is from SRAT, but it > > >> will be cut > > >> in numa_cleanup_meminfo(), so the bug is not related to numa on/off. > > >> Your

Re: [PATCH kernel v7 26/31] powerpc/iommu: Add userspace view of TCE table

2015-04-08 Thread Alexey Kardashevskiy
On 04/09/2015 01:43 AM, Alex Williamson wrote: On Wed, 2015-04-08 at 13:22 +1000, Alexey Kardashevskiy wrote: On 04/03/2015 07:50 AM, Alex Williamson wrote: Should have sent this with the other comments, but found it hiding on my desktop... On Sat, 2015-03-28 at 01:55 +1100, Alexey

Re: [PATCH 3/3] PCI: Set pref for mem64 resource of pcie device

2015-04-08 Thread Benjamin Herrenschmidt
On Wed, 2015-04-08 at 17:06 -0700, Yinghai Lu wrote: > On Wed, Apr 8, 2015 at 2:12 PM, Benjamin Herrenschmidt > wrote: > > > Thanks Bjorn. We can fix Yinghai patch for 4.2, it would be indeed handy > > even for us to be able to support putting 64-bit NP BARs in prefetch > > windows (For some

Re: [PATCH] of/flattree: print memory scan node results in CPU endian

2015-04-08 Thread Florian Fainelli
Le 08/04/2015 14:19, Frank Rowand a écrit : > On 4/7/2015 11:44 PM, Florian Fainelli wrote: >> Commit 51975db0b7333 ("of/flattree: merge early_init_dt_scan_memory() >> common code") consolidated some code from PowerPC (typically >> big-endian), and ended-up adding a pr_debug() printing reg

[PATCH] devicetree: add ibm-nx-powernv details

2015-04-08 Thread Dan Streetman
Add a devicetree description for property nodes for the NX Coprocessor in an IBM PowerPC processor. Signed-off-by: Dan Streetman --- Is this the right location/naming for this file? And did I get the content format right? Should this file be called "ibm-nx-opal.txt" instead of

Re: [Bugfix v3] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-04-08 Thread Jiang Liu
On 2015/4/9 7:44, Rafael J. Wysocki wrote: > On Wednesday, April 08, 2015 01:48:46 PM Jiang Liu wrote: >> On 2015/4/7 8:28, Rafael J. Wysocki wrote: >>> On Friday, April 03, 2015 10:04:11 PM Bjorn Helgaas wrote: Hi Jiang, >> > Currently acpi_dev_filter_resource_type() is only used by

[PATCH] tty/serial: at91: handle IRQ status more safely

2015-04-08 Thread Leilei Zhao
Handle the changed flag of IRQ status in interruption instead of handling it in tasklet due to the tasklet may be scheduled more than once in one interruption. Otherwise, the changed status may be processed more than once which will lead to unexpected result. And seriously, kernel will crash.

Re: [PATCH V2 2/2] hrtimer: Iterate only over active clock-bases

2015-04-08 Thread Viresh Kumar
On 9 April 2015 at 01:41, Thomas Gleixner wrote: > I'm really not too excited about this incomprehensible macro mess and > especially not about the code it generates. > > x86_64 i386ARM power > > Mainline76686942807710253 > > + Patch 8068

Re: sched: Improve load balancing in the presence of idle CPUs

2015-04-08 Thread Jason Low
On Wed, 2015-04-08 at 16:42 +0530, Srikar Dronamraju wrote: > * Jason Low [2015-04-07 17:07:46]: > > @@ -7687,7 +7700,7 @@ static inline bool nohz_kick_needed(struct rq *rq) > > int nr_busy, cpu = rq->cpu; > > bool kick = false; > > > > - if (unlikely(rq->idle_balance)) > > + if

Re: [PATCH v2 0/7] CLONE_FD: Task exit notification via file descriptor

2015-04-08 Thread Josh Triplett
On Wed, Apr 01, 2015 at 09:24:20AM +0200, Jonathan Corbet wrote: > On Tue, 31 Mar 2015 15:02:24 -0700 > j...@joshtriplett.org wrote: > > > > This would appear to assume that a clonefd_info structure is the only > > > thing that will ever be read from this descriptor. It seems to me that > > >

[PATCH v2] mm: show free pages per each migrate type

2015-04-08 Thread Neil Zhang
show detailed free pages per each migrate type in show_free_areas. After apply this patch, the log printed out will be changed from [ 558.212844@0] Normal: 218*4kB (UEMC) 207*8kB (UEMC) 126*16kB (UEMC) 21*32kB (UC) 5*64kB (C) 3*128kB (C) 1*256kB (C) 1*512kB (C) 0*1024kB 0*2048kB 1*4096kB (R)

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-08 Thread Chanwoo Choi
Hi Robert, On 04/02/2015 10:13 PM, Robert Baldyga wrote: > This patch adds VBUS pin detection support to extcon-usb-gpio driver. > It allows to use this driver with boards which have both VBUS and ID > pins, or only one of them. > > Following table of states presents relationship between this

Re: console=ttyS1 breaks ttyS1 termios and prevents me from logging in

2015-04-08 Thread Peter Hurley
On 04/08/2015 09:49 PM, Andy Lutomirski wrote: > On Wed, Apr 8, 2015 at 5:45 PM, Andy Lutomirski wrote: >> On Wed, Apr 8, 2015 at 4:32 PM, Peter Hurley >> wrote: >>> On 04/08/2015 05:40 PM, Andy Lutomirski wrote: On Wed, Apr 8, 2015 at 2:29 PM, Peter Hurley wrote: > Hi Andy,

[PATCH] ALSA: hda - make power_save threshold per-codec

2015-04-08 Thread Matthew Garrett
Modern hardware will often have multiple HDA devices, and the desired power saving configuration may vary depending on the codecs attached to each of them. Push the power_save value down to the individual codec structures, keeping the module parameter as a global control mechanism for

Re: console=ttyS1 breaks ttyS1 termios and prevents me from logging in

2015-04-08 Thread Andy Lutomirski
On Wed, Apr 8, 2015 at 5:45 PM, Andy Lutomirski wrote: > On Wed, Apr 8, 2015 at 4:32 PM, Peter Hurley wrote: >> On 04/08/2015 05:40 PM, Andy Lutomirski wrote: >>> On Wed, Apr 8, 2015 at 2:29 PM, Peter Hurley >>> wrote: Hi Andy, On 04/08/2015 05:17 PM, Andy Lutomirski wrote:

[PATCH] drm/nouveau/bios: 0 means success for nvbios_extend

2015-04-08 Thread Jan Vesely
Bugzilla:https://bugs.freedesktop.org/show_bug.cgi?id=89047 CC: David Airlie CC: Ben Skeggs CC: dri-de...@lists.freedesktop.org CC: linux-kernel@vger.kernel.org Signed-off-by: Jan Vesely --- It's needed for 3.19 too drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c | 2 +-

Donations

2015-04-08 Thread shatabdi
A personal Donation of 2,000,000.00 USD has been Donated To You, Contact (quezadapedr...@gmail.com) for more info -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

RE: [PATCH] mm: show free pages per each migrate type

2015-04-08 Thread ZhangNeil
OK, I will prepare version 2 to include the difference. Best Regards, Neil Zhang > Date: Wed, 8 Apr 2015 15:20:11 -0700 > From: a...@linux-foundation.org > To: neilzhang1...@hotmail.com > CC: linux...@kvack.org; linux-kernel@vger.kernel.org > Subject: Re:

Re: [tip:sched/core] sched/rt: Reduce rq lock contention by eliminating locking of non-feasible target

2015-04-08 Thread Zefan Li
>> Commit-ID: 80e3d87b2c5582db0ab5e39610ce3707d97ba409 >> Gitweb: >> http://git.kernel.org/tip/80e3d87b2c5582db0ab5e39610ce3707d97ba409 >> Author: Tim Chen >> AuthorDate: Fri, 12 Dec 2014 15:38:12 -0800 >> Committer: Ingo Molnar >> CommitDate: Fri, 30 Jan 2015 19:38:49 +0100 >> >>

Re: [3.4 PATCH] Bluetooth: Fix invalid length check in l2cap_information_rsp()

2015-04-08 Thread Zefan Li
On 2015/3/30 17:27, Tim Niemeyer wrote: > first backport commit 6ec88fcb4aa2c33fe2fe2a23c576a7e2581c5c3d changes > l2cap_move_channel_confirm_rsp and not the l2cap_information_rsp. So > revert this and fix at the correct position. > > commit 3f6fa3d489e127ca5a5b298eabac3ff5dbe0e112 upstream. > >

[PATCH 1/3] time: include math64.h in time64.h

2015-04-08 Thread Xunlei Pang
From: Xunlei Pang On 32-bit systems, timespec64_add_ns() calls __iter_div_u64_rem() which needs match64.h, and we want to include time64.h in some cases. Signed-off-by: Xunlei Pang --- include/linux/time64.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/time64.h

[PATCH 2/3] s390: time: Provide read_boot_clock64() and read_persistent_clock64()

2015-04-08 Thread Xunlei Pang
From: Xunlei Pang As part of addressing "y2038 problem" for in-kernel uses, this patch converts read_boot_clock() to read_boot_clock64() and read_persistent_clock() to read_persistent_clock64() using timespec64. Rename some timespec to timespec64 in time.c and related references.

[PATCH 3/3] time: Remove read_boot_clock()

2015-04-08 Thread Xunlei Pang
From: Xunlei Pang Now we have all the read_boot_clock64() for all implementations, it's time to remove read_boot_clock() completely from the kernel. Signed-off-by: Xunlei Pang --- include/linux/timekeeping.h | 1 - kernel/time/timekeeping.c | 14 +++--- 2 files changed, 3

Re: [PATCH v1 7/7] s390/block/dasd: remove obsolete while -EBUSY loop

2015-04-08 Thread Ming Lei
On Thu, Apr 9, 2015 at 2:00 AM, Jarod Wilson wrote: > On Wed, Apr 08, 2015 at 07:32:24PM +0200, Sebastian Ott wrote: >> On Wed, 8 Apr 2015, Ming Lei wrote: >> > From: Jarod Wilson >> > >> > With the mutex_trylock bit gone from blkdev_reread_part(), the retry logic >> > in dasd_scan_partitions()

Re: [PATCH][stable] Bluetooth: Add support for Acer [0489:e078]

2015-04-08 Thread Zefan Li
On 2015/3/4 2:59, Joseph Salisbury wrote: > Hello, > > Please consider including mainline commit > 4b552bc9edfdc947862af225a0e2521edb5d37a0 in the next 3.2.y, 3.4.y, > 3.10.y, 3.12.y, 3.13.y-ckt, 3.14.y, 3.16.y-ckt and 3.18.y upstream > stable releases. It was included in the mainline tree

[Update][PATCH 3/4] ACPI / scan: Take the PRP0001 position in the list of IDs into account

2015-04-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If the special PRP0001 device ID is present in a device's _CID list, it should not prevent any ACPI/PNP IDs preceding it in the device's list of identifiers from being matched first. That is, only if none of the IDs preceding PRP0001 in the device's PNP/ACPI IDs list

Re: Linux 3.18.11

2015-04-08 Thread Sasha Levin
On 04/07/2015 01:56 AM, Guenter Roeck wrote: > On Sun, Apr 05, 2015 at 10:31:52AM -0400, Sasha Levin wrote: >> > I'm announcing the release of the 3.18.11 kernel. >> > >> > All users of the 3.18 kernel series must upgrade. >> > >> > The updated 3.18.y git tree can be found at: >> >

Re: [PATCH 2/2][v2] blk-plug: don't flush nested plug lists

2015-04-08 Thread Dave Chinner
[ Sending again with a trimmed CC list to just the lists. Jeff - cc lists that large get blocked by mailing lists... ] On Tue, Apr 07, 2015 at 02:55:13PM -0400, Jeff Moyer wrote: > The way the on-stack plugging currently works, each nesting level > flushes its own list of I/Os. This can be less

Re: console=ttyS1 breaks ttyS1 termios and prevents me from logging in

2015-04-08 Thread Andy Lutomirski
On Wed, Apr 8, 2015 at 4:32 PM, Peter Hurley wrote: > On 04/08/2015 05:40 PM, Andy Lutomirski wrote: >> On Wed, Apr 8, 2015 at 2:29 PM, Peter Hurley >> wrote: >>> Hi Andy, >>> >>> On 04/08/2015 05:17 PM, Andy Lutomirski wrote: Something strange seems to have happened to my serial console

RE: [PATCH] [media] v4l: vb2-memops: use vma slab when vma allocation

2015-04-08 Thread Cho KyongHo
Hans, I didn't notice that vb2_put_vma is exported because I don't build modules. I am sorry about bothering you. Mauro, I think it is better to drop my patch out from your tree because I don't think it is not worth to export vm_area_cache_p to use it in vb2_put_vma. Regards, KyongHo

Re: OT: Open letter to the Linux World

2015-04-08 Thread Rob Landley
On Wed, Apr 8, 2015 at 8:12 AM, Denys Vlasenko wrote: > On Tue, Aug 12, 2014 at 9:38 PM, Christopher Barry > wrote: >> So why would very smart people who love and use Linux want to create or >> embrace such a creepy 'Master of All' daemon? Ostensibly, it's for the >> reasons they say, as I

Re: [PATCH] KVM: use slowpath for cross page cached accesses

2015-04-08 Thread Wanpeng Li
On Wed, Apr 08, 2015 at 02:16:48PM +0200, Radim Krčmář wrote: >2015-04-08 12:43+0200, Paolo Bonzini: >> On 08/04/2015 11:26, Radim Krčmář wrote: >>> 2015-04-08 10:49+0200, Paolo Bonzini: On 07/04/2015 22:34, Radim Krčmář wrote: > We dirtied only one page because writes originally couldn't

Re: [PATCH] checkpatch: Add a test for const with __read_mostly uses

2015-04-08 Thread Joe Perches
On Thu, 2015-04-09 at 02:28 +0200, Andi Kleen wrote: > On Wed, Apr 08, 2015 at 05:14:49PM -0700, Joe Perches wrote: > > const objects shouldn't be __read_mostly. They are read-only. > > > > Marking these objects as __read_mostly causes section conflicts > > with LTO linking. > > > > So add a

Re: [PATCH] checkpatch: Add a test for const with __read_mostly uses

2015-04-08 Thread Andi Kleen
On Wed, Apr 08, 2015 at 05:14:49PM -0700, Joe Perches wrote: > const objects shouldn't be __read_mostly. They are read-only. > > Marking these objects as __read_mostly causes section conflicts > with LTO linking. > > So add a test to try to avoid this issue. Thanks Joe. Looks good thanks. I

[PATCH] checkpatch: Add a test for const with __read_mostly uses

2015-04-08 Thread Joe Perches
const objects shouldn't be __read_mostly. They are read-only. Marking these objects as __read_mostly causes section conflicts with LTO linking. So add a test to try to avoid this issue. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 10 ++ 1 file changed, 10 insertions(+)

Re: [PATCH] mips: Fix build if PERF_EVENTS is configured

2015-04-08 Thread Ralf Baechle
On Wed, Apr 08, 2015 at 01:29:52PM -0700, Guenter Roeck wrote: > mips builds fail in -next as follows if PERF_EVENTS is configured. > > kernel/built-in.o: In function `perf_sample_regs_user': > kernel/events/core.c:4828: undefined reference to `perf_get_regs_user' > > The problem is caused by

Re: [PATCH 3/3] PCI: Set pref for mem64 resource of pcie device

2015-04-08 Thread Yinghai Lu
On Wed, Apr 8, 2015 at 2:12 PM, Benjamin Herrenschmidt wrote: > Thanks Bjorn. We can fix Yinghai patch for 4.2, it would be indeed handy > even for us to be able to support putting 64-bit NP BARs in prefetch > windows (For some SR-IOV adapters for example) too, but we need to do it > right.

[RFC PATCH] ARM: debug: Add prompt for FRAME_POINTER to Kconfig.debug

2015-04-08 Thread Gregory Fong
Without a prompt string, it is impossible to disable FRAME_POINTER on ARM. It will simply set the default value anytime you run 'make'. To reproduce the original issue, run: make multi_v7_defconfig scripts/config -d ARM_UNWIND make oldconfig # check .config, note that FRAME_POINTER=y

Re: about the flood of trivial patches and the Code of Conduct (was: Re: [PATCH 19/25] sched: Use bool function return values of true/false not 1/0)

2015-04-08 Thread Joe Perches
On Thu, 2015-04-09 at 01:37 +0200, Rafael J. Wysocki wrote: > old code is somewhat like an ancient building. Yes, it needs to be > kept in a good shape, but you won't replace bricks in it just because they are > old, will you? No, but you do have to replace/repoint the mortar as it ages. Here

Re: [PATCH 1/3] PM suspend/hibernate: Call notifier after freezing processes

2015-04-08 Thread Rafael J. Wysocki
On Sunday, April 05, 2015 07:20:17 PM Pali Rohár wrote: > To prevent race conditions on userspace processes with I/O some taks must be > called after processes are freezed. This patch adds new events which are > delivered by pm_notifier_call_chain() after freezing processes when doing > suspend or

Re: [PATCH 1/2] kconfig: Print full defined and depends for multiply-defined symbols

2015-04-08 Thread Gregory Fong
I accidentally marked this as patch 1/2, but this is the only patch. Sorry for the confusion. On Wed, Apr 8, 2015 at 4:56 PM, Gregory Fong wrote: > get_symbol_str() was assuming that symbols would only have a single > property for the purpose of printing define and depends information. > This is

[PATCH 2/4] ACPI / scan: Simplify acpi_match_device()

2015-04-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Redefine acpi_companion_match() to return an ACPI device object pointer instead of a bool and use it to remove some redundant code from acpi_match_device(). Signed-off-by: Rafael J. Wysocki --- drivers/acpi/scan.c | 30 +++--- 1 file changed,

[PATCH 0/4] ACPI / scan: Clean up the handling of the PRP0001 device ID

2015-04-08 Thread Rafael J. Wysocki
Hi, This series of patches reworks the handling of the PRP0001 device ID with the following goals: (a) Make PRP0001 work as a _CID too. (b) Prevent PRP0001 from overriding the other ACPI/PNP IDs entirely. (c) Change ACPI modalias to cover ACPI/PNP/compatible at the same time. [1/4]

[PATCH 0/2] ARM: dts: am57xx-beagle-x15: Fixes for RTC

2015-04-08 Thread Nishanth Menon
Couple of fixes for MCP79410 RTC on BeagleBoard-X15 platform. This is not urgent enough for 4.0 material, but will be good to have it on one of 4.1 rcs. tested on next-20150407: http://pastebin.ubuntu.com/1033/ (NOTE: I believe DRA7 rtc still needs reset driver to be done before it can be

[PATCH 3/4] ACPI / scan: Take PRP0001 in _CID lists into account too

2015-04-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If the special PRP0001 device ID is present in a device's _CID list, it should be treated the same way as for the _HID case. That is, if none of the IDs preceding it in the device's PNP/ACPI IDs list matches the IDs recognized by the driver, the driver's list of

[PATCH 1/4] ACPI / scan: Generalize of_compatible matching

2015-04-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Redefine the function used for matching the device's "compatible" property against a given list of "compatible" strings to take a pointer to that list instead of a driver object pointer to make it more general. Signed-off-by: Rafael J. Wysocki --- drivers/acpi/scan.c |

[PATCH V2 RESEND] mailbox: add ACPI support for mailbox framework

2015-04-08 Thread Feng Kan
This will add support for ACPI parsing of the mboxes attribute when booting with ACPI table. The client will have a attribute mimic the dts call "mboxes". In the ACPI case, the client will mark "mboxes" with the ACPI reference of the mbox it wishes to use. Name (_DSD, Package () {

[PATCH 4/4] ACPI / scan: Rework modalias creation when "compatible" is present

2015-04-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Currently, the ACPI modalias creation covers two mutually exclusive cases: If the PRP0001 device ID is present in the device's list of ACPI/PNP IDs and the "compatible" property is present in _DSD, the created modalias will follow the OF rules of modalias creation.

[PATCH 1/2] ARM: dts: am57xx-beagle-x15: Fix IRQ type for mcp7941x

2015-04-08 Thread Nishanth Menon
From: Grygorii Strashko The interrupt polarity provided in devicetree is used to configure the interrupt controller(ARM GIC), however, it seems that we have an inverter at the GIC boundary inside AM57xx which inverts the signal input from sys_irq external interrupt source. Further, as per GIC

[PATCH 1/2] kconfig: Print full defined and depends for multiply-defined symbols

2015-04-08 Thread Gregory Fong
get_symbol_str() was assuming that symbols would only have a single property for the purpose of printing define and depends information. This is not true, and one current example is FRAME_POINTER which is both in lib/Kconfig.debug and arch/arm/Kconfig.debug. In order to print out the correct

[PATCH 2/2] ARM: dts: am57xx-beagle-x15: Fix RTC aliases

2015-04-08 Thread Nishanth Menon
With commit bc078316d86c ("ARM: dts: DRA7: Add node for RTC"), we now have AM57xx RTC register itself as alias 0 even before DS1307 or TPS rtc drivers are loaded up. However, since neither TPS, nor AM57xx RTC are capable of being backedup by battery, we would like to maintain the "primary" rtc as

Re: [PATCH 2/2] test-hexdump.c: Fix initconst confusion

2015-04-08 Thread Andi Kleen
On Wed, Apr 08, 2015 at 03:35:54PM -0700, Andrew Morton wrote: > > > > --- a/lib/test-hexdump.c > > +++ b/lib/test-hexdump.c > > @@ -18,26 +18,26 @@ static const unsigned char data_b[] = { > > > > static const unsigned char data_a[] = ".2.{p..$}.4...1.L...C..."; > > > > -static const

Re: [PATCH v2 2/2] tty: serial: msm: Disable pclk when port is closed

2015-04-08 Thread Stephen Boyd
On 04/08/15 06:28, Pramod Gurav wrote: > Disable the pclk when tty port is closed by user space. > > Signed-off-by: Pramod Gurav > --- > drivers/tty/serial/msm_serial.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c >

Re: [PATCH] lto: Add __noreorder and mark initcalls __noreorder

2015-04-08 Thread Andi Kleen
Hi Andrew, On Wed, Apr 08, 2015 at 03:31:12PM -0700, Andrew Morton wrote: > On Wed, 8 Apr 2015 06:17:38 -0700 Andi Kleen wrote: > > > From: Andi Kleen > > > > gcc 5 has a new no_reorder attribute that prevents top level > > reordering only for that symbol. > > I'm having trouble locating

Re: [PATCH 4/4] mm: make every pte dirty on do_swap_page

2015-04-08 Thread Minchan Kim
Bump. On Wed, Mar 11, 2015 at 10:20:38AM +0900, Minchan Kim wrote: > Bascially, MADV_FREE relys on the pte dirty to decide whether > it allows VM to discard the page. However, if there is swap-in, > pte pointed out the page has no pte_dirty. So, MADV_FREE checks > PageDirty and PageSwapCache for

Re: [PATCH 3/8] clk: Constify pointers to parent names in init data

2015-04-08 Thread Stephen Boyd
On 04/08/15 06:22, Krzysztof Kozlowski wrote: > The 'parent_names' member of 'clk_init_data' is not modified so it can > be made as an array of const pointers to constant strings. > > Some drivers (e.g. arch/mips/alchemy/common/clock.c) already pass such > data. > > Signed-off-by: Krzysztof

[PATCH 1/2] usb: Prefer firmware values when determining whether a port is removable

2015-04-08 Thread Matthew Garrett
Windows appears to pay more attention to the ACPI values than any hub configuration, so prefer the firmware's opinion on whether a port is fixed or removable before falling back to the hub values. Signed-off-by: Matthew Garrett --- drivers/usb/core/hub.c | 32 +--- 1

[PATCH 2/2] usb: Set unused ports to "fixed" rather than "unknown"

2015-04-08 Thread Matthew Garrett
The Microsoft document "Using ACPI to Configure USB Ports on a Computer" makes it clear that the removable flag will be cleared on ports that are marked as unused by the firmware. Handle this case to match. Signed-off-by: Matthew Garrett --- drivers/usb/core/hub.c | 3 +++ 1 file changed, 3

Re: [PATCH v2] regulator: add a summary tree in debugfs

2015-04-08 Thread Heiko Stübner
Am Mittwoch, 8. April 2015, 18:38:25 schrieb Mark Brown: > On Tue, Apr 07, 2015 at 04:16:39PM +0200, Heiko Stübner wrote: > > - output current-limit for current regulators > > What I meant here was that we should try to output the current limit for > all regulators, not just for current

Re: console=ttyS1 breaks ttyS1 termios and prevents me from logging in

2015-04-08 Thread Peter Hurley
On 04/08/2015 05:40 PM, Andy Lutomirski wrote: > On Wed, Apr 8, 2015 at 2:29 PM, Peter Hurley wrote: >> Hi Andy, >> >> On 04/08/2015 05:17 PM, Andy Lutomirski wrote: >>> Something strange seems to have happened to my serial console setup. >>> I boot with console=ttyS1,115200n8 and I have a getty

Re: [PATCH v2 1/2] tty: serial: msm: Add mask value for UART_DM registers

2015-04-08 Thread Stephen Boyd
On 04/08/15 06:28, Pramod Gurav wrote: > diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c > index b73889c..4c1e9ea 100644 > --- a/drivers/tty/serial/msm_serial.c > +++ b/drivers/tty/serial/msm_serial.c > @@ -432,8 +432,13 @@ static int msm_set_baud_rate(struct

Re: [PATCH -next] xtensa: Fix fix linker script transformation for .text / .text.fixup

2015-04-08 Thread Chris Zankel
On Wed, Apr 8, 2015 at 6:08 AM, Guenter Roeck wrote: > On 04/07/2015 11:14 PM, Max Filippov wrote: >>> Linker script transformation needs to be updated to detect and handle >>> the new section. >> I've posted a patch for it to the linux-xtensa ML a while ago: >>

[PATCH] (gpio-fan): Move the thermal registration after registration is complete

2015-04-08 Thread Nishanth Menon
Thermal framework may already be ready and cooling policies might already be functional when we are attempting to register gpio fan as a cooling device. This can be reproduced by changing probe order in which registration of various modules are done in a system. In such a case, kernel generates an

[PATCH] staging: lustre: llite: remove obsolete conditional code

2015-04-08 Thread Andreas Dilger
Remove conditional flock/aops code that was only for out-of-tree vendor kernels but is not relevant for in-kernel code. Signed-off-by: Andreas Dilger --- drivers/staging/lustre/lustre/llite/llite_internal.h | 4 drivers/staging/lustre/lustre/llite/llite_lib.c | 8

RE: [E1000-devel] [PATCH v3 3/3] ixgbe: Add new ndo to allow VF multicast promiscuous mode

2015-04-08 Thread Hiroshi Shimamoto
> Subject: Re: [E1000-devel] [PATCH v3 3/3] ixgbe: Add new ndo to allow VF > multicast promiscuous mode > > On Wed, 2015-04-08 at 15:15 -0700, Alexander Duyck wrote: > > On 04/07/2015 10:38 PM, Hiroshi Shimamoto wrote: > > > From: Hiroshi Shimamoto > > > > > > Implements the new netdev op to

Re: [Bugfix v3] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-04-08 Thread Rafael J. Wysocki
On Wednesday, April 08, 2015 01:48:46 PM Jiang Liu wrote: > On 2015/4/7 8:28, Rafael J. Wysocki wrote: > > On Friday, April 03, 2015 10:04:11 PM Bjorn Helgaas wrote: > >> Hi Jiang, > > >>> Currently acpi_dev_filter_resource_type() is only used by ACPI pci > >>> host bridge and IOAPIC driver, so

Re: [PATCH 0/6] staging: fsl-mc: cleanup and minor corrections

2015-04-08 Thread Alexander Graf
On 03/27/2015 10:01 PM, J. German Rivera wrote: This patch series includes some cleanup/refactoring and minor correction patches for the Freescale fsl-mc bus driver. Patch 1: Name MC object devices using decimal numbers Patch 2: Removed reordering of MC objects during bus scan Patch 3:

Re: about the flood of trivial patches and the Code of Conduct (was: Re: [PATCH 19/25] sched: Use bool function return values of true/false not 1/0)

2015-04-08 Thread Rafael J. Wysocki
On Tuesday, April 07, 2015 09:28:03 AM Steven Rostedt wrote: > On Tue, Apr 07, 2015 at 02:31:23PM +0200, Rafael J. Wysocki wrote: > > > > > > As per the other branch of this tree; an emphatic NO to that. The > > > trivial tree is not a backdoor to bypass maintainers. Actual code > > > changes do

Re: [PATCH] of: return NUMA_NO_NODE from fallback of_node_to_nid()

2015-04-08 Thread Julian Calaby
Hi Konstantin, On Thu, Apr 9, 2015 at 3:04 AM, Konstantin Khlebnikov wrote: > On 08.04.2015 19:59, Konstantin Khlebnikov wrote: >> >> Node 0 might be offline as well as any other numa node, >> in this case kernel cannot handle memory allocation and crashes. > > > Example: > > [0.027133]

Re: [PATCH 6/6] staging: fsl-mc: Changed version matching rules for MC object drivers

2015-04-08 Thread Alexander Graf
On 03/27/2015 10:01 PM, J. German Rivera wrote: Before this change, we were requiring a complete version match (major and minor version numbers) between MC objects and corresponding drivers, to allow MC objects to be bound to their drivers. We realized that a mismatch in minor version numbers

Re: [V6,1/9] elf: Add new powerpc specifc core note sections

2015-04-08 Thread Michael Neuling
On Wed, 2015-04-08 at 19:50 +0200, Ulrich Weigand wrote: > Anshuman Khandual wrote on 23.03.2015 > 11:34:30: > > > > With that in mind, do we have a way to set the top 32bits of the MSR > > > (which contain the TM bits) when ptracing 32 bit processes? I can't > > > find anything like that in

Re: [PATCH] of: return NUMA_NO_NODE from fallback of_node_to_nid()

2015-04-08 Thread Nishanth Aravamudan
On 08.04.2015 [20:04:04 +0300], Konstantin Khlebnikov wrote: > On 08.04.2015 19:59, Konstantin Khlebnikov wrote: > >Node 0 might be offline as well as any other numa node, > >in this case kernel cannot handle memory allocation and crashes. Isn't the bug that numa_node_id() returned an offline

Re: [PATCH 0/2] New fix for icache coherency race

2015-04-08 Thread Paul Burton
nused kernel memory: 5160K (803d6000 - 808e) [4.625211] CPU 0 Unable to handle kernel paging request at virtual address , epc == 80027924, ra == 8001db10 [4.635881] Oops[#1]: [4.638149] CPU: 0 PID: 1 Comm: init Not tainted 4.0.0-rc7-next-20150408+ #334 [

  1   2   3   4   5   6   7   8   9   10   >