Re: [PATCH 1/4] HID: multitouch: fix Elan panels with 2 input modes declaration

2018-09-05 Thread Benjamin Tissoires
On Tue, Sep 4, 2018 at 9:31 PM Jiri Kosina wrote: > > On Tue, 4 Sep 2018, Benjamin Tissoires wrote: > > > When implementing commit 7f81c8db5489 ("HID: multitouch: simplify > > the settings of the various features"), I wrongly removed a test > > that made sure we never try to set the second InputMo

Re: POSIX violation by writeback error

2018-09-05 Thread Rogier Wolff
On Tue, Sep 04, 2018 at 11:44:20AM -0400, Jeff Layton wrote: > On Tue, 2018-09-04 at 22:56 +0800, 焦晓冬 wrote: > > On Tue, Sep 4, 2018 at 7:09 PM Jeff Layton wrote: > > > > > > On Tue, 2018-09-04 at 16:58 +0800, Trol wrote: > > > > That is certainly not possible to be done. But at least, shall we r

Re: [PATCH v4 4/4] drm/sun4i: Enable DesignWare HDMI for SUN50I

2018-09-05 Thread Maxime Ripard
On Tue, Sep 04, 2018 at 10:06:09PM +0530, Jagan Teki wrote: > Allwinner SUN50I are now using DesignWare HDMI so enable > them as default. This can build DRM_SUN8I_DW_HDMI as module > since DRM in arm64 has module. > > Making this as defult to SUN8I, may cause an issue while > loading since arm32 D

[RFC PATCH v3 0/3] Add reset driver support for ZynqMP

2018-09-05 Thread Nava kishore Manne
This series of patches are created On top of the below series of patches. https://lkml.org/lkml/2018/8/3/687 Nava kishore Manne (3): firmware: xilinx: Add reset API's dt-bindings: reset: Add bindings for ZynqMP reset driver reset: reset-zynqmp: Adding support for Xilinx zynqmp reset con

[RFC PATCH v3 2/3] dt-bindings: reset: Add bindings for ZynqMP reset driver

2018-09-05 Thread Nava kishore Manne
Add documentation to describe Xilinx ZynqMP reset driver bindings. Signed-off-by: Nava kishore Manne --- Changes for v3: -Corrected Commit Msg. Changes for v2: -Moved reset node as a child to firwmare node. .../firmware/xilinx/xlnx,zynqmp-firmwa

[RFC PATCH v3 1/3] firmware: xilinx: Add reset API's

2018-09-05 Thread Nava kishore Manne
This Patch Adds reset API's to support release, assert and status functionalities by using firmware interface. Signed-off-by: Nava kishore Manne --- Changes for v3: -None. Changes for v2: -New Patch. drivers/firmware/xilinx/zynqmp.c | 40 +++ include

[RFC PATCH v3 3/3] reset: reset-zynqmp: Adding support for Xilinx zynqmp reset controller.

2018-09-05 Thread Nava kishore Manne
Add a reset controller driver for Xilinx Zynq UltraScale+ MPSoC. The zynqmp reset-controller has the ability to reset lines connected to different blocks and peripheral in the Soc. Signed-off-by: Nava kishore Manne --- Changes for v3: -None. Changes for v2: -Moved

linux-next test error

2018-09-05 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:387ac6229ecf Add linux-next specific files for 20180905 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=149c67a640 kernel config: https://syzkaller.appspot.com/x/.config?x=ad5163873ecfbc32

general protection fault in klist_put (2)

2018-09-05 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:60c1f89241d4 Merge tag 'dma-mapping-4.19-2' of git://git.i.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1405013e40 kernel config: https://syzkaller.appspot.com/x/.config?x=4c7e83258d6e0156 da

[PATCH v7 0/2]: perf: reduce data loss when profiling highly parallel CPU bound workloads

2018-09-05 Thread Alexey Budankov
Currently in record mode the tool implements trace writing serially. The algorithm loops over mapped per-cpu data buffers and stores ready data chunks into a trace file using write() system call. At some circumstances the kernel may lack free space in a buffer because the other buffer's half

Re: linux-next test error

2018-09-05 Thread Dmitry Vyukov
On Wed, Sep 5, 2018 at 9:13 AM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:387ac6229ecf Add linux-next specific files for 20180905 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=149c67a64

Re: [PATCH] kbuild: modules_install: Warn if System.map file is not found

2018-09-05 Thread Masahiro Yamada
Hi Randy, 2018-09-01 7:33 GMT+09:00 Randy Dunlap : > From: Randy Dunlap > > If there is no System.map file for "make modules_install", > scripts/depmod.sh will silently exit with success, having done > nothing. Since this is an unexpected situation, change it to > report a Warning for the missin

[PATCH v7 1/2]: perf util: map data buffer for preserving collected data

2018-09-05 Thread Alexey Budankov
The map->data buffers are used to preserve map->base profiling data for writing to disk. AIO map->cblocks are used to queue corresponding map->data buffers for asynchronous writing. map->cblocks objects are located in the last page of every map->data buffer. Signed-off-by: Alexey Budankov --

Re: [PATCH v4 03/11] dt-bindings: display: Add compatible for A64 DE2 display pipeline

2018-09-05 Thread Maxime Ripard
On Tue, Sep 04, 2018 at 12:40:45PM +0800, Icenowy Zheng wrote: > From: Jagan Teki > > Allwinner A64 has a DE2 display pipeline. The TCONs are similar to the > ones in A83T, but the mixers are new (similar to the later R40 SoC). > > This patch adds dt-binding documentation for A64 DE2 display pip

