Re: [PATCH v4 3/5] ARM: sunxi: dts: Add PS2 nodes to dtsi for A10 and A20

2015-01-20 Thread Maxime Ripard
Hi Vishnu, On Fri, Jan 16, 2015 at 07:33:39PM +0530, Vishnu Patekar wrote: Signed-off-by: VishnuPatekar vishnupatekar0...@gmail.com Signed-off-by: Hans de Goede hdego...@redhat.com Why is there Hans Signed-off here? --- arch/arm/boot/dts/sun4i-a10.dtsi | 16

Re: [PATCH v4 4/5] ARM: sunxi: dts: Add A10/A20 PS2 pin muxing options

2015-01-20 Thread Maxime Ripard
On Fri, Jan 16, 2015 at 07:33:40PM +0530, Vishnu Patekar wrote: Signed-off-by: VishnuPatekar vishnupatekar0...@gmail.com --- arch/arm/boot/dts/sun4i-a10.dtsi | 14 ++ arch/arm/boot/dts/sun7i-a20.dtsi | 14 ++ 2 files changed, 28 insertions(+) diff --git

Re: [linux-sunxi] [PATCH v4 5/5] ARM: sunxi: dts: Add PS2 nodes for A20 lime2 board

2015-01-20 Thread Maxime Ripard
On Tue, Jan 20, 2015 at 05:02:06PM +, Iain Paton wrote: On 16/01/15 14:03, Vishnu Patekar wrote: Signed-off-by: VishnuPatekar vishnupatekar0...@gmail.com --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 12 1 file changed, 12 insertions(+) diff --git

Re: linux-next: Tree for Jan 20 -- Kernel panic - Unable to mount root fs

2015-01-20 Thread Paul Moore
case I am running linux-next 20150120 plus this fix: http://www.spinics.net/lists/arm-kernel/msg393205.html and things seem to boot fine here on my ARM platform. Okay, thanks for the clarification; glad you got it working. -- paul moore security @ redhat -- To unsubscribe from this list

[PATCH v14 00/11] qspinlock: a 4-byte queue spinlock with PV support

2015-01-20 Thread Waiman Long
v13-v14: - Patches 1 2: Add queue_spin_unlock_wait() to accommodate commit 78bff1c86 from Oleg Nesterov. - Fix the system hang problem when using PV qspinlock in an over-committed guest due to a racing condition in the pv_set_head_in_tail() function. - Increase the MAYHALT_THRESHOLD

[PATCH v14 09/11] pvqspinlock, x86: Add para-virtualization support

2015-01-20 Thread Waiman Long
This patch adds para-virtualization support to the queue spinlock code base with minimal impact to the native case. There are some minor code changes in the generic qspinlock.c file which should be usable in other architectures. The other code changes are specific to x86 processors and so are all

[PATCH v14 10/11] pvqspinlock, x86: Enable PV qspinlock for KVM

2015-01-20 Thread Waiman Long
This patch adds the necessary KVM specific code to allow KVM to support the CPU halting and kicking operations needed by the queue spinlock PV code. Two KVM guests of 20 CPU cores (2 nodes) were created for performance testing in one of the following three configurations: 1) Only 1 VM is active

[PATCH v14 08/11] qspinlock, x86: Rename paravirt_ticketlocks_enabled

2015-01-20 Thread Waiman Long
This patch renames the paravirt_ticketlocks_enabled static key to a more generic paravirt_spinlocks_enabled name. Signed-off-by: Waiman Long waiman.l...@hp.com Signed-off-by: Peter Zijlstra pet...@infradead.org --- arch/x86/include/asm/spinlock.h |4 ++-- arch/x86/kernel/kvm.c

[PATCH v14 06/11] qspinlock: Use a simple write to grab the lock

2015-01-20 Thread Waiman Long
Currently, atomic_cmpxchg() is used to get the lock. However, this is not really necessary if there is more than one task in the queue and the queue head don't need to reset the tail code. For that case, a simple write to set the lock bit is enough as the queue head will be the only one eligible

[PATCH v14 03/11] qspinlock: Add pending bit

2015-01-20 Thread Waiman Long
From: Peter Zijlstra pet...@infradead.org Because the qspinlock needs to touch a second cacheline (the per-cpu mcs_nodes[]); add a pending bit and allow a single in-word spinner before we punt to the second cacheline. It is possible so observe the pending bit without the locked bit when the last

[PATCH v14 07/11] qspinlock: Revert to test-and-set on hypervisors

2015-01-20 Thread Waiman Long
From: Peter Zijlstra pet...@infradead.org When we detect a hypervisor (!paravirt, see qspinlock paravirt support patches), revert to a simple test-and-set lock to avoid the horrors of queue preemption. Signed-off-by: Peter Zijlstra pet...@infradead.org Signed-off-by: Waiman Long

[PATCH v14 05/11] qspinlock: Optimize for smaller NR_CPUS

2015-01-20 Thread Waiman Long
From: Peter Zijlstra pet...@infradead.org When we allow for a max NR_CPUS 2^14 we can optimize the pending wait-acquire and the xchg_tail() operations. By growing the pending bit to a byte, we reduce the tail to 16bit. This means we can use xchg16 for the tail part and do away with all the

[PATCH v14 04/11] qspinlock: Extract out code snippets for the next patch

2015-01-20 Thread Waiman Long
This is a preparatory patch that extracts out the following 2 code snippets to prepare for the next performance optimization patch. 1) the logic for the exchange of new and previous tail code words into a new xchg_tail() function. 2) the logic for clearing the pending bit and setting the

