[PATCH] x86/fsgsbase/64: Use TASK_SIZE_MAX for FSBASE/GSBASE upper limits

2016-05-10 Thread Andy Lutomirski
The GSBASE upper limit exists to prevent user code from confusing the paranoid idtentry path. The FSBASE upper limit is just for consistency. There's no need to enforce a smaller limit for 32-bit tasks. Just use TASK_SIZE_MAX. This simplifies the logic and will save a few bytes of code.

Re: [PATCH 2/4] drm: Make drm_encoder_helper_funcs optional

2016-05-10 Thread Daniel Vetter
On Mon, May 09, 2016 at 09:19:22PM +0200, Noralf Trønnes wrote: > > Den 05.05.2016 18:23, skrev Daniel Vetter: > >On Thu, May 05, 2016 at 03:24:32PM +0200, Noralf Trønnes wrote: > >>Make drm_encoder_helper_funcs and it's functions optional to avoid > >>having dummy functions. > >> >

Re: [PATCH 6/6] mm/page_owner: use stackdepot to store stacktrace

2016-05-10 Thread Joonsoo Kim
2016-05-05 4:40 GMT+09:00 Michal Hocko : > On Thu 05-05-16 00:30:35, Joonsoo Kim wrote: >> 2016-05-04 18:21 GMT+09:00 Michal Hocko : > [...] >> > Do we really consume 512B of stack during reclaim. That sounds more than >> > worrying to me. >> >> Hmm...I

Re: usb: dwc2: regression on MyBook Live Duo / Canyonlands since 4.3.0-rc4

2016-05-10 Thread Arnd Bergmann
On Tuesday 10 May 2016 08:37:52 Benjamin Herrenschmidt wrote: > On Mon, 2016-05-09 at 17:08 +0200, Arnd Bergmann wrote: > > > > Unfortunately, I don't see any way this could be done in MIPS specific > > code: There is typically a byteswap between the internal bus and the PCI > > bus on big-endian

Re: [PATCHv5 8/8] mfd: as3722: Rid driver of superfluous I2C device ID structure

2016-05-10 Thread Lee Jones
On Tue, 10 May 2016, Javier Martinez Canillas wrote: > On 05/04/2016 11:14 AM, Kieran Bingham wrote: > > From: Lee Jones > > > > Also remove unused second probe() parameter 'i2c_device_id'. > > > > Acked-by: Grant Likely > > Signed-off-by: Lee

Re: [PATCH v9 0/8] KVM PCIe/MSI passthrough on ARM/ARM64: kernel part 2/3: msi changes

2016-05-10 Thread Eric Auger
Hi Chalamarla, > On 5/9/16, 12:48 AM, "Eric Auger" wrote: > >> Hi Chalarmala, >> On 05/05/2016 07:44 PM, Chalamarla, Tirumalesh wrote: >>> Hi Eric, >>> >>> Does this series supports gicv3-its emulation? >>> Do we have a tree with all the dependent patches >> GICv3 ITS

[RFC 01/13] mm, compaction: don't isolate PageWriteback pages in MIGRATE_SYNC_LIGHT mode

2016-05-10 Thread Vlastimil Babka
From: Hugh Dickins At present MIGRATE_SYNC_LIGHT is allowing __isolate_lru_page() to isolate a PageWriteback page, which __unmap_and_move() then rejects with -EBUSY: of course the writeback might complete in between, but that's not what we usually expect, so probably better not

[RFC 02/13] mm, page_alloc: set alloc_flags only once in slowpath

2016-05-10 Thread Vlastimil Babka
In __alloc_pages_slowpath(), alloc_flags doesn't change after it's initialized, so move the initialization above the retry: label. Also make the comment above the initialization more descriptive. Signed-off-by: Vlastimil Babka --- mm/page_alloc.c | 14 +++--- 1 file

[RFC 11/13] mm, compaction: add the ultimate direct compaction priority

2016-05-10 Thread Vlastimil Babka
During reclaim/compaction loop, it's desirable to get a final answer from unsuccessful compaction so we can either fail the allocation or invoke the OOM killer. However, heuristics such as deferred compaction or pageblock skip bits can cause compaction to skip parts or whole zones and lead to

[RFC 12/13] mm, compaction: more reliably increase direct compaction priority

2016-05-10 Thread Vlastimil Babka
During reclaim/compaction loop, compaction priority can be increased by the should_compact_retry() function, but the current code is not optimal for several reasons: - priority is only increased when compaction_failed() is true, which means that compaction has scanned the whole zone. This may

[PATCH 14/18] scripts/gdb: Add lx_thread_info_by_pid helper

2016-05-10 Thread Jan Kiszka
From: Kieran Bingham The tasks module already provides helpers to find the task struct by pid, and the thread_info by task struct; however this is cumbersome to utilise on the gdb commandline. Wrap these two functionalities together in an extra single helper to allow

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-10 Thread Peng Fan
Hi Alex, On Mon, May 09, 2016 at 09:32:38AM -0600, Alex Williamson wrote: >On Mon, 9 May 2016 18:01:43 +0800 >Peng Fan wrote: > >> Use vfio_iommu_group_get and vfio_iommu_group_put, but not >> iommu_group_get or iommu_group_put. > >I assume you're trying to duplicate the

