Re: [PATCHv2 1/2] ARM: dts: imx53: PPD: Add fixed-regulator information

2018-07-02 Thread Shawn Guo
On Thu, Jun 28, 2018 at 06:36:38PM +0200, Sebastian Reichel wrote: > Add information about 3V3 power rail to avoid kernel warnings, > that dummy regulators have been added. > > Signed-off-by: Sebastian Reichel I changed subject prefix to 'ARM: dts: imx53-ppd: ...', and applied both. Shawn

Re: [PATCH v2] stop_machine: Disable preemption when waking two stopper threads

2018-07-02 Thread isaacm
Hi Peter, Thanks for the feedback. I'll make sure to incorporate it into my next patch, and send that soon. Thanks, Isaac Manjarres On 2018-07-02 05:15, Peter Zijlstra wrote: On Fri, Jun 29, 2018 at 01:55:12PM -0700, Isaac J. Manjarres wrote: When cpu_stop_queue_two_works() begins to wake the

Re: [PATCH upstream] KASAN: slab-out-of-bounds Read in getname_kernel

2018-07-02 Thread Dmitry Vyukov
On Tue, Jul 3, 2018 at 3:34 AM, Ian Kent wrote: > On Mon, 2018-07-02 at 14:15 +0200, Dmitry Vyukov wrote: >> On Mon, Jul 2, 2018 at 1:55 PM, tomas wrote: >> > Yes, thanks. Please use my full name, Tomas Bortoli. >> >> >> Please also include: >> >> Reported-by:

Re: [PATCH 2/2] ARM: dts: imx51-babbage: Make use of pinctrl_usbh1reg

2018-07-02 Thread Shawn Guo
On Wed, Jun 27, 2018 at 09:37:13PM -0700, Andrey Smirnov wrote: > Pinctrl_usbh1reg defines pinmux setting for reset GPIO used by > usbh1phy, but is not referenced by that node. Fix that. > > Cc: Fabio Estevam > Cc: Shawn Guo > Cc: linux-arm-ker...@lists.infradead.org > Cc:

Re: [PATCH] Bluetooth: Add a new Realtek 8723DE ID 0bda:b009

2018-07-02 Thread Jian-Hong Pan
Hi, Just gently ping. May this patch be reviewed and merged? Thanks, Jian-Hong Pan 2018-05-25 17:54 GMT+08:00 Jian-Hong Pan : > Without this patch we cannot turn on the Bluethooth adapter on HP > 14-bs007la. > > T: Bus=01 Lev=02 Prnt=03 Port=00 Cnt=01 Dev#= 4 Spd=12 MxCh= 0 > D: Ver= 1.10

Re: [PATCH v8 00/26] PM / Domains: Support hierarchical CPU arrangement (PSCI/ARM)

2018-07-02 Thread Ulf Hansson
Rafael, On 20 June 2018 at 19:22, Ulf Hansson wrote: > Changes in v8: > - Added some tags for reviews and acks. > - Cleanup timer patch (patch6) according to comments from Rafael. > - Rebased series on top of v4.18rc1 - it applied cleanly, except for patch 5. > - While adopting patch 5 to

[PATCH] tg: show the sum wait time of an task group

2018-07-02 Thread 王贇
Although we can rely on cpuacct to present the cpu usage of task group, it is hard to tell how intense the competition is between these groups on cpu resources. Monitoring the wait time of each process or sched_debug could cost too much, and there is no good way to accurately represent the

Re: [GIT PULL] tee driver for v4.18

2018-07-02 Thread Jens Wiklander
On Mon, Jul 2, 2018 at 7:18 PM, Olof Johansson wrote: > Hi Jens, > > > On Mon, Jul 2, 2018 at 5:10 AM, Jens Wiklander > wrote: >> Hello arm-soc maintainers, >> >> Please pull these small tee driver enhancements. There's a new config >> option for the OP-TEE driver, OPTEE_SHM_NUM_PRIV_PAGES. Also

Re: [PATCH v1] ARM: dts: imx6sl-evk: keep sw4 always on

2018-07-02 Thread Shawn Guo
On Mon, Jul 02, 2018 at 02:12:52AM +, Robin Gong wrote: > But in fact, the original dts is not correct without 'regulator-always- > on'since SW4 is the critical DDR power rail, although, it's kept on in > the previous kernel by no switches enable/disable interfaces provided > in pfuze driver.

[PATCH] fat: Add FITRIM ioctl for FAT file system

2018-07-02 Thread OGAWA Hirofumi
From: Wentao Wang Add FITRIM ioctl for FAT file system [hirof...@mail.parknet.co.jp: bug fixes, coding style fixes, add signal check] Signed-off-by: Wentao Wang Signed-off-by: OGAWA Hirofumi --- fs/fat/fat.h|1 fs/fat/fatent.c | 102

Re: [PATCH V2] mmc: core: cd_label must be last entry of mmc_gpio struct

2018-07-02 Thread Ulf Hansson
On 3 July 2018 at 04:25, Fabio Estevam wrote: > On Mon, Jul 2, 2018 at 11:13 PM, Anson Huang wrote: > >> I think either way is OK, since flexible array is used in kernel code quite >> commonly, >> so I prefer to make code change as small as possible, the original patch can >> also prevent >>

Re: [PATCH -mm -v4 08/21] mm, THP, swap: Support to read a huge swap cluster for swapin a THP

