Re: [PATCH 3/3] arm64: dts: synaptics: add dtsi file for Synaptics AS370 SoC

2018-07-24 Thread Jisheng Zhang
Hi Rob, On Fri, 20 Jul 2018 09:21:17 -0600 Rob Herring wrote: > On Fri, Jul 13, 2018 at 05:26:26PM +0800, Jisheng Zhang wrote: > > Add initial dtsi file to support Synaptics AS370 SoC with quad > > Cortex-A53 CPUs. > > > > Signed-off-by: Jisheng Zhang > > --- > >

Re: Linux 4.18-rc6

2018-07-24 Thread Martin Schwidefsky
On Mon, 23 Jul 2018 16:17:22 -0700 Linus Torvalds wrote: > On Mon, Jul 23, 2018 at 2:23 PM Guenter Roeck wrote: > > > > > > > > Martin - can we just remove the > > > > > > select HAVE_GCC_PLUGINS > > > > > > from the s390 Kconfig file (or perhaps add "if BROKEN" or something to > > >

Re: [PATCH v2 2/2] PCI: NVMe device specific reset quirk

2018-07-24 Thread Christoph Hellwig
> As all NVMe devices make use of this standard interface and the NVMe > specification also requires PCIe FLR support, we can apply this quirk > to all devices with matching class code. But not all NVMe devices require this quirk. So please only quirk devices that actually require it.

Re: [PATCH v10 4/7] Bluetooth: hci_qca: Add wrapper functions for setting UART speed

2018-07-24 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-07-23 23:26, Matthias Kaehlcke wrote: On Fri, Jul 20, 2018 at 07:02:40PM +0530, Balakrishna Godavarthi wrote: In function qca_setup, we set initial and operating speeds for Qualcomm Bluetooth SoC's. This block of code is common across different Qualcomm Bluetooth SoC's.

linux-next: Tree for Jul 24

2018-07-24 Thread Stephen Rothwell
Hi all, Changes since 20180723: Dropped trees: xarray, ida (complex conflicts) The arm64 tree gained a conflict against Linus' tree. The xarray tree still had its complex conflicts against the nvdimm tree so I have dropped it again for today (along with the ida tree that is built on top of

Re: [PATCH v2 2/4] i2c: imx: Fix race condition in dma read

2018-07-24 Thread Uwe Kleine-König
On Mon, Jul 09, 2018 at 11:43:02AM +0200, Esben Haabendal wrote: > From: Esben Haabendal > > This fixes a race condition, where the DMAEN bit ends up being set after > I2C slave has transmitted a byte following the dummy read. When that > happens, an interrupt is generated instead, and no DMA

Re:Re: [PATCH RESEND] KVM: Add coalesced PIO support

2018-07-24 Thread peng.hao2
>>You've just stripped the authorship information and his/her >>signed-off-by even from Cc! >Will do in next version, I just help to make progress. I've tried to push the patch serveral times before but didn't make it and almost gave up .And Wanpeng told me that he wanted to make progress

Re: linux-next: build warning after merge of the arm64 tree

2018-07-24 Thread Arnd Bergmann
On Tue, Jul 24, 2018 at 2:26 AM, AKASHI Takahiro wrote: > On Tue, Jul 24, 2018 at 09:05:45AM +1000, Stephen Rothwell wrote: >> Hi all, >> >> After merging the arm64 tree, today's linux-next build (x86_64 >> allmodconfig) produced this warning: > > Where can I find this specific branch? > >>

Re: [PATCH RESEND] kthread, tracing: Don't expose half-written comm when creating kthreads

2018-07-24 Thread Snild Dolkow
On 07/23/2018 06:41 PM, Steven Rostedt wrote: > On Mon, 23 Jul 2018 17:49:36 +0200 > Snild Dolkow wrote: >> Any issues with the commit message? Reading it back again now, it doesn't >> seem quite as clear as when I wrote it. > > Yeah, I think it does need some updates: > >> There was a window

[PATCH v1 08/15] drm/mediatek: add RGB color format support for RDMA

2018-07-24 Thread Stu Hsieh
This patch add RGB color format support for RDMA, including RGB565, RGB888, RGBA and ARGB. Signed-off-by: Stu Hsieh --- drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 41 1 file changed, 41 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_disp_rdma.c

Re: [PATCH 1/4] sched/topology: SD_ASYM_CPUCAPACITY flag detection

2018-07-24 Thread Morten Rasmussen
On Mon, Jul 23, 2018 at 05:07:50PM +0100, Qais Yousef wrote: > On 23/07/18 16:27, Morten Rasmussen wrote: > >It does increase the cost of things like hotplug slightly and > >repartitioning of root_domains a slightly but I don't see how we can > >avoid it if we want generic code to set this flag.

Re: [PATCH 2/2] cpufreq: Fix a circular lock dependency problem

2018-07-24 Thread Rafael J. Wysocki
On Mon, Jul 23, 2018 at 9:27 PM, Waiman Long wrote: > On 07/23/2018 03:16 PM, Peter Zijlstra wrote: >> On Mon, Jul 23, 2018 at 01:49:39PM -0400, Waiman Long wrote: >>> drivers/cpufreq/cpufreq.c | 16 +++- >>> 1 file changed, 15 insertions(+), 1 deletion(-) >>> >>> diff --git

Re: linux-next: build warning after merge of the fsi tree

2018-07-24 Thread Benjamin Herrenschmidt
On Tue, 2018-07-24 at 16:03 +1000, Stephen Rothwell wrote: > Hi Benjamin, > > After merging the fsi tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: Ah thanks. It's a pair of missing "z" qualifiers in those dev_dbg. This normally won't show as this driver can only

Re: WARNING in port_delete

2018-07-24 Thread Takashi Iwai
On Tue, 24 Jul 2018 05:59:56 +0200, DaeRyong Jeong wrote: > > I just realized that the crash has been spotted by Syzkaller a few days > before. > (https://syzkaller.appspot.com/bug?id=3490860a465e6b39227c6906f0ef2d40ad4d5bb1) > > I'm CC'ing Syzkaller's mailing list. It's very likely a

[PATCH] m68k/mac: Rework patch "use time64_t in RTC handling"

2018-07-24 Thread Finn Thain
This addresses the issues arising from commit 324caa29cd04 ("m68k: mac: use time64_t in RTC handling"). Adopt __u32 for the union in via_read_time(), consistent with changes to via_write_time(). Use low_32_bits() in via_write_time(), consistent with changes to pmu_write_time() and

Re: [PATCH v1 0/2] mm/kdump: exclude reserved pages in dumps

2018-07-24 Thread Michal Hocko
On Mon 23-07-18 19:20:43, David Hildenbrand wrote: > On 23.07.2018 14:30, Michal Hocko wrote: > > On Mon 23-07-18 13:45:18, Vlastimil Babka wrote: > >> On 07/20/2018 02:34 PM, David Hildenbrand wrote: > >>> Dumping tools (like makedumpfile) right now don't exclude reserved pages. > >>> So reserved

general protection fault in cpuacct_charge

2018-07-24 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:8ae71e76cf1f Merge branch 'bpf-offload-sharing' git tree: bpf-next console output: https://syzkaller.appspot.com/x/log.txt?x=1645f97840 kernel config: https://syzkaller.appspot.com/x/.config?x=89129667b46496c3 dashboard

[PATCH] m68k/defconfig: Update defconfigs for v4.18-rc6

2018-07-24 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- To be merged with "m68k/defconfig: Update defconfigs for v4.18-rc1" --- arch/m68k/configs/amiga_defconfig| 4 +--- arch/m68k/configs/apollo_defconfig | 4 +--- arch/m68k/configs/atari_defconfig| 4 +--- arch/m68k/configs/bvme6000_defconfig | 4 +---

Re: [PATCH v2 3/4] i2c: imx: Simplify stopped state tracking

2018-07-24 Thread Uwe Kleine-König
On Mon, Jul 09, 2018 at 11:43:03AM +0200, Esben Haabendal wrote: > From: Esben Haabendal > > Always update the stopped state when busy status have been checked. > This is identical to what was done before, with the exception of error > handling. > Without this change, some errors cause the

Re: [PATCH 2/2] cpufreq: Fix a circular lock dependency problem

2018-07-24 Thread Rafael J. Wysocki
On Mon, Jul 23, 2018 at 9:16 PM, Peter Zijlstra wrote: > On Mon, Jul 23, 2018 at 01:49:39PM -0400, Waiman Long wrote: >> drivers/cpufreq/cpufreq.c | 16 +++- >> 1 file changed, 15 insertions(+), 1 deletion(-) >> >> diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c >>

Re: [PATCH v4 1/4] x86/boot: Add acpitb.h to help parse acpi tables

2018-07-24 Thread Baoquan He
Hi chao, On 07/23/18 at 05:29pm, Chao Fan wrote: > In order to parse ACPI tables, reuse the head file linux/acpi.h, > so that the files in 'compressed' directory can read ACPI table > by including this head file. > > Signed-off-by: Chao Fan > --- > arch/x86/boot/compressed/acpitb.h | 7 +++

linux-next: build warning after merge of the fsi tree

2018-07-24 Thread Stephen Rothwell
Hi Benjamin, After merging the fsi tree, today's linux-next build (x86_64 allmodconfig) produced this warning: In file included from include/linux/printk.h:336:0, from include/linux/kernel.h:14, from include/linux/delay.h:22, from

[PATCH] perf c2c report: Fix crash for empty browser

2018-07-24 Thread Jiri Olsa
Do not try to display entry details if there's not any. Currently this ends up in crash: $ perf c2c report perf: Segmentation fault Reported-by: ro...@autistici.org Link: http://lkml.kernel.org/n/tip-3d7qjz9x49ay9ncerford...@git.kernel.org Signed-off-by: Jiri Olsa ---

Re: [PATCH] stop_machine: Disable preemption after queueing stopper threads

2018-07-24 Thread Sebastian Andrzej Siewior
On 2018-07-23 18:13:48 [-0700], isa...@codeaurora.org wrote: > Hi all, Hi, > Are there any comments about this patch? I haven't look in detail at this but your new preempt_disable() makes things unbalanced for the err != 0 case. > Thanks, > Isaac Manjarres Sebastian

Re: Zram writeback feature unstable with heavy swap utilization - BUG: Bad page state in process...

2018-07-24 Thread Minchan Kim
On Tue, Jul 24, 2018 at 11:53:30AM +0900, Sergey Senozhatsky wrote: > On (07/24/18 10:03), Minchan Kim wrote: > > On Mon, Jul 23, 2018 at 02:29:32PM +0200, Tino Lehnig wrote: > > > Hello, > > > > > > after enabling the writeback feature in zram, I encountered the kernel bug > > > below with heavy

Re: [PATCH v1 0/2] mm/kdump: exclude reserved pages in dumps

2018-07-24 Thread Michal Hocko
On Mon 23-07-18 19:12:58, David Hildenbrand wrote: > On 23.07.2018 13:45, Vlastimil Babka wrote: > > On 07/20/2018 02:34 PM, David Hildenbrand wrote: > >> Dumping tools (like makedumpfile) right now don't exclude reserved pages. > >> So reserved pages might be access by dump tools although nobody

Re: WARNING in port_delete

2018-07-24 Thread Takashi Iwai
On Tue, 24 Jul 2018 09:14:14 +0200, DaeRyong Jeong wrote: > > I agree with that having a C reproducer would be much better. > Now I'm working on it. > I will immediately let you know once I get the C reproducer. That's great, thanks! Takashi > > > Thank you. > > Best regards, > DaeRyong

Re: Linux 4.18-rc6

2018-07-24 Thread Martin Schwidefsky
On Tue, 24 Jul 2018 09:15:58 +0200 Christian Borntraeger wrote: > On 07/24/2018 08:18 AM, Martin Schwidefsky wrote: > > On Mon, 23 Jul 2018 16:17:22 -0700 > > Linus Torvalds wrote: > > > >> On Mon, Jul 23, 2018 at 2:23 PM Guenter Roeck wrote: > >>> > > Martin - can we just

Re: Zram writeback feature unstable with heavy swap utilization - BUG: Bad page state in process...

2018-07-24 Thread Tino Lehnig
Hi, The first build I used was from the master branch of the mainline kernel, somewhere between rc5 and rc6. I have just reproduced the bug with 4.17.9 and 4.18-rc6. Kernel messages below. The bug does not appear on 4.14.57. I can test more versions if it helps. On 07/24/2018 03:03 AM,

Re: [PATCH 4.14 00/44] 4.14.58-stable review

2018-07-24 Thread Naresh Kamboju
On 23 July 2018 at 17:54, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.58 release. > There are 44 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

VM boot failure on nodes not having DMA32 zone

2018-07-24 Thread Liang C
Hi, We have a situation where our qemu processes need to be launched under cgroup cpuset.mems control. This introduces an similar issue that was discussed a few years ago. The difference here is that for our case, not being able to allocate from DMA32 zone is a result a cgroup restriction not

Re: [PATCH v2 4/4] arm: dts: ls1021a: Enable I2C DMA support

2018-07-24 Thread Uwe Kleine-König
Hello, expanding Cc a bit to include Shawn and the kernel teams of Pengutronix and NXP. On Mon, Jul 09, 2018 at 11:43:04AM +0200, Esben Haabendal wrote: > From: Esben Haabendal > > Gives substantial performance improvement for transfers larger than 16 > bytes (DMA_THRESHOLD). Smaller

Re: [PATCH v4 1/4] x86/boot: Add acpitb.h to help parse acpi tables

2018-07-24 Thread Chao Fan
On Tue, Jul 24, 2018 at 02:02:57PM +0800, Baoquan He wrote: >Hi chao, > >On 07/23/18 at 05:29pm, Chao Fan wrote: >> In order to parse ACPI tables, reuse the head file linux/acpi.h, >> so that the files in 'compressed' directory can read ACPI table >> by including this head file. >> >>

KASAN: stack-out-of-bounds Read in vma_interval_tree_insert (2)

2018-07-24 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:8ae71e76cf1f Merge branch 'bpf-offload-sharing' git tree: bpf-next console output: https://syzkaller.appspot.com/x/log.txt?x=17fca5d040 kernel config: https://syzkaller.appspot.com/x/.config?x=89129667b46496c3 dashboard

Re: [PATCH] mm: memcg: fix use after free in mem_cgroup_iter()

2018-07-24 Thread Michal Hocko
On Mon 23-07-18 09:17:28, Shakeel Butt wrote: > On Sun, Jul 22, 2018 at 11:44 PM Michal Hocko wrote: > > > > On Thu 19-07-18 09:23:10, Shakeel Butt wrote: > > > On Thu, Jul 19, 2018 at 3:43 AM Michal Hocko wrote: > > > > > > > > [CC Andrew] > > > > > > > > On Thu 19-07-18 18:06:47, Jing Xia

Re: Linux 4.18-rc6

2018-07-24 Thread Christian Borntraeger
On 07/24/2018 09:24 AM, Martin Schwidefsky wrote: > On Tue, 24 Jul 2018 09:15:58 +0200 > Christian Borntraeger wrote: > >> On 07/24/2018 08:18 AM, Martin Schwidefsky wrote: >>> On Mon, 23 Jul 2018 16:17:22 -0700 >>> Linus Torvalds wrote: >>> On Mon, Jul 23, 2018 at 2:23 PM Guenter

Re: [PATCH 4.17 00/63] 4.17.10-stable review

2018-07-24 Thread Naresh Kamboju
On 23 July 2018 at 17:54, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.17.10 release. > There are 63 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4.9 00/28] 4.9.115-stable review

2018-07-24 Thread Naresh Kamboju
On 23 July 2018 at 17:55, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.115 release. > There are 28 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

[PATCH] KVM/MMU: Combine flushing remote tlb in mmu_set_spte()

2018-07-24 Thread Tianyu Lan
mmu_set_spte() flushes remote tlbs for drop_parent_pte/drop_spte() and set_spte() separately. This may introduce redundant flush. This patch is to combine these flushes and check flush request after calling set_spte(). Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 7 --- 1 file

Re: [PATCH v1 09/10] Input: atmel_mxt_ts - tool type is ignored when slot is closed

2018-07-24 Thread Benjamin Tissoires
On Tue, Jul 24, 2018 at 12:34 AM Dmitry Torokhov wrote: > > On Fri, Jul 20, 2018 at 10:51:21PM +0100, Nick Dyer wrote: > > From: Nick Dyer > > > > input_mt_report_slot_state() ignores the tool when the slot is closed. > > Remove the tool type from these function calls, which has caused a bit of

Re: linux-next-20180723: battery status funny after bootup

2018-07-24 Thread Rafael J. Wysocki
On Mon, Jul 23, 2018 at 11:49 PM, Pavel Machek wrote: > > pavel@amd:~$ cat /proc/acpi/battery/BAT0/state > present: yes > capacity state: ok > charging state: charged > present rate:0 mW > remaining capacity: 0 mWh > present voltage: 0 mV

Re: [PATCH v4 1/4] x86/boot: Add acpitb.h to help parse acpi tables

2018-07-24 Thread Chao Fan
On Tue, Jul 24, 2018 at 02:02:57PM +0800, Baoquan He wrote: >Hi chao, > >On 07/23/18 at 05:29pm, Chao Fan wrote: >> In order to parse ACPI tables, reuse the head file linux/acpi.h, >> so that the files in 'compressed' directory can read ACPI table >> by including this head file. >> >>

Re: [GIT PULL] FSI updates round 3 for 4.19

2018-07-24 Thread Greg Kroah-Hartman
On Tue, Jul 24, 2018 at 02:13:16PM +1000, Benjamin Herrenschmidt wrote: > Hi Greg ! > > This adds support for offloading the FSI low level bitbanging to the > ColdFire coprocessor of the Aspeed SoCs. All the pre-requisites have > already been merged, this is the final piece in the puzzle. > >

Re: [PATCH v10 3/7] Bluetooth: btqca: Redefine qca_uart_setup() to generic function.

2018-07-24 Thread Balakrishna Godavarthi
Hi Matthias, On 2018-07-23 23:10, Matthias Kaehlcke wrote: On Fri, Jul 20, 2018 at 07:02:39PM +0530, Balakrishna Godavarthi wrote: Redefinition of qca_uart_setup will help future Qualcomm Bluetooth SoC, to use the same function instead of duplicating the function. Added new arguments soc_type

Re: WARNING in port_delete

2018-07-24 Thread DaeRyong Jeong
I agree with that having a C reproducer would be much better. Now I'm working on it. I will immediately let you know once I get the C reproducer. Thank you. Best regards, DaeRyong Jeong On 24 Jul 2018, 4:00 PM +0900, Takashi Iwai , wrote: > On Tue, 24 Jul 2018 05:59:56 +0200, > DaeRyong Jeong

Re: [PATCHv4 01/12] atomic/tty: Fix up atomic abuse in ldsem

2018-07-24 Thread Ingo Molnar
* Mark Rutland wrote: > From: Peter Zijlstra > > Mark found ldsem_cmpxchg() needed an (atomic_long_t *) cast to keep > working after making the atomic_long interface type safe. > > Needing casts is bad form, which made me look at the code. There are no > ld_semaphore::count users outside of

Re: Linux 4.18-rc6

2018-07-24 Thread Christian Borntraeger
On 07/24/2018 08:18 AM, Martin Schwidefsky wrote: > On Mon, 23 Jul 2018 16:17:22 -0700 > Linus Torvalds wrote: > >> On Mon, Jul 23, 2018 at 2:23 PM Guenter Roeck wrote: >>> Martin - can we just remove the select HAVE_GCC_PLUGINS from the s390 Kconfig

[GIT PULL] PHY: for 4.19

2018-07-24 Thread Kishon Vijay Abraham I
Hi Greg, Please find the pull request for 4.19 merge window below. It contains addition of 2 new PCIe PHY drivers for Broadcom's Stingray and Renesas R-Car SoCs, switches to SPDX identifier in a few PHY drivers and enables battery charging in Mediatek T-PHY driver. Consider merging it for the

Re: [PATCH 3/4] perf tools: Fix check-headers.sh output file variables

2018-07-24 Thread Alexander Kapshuk
On Mon, Jul 23, 2018, 08:01 Jiri Olsa wrote: > On Fri, Jul 20, 2018 at 06:22:49PM +0300, Alexander Kapshuk wrote: > > On Fri, Jul 20, 2018 at 6:16 PM Jiri Olsa wrote: > > > > > > On Fri, Jul 20, 2018 at 11:57:45AM -0300, Arnaldo Carvalho de Melo > wrote: > > > > Em Fri, Jul 20, 2018 at

Re: KASAN: stack-out-of-bounds Read in vma_interval_tree_insert (2)

2018-07-24 Thread Dmitry Vyukov
On Tue, Jul 24, 2018 at 9:28 AM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:8ae71e76cf1f Merge branch 'bpf-offload-sharing' > git tree: bpf-next > console output: https://syzkaller.appspot.com/x/log.txt?x=17fca5d040 > kernel config:

Re: general protection fault in cpuacct_charge

2018-07-24 Thread Dmitry Vyukov
On Tue, Jul 24, 2018 at 9:27 AM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:8ae71e76cf1f Merge branch 'bpf-offload-sharing' > git tree: bpf-next > console output: https://syzkaller.appspot.com/x/log.txt?x=1645f97840 > kernel config:

Re: [PATCH v5] x86: Avoid pr_cont() in show_opcodes().

2018-07-24 Thread Ingo Molnar
* Tetsuo Handa wrote: > On 2018/07/18 20:57, Ingo Molnar wrote: > > > > * Tetsuo Handa wrote: > > > >> Since syzbot is confused by concurrent printk() messages [1], > >> this patch changes show_opcodes() to use %ph format string. > >> > >> When we start adding prefix to each line of

Re: linux-next: build warning after merge of the fsi tree

2018-07-24 Thread Greg KH
On Tue, Jul 24, 2018 at 04:39:19PM +1000, Benjamin Herrenschmidt wrote: > On Tue, 2018-07-24 at 16:03 +1000, Stephen Rothwell wrote: > > Hi Benjamin, > > > > After merging the fsi tree, today's linux-next build (x86_64 allmodconfig) > > produced this warning: > > Ah thanks. It's a pair of

Re: [PATCH] dd: Invoke one probe retry cycle after every initcall level

2018-07-24 Thread Rafael J. Wysocki
On Mon, Jul 23, 2018 at 10:22 PM, wrote: > On 2018-07-23 04:17, Rafael J. Wysocki wrote: >> >> On Thu, Jul 19, 2018 at 11:24 PM, Rishabh Bhatnagar >> wrote: >>> >>> Drivers that are registered at an initcall level may have to >>> wait until late_init before the probe deferral mechanism can >>>

Re: [PATCH v1 0/2] mm/kdump: exclude reserved pages in dumps

2018-07-24 Thread David Hildenbrand
On 24.07.2018 09:25, Michal Hocko wrote: > On Mon 23-07-18 19:20:43, David Hildenbrand wrote: >> On 23.07.2018 14:30, Michal Hocko wrote: >>> On Mon 23-07-18 13:45:18, Vlastimil Babka wrote: On 07/20/2018 02:34 PM, David Hildenbrand wrote: > Dumping tools (like makedumpfile) right now

[PATCH 4/5] filesystem-dax: Do not request a pointer kaddr when not required

2018-07-24 Thread Huaisheng Ye
From: Huaisheng Ye Some functions within fs/dax don't need to get pointer kaddr from direct_access. In support of allowing memmap initialization to run in the background elide requests for pointer kaddr when not required. Signed-off-by: Huaisheng Ye --- fs/dax.c | 3 +-- 1 file changed, 1

Re: [PATCH] ACPI / LPSS: Avoid PM quirks on suspend and resume from S3

2018-07-24 Thread Kai Heng Feng
Hi Rafael, On Jun 13, 2018, at 7:17 PM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki It is reported that commit a192aa923b66a (ACPI / LPSS: Consolidate runtime PM and system sleep handling) introduced a system suspend regression on some machines, but the only functional change made by

Re: [PATCH v3 3/3] clk: qcom: Add display clock controller driver for SDM845

2018-07-24 Thread Stephen Boyd
Quoting spa...@codeaurora.org (2018-07-13 01:25:49) > On 2018-07-13 01:11, Stephen Boyd wrote: > > Quoting Taniya Das (2018-07-12 10:21:33) > >> ++ Display driver team, > >> > >> On 7/9/2018 8:36 PM, Stephen Boyd wrote: > >> > Quoting Taniya Das (2018-07-09 02:34:07) > >> >> > >> >> > >> >> On

[PATCH v3 1/2] clk: qcom: Add qspi (Quad SPI) clock defines for sdm845 to header

2018-07-24 Thread Douglas Anderson
These clocks will need to be defined in the clock driver and referenced in device tree files. Signed-off-by: Douglas Anderson --- Changes in v3: None Changes in v2: None include/dt-bindings/clock/qcom,gcc-sdm845.h | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v3 2/2] clk: qcom: Add qspi (Quad SPI) clocks for sdm845