[PATCH 02/18] scripts/gdb: Provide linux constants

2016-05-10 Thread Jan Kiszka
From: Kieran Bingham Some macro's and defines are needed when parsing memory, and without compiling the kernel as -g3 they are not available in the debug-symbols. We use the pre-processor here to extract constants to a dedicated module for the linux debugger

[PATCH 09/18] scripts/gdb: Add mount point list command

2016-05-10 Thread Jan Kiszka
From: Kieran Bingham lx-mounts will identify current mount points based on the 'init_task' namespace by default, as we do not yet have a kernel thread list implementation to select the current running thread. Optionally, a user can specify a PID to list from that

[RFC 05/13] mm, page_alloc: make THP-specific decisions more generic

2016-05-10 Thread Vlastimil Babka
Since THP allocations during page faults can be costly, extra decisions are employed for them to avoid excessive reclaim and compaction, if the initial compaction doesn't look promising. The detection has never been perfect as there is no gfp flag specific to THP allocations. At this moment it

[PATCH 00/18] scripts/gdb: Updates for 4.7

2016-05-10 Thread Jan Kiszka
Hi Andrew, please include the following enhancements and fixed for the gdb scripts in your queue. This adds a number of new commands and helper functions, contributed by Kieran, and fixes lx-dmesg for Python 3 as well as corrects the output of lx-lsmod. Kieran stepped up to support me

[RFC 06/13] mm, thp: remove __GFP_NORETRY from khugepaged and madvised allocations

2016-05-10 Thread Vlastimil Babka
After the previous patch, we can distinguish costly allocations that should be really lightweight, such as THP page faults, with __GFP_NORETRY. This means we don't need to recognize khugepaged allocations via PF_KTHREAD anymore. We can also change THP page faults in areas where

[PATCH 10/18] scripts/gdb: Add cpu iterators

2016-05-10 Thread Jan Kiszka
From: Kieran Bingham The linux kernel provides macro's for iterating against values from the cpu_list masks. By providing some commonly used masks, we can mirror the kernels helper macros with easy to use generators. Signed-off-by: Kieran Bingham

[PATCH 03/18] scripts/gdb: Provide kernel list item generators

2016-05-10 Thread Jan Kiszka
From: Kieran Bingham Facilitate linked-list items by providing a generator to return the dereferenced, and type-cast objects from a kernel linked list CC: Jeff Mahoney Signed-off-by: Kieran Bingham Signed-off-by: Jan

[PATCH 05/18] scripts/gdb: Provide exception catching parser

2016-05-10 Thread Jan Kiszka
From: Kieran Bingham If we attempt to read a value that is not available to GDB, an exception is raised. Most of the time, this is a good thing; however on occasion we will want to be able to determine if a symbol is available. By catching the exception to simply

Re: [PATCH RESEND 12/12] of: Add sh support

2016-05-10 Thread Yoshinori Sato
On Mon, 02 May 2016 21:35:28 +0900, Rob Herring wrote: > > On Sun, May 1, 2016 at 12:08 AM, Yoshinori Sato > wrote: > > sh fdt access in VA. But memory reservation use PA. > > So sh need convert to PA. > > > > Signed-off-by: Yoshinori Sato

[PATCH 04/18] scripts/gdb: Convert modules usage to lists functions

2016-05-10 Thread Jan Kiszka
From: Kieran Bingham Simplify the module list functions with the new list_for_each_entry abstractions Signed-off-by: Kieran Bingham Signed-off-by: Jan Kiszka --- scripts/gdb/linux/modules.py | 17 ++---

Re: [PATCH 20/25] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2016-05-10 Thread Zhangjian (Bamvor)
Hi, Sorry I forget to paste my test code: #include #include #include #include #define TEMPFILE "mmapfile" int main(int argc, char *argv[]) { int fd; void *addr; unsigned long offset; unsigned long size; if (argc == 3) { if

workqueue: race in mod_delayed_work_on?

2016-05-10 Thread Konstantin Khlebnikov
I've got plenty warnings, bugs and oops around trivial use of mod_delayed_work in drivers/infiniband/core/addr.c For example: WARN_ON_ONCE(timer_pending(timer)) in __queue_delayed_work and BUG_ON(timer_pending(timer) || !timer->function) in add_timer_on <4>[471106.614256] [ cut

Re: [PATCH RESEND 05/12] sh: DeviceTree support update

2016-05-10 Thread Yoshinori Sato
On Wed, 04 May 2016 12:10:05 +0900, Rich Felker wrote: > > On Sun, May 01, 2016 at 02:08:29PM +0900, Yoshinori Sato wrote: > > Changes bellow > > - FDT setup timing fix. > > - chosen/bootargs support. > > - zImage support. > > - DT binding helper macro. > > > > Signed-off-by: Yoshinori Sato

[PATCH 4/6] usb: Add MediaTek USB3 DRD Driver

2016-05-10 Thread Chunfeng Yun
This patch adds support for the MediaTek USB3 controller integrated into MT8173. It can be configured as Dual-Role Device (DRD), Peripheral Only and Host Only (xHCI) modes. Signed-off-by: Chunfeng Yun --- drivers/usb/Kconfig|2 +