2018-07-02 Thread Huang, Ying
Matthew Wilcox writes: > On Fri, Jun 22, 2018 at 11:51:38AM +0800, Huang, Ying wrote: >> +++ b/mm/swap_state.c >> @@ -426,33 +447,37 @@ struct page *__read_swap_cache_async(swp_entry_t >> entry, gfp_t gfp_mask, >> /* >> * call radix_tree_preload() while we can wait.

[PATCH] cpuidle:powernv: Add the CPUIDLE_FLAG_POLLING for snooze

2018-07-02 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" In the situations where snooze is the only cpuidle state due to firmware not exposing any platform idle states, the idle CPUs will remain in snooze for a long time with interrupts disabled causing the Hard-lockup detector to complain. watchdog: CPU 51 detected hard

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-07-02 Thread Benjamin Herrenschmidt
On Tue, 2018-07-03 at 12:39 +1000, Benjamin Herrenschmidt wrote: > On Mon, 2018-07-02 at 19:26 -0700, Linus Torvalds wrote: > > On Mon, Jul 2, 2018 at 7:15 PM Linus Torvalds > > wrote: > > > > > > It's whitespace-damaged on purpose. It's probably broken shit. DO NOT > > > USE UNDER ANY

Re: [PATCHi v2] mm: do not drop unused pages when userfaultd is running

2018-07-02 Thread Christian Borntraeger
On 07/02/2018 11:06 PM, Andrew Morton wrote: > On Mon, 2 Jul 2018 09:50:49 +0200 Christian Borntraeger > wrote: > >> KVM guests on s390 can notify the host of unused pages. This can result >> in pte_unused callbacks to be true for KVM guest memory. >> >> If a page is unused (checked with

[PATCH] staging: mt7621-pinctrl: Style fixes to pinctrl-rt2880

2018-07-02 Thread Peter Vernia
Replaces instances of "unsigned" with "unsigned int"; fixes comma and tab spacing. Signed-off-by: Peter Vernia --- drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c | 35 + 1 file changed, 18 insertions(+), 17 deletions(-) diff --git

linux-next: Tree for Jul 3

2018-07-02 Thread Stephen Rothwell
Hi all, Changes since 20180702: The net-next tree gained a build failure due to an interaction with Linus' tree for which I applied a merge fix patch. The akpm-current tree still had its build failure for which I reverted a commit. Non-merge commits (relative to Linus' tree): 3320 3593 files

Re: [PATCH] thermal: ti-soc-thermal: remove dead code

2018-07-02 Thread Keerthy
On Monday 02 July 2018 10:00 PM, Eduardo Valentin wrote: > Keerthy, > > On Fri, Jun 29, 2018 at 06:10:26PM +0200, Bartlomiej Zolnierkiewicz wrote: >> >> Hi, >> >> On Wednesday, May 02, 2018 03:20:35 PM Bartlomiej Zolnierkiewicz wrote: >>> Majority of this code (i.e. functions from

Re: [PATCH] staging: mt7621-pinctrl: Replaces "unsigned" with "unsigned int", fixes mixed indentation, and puts spaces after commas.

2018-07-02 Thread Peter Vernia
> The subject is over 72 characters or whatever the limit is and there > isn't a commit message. Dan, thanks for your help, I realize where I went wrong now. I will re-submit the patch fresh to fix the message subject. --Peter

Re: Linux 3.18.111

2018-07-02 Thread Linus Torvalds
On Mon, Jul 2, 2018 at 9:43 PM Seung-Woo Kim wrote: > > I think the commit itself is required. Simple, but not reliable, > workaround fix is like below: > > diff --git a/fs/dcache.c b/fs/dcache.c > index a34d401..7c751f2 100644 > --- a/fs/dcache.c > +++ b/fs/dcache.c > @@ -1879,6 +1879,8 @@ void

Re: [PATCH v7 0/4] ARM: davinci: complete the conversion to using the reset framework

2018-07-02 Thread Sekhar Nori
On Monday 02 July 2018 08:57 PM, David Lechner wrote: > On 07/02/2018 07:08 AM, Sekhar Nori wrote: >> Hi Bjorn, >> >> On Thursday 21 June 2018 05:11 PM, Bartosz Golaszewski wrote: >>> 2018-06-21 12:52 GMT+02:00 Sekhar Nori : Hi Bartosz, On Thursday 21 June 2018 01:07 PM, Bartosz

Re: Linux 3.18.111

2018-07-02 Thread Seung-Woo Kim
On 2018년 07월 03일 13:36, Greg KH wrote: > On Tue, Jul 03, 2018 at 12:24:59PM +0900, Seung-Woo Kim wrote: >> Hello, >> >> On 2018년 05월 30일 16:32, Greg KH wrote: >>> I'm announcing the release of the 3.18.111 kernel. >>> >>> All users of the 3.18 kernel series must upgrade. >>> >>> The updated

Re: [PATCH 2/2] fs: xfs: use BUG_ON if writepage call comes from direct reclaim

2018-07-02 Thread Dave Chinner
On Tue, Jul 03, 2018 at 12:11:19PM +0800, Yang Shi wrote: > direct reclaim doesn't write out filesystem page, only kswapd could do > this. So, if it is called from direct relaim, it is definitely a bug. > > And, Mel Gorman mentioned "Ultimately, this will be a BUG_ON." in commit >

Re: Linux 3.18.111

2018-07-02 Thread Greg KH
On Tue, Jul 03, 2018 at 12:24:59PM +0900, Seung-Woo Kim wrote: > Hello, > > On 2018년 05월 30일 16:32, Greg KH wrote: > > I'm announcing the release of the 3.18.111 kernel. > > > > All users of the 3.18 kernel series must upgrade. > > > > The updated 3.18.y git tree can be found at: > >

Re: [PATCH v2 5/6] mm: track gup pages with page->dma_pinned_* fields

2018-07-02 Thread John Hubbard
On 07/02/2018 05:08 PM, Christopher Lameter wrote: > On Mon, 2 Jul 2018, John Hubbard wrote: > >>> >>> These two are just wrong. You cannot make any page reference for >>> PageDmaPinned() account against a pin count. First, it is just conceptually >>> wrong as these references need not be long

Re: printk() from NMI backtrace can delay a lot

2018-07-02 Thread Sergey Senozhatsky
Cc-ing Linus, Tejun, Andrew [I'll keep the entire lockdep report] On (07/02/18 19:26), Tetsuo Handa wrote: [..] > 2018-07-02 12:13:13 192.168.159.129: [ 151.606834] swapper/0/0 is trying > to acquire lock: > 2018-07-02 12:13:13 192.168.159.129: [ 151.606835] 316e1432 >

RE: [[LINUX PATCH v10] 4/4] mtd: rawnand: pl353: Add basic driver for arm pl353 smc nand interface

2018-07-02 Thread Naga Sureshkumar Relli
Hi Linus, > -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: Monday, July 2, 2018 7:18 PM > To: Naga Sureshkumar Relli > Cc: Boris Brezillon ; Richard Weinberger > ; > David Woodhouse ; Brian Norris > ; Mark Vasut ; Florian > Fainelli > ; Markus Mayer

Re: [PATCH 12/15] arm: dts: highbank: Add missing OPP properties for CPUs

2018-07-02 Thread Viresh Kumar
On 02-07-18, 16:27, Olof Johansson wrote: > On Mon, Jul 02, 2018 at 02:25:40PM -0600, Rob Herring wrote: > > On Fri, May 25, 2018 at 4:32 AM Viresh Kumar > > wrote: > > > > > > The OPP properties, like "operating-points", should either be present > > > for all the CPUs of a cluster or none. If

[PATCH 1/2] fs: ext4: use BUG_ON if writepage call comes from direct reclaim

2018-07-02 Thread Yang Shi
direct reclaim doesn't write out filesystem page, only kswapd could do it. So, if the call comes from direct reclaim, it is definitely a bug. And, Mel Gormane also mentioned "Ultimately, this will be a BUG_ON." In commit 94054fa3fca1fd78db02cb3d68d5627120f0a1d4 ("xfs: warn if direct reclaim tries

[PATCH 2/2] fs: xfs: use BUG_ON if writepage call comes from direct reclaim

2018-07-02 Thread Yang Shi
direct reclaim doesn't write out filesystem page, only kswapd could do this. So, if it is called from direct relaim, it is definitely a bug. And, Mel Gorman mentioned "Ultimately, this will be a BUG_ON." in commit 94054fa3fca1fd78db02cb3d68d5627120f0a1d4 ("xfs: warn if direct reclaim tries to

[rcu:dev 117/117] kernel//rcu/tree.c:2996:6: error: redefinition of 'call_rcu_sched'

2018-07-02 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev head: 3981406d6621b8a72a873bdc88d0a95d2e928c9e commit: 3981406d6621b8a72a873bdc88d0a95d2e928c9e [117/117] rcu: Define RCU-sched API in terms of RCU for Tree RCU PREEMPT builds config:

[rcu:dev 117/117] include/linux/export.h:61:20: error: redefinition of '__kstrtab_call_rcu_sched'

2018-07-02 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev head: 3981406d6621b8a72a873bdc88d0a95d2e928c9e commit: 3981406d6621b8a72a873bdc88d0a95d2e928c9e [117/117] rcu: Define RCU-sched API in terms of RCU for Tree RCU PREEMPT builds config:

Re: WARN_ON_ONCE() in process_one_work()?

2018-07-02 Thread Paul E. McKenney
On Mon, Jul 02, 2018 at 02:05:40PM -0700, Tejun Heo wrote: > Hello, Paul. > > Sorry about the late reply. > > On Wed, Jun 20, 2018 at 12:29:01PM -0700, Paul E. McKenney wrote: > > I have hit this WARN_ON_ONCE() in process_one_work: > > > > WARN_ON_ONCE(!(pool->flags & POOL_DISASSOCIATED) &&

Re: [PATCH V2 01/19] csky: Build infrastructure

2018-07-02 Thread Rob Herring
On Sun, Jul 1, 2018 at 11:36 AM Guo Ren wrote: > > Signed-off-by: Guo Ren > --- [...] > +config CSKY_BUILTIN_DTB > + bool "Use kernel builtin dtb" > + > +config CSKY_BUILTIN_DTB_NAME > + string "kernel builtin dtb name" > + depends on CSKY_BUILTIN_DTB > +endmenu These

Re: [PATCH v4 00/15] Update for QCOM NAND driver

2018-07-02 Thread Abhishek Sahu
On 2018-07-01 23:39, Miquel Raynal wrote: Hi Abhishek, Abhishek Sahu wrote on Wed, 20 Jun 2018 12:57:27 +0530: * v4: 1. Added patch to make other ECC configurations function static. 2. Clubbed the DT update patches. 3. Removed the bad block related patch. Discussion is going on related

[rcu:dev 117/117] ERROR: ".rcu_note_context_switch" [arch/powerpc/kvm/kvm.ko] undefined!

2018-07-02 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev head: 673d4e1483611783d502fe63317483b294f1bba0 commit: 673d4e1483611783d502fe63317483b294f1bba0 [117/117] rcu: Define RCU-sched API in terms of RCU for Tree RCU PREEMPT builds config: powerpc-defconfig (attached

Re: [PATCH V2 19/19] irqchip: add C-SKY irqchip drivers

2018-07-02 Thread Rob Herring
On Sun, Jul 1, 2018 at 11:35 AM Guo Ren wrote: > Commit message needed. > Signed-off-by: Guo Ren > --- > drivers/irqchip/Makefile | 1 + > drivers/irqchip/irq-csky-v1.c | 126 > drivers/irqchip/irq-csky-v2.c | 191 >

Re: Linux 3.18.111

2018-07-02 Thread Seung-Woo Kim
Hello, On 2018년 05월 30일 16:32, Greg KH wrote: > I'm announcing the release of the 3.18.111 kernel. > > All users of the 3.18 kernel series must upgrade. > > The updated 3.18.y git tree can be found at: > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git > linux-3.18.y

Re: [PATCH V2 02/19] csky: defconfig

2018-07-02 Thread Rob Herring
On Sun, Jul 1, 2018 at 11:34 AM Guo Ren wrote: > Needs a commit msg. Perhaps some overview of what's in each config. > Signed-off-by: Guo Ren > --- > arch/csky/configs/gx66xx_defconfig | 549 > + > arch/csky/configs/qemu_ck807_defconfig | 541

Re: [PATCH v9 2/6] mm: page_alloc: remain memblock_next_valid_pfn() on arm/arm64

2018-07-02 Thread Pavel Tatashin
Can you put it into memblock.c > Do you think it looks ok if I add the inline prefix? I would say no, this function is a too complex, and is not in some critical path to be always inlined. I would put it into memblock.c, and have #ifdef CONFIG_HAVE_MEMBLOCK_PFN_VALID around it. Thank you,

[lkp-robot] 9a93848fe7 [ 1.383411] WARNING: CPU: 0 PID: 1 at arch/x86/mm/dump_pagetables.c:235 note_page

2018-07-02 Thread kernel test robot
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 9a93848fe787a53aec404e4e00d8f7f9bbdaebb4 Author: Peter Zijlstra AuthorDate: Thu Feb 2 14:43:51 2017 +0100 Commit: Ingo

Re: [PATCH v5 0/7] add virt-dma support for imx-sdma

2018-07-02 Thread Robin Gong
On 一, 2018-07-02 at 18:47 +0530, Vinod wrote: > On 02-07-18, 02:32, Robin Gong wrote: > > > > Hi Vinod, > > Do you have any comment for this patchset? Lucas and Sascha > > acked it and tty patch already merged in. > I was actually waiting for ACK/action on patch 1 :) > > I have reviewed the

Re: [PATCH V2 07/19] csky: MMU and page table management

2018-07-02 Thread Guo Ren
On Mon, Jul 02, 2018 at 06:29:15AM -0700, Christoph Hellwig wrote: > This commit is missing an explanation. The patch is for abiv1 & abiv2 CPU series' MMU support. - abiv1 CPU (CK610) is VIPT cache and it doesn't support highmem. - abiv2 CPUs are all PIPT cache and they could support highmem.

[lkp-robot] ee410f15b1 BUG: kernel hang in boot stage

2018-07-02 Thread kernel test robot
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit ee410f15b1418f2f4428e79980674c979081bcb7 Author: Thierry Escande AuthorDate: Thu Jun 14 15:28:15 2018 -0700 Commit:

Re: [PATCH 0/2] serial: 8250_dw: add fractional divisor support

2018-07-02 Thread Jisheng Zhang
On Tue, 3 Jul 2018 10:22:57 +0800 Jisheng Zhang wrote: > Hi, > > On Mon, 2 Jul 2018 14:51:03 +0300 Andy Shevchenko wrote: > > > On Mon, 2018-07-02 at 13:18 +0300, Andy Shevchenko wrote: > > > On Mon, 2018-07-02 at 18:04 +0800, Jisheng Zhang wrote: > > > > For Synopsys DesignWare 8250 uart

Re: [PATCH v7 00/10] Introduce the Counter subsystem

2018-07-02 Thread William Breathitt Gray
On Mon, Jul 02, 2018 at 01:13:40PM -0500, David Lechner wrote: >On 06/21/2018 04:06 PM, William Breathitt Gray wrote: >> I decided to strip down these devices to arrive at the core essence of >> what constitutes a "counter device" and therefore design a "generic >> counter" abstraction to better

Re: [RFC PATCH for 4.18] rseq: use __u64 for rseq_cs fields, validate user inputs

2018-07-02 Thread Linus Torvalds
On Mon, Jul 2, 2018 at 7:30 PM Mathieu Desnoyers wrote: > > > Is it really ? Last time we had this discussion, not all architectures > guaranteed that reading a 64-bit integer would happen in two atomic > 32-bit sub-parts. All architectures that matter do. Please don't overdesign this, or try

Re: [PATCH 2/2] ARM: dts: pxa: add mioa701 board description

2018-07-02 Thread kbuild test robot
Hi Robert, I love your patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on v4.18-rc3 next-20180702] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH 2/4] KVM: Add tlb remote flush callback in kvm_x86_ops.

2018-07-02 Thread kbuild test robot
Hi Tianyu, Thank you for the patch! Yet something to improve: [auto build test ERROR on kvm/linux-next] [also build test ERROR on v4.18-rc3 next-20180702] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-07-02 Thread Benjamin Herrenschmidt
On Mon, 2018-07-02 at 19:26 -0700, Linus Torvalds wrote: > On Mon, Jul 2, 2018 at 7:15 PM Linus Torvalds > wrote: > > > > It's whitespace-damaged on purpose. It's probably broken shit. DO NOT > > USE UNDER ANY CIRCUMSTANCES. Think of it more as a "something like > > this might work, but

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-07-02 Thread Benjamin Herrenschmidt
On Mon, 2018-07-02 at 19:15 -0700, Linus Torvalds wrote: > On Mon, Jul 2, 2018 at 5:57 PM Benjamin Herrenschmidt > wrote: > > > > I'll have a look see if I can find a way to check that the sysfs dir is > > empty without adding that childcount, that would at least alleviate > > some of your

Re: [RFC PATCH for 4.18] rseq: use __u64 for rseq_cs fields, validate user inputs

2018-07-02 Thread Andy Lutomirski
On Mon, Jul 2, 2018 at 7:30 PM, Mathieu Desnoyers wrote: > - On Jul 2, 2018, at 10:18 PM, Linus Torvalds > torva...@linux-foundation.org wrote: > >> On Mon, Jul 2, 2018 at 7:01 PM Mathieu Desnoyers >> wrote: >>> >>> One thing to consider is how we will implement the load of that pointer >>>

Re: [PATCH v6 1/8] dt-bindings: reset: Add AOSS reset bindings for SDM845 SoCs

2018-07-02 Thread Rob Herring
On Wed, Jun 27, 2018 at 07:54:42PM +0530, Sibi Sankar wrote: > Add SDM845 AOSS (always on subsystem) reset controller binding > > Signed-off-by: Sibi Sankar > --- > > Not including Rob's earlier Reviewed-by due to change in compatible > > .../bindings/reset/qcom,aoss-reset.txt| 52

Re: [PATCH v22 1/4] dt-bindings: soc: Add documentation for the MediaTek GCE unit

2018-07-02 Thread Rob Herring
On Wed, Jun 27, 2018 at 07:16:09PM +0800, Houlong Wei wrote: > This adds documentation for the MediaTek Global Command Engine (GCE) unit > found in MT8173 SoCs. > > Signed-off-by: Houlong Wei > Signed-off-by: HS Liao > --- > Hi Rob, > I don't add your ACK in this version since the dt-binding

Re: [RFC PATCH for 4.18] rseq: use __u64 for rseq_cs fields, validate user inputs

2018-07-02 Thread Mathieu Desnoyers
- On Jul 2, 2018, at 10:18 PM, Linus Torvalds torva...@linux-foundation.org wrote: > On Mon, Jul 2, 2018 at 7:01 PM Mathieu Desnoyers > wrote: >> >> One thing to consider is how we will implement the load of that pointer >> on the kernel side. > > Use "get_user()". It works for 64-bit

RE: [PATCHv3 0/9] sched/fair: Migrate 'misfit' tasks on asymmetric capacity systems

2018-07-02 Thread Gaku Inami
Hi, > -Original Message- > From: Morten Rasmussen > Sent: Wednesday, June 20, 2018 6:06 PM > To: pet...@infradead.org; mi...@redhat.com > Cc: valentin.schnei...@arm.com; dietmar.eggem...@arm.com; > vincent.guit...@linaro.org; Gaku Inami > ; linux-kernel@vger.kernel.org; Morten Rasmussen

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-07-02 Thread Linus Torvalds
On Mon, Jul 2, 2018 at 7:15 PM Linus Torvalds wrote: > > It's whitespace-damaged on purpose. It's probably broken shit. DO NOT > USE UNDER ANY CIRCUMSTANCES. Think of it more as a "something like > this might work, but probably doesn't". Maybe it gives you an idea, > although that idea might be

[PATCH] vmw_balloon: fix inflation with batching

2018-07-02 Thread Nadav Amit
Embarrassingly, the recent fix introduced worse problem than it solved, causing the balloon not to inflate. The VM informed the hypervisor that the pages for lock/unlock are sitting in the wrong address, as it used the page that is used the uninitialized page variable. Fixes: b23220fe054e9

Re: [PATCH V2] mmc: core: cd_label must be last entry of mmc_gpio struct

2018-07-02 Thread Fabio Estevam
On Mon, Jul 2, 2018 at 11:13 PM, Anson Huang wrote: > I think either way is OK, since flexible array is used in kernel code quite > commonly, > so I prefer to make code change as small as possible, the original patch can > also prevent > similar bug in future. And like below commit Fabio

Re: [PATCH 0/2] serial: 8250_dw: add fractional divisor support

2018-07-02 Thread Jisheng Zhang
Hi, On Mon, 2 Jul 2018 14:51:03 +0300 Andy Shevchenko wrote: > On Mon, 2018-07-02 at 13:18 +0300, Andy Shevchenko wrote: > > On Mon, 2018-07-02 at 18:04 +0800, Jisheng Zhang wrote: > > > For Synopsys DesignWare 8250 uart which version >= 4.00a, there's a > > > valid divisor latch fraction

Re: [PATCH] gcc-plugins: remove unused GCC_PLUGIN_SUBDIR

2018-07-02 Thread Kees Cook
On Mon, Jul 2, 2018 at 7:23 PM, Masahiro Yamada wrote: > Hi Kees, > > 2018-07-03 11:18 GMT+09:00 Kees Cook : >> On Mon, Jul 2, 2018 at 5:39 PM, Masahiro Yamada >> wrote: >>> GCC_PLUGIN_SUBDIR has never been used. If you really need this in >>> the future, please re-add it then. >>> >>> For now,

Re: [PATCH] gcc-plugins: remove unused GCC_PLUGIN_SUBDIR

2018-07-02 Thread Masahiro Yamada
Hi Kees, 2018-07-03 11:18 GMT+09:00 Kees Cook : > On Mon, Jul 2, 2018 at 5:39 PM, Masahiro Yamada > wrote: >> GCC_PLUGIN_SUBDIR has never been used. If you really need this in >> the future, please re-add it then. >> >> For now, the code is unused. Remove. >> >> 'export HOSTLIBS' is not

Re: [RFC PATCH for 4.18] rseq: use __u64 for rseq_cs fields, validate user inputs

2018-07-02 Thread Linus Torvalds
On Mon, Jul 2, 2018 at 7:01 PM Mathieu Desnoyers wrote: > > One thing to consider is how we will implement the load of that pointer > on the kernel side. Use "get_user()". It works for 64-bit objects too, and it will be atomic in the 32-bit sub-parts on a 32-bit architecture. Again: there is no

Re: [PATCH] gcc-plugins: remove unused GCC_PLUGIN_SUBDIR

2018-07-02 Thread Kees Cook
On Mon, Jul 2, 2018 at 5:39 PM, Masahiro Yamada wrote: > GCC_PLUGIN_SUBDIR has never been used. If you really need this in > the future, please re-add it then. > > For now, the code is unused. Remove. > > 'export HOSTLIBS' is not necessary either. > > Signed-off-by: Masahiro Yamada Acked-by:

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-07-02 Thread Linus Torvalds
On Mon, Jul 2, 2018 at 5:57 PM Benjamin Herrenschmidt wrote: > > I'll have a look see if I can find a way to check that the sysfs dir is > empty without adding that childcount, that would at least alleviate > some of your objection, and would probably make the patch > smaller/simpler. That would

Re: [PATCH 0/5] m68k: IO Fixes and Cleanups

2018-07-02 Thread Greg Ungerer
Hi Geert, On 02/07/18 23:35, Geert Uytterhoeven wrote: Hi all, This patch series contains fixes and cleanups for I/O accessors on m68k platforms (with MMU). The first patch contains small fixes without any dependencies. Patches 2 and 3 make small adjustments to drivers that are

RE: [PATCH V2] mmc: core: cd_label must be last entry of mmc_gpio struct

2018-07-02 Thread Anson Huang
Hi, Linus Anson Huang Best Regards! > -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: Monday, July 2, 2018 7:42 PM > To: Anson Huang > Cc: Ulf Hansson ; Masahiro Yamada > ; Adrian Hunter > ; evgr...@chromium.org; Shawn Lin > ; Fabio Estevam ; >

Re: [PATCH v9 0/6] optimize memblock_next_valid_pfn and early_pfn_valid on arm and arm64

2018-07-02 Thread Jia He
On 7/2/2018 7:40 PM, Michal Hocko Wrote: > On Fri 29-06-18 10:29:17, Jia He wrote: >> Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns >> where possible") tried to optimize the loop in memmap_init_zone(). But >> there is still some room for improvement. > > It would be

Re: [RFC PATCH] tg: count the sum wait time of an task group

2018-07-02 Thread 王贇
Hi, Peter On 2018/7/2 下午8:03, Peter Zijlstra wrote: On Mon, Jul 02, 2018 at 03:29:39PM +0800, 王贇 wrote: diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 1866e64..ef82ceb 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -862,6 +862,7 @@ static void

Re: [PATCH 4/6] perf/aux: Make perf_event accessible to setup_aux()

2018-07-02 Thread kbuild test robot
Hi Mathieu, I love your patch! Yet something to improve: [auto build test ERROR on tip/perf/core] [also build test ERROR on v4.18-rc3 next-20180702] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [RFC PATCH for 4.18] rseq: use __u64 for rseq_cs fields, validate user inputs

2018-07-02 Thread Mathieu Desnoyers
- On Jul 2, 2018, at 9:19 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: > - On Jul 2, 2018, at 7:37 PM, Andy Lutomirski l...@amacapital.net wrote: > >>> On Jul 2, 2018, at 4:22 PM, Mathieu Desnoyers >>> >>> wrote: >>> >>> - On Jul 2, 2018, at 7:16 PM, Mathieu

Re: [PATCH v9 0/6] optimize memblock_next_valid_pfn and early_pfn_valid on arm and arm64

2018-07-02 Thread Jia He
Hi Michal Thanks for the comments On 7/2/2018 7:40 PM, Michal Hocko Wrote: > On Fri 29-06-18 10:29:17, Jia He wrote: >> Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns >> where possible") tried to optimize the loop in memmap_init_zone(). But >> there is still some room for

Re: [PATCH v9 2/6] mm: page_alloc: remain memblock_next_valid_pfn() on arm/arm64

2018-07-02 Thread Jia He
Hi, Pavel Thanks for the comments. On 6/30/2018 2:13 AM, Pavel Tatashin Wrote: >> +++ b/include/linux/early_pfn.h >> @@ -0,0 +1,34 @@ >> +/* SPDX-License-Identifier: GPL-2.0 */ >> +/* Copyright (C) 2018 HXT-semitech Corp. */ >> +#ifndef __EARLY_PFN_H >> +#define __EARLY_PFN_H >> +#ifdef

[PATCH 1/2] x86/build/vdso: remove unused vdso-syms.lds

2018-07-02 Thread Masahiro Yamada
This file contains symbol values, and was originally linked into vmlinux, but I have no idea what it was actually used for. Since commit 827880ec260b ("x86/um: thin archives build fix"), it is not even linked. Now it is completely orphan, and no problem has been reported. It is a proof that

[PATCH 0/2] x86/build/vdso: a little more Makefile cleanups

2018-07-02 Thread Masahiro Yamada
At first, I sent the first patch to UML ML, but they did not pick it up. Instead, I was able to get Acked-by from Richard, one of the UML maintainers. https://patchwork.kernel.org/patch/10399787/ I am resending it to x86 ML. Masahiro Yamada (2): x86/build/vdso: remove unused vdso-syms.lds

[PATCH 4/6] x86/efi: Free existing memory map before installing new memory map

2018-07-02 Thread Sai Praneeth Prakhya
From: Sai Praneeth efi_memmap_install(), unmaps the existing memory map and installs a new memory map but doesn't free the memory allocated to the existing memory map. Fortunately, the details about the existing memory map (like the physical address, number of entries and type of memory) are

[PATCH 2/2] x86/build/vdso: simplify cmd_vdso2c

2018-07-02 Thread Masahiro Yamada
No reason to use 'define' directive here. Just use the = operator. Signed-off-by: Masahiro Yamada --- arch/x86/entry/vdso/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile index 261802b..b9ed1aa 100644

Re: [RFC PATCH 0/4] x86/boot/KASLR: Parse ACPI table and limit kaslr in immovable memory.

2018-07-02 Thread Chao Fan
On Tue, Jul 03, 2018 at 09:39:02AM +0800, Baoquan He wrote: >On 07/03/18 at 09:32am, Chao Fan wrote: >> On Mon, Jul 02, 2018 at 08:18:55PM +0800, Baoquan He wrote: >> >Hi Chao, >> > >> >On 06/12/18 at 04:10pm, Chao Fan wrote: >> >> *** Issues need be discussed >> >> There are several issues I am

Re: [RFC PATCH 0/4] x86/boot/KASLR: Parse ACPI table and limit kaslr in immovable memory.

2018-07-02 Thread Baoquan He
On 07/03/18 at 09:32am, Chao Fan wrote: > On Mon, Jul 02, 2018 at 08:18:55PM +0800, Baoquan He wrote: > >Hi Chao, > > > >On 06/12/18 at 04:10pm, Chao Fan wrote: > >> *** Issues need be discussed > >> There are several issues I am not quite sure, please help review and > >> give suggestions: > >>

Re: [PATCH v5 0/6] fs/dcache: Track & limit # of negative dentries

2018-07-02 Thread Waiman Long
On 07/03/2018 07:19 AM, Andrew Morton wrote: > On Mon, 02 Jul 2018 15:34:40 -0700 James Bottomley > wrote: > >> On Mon, 2018-07-02 at 14:18 -0700, Andrew Morton wrote: >>> On Mon, 2 Jul 2018 12:34:00 -0700 Linus Torvalds >> dation.org> wrote: >>> On Sun, Jul 1, 2018 at 10:52 PM Waiman Long

Re: [PATCH 02/15] arm: dts: ls1021a: Add missing cooling device properties for CPUs

2018-07-02 Thread Shawn Guo
On Fri, May 25, 2018 at 04:01:48PM +0530, Viresh Kumar wrote: > The cooling device properties, like "#cooling-cells" and > "dynamic-power-coefficient", should either be present for all the CPUs > of a cluster or none. If these are present only for a subset of CPUs of > a cluster then things will

Re: [PATCH upstream] KASAN: slab-out-of-bounds Read in getname_kernel

2018-07-02 Thread Ian Kent
On Mon, 2018-07-02 at 14:15 +0200, Dmitry Vyukov wrote: > On Mon, Jul 2, 2018 at 1:55 PM, tomas wrote: > > Yes, thanks. Please use my full name, Tomas Bortoli. > > > Please also include: > > Reported-by: syzbot+60c837b428dc84e83...@syzkaller.appspotmail.com Done. > > from the original bug

Re: [RFC PATCH 0/4] x86/boot/KASLR: Parse ACPI table and limit kaslr in immovable memory.

2018-07-02 Thread Chao Fan
On Mon, Jul 02, 2018 at 08:18:55PM +0800, Baoquan He wrote: >Hi Chao, > >On 06/12/18 at 04:10pm, Chao Fan wrote: >> *** Issues need be discussed >> There are several issues I am not quite sure, please help review and >> give suggestions: >> >> 1) In PATCH 1, I copy the structures and functions