[PATCH v9 2/2] leds: sc27xx: Add pattern_set/clear interfaces for LED controller

2018-09-05 Thread Baolin Wang
This patch implements the 'pattern_set'and 'pattern_clear' interfaces to support SC27XX LED breathing mode. Signed-off-by: Baolin Wang --- Changes from v8: - Optimize the ABI documentation file. Changes from v7: - Add its own ABI documentation file. Changes from v6: - None. Changes from v5:

Re: [PATCH RFC LKMM 1/7] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire

2018-09-05 Thread Andrea Parri
On Tue, Sep 04, 2018 at 03:09:49PM -0400, Alan Stern wrote: > On Tue, 4 Sep 2018, Andrea Parri wrote: > > Heh, your confusion might be the reflection of mine... ;-) That was > > indeed a long and not conclusive discussion (meaning there're pending > > issues); and I cannot claim to find "arguments

Re: [PATCH RESEND 0/6] arm64: add support for generic cpu vulnerabilities

2018-09-05 Thread Mian Yousaf Kaukab
On Mon, Aug 27, 2018 at 04:33:04PM +0200, Mian Yousaf Kaukab wrote: > GENERIC_CPU_VULNERABILITIES provide a common way to figure out if a > system is affected by vulnerabilities like meltdown and other variants > of spectre. This small series adds support for it in arm64. Marc, Will, Can you pleas

Re: [linux-sunxi] [PATCH v4 11/11] arm64: dts: allwinner: a64: Enable HDMI output on A64 boards w/ HDMI

2018-09-05 Thread Jagan Teki
On Tue, Sep 4, 2018 at 10:10 AM, Icenowy Zheng wrote: > From: Jagan Teki > > Enable all necessary device tree nodes and add connector node to device > trees for all supported A64 boards with HDMI. > > Signed-off-by: Jagan Teki > [Icenowy: squash all board patches altogether and change supply nam

Re: [PATCH 1/9] PCI: sysfs: Export available PCIe bandwidth

2018-09-05 Thread Stephen Hemminger
On Mon, 3 Sep 2018 13:02:28 -0500 Alexandru Gagniuc wrote: > For certain bandwidth-critical devices (e.g. multi-port network cards) > it is useful to know the available bandwidth to the root complex. This > information is only available via the system log, which doesn't > account for link degrad

Re: [PATCH] mm: hugepage: mark splitted page dirty when needed

2018-09-05 Thread Peter Xu
On Tue, Sep 04, 2018 at 10:00:28AM -0400, Zi Yan wrote: > On 4 Sep 2018, at 4:01, Kirill A. Shutemov wrote: > > > On Tue, Sep 04, 2018 at 03:55:10PM +0800, Peter Xu wrote: > >> When splitting a huge page, we should set all small pages as dirty if > >> the original huge page has the dirty bit set b

[PATCH] ANDROID: binder: Add BINDER_GET_NODE_INFO_FOR_REF ioctl.

2018-09-05 Thread Martijn Coenen
This allows the context manager to retrieve information about nodes that it holds a reference to, such as the current number of references to those nodes. Such information can for example be used to determine whether the servicemanager is the only process holding a reference to a node. This inform

Re: VLAs and security

2018-09-05 Thread Dmitry Vyukov
On Tue, Sep 4, 2018 at 8:22 PM, Uecker, Martin wrote: > Am Dienstag, den 04.09.2018, 10:00 +0200 schrieb Dmitry Vyukov: >> On Tue, Sep 4, 2018 at 8:27 AM, Uecker, Martin >> wrote: >> > Am Montag, den 03.09.2018, 14:28 -0700 schrieb Linus Torvalds: > > > Hi Dmitry, > >> Compiler and KASAN should s

Re: [RFC PATCH 3/4] sched/topology: remove smt_gain

2018-09-05 Thread Vincent Guittot
On Tue, 4 Sep 2018 at 12:37, Srikar Dronamraju wrote: > > * Vincent Guittot [2018-09-04 11:36:26]: > > > Hi Srikar, > > > > Le Tuesday 04 Sep 2018 à 01:24:24 (-0700), Srikar Dronamraju a écrit : > > > However after this change, capacity_orig of each SMT thread would be > > > 1024. For example SMT

Re: POSIX violation by writeback error

2018-09-05 Thread Martin Steigerwald
Jeff Layton - 04.09.18, 17:44: > > - If the following read() could be served by a page in memory, just > > returns the data. If the following read() could not be served by a > > page in memory and the inode/address_space has a writeback error > > mark, returns EIO. If there is a writeback error on

[PATCH] arch: sh: Replace dma_alloc_coherent/memset with dma_zalloc_coherent

2018-09-05 Thread Ding Xiang
use dma_zalloc_coherent instead of dma_alloc_coherent/memset Signed-off-by: Ding Xiang --- arch/sh/mm/consistent.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/sh/mm/consistent.c b/arch/sh/mm/consistent.c index 792f361..aa4e450 100644 --- a/arch/sh/mm/consistent.c

[PATCH v7 2/2]: perf record: enable asynchronous trace writing

2018-09-05 Thread Alexey Budankov
record__aio_sync() allocates index of free map->data buffer for a cpu buffer or blocks till completion of any started operation and then proceeds. Trace file offset is calculated and updated linearly prior enqueuing aio write at record__pushfn(). record__mmap_read_sync() implements a barrier

Re: POSIX violation by writeback error

2018-09-05 Thread Martin Steigerwald
Rogier Wolff - 05.09.18, 09:08: > So when a mail queuer puts mail the mailq files and the mail processor > can get them out of there intact, nobody is going to notice. (I know > mail queuers should call fsync and report errors when that fails, but > there are bound to be applications where calling

[PATCH] mips: txx9: fix resource leak after register fail

2018-09-05 Thread Ding Xiang
the memory allocated and ioremap address need free after device_register return error. Signed-off-by: Ding Xiang --- arch/mips/txx9/generic/setup.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/mips/txx9/generic/setup.c b/arch/mips/txx9/generic/setup.c index f6d9

Re: [PATCH] leds: leds-gpio: Add a condition check for active low leds.

2018-09-05 Thread Michal Vokáč
Hi Song, On 5.9.2018 04:34, Song Qiang wrote: Some leds on our board are active low leds, which means these leds are lighted when the corresponding gpio line is low, while the original leds-gpio driver default all leds are active high leds. This patch adds a devicetree node "light-state", whose v

Re: Re: [PATCH v2] arm64: kasan: add interceptors for strcmp/strncmp functions

2018-09-05 Thread Kyeongdon Kim
On 2018-09-05 오전 1:24, Andrey Ryabinin wrote: On 09/04/2018 01:10 PM, Andrey Ryabinin wrote: > > > On 09/04/2018 09:59 AM, Kyeongdon Kim wrote: > +#undef strncmp +int strncmp(const char *cs, const char *ct, size_t len) +{ + check_memory_region((unsigned long)cs, len, fals

[PATCH] ARM: dts: imx6qdl-sabreauto: add gpio keys support

2018-09-05 Thread Anson Huang
Add i.MX6QDL SabreAuto board's gpio keys support, there are 5 gpio keys on base board: SW3: KEY_HOME; SW4: KEY_BACK; SW5: KEY_PROGRAM; SW6: KEY_VOLUMEUP; SW7: KEY_VOLUMEDOWN; Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 52 1 file ch

Re: [PATCH v3 1/3] ptrace: Provide ___ptrace_may_access() that can be applied on arbitrary tasks

2018-09-05 Thread Peter Zijlstra
On Tue, Sep 04, 2018 at 04:40:57PM +0200, Jiri Kosina wrote: > From: Jiri Kosina > > Current ptrace_may_access() implementation assumes that the 'source' task is > always the caller (current). Note that now you 'fixed' the new user, this is still true. Which makes me think you do not in fact nee

Re: [PATCH v3 2/3] x86/speculation: apply IBPB more strictly to avoid cross-process data leak

2018-09-05 Thread Peter Zijlstra
On Tue, Sep 04, 2018 at 04:42:02PM +0200, Jiri Kosina wrote: > if (tsk && tsk->mm && > tsk->mm->context.ctx_id != last_ctx_id && > - get_dumpable(tsk->mm) != SUID_DUMP_USER) > + ___ptrace_may_access(current, tsk, PTRACE_MODE_IBPB)) >

Re: [PATCH] ARM: dts: socfpga: use stdout-path for chosen node

2018-09-05 Thread Geert Uytterhoeven
On Wed, Aug 8, 2018 at 2:11 PM Marek Vasut wrote: > On 08/08/2018 02:02 PM, Simon Goldschmidt wrote: > > On Wed, Aug 8, 2018 at 1:32 PM Marek Vasut wrote: > >> On 08/08/2018 11:09 AM, Simon Goldschmidt wrote: > >>> Use stdout-path dts property for kernel console. > >>> > >>> There were two socfpg

Re: [PATCH v3 2/3] x86/speculation: apply IBPB more strictly to avoid cross-process data leak

2018-09-05 Thread Jiri Kosina
On Wed, 5 Sep 2018, Peter Zijlstra wrote: > > if (tsk && tsk->mm && > > tsk->mm->context.ctx_id != last_ctx_id && > > - get_dumpable(tsk->mm) != SUID_DUMP_USER) > > + ___ptrace_may_access(current, tsk, PTRACE_MODE_IBPB)) > >

Re: [PATCH v3 2/3] x86/speculation: apply IBPB more strictly to avoid cross-process data leak

2018-09-05 Thread Peter Zijlstra
On Tue, Sep 04, 2018 at 06:18:55PM +0200, Thomas Gleixner wrote: > On Tue, 4 Sep 2018, Jiri Kosina wrote: > > if (tsk && tsk->mm && > > tsk->mm->context.ctx_id != last_ctx_id && > > - get_dumpable(tsk->mm) != SUID_DUMP_USER) > > + ___ptrace_ma

Re: [PATCH] mtd: onenand: fix parameter list build warning

2018-09-05 Thread Miquel Raynal
Hi Randy, Randy Dunlap wrote on Tue, 4 Sep 2018 14:49:00 -0700: > On 09/04/2018 02:34 PM, Miquel Raynal wrote: > > Hi Randy, > > > > Randy Dunlap wrote on Mon, 3 Sep 2018 12:32:04 > > -0700: > > > >> From: Randy Dunlap > >> > >> Fix build warning in by adding a "stub" struct > >> for mtd_

Re: [PATCH v3 1/3] ptrace: Provide ___ptrace_may_access() that can be applied on arbitrary tasks

2018-09-05 Thread Peter Zijlstra
On Tue, Sep 04, 2018 at 07:35:29PM +0200, Jiri Kosina wrote: > On Tue, 4 Sep 2018, Tim Chen wrote: > > > > Current ptrace_may_access() implementation assumes that the 'source' task > > > is > > > always the caller (current). > > > > > > Expose ___ptrace_may_access() that can be used to apply the

[PATCH] 9p: readdir: do not trust pdu content for stat item size

2018-09-05 Thread Dominique Martinet
From: Gertjan Halkes v9fs_dir_readdir() could deadloop if a struct was sent with a size set to -2 Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=88021 Signed-off-by: Gertjan Halkes Signed-off-by: Dominique Martinet --- This patch has been sitting in bugzilla for three years, I'll take

Re: [PATCH v3 2/3] x86/speculation: apply IBPB more strictly to avoid cross-process data leak

2018-09-05 Thread Jiri Kosina
On Wed, 5 Sep 2018, Peter Zijlstra wrote: > On Tue, Sep 04, 2018 at 06:18:55PM +0200, Thomas Gleixner wrote: > > On Tue, 4 Sep 2018, Jiri Kosina wrote: > > > if (tsk && tsk->mm && > > > tsk->mm->context.ctx_id != last_ctx_id && > > > - get_dumpable(tsk->mm) != S

Re: POSIX violation by writeback error

2018-09-05 Thread Rogier Wolff
On Wed, Sep 05, 2018 at 09:39:58AM +0200, Martin Steigerwald wrote: > Rogier Wolff - 05.09.18, 09:08: > > So when a mail queuer puts mail the mailq files and the mail processor > > can get them out of there intact, nobody is going to notice. (I know > > mail queuers should call fsync and report er

Re: [PATCH v5 08/16] x86/apic: add modern APIC support for Hygon

2018-09-05 Thread Pu Wen
On 2018/9/5 2:33, Borislav Petkov wrote: On Wed, Aug 29, 2018 at 08:44:30PM +0800, Pu Wen wrote: ... + if ((boot_cpu_data.x86_vendor == X86_VENDOR_AMD && +boot_cpu_data.x86 >= 0xf) || +boot_cpu_data.x86_vendor == X86_VENDOR_HYGON) return 1; Those

Re: [PATCH] HID: core: fix NULL pointer dereference

2018-09-05 Thread Jiri Kosina
On Wed, 29 Aug 2018, Gustavo A. R. Silva wrote: > There is a NULL pointer dereference in case memory resources > for *parse* are not successfully allocated. > > Fix this by adding a new goto label and make the execution > path jump to it in case vzalloc() fails. > > Addresses-Coverity-ID: 147308

Re: POSIX violation by writeback error

2018-09-05 Thread 焦晓冬
On Tue, Sep 4, 2018 at 11:44 PM Jeff Layton wrote: > > On Tue, 2018-09-04 at 22:56 +0800, 焦晓冬 wrote: > > On Tue, Sep 4, 2018 at 7:09 PM Jeff Layton wrote: > > > > > > On Tue, 2018-09-04 at 16:58 +0800, Trol wrote: > > > > On Tue, Sep 4, 2018 at 3:53 PM Rogier Wolff > > > > wrote: > > > > > > >

Re: [PATCH] cpu/hotplug: Fix acquire of st->should_run in cpuhp_thread_fun()

2018-09-05 Thread Peter Zijlstra
On Wed, Sep 05, 2018 at 11:22:07AM +0530, Neeraj Upadhyay wrote: > The smp_mb() in cpuhp_thread_fun() appears to be misplaced, and > need to be after the load of st->should_run, to prevent > reordering of the later load/stores w.r.t. the load of > st->should_run. I'm tempted to say this changelog

Re: [PATCH 1/2] staging: rtl8188eu: remove empty if statement in rtw_led.c

2018-09-05 Thread Dan Carpenter
On Tue, Sep 04, 2018 at 01:16:15PM +0200, Michael Straube wrote: > Remove empty if statement from 'if - else if' and replace the > else if with if. Remove the now unused variable pmlmepriv. > Also clears line over 80 characters and CamelCase checkpatch > issues. > > Signed-off-by: Michael Straube

Re: [PATCH 2/2] x86/mm/KASLR: Adjust the vmemmap size according to paging mode

2018-09-05 Thread Baoquan He
On 09/04/18 at 11:13am, Kirill A. Shutemov wrote: > On Mon, Sep 03, 2018 at 10:52:13PM +0800, Baoquan He wrote: > > On 09/03/18 at 01:26pm, Kirill A. Shutemov wrote: > > > > > But there's corner case when struct page is unreasonably large and > > > > > vmemmap_size will be way to large. We probably

[PATCH] ARM: dts: imx6qdl-sabreauto: add egalax touch screen support

2018-09-05 Thread Anson Huang
Add egalax touch screen support on i2c2 bus. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi index 246af86..a6dc5c4 10

[PATCH] x86/mce-inject: Reset struct after injection

2018-09-05 Thread Borislav Petkov
From: Borislav Petkov Clear the MCE struct which is used for collecting the injection details after injection. Also, populate it with more details from the machine. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/mcheck/mce-inject.c | 6 ++ 1 file changed, 6 insertions(+) diff --g

Re: [RFC PATCH 5/5] clocksource: riscv_timer: Make timer interrupt as a per-CPU interrupt

2018-09-05 Thread Anup Patel
On Wed, Sep 5, 2018 at 12:28 AM, Christoph Hellwig wrote: > On Tue, Sep 04, 2018 at 06:15:14PM +0530, Anup Patel wrote: >> Instead of directly calling RISC-V timer interrupt handler from >> RISC-V local interrupt conntroller driver, this patch implements >> RISC-V timer interrupt as a per-CPU inte

Re: [PATCH v2 0/2] Rumble support for Xbox One S controller

2018-09-05 Thread Jiri Kosina
On Wed, 15 Aug 2018, Andrey Smirnov wrote: > This is v2 of the patches adding support for rumble for Xbox One S > controller connected over Bluetooth. Hopefully all of the changes are > pretty straightforward and self-explanatory. Applied to for-4.20/microsoft branch. Thanks, -- Jiri Kosina SUS

Re: 4.19-rc1: ./include/linux/rcupdate.h:631 rcu_read_lock() used illegally while idle!

2018-09-05 Thread Borislav Petkov
On Tue, Sep 04, 2018 at 01:53:21PM -0700, Paul E. McKenney wrote: > I must defer to Borislav on this one. Assuming it has the desired > effect, I am good with it. It did survive a bunch of reboots (the WARN would fire after boot finishes, normally) so I guess we can run with it and see how it wor

Re: POSIX violation by writeback error

2018-09-05 Thread 焦晓冬
On Wed, Sep 5, 2018 at 4:18 AM Jeff Layton wrote: > > On Tue, 2018-09-04 at 14:54 -0400, J. Bruce Fields wrote: > > On Tue, Sep 04, 2018 at 06:23:48PM +0200, Rogier Wolff wrote: > > > On Tue, Sep 04, 2018 at 12:12:03PM -0400, J. Bruce Fields wrote: > > > > Well, I think the point was that in the a

Re: [PATCH] hid: hid-core: Fix a sleep-in-atomic-context bug in __hid_request()

2018-09-05 Thread Jiri Kosina
On Sat, 1 Sep 2018, Jia-Ju Bai wrote: > The driver may sleep with holding a spinlock. > > The function call paths (from bottom to top) in Linux-4.16 are: > > [FUNC] hid_alloc_report_buf(GFP_KERNEL) > drivers/hid/hid-core.c, 1435: > hid_alloc_report_buf in __hid_request > ./include/linux/h

[PATCH] ASoC: uniphier: change status to orphan

2018-09-05 Thread Katsuhiro Suzuki
Since I'm leaving from Socionext, I'll unable to access specification documents of this hardware (these are not public). So change the state to orphan until someone will maintain this driver. Signed-off-by: Katsuhiro Suzuki --- MAINTAINERS | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

[PATCH v2 01/13] drm/mediatek: add refcount for DPI power on/off

2018-09-05 Thread Bibby Hsieh
From: chunhui dai add refcount for DPI power on/off to protect the flow Signed-off-by: chunhui dai --- drivers/gpu/drm/mediatek/mtk_dpi.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c b/drivers/gpu/drm/mediatek/mtk_dpi

[PATCH v2 05/13] drm/mediatek: dpi use new API for finding bridge

2018-09-05 Thread Bibby Hsieh
From: chunhui dai Using new API for finding bridge. Signed-off-by: chunhui dai --- drivers/gpu/drm/mediatek/mtk_dpi.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_dpi.c b/drivers/gpu/drm/mediatek/mtk_dpi.c index 3758cfeb58

Re: [PATCH 4.19 regression fix] printk: For early boot messages check loglevel when flushing the buffer

2018-09-05 Thread Sergey Senozhatsky
On (09/05/18 14:36), Sergey Senozhatsky wrote: > > Just a demonstration of the idea. It does not look very good, tho. > I'd rather have just one suppress_message_printing() in printk code. > > // This is not a proposed patch, hence the 80-cols violation. > > --- > > diff --git a/kernel/printk/p

[PATCH v2 02/13] drm/mediatek: move hardware register to node data

2018-09-05 Thread Bibby Hsieh
From: chunhui dai The address of register DPI_H_FRE_CON is different in different IC. Using of_node data to find this address. Signed-off-by: chunhui dai --- drivers/gpu/drm/mediatek/mtk_dpi.c | 29 +++-- drivers/gpu/drm/mediatek/mtk_dpi_regs.h | 1 - 2 files chan

[PATCH] arm64: don't account for cpu offline time with irqsoff tracer

2018-09-05 Thread Zhizhou Zhang
This is no need to account for cpu offline time with irqsoff tracer. We can trigger a large irqsoff latency with below commands: $ echo irqsoff > /sys/kernel/debug/tracing/current_tracer $ echo 0 > /sys/kernel/debug/tracing/options/function-trace $ echo 1 > /sys/kernel/debug/tracing/tracing_on $ e

Re: POSIX violation by writeback error

2018-09-05 Thread 焦晓冬
On Wed, Sep 5, 2018 at 4:04 PM Rogier Wolff wrote: > > On Wed, Sep 05, 2018 at 09:39:58AM +0200, Martin Steigerwald wrote: > > Rogier Wolff - 05.09.18, 09:08: > > > So when a mail queuer puts mail the mailq files and the mail processor > > > can get them out of there intact, nobody is going to not

[PATCH] clocksource: Revert "Remove kthread"

2018-09-05 Thread Peter Zijlstra
On Tue, Sep 04, 2018 at 03:44:50PM +0200, Niklas Cassel wrote: > watchdog_worker is only defined if CONFIG_CLOCKSOURCE_WATCHDOG is set, > so you might want to wrap it with an ifdef to avoid build errors. Yes, so I wrote a version that only spawned the kthread_worker when a MUST_VERIFY clocksource

Re: stop_machine() soft lockup

2018-09-05 Thread Peter Zijlstra
On Tue, Sep 04, 2018 at 09:03:22PM +0200, Niklas Cassel wrote: > Hello Peter, > > I'm seeing some lockups when booting linux-next on a db820c arm64 board. > I've tried to analyze, but I'm currently stuck. Please see (should be in your Inbox too): https://lkml.kernel.org/r/20180905084158.gr24.

Re: [PATCH 2/2] thunderbolt: Initialize after IOMMUs

2018-09-05 Thread Lukas Wunner
On Mon, Sep 03, 2018 at 04:20:12PM +0300, Mika Westerberg wrote: > If IOMMU is enabled and Thunderbolt driver is built into the kernel > image, it will be probed before IOMMUs are attached to the PCI bus. > Because of this DMA mappings the driver does will not go through IOMMU > and start failing r

Re: [RFC PATCH 3/4] sched/topology: remove smt_gain

2018-09-05 Thread Srikar Dronamraju
* Vincent Guittot [2018-09-05 09:36:42]: > > > > I dont know of any systems that have come with single threaded and > > multithreaded. However some user can still offline few threads in a core > > while leaving other cores untouched. I dont really know why somebody > > would want to do it. For e

Re: [PATCH] PCI: mediatek: Fix unchecked return value

2018-09-05 Thread Honghui Zhang
On Fri, 2018-07-20 at 10:01 -0500, Gustavo A. R. Silva wrote: > Check return value of devm_pci_remap_iospace. > > Notice that, currently, all instances of devm_pci_remap_iospace > are being checked. > > Addresses-Coverity-ID: 1471965 ("Unchecked return value") > Signed-off-by: Gustavo A. R. Silva

Re: [PATCHv2 1/1] perf/x86/intel: make error messages less confusing

2018-09-05 Thread Peter Zijlstra
On Thu, Aug 23, 2018 at 08:07:32AM -0700, Eduardo Valentin wrote: > On a system with X86_FEATURE_ARCH_PERFMON disabled > and with a model not known by family PMU drivers, > user gets a kernel message log like the following: > [ 0.100114] Performance Events: unsupported p6 CPU model 85 no PMU driver

net/netfilter/xt_TEE.c:48: undefined reference to `nf_dup_ipv6'

2018-09-05 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 28619527b8a712590c93d0a9e24b4425b9376a8c commit: 5d400a4933e867dbc3706023c8ed55d364c233ed netfilter: Kconfig: Change select IPv6 dependencies date: 7 weeks ago config: x86_64-randconfig-g0-09051253 (attach

Re: linux-next test error

2018-09-05 Thread Jan Kara
On Wed 05-09-18 00:13:02, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:387ac6229ecf Add linux-next specific files for 20180905 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=149c67a640 &g

[regression/bisected] 4.19 cycle boot time IO stalls

2018-09-05 Thread Mike Galbraith
Greetings, I've been seeing $subject, decided to take the time to try to bisect the little bugger. The hangs are not 100% repeatable, and while bisection with a 5 boot go/nogo threshold seemed to go smoothly, it ended up fingering a merge commit (sigh). Box has an SSD (unused only by windows 10

Re: [PATCH v2 2/2] phy: zynqmp: Add dt bindings for ZynqMP phy

2018-09-05 Thread Vivek Gautam
On 9/3/2018 5:44 PM, Anurag Kumar Vulisha wrote: This patch adds the document describing dt bindings for ZynqMP phy. ZynqMP SOC has a High Speed Processing System Gigabit Transceiver which provides PHY capabilties to USB, SATA, PCIE, Display Port and Ehernet SGMII controllers. Signed-off-by:

Re: [PATCH 4.14 000/165] 4.14.68-stable review

2018-09-05 Thread Greg Kroah-Hartman
On Tue, Sep 04, 2018 at 04:28:44PM -0600, Shuah Khan wrote: > On 09/04/2018 01:32 PM, Greg Kroah-Hartman wrote: > > On Tue, Sep 04, 2018 at 09:49:43AM +0530, Naresh Kamboju wrote: > >> On 3 September 2018 at 22:24, Greg Kroah-Hartman > >> wrote: > >>> This is the start of the stable review cycle f

Re: [PATCH 4.18 000/123] 4.18.6-stable review

2018-09-05 Thread Greg Kroah-Hartman
On Tue, Sep 04, 2018 at 03:53:32PM -0700, Guenter Roeck wrote: > On 09/03/2018 09:55 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.18.6 release. > > There are 123 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 4.18 000/123] 4.18.6-stable review

2018-09-05 Thread Greg Kroah-Hartman
On Tue, Sep 04, 2018 at 09:24:34AM -0700, Guenter Roeck wrote: > On Mon, Sep 03, 2018 at 06:55:44PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.18.6 release. > > There are 123 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 1/3] thunderbolt: Make the driver less verbose

2018-09-05 Thread Lukas Wunner
On Mon, Sep 03, 2018 at 04:33:02PM +0300, Mika Westerberg wrote: > Currently the driver logs quite a lot to the system message buffer even > when doing normal operations. This information is not useful for > ordinary users and might even annoy some. No, the verbose logging is done on purpose to ai

Re: [PATCH v15 19/26] x86/tsc: calibrate tsc only once

2018-09-05 Thread Chuan Hua, Lei
static unsigned long __init get_loops_per_jiffy(void) { unsigned long lpj = tsc_khz * KHZ; do_div(lpj, HZ); return lpj; } Just tried this with 4.19-rc2 on x86(32bit). lpj return as zero which is not expected After disassembling the code, 0xc1239a9e <+199>: imul

Re: [PATCH] ANDROID: binder: Add BINDER_GET_NODE_INFO_FOR_REF ioctl.

2018-09-05 Thread Dan Carpenter
On Wed, Sep 05, 2018 at 09:33:46AM +0200, Martijn Coenen wrote: > diff --git a/include/uapi/linux/android/binder.h > b/include/uapi/linux/android/binder.h > index bfaec6903b8bc..a54a680ff2936 100644 > --- a/include/uapi/linux/android/binder.h > +++ b/include/uapi/linux/android/binder.h > @@ -200,6

Re: [PATCH] ARM: u300: add missing check for kmalloc

2018-09-05 Thread Linus Walleij
On Fri, Aug 24, 2018 at 12:33 PM Nicholas Mc Guire wrote: > kmalloc return for bigrxbuf_virtual was not being checked - in case > of failure set status, cleanup bigtxbuf_virtual and baile out. > > Signed-off-by: Nicholas Mc Guire > Fixes: c7c8c78fdf6e ("ARM: 5667/3: U300 SSP/SPI board setup and

Re: [RFC PATCH 3/4] sched/topology: remove smt_gain

2018-09-05 Thread Vincent Guittot
On Wed, 5 Sep 2018 at 10:50, Srikar Dronamraju wrote: > > * Vincent Guittot [2018-09-05 09:36:42]: > > > > > > > I dont know of any systems that have come with single threaded and > > > multithreaded. However some user can still offline few threads in a core > > > while leaving other cores untouc

Re: [PATCH 2/2] dmaengine: mediatek: Add MediaTek Command-Queue DMA controller for MT6765 SoC

2018-09-05 Thread Sean Wang
On Tue, 2018-09-04 at 16:43 +0800, shun-chih...@mediatek.com wrote: > From: Shun-Chih Yu > > MediaTek Command-Queue DMA controller (CQDMA) on MT6765 SoC is dedicated > to memory-to-memory transfer through queue based descriptor management. > > There are only 3 physical channels inside CQDMA, whi

Re: [PATCH v5 09/16] x86/bugs: add lfence mitigation to spectre v2 and no meltdown for Hygon

2018-09-05 Thread Borislav Petkov
On Wed, Aug 29, 2018 at 08:44:41PM +0800, Pu Wen wrote: > To share codes between AMD and Hygon to mitigate Spectre V2 Retpoline > vulnerability, rename macros SPECTRE_V2_RETPOLINE_MINIMAL_AMD to > SPECTRE_V2_RETPOLINE_MINIMAL_LFENCE, and SPECTRE_V2_CMD_RETPOLINE_AMD > to SPECTRE_V2_CMD_RETPOLINE_LF

Re: [PATCH 00/14] mmc: mmci: prepare dma callbacks with mmci_host_ops

2018-09-05 Thread Ludovic BARRE
On 09/04/2018 12:00 PM, Ulf Hansson wrote: On 1 August 2018 at 11:36, Ludovic Barre wrote: From: Ludovic Barre This patch series prepares and adds callbacks for dma transfert at mmci_host_ops. This series is composed of 3 parts: -Internalize specific needs of legacy dmaengine. -Create and

Re: [PATCH] mfd: arizona: make array mclk_name static, shrinks object size

2018-09-05 Thread Charles Keepax
On Tue, Sep 04, 2018 at 03:15:53PM +0100, Colin King wrote: > From: Colin Ian King > > Don't populate the array mclk_name on the stack but instead make it > static. Makes the object code smaller by 23 bytes: > > Before: >text data bss dec hex filename > 38050 1

Re: [PATCH] Input: wm97xx: only unregister wm97xx_driver if it has been registered

2018-09-05 Thread Charles Keepax
On Tue, Sep 04, 2018 at 07:35:05PM +0100, Colin King wrote: > From: Colin Ian King > > In the case where IS_BUILTIN(CONFIG_AC97_BUS)) is not true, the > wm97xx_driver driver is being unregistered even it has not been > previously registered. Fix this by only unregistering it if > IS_BUILTIN(CONF

Re: VirtIO console hangs

2018-09-05 Thread Matteo Croce
On Wed, Sep 5, 2018 at 3:54 AM Nicholas Piggin wrote: > > On Fri, 31 Aug 2018 15:17:44 + > Matteo Croce wrote: > > > On Fri, Aug 31, 2018 at 3:49 AM Nicholas Piggin wrote: > > > > > > On Tue, 28 Aug 2018 15:00:14 + > > > Matteo Croce wrote: > > > > > > > On Tue, Aug 28, 2018 at 2:35 PM

[PATCH 09/10] phy: Add Cadence D-PHY support

2018-09-05 Thread Maxime Ripard
Cadence has designed a D-PHY that can be used by the, currently in tree, DSI bridge (DRM), CSI Transceiver and CSI Receiver (v4l2) drivers. Only the DSI driver has an ad-hoc driver for that phy at the moment, while the v4l2 drivers are completely missing any phy support. In order to make that phy

[PATCH 10/10] drm/bridge: cdns: Convert to phy framework

2018-09-05 Thread Maxime Ripard
Now that we have everything we need in the phy framework to allow to tune the phy parameters, let's convert the Cadence DSI bridge to that API instead of creating a ad-hoc driver for its phy. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/bridge/cdns-dsi.c | 466 +--

Re: [PATCH v5 10/16] x86/mce: enable Hygon support to MCE infrastructure

2018-09-05 Thread Borislav Petkov
On Wed, Aug 29, 2018 at 08:44:54PM +0800, Pu Wen wrote: > Hygon machine check arch is similar to AMD family 17h. To enable the MCE > infrastructure support, add CPU vendor check for Hygon to share the code > path of AMD. > > Add hygon mce init function mce_hygon_feature_init() to minimize further

[PATCH 2/2] dt-bindings: egalax-ts: add support for wakeup event action

2018-09-05 Thread Anson Huang
Add support for wakeup event action, this would allow the device to configure whether to be a wakeup source of system suspend. Signed-off-by: Anson Huang --- Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devi

[PATCH 1/2] input: egalax_ts: add system wakeup support

2018-09-05 Thread Anson Huang
This patch adds wakeup function support for egalax touch screen, if "wakeup-source" is added to device tree's egalax touch screen node, the wakeup function will be enabled, and egalax touch screen will be able to wakeup system from suspend. Signed-off-by: Anson Huang --- drivers/input/touchscree

Re: [PATCH v2 2/2] Embedded USB Debugger (EUD) driver

2018-09-05 Thread Manu Gautam
Hi, On 9/5/2018 3:04 AM, Prakruthi Deepak Heragu wrote: > Add support for control peripheral of EUD (Embedded USB Debugger) to > listen to events such as USB attach/detach, charger enable/disable, pet > EUD to indicate software is functional. > > Signed-off-by: Satya Durga Srinivasu Prabhala > S

RE: [PATCH v2 2/2] phy: zynqmp: Add dt bindings for ZynqMP phy

2018-09-05 Thread Anurag Kumar Vulisha
Hi Vivek, >> +Phy provider node >> += >> + >> +Required properties: >> +- compatible: Can be "xlnx,zynqmp-psgtr-v1.1" or "xlnx,zynqmp-psgtr" >> + "xlnx,zynqmp-psgtr-v1.1" has "xlnx,tx_termination_fix" removed >This is not very clear. You can rather mention this

Re: POSIX violation by writeback error

2018-09-05 Thread Martin Steigerwald
Rogier Wolff - 05.09.18, 10:04: > On Wed, Sep 05, 2018 at 09:39:58AM +0200, Martin Steigerwald wrote: > > Rogier Wolff - 05.09.18, 09:08: > > > So when a mail queuer puts mail the mailq files and the mail > > > processor can get them out of there intact, nobody is going to > > > notice. (I know ma

[PATCH] mfd: max8997: Enale irq-wakeup unconditionally

2018-09-05 Thread Marek Szyprowski
IRQ wakeup support for MAX8997 driver was initially configured by respective property in pdata. However, after the driver conversion to device-tree, setting it was left as 'todo'. Nowadays most of other MAX PMIC MFD drivers initialized from device-tree simply assume unconditionally that they can be

Re: [PATCH v12 06/12] livepatch: Simplify API by removing registration step

2018-09-05 Thread Miroslav Benes
On Tue, 28 Aug 2018, Petr Mladek wrote: > The possibility to re-enable a registered patch was useful for immediate > patches where the livepatch module had to stay until the system reboot. > The improved consistency model allows to achieve the same result by > unloading and loading the livepatch m

Re: [PATCH mfd+gpio] Request (Linus Walleij + Lee Jones)

2018-09-05 Thread Linus Walleij
On Thu, Aug 30, 2018 at 4:48 PM Marek Behun wrote: > Hi Linus and Lee, > these two patches touch two different subsystems (mfd + gpio) and > should be applyied one after another (the gpio part is dependant on the > mfd part). > The patches are based on mfd-next-4.19. I can send another copy based

[PATCH] sched/debug: use symbolic names for task state constants

2018-09-05 Thread Uwe Kleine-König
include/trace/events/sched.h includes (via ) and so knows about the TASK_* constants used to interpret .prev_state. So instead of duplicating the magic numbers make use of the defined macros to ease understanding the mapping from state bits to letters which isn't completely intuitive for an outsid

Re: [PATCH] arm64: defconfig: enable EFI_ARMSTUB_DTB_LOADER

2018-09-05 Thread Ard Biesheuvel
Hi Grant, Thanks for chiming in. On 4 September 2018 at 12:13, Grant Likely wrote: > Hey folks. More comments below, but the short answer is I really don't > see what the problem is. Distros cannot easily support platforms that > require a dtb= parameter, and so they probably won't. They may or

Re: [PATCH v3 2/3] x86/speculation: apply IBPB more strictly to avoid cross-process data leak

2018-09-05 Thread Peter Zijlstra
On Wed, Sep 05, 2018 at 10:02:41AM +0200, Jiri Kosina wrote: > Yeah, I did more or less that earlier today; my series currently has Excellent, maybe add a wee comment like so? > +static bool ibpb_needed(struct task_struct *tsk, u64 last_ctx_id) > +{ /* * Check if the current (pre

Re: [PATCH] arm64: defconfig: enable EFI_ARMSTUB_DTB_LOADER

2018-09-05 Thread Ard Biesheuvel
On 4 September 2018 at 19:19, Scott Branden wrote: > > Rather than introduce EFI_ARMSTUB_DTB_LOADER, why not have > the efistub use CONFIG_OF to determine whether it supports dtb= or not? > > That way ACPI-only distros disable devicetree support entirely. > Unfortunately, CONFIG_OF cannot be disa

  1   2   3   4   5   6   7   8   >