[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 changed, 65 insertions(+), 9 d

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 + drivers/usb/Makefile |1 + d

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 emulate stat if we already

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 configured as Dual-Role Devi

[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 deletions(-) diff --git a/dr

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' defi

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) > >> { > >> - unflatten_device_tree(); > >> - > >> -

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

2016-05-10 Thread William Wu
Dear Felipe, On 05/10/2016 04:11 PM, Felipe Balbi wrote: Hi William, William Wu writes: Dear Felipe & Doug, Thanks for your proposal. It's a good idea to sort the list. I'll fix it next patch version. cool, thanks. ps: top-posting is frowned upon here. Please avoid it ;

[PATCH 3/6] dt-bindings: mtu3: add devicetree bindings

2016-05-10 Thread Chunfeng Yun
add a DT binding doc for MediaTek USB3 DRD driver Signed-off-by: Chunfeng Yun --- Documentation/devicetree/bindings/usb/mtu3.txt | 86 1 file changed, 86 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/mtu3.txt diff --git a/Documentation/device

Re: [PATCH RESEND 06/12] clk: sh: SH7750/51 PLL and divider clock driver

2016-05-10 Thread Yoshinori Sato
Sorry too late reply. On Mon, 02 May 2016 05:48:28 +0900, Geert Uytterhoeven wrote: > > Hi Sato-san, > > On Sun, May 1, 2016 at 7:08 AM, Yoshinori Sato > wrote: > > Signed-off-by: Yoshinori Sato > > --- > > .../bindings/clock/renesas,sh-div-clock.txt| 24 ++ > > .../bindings/clock/re

Re: [GIT PULL (resend) ] overlayfs fixes for 4.6-rc7

2016-05-10 Thread Miklos Szeredi
Hi Al, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-next This fixes two issues with overlayfs. Thanks, Miklos --- Miklos Szeredi (3): vfs: rename: check backing inode being equal vfs: export lookup_hash() to modules ovl: ignore

[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 unsig

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

2016-05-10 Thread Arnd Bergmann
On Tuesday 10 May 2016 15:42:07 Zhangjian wrote: > On 2016/5/6 20:37, Yury Norov wrote: > > On Fri, May 06, 2016 at 08:16:48PM +0800, Zhangjian (Bamvor) wrote: > > > > AFAIR, here we don't shift offset, as it's 64-bit both in user- > > and kernel-space, > In your ilp32-2.22 branch, you wrapper mmap

Re: [PATCH v2 3/6] mmc: core: implement enhanced strobe support

2016-05-10 Thread Shawn Lin
On 2016/5/9 19:56, Adrian Hunter wrote: On 29/04/16 05:47, Shawn Lin wrote: Controllers use data strobe line to latch data from devices under hs400 mode, but not for cmd line. So since emmc 5.1, JEDEC introduces enhanced strobe mode for latching cmd response from emmc devices to host controllers

[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 10:02:46 +0200 sched/rt, sched/dl: Don't pus

[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 +0200 x86/cpu: Correct comments

[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 +0200 x86/boot: Comment what fi

[tip:x86/boot] x86/KASLR: Initialize mapping_info every time

2016-05-10 Thread tip-bot for Kees Cook
Commit-ID: 434a6c9f90f7ab5ade619455df01ef5ebea533ee Gitweb: http://git.kernel.org/tip/434a6c9f90f7ab5ade619455df01ef5ebea533ee Author: Kees Cook AuthorDate: Mon, 9 May 2016 13:22:04 -0700 Committer: Ingo Molnar CommitDate: Tue, 10 May 2016 10:12:02 +0200 x86/KASLR: Initialize mapping_i

Re: [PATCH 2/5] efibc: Fix excessive stack footprint warning

2016-05-10 Thread Compostella, Jeremy
Why not. See patch as attachment. Thanks, Jérémy >From 8a9b07e2d7242fa8a36157f1025202a96c3c7c9a Mon Sep 17 00:00:00 2001 From: Jeremy Compostella Date: Tue, 10 May 2016 10:34:21 +0200 Subject: [PATCH] efibc: report the EFI variable name in the error messages Report the name of the EFI variabl

[tip:x86/boot] x86/KASLR: Add 'struct slot_area' to manage random_addr slots

2016-05-10 Thread tip-bot for Baoquan He
Commit-ID: c401cf1524153f9c2ede7ab8ece403513925770a Gitweb: http://git.kernel.org/tip/c401cf1524153f9c2ede7ab8ece403513925770a Author: Baoquan He AuthorDate: Mon, 9 May 2016 13:22:06 -0700 Committer: Ingo Molnar CommitDate: Tue, 10 May 2016 10:12:04 +0200 x86/KASLR: Add 'struct slot_ar

[tip:x86/boot] x86/boot: Add missing file header comments

2016-05-10 Thread tip-bot for Kees Cook
Commit-ID: cb18ef0da259db611fbf52806592fde5f469ae67 Gitweb: http://git.kernel.org/tip/cb18ef0da259db611fbf52806592fde5f469ae67 Author: Kees Cook AuthorDate: Mon, 9 May 2016 13:22:05 -0700 Committer: Ingo Molnar CommitDate: Tue, 10 May 2016 10:12:03 +0200 x86/boot: Add missing file head

Re: mmotm 2016-05-05-17-19 uploaded

2016-05-10 Thread Michal Hocko
On Thu 05-05-16 17:19:52, Andrew Morton wrote: [...] > A git tree which contains the memory management portion of this tree is > maintained at git://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git > by Michal Hocko. It contains the patches which are between the > "#NEXT_PATCHES_START mm" and

[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 10:12:04 +0200 x86/KASLR: Return earliest over

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.

[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 +0200 x86/KASLR: Add virtual address

[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 10:12:08 +0200 x86/KASLR: Clarify purpose of e

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 return mask. Because it

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 a

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

2016-05-10 Thread Ralf Baechle
On Tue, May 10, 2016 at 09:43:15AM +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. Fix this by reversing the conditions, and clear up > > > the

Re: [PATCH 1/2] Revert "mtd: atmel_nand: Support variable RB_EDGE interrupts"

2016-05-10 Thread Boris Brezillon
Hi Wenyou, Can you add NAND maintainers/reviewers in Cc next time. And since you revert a commit, you should also add the commit author in the loop. On Mon, 9 May 2016 14:51:18 +0800 Wenyou Yang wrote: > This reverts commit 5ddc7bd43ccc ("mtd: atmel_nand: Support variable > RB_EDGE interrupts")

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

2016-05-10 Thread Michal Hocko
On Tue 10-05-16 16:07:14, Joonsoo Kim wrote: > 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. >

RE: [PATCH 1/2] Revert "mtd: atmel_nand: Support variable RB_EDGE interrupts"

2016-05-10 Thread Yang, Wenyou
> -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@free-electrons.com] > Sent: 2016年5月10日 16:56 > To: Yang, Wenyou ; Romain Izard > > Cc: Brian Norris ; David Woodhouse > ; Rob Herring ; Pawel Moll > ; Mark Brown ; Ian Campbell > ; Kumar Gala ; > devicet...@vger.kernel.

[PATCH] iommu/amd: Add proper error check in two functions

2016-05-10 Thread Wan Zongshun
From: Wan Zongshun This patch is to do the following: 1. Add error check for caller of iommu_device_create. 2. Add error check for caller of iommu_device_link and move 'iommu = amd_iommu_rlookup_table[dev_data->devid]' out of iommuv2 capability condition that make iommu_device_link also use the

Re: [PATCH] fbdev: fbmem: implement error handling in fbmem_init()

2016-05-10 Thread Tomi Valkeinen
Hi, On 03/05/16 05:22, Alexey Khoroshilov wrote: > fbmem_init() ignores all errors, while fbmem_exit() does not > check if deallocating resources are valid. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov > --- > drivers/video/fbdev/core

Re: [PATCH 24/41] Documentation: fb: fix spelling mistakes

2016-05-10 Thread Tomi Valkeinen
On 25/04/16 03:24, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom > --- > Documentation/fb/udlfb.txt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/Documentation/fb/udlfb.txt b/Documentation/fb/udlfb.txt > index 57d2f29..c985cb6 100644 > --- a/Documentation

[PATCH] x86-kasan-instrument-user-memory-access-api-fix

2016-05-10 Thread Andrey Ryabinin
Move kasan check under the condition, otherwise we may fail and not do a user copy. Reported-by: Ingo Molnar Signed-off-by: Andrey Ryabinin --- lib/strncpy_from_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/strncpy_from_user.c b/lib/strncpy_from_user.c index e34

[PATCH BUGFIX] block: add missing group association in bio_split

2016-05-10 Thread Paolo Valente
When a bio is split, the newly created bio must be associated with the same blkcg as the original bio (if BLK_CGROUP is enabled). If this operation is not performed, then the new bio is not associated with any group, and the group of the current task is returned when the group of the bio is request

[PATCH v3 1/5] Documentation: mmc: add mmc-hs400-enhanced-strobe

2016-05-10 Thread Shawn Lin
mmc-hs400-enhanced-strobe is used to claim that the host can support hs400 mode with enhanced strobe introduced by emmc 5.1 spec. Signed-off-by: Shawn Lin Acked-by: Rob Herring --- Changes in v3: None Changes in v2: None Documentation/devicetree/bindings/mmc/mmc.txt | 1 + 1 file changed, 1 i

[PATCH v3 0/5] Add enhanced strobe support for emmc version 5.1 or later

2016-05-10 Thread Shawn Lin
Hello Ulf and Adrian, This patch is going to support enhanced strobe function for emmc version 5.1+ introduced by JEDEC recently. Enchanced strobe is a optional function, so we add a new cap* for drivers to decide whether to use it. When introduing hs400 mode, JEDEC asks controllers to use data

[PATCH v3 3/5] mmc: core: implement enhanced strobe support

2016-05-10 Thread Shawn Lin
Controllers use data strobe line to latch data from devices under hs400 mode, but not for cmd line. So since emmc 5.1, JEDEC introduces enhanced strobe mode for latching cmd response from emmc devices to host controllers. This new feature is optional, so it depends both on device's cap and host's c

[PATCH v3 4/5] mmc: debugfs: add HS400 enhanced strobe description

2016-05-10 Thread Shawn Lin
We introduce HS400 with enhanced strobe function, so we need to add it for debug show. Signed-off-by: Shawn Lin --- Changes in v3: None Changes in v2: None drivers/mmc/core/debugfs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc

[PATCH v3 5/5] mmc: sdhci-of-arasan: implement enhanced strobe callback

2016-05-10 Thread Shawn Lin
Currently sdhci-arasan 5.1 can support enhanced strobe function, and we now limit it just for "arasan,sdhci-5.1". Add mmc-hs400-enhanced-strobe in DT to enable the function if we'r sure our controller can support it. Signed-off-by: Shawn Lin --- Changes in v3: None Changes in v2: None drivers/

Re: [PATCH v3 03/12] sched/fair: Change the variable to hold the number of periods to 32bit

2016-05-10 Thread Morten Rasmussen
On Fri, May 06, 2016 at 02:19:32AM +0800, Yuyang Du wrote: > Hi Morten, > > On Thu, May 05, 2016 at 12:13:10PM +0100, Morten Rasmussen wrote: > > On Wed, May 04, 2016 at 04:02:44AM +0800, Yuyang Du wrote: > > > In sched average update, a period is about 1ms, so a 32-bit unsigned > > > integer can

[PATCH v3 2/5] mmc: core: add mmc-hs400-enhanced-strobe support

2016-05-10 Thread Shawn Lin
This patch introduce mmc-hs400-enhanced-strobe for platforms which want to enable enhanced strobe function from DT if the mmc host controller claims to support enhanced strobe. Signed-off-by: Shawn Lin --- Changes in v3: - remove helper function and shorten cap2 to MMC_CAP2_HS400_ES - rename ca

Re: [tip:core/urgent] locking/lockdep: Print chain_key collision information

2016-05-10 Thread Peter Zijlstra
Wanpeng Li hit a collision report; which contained: [67170.324532] == [67170.327923] [chain_key collision ] [67170.331317] 4.6.0-rc3+ #5 Tainted: GW OE [67170.336184] -- [67170.339576] swapper/0/0: Hash chain already cached but the contents don'

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

2016-05-10 Thread Roger Quadros
On 10/05/16 11:12, Felipe Balbi wrote: > > Hi, > > Roger Quadros writes: >> 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: >

Re: [PATH v2] NVMe: init nvme queue before enabling irq

2016-05-10 Thread Johannes Thumshirn
On Wed, Jan 20, 2016 at 10:17:10AM -0700, Jens Axboe wrote: > On 01/20/2016 10:12 AM, Greg KH wrote: > > On Wed, Jan 20, 2016 at 05:48:35AM -0500, Wenbo Wang wrote: > > > From: Wenbo Wang > > > > > > During reset process, the nvme_dev->bar (ioremapped) may change, > > > so nvmeq->q_db shall be al

Re: [PATCH net-next v3] block/drbd: align properly u64 in nl messages

2016-05-10 Thread Nicolas Dichtel
Le 09/05/2016 15:15, Lars Ellenberg a écrit : > On Mon, May 09, 2016 at 11:40:20AM +0200, Nicolas Dichtel wrote: [snip] >> Maybe prefixing genl_magic_func.h and genl_magic_struct.h by 'drbd_' >> could be interesting so that new module won't use it. What is your >> opinion? > > This was supposed to

Re: [PART1 V5 07/13] KVM: x86: Detect and Initialize AVIC support

2016-05-10 Thread Borislav Petkov
On Wed, May 04, 2016 at 02:09:46PM -0500, Suravee Suthikulpanit wrote: > This patch introduces AVIC-related data structure, and AVIC > initialization code. > > There are three main data structures for AVIC: > * Virtual APIC (vAPIC) backing page (per-VCPU) > * Physical APIC ID table (per-VM

[PATCH][RFC] cpufreq: intel_pstate: Avoid time-costly synchronization if schedutil is not enabled

2016-05-10 Thread yu . c . chen
From: Chen Yu Commit bb6ab52f2bef ("intel_pstate: Do not set utilization update hook too early") moved the assignment of utilization update hook from intel_pstate_init_cpu to intel_pstate_set_policy(), however after moving, we need to leverage synchronize_sched() to deal with synchronization, whi

Re: [PART1 V5 08/13] svm: Add interrupt injection via AVIC

2016-05-10 Thread Borislav Petkov
On Wed, May 04, 2016 at 02:09:47PM -0500, Suravee Suthikulpanit wrote: > This patch introduces a new mechanism to inject interrupt using AVIC. > Since VINTR is not supported when enable AVIC, we need to inject "... is not supported when AVIC is enabled ..." VINTR? Please write those thin

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

2016-05-10 Thread Roger Quadros
On 10/05/16 11:03, Jun Li wrote: > 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...@

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

2016-05-10 Thread Amit Pundir
From: Ken Sumrall Add some logging to make it clear just how the emmc timeout was handled. Signed-off-by: Ken Sumrall [AmitP: cherry-picked this Android patch from aosp common kernel android-4.4] Signed-off-by: Amit Pundir --- v1...v2: Removed CC list from the commit log and skipped

Re: [PATCH] NBD: replace kill_bdev() with __invalidate_device()

2016-05-10 Thread Paolo Bonzini
On 23/04/2016 04:17, Ratna Manoj wrote: > Ext4 can be fixed with the this patch: > http://www.spinics.net/lists/linux-ext4/msg51112.html > It did not make to the kernel. It checks the state of the buffer head > before committing. The patch did not make it, but Ted Ts'o proposed an alternative (

[PATCH v2] xen/balloon: Fix declared-but-not-defined warning

2016-05-10 Thread Ross Lagerwall
Fix a declared-but-not-defined warning when building with XEN_BALLOON_MEMORY_HOTPLUG=n. This fixes a regression introduced by commit dfd74a1edfab ("xen/balloon: Fix crash when ballooning on x86 32 bit PAE"). Signed-off-by: Ross Lagerwall --- v2: Moved function instead of adding a prototype. dri

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

2016-05-10 Thread Anand Moon
Hi Krzysztof, On 10 May 2016 at 13:45, Krzysztof Kozlowski wrote: > 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 i

Re: [PATCH v4 01/11] of: Add bindings of hw throttle for Tegra soctherm

2016-05-10 Thread Wei Ni
On 2016年05月10日 04:15, Rob Herring wrote: > On Mon, May 09, 2016 at 02:53:54PM +0800, Wei Ni wrote: >> Add HW throttle configuration sub-node for soctherm, which >> is used to describe the throttle event, and worked as a >> cooling device. The "hot" type trip in thermal zone can >> be bound to thi

Re: [PATCH v2] xen/balloon: Fix declared-but-not-defined warning

2016-05-10 Thread Juergen Gross
On 10/05/16 11:27, Ross Lagerwall wrote: > Fix a declared-but-not-defined warning when building with > XEN_BALLOON_MEMORY_HOTPLUG=n. This fixes a regression introduced by > commit dfd74a1edfab > ("xen/balloon: Fix crash when ballooning on x86 32 bit PAE"). > > Signed-off-by: Ross Lagerwall Acked

[PATCH 5/5] clk: hisilicon: hi3519: add driver remove path and fix some issues

2016-05-10 Thread Jiancheng Xue
1. Add driver remove path. 2. Fix some issues. -Fix the ordering issue about clock provider being published. -Add error checking upon registering clocks. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/clk-hi3519.c | 116 - 1 file changed, 100 ins

[PATCH 2/5] clk: hisilicon: add hisi_clk_alloc function.

2016-05-10 Thread Jiancheng Xue
Before, there was an ordering issue that the clock provider had been published in hisi_clk_init before it could provide valid clocks to consumers. hisi_clk_alloc is just used to allocate memory space for struct hisi_clock_data. It makes it possible to publish the provider after the clocks are ready

[PATCH 0/5] clk: hisilicon: Fix some problems of clk-hi3519

2016-05-10 Thread Jiancheng Xue
This patch is base on branch clk-hi3519 in clk tree. It mainly fixes the following issues: 1. Add driver remove path. 2. Fix the ordering issue about clock provider being published. 3. Add error checking upon registering clocks. Jiancheng Xue (5): reset: hisilicon: change the definition of hisi

[PATCH 1/5] reset: hisilicon: change the definition of hisi_reset_init

2016-05-10 Thread Jiancheng Xue
Change the input arguments type to struct platform_device pointer. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/reset.c | 19 +-- drivers/clk/hisilicon/reset.h | 5 +++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/clk/hisilicon/reset.c b/d

[PATCH 3/5] clk: hisilicon: add error processing for hisi_clk_register_* functions

2016-05-10 Thread Jiancheng Xue
Add error processing for hisi_clk_register_* functions. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/clk.c | 60 + drivers/clk/hisilicon/clk.h | 10 2 files changed, 55 insertions(+), 15 deletions(-) diff --git a/drivers/clk/hisilic

Re: [PATCH v2 2/8] asm-generic/io.h: add io{read,write}64 accessors

2016-05-10 Thread Herbert Xu
On Thu, May 05, 2016 at 06:35:56PM +0300, Horia Geantă wrote: > This will allow device drivers to consistently use io{read,write}XX > also for 64-bit accesses. > > Signed-off-by: Horia Geantă I don't see patch 1/8. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ P

Re: [GIT PULL] at91: fixes for 4.6 #1

2016-05-10 Thread Arnd Bergmann
On Tuesday 10 May 2016 09:27:29 Nicolas Ferre wrote: > 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 previ

Re: [PATCH v2 2/8] asm-generic/io.h: add io{read,write}64 accessors

2016-05-10 Thread Herbert Xu
On Tue, May 10, 2016 at 05:33:21PM +0800, Herbert Xu wrote: > On Thu, May 05, 2016 at 06:35:56PM +0300, Horia Geantă wrote: > > This will allow device drivers to consistently use io{read,write}XX > > also for 64-bit accesses. > > > > Signed-off-by: Horia Geantă > > I don't see patch 1/8. Never

[PATCH 4/5] clk: hisilicon: add hisi_clk_unregister_* functions

2016-05-10 Thread Jiancheng Xue
Add hisi_clk_unregister_* functions. Signed-off-by: Jiancheng Xue --- drivers/clk/hisilicon/clk.h | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/clk/hisilicon/clk.h b/drivers/clk/hisilicon/clk.h index 2575329..4e1d1af 100644 --- a/drivers/clk/hisilicon/clk.h +

Re: [Drbd-dev] [PATCH net-next v3] block/drbd: align properly u64 in nl messages

2016-05-10 Thread Lars Ellenberg
On Tue, May 10, 2016 at 11:09:53AM +0200, Nicolas Dichtel wrote: > Le 09/05/2016 15:15, Lars Ellenberg a écrit : > > On Mon, May 09, 2016 at 11:40:20AM +0200, Nicolas Dichtel wrote: > [snip] > >> Maybe prefixing genl_magic_func.h and genl_magic_struct.h by 'drbd_' > >> could be interesting so that

Re: [PATCH 0.14] oom detection rework v6

2016-05-10 Thread Michal Hocko
On Tue 10-05-16 15:41:04, Joonsoo Kim wrote: > 2016-05-05 3:16 GMT+09:00 Michal Hocko : > > On Wed 04-05-16 23:32:31, Joonsoo Kim wrote: > >> 2016-05-04 17:47 GMT+09:00 Michal Hocko : [...] > >> > progress. What is the usual reason to disable compaction in the first > >> > place? > >> > >> I don't

Re: [PATCH 0.14] oom detection rework v6

2016-05-10 Thread Michal Hocko
On Tue 10-05-16 17:00:08, Joonsoo Kim wrote: > 2016-05-10 16:09 GMT+09:00 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

Re: [PATCH v3 03/12] sched/fair: Change the variable to hold the number of periods to 32bit

2016-05-10 Thread Yuyang Du
On Tue, May 10, 2016 at 10:10:21AM +0100, Morten Rasmussen wrote: > > > > 2. If m < 32*64, the chance to be here is very very low, but if so, > > > > > > Should that be: n < 32*64 ? Sorry, I overlooked this comment. Yes, it should be n < 32*64. > > > > > > Talking about 32*64, I don't get why

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, Arnd On 2016/5/10 16:36, Arnd Bergmann wrote: On Tuesday 10 May 2016 15:42:07 Zhangjian wrote: On 2016/5/6 20:37, Yury Norov wrote: On Fri, May 06, 2016 at 08:16:48PM +0800, Zhangjian (Bamvor) wrote: AFAIR, here we don't shift offset, as it's 64-bit both in user- and kernel-space, In you

[RFC PATCH 17/21] reset: uniphier: add reset driver for UniPhier ProXstream2/PH1-LD6b SoC

2016-05-10 Thread Masahiro Yamada
This series is just for review. Please do not apply this patch. Signed-off-by: Masahiro Yamada --- drivers/reset/uniphier/Kconfig | 4 +++ drivers/reset/uniphier/Makefile | 1 + drivers/reset/uniphier/reset-uniphier-pxs2.c | 46 3 files

[RFC PATCH 06/21] clk: uniphier: add clock driver for UniPhier PH1-Pro5 SoC

2016-05-10 Thread Masahiro Yamada
This series is just for review. Please do not apply this patch. Signed-off-by: Masahiro Yamada --- drivers/clk/uniphier/Kconfig | 4 ++ drivers/clk/uniphier/Makefile| 1 + drivers/clk/uniphier/clk-uniphier-pro5.c | 102 +++ 3 files changed

[RFC PATCH 04/21] clk: uniphier: add clock driver for UniPhier PH1-Pro4 SoC

2016-05-10 Thread Masahiro Yamada
This series is just for review. Please do not apply this patch. Signed-off-by: Masahiro Yamada --- drivers/clk/uniphier/Kconfig | 4 ++ drivers/clk/uniphier/Makefile| 1 + drivers/clk/uniphier/clk-uniphier-pro4.c | 112 +++ 3 files changed

[PATCH v7 5/5] usb: dwc3: core: cleanup IRQ resources

2016-05-10 Thread Roger Quadros
Implementations might use different IRQs for host, gadget and OTG so use named interrupt resources to allow Device tree to specify the 3 interrupts. Following are the interrupt names Peripheral Interrupt - peripheral HOST Interrupt - host OTG Interrupt - otg We still maintain backward compatibil

[PATCH v7 2/5] usb: dwc3: omap: Mark the interrupt handler as shared

2016-05-10 Thread Roger Quadros
On OMAPs, OTG events come on the same IRQ so we need to share this IRQ with the OTG device driver. Signed-off-by: Roger Quadros --- drivers/usb/dwc3/dwc3-omap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index 6

[RFC PATCH 18/21] reset: uniphier: add reset driver for UniPhier PH1-LD11 SoC

2016-05-10 Thread Masahiro Yamada
This series is just for review. Please do not apply this patch. Signed-off-by: Masahiro Yamada --- drivers/reset/uniphier/Kconfig | 4 +++ drivers/reset/uniphier/Makefile | 1 + drivers/reset/uniphier/reset-uniphier-ld11.c | 46 3 files

[RFC PATCH 12/21] reset: uniphier: add core support for UniPhier reset driver

2016-05-10 Thread Masahiro Yamada
The core support for UniPhier reset drivers. On UniPhier SoCs, registers for clock, reset, and other system controlling are mixed in one hardware block. It is difficult to have one independent reset node. So, I chose to use MFD from which clocks and resets (and power in the future) are populated.

[RFC PATCH 21/21] reset: uniphier: add reset driver for Peripheral block on UniPhier SoCs

2016-05-10 Thread Masahiro Yamada
This series is just for review. Please do not apply this patch. Signed-off-by: Masahiro Yamada --- drivers/reset/uniphier/Kconfig | 4 ++ drivers/reset/uniphier/Makefile | 1 + drivers/reset/uniphier/reset-uniphier-peri.c | 101 +++ 3 files

[RFC PATCH 07/21] clk: uniphier: add clock driver for UniPhier ProXstream2/PH1-LD6b SoC

2016-05-10 Thread Masahiro Yamada
This series is just for review. Please do not apply this patch. Signed-off-by: Masahiro Yamada --- drivers/clk/uniphier/Kconfig | 4 ++ drivers/clk/uniphier/Makefile| 1 + drivers/clk/uniphier/clk-uniphier-pxs2.c | 83 3 files changed,

[RFC PATCH 11/21] clk: uniphier: add clock driver for Peripheral block on UniPhier SoCs

2016-05-10 Thread Masahiro Yamada
This series is just for review. Please do not apply this patch. Signed-off-by: Masahiro Yamada --- drivers/clk/uniphier/Kconfig | 4 + drivers/clk/uniphier/Makefile| 1 + drivers/clk/uniphier/clk-uniphier-peri.c | 133 +++ 3 files changed,

[PATCH v7 3/5] usb: dwc3: omap: Don't set POWERPRESENT

2016-05-10 Thread Roger Quadros
TRM [1] recommends that POWERPRESENT bit must not be set and left at it's default value of 0. [1] OMAP542x TRM - http://www.ti.com/lit/pdf/swpu249 Section 23.11.4.5.1 Mailbox VBUS/ID Management "Because PIPE powerpresent has a different meaning in host and in device mode, and because of the redun

[PATCH v7 4/5] usb: dwc3: omap: Pass VBUS and ID events transparently

2016-05-10 Thread Roger Quadros
Don't make any decisions regarding VBUS session based on ID status. That is best left to the OTG core. Pass ID and VBUS events independent of each other so that OTG core knows exactly what to do. This makes dual-role with extcon work with OTG irq on OMAP platforms. Signed-off-by: Roger Quadros

Re: [GIT PULL] drm/arcpgu: use dedicated memory area for frame buffer

2016-05-10 Thread Alexey Brodkin
Hi Dave, On Fri, 2016-04-29 at 11:36 +, Alexey Brodkin wrote: > Hi Dave, > > Please pull this mini-series that allows ARC PGU to use > dedicated memory location as framebuffer backing storage. > > v2 of that series was reviewed here > https://lists.freedesktop.org/archives/dri-devel/2016-Apr

Re: [PATCH] crypto: vmx - comply with ABIs that specify vrsave as reserved.

2016-05-10 Thread Herbert Xu
On Thu, May 05, 2016 at 11:09:27AM -0300, Paulo Flabiano Smorigo wrote: > It gives significant improvements ( ~+15%) on some modes. > > These code has been adopted from OpenSSL project in collaboration > with the original author (Andy Polyakov ). > > Signed-off-by: Paulo Flabiano Smorigo Patch

[PATCH v7 1/5] usb: dwc3: omap: use request_threaded_irq()

2016-05-10 Thread Roger Quadros
We intend to share this interrupt with the OTG driver an to ensure that irqflags match for the shared interrupt handlers we use request_threaded_irq() If we don't use request_treaded_irq() then forced threaded irq will set IRQF_ONESHOT and this won't match with the OTG IRQ handler's IRQ flags. NO

[RFC PATCH 01/21] mfd: uniphier: add UniPhier MFD driver

2016-05-10 Thread Masahiro Yamada
This MFD driver populates child devices such clock, reset, and other system controlling blocks. On UniPhier SoCs, one system control block contains various registers for clock, reset, and others in it. So, it is not reasonable to have separate DT nodes for different sub-systems. This MFD approac

[RFC PATCH 13/21] reset: uniphier: add reset driver for UniPhier PH1-LD4 SoC

2016-05-10 Thread Masahiro Yamada
This series is just for review. Please do not apply this patch. Signed-off-by: Masahiro Yamada --- drivers/reset/uniphier/Kconfig | 4 +++ drivers/reset/uniphier/Makefile | 2 ++ drivers/reset/uniphier/reset-uniphier-ld4.c | 46 + 3 files c

[RFC PATCH 02/21] clk: uniphier: add core support for UniPhier clock driver

2016-05-10 Thread Masahiro Yamada
The core support for the clock drivers of all UniPhier SoCs. This part is the update from the version 2. https://lkml.org/lkml/2016/5/2/721 After discussing Stephen and Michael, I changed various things in this version: - Change to platform drivers instead of OF_CLK_DECLARE - Split into a co

[RFC PATCH 00/21] mfd, clock, reset: add UniPhier clock/reset driver support

2016-05-10 Thread Masahiro Yamada
This series adds support for clock and reset (and MFD to populate them) for UniPhier SoCs. On UniPhier SoCs, one system control block contains various registers for clock, reset, and others in it. I consulted Arnd for better implementation for clock/reset drivers in such a case. https://lkml.or

[PATCH v7 0/5] dwc3: omap: fixes and dual-role preparation

2016-05-10 Thread Roger Quadros
Hi Felipe, I've removed the patches that add dual role support. These are just some fixes can go in before any actual dual role support. About the OTG software mailbox, I tried checking internally in TI but nobody was aware of any constraints. The events can be set as they are obtained from the P

[RFC PATCH 14/21] reset: uniphier: add reset driver for UniPhier PH1-Pro4 SoC

2016-05-10 Thread Masahiro Yamada
This series is just for review. Please do not apply this patch. Signed-off-by: Masahiro Yamada --- drivers/reset/uniphier/Kconfig | 4 +++ drivers/reset/uniphier/Makefile | 1 + drivers/reset/uniphier/reset-uniphier-pro4.c | 46 3 files

[RFC PATCH 05/21] clk: uniphier: add clock driver for UniPhier PH1-sLD8 SoC

2016-05-10 Thread Masahiro Yamada
This series is just for review. Please do not apply this patch. Signed-off-by: Masahiro Yamada --- drivers/clk/uniphier/Kconfig | 4 ++ drivers/clk/uniphier/Makefile| 1 + drivers/clk/uniphier/clk-uniphier-sld8.c | 102 +++ 3 files changed

[RFC PATCH 19/21] reset: uniphier: add reset driver for UniPhier PH1-LD20 SoC

2016-05-10 Thread Masahiro Yamada
This series is just for review. Please do not apply this patch. Signed-off-by: Masahiro Yamada --- drivers/reset/uniphier/Kconfig | 4 +++ drivers/reset/uniphier/Makefile | 1 + drivers/reset/uniphier/reset-uniphier-ld20.c | 46 3 files

Re: [PATCH v7 4/5] usb: dwc3: omap: Pass VBUS and ID events transparently

2016-05-10 Thread Felipe Balbi
Hi, Roger Quadros writes: > Don't make any decisions regarding VBUS session based on ID > status. That is best left to the OTG core. > > Pass ID and VBUS events independent of each other so that OTG > core knows exactly what to do. > > This makes dual-role with extcon work with OTG irq on OMAP p

[RFC PATCH 16/21] reset: uniphier: add reset driver for UniPhier PH1-Pro5 SoC

2016-05-10 Thread Masahiro Yamada
This series is just for review. Please do not apply this patch. Signed-off-by: Masahiro Yamada --- drivers/reset/uniphier/Kconfig | 4 +++ drivers/reset/uniphier/Makefile | 1 + drivers/reset/uniphier/reset-uniphier-pro5.c | 46 3 files

[RFC PATCH 10/21] clk: uniphier: add clock driver for Media I/O block on UniPhier SoCs

2016-05-10 Thread Masahiro Yamada
This series is just for review. Please do not apply this patch. Signed-off-by: Masahiro Yamada --- drivers/clk/uniphier/Kconfig| 4 + drivers/clk/uniphier/Makefile | 2 + drivers/clk/uniphier/clk-uniphier-mio.c | 215 3 files changed, 2

Re: [PATCH v3 2/4] clk: arizona: Add clock driver for the Arizona devices

2016-05-10 Thread Charles Keepax
On Mon, May 09, 2016 at 02:48:29PM -0700, Stephen Boyd wrote: > On 05/09, Charles Keepax wrote: > > On Fri, May 06, 2016 at 05:55:01PM -0700, Stephen Boyd wrote: > > > I've applied this to clk-next but still have a question, see > > > below. > > > > > > On 01/08, Charles Keepax wrote: > > Apologie

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