[PATCH 3/3] microblaze: add endianness options to LDFLAGS instead of LD

2018-07-02 Thread Masahiro Yamada
With the recent syntax extension, Kconfig is now able to evaluate the compiler / toolchain capability. However, accumulating flags to 'LD' is not compatible with the way it works; 'LD' must be passed to Kconfig to call $(ld-option,...) from Kconfig files. If you tweak 'LD' in arch Makefile

[PATCH 0/3] arm,arm64,microblaze: add endianness options to LDFLAGS instead of LD

2018-07-02 Thread Masahiro Yamada
We are able to evaluate compiler / toolchain capability in the Kconfig phase. (If you do not know the background of this work, please read the commit log of 316d55d55f49eca442e4fd948f5fa92bab0c8312) To achieve this, 'CC', 'LD', etc. must be passed to Kconfig. arch/*/Makefile should not tweak

[PATCH 2/3] arm64: add endianness option to LDFLAGS instead of LD

2018-07-02 Thread Masahiro Yamada
With the recent syntax extension, Kconfig is now able to evaluate the compiler / toolchain capability. However, accumulating flags to 'LD' is not compatible with the way it works; 'LD' must be passed to Kconfig to call $(ld-option,...) from Kconfig files. If you tweak 'LD' in arch Makefile

[PATCH 1/3] ARM: add endianness option to LDFLAGS instead of LD

2018-07-02 Thread Masahiro Yamada
With the recent syntax extension, Kconfig is now able to evaluate the compiler / toolchain capability. However, accumulating flags to 'LD' is not compatible with the way it works; 'LD' must be passed to Kconfig to call $(ld-option,...) from Kconfig files. If you tweak 'LD' in arch Makefile

[PATCH V2] bindings: add clocks optional binding for imx gpio

2018-07-02 Thread Anson Huang
Some i.MX SoCs have GPIO clock gate in CCM, accessing GPIO registers needs to enable GPIO clock gate first, i.MX GPIO driver will enable clock gate if there is clock property in GPIO node of dtb, add optional property to i.MX GPIO binding doc. Signed-off-by: Anson Huang ---

Re: [RFC PATCH for 4.18] rseq: use __u64 for rseq_cs fields, validate user inputs

2018-07-02 Thread Mathieu Desnoyers
- On Jul 2, 2018, at 7:37 PM, Andy Lutomirski l...@amacapital.net wrote: >> On Jul 2, 2018, at 4:22 PM, Mathieu Desnoyers >> >> wrote: >> >> - On Jul 2, 2018, at 7:16 PM, Mathieu Desnoyers >> mathieu.desnoy...@efficios.com wrote: >> >>> - On Jul 2, 2018, at 7:06 PM, Linus Torvalds

Re: [RFC PATCH for 4.18] rseq: use __u64 for rseq_cs fields, validate user inputs

2018-07-02 Thread Mathieu Desnoyers
- On Jul 2, 2018, at 8:35 PM, Chris Lameter c...@linux.com wrote: > On Mon, 2 Jul 2018, Mathieu Desnoyers wrote: > >> > >> > Platforms with 32 bit word size only guarantee atomicity of a 32 bit >> > write or RMV instruction. >> > >> > Special instructions may exist on a platform to perform

RE: [PATCH] bindings: add clocks optional binding for imx gpio

2018-07-02 Thread Anson Huang
Hi, Linus Anson Huang Best Regards! > -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: Monday, July 2, 2018 9:46 PM > To: Anson Huang ; Fabio Estevam > > Cc: Rob Herring ; Mark Rutland > ; open list:GPIO SUBSYSTEM > ; open list:OPEN FIRMWARE AND

Re: [PATCH v5 0/6] fs/dcache: Track & limit # of negative dentries

2018-07-02 Thread Waiman Long
On 07/03/2018 05:18 AM, Andrew Morton wrote: > On Mon, 2 Jul 2018 12:34:00 -0700 Linus Torvalds > wrote: > >> On Sun, Jul 1, 2018 at 10:52 PM Waiman Long wrote: >>> A rogue application can potentially create a large number of negative >>> dentries in the system consuming most of the memory

Re: Build regressions/improvements in v4.18-rc3

2018-07-02 Thread Michael Ellerman
Helge Deller writes: > On 02.07.2018 16:09, Geert Uytterhoeven wrote: >> On Mon, Jul 2, 2018 at 4:01 PM Geert Uytterhoeven >> wrote: >>> JFYI, when comparing v4.18-rc3[1] to v4.18-rc2[3], the summaries are: >> ... > > Both of the following are simply happening because of old compiler which is

Re: [PATCH v5 2/6] fs/dcache: Make negative dentry tracking configurable

2018-07-02 Thread Waiman Long
On 07/03/2018 05:12 AM, Andrew Morton wrote: > On Mon, 2 Jul 2018 13:51:59 +0800 Waiman Long wrote: > >> The negative dentry tracking is made a configurable option so that >> users who don't care about negative dentry tracking will have the >> option to disable it. The new config option

Re: [PATCH V2] mmc: core: cd_label must be last entry of mmc_gpio struct

2018-07-02 Thread Fabio Estevam
Hi Linus, On Mon, Jul 2, 2018 at 8:42 AM, Linus Walleij wrote: > What about this: > > From facb3799f479bfd4dad99c25c9c5d4c77b14c9b0 Mon Sep 17 00:00:00 2001 > From: Linus Walleij > Date: Mon, 2 Jul 2018 13:35:01 +0200 > Subject: [PATCH] mmc: slot-gpio: Allocate GPIO labels dynamically > > The

答复: 答复: 答复: 答复: 答复: 答复: [PATCH] ext4: e2fsprogs: fix inode bitmap num not integer,incompatible for ancient android devices

2018-07-02 Thread Gaoming (ming, consumer BG)
And can you help me understand *why* such a choice was made? -if there is such a problem in your devices, how will you do? Is there any other choice? - of course, you cannot format the partition. -邮件原件- 发件人: Theodore Y. Ts'o [mailto:ty...@mit.edu] 发送时间: 2018年7月2日 20:17 收件人:

Re: [PATCH 2/2] drivers: core: Remove glue dirs from sysfs earlier

2018-07-02 Thread Benjamin Herrenschmidt
On Mon, 2018-07-02 at 12:24 -0700, Linus Torvalds wrote: > On Mon, Jul 2, 2018 at 3:23 AM Benjamin Herrenschmidt > wrote: > > > > Let me try one last ditch attempt to convince you using maybe a > > different perspective: this is how sysfs is intended to work and how > > the device model already

[rcu:dev 117/117] include/linux/rcutiny.h:99:2: error: implicit declaration of function 'rcu_sched_qs'; did you mean 'rcu_tasks_qs'?

2018-07-02 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev head: 673d4e1483611783d502fe63317483b294f1bba0 commit: 673d4e1483611783d502fe63317483b294f1bba0 [117/117] rcu: Define RCU-sched API in terms of RCU for Tree RCU PREEMPT builds config: i386-randconfig-x079-201826

Re: [PATCH v5 0/6] fs/dcache: Track & limit # of negative dentries

2018-07-02 Thread Waiman Long
On 07/03/2018 03:34 AM, Linus Torvalds wrote: > On Sun, Jul 1, 2018 at 10:52 PM Waiman Long wrote: >> A rogue application can potentially create a large number of negative >> dentries in the system consuming most of the memory available if it >> is not under the direct control of a memory

[PATCH] gcc-plugins: remove unused GCC_PLUGIN_SUBDIR

2018-07-02 Thread Masahiro Yamada
GCC_PLUGIN_SUBDIR has never been used. If you really need this in the future, please re-add it then. For now, the code is unused. Remove. 'export HOSTLIBS' is not necessary either. Signed-off-by: Masahiro Yamada --- scripts/Makefile.gcc-plugins | 3 +-- scripts/gcc-plugins/Makefile | 5

  1   2   3   4   5   6   7   8   9   >