[PATCH v14 11/11] pvqspinlock, x86: Enable PV qspinlock for XEN

2015-01-20 Thread Waiman Long
This patch adds the necessary XEN specific code to allow XEN to support the CPU halting and kicking operations needed by the queue spinlock PV code. Signed-off-by: Waiman Long waiman.l...@hp.com --- arch/x86/xen/spinlock.c | 149 +--

[PATCH v14 01/11] qspinlock: A simple generic 4-byte queue spinlock

2015-01-20 Thread Waiman Long
This patch introduces a new generic queue spinlock implementation that can serve as an alternative to the default ticket spinlock. Compared with the ticket spinlock, this queue spinlock should be almost as fair as the ticket spinlock. It has about the same speed in single-thread and it can be much

[PATCH v14 02/11] qspinlock, x86: Enable x86-64 to use queue spinlock

2015-01-20 Thread Waiman Long
This patch makes the necessary changes at the x86 architecture specific layer to enable the use of queue spinlock for x86-64. As x86-32 machines are typically not multi-socket. The benefit of queue spinlock may not be apparent. So queue spinlock is not enabled. Currently, there is some

Re: [PATCH v5 5/5] tty/serial: Add Spreadtrum sc9836-uart driver support

2015-01-20 Thread Rob Herring
On Tue, Jan 20, 2015 at 1:37 AM, Lyra Zhang zhang.l...@gmail.com wrote: Hi, Rob I still have a question to be conform, specific describes below: On Mon, Jan 19, 2015 at 10:11 PM, Rob Herring robherri...@gmail.com wrote: On Mon, Jan 19, 2015 at 3:55 AM, Lyra Zhang zhang.l...@gmail.com wrote:

[PATCH 1/2] mm/slub: fix typo

2015-01-20 Thread Kim Phillips
Signed-off-by: Kim Phillips kim.phill...@freescale.com --- mm/slub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/slub.c b/mm/slub.c index fe376fe..a64cc1b 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -2512,7 +2512,7 @@ EXPORT_SYMBOL(kmem_cache_alloc_node_trace); #endif

[PATCH 2/2] mm: fix undefined reference to `.kernel_map_pages' on PPC builds

2015-01-20 Thread Kim Phillips
It's possible to configure DEBUG_PAGEALLOC without PAGE_POISONING on ppc. Fix building the generic kernel_map_pages() implementation in this case: LD init/built-in.o mm/built-in.o: In function `free_pages_prepare': mm/page_alloc.c:770: undefined reference to `.kernel_map_pages'

[PATCH] powerpc/fsl_pci: Fix pci stack build bug with FRAME_WARN

2015-01-20 Thread Kim Phillips
Fix this: CC arch/powerpc/sysdev/fsl_pci.o arch/powerpc/sysdev/fsl_pci.c: In function 'fsl_pcie_check_link': arch/powerpc/sysdev/fsl_pci.c:91:1: error: the frame size of 1360 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] when configuring FRAME_WARN, by converting the

Re: [ANNOUNCE] Git v2.3.0-rc0

2015-01-20 Thread Ævar Arnfjörð Bjarmason
On Tue, Jan 13, 2015 at 12:57 AM, Junio C Hamano gits...@pobox.com wrote: An early preview release Git v2.3.0-rc0 is now available for testing at the usual places. [...] Jeff King (38): [...] parse_color: refactor color storage [...] I've had this in my .gitconfig since 2010 which was

Re: linux-next: Tree for Jan 20 -- Kernel panic - Unable to mount root fs

2015-01-20 Thread Al Viro
On Tue, Jan 20, 2015 at 10:38:58PM +0100, Sabrina Dubroca wrote: [1.538646] fn_lookup bsg/0:0:0:0 -2, 88001f718000 bsg/0:0:0:0 [1.539704] fn_lookup bsg 0, 88001f718000 bsg [1.540559] fn_lookup bsg/0:0:0:0 -2, 88001f718000 bsg/0:0:0:0 [1.552611] fn_lookup

Re: [PATCH] MAINTAINERS: Update rydberg's addresses

2015-01-20 Thread Henrik Rydberg
Hi Benjamin, Henrik, I just used the get_maintainer to add you on CC to an input-mt patch series, and it ended up using the @euromail.se instead of your still valid one. I can resend to you the patch series if you want. Thanks, that won't be necessary. I looked through the the patchset, and

Re: linux-next: Tree for Jan 20

2015-01-20 Thread Kirill A. Shutemov
On Tue, Jan 20, 2015 at 12:26:42PM -0800, Guenter Roeck wrote: --- sparc: # bad: [5d0ee6f76de160f7d7f9dc0b64a98ad9b8e9] Add linux-next specific files for 20150120 # good: [ec6f34e5b552fb0a52e6aae1a5afbbb1605cc6cc] Linux 3.19-rc5 git bisect start 'HEAD' 'v3.19-rc5' # good

[PATCH 1/1] drivers:hv:vmbus Allow for use of all MMIO ranges

2015-01-20 Thread Jake Oshins
This set of changes finds the _CRS object in the ACPI namespace that contains memory address space descriptors, intended to convey to VMBus which ranges of memory-mapped I/O space are available for child devices, and then builds a resource list that contains all those ranges. Without this change,

Re: [RFC Patch 08/19] ACPI: Add prefetch decoding to the address space parser