2018-07-24 Thread Douglas Anderson
Add both the interface and core clock. Signed-off-by: Douglas Anderson (am from https://lore.kernel.org/patchwork/patch/966680/mbox) --- Changes in v3: - Removed gcc_parent_names_9 which I had left in (doh!). Changes in v2: - Only 19.2, 100, 150, and 300 MHz now. - All clocks come from MAIN

[PATCH v3 0/2] clk: qcom: Quad SPI (qspi) clock support for sdm845

2018-07-24 Thread Douglas Anderson
This two-series patch adds the needed clock bits to use the Quad SPI (qspi) part on sdm845. It's expected that the bindings part of this patch could land in the clock tree with an immutable git hash and then be pulled into the Qualcomm tree so it could be used by dts files. >From the reply to

Re: [PATCH v6 1/9] Makefile: Prepare for using macros for inline asm

2018-07-24 Thread Nadav Amit
at 4:14 AM, Ingo Molnar wrote: > > * Masahiro Yamada wrote: > >> 2018-06-23 2:22 GMT+09:00 Nadav Amit : >>> Using macros for inline assembly improves both readability and >>> compilation decisions that are distorted by big assembly blocks that use >>> alternative sections. Compile macros.S

RE: [PATCH v10 00/10] drivers: Introduce firmware dnd clock river for ZynqMP core

2018-07-24 Thread Jolly Shah
Hi Michal, > -Original Message- > From: Michal Simek [mailto:michal.si...@xilinx.com] > Sent: Thursday, July 19, 2018 3:33 AM > To: Jolly Shah ; ard.biesheu...@linaro.org; > mi...@kernel.org; gre...@linuxfoundation.org; m...@codeblueprint.co.uk; > sudeep.ho...@arm.com;

[PATCH v2 3/3] MAINTAINERS: Add entry for mcp3911 ADC driver

2018-07-24 Thread Marcus Folkesson
Add an entry for mcp3911 ADC driver and add myself and Kent Gustavsson as maintainers of this driver. Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- Notes: v2: - no changes MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS

[PATCH v2 1/3] iio: adc: add support for mcp3911

2018-07-24 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- Notes: v2: - cleanups and bugfixes (thanks Peter Meerwald-Stadler) - drop

[PATCH v2 2/3] dt-bindings: iio: adc: add bindings for mcp3911

2018-07-24 Thread Marcus Folkesson
MCP3911 is a dual channel Analog Front End (AFE) containing two synchronous sampling delta-sigma Analog-to-Digital Converters (ADC). Signed-off-by: Marcus Folkesson Signed-off-by: Kent Gustavsson --- Notes: v2: - drop channel width - drop `external_vref` - replace

[PATCH v3] locking/rwsem: Exit read lock slowpath if queue empty & no writer

2018-07-24 Thread Waiman Long
It was discovered that a constant stream of readers with occassional writers pounding on a rwsem may cause many of the readers to enter the slowpath unnecessarily thus increasing latency and lowering performance. In the current code, a reader entering the slowpath critical section will

Re: [RFT v2 00/10] pinctrl: samsung: Remove ugly hack for sharing eint_wakeup_mask

2018-07-24 Thread Krzysztof Kozlowski
On Tue, Jul 24, 2018 at 11:18:13AM +0200, Marek Szyprowski wrote: > Hi Krzysztof, > > On 2018-07-23 19:52, Krzysztof Kozlowski wrote: > > Hi All, > > > > Changes since v1 > > > > 1. Add Tomasz's ack. > > 2. Reword description in patch 6/10. > > > > > > Tests > > = > > This is

Re: [PATCH 20/20] signal: Don't restart fork when signals come in.

2018-07-24 Thread Eric W. Biederman
Linus Torvalds writes: > On Tue, Jul 24, 2018 at 10:58 AM Eric W. Biederman > wrote: >> >> Yes you are quite right. Easy enough to fix, but it definitely needs >> to be fixed. >> >> I will respin. > > Would you mind trying a slightly different approach for this? > > How about moving the

[PATCH v2] i2c: aspeed: Handle master/slave combined irq events properly

2018-07-24 Thread Jae Hyun Yoo
In most of cases, interrupt bits are set one by one but there are also a lot of other cases that Aspeed I2C IP sends multiple interrupt bits with combining master and slave events using a single interrupt call. It happens much more in multi-master environment than single-master. For an example,

Re: m68k allmodconfig build errors

2018-07-24 Thread Andreas Schwab
On Jul 23 2018, Randy Dunlap wrote: > I don't see that all of these string compare fields are null-terminated. That gcc has converted the strncmp calls to strcmp is a pretty strong evidence that they are. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5

Re: [PATCHv3 0/3] Fix crash due to vma_is_anonymous() false-positives

2018-07-24 Thread Linus Torvalds
On Tue, Jul 24, 2018 at 5:11 AM Kirill A. Shutemov wrote: > > Fix crash found by syzkaller. > > Build on top of Linus' changes in 4.18-rc6. > > Andrew, could you please drop mm-drop-unneeded-vm_ops-checks-v2.patch for > now. Infiniband drivers have to be fixed first. Ack, these look good to me.

Re: [PATCH v6 0/2] Input: Add Cypress Gen5 Touchscreen driver

2018-07-24 Thread Dmitry Torokhov
Hi Mylène, On Tue, Jul 24, 2018 at 03:00:46PM +0200, Mylène Josserand wrote: > Hello Dmitry, > > On Wed, 4 Jul 2018 16:21:58 + > Dmitry Torokhov wrote: > > > Hi Mylène, > > > > On Tue, Jul 03, 2018 at 11:43:07AM +0200, Mylène Josserand wrote: > > > Hello, > > > > > > Here is a V6 series

Re: [RFC v5 PATCH 2/2] mm: mmap: zap pages with read mmap_sem in munmap

2018-07-24 Thread Yang Shi
+static int vm_munmap_zap_rlock(unsigned long start, size_t len) +{ +    int ret; +    struct mm_struct *mm = current->mm; +    LIST_HEAD(uf); + +    ret = do_munmap_zap_rlock(mm, start, len, ); +    userfaultfd_unmap_complete(mm, ); +    return ret; +} +   int vm_munmap(unsigned long start,

[PATCH] delayacct: Fix crash in delayacct_blkio_end() after delayacct init failure

2018-07-24 Thread Tejun Heo
While forking, if delayacct init fails due to memory shortage, it continues expecting all delayacct users to check task->delays pointer against NULL before dereferencing it, which all of them used to do. c96f5471ce7d ("delayacct: Account blkio completion on the correct task"), while updating

[PATCH 02/10] um: cleanup Kconfig files

2018-07-24 Thread Christoph Hellwig
We can handle all not architecture specific UM configuration directly in the newly added arch/um/Kconfig. Do so by merging the Kconfig.common, Kconfig.rest and Kconfig.um files into arch/um/Kconfig, and move the main UML menu as well. Signed-off-by: Christoph Hellwig Acked-by: Richard

[PATCH 01/10] um: stop abusing KBUILD_KCONFIG

2018-07-24 Thread Christoph Hellwig
Instead create a arch/um/Kconfig file that just includes the actual per-arch Kconfig file. Signed-off-by: Christoph Hellwig Acked-by: Richard Weinberger --- arch/um/Kconfig | 3 +++ arch/um/Makefile| 2 -- arch/x86/um/Kconfig | 5 - 3 files changed, 3 insertions(+), 7 deletions(-)

Re: VM boot failure on nodes not having DMA32 zone

2018-07-24 Thread Paolo Bonzini
On 24/07/2018 09:53, Liang C wrote: > Hi, > > We have a situation where our qemu processes need to be launched under > cgroup cpuset.mems control. This introduces an similar issue that was > discussed a few years ago. The difference here is that for our case, > not being able to allocate from

Re: [PATCH] input: pxrc - do not store USB device in private struct

2018-07-24 Thread Marcus Folkesson
Hello Dmitry, On Tue, Jul 24, 2018 at 02:38:04AM +, Dmitry Torokhov wrote: > Hi Marcus, > > On Mon, Jul 16, 2018 at 04:40:14PM +0200, Marcus Folkesson wrote: > > The USB device is only needed during setup, so put it back after > > initialization and do not store it in our private struct. > >

Re: [PATCH] ARM: dma-mapping: always clear allocated buffers

2018-07-24 Thread Christoph Hellwig
On Tue, Jul 24, 2018 at 10:04:35PM +0800, YueHaibing wrote: > Sean Wang report dma_zalloc_coherent doesn't work as expect on his > armv7,the allocated mem is not zeroed.The reason is __alloc_from_pool > doesn't honor __GFP_ZERO. Please explain the "why" a little more. All the explanations are in

Re: + mm-proc-pid-maps-remove-is_pid-and-related-wrappers.patch added to -mm tree

2018-07-24 Thread Alexey Dobriyan
On Mon, Jul 23, 2018 at 04:55:40PM -0700, a...@linux-foundation.org wrote: > > The patch titled > Subject: mm: /proc/pid/*maps remove is_pid and related wrappers > has been added to the -mm tree. Its filename is > mm-proc-pid-maps-remove-is_pid-and-related-wrappers.patch Reviewed-by:

Re: [PATCH v2 4/8] NTB: ntb_pingpong: Choose doorbells based on port number

2018-07-24 Thread Logan Gunthorpe
On 24/07/18 12:12 PM, Allen Hubbe wrote: > On Tue, Jul 24, 2018 at 1:37 PM Logan Gunthorpe wrote: >> Not really. Given that we know there are only two peers, we always use >> the other side's doorbell register. You'd only use the nearby doorbell >> register if you wanted to trigger your own

Re: [PATCH] EDAC, sb_edac: Fix out of bound in PCI multi segment env

2018-07-24 Thread Masayoshi Mizuma
Hi Tony, Thank you for your review! On 07/24/2018 01:01 PM, Tony Luck wrote: > On Thu, Jul 19, 2018 at 7:07 AM, Masayoshi Mizuma > wrote: >> From: Masayoshi Mizuma >> >> KASAN reported the following slab-out-of-bounds when sb_edac >> module was loaded on Broadwell machine which has two PCI

[PATCH] Input: stop telling users to snail-mail Vojtech

2018-07-24 Thread Dmitry Torokhov
I do not think Vojtech wants snail mail these days, even if the address were correct (I do not know if it is), so let's remove snail-mail instructions from the sources. Signed-off-by: Dmitry Torokhov --- drivers/input/evbug.c | 4

Re: [PATCHv3 2/2] mtd: m25p80: restore the status of SPI flash when exiting

2018-07-24 Thread Brian Norris
Hi Boris, On Tue, Jul 24, 2018 at 01:18:11AM +0200, Boris Brezillon wrote: > On Mon, 23 Jul 2018 15:06:43 -0700 > Brian Norris wrote: > > On Mon, Jul 23, 2018 at 1:10 PM, Boris Brezillon > > wrote: > > > but it still seems to improve things. Of course, that means the > > > user should try to

Re: [tip:x86/timers] sched/clock: Enable sched clock early

2018-07-24 Thread Guenter Roeck
0 PID: 0 Comm: swapper Not tainted 4.18.0-rc6-next-20180724 #1 Hardware name: ARM Integrator/CP (Device Tree) [] (unwind_backtrace) from [] (show_stack+0x10/0x18) [] (show_stack) from [] (dump_stack+0x18/0x24) [] (dump_stack) from [] (__warn+0xc8/0xf0) [] (__warn) from [] (warn_slowpath_nu

Re: [PATCH] dt-bindings: thermal: samsung: Add SPDX license identifier

2018-07-24 Thread Krzysztof Kozlowski
On Tue, Jul 24, 2018 at 06:46:35PM +0200, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Wednesday, July 18, 2018 10:02:50 PM Krzysztof Kozlowski wrote: > > Replace GPL license statement with SPDX license identifier (GPL-2.0+). > > > > Signed-off-by: Krzysztof Kozlowski > > --- > >

Re: [PATCHv3 1/3] mm: Introduce vma_init()

2018-07-24 Thread Andrew Morton
On Tue, 24 Jul 2018 15:11:37 +0300 "Kirill A. Shutemov" wrote: > Not all VMAs allocated with vm_area_alloc(). Some of them allocated on > stack or in data segment. > > The new helper can be use to initialize VMA properly regardless where > it was allocated. > > ... > > ---

[PATCH] tracefs: Annotate tracefs_ops with __ro_after_init

2018-07-24 Thread Zubin Mithra
tracefs_ops is initialized inside tracefs_create_instance_dir and not modified after. tracefs_create_instance_dir allows for initialization only once, and is called from create_trace_instances(marked __init), which is called from tracer_init_tracefs(marked __init). Signed-off-by: Zubin Mithra

Re: [PATCH v2 09/10] coresight: perf: Remove set_buffer call back

2018-07-24 Thread Mathieu Poirier
On Mon, 23 Jul 2018 at 16:27, Suzuki K Poulose wrote: > > Mathieu, > > On 07/23/2018 07:22 PM, Mathieu Poirier wrote: > > On Fri, 20 Jul 2018 at 03:04, Suzuki K Poulose > > wrote: > >> > >> Mathieu, > >> > >> On 19/07/18 21:36, Mathieu Poirier wrote: > >>> On Tue, Jul 17, 2018 at 06:11:40PM

Re: [RFC v5 PATCH 2/2] mm: mmap: zap pages with read mmap_sem in munmap

2018-07-24 Thread Laurent Dufour
On 24/07/2018 19:26, Yang Shi wrote: > > > On 7/24/18 10:18 AM, Laurent Dufour wrote: >> On 19/07/2018 01:21, Yang Shi wrote: >>> When running some mmap/munmap scalability tests with large memory (i.e. 300GB), the below hung task issue may happen occasionally. >>> INFO: task ps:14018

[PATCH v3 1/4] dt-bindings: PCI: dra7xx: Add bindings for unaligned access in host mode

2018-07-24 Thread Vignesh R
Update device tree binding documentation of TI's dra7xx PCI controller for enabling unaligned mem access as applicable not just in EP mode but in host mode as well. Signed-off-by: Vignesh R Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/pci/ti-pci.txt | 5 + 1 file changed,

Re: [PATCH] mips: use asm-generic version of msi.h

2018-07-24 Thread Paul Burton
Hi Thomas, On Tue, Jul 24, 2018 at 01:52:08PM +0200, Thomas Petazzoni wrote: > This is necessary to be able to include when > CONFIG_GENERIC_MSI_IRQ_DOMAIN is enabled. Without this, a build with > CONFIG_GENERIC_MSI_IRQ_DOMAIN fails with: > >In file included from

Re: [PATCH 20/20] signal: Don't restart fork when signals come in.

2018-07-24 Thread Eric W. Biederman
Linus Torvalds writes: > This is completely broken. > > On Mon, Jul 23, 2018 at 8:27 PM Eric W. Biederman > wrote: >> >> diff --git a/kernel/fork.c b/kernel/fork.c >> index 6c358846a8b8..6ee5822f0085 100644 >> --- a/kernel/fork.c >> +++ b/kernel/fork.c >> @@ -1602,6 +1603,24 @@ static

[PATCH v2 0/2] cpufreq: Fix a circular lock dependency problem

2018-07-24 Thread Waiman Long
v2: - Remove the retry loop in the store method. This patchset works around a circular lock dependency issue in the cpufreq driver reported by lockdep. The two locks involved are the cpu_hotplup_lock and the reference count of a sysfs file. The cpufreq_register_driver() function uses the lock

[PATCH v2 2/2] cpufreq: Fix a circular lock dependency problem

2018-07-24 Thread Waiman Long
With lockdep turned on, the following circular lock dependency problem was reported: [ 57.470040] == [ 57.502900] WARNING: possible circular locking dependency detected [ 57.535208] 4.18.0-0.rc3.1.el8+7.x86_64+debug #1 Tainted: G [

[PATCH v2 1/2] cpu/hotplug: Add a cpus_read_trylock() function

2018-07-24 Thread Waiman Long
There are use cases where it can be useful to have a cpus_read_trylock() function to work around circular lock dependency problem involving the cpu_hotplug_lock. Signed-off-by: Waiman Long --- include/linux/cpu.h | 2 ++ kernel/cpu.c| 6 ++ 2 files changed, 8 insertions(+) diff

Re: [PATCH v3 2/2] fpga: zynq-fpga: Add support for readback

2018-07-24 Thread Alan Tull
On Tue, Jul 24, 2018 at 1:31 PM, Appana Durga Kedareswara Rao wrote: > Hi Moritz, > > Thanks for the review... > > >> Can you please make the commit message such that you have full sentences? >> >> "Add support for readback of FPGA configuration data and registers" of >> example. > >

Re: [PATCHv3 2/2] mtd: m25p80: restore the status of SPI flash when exiting

2018-07-24 Thread Brian Norris
Hi, On Tue, Jul 24, 2018 at 11:51:49AM +1000, NeilBrown wrote: > On Tue, Jul 24 2018, Boris Brezillon wrote: > > On Tue, 24 Jul 2018 08:46:33 +1000 > > NeilBrown wrote: > >> One possibility that occurred to me when I was exploring this issue is > >> to revert to 3-byte mode whenever 4-byte was

Re: [RFT v2 01/10] pinctrl: samsung: Define suspend and resume callbacks for all banks and SoCs

2018-07-24 Thread Krzysztof Kozlowski
On Mon, Jul 23, 2018 at 07:52:53PM +0200, Krzysztof Kozlowski wrote: > Suspend and resume callbacks in Exynos/S5Pv210 pin controller drivers, > save and restore state of registers. This operations should be done for > all banks which have external interrupts (as denoted by using >

  1   2   3   4   5   6   7   8   9   10   >