Re: [PATCH v5 5/5] mm: page_alloc: reduce unnecessary binary search in early_pfn_valid()

2018-04-02 Thread Ard Biesheuvel
On 2 April 2018 at 04:30, Jia He wrote: > Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns > where possible") optimized the loop in memmap_init_zone(). But there is > still some room for improvement. E.g. in early_pfn_valid(), if pfn and > pfn+1 are in the same memblock regi

Re: [PATCH 07/45] C++: Define a header with some C++ type traits for type checking

2018-04-02 Thread kbuild test robot
://github.com/0day-ci/linux/commits/David-Howells/C-Convert-the-kernel-to-C/20180402-120344 config: x86_64-randconfig-x016-201813 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 Note: the linux-review

Re: [PATCH] mtd: nand: davinci: don't acquire and enable clock

2018-04-02 Thread Boris Brezillon
On Fri, 30 Mar 2018 20:00:51 +0530 Sekhar Nori wrote: > NAND itself is an asynchronous interface, it does not have any > clock input. DaVinci NAND driver acquires clock for AEMIF > (asynchronous external memory interface) which is an on-chip > IP to which NAND is connected. > > The same clock is

Re: [PATCH] mtd: nand: davinci: don't acquire and enable clock

2018-04-02 Thread Boris Brezillon
Oh, one more thing: now that we moved parallel/raw NAND code in the raw subdir, the subject prefix should be "mtd: rawnand: : ". No need to send a new version for that, I'll fix it when applying, just wanted to let you know. On Fri, 30 Mar 2018 20:00:51 +0530 Sekhar Nori wrote: > NAND itself is

Re: [PATCH] cpufreq: cppc_cpufreq: Initialize shared cpu's perf capabilities

2018-04-02 Thread Viresh Kumar
On 28-03-18, 17:31, Shunyong Yang wrote: > When multiple cpus are related in one cpufreq policy, the first online > cpu will be chosen by default to handle cpufreq operations. Let's take > cpu0 and cpu1 as an example. > > When cpu0 is offline, policy->cpu will be shifted to cpu1. Cpu1's should > b

[PATCH] drm/vc4: Fix memory leak during BO teardown

2018-04-02 Thread Daniel J Blueman
During BO teardown, an indirect list 'uniform_addr_offsets' wasn't being freed leading to leaking many 128B allocations. Fix the memory leak by releasing it at teardown time. To: linux-kernel@vger.kernel.org Cc: dri-de...@lists.freedesktop.org Cc: Eric Anholt Cc: Dave Airlie Cc: sta...@vger.kern

Re: [PATCH v5] ANDROID: binder: change down_write to down_read

2018-04-02 Thread Minchan Kim
On Mon, Apr 02, 2018 at 02:46:14PM +0800, Ganesh Mahendran wrote: > 2018-04-02 14:34 GMT+08:00 Minchan Kim : > > On Fri, Mar 30, 2018 at 12:04:07PM +0200, Greg Kroah-Hartman wrote: > >> On Fri, Mar 30, 2018 at 10:29:21AM +0900, Minchan Kim wrote: > >> > Hi Ganesh, > >> > > >> > On Fri, Mar 30, 2018

Re: [PATCH] Documentation/thermal: Check links and convert to https

2018-04-02 Thread Viresh Kumar
On 28-03-18, 22:59, Sanjeev Gupta wrote: > All links working. And why is it important to convert them to https ? > Signed-off-by: Sanjeev Gupta > --- > Documentation/thermal/cpu-cooling-api.txt | 2 +- > Documentation/thermal/nouveau_thermal | 2 +- > 2 files changed, 2 insertions(+), 2 del

Re: [PATCH 2/2] kfree_rcu() should use kfree_bulk() interface

2018-04-02 Thread kbuild test robot
/rao-shoaib-oracle-com/Move-kfree_rcu-out-of-rcu-code-and-use-kfree_bulk/20180402-135939 base: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next config: x86_64-randconfig-x010-201813 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce

[PATCH] resource: Fix integer overflow at reallocation

2018-04-02 Thread Takashi Iwai
We've got a bug report indicating a kernel panic at booting on an x86-32 system, and it turned out to be the invalid resource assigned after reallocation. __find_resource() first aligns the resource start address and resets the end address with start+size-1 accordingly, then checks whether it's co

[GIT PULL] arch: remove obsolete architecture ports