[PATCH 6/6] pinctrl: mt8173: set GPIO16 to usb iddig mode

2016-05-10 Thread Chunfeng Yun
the default mode of GPIO16 pin is gpio, when set EINT16 to IRQ_TYPE_LEVEL_HIGH, no interrupt is triggered, it can be fixed when set its default mode as usb iddig. Signed-off-by: Chunfeng Yun --- drivers/pinctrl/mediatek/pinctrl-mtk-mt8173.h |2 +- 1 file changed,

[PATCH 5/6] arm64: dts: mediatek: add USB3 DRD driver

2016-05-10 Thread Chunfeng Yun
USB3 DRD driver is added for MT8173-EVB, and xHCI driver becomes its subnode Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 46 +-- arch/arm64/boot/dts/mediatek/mt8173.dtsi| 28 2 files

Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available

2016-05-10 Thread David Howells
Christoph Hellwig wrote: > > It does what stat() does now, whatever that is for each fs. The > > assumption is that this might be used to emulate stat() from userspace. > > However, we want to be able to make sure we get the two behaviours above. > > And why would you

[tip:x86/boot] x86/KASLR: Return earliest overlap when avoiding regions

2016-05-10 Thread tip-bot for Kees Cook
Commit-ID: 06486d6c97cebc2433a40a979f3849cd68184de9 Gitweb: http://git.kernel.org/tip/06486d6c97cebc2433a40a979f3849cd68184de9 Author: Kees Cook AuthorDate: Mon, 9 May 2016 13:22:07 -0700 Committer: Ingo Molnar CommitDate: Tue, 10 May 2016

Re: [PATCH 01/11] MIPS: math-emu: Fix BC1{EQ,NE}Z emulation

2016-05-10 Thread Paul Burton
On Tue, May 10, 2016 at 10:09:40AM +0200, Ralf Baechle wrote: > On Thu, Apr 21, 2016 at 02:04:45PM +0100, Paul Burton wrote: > > > The conditions for branching when emulating the BC1EQZ & BC1NEZ > > instructions were backwards, leading to each of those instructions being > > treated as the other.

Re: [PATCH v2] locking/rwsem: Add reader-owned state to the owner field