2015-01-20 Thread Rafael J. Wysocki
On Thursday, January 08, 2015 10:32:55 AM Jiang Liu wrote: From: Thomas Gleixner t...@linutronix.de Add support of PREFETCH attributre to ACPI address space and extended address space parser. This potentially enables untested configurations which tends to uncover bugs, so I'm concerned.

Re: About 2 ACPICA table patches

2015-01-20 Thread Rafael J. Wysocki
On Tuesday, January 20, 2015 05:05:07 PM Octavian Purdila wrote: On Tue, Jan 20, 2015 at 5:09 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Saturday, January 17, 2015 05:02:31 PM Octavian Purdila wrote: On Fri, Jan 16, 2015 at 11:44 AM, Zheng, Lv lv.zh...@intel.com wrote: Hi,

Re: [PATCH v5 1/6] mfd: rtsx: add func to split u32 into register

2015-01-20 Thread Ulf Hansson
On 20 January 2015 at 15:47, Lee Jones lee.jo...@linaro.org wrote: On Tue, 23 Dec 2014, micky_ch...@realsil.com.cn wrote: From: Micky Ching micky_ch...@realsil.com.cn Add helper function to write u32 to registers, if we want to put u32 value to 4 continuous register, this can help us reduce

Re: linux-next: Tree for Jan 20 -- Kernel panic - Unable to mount root fs

2015-01-20 Thread Sabrina Dubroca
2015-01-20, 21:02:03 +, Al Viro wrote: On Tue, Jan 20, 2015 at 09:45:04PM +0100, Sabrina Dubroca wrote: printk(KERN_ERR fn_lookup %s %d\n, name, retval); and I get: [1.618558] fn_lookup bsg/0:0:0:0 -2 [1.619437] fn_lookup bsg 0 [1.620236] fn_lookup bsg/0:0:0:0 -2

[PATCH v2 3/4] x86: pmc_atom: supply register mappings via pmc object

2015-01-20 Thread Andy Shevchenko
The patch converts the functions to use the register mappings provided by pmc object. It would help in case of mappings on different platforms. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- arch/x86/kernel/pmc_atom.c | 48 ++ 1

Re: [PATCH] bluetooth: Add hci_h4p driver