2018-04-02 Thread Arnd Bergmann
Hi Linus, The series is rather long and conflicts in trivial ways with lots of subsystem trees. You probably want to pull it either really early in the merge window or really late. Arnd The following changes since commit 661e50bc853209e41a5c14a290ca4decc43cbfd1: Linux 4.16-rc4 (2018

[Question] MFD driver that handles clocks/resets and populates child nodes

2018-04-02 Thread Masahiro Yamada
Hi. Some MFD drivers populate child nodes after some basic hardware setups. My question is, is it acceptable to upstream a MFD driver that handles only clocks/resets, then calls of_platform_populate. The probe function will look like follows: static int uniphier_usb3_glue_probe(struct platf

Re: [PATCH 42/45] C++: Hide C++ keywords

2018-04-02 Thread kbuild test robot
://github.com/0day-ci/linux/commits/David-Howells/C-Convert-the-kernel-to-C/20180402-120344 config: x86_64-randconfig-a0-04021307 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones

Re: [PATCH v5 03/14] PCI: Add pcie_bandwidth_capable() to compute max supported link bandwidth

2018-04-02 Thread Tal Gilboa
On 4/2/2018 3:40 AM, Bjorn Helgaas wrote: On Sun, Apr 01, 2018 at 11:38:53PM +0300, Tal Gilboa wrote: On 3/31/2018 12:05 AM, Bjorn Helgaas wrote: From: Tal Gilboa Add pcie_bandwidth_capable() to compute the max link bandwidth supported by a device, based on the max link speed and width, adjus

Re: [PATCH 1/2] perf: riscv: preliminary RISC-V support

2018-04-02 Thread Alan Kao
On Sat, Mar 31, 2018 at 03:47:10PM -0700, Alex Solomatnikov wrote: The original guess was that maybe, an counter value on a hart is picked as the minusend, and an old counter value on another hart was recorded as the subtrahend but numerically larger. Then, the overflow causes by that subtractio

Re: [PATCH v5 1/5] mm: page_alloc: remain memblock_next_valid_pfn() on arm and arm64

2018-04-02 Thread Jia He
On 4/2/2018 2:55 PM, Ard Biesheuvel Wrote: On 2 April 2018 at 04:30, Jia He wrote: Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns where possible") optimized the loop in memmap_init_zone(). But it causes possible panic bug. So Daniel Vacek reverted it later. But as su

Re: [PATCH v5 1/5] mm: page_alloc: remain memblock_next_valid_pfn() on arm and arm64

2018-04-02 Thread kbuild test robot
: https://github.com/0day-ci/linux/commits/Jia-He/optimize-memblock_next_valid_pfn-and-early_pfn_valid-on-arm-and-arm64/20180402-131223 config: i386-tinyconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make

Re: [PATCH v5 1/5] mm: page_alloc: remain memblock_next_valid_pfn() on arm and arm64

2018-04-02 Thread Ard Biesheuvel
On 2 April 2018 at 09:49, Jia He wrote: > > > On 4/2/2018 2:55 PM, Ard Biesheuvel Wrote: >> >> On 2 April 2018 at 04:30, Jia He wrote: >>> >>> Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns >>> where possible") optimized the loop in memmap_init_zone(). But it causes >>> p

Re: [PATCH] net: improve ipv4 performances

2018-04-02 Thread kbuild test robot
/commits/Anton-Gary-Ceph/net-improve-ipv4-performances/20180402-103807 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> net/bridge/br_private.h:690:15: sparse: restr

Re: [PATCH 31/45] C++: Avoid using 'compl' and 'and' as names

2018-04-02 Thread kbuild test robot
://github.com/0day-ci/linux/commits/David-Howells/C-Convert-the-kernel-to-C/20180402-120344 reproduce: make htmldocs All warnings (new ones prefixed by >>): WARNING: convert(1) not found, for SVG to PDF conversion install ImageMagick (https://www.imagemagick.org) include/linux/kernel

Re: [PATCH 09/45] C++: x86: Fix the x86 syscall table production for C++

2018-04-02 Thread kbuild test robot
://github.com/0day-ci/linux/commits/David-Howells/C-Convert-the-kernel-to-C/20180402-120344 config: um-x86_64_defconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=um SUBARCH=x86_64 All errors (new ones

Re: [PATCH 1/2] Move kfree_call_rcu() to slab_common.c

2018-04-02 Thread kbuild test robot
/rao-shoaib-oracle-com/Move-kfree_rcu-out-of-rcu-code-and-use-kfree_bulk/20180402-135939 base: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next config: i386-tinyconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached

Re: [PATCH v5 2/5] arm: arm64: page_alloc: reduce unnecessary binary search in memblock_next_valid_pfn()

2018-04-02 Thread Daniel Vacek
On Mon, Apr 2, 2018 at 4:30 AM, Jia He wrote: > Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns > where possible") optimized the loop in memmap_init_zone(). But there is > still some room for improvement. E.g. if pfn and pfn+1 are in the same > memblock region, we can simpl

Re: [PATCH] nvmet: fix nvmet_execute_write_zeroes function

2018-04-02 Thread chaitany kulkarni
Please give me a couple of days, I'll look into this. On Fri, Mar 30, 2018 at 2:48 PM, Rodrigo Rosatti Galvão wrote: > >> Doesn't that mean your host is using this command wrong? The NLB is a >> 0's based value, we're supposed to +1 to get the correct block count. > > > Keith, I tested passing di

Re: [PATCH v6 11/16] nios2: Switch to generic free_initrd_mem.

2018-04-02 Thread Ley Foon Tan
On Sun, 2018-04-01 at 10:59 -0400, Shea Levy wrote: > The first patch in this series added a weakly-defined generic > implementation, which is functionally identical to the > architecture-specific one removed here. > > Series boot-tested on RISC-V (which now uses the generic > implementation) and

Re: [PATCH v3 1/5] mm: page_alloc: remain memblock_next_valid_pfn() when CONFIG_HAVE_ARCH_PFN_VALID is enable

2018-04-02 Thread Wei Yang
On Wed, Mar 28, 2018 at 05:49:23PM +0800, Jia He wrote: > > >On 3/28/2018 5:18 PM, Wei Yang Wrote: >> Oops, I should reply this thread. Forget about the reply on another thread. >> >> On Sun, Mar 25, 2018 at 08:02:15PM -0700, Jia He wrote: >> > Commit b92df1de5d28 ("mm: page_alloc: skip over regio

Re: [PATCH v5 5/5] mm: page_alloc: reduce unnecessary binary search in early_pfn_valid()

2018-04-02 Thread Jia He
On 4/2/2018 3:00 PM, Ard Biesheuvel Wrote: How much does it improve the performance? And in which cases? I guess it improves boot time on systems with physical address spaces that are sparsely populated with DRAM, but you really have to quantify this if you want other people to care. Yes, I wr

Re: [PATCH 1/2] perf: riscv: preliminary RISC-V support

2018-04-02 Thread Alan Kao
Hi Alex, On Mon, Apr 02, 2018 at 03:36:12PM +0800, Alan Kao wrote: > On Sat, Mar 31, 2018 at 03:47:10PM -0700, Alex Solomatnikov wrote: > > The original guess was that maybe, an counter value on a hart is picked > as the minusend, and an old counter value on another hart was recorded > as the s

[GIT PULL] perf changes for v4.17

2018-04-02 Thread Ingo Molnar
Linus, Please pull the latest perf-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-core-for-linus # HEAD: 1159e09476536250c2a0173d4298d15114df7a89 perf/x86/intel: Enable C-state residency events for Cannon Lake The main kernel side changes wer

[GIT PULL] RAS changes for v4.17

2018-04-02 Thread Ingo Molnar
Linus, Please pull the latest ras-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git ras-core-for-linus # HEAD: e2efacb6a54ab54626da3507be1008d0040492cc Revert "x86/mce/AMD: Collect error info even if valid bits are not set" The main changes in this c

Re: [PATCH] gpio: fix ifnullfree.cocci warnings

2018-04-02 Thread Lukas Wunner
On Fri, Mar 30, 2018 at 08:32:56AM +0200, Julia Lawall wrote: > --- a/drivers/gpio/gpiolib.c > +++ b/drivers/gpio/gpiolib.c > @@ -2774,8 +2773,7 @@ int gpiod_get_array_value_complex(bool r > trace_gpio_value(desc_to_gpio(desc), 1, value); > } > > - i

Re: [PATCH v5 2/5] arm: arm64: page_alloc: reduce unnecessary binary search in memblock_next_valid_pfn()

2018-04-02 Thread Daniel Vacek
On Mon, Apr 2, 2018 at 8:57 AM, Ard Biesheuvel wrote: > On 2 April 2018 at 04:30, Jia He wrote: >> Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns >> where possible") optimized the loop in memmap_init_zone(). But there is >> still some room for improvement. E.g. if pfn and

[GIT PULL] scheduler changes for v4.17

2018-04-02 Thread Ingo Molnar
Linus, Please pull the latest sched-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-core-for-linus # HEAD: b720342849fe685310fca01748a32730a6eca5aa sched/core: Update preempt_notifier_key to modern API The main scheduler changes in this cycl

Re: [lkp-robot] [list_lru] 42658d54ce: BUG:unable_to_handle_kernel

2018-04-02 Thread Kirill Tkhai
Hi, Xiaolong, thanks for reporting this. I'll make needed changes in v2. Kirill On 02.04.2018 06:17, kernel test robot wrote: > > FYI, we noticed the following commit (built with gcc-7): > > commit: 42658d54ce4d9c25c8a286651c60cbc869f2f91e ("list_lru: Add memcg > argument to list_lru_from_km

[GIT PULL] SMP hotplug changes for v4.17

2018-04-02 Thread Ingo Molnar
Linus, Please pull the latest smp-hotplug-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git smp-hotplug-for-linus # HEAD: fcb3029a8d89487470f2e175645a9a993949233c cpu/hotplug: Fix unused function warning Simplify the CPU hot-plug state machine. Thanks,

Re: [PATCH] gpio: fix ifnullfree.cocci warnings

2018-04-02 Thread Julia Lawall
On Mon, 2 Apr 2018, Lukas Wunner wrote: > On Fri, Mar 30, 2018 at 08:32:56AM +0200, Julia Lawall wrote: > > --- a/drivers/gpio/gpiolib.c > > +++ b/drivers/gpio/gpiolib.c > > @@ -2774,8 +2773,7 @@ int gpiod_get_array_value_complex(bool r > > trace_gpio_value(desc_to_gpio(desc)

[GIT PULL] x86/apic changes for v4.17

2018-04-02 Thread Ingo Molnar
Linus, Please pull the latest x86-apic-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-apic-for-linus # HEAD: e25283bf83bd97a61007ab383695f4872e2eb43f x86/apic: Finish removing unused callbacks The main x86 APIC/IOAPIC changes in this cycle were:

Re: [PATCH v3 2/2] drivers: soc: Add LLCC driver

2018-04-02 Thread Stanimir Varbanov
Hi, Please adjust your mail client to drop on new line on 80 column! On 03/29/2018 08:55 PM, Channa wrote: > On 2018-03-29 01:08, Stanimir Varbanov wrote: >> Hi, >> >> On 03/27/2018 09:52 PM, Rishabh Bhatnagar wrote: >>> LLCC (Last Level Cache Controller) provides additional cache memory >>> in t

Re: [PATCH net-next v2 1/2] fs/crashdd: add API to collect hardware dump in second kernel

2018-04-02 Thread Jiri Pirko
Fri, Mar 30, 2018 at 08:42:00PM CEST, ebied...@xmission.com wrote: >Rahul Lakkireddy writes: > >> On Friday, March 03/30/18, 2018 at 16:09:07 +0530, Jiri Pirko wrote: >>> Sat, Mar 24, 2018 at 11:56:33AM CET, rahul.lakkire...@chelsio.com wrote: >>> >Add a new module crashdd that exports the /sys/ke

Re: [PATCH net-next v2 1/2] fs/crashdd: add API to collect hardware dump in second kernel

2018-04-02 Thread Jiri Pirko
Fri, Mar 30, 2018 at 05:11:29PM CEST, and...@lunn.ch wrote: >> Please see: >> http://patchwork.ozlabs.org/project/netdev/list/?series=36524 >> >> I bevieve that the solution in the patchset could be used for >> your usecase too. > >Hi Jiri > >https://lkml.org/lkml/2018/3/20/436 > >How well does th

Re: [PATCH v4 08/14] dt: qcom: Add opp and thermal to the msm8996

2018-04-02 Thread Viresh Kumar
On 30-03-18, 00:26, Ilia Lin wrote: > Signed-off-by: Ilia Lin > --- > arch/arm64/boot/dts/qcom/msm8996.dtsi | 275 > +- > 1 file changed, 267 insertions(+), 8 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi > b/arch/arm64/boot/dts/qcom/msm899

Re: [PATCH v3 1/5] mm: page_alloc: remain memblock_next_valid_pfn() when CONFIG_HAVE_ARCH_PFN_VALID is enable

2018-04-02 Thread Jia He
On 4/2/2018 4:12 PM, Wei Yang Wrote: On Wed, Mar 28, 2018 at 05:49:23PM +0800, Jia He wrote: On 3/28/2018 5:18 PM, Wei Yang Wrote: Oops, I should reply this thread. Forget about the reply on another thread. On Sun, Mar 25, 2018 at 08:02:15PM -0700, Jia He wrote: Commit b92df1de5d28 ("mm: p

KASAN: use-after-free Read in ccid2_hc_tx_packet_recv

2018-04-02 Thread syzbot
Hello, syzbot hit the following crash on upstream commit 0adb32858b0bddf4ada5f364a84ed60b196dbcda (Sun Apr 1 21:20:27 2018 +) Linux 4.16 syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=554ccde221001ab5479a Unfortunately, I don't have any reproducer for this crash yet. Raw c

possible deadlock in skb_queue_tail

2018-04-02 Thread syzbot
Hello, syzbot hit the following crash on net-next commit 06b19fe9a6df7aaa423cd8404ebe5ac9ec4b2960 (Sun Apr 1 03:37:33 2018 +) Merge branch 'chelsio-inline-tls' syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=6b495100f17ca8554ab9 Unfortunately, I don't have any reproducer fo

INFO: task hung in perf_trace_event_unreg

2018-04-02 Thread syzbot
Hello, syzbot hit the following crash on upstream commit 0adb32858b0bddf4ada5f364a84ed60b196dbcda (Sun Apr 1 21:20:27 2018 +) Linux 4.16 syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=2dbc55da20fa246378fd Unfortunately, I don't have any reproducer for this crash yet. Raw c

[RFC PATCH 0/1] mm: Support multiple kswapd threads per node

2018-04-02 Thread Buddy Lumpkin
I created this patch to address performance problems we are seeing in Oracle Cloud Infrastructure. We run the Oracle Linux UEK4 kernel internally, which is based on upstream 4.1. I created and tested this patch for the latest upstream kernel and UEK4. I was able to show substantial benefits in bot

[RFC PATCH 1/1] vmscan: Support multiple kswapd threads per node

2018-04-02 Thread Buddy Lumpkin
Page replacement is handled in the Linux Kernel in one of two ways: 1) Asynchronously via kswapd 2) Synchronously, via direct reclaim At page allocation time the allocating task is immediately given a page from the zone free list allowing it to go right back to work doing whatever it was doing; P

Re: [PATCH v4 12/14] cpufreq: Add Kryo CPU scaling driver

2018-04-02 Thread Viresh Kumar
On 30-03-18, 00:26, Ilia Lin wrote: > diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c > b/drivers/cpufreq/cpufreq-dt-platdev.c > index 3b585e4..88e8a6e 100644 > --- a/drivers/cpufreq/cpufreq-dt-platdev.c > +++ b/drivers/cpufreq/cpufreq-dt-platdev.c > @@ -127,6 +127,9 @@ > { .compatible = "

Re: [PATCH 00/45] C++: Convert the kernel to C++

2018-04-02 Thread Vegard Nossum
On 1 April 2018 at 22:40, David Howells wrote: > > Here are a series of patches to start converting the kernel to C++. It > requires g++ v8. Nice! I tried something similar a few years ago, but I don't think it was nearly as neat. I did get RTTI and exceptions to work (using libcxxrt + libunwin

Re: [PATCH v4 13/14] dt-bindings: cpufreq: Document operating-points-v2-kryo-cpu

2018-04-02 Thread Viresh Kumar
+Sricharan, On 30-03-18, 00:26, Ilia Lin wrote: > In Certain Qualcomm Technologies, Inc. SoCs like apq8096 and msm8996 > that have KRYO processors, the CPU ferequencies subset and voltage value > of each OPP varies based on the silicon variant in use. > Qualcomm Technologies, Inc. Process Voltage

[PATCH] scsi: hosts: remove redundant assingment of shost->use_blk_mq

2018-04-02 Thread Johannes Thumshirn
Coverity reports that we're assigning shost->use_blk_mq twice. This looks like the result of a bad merge of commit 2f31115e940c ("scsi: core: introduce force_blk_mq") Signed-off-by: Johannes Thumshirn --- drivers/scsi/hosts.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/hosts.

Re: [PATCH 1/2] Move kfree_call_rcu() to slab_common.c

2018-04-02 Thread kbuild test robot
/commits/rao-shoaib-oracle-com/Move-kfree_rcu-out-of-rcu-code-and-use-kfree_bulk/20180402-135939 base: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF

[GIT PULL] x86/asm changes for v4.17

2018-04-02 Thread Ingo Molnar
Linus, Please pull the latest x86-asm-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-asm-for-linus # HEAD: 16c5055a5ff5e1ff13c5211e44514a2b1d2c1dae x86/asm: Trim clear_page.S includes A clobber list fix and cleanups. Thanks, Ingo --

[GIT PULL] x86/build changes for v4.17

2018-04-02 Thread Ingo Molnar
Linus, Please pull the latest x86-build-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-build-for-linus # HEAD: d6289f36aa7d5893d091a7a0c67eee7798719f03 x86/build: Don't pass in -D__KERNEL__ multiple times The biggest change is the forcing of asm-go

[GIT PULL] x86/msr changes and x86/cleanups for v4.17

2018-04-02 Thread Ingo Molnar
Linus, Please pull the latest x86-cleanups-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-cleanups-for-linus # HEAD: 9b9a51354cae933f5640b5bb73bbcd32f989122f x86/msr: Make rdmsrl_safe_on_cpu() scheduling safe as well The main change is a performan

[PATCH] ALSA: hda/realtek: Enable audio line out on ASUS D640SA

2018-04-02 Thread Jian-Hong Pan
This ASUS D640SA desktop whose mother board is D640MB has - two jacks which are a headphone and a mic on the front panel, - three jacks which are a mic, a line out and a line in on the rear panel - one internal speaker. If I plug a headphone to the front headphone jack, there will be sound through

Re: [PATCH v3 04/13] ARM: dts: ipq4019: Update ipq4019-dk01.1 board data

2018-04-02 Thread sricharan
On 2018-03-29 22:07, Richard Cochran wrote: On Thu, Mar 29, 2018 at 09:37:15AM -0500, Andy Gross wrote: Feel free to send your own contributions where you are adding the things that are important to you. You can count on it. I am really happy that ipq4019 at least boots mainline. BTW is

Re: [PATCH v1] scsi: ufs: add 2 lane support

2018-04-02 Thread Vivek Gautam
Hi Can, On 3/2/2018 1:48 PM, Can Guo wrote: From: Venkat Gopalakrishnan Qcom ufs controller v3.1.0 supports 2 lanes, add support to configure 2 lanes during phy initialization. Signed-off-by: Venkat Gopalakrishnan Signed-off-by: Subhash Jadavani Signed-off-by: Can Guo --- drivers/scsi/u

Re: [PATCH] cpufreq: cppc_cpufreq: Initialize shared cpu's perf capabilities

2018-04-02 Thread Yang, Shunyong
Hi, Kumar, On Mon, 2018-04-02 at 12:38 +0530, Viresh Kumar wrote: > On 28-03-18, 17:31, Shunyong Yang wrote: > > > > When multiple cpus are related in one cpufreq policy, the first > > online > > cpu will be chosen by default to handle cpufreq operations. Let's > > take > > cpu0 and cpu1 as an ex

Re: [PATCH v5] ANDROID: binder: change down_write to down_read

2018-04-02 Thread Ganesh Mahendran
2018-04-02 15:11 GMT+08:00 Minchan Kim : > On Mon, Apr 02, 2018 at 02:46:14PM +0800, Ganesh Mahendran wrote: >> 2018-04-02 14:34 GMT+08:00 Minchan Kim : >> > On Fri, Mar 30, 2018 at 12:04:07PM +0200, Greg Kroah-Hartman wrote: >> >> On Fri, Mar 30, 2018 at 10:29:21AM +0900, Minchan Kim wrote: >> >>

[GIT PULL] x86/mm changes for v4.17

2018-04-02 Thread Ingo Molnar
Linus, Please pull the latest x86-mm-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-mm-for-linus # HEAD: eaeb8e76cd5751e805f6e4a3fcec91d283e3b0c2 x86/cpu/tme: Fix spelling: "configuation" -> "configuration" - Extend the memmap= boot parameter syn

[GIT PULL] x86/platform changes for v4.17

2018-04-02 Thread Ingo Molnar
Linus, Please pull the latest x86-platform-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-platform-for-linus # HEAD: 47a9973d3ed8994589c845c8b1a293a475a549a9 x86/PCI: Fix a potential regression when using dmi_get_bios_year() The main changes in th

[GIT PULL] x86/timers changes for v4.17

2018-04-02 Thread Ingo Molnar
Linus, Please pull the latest x86-timers-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-timers-for-linus # HEAD: ea89c065482179b2bf9f9b6788b06a6e0c68a73b x86/tsc: Get rid of rdtscll() Two changes: add the new convert_art_ns_to_tsc() API for upcomi

RE: Employee/Staff Urgency

2018-04-02 Thread Girdler, William
Employee/Staff Urgency. This is to Notify all Employee/Staff, there would be an Important Update SecureTide® BARACUDA 2018 Anti-Spam filter for all Outlook Webmail users. this is to Secure our Inboxes from Spam & Malware Worldwide. to activate, Kindly click on Encrypt Email

[GIT PULL] sched/wait changes for v4.17

2018-04-02 Thread Ingo Molnar
Linus, Please pull the latest sched-wait-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-wait-for-linus # HEAD: b3fc5c9bb373661224906bf434c09ca0de032e82 sched/wait: Improve __var_waitqueue() code generation NOTE: this tree depends on the sched/co

[PATCH] f2fs: fix to show encrypt flag in FS_IOC_GETFLAGS

2018-04-02 Thread Chao Yu
This patch fixes to show encrypt flag in FS_IOC_GETFLAGS like ext4 does. Signed-off-by: Chao Yu --- fs/f2fs/file.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 8068b015ece5..271fadadaa36 100644 --- a/fs/f2fs/file.c +++ b/fs/f2

Re: [PATCH] time: export nsec_to_clock_t

2018-04-02 Thread Viresh Kumar
On 29-03-18, 21:11, Thomas Gleixner wrote: > On Thu, 29 Mar 2018, Zhang Rui wrote: > > On 三, 2018-03-28 at 16:11 +0200, Arnd Bergmann wrote: > > > nsec_to_clock_t was traditionally used only in the core kernel, now > > > we > > > have a sysfs file that needs it from a loadable module, causing a > >

Re: [PATCH v5] ANDROID: binder: change down_write to down_read

2018-04-02 Thread Minchan Kim
Hi Ganesh, On Mon, Apr 02, 2018 at 06:01:59PM +0800, Ganesh Mahendran wrote: > 2018-04-02 15:11 GMT+08:00 Minchan Kim : > > On Mon, Apr 02, 2018 at 02:46:14PM +0800, Ganesh Mahendran wrote: > >> 2018-04-02 14:34 GMT+08:00 Minchan Kim : > >> > On Fri, Mar 30, 2018 at 12:04:07PM +0200, Greg Kroah-Ha

[GIT PULL] DMA updates for v4.17

2018-04-02 Thread Ingo Molnar
Linus, Please pull the latest x86-dma-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-dma-for-linus # HEAD: e89f5b37015309a8bdf0b21d08007580b92f92a4 dma-mapping: Don't clear GFP_ZERO in dma_alloc_attrs NOTE: this tree depends on the x86/mm tree - if

Re: [PATCH 1/2] clk: qcom: clk-rpmh: Add QCOM RPMh clock driver

2018-04-02 Thread Taniya Das
Hello Evan, Thanks for the review comments. On 3/30/2018 3:19 AM, Evan Green wrote: Hi Taniya, On Wed, Mar 28, 2018 at 11:19 PM Taniya Das wrote: From: Amit Nischal Add the RPMh clock driver to control the RPMh managed clock resources on some of the Qualcomm Technologies, Inc. SoCs.

[RFC 5/6] dmaengine: xilinx_dma: Program interrupt delay timeout

2018-04-02 Thread Radhey Shyam Pandey
Program IRQDelay for AXI DMA. The interrupt timeout mechanism causes the DMA engine to generate an interrupt after the delay time period has expired. It enables dmaengine to respond in real-time even though interrupt coalescing is configured. Signed-off-by: Radhey Shyam Pandey --- drivers/dma/xi

[RFC 4/6] dmaengine: xilinx_dma: Freeup active list based on descriptor completion bit

2018-04-02 Thread Radhey Shyam Pandey
AXIDMA IP sets completion bit to 1 when the transfer is completed. Read this bit to move descriptor from active list to the done list. This feature is needed when interrupt delay timeout and IRQThreshold is enabled i.e Dly_IrqEn is triggered w/o completing Interrupt Threshold. Signed-off-by: Radhe

[RFC 1/6] dt-bindings: dma: xilinx_dma: Add optional property has_axieth_connected

2018-04-02 Thread Radhey Shyam Pandey
Add an optional AXI DMA property 'has_axieth_connected'. This can be specified to indicate that AXI DMA is connected to AXI Ethernet in hardware design and dma driver needs to do some additional handling. Signed-off-by: Radhey Shyam Pandey --- .../devicetree/bindings/dma/xilinx/xilinx_dma.txt |

[RFC 0/6] Xilinx DMA enhancements and optimization

2018-04-02 Thread Radhey Shyam Pandey
Some background about the patch series: Xilinx Axi Ethernet device driver (xilinx_axienet_main.c) currently has axi-dma code inside it. The goal is to refactor axiethernet driver and use existing AXI DMA driver using DMAEngine API. This patchset does feature addition and optimization to support i

[RFC 6/6] dmaengine: xilinx_dma: Use tasklet_hi_schedule for timing critical usecase

2018-04-02 Thread Radhey Shyam Pandey
Schedule tasklet with high priority to ensure that callback processing is prioritized. It improves throughput for netdev dma clients. Signed-off-by: Radhey Shyam Pandey --- drivers/dma/xilinx/xilinx_dma.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/dma/xilin

[RFC 3/6] dmaengine: xilinx_dma: Increase AXI DMA transaction segment count

2018-04-02 Thread Radhey Shyam Pandey
Increase AXI DMA transaction segments count to ensure that even in high load we always get a free segment in prepare descriptor for a DMA_SLAVE transaction. Signed-off-by: Radhey Shyam Pandey --- drivers/dma/xilinx/xilinx_dma.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --

[RFC 2/6] dmaengine: xilinx_dma: Pass AXI4-Stream control words to netdev dma client

2018-04-02 Thread Radhey Shyam Pandey
Read DT property to check if AXI DMA is connected to axithernet. If connected pass AXI4-Stream control words to netdev dma client. It is mandatory that netdev dma client reserve initial memory for max supported control words in callback_param. Signed-off-by: Radhey Shyam Pandey --- drivers/dma/x

Re: [PATCH v2 0/7] net: thunderx: implement DMAC filtering support

2018-04-02 Thread Vadim Lomovtsev
On Sat, Mar 31, 2018 at 10:07:30PM -0400, David Miller wrote: > From: Vadim Lomovtsev > Date: Fri, 30 Mar 2018 04:59:46 -0700 > > > From: Vadim Lomovtsev > > > > By default CN88XX BGX accepts all incoming multicast and broadcast > > packets and filtering is disabled. The nic driver doesn't prov

Re: general protection fault in kernfs_kill_sb

2018-04-02 Thread Tetsuo Handa
On 2018/04/02 2:01, syzbot wrote: > Hello, > > syzbot hit the following crash on bpf-next commit > 7828f20e3779e4e85e55371e0e43f5006a15fb41 (Sat Mar 31 00:17:57 2018 +) > Merge branch 'bpf-cgroup-bind-connect' > syzbot dashboard link: > https://syzkaller.appspot.com/bug?extid=151de3f2be6b40ac

[GIT PULL] EFI updates for v4.17

2018-04-02 Thread Ingo Molnar
Linus, Please pull the latest efi-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git efi-core-for-linus # HEAD: 03781e40890c18bdea40092355b61431d0073c1d x86/efi: Use efi_switch_mm() rather than manually twiddling with %cr3 NOTE: this tree depends on t

[PATCH 1/3] clk: qcom: gdsc: Add support to reset AON and block reset logic

2018-04-02 Thread Taniya Das
From: Amit Nischal For some of the gdsc power domains, there could be need to reset the AON logic or assert/deassert the block control reset before removing the clamp_io. Add support for the same by introducing new flags SW_RESET and AON_RESET. Both SW reset and AON reset requires to be asserted

[PATCH 2/3] clk: qcom: gdsc: Add support to poll for higher timeout value

2018-04-02 Thread Taniya Das
From: Amit Nischal For some gdscs, it might take longer time up to 500us for updating their status. So add support for the same by defining a new flag 'GDS_TIMEOUT' to mark such gdsc in order to poll their status for longer timeout value. Signed-off-by: Amit Nischal Signed-off-by: Taniya Das -

[PATCH 0/3] Update reset and poll logic for GDSCs

2018-04-02 Thread Taniya Das
This series implements the below logic for the GDSCs 1. logic to reset the AON logic before or assert/deassert the block control reset removing the clamp io for few GDSCs on SDM845 SoC. 2. It also introduces the requirement to poll for higher timeout values for few of the GDSCs. 3. There is

[PATCH 3/3] clk: qcom: gdsc: Add support to poll CFG register to check GDSC state

2018-04-02 Thread Taniya Das
From: Amit Nischal The default behavior of the GDSC enable/disable sequence is to poll the status bits of either the actual GDSCR or the corresponding HW_CTRL registers. On targets which have support for a CFG_GDSCR register, the status bits might not show the correct state of the GDSC, especial

[PATCH V5] thermal: Add cooling device's statistics in sysfs

2018-04-02 Thread Viresh Kumar
This extends the sysfs interface for thermal cooling devices and exposes some pretty useful statistics. These statistics have proven to be quite useful specially while doing benchmarks related to the task scheduler, where we want to make sure that nothing has disrupted the test, specially the cooli

Re: [PATCH] ACPI / PM: Fix wake up by PS2 keyboard fail on ASUS UX331UA

2018-04-02 Thread Rafael J. Wysocki
On Saturday, March 31, 2018 4:09:31 AM CEST Chris Chiu wrote: > This issue happens on new ASUS laptop UX331UA which has modern > standby mode (suspend-to-idle). Pressing keys on the PS2 keyboard > can't wake up the system from suspend-to-idle which is not expected. > However, pressing power button

[GIT PULL] ACPI updates for v4.17-rc1

2018-04-02 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpi-4.17-rc1 with top-most commit 49076b2c64a25d21d5d2870dc9caa4aa562b8609 Merge branches 'acpi-osi', 'acpi-scan', 'acpi-tad', 'acpi-video' and 'acpi-misc' on top of commit 3eb2ce825ea1ad

[GIT PULL] Power management updates for v4.17-rc1

2018-04-02 Thread Rafael J. Wysocki
Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-4.17-rc1 with top-most commit 103cf0e5799ce024fd28dfab716d7111afe4b117 Merge branches 'pm-cpuidle' and 'pm-tools' on top of commit 0c8efd610b58cb23cefdfa12015799079aef94ae Linux 4.16-

Re: [REVIEW][PATCH 11/11] ipc/sem: Fix semctl(..., GETPID, ...) between pid namespaces

2018-04-02 Thread Manfred Spraul
Hi, On 03/30/2018 09:09 PM, Davidlohr Bueso wrote: On Wed, 28 Mar 2018, Davidlohr Bueso wrote: On Fri, 23 Mar 2018, Eric W. Biederman wrote: Today the last process to update a semaphore is remembered and reported in the pid namespace of that process.  If there are processes in any other pid

Re: [PATCH v8 42/42] ARM: dts: da850: Add clocks

2018-04-02 Thread Sekhar Nori
On Friday 16 March 2018 10:50 PM, David Lechner wrote: > On 03/15/2018 09:52 PM, David Lechner wrote: >> This adds clock provider nodes for da850 and wires them up to all of the >> devices. >> >> Signed-off-by: David Lechner >> --- > > ... > > This is the mcasp0: mcasp@10 node... > >> @@ -5

Re: [RFC PATCH v3 1/3] ima: extend clone() with IMA namespace support

2018-04-02 Thread Stefan Berger
On 03/29/2018 01:44 PM, Dr. Greg Wettstein wrote: On Mar 28, 8:44am, Stefan Berger wrote: } Subject: Re: [RFC PATCH v3 1/3] ima: extend clone() with IMA namespace sup Good morning, I hope the week is going well for everyone. On 03/28/2018 08:14 AM, Dr. Greg Wettstein wrote: On Wed, Mar 28, 2

Re: [PATCH] ALSA: hda/realtek: Enable audio line out on ASUS D640SA

2018-04-02 Thread Takashi Iwai
On Mon, 02 Apr 2018 09:33:13 +0200, Jian-Hong Pan wrote: > > This ASUS D640SA desktop whose mother board is D640MB has > - two jacks which are a headphone and a mic on the front panel, > - three jacks which are a mic, a line out and a line in on the rear panel > - one internal speaker. > > If I p

Re: [PATCH v2 01/75] staging: ks7010: Use the ARRAY_SIZE() macro to calculate array sizes.

2018-04-02 Thread Dan Carpenter
On Sat, Mar 31, 2018 at 07:12:53AM -0700, Joe Perches wrote: > On Sat, 2018-03-31 at 11:41 +0300, Dan Carpenter wrote: > > On Fri, Mar 30, 2018 at 11:36:13PM -0700, Joe Perches wrote: > > > On Fri, 2018-03-30 at 23:07 -0700, Quytelda Kahja wrote: > > > > This macro, provided in 'linux/kernel.h', wi

Re: [PATCH v2] staging: mt7621-eth: Fix sparse warning in ethtool.c

2018-04-02 Thread Christian Lütke-Stetzkamp
On Mon, Apr 02, 2018 at 01:41:33PM +1000, NeilBrown wrote: > On Mon, Apr 02 2018, Sean Wang wrote: > > Hi, Neil > > > > Forgive me I cannot find the cover letter in the original series in my > > mailbox to make a reply, so I rudely made here just letting you know > > something good to the growth of

[RFC] Is it correctly that the usage for spin_{lock|unlock}_irq in clear_page_dirty_for_io

2018-04-02 Thread Wang Long
Hi,  Johannes Weiner and Tejun Heo I use linux-4.4.y to test the new cgroup controller io and the current stable kernel linux-4.4.y has the follow logic int clear_page_dirty_for_io(struct page *page){ ... ...     memcg = mem_cgroup_begin_page_stat(page); --(a)  

Re: [Question] MFD driver that handles clocks/resets and populates child nodes

2018-04-02 Thread Andrew Lunn
> The maintainer of DWC3, Felipe Balbi, requested to > split the glue layer driver into small parts such as > reset, regulator, phy, etc. What exactly did Felipe ask for? Did he ask that the patch be split up, one patch per reset, regulator, phy etc? Are all these resources used just by the DWC3?

[PATCH] x86/mm: Fix documentation of module mapping with 4-level paging

2018-04-02 Thread Kirill A. Shutemov
f5a40711fa58 ("x86/mm: Set MODULES_END to 0xff00") changed MODULES_END back to fixed value, but didn't update documentation of memory layout for 4-level paging. Signed-off-by: Kirill A. Shutemov Fixes: f5a40711fa58 ("x86/mm: Set MODULES_END to 0xff00") Cc: Andrey Ryabinin

[PATCH v2] serial: 8250: omap: Provide ability to enable/disable UART as wakeup source

2018-04-02 Thread Vignesh R
Enable/Clear module level UART wakeup in UART_OMAP_WER register based on return value of device_may_wakeup() in .suspend(). This allows userspace to use sysfs to control the ability of UART to wakeup the system from deep sleep state. Register is restored back in .startup() call that happens as part

Re: [PATCH net-next v2 1/2] fs/crashdd: add API to collect hardware dump in second kernel

2018-04-02 Thread Andrew Lunn
> >> The sysfs approach proposed here had been dropped in favour exporting > >> the dumps as ELF notes in /proc/vmcore. > >> > >> Will be posting the new patches soon. > > > >The concern was actually how you identify which device that came from. > >Where you read the identifier changes but sysfs or

Re: [PATCH] mtd: nand: raw: atmel: add module param to avoid using dma

2018-04-02 Thread Boris Brezillon
On Thu, 29 Mar 2018 16:27:12 +0200 Peter Rosin wrote: > On 2018-03-29 15:44, Boris Brezillon wrote: > > On Thu, 29 Mar 2018 15:37:43 +0200 > > Peter Rosin wrote: > > > >> On 2018-03-29 15:33, Boris Brezillon wrote: > >>> On Thu, 29 Mar 2018 15:10:54 +0200 > >>> Peter Rosin wrote: > >>>

  1   2   3   4   5   6   >