2016-05-10 Thread Peter Zijlstra
On Mon, May 09, 2016 at 10:24:16PM -0400, Waiman Long wrote: > >>+static inline void rwsem_set_reader_owned(struct rw_semaphore *sem) > >>+{ > >>+ /* > >>+* We check the owner value first to make sure that we will only > >>+* do a write to the rwsem cacheline when it is really necessary

Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available

2016-05-10 Thread Christoph Hellwig
On Mon, May 09, 2016 at 08:02:58AM -0400, Jeff Layton wrote: > > > AT_FORCE_ATTR_SYNC can be set in flags.This will require a network > > > filesystem to synchronise its attributes with the server. > > > > > > AT_NO_ATTR_SYNC can be set in flags.This will suppress synchronisation > > >

Re: sched: tweak select_idle_sibling to look for idle threads

2016-05-10 Thread Yuyang Du
On Mon, May 09, 2016 at 11:39:05AM +0200, Mike Galbraith wrote: > On Mon, 2016-05-09 at 09:13 +0800, Yuyang Du wrote: > > On Mon, May 09, 2016 at 09:44:13AM +0200, Mike Galbraith wrote: > > > > In a perfect world, running only Chris' benchmark on an otherwise idle > > > box, there would never

Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available

2016-05-10 Thread Christoph Hellwig
On Mon, May 09, 2016 at 02:38:21PM +0100, David Howells wrote: > Let's look at the list, and please bear in mind I'm trying to make it so that > you can emulate stat() through this interface. If you want to waive that > requirement - or push the emulation out to userspace - then I can forego >

RE: [PATCH 2/2] i2c: qup: support SMBus block read

2016-05-10 Thread Sricharan
+additional lists > I2C QUP driver relies on SMBus emulation support from the framework. > To handle SMBus block reads, the driver should check I2C_M_RECV_LEN flag > and should read the first byte received as the message length. > > The driver configures the QUP hardware to read one byte. Once

Re: [PATCH 1/4] usb: dwc3: of-simple: add compatible for rockchip

2016-05-10 Thread Felipe Balbi
Hi, Brian Norris writes: > Hi William, > > Did you leave off linux-rockc...@lists.infradead.org intentionally? IMO, > it's nice to have that list in CC, so interested parties can follow your > work, even if they aren't as fortunate as me to have been CC'd on your >

Re: [PATCH] memcg: fix stale mem_cgroup_force_empty() comment

2016-05-10 Thread Michal Hocko
On Fri 06-05-16 14:23:30, Greg Thelen wrote: > commit f61c42a7d911 ("memcg: remove tasks/children test from > mem_cgroup_force_empty()") removed memory reparenting from the function. > > Fix the function's comment. > > Signed-off-by: Greg Thelen Acked-by: Michal Hocko

Re: [PATCH RESEND 03/12] sh: Disable board specific code in OF mode

2016-05-10 Thread Yoshinori Sato
Sorry too late reply. On Wed, 04 May 2016 11:49:41 +0900, Rich Felker wrote: > > On Sun, May 01, 2016 at 02:08:27PM +0900, Yoshinori Sato wrote: > > Board specific code conflict on of-generic. > > > > Signed-off-by: Yoshinori Sato > > --- > > arch/sh/Makefile | 11

Re: [PATCH v7 03/14] usb: hcd.h: Add OTG to HCD interface

2016-05-10 Thread Roger Quadros
On 10/05/16 06:14, Peter Chen wrote: > On Mon, May 09, 2016 at 12:45:38PM +0300, Roger Quadros wrote: >> On 06/05/16 12:41, Peter Chen wrote: >>> On Mon, May 02, 2016 at 03:18:46PM +0300, Roger Quadros wrote: The OTG core will use struct otg_hcd_ops to interface with the HCD controller.

[RFC 09/13] mm, compaction: make whole_zone flag ignore cached scanner positions

2016-05-10 Thread Vlastimil Babka
A recent patch has added whole_zone flag that compaction sets when scanning starts from the zone boundary, in order to report that zone has been fully scanned in one attempt. For allocations that want to try really hard or cannot fail, we will want to introduce a mode where scanning whole zone is

[RFC 08/13] mm, compaction: simplify contended compaction handling

2016-05-10 Thread Vlastimil Babka
Async compaction detects contention either due to failing trylock on zone->lock or lru_lock, or by need_resched(). Since 1f9efdef4f3f ("mm, compaction: khugepaged should not give up due to need_resched()") the code got quite complicated to distinguish these two up to the __alloc_pages_slowpath()

[RFC 07/13] mm, compaction: introduce direct compaction priority

2016-05-10 Thread Vlastimil Babka
In the context of direct compaction, for some types of allocations we would like the compaction to either succeed or definitely fail while trying as hard as possible. Current async/sync_light migration mode is insufficient, as there are heuristics such as caching scanner positions, marking

[RFC 13/13] mm, compaction: fix and improve watermark handling

2016-05-10 Thread Vlastimil Babka
Compaction has been using watermark checks when deciding whether it was successful, and whether compaction is at all suitable. There are few problems with these checks. - __compact_finished() uses low watermark in a check that has to pass if the direct compaction is to finish and allocation

[RFC 10/13] mm, compaction: cleanup unused functions

2016-05-10 Thread Vlastimil Babka
Since kswapd compaction moved to kcompactd, compact_pgdat() is not called anymore, so we remove it. The only caller of __compact_pgdat() is compact_node(), so we merge them and remove code that was only reachable from kswapd. Signed-off-by: Vlastimil Babka ---

[PATCH v2 2/9] perf script: Add options for custom vdso path

2016-05-10 Thread He Kuang
When unwinding callchains on a different machine, vdso info should be provided so the unwind process won't be interrupted if address falls into vdso region. Currently, perf does try to read vdso binary in '.debug' folder, but the filename of the vdso file is generated randomly based on

Re: [PATCH RESEND 10/12] sh: I/O DATA HDL-U (aka landisk) support dts

2016-05-10 Thread Yoshinori Sato
On Wed, 04 May 2016 12:27:57 +0900, Rich Felker wrote: > > On Sun, May 01, 2016 at 02:08:34PM +0900, Yoshinori Sato wrote: > > Signed-off-by: Yoshinori Sato > > --- > > arch/sh/boot/dts/landisk.dts | 150 > > +++ > > 1 file

[PATCH v2 0/9] Add support for remote unwind

2016-05-10 Thread He Kuang
v1 url: http://thread.gmane.org/gmane.linux.kernel/2216256 Currently, perf script uses host unwind methods(local unwind) to parse perf.data callchain info regardless of the target architecture. So we get wrong result and no promotion when do remote unwind on other platforms/machines. This

Re: [PATCH 20/25] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it

2016-05-10 Thread Zhangjian (Bamvor)
Hi, Yury On 2016/5/6 20:37, Yury Norov wrote: On Fri, May 06, 2016 at 08:16:48PM +0800, Zhangjian (Bamvor) wrote: Hi, On 2016/4/6 6:08, Yury Norov wrote: From: Andrew Pinski Add a separate syscall-table for ILP32, which dispatches either to native LP64 system call

[RFC 03/13] mm, page_alloc: don't retry initial attempt in slowpath

2016-05-10 Thread Vlastimil Babka
After __alloc_pages_slowpath() sets up new alloc_flags and wakes up kswapd, it first tries get_page_from_freelist() with the new alloc_flags, as it may succeed e.g. due to using min watermark instead of low watermark. This attempt does not have to be retried on each loop, since direct reclaim,

Re: [PATCH v7 2/2] memory: atmel-ebi: add DT bindings documentation

2016-05-10 Thread Boris Brezillon
On Wed, 4 May 2016 15:35:47 +0200 Boris Brezillon wrote: > On Wed, 4 May 2016 08:06:10 -0500 > Rob Herring wrote: > > > On Wed, May 4, 2016 at 4:38 AM, Boris Brezillon > > wrote: > > > Hi Rob, > > > > >

Re: [patch] phy: bcm-ns-usb2: checking the wrong variable

2016-05-10 Thread Rafał Miłecki
On 10 May 2016 at 10:01, Dan Carpenter wrote: > We intended to test "usb2->phy" here instead of "dev". > > Fixes: d3feb4067335 ('phy: bcm-ns-usb2: new driver for USB 2.0 PHY on > Northstar') > Signed-off-by: Dan Carpenter Thanks!

Re: [PATCH] sched/fair: Invoke cpufreq hooks for CONFIG_SMP unset

2016-05-10 Thread Ingo Molnar
* Rafael J. Wysocki wrote: > On Monday, May 09, 2016 04:53:16 PM Steve Muckle wrote: > > On Sat, May 07, 2016 at 08:30:51AM +0200, Ingo Molnar wrote: > > > > > > * Peter Zijlstra wrote: > > > > > > > On Fri, May 06, 2016 at 02:58:43PM +0200, Rafael

Re: [PATCH v21 00/22] Richacls

2016-05-10 Thread Jeremy Allison
On Tue, May 10, 2016 at 06:18:10AM +0200, Volker Lendecke wrote: > On Tue, May 10, 2016 at 12:02:33AM +0200, Andreas Gruenbacher wrote: > > What more can I do to finally get this merged? > > While I am not the one to comment on kernel specifics, from a pure Samba > user space perspective let me

RE: [PATCH v7 03/14] usb: hcd.h: Add OTG to HCD interface

2016-05-10 Thread Jun Li
Hi > -Original Message- > From: Roger Quadros [mailto:rog...@ti.com] > Sent: Tuesday, May 10, 2016 3:35 PM > To: Peter Chen > Cc: peter.c...@freescale.com; st...@rowland.harvard.edu; ba...@kernel.org; > gre...@linuxfoundation.org; dan.j.willi...@intel.com;

Re: [PATCH RESEND 05/12] sh: DeviceTree support update

2016-05-10 Thread Yoshinori Sato
On Wed, 04 May 2016 15:41:18 +0900, Geert Uytterhoeven wrote: > > On Wed, May 4, 2016 at 5:10 AM, Rich Felker wrote: > >On Sun, May 01, 2016 at 02:08:29PM +0900, Yoshinori Sato wrote: > >> static void __init sh_of_setup(char **cmdline_p) > >> { > >> -

Add MediaTek USB3 DRD Driver

2016-05-10 Thread Chunfeng Yun
>From 5e3e992dc3c02eda12f5cf984a18a57f0207333d Mon Sep 17 00:00:00 2001 From: Chunfeng Yun Date: Tue, 10 May 2016 16:04:25 +0800 Subject: [PATCH 0/6] Add MediaTek USB3 DRD Driver These patches introduce the MediaTek USB3 dual-role controller driver. The driver can be

[PATCH 2/6] usb: xhci-mtk: make IPPC register optional

2016-05-10 Thread Chunfeng Yun
Make IPPC register optional to support host side of dual-role mode, due to it is moved into common glue layer for simplification. Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-mtk.c | 32 +++- 1 file changed, 27 insertions(+), 5

Re: [PATCH] firmware/drivers/psci: Fix unused functions when CONFIG_CPU_IDLE=n

2016-05-10 Thread Daniel Lezcano
On 05/10/2016 10:22 AM, Lorenzo Pieralisi wrote: On Tue, May 10, 2016 at 09:18:49AM +0200, Daniel Lezcano wrote: On the ARM64 architecture, when CPUIDLE is not set in the configuration, the compilation raises a couple of warnings: drivers/firmware/psci.c:70:12: warning: 'psci_pd_power_off'

[PATCH] mm/memblock.c: remove unnecessary always-true comparison

2016-05-10 Thread Richard Leitner
Comparing an u64 variable to >= 0 returns always true and can therefore be removed. This issue was detected using the -Wtype-limits gcc flag. This patch fixes following type-limits warning: mm/memblock.c: In function ‘__next_reserved_mem_region’: mm/memblock.c:843:11: warning: comparison of

[tip:sched/urgent] sched/rt, sched/dl: Don't push if task's scheduling class was changed

2016-05-10 Thread tip-bot for Xunlei Pang
Commit-ID: 13b5ab02ae118fc8dfdc2b8597688ec4a11d5b53 Gitweb: http://git.kernel.org/tip/13b5ab02ae118fc8dfdc2b8597688ec4a11d5b53 Author: Xunlei Pang AuthorDate: Mon, 9 May 2016 12:11:31 +0800 Committer: Ingo Molnar CommitDate: Tue, 10 May 2016

[tip:x86/boot] x86/KASLR: Add virtual address choosing function

2016-05-10 Thread tip-bot for Baoquan He
Commit-ID: 071a74930e60d1fa51207d71f00a35b4f9d4d179 Gitweb: http://git.kernel.org/tip/071a74930e60d1fa51207d71f00a35b4f9d4d179 Author: Baoquan He AuthorDate: Mon, 9 May 2016 13:22:08 -0700 Committer: Ingo Molnar CommitDate: Tue, 10 May 2016 10:12:06

[tip:x86/boot] x86/KASLR: Clarify purpose of each get_random_long()

2016-05-10 Thread tip-bot for Kees Cook
Commit-ID: d2d3462f9f08da364c8fbd41e8e32229d610d49d Gitweb: http://git.kernel.org/tip/d2d3462f9f08da364c8fbd41e8e32229d610d49d Author: Kees Cook AuthorDate: Mon, 9 May 2016 13:22:09 -0700 Committer: Ingo Molnar CommitDate: Tue, 10 May 2016

Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available

2016-05-10 Thread David Howells
Christoph Hellwig wrote: > All of these are easily available. But why special case them so that > userspace must not ask for them? This makes an otherwise totally > regular interface special now. Note that filesystems could always fill > it out anyway and set it in the

Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available

2016-05-10 Thread Christoph Hellwig
On Mon, May 09, 2016 at 01:57:32PM +0100, David Howells wrote: > > > AT_FORCE_ATTR_SYNC can be set in flags. This will require a network > > > filesystem to synchronise its attributes with the server. > > > > > > AT_NO_ATTR_SYNC can be set in flags. This will suppress synchronisation > > > with

[PATCH v2] usb: serial: ti_usb_3410_5052: add MOXA UPORT 11x0 support

2016-05-10 Thread Mathieu OTHACEHE
Add support for : - UPort 1110 : 1 port RS-232 USB to Serial Hub. - UPort 1130 : 1 port RS-422/485 USB to Serial Hub. - UPort 1130I : 1 port RS-422/485 USB to Serial Hub with Isolation. - UPort 1150 : 1 port RS-232/422/485 USB to Serial Hub. - UPort 1150I : 1 port RS-232/422/485 USB to Serial

Re: [PATCH 0.14] oom detection rework v6

2016-05-10 Thread Vlastimil Babka
On 05/10/2016 08:41 AM, Joonsoo Kim wrote: You applied band-aid for CONFIG_COMPACTION and fixed some reported problem but it is also fragile. Assume almost pageblock's skipbit are set. In this case, compaction easily returns COMPACT_COMPLETE and your logic will stop retry. Compaction isn't

[PATCH] lightnvm: expose mark_blk through core

2016-05-10 Thread Javier González
Expose mark_blk through the core LightNVM operations to hid the media manager, as we do for the rest of the block operations. This is necessary for targets to mark a growing bad block as bad before returning it to the media manager. Signed-off-by: Javier González ---

[tip:x86/urgent] x86/topology: Set x86_max_cores to 1 for CONFIG_SMP=n

2016-05-10 Thread tip-bot for Thomas Gleixner
Commit-ID: 8d415ee225a3d15d3e3029524350e8237a4de7b8 Gitweb: http://git.kernel.org/tip/8d415ee225a3d15d3e3029524350e8237a4de7b8 Author: Thomas Gleixner AuthorDate: Tue, 10 May 2016 09:20:33 +0200 Committer: Thomas Gleixner CommitDate: Tue, 10 May

[PATCH v2 5/9] perf tools: Add methods to test dso is 64-bit or 32-bit

2016-05-10 Thread He Kuang
32-bit programs can be run on 64-bit machines, so we should choose unwind methods according to 'thread->map' instead of the host architecture. This patch adds methods to test whether a dso is 64-bit or 32-bit by the class info in elf. Signed-off-by: He Kuang ---

[PATCH v2 6/9] perf tools: Promote proper messages for cross-platform unwind

2016-05-10 Thread He Kuang
Currently, perf script uses host unwind methods to parse perf.data callchain info regardless of the target architecture. So we get wrong result and no promotion when unwinding callchains of x86(32-bit) on x86(64-bit) machine. This patch shows proper error messages when we do remote unwind

Re: [PATCH v3 3/4] mfd: arizona: Switch to using clock driver for 32k clock

2016-05-10 Thread Lee Jones
On Mon, 09 May 2016, Stephen Boyd wrote: > On 05/09, Lee Jones wrote: > > On Fri, 06 May 2016, Stephen Boyd wrote: > > > > > On 01/08, Charles Keepax wrote: > > > > Now we have a clock driver that can control the 32k clock use this > > > > rather than directly controlling the 32k clock from the

[PATCH v2 7/9] perf callchain: Add support for cross-platform unwind

2016-05-10 Thread He Kuang
Use thread specific unwind ops to unwind cross-platform callchains. Before this patch, unwind methods is suitable for local unwind, this patch changes the fixed methods to thread/map related. Each time a map is inserted, we find the target arch and see if this platform can be remote unwind. In

[PATCH v2 9/9] perf callchain: Support aarch64 cross-platform

2016-05-10 Thread He Kuang
Support aarch64 cross platform callchain unwind. Signed-off-by: He Kuang --- .../perf/arch/arm64/include/libunwind/libunwind-arch.h | 18 ++ tools/perf/arch/arm64/util/unwind-libunwind.c | 5 - tools/perf/config/Makefile

[PATCH v2 8/9] perf callchain: Support x86 target platform

2016-05-10 Thread He Kuang
Support x86(32-bit) cross platform callchain unwind. Signed-off-by: He Kuang --- .../arch/x86/include/libunwind/libunwind-arch.h| 18 ++ tools/perf/arch/x86/util/unwind-libunwind.c| 42 ++ tools/perf/util/Build

[PATCH v2 4/9] perf build: Add build-test for debug-frame on arm/arm64

2016-05-10 Thread He Kuang
Debug-frame for remote platforms is not related to the host platform, so we should test each platform separately. Signed-off-by: He Kuang --- tools/build/Makefile.feature | 4 +++- tools/build/feature/Makefile | 7

[PATCH v2 1/9] perf tools: Omit DWARF judgement when recording dwarf callchain

2016-05-10 Thread He Kuang
There is no need to check for DWARF unwinding support when using the 'dwarf' callchain record method, as this will only ask the kernel to collect stack dumps for later DWARF CFI processing, which can be done in another machine, where the support for DWARF unwinding need to be present.

[PATCH 08/18] scripts/gdb: Add io resource readers

2016-05-10 Thread Jan Kiszka
From: Kieran Bingham Provide iomem_resource and ioports_resource printers and command hooks It can be quite interesting to halt the kernel as it's booting and check to see this list as it is being populated. It should be useful in the event that a kernel is not

[PATCH 16/18] scripts/gdb: Fix issue with dmesg.py and python 3.X

2016-05-10 Thread Jan Kiszka
From: Dom Cote When built against Python 3, GDB differs in the return type for its read_memory function, causing the lx-dmesg command to fail. Now that we have an improved read_16() we can use the new read_memoryview() abstraction to make lx-dmesg return valid data on

[PATCH 18/18] MAINTAINERS: Add co-maintainer for scripts/gdb

2016-05-10 Thread Jan Kiszka
From: Kieran Bingham Add myself as a co-maintainer for scripts/gdb supporting Jan Kizka Signed-off-by: Kieran Bingham Signed-off-by: Jan Kiszka --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS

Re: [PATCHv5 0/8] 2c: Relax mandatory I2C ID table passing

2016-05-10 Thread Kieran Bingham
Hi Javier, On 10/05/16 06:31, Javier Martinez Canillas wrote: > Hello Kieran, > > On 05/04/2016 11:14 AM, Kieran Bingham wrote: >> This patch set finally pops up again, after a long time stuck somewhere in >> the >> midst of my stack. >> >> As it stood last year, the requirements were to rename

[PATCH 13/18] scripts/gdb: Add documentation example for radix tree

2016-05-10 Thread Jan Kiszka
From: Kieran Bingham Provide a worked example for utilising the lx_radix_tree_lookup function Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Signed-off-by: Kieran Bingham Signed-off-by: Jan Kiszka

Re: [PATCH v4 3/7] mfd: RK808: Add RK818 support

2016-05-10 Thread Lee Jones
On Tue, 10 May 2016, Wadim Egorov wrote: > Ping. Don't ping. It only serves to annoy! > Do you have any more comments? Just re-submit the set with the Acks you've collected. > On 26.04.2016 16:54, Wadim Egorov wrote: > > The RK818 chip is a power management IC for multimedia and handheld > >

[PATCH] ARM: at91/defconfig: sama5: add CONFIG_FHANDLE

2016-05-10 Thread Nicolas Ferre
CONFIG_FHANDLE is listed as a mandatory kernel option for systemd. So explicitly enable it to allow easy use of systemd userspace. Reported-by: Marek Vasut Signed-off-by: Nicolas Ferre --- Hi Marek, It seems that on my side, CONFIG_FHANDLE is not

Re: [PATCH] ARM: dts: exynos: Only Odroid XU3-family boards use DTSI with CPU thermal nodes

2016-05-10 Thread Krzysztof Kozlowski
On 05/10/2016 08:43 AM, Anand Moon wrote: > Hi Krzysztof , > > On 9 May 2016 at 11:49, Krzysztof Kozlowski wrote: >> Include the CPU thermal nodes directly in Odroid XU3-family common DTS >> because it is the only user of it. Keeping it in separate DTSI node does >> not

Re: [PATCH 1/2] cpufreq: rcar: Add support for R8A7795 SoC

2016-05-10 Thread Geert Uytterhoeven
Hi Viresh, On Tue, May 10, 2016 at 7:07 AM, Viresh Kumar wrote: > On 10-05-16, 11:57, Khiem Nguyen wrote: >> After the commit "a399dc9fc50 cpufreq: shmobile: Use generic platdev >> driver", will use cpufreq-dt-platdev driver to enable cpufreq-dt support. >> Hence, follow

Re: [PATCH] firmware/drivers/psci: Fix unused functions when CONFIG_CPU_IDLE=n

2016-05-10 Thread Lorenzo Pieralisi
On Tue, May 10, 2016 at 09:18:49AM +0200, Daniel Lezcano wrote: > On the ARM64 architecture, when CPUIDLE is not set in the configuration, > the compilation raises a couple of warnings: > > drivers/firmware/psci.c:70:12: warning: 'psci_pd_power_off' defined but not > used [-Wunused-function] >

[tip:x86/boot] x86/boot: Comment what finalize_identity_maps() does

2016-05-10 Thread tip-bot for Borislav Petkov
Commit-ID: 36a39ac967a548154a0fe44d71cb0063fa05010f Gitweb: http://git.kernel.org/tip/36a39ac967a548154a0fe44d71cb0063fa05010f Author: Borislav Petkov AuthorDate: Sat, 7 May 2016 11:59:40 +0200 Committer: Ingo Molnar CommitDate: Tue, 10 May 2016 10:12:02

[tip:x86/cpu] x86/cpu: Correct comments and messages in P4 erratum 037 handling code

2016-05-10 Thread tip-bot for Borislav Petkov
Commit-ID: f0133acc7d4835cfbb86393b7d2a4fba7519585b Gitweb: http://git.kernel.org/tip/f0133acc7d4835cfbb86393b7d2a4fba7519585b Author: Borislav Petkov AuthorDate: Sun, 8 May 2016 20:58:40 +0200 Committer: Ingo Molnar CommitDate: Tue, 10 May 2016 10:05:03

Re: [PATCH v3 05/12] sched/fair: Optimize __update_sched_avg()

2016-05-10 Thread Morten Rasmussen
On Wed, May 04, 2016 at 04:02:46AM +0800, Yuyang Du wrote: > __update_sched_avg() has these steps: > > 1. add the remainder of the last incomplete period > 2. decay old sum > 3. accumulate new sum in full periods since last_update_time > 4. add the current incomplete period > 5. update

Re: [PATCH] mmc: block: improve logging of handling emmc timeouts

2016-05-10 Thread Ulf Hansson
On 4 May 2016 at 11:13, Amit Pundir wrote: > From: Ken Sumrall > > Add some logging to make it clear just how the emmc timeout > was handled. > > Cc: Ulf Hansson > Cc: Adrian Hunter > Cc: Shawn Lin

Re: [PATCH 3/4] drm: Add helper for simple display pipeline

2016-05-10 Thread Daniel Vetter
On Mon, May 09, 2016 at 08:37:39PM +0200, Noralf Trønnes wrote: > > Den 09.05.2016 16:46, skrev Daniel Vetter: > >On Thu, May 05, 2016 at 03:24:33PM +0200, Noralf Trønnes wrote: > >>Provides helper functions for drivers that have a simple display > >>pipeline. Plane, crtc and encoder are

Re: [PATCH 4.5 00/88] 4.5.4-stable review

2016-05-10 Thread Greg Kroah-Hartman
On Mon, May 09, 2016 at 01:41:34PM -0600, Shuah Khan wrote: > On 05/09/2016 01:20 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.5.4 release. > > There are 88 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 4.5 00/88] 4.5.4-stable review

2016-05-10 Thread Greg Kroah-Hartman
On Mon, May 09, 2016 at 06:08:39AM -0700, Guenter Roeck wrote: > On 05/09/2016 12:20 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.5.4 release. > > There are 88 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [GIT PULL] move ARM LCD display driver to auxdisplay

2016-05-10 Thread Greg KH
On Mon, May 09, 2016 at 04:27:00PM +0200, Linus Walleij wrote: > On Mon, May 9, 2016 at 4:17 PM, Robin van der Gracht > wrote: > > On Mon, 9 May 2016 15:19:26 +0200 > > Linus Walleij wrote: > > > >> On Mon, May 9, 2016 at 9:06 AM, Robin van der

Re: [PATCH] mmc: tegra: Disable UHS-I modes for tegra30

2016-05-10 Thread Lucas Stach
Hi Jon, Am Montag, den 09.05.2016, 16:15 +0100 schrieb Jon Hunter: > Support for SD cards is not working on the Tegra30 Beaver board and > on > boot the following error message is seen if an SD card is present: > >  mmc0: error -110 whilst initialising SD card > Can you please tell me what kind

Re: [PATCH 1/4] usb: dwc3: of-simple: add compatible for rockchip

2016-05-10 Thread Felipe Balbi
Hi, Doug Anderson writes: > William, > > On Mon, May 9, 2016 at 4:46 AM, William Wu wrote: >> Signed-off-by: William Wu >> --- >> drivers/usb/dwc3/dwc3-of-simple.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff

[PATCH] firmware/drivers/psci: Fix unused functions when CONFIG_CPU_IDLE=n

2016-05-10 Thread Daniel Lezcano
On the ARM64 architecture, when CPUIDLE is not set in the configuration, the compilation raises a couple of warnings: drivers/firmware/psci.c:70:12: warning: 'psci_pd_power_off' defined but not used [-Wunused-function] drivers/firmware/psci.c:273:12: warning: 'psci_set_suspend_mode_osi' defined

[GIT PULL] at91: fixes for 4.6 #1

2016-05-10 Thread Nicolas Ferre
Arnd, Olof, Kevin, Here is a late fix for AT91. Sorry to have figure it out so late in the development cycle but we had to confirm it was an error with the documentation of two products. So, as the compatibility string is in since 4.6-rc1 and that the previous one works okay, it's a good

[PATCH 06/18] scripts/gdb: Support !CONFIG_MODULES gracefully

2016-05-10 Thread Jan Kiszka
From: Kieran Bingham If CONFIG_MODULES is not enabled, lx-lsmod tries to find a non-existent symbol and generates an unfriendly traceback: (gdb) lx-lsmod AddressModule Size Used by Traceback (most recent call last): File

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