2015-01-20 Thread Pavel Machek
On Tue 2015-01-20 10:28:50, Johan Hedberg wrote: Hi Pavel, On Tue, Dec 23, 2014, Pavel Machek wrote: + while (1) { + int cmd, len; + + fw_pos += cmd_len; + + if (fw_pos = fw_entry-size) + break; + + if (fw_pos + 2

Re: [RFC] block: Remove annoying unknown partition table message

2015-01-20 Thread Jens Axboe
On 01/18/2015 08:48 AM, Boaz Harrosh wrote: On 01/18/2015 05:32 PM, Boaz Harrosh wrote: From: Boaz Harrosh b...@plexistor.com As Christoph put it best: Can we just get rid of the warnings? It's fairly annoying as devices without partitions are perfectly fine and very useful. Me too I

Re: linux-next: Tree for Jan 20 -- Kernel panic - Unable to mount root fs

2015-01-20 Thread Sabrina Dubroca
2015-01-20, 21:58:31 +, Al Viro wrote: On Tue, Jan 20, 2015 at 10:38:58PM +0100, Sabrina Dubroca wrote: [1.538646] fn_lookup bsg/0:0:0:0 -2, 88001f718000 bsg/0:0:0:0 [1.539704] fn_lookup bsg 0, 88001f718000 bsg [1.540559] fn_lookup bsg/0:0:0:0 -2, 88001f718000

Re: [RFC PATCH] fs: file freeze support

2015-01-20 Thread Dave Chinner
On Tue, Jan 20, 2015 at 12:21:37PM +0100, Jan Kara wrote: On Mon 19-01-15 22:07:01, Namjae Jeon wrote: When this state is set, any process which tries to modify the file's address space, either by pagefault mmap writes or using write(2), will block until the this state is

Re: [PATCH v3] hrtimers: calculate expires_next after all timers are executed

2015-01-20 Thread Thomas Gleixner
On Tue, 20 Jan 2015, Stanislav Fomichev wrote: I think I'm hitting particularly subtle issue with NOHZ_IDLE kernel. The sequence is as follows: - CPU enters idle, we disable tick - hrtimer interrupt fires (for hrtimer_wakeup) - for clock base #1 (REALTIME) we wake up SCHED_RT thread and

Re: [RFC PATCH RESEND] vfs: Move security_inode_killpriv() after permission checks

2015-01-20 Thread James Morris
On Sat, 17 Jan 2015, Ben Hutchings wrote: chown() and write() should clear all privilege attributes on a file - setuid, setgid, setcap and any other extended privilege attributes. However, any attributes beyond setuid and setgid are managed by the LSM and not directly by the filesystem, so

Re: [PATCH] kernel: Conditionally support non-root users, groups and capabilities

2015-01-20 Thread Casey Schaufler
On 1/20/2015 3:33 PM, Iulia Manda wrote: There are a lot of embedded systems that run most or all of their functionality in init, running as root:root. For these systems, supporting multiple users is not necessary. This patch adds a new symbol, CONFIG_NON_ROOT, that makes support for

Re: [PATCH] Selinux/hooks.c: Fix a NULL pointer dereference caused by semop()

2015-01-20 Thread Eric Paris
What kernel version was this? Didn't we have this problem and solve it upstream some time ago? IPC could be allocated with a valid security context, the ipc would be freed. the isec was free'd syncronously, but then the ipc could stick around until some rcu period or some usage flag got to 0,

[PATCH] clk: Export phase functions

2015-01-20 Thread Maxime Ripard
The phase setter and getter were not exported until now, which was causing build breakages when callers were compiled as module. Export these two functions. Reported-by: Arnd Bergmann a...@arndb.de Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/clk/clk.c | 2 ++ 1 file

[PATCH v5 1/5] can: kvaser_usb: Update net interface state before exiting on OOM

2015-01-20 Thread Ahmed S. Darwish
From: Ahmed S. Darwish ahmed.darw...@valeo.com Update all of the can interface's state and error counters before trying any skb allocation that can actually fail with -ENOMEM. Suggested-by: Marc Kleine-Budde m...@pengutronix.de Signed-off-by: Ahmed S. Darwish ahmed.darw...@valeo.com ---

Re: [PATCH RFC 0/6] epoll: Introduce new syscall epoll_mod_wait

2015-01-20 Thread josh
On Tue, Jan 20, 2015 at 02:40:32PM -0800, Andy Lutomirski wrote: On Tue, Jan 20, 2015 at 1:57 AM, Fam Zheng f...@redhat.com wrote: This adds a new system call, epoll_mod_wait. It's described as below: NAME epoll_mod_wait - modify and wait for I/O events on an epoll file

Re: [PATCHv3 00/36] perf tools: New build framework

2015-01-20 Thread David Ahern
On 1/20/15 9:38 AM, Jiri Olsa wrote: The patchset is also available in: git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/build Do I have to guess which branch? $ git branch -a | grep jirka | grep build remotes/jirka/perf/build remotes/jirka/perf/build_1

Re: linux-next: Tree for Jan 20 -- Kernel panic - Unable to mount root fs

2015-01-20 Thread Al Viro
On Tue, Jan 20, 2015 at 10:50:41PM +, Al Viro wrote: doesn't look at _anything_ other than name-name other than for audit_inode(). And name-name is apparently the same. It looks like something ends up buggering name-name in process, but then the damn thing appears to be normal after

[PATCH 2/2] powerpc/powernv: Skip registering log region when CONFIG_PRINTK=n

2015-01-20 Thread Pranith Kumar
When CONFIG_PRINTK=n, log_buf_addr_get() returns NULL and log_buf_len_get() return 0. Check for these return values and skip registering the dump buffer. Signed-off-by: Pranith Kumar bobby.pr...@gmail.com CC: Michael Ellerman m...@ellerman.id.au --- arch/powerpc/platforms/powernv/opal.c | 6

[PATCH 1/2] printk: Add dummy routine for when CONFIG_PRINTK=n

2015-01-20 Thread Pranith Kumar
There are missing dummy routines for log_buf_addr_get() and log_buf_len_get() for when CONFIG_PRINTK is not set causing build failures. This patch adds these dummy routines at the appropriate location. Signed-off-by: Pranith Kumar bobby.pr...@gmail.com CC: Michael Ellerman m...@ellerman.id.au

Re: linux-next: Tree for Jan 20 -- Kernel panic - Unable to mount root fs

2015-01-20 Thread Paul Moore
On Wednesday, January 21, 2015 12:27:26 AM Sabrina Dubroca wrote: 2015-01-20, 23:17:25 +, Al Viro wrote: On Tue, Jan 20, 2015 at 10:50:41PM +, Al Viro wrote: doesn't look at _anything_ other than name-name other than for audit_inode(). And name-name is apparently the same.

Re: [PATCH] net: dsa: set slave MII bus PHY mask

2015-01-20 Thread Florian Fainelli
On 20/01/15 16:13, Vivien Didelot wrote: When registering a mdio bus, Linux assumes than every port has a PHY and tries to scan it. If a switch port has no PHY registered, DSA will fail to register the slave MII bus. To fix this, set the slave MII bus PHY mask to the switch PHYs mask. As an

Re: [PATCH V4] mm/thp: Allocate transparent hugepages on local node

2015-01-20 Thread Andrew Morton
On Tue, 20 Jan 2015 17:04:31 +0530 Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: This make sure that we try to allocate hugepages from local node if allowed by mempolicy. If we can't, we fallback to small page allocation based on mempolicy. This is based on the observation that

Re: [PATCH v10 3/3] clk: Add rate constraints to clocks

2015-01-20 Thread Stephen Boyd
It's looking fairly close. Thanks for keeping up with the review comments. On 01/20, Tomeu Vizoso wrote: diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index e867d6a..f241e27 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -2143,6 +2280,10 @@ struct clk *__clk_register(struct

Re: [RFC Patch 17/19] resources: Move struct resource_list_entry from ACPI into resource core

2015-01-20 Thread Rafael J. Wysocki
On Thursday, January 08, 2015 10:33:04 AM Jiang Liu wrote: Currently ACPI, PCI and pnp all implement the same resource list management with different data structure. We need to transfer from one data structure into another when passing resources from one subsystem into another subsystem. Sp

Re: linux-next: Tree for Jan 20 -- Kernel panic - Unable to mount root fs

2015-01-20 Thread Al Viro
On Tue, Jan 20, 2015 at 09:45:04PM +0100, Sabrina Dubroca wrote: printk(KERN_ERR fn_lookup %s %d\n, name, retval); and I get: [1.618558] fn_lookup bsg/0:0:0:0 -2 [1.619437] fn_lookup bsg 0 [1.620236] fn_lookup bsg/0:0:0:0 -2 [1.625996] fn_lookup sda 0 [1.626609]

Re: [RFC PATCH] gpio: support for GPIO forwarding

2015-01-20 Thread Rafael J. Wysocki
On Tuesday, January 20, 2015 01:16:06 PM Linus Walleij wrote: On Mon, Jan 19, 2015 at 6:59 AM, Alexandre Courbot gnu...@gmail.com wrote: I am not really fond of this idea since it adds complexity to the (already too complex) GPIO lookup, and only solves to a local level (GPIO) what is a

Re: [PATCH 2/3] sysfs: Only accept read/write permissions for file attributes

2015-01-20 Thread Greg Kroah-Hartman
On Tue, Jan 20, 2015 at 09:13:12AM -0800, Guenter Roeck wrote: On Tue, Jan 20, 2015 at 10:44:01AM -0500, Vivien Didelot wrote: Hi Guenter, [ ... ] Anyway, my goal was to keep things simple. Taking some bits from the default and others from the return value of the is_visible

[PATCH v5 3/5] can: kvaser_usb: Fix state handling upon BUS_ERROR events

2015-01-20 Thread Ahmed S. Darwish
From: Ahmed S. Darwish ahmed.darw...@valeo.com While being in an ERROR_WARNING state and receiving further bus error events with error counts in the range of 97-127 inclusive, the state handling code erroneously reverts back to ERROR_ACTIVE. As per the CAN standard recommendations, only revert

Re: [PATCH 2/2][RFC] staging: Remove the Android logger driver

2015-01-20 Thread Greg KH
On Tue, Jan 20, 2015 at 01:42:35PM -0800, John Stultz wrote: With the relase of Lollipop, Android no longer requires the logger driver. There are three patches which the android dev's still need before they drop logger on all their devices: [PATCH v3 1/3] pstore: use scnprintf [PATCH

[PATCH] livepatch: fix uninitialized return value

2015-01-20 Thread Josh Poimboeuf
Fix a potentially uninitialized return value. Signed-off-by: Josh Poimboeuf jpoim...@redhat.com --- kernel/livepatch/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/livepatch/core.c b/kernel/livepatch/core.c index bc05d39..9adf86b 100644 ---

[PATCH] powerpc/perf: fix fsl_emb_pmu_start to write correct pmc value

2015-01-20 Thread Tom Huynh
PMCs on PowerPC increases towards 0x8000 and triggers an overflow interrupt when the msb is set to collect a sample. Therefore, to setup for the next sample collection, pmu_start should set the pmc value to 0x8000 - left instead of left which incorrectly delays the next overflow interrupt.

Re: [PATCH] arch: arm: mach-ux500: board-mop500-regulators.c: Remove unused function

2015-01-20 Thread Rickard Strandqvist
2015-01-19 11:00 GMT+01:00 Arnd Bergmann a...@arndb.de: On Sunday 18 January 2015 18:07:47 Lee Jones wrote: On Fri, 02 Jan 2015, Arnd Bergmann wrote: On Thursday 01 January 2015 16:40:05 Rickard Strandqvist wrote: Remove the function mop500_regulator_init() that is not used anywhere.

[PATCH 1/3] IPVS: add wlib wlip schedulers

2015-01-20 Thread Chris Caputo
On Tue, 20 Jan 2015, Julian Anastasov wrote: On Sat, 17 Jan 2015, Chris Caputo wrote: From: Chris Caputo ccap...@alt.net IPVS wlib (Weighted Least Incoming Byterate) and wlip (Weighted Least Incoming Packetrate) schedulers, updated for 3.19-rc4. Hi Julian, Thanks for the review.

[PATCH 2/3] IPVS: add wlib wlip schedulers

2015-01-20 Thread Chris Caputo
On Tue, 20 Jan 2015, Julian Anastasov wrote: + (u64)dr * (u64)lwgt (u64)lr * (u64)dwgt || [...] + (dr == lr dwgt lwgt)) { Above check is redundant. I accepted your feedback and applied it to the below, except for this item. I believe if

RE: [E1000-devel] [PATCH 1/2] if_link: Add VF multicast promiscuous mode control

2015-01-20 Thread Skidmore, Donald C
-Original Message- From: Hiroshi Shimamoto [mailto:h-shimam...@ct.jp.nec.com] Sent: Tuesday, January 20, 2015 3:40 PM To: Bjørn Mork Cc: e1000-de...@lists.sourceforge.net; net...@vger.kernel.org; Choi, Sy Jong; linux-kernel@vger.kernel.org; Hayato Momma Subject: Re: [E1000-devel]

Re: [PATCH] kernel: Conditionally support non-root users, groups and capabilities

2015-01-20 Thread Josh Triplett
On Tue, Jan 20, 2015 at 04:05:00PM -0800, Casey Schaufler wrote: On 1/20/2015 3:33 PM, Iulia Manda wrote: There are a lot of embedded systems that run most or all of their functionality in init, running as root:root. For these systems, supporting multiple users is not necessary.

Re: [PATCH 1/2] mm/slub: fix typo

2015-01-20 Thread Christoph Lameter
Acked-by: Christoph Lameter c...@linux.com On Tue, 20 Jan 2015, Kim Phillips wrote: Signed-off-by: Kim Phillips kim.phill...@freescale.com --- mm/slub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/slub.c b/mm/slub.c index fe376fe..a64cc1b 100644 ---

[PATCH 1/2][RFC] staging: Remove the Android alarm-dev driver

2015-01-20 Thread John Stultz
The functionality provided by the Android alarm-dev driver should now be present in the timerfd interface (thanks to Greg Hackmann and Todd Poynor). As of Lollipop, AOSP can make use of the timerfd if alarm-dev is not present (though a fixup for setting the rtc time if rtc0 isn't the backing for

[PATCH 2/2][RFC] staging: Remove the Android logger driver

2015-01-20 Thread John Stultz
With the relase of Lollipop, Android no longer requires the logger driver. There are three patches which the android dev's still need before they drop logger on all their devices: [PATCH v3 1/3] pstore: use scnprintf [PATCH 2/3] pstore: remove superfluous memory size check [PATCH v2 3/3] pstore:

Re: linux-next: Tree for Jan 20 -- Kernel panic - Unable to mount root fs

2015-01-20 Thread Guenter Roeck
On Tue, Jan 20, 2015 at 09:02:03PM +, Al Viro wrote: On Tue, Jan 20, 2015 at 09:45:04PM +0100, Sabrina Dubroca wrote: printk(KERN_ERR fn_lookup %s %d\n, name, retval); and I get: [1.618558] fn_lookup bsg/0:0:0:0 -2 [1.619437] fn_lookup bsg 0 [1.620236] fn_lookup

Re: linux-next: Tree for Jan 20 -- Kernel panic - Unable to mount root fs

2015-01-20 Thread Guenter Roeck
On Tue, Jan 20, 2015 at 11:08:23PM +0100, Sabrina Dubroca wrote: 2015-01-20, 21:58:31 +, Al Viro wrote: On Tue, Jan 20, 2015 at 10:38:58PM +0100, Sabrina Dubroca wrote: [1.538646] fn_lookup bsg/0:0:0:0 -2, 88001f718000 bsg/0:0:0:0 [1.539704] fn_lookup bsg 0,

Re: [PATCH RFC 0/6] epoll: Introduce new syscall epoll_mod_wait

2015-01-20 Thread Andy Lutomirski
On Tue, Jan 20, 2015 at 1:57 AM, Fam Zheng f...@redhat.com wrote: This adds a new system call, epoll_mod_wait. It's described as below: NAME epoll_mod_wait - modify and wait for I/O events on an epoll file descriptor SYNOPSIS int epoll_mod_wait(int

Re: [PATCH 2/3] x86, fpu: always allow FPU in interrupt if use_eager_fpu()

2015-01-20 Thread Andy Lutomirski
On Mon, Jan 19, 2015 at 10:51 AM, Oleg Nesterov o...@redhat.com wrote: The __thread_has_fpu() check in interrupted_kernel_fpu_idle() was needed to prevent the nested kernel_fpu_begin(). Now that we have in_kernel_fpu and !__thread_has_fpu() case in __kernel_fpu_begin() does not depend on

Re: [PATCH] checkpatch: Add ability to coalesce commit descriptions on multiple lines

2015-01-20 Thread Paul Bolle
Joe, Andrew, On Tue, 2015-01-20 at 14:25 -0800, Joe Perches wrote: If a git commit description is split on consecutive lines, coalesce it before testing. This allows: commit foo (some long description) Signed-off-by: Joe Perches j...@perches.com Noticed-by: Paul Bolle

Re: [PATCH 1/2] ARM: entry-common: fix forgotten set of thread_info-syscall

2015-01-20 Thread Russell King - ARM Linux
On Tue, Jan 20, 2015 at 10:45:19PM +, Russell King - ARM Linux wrote: Well, the whole question is this: is restarting a system call like usleep() really a separate system call, or is it a kernel implementation detail? If you wanted seccomp to see this, what would be the use case? Why

[PATCH] ARM: vf610: use SMP_ON_UP for Vybrid SoC

2015-01-20 Thread Stefan Agner
The Vybrid SoC has only one Cortex-A5 core and hence should select the SMP_ON_UP configuration on a SMP kernel. Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/mach-imx/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig

RE: [PATCH 1/2] if_link: Add VF multicast promiscuous mode control

2015-01-20 Thread Hiroshi Shimamoto
Subject: Re: [PATCH 1/2] if_link: Add VF multicast promiscuous mode control Hiroshi Shimamoto h-shimam...@ct.jp.nec.com writes: From: Hiroshi Shimamoto h-shimam...@ct.jp.nec.com Add netlink directives and ndo entry to control VF multicast promiscuous mode. Intel ixgbe and

next-20150120 broken on Tegra by ata: libahci: Allow using multiple regulators

2015-01-20 Thread Paul Walmsley
Commit c7d7ddee7e24eedde6149eefbcfbfbc7125b9ff0 (ata: libahci: Allow using multiple regulators) in Linux-next 20150120 causes a panic during boot on multiple Tegra boards: http://nvt.pwsan.com/experimental/linux-next/testlogs/test_next-20150120/20150120001539/boot/tegra30-beaver/tegra30-beaver

Re: [PATCH v10 2/3] clk: Make clk API return per-user struct clk instances

2015-01-20 Thread Stephen Boyd
On 01/20, Tomeu Vizoso wrote: diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 97f3425..e867d6a 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -1719,6 +1817,31 @@ out: return ret; } + +/** + * clk_set_parent - switch the parent of a mux clk + * @clk: the mux

[PATCH] net: dsa: set slave MII bus PHY mask

2015-01-20 Thread Vivien Didelot
When registering a mdio bus, Linux assumes than every port has a PHY and tries to scan it. If a switch port has no PHY registered, DSA will fail to register the slave MII bus. To fix this, set the slave MII bus PHY mask to the switch PHYs mask. As an example, if we use a Marvell MV88E6352 (which

[PATCH] net: dsa: set parent of hwmon device

2015-01-20 Thread Vivien Didelot
Set the dsa device as the parent of the hwmon device, in order to link the hwmon subsystem under the corresponding /sys/devices/platform/dsa.X/ sysfs directory. Signed-off-by: Vivien Didelot vivien.dide...@savoirfairelinux.com --- net/dsa/dsa.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: linux-next: Tree for Jan 20 -- Kernel panic - Unable to mount root fs

2015-01-20 Thread Paul Moore
On Tuesday, January 20, 2015 07:04:54 PM Paul Moore wrote: On Wednesday, January 21, 2015 12:27:26 AM Sabrina Dubroca wrote: 2015-01-20, 23:17:25 +, Al Viro wrote: On Tue, Jan 20, 2015 at 10:50:41PM +, Al Viro wrote: doesn't look at _anything_ other than name-name other than for

Re: [RFC Patch 14/19] ACPI: Translate resource into master side address for bridge window resources

2015-01-20 Thread Rafael J. Wysocki
On Thursday, January 08, 2015 10:33:01 AM Jiang Liu wrote: Add translation_offset into the result address for bridge window resources to form the master side address. Currently acpi_dev_resource_{ext_}address_space() are only used for devices instead of bridges, so it won't break current

Fwd: linux-next: manual merge of the luto-misc tree with the tip tree

2015-01-20 Thread Andy Lutomirski
Hi Ingo and Thomas- There's a trivial conflict in the pull request I sent last week. --Andy -- Forwarded message -- From: Borislav Petkov b...@suse.de Date: Mon, Jan 19, 2015 at 1:35 AM Subject: Re: linux-next: manual merge of the luto-misc tree with the tip tree To: Stephen

Re: [PATCH] crypto: Documentation: remove colons in comments

2015-01-20 Thread Randy Dunlap
On 01/19/15 19:47, Herbert Xu wrote: On Mon, Jan 19, 2015 at 12:13:39AM +0100, Stephan Mueller wrote: As documented in Documentation/kernel-doc-nano-HOWTO.txt lines terminated with a colon are treated as headings. The current layout of the documentation when compiling the kernel crypto API

Re: [v3 13/26] KVM: Define a new interface kvm_find_dest_vcpu() for VT-d PI

2015-01-20 Thread Nadav Amit
Radim Kr?má? rkrc...@redhat.com wrote: 2015-01-14 01:27+, Wu, Feng: the new hardware even doesn't consider the TPR for lowest priority interrupts delivery. A bold move ... what hardware was the first to do so? I think it was starting with Nehalem. Thanks, (Could be that QPI

Re: [PATCH 1/1] drivers:hv:vmbus Allow for more than one MMIO range for children.

2015-01-20 Thread Greg KH
On Tue, Jan 20, 2015 at 01:59:40PM -0800, Jake Oshins wrote: Signed-off-by: Jake Oshins ja...@microsoft.com No changelog body explaining why this is needed and what it fixes? Please redo. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[PATCH v5 2/5] can: kvaser_usb: Consolidate and unify state change handling

2015-01-20 Thread Ahmed S. Darwish
From: Ahmed S. Darwish ahmed.darw...@valeo.com Replace most of the can interface's state and error counters handling with the new can-dev can_change_state() mechanism. Suggested-by: Andri Yngvason andri.yngva...@marel.com Signed-off-by: Ahmed S. Darwish ahmed.darw...@valeo.com ---

Re: [PATCH 01/13] kdbus: add documentation

2015-01-20 Thread Johannes Stezenbach
Hi David, On Tue, Jan 20, 2015 at 06:00:28PM +0100, David Herrmann wrote: [big snip] These are just examples off the top of my head, but I think they're already pretty convincing. Thank you for writing this up. This is the information I was looking for which puts kdbus into context and

LOL

2015-01-20 Thread Jonny
Hahahaha! Is that you :) http://tinyurl.com/qjug2gp No more such info? Simply answer NO -- 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 http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/2] ARM: entry-common: fix forgotten set of thread_info-syscall

2015-01-20 Thread Russell King - ARM Linux
On Tue, Jan 20, 2015 at 10:31:57AM -0800, Kees Cook wrote: On Mon, Jan 19, 2015 at 1:20 AM, Will Deacon will.dea...@arm.com wrote: I'm fine either way for the native case, but we should stick with whetever we end up with. Being compatible with ARM is probably a good idea. Do you have a

Re: [PATCH 2/2] mm: fix undefined reference to `.kernel_map_pages' on PPC builds

2015-01-20 Thread josh
On Tue, Jan 20, 2015 at 02:02:00PM -0600, Kim Phillips wrote: It's possible to configure DEBUG_PAGEALLOC without PAGE_POISONING on ppc. Fix building the generic kernel_map_pages() implementation in this case: LD init/built-in.o mm/built-in.o: In function `free_pages_prepare':

Re: linux-next: Tree for Jan 20 -- Kernel panic - Unable to mount root fs

2015-01-20 Thread Sabrina Dubroca
2015-01-20, 23:17:25 +, Al Viro wrote: On Tue, Jan 20, 2015 at 10:50:41PM +, Al Viro wrote: doesn't look at _anything_ other than name-name other than for audit_inode(). And name-name is apparently the same. It looks like something ends up buggering name-name in process, but

[PATCH] kernel: Conditionally support non-root users, groups and capabilities

2015-01-20 Thread Iulia Manda
There are a lot of embedded systems that run most or all of their functionality in init, running as root:root. For these systems, supporting multiple users is not necessary. This patch adds a new symbol, CONFIG_NON_ROOT, that makes support for non-root users, non-root groups, and capabilities

Re: [RFC Patch 09/19] ACPI: Fix a bug in parsing ACPI Memroy24 resource

2015-01-20 Thread Rafael J. Wysocki
On Thursday, January 08, 2015 10:32:56 AM Jiang Liu wrote: According to ACPI spec 5, section 6.4.3.1 24-Bit Memory Range Descriptor, minimum, maximum and address_length field in struct acpi_resource_memory24 is in granularity of 256-bytes. So shift 8-bit left to get correct address. Are you

Re: [PATCH] powerpc/fsl_pci: Fix pci stack build bug with FRAME_WARN

2015-01-20 Thread Scott Wood
On Tue, 2015-01-20 at 14:03 -0600, Kim Phillips wrote: Fix this: CC arch/powerpc/sysdev/fsl_pci.o arch/powerpc/sysdev/fsl_pci.c: In function 'fsl_pcie_check_link': arch/powerpc/sysdev/fsl_pci.c:91:1: error: the frame size of 1360 bytes is larger than 1024 bytes

Re: [PATCH] x86, cpu, amd: Use 8-bit extractor for NodeId field

2015-01-20 Thread Aravind Gopalakrishnan
On 1/19/2015 12:21 PM, Borislav Petkov wrote: On Mon, Jan 19, 2015 at 12:18:58PM -0600, Aravind Gopalakrishnan wrote: The NodeId field in cpuid_ecx(0x801e) is a 8 bit field. Although current extractor works fine, it will break if/when the most significant 5 bits ever get used. So, lets

[PATCH v5 5/5] can: kvaser_usb: Add support for the USBcan-II family

2015-01-20 Thread Ahmed S. Darwish
From: Ahmed S. Darwish ahmed.darw...@valeo.com CAN to USB interfaces sold by the Swedish manufacturer Kvaser are divided into two major families: 'Leaf', and 'USBcanII'. From an Operating System perspective, the firmware of both families behave in a not too drastically different fashion. This

[PATCH v2 4/4] PMC driver: Add Cherrytrail PMC interface

2015-01-20 Thread Andy Shevchenko
The patch adds CHT PMC interface. This exposes all the South IP device power states and S0ix states for CHT. The bit map of FUNC_DIS and D3_STS_0 registers for SoCs are consistent. The D3_STS_1 and FUNC_DIS_2 registers, however, are not aligned. This is fixed by splitting a common mapping on per

Re: [PATCH 3.19 v4 1/2] x86, mpx: Short-circuit the instruction decoder for unexpected opcodes

2015-01-20 Thread Andy Lutomirski
On Jan 20, 2015 5:59 AM, Thomas Gleixner t...@linutronix.de wrote: On Tue, 13 Jan 2015, Andy Lutomirski wrote: This reduces the degree to which we're exposing the instruction decoder to malicious user code at very little complexity cost. Signed-off-by: Andy Lutomirski

Re: linux-next: Tree for Jan 20 -- Kernel panic - Unable to mount root fs

2015-01-20 Thread Al Viro
On Tue, Jan 20, 2015 at 02:13:09PM -0800, Guenter Roeck wrote: Nuts... Is reverting just this (do_path_lookup()) part of commit sufficient to recover the normal behaviour? Yes. Same on microblaze. This is completely insane. static int filename_lookup(int dfd, struct filename

Re: [PATCH] ib_srpt: wait_for_completion_timeout does not return negativ status

2015-01-20 Thread Nicholas A. Bellinger
Hi Nicholas, On Fri, 2015-01-16 at 12:20 +0100, Nicholas Mc Guire wrote: Signed-off-by: Nicholas Mc Guire der.h...@hofr.at --- Patch is against 3.19.0-rc3 -next-20150109 Patch was compiletested only with x86_64_defconfig + CONFIG_TARGET_CORE=m, CONFIG_INFINIBAND=m,

Re: [PATCH 2/2] mm: fix undefined reference to `.kernel_map_pages' on PPC builds

2015-01-20 Thread Andrew Morton
On Tue, 20 Jan 2015 15:01:50 -0800 j...@joshtriplett.org wrote: On Tue, Jan 20, 2015 at 02:02:00PM -0600, Kim Phillips wrote: It's possible to configure DEBUG_PAGEALLOC without PAGE_POISONING on ppc. Fix building the generic kernel_map_pages() implementation in this case: LD

Re: [RFC Patch 05/19] ACPI: Provide union for address_space64 and ext_address_space64

2015-01-20 Thread Rafael J. Wysocki
On Thursday, January 08, 2015 10:32:52 AM Jiang Liu wrote: From: Thomas Gleixner t...@linutronix.de address_space64 and ext_address_space64 share substracts just at different offsets. To unify the parsing functions implement the two structs as unions of their substructs, so we can extract

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