Re: Linux 4.14.83

2018-11-22 Thread Greg KH
diff --git a/Makefile b/Makefile index cac5323bc95d..0f42814095a4 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 82 +SUBLEVEL = 83 EXTRAVERSION = NAME = Petit Gorille diff --git a/arch/arm/boot/dts/r8a7791.dtsi

Re: Linux 4.9.139

2018-11-22 Thread Greg KH
diff --git a/.gitignore b/.gitignore index c2ed4ecb0acd..0c39aa20b6ba 100644 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,7 @@ *.lzo *.patch *.gcno +*.ll modules.builtin Module.symvers *.dwo diff --git a/Kbuild b/Kbuild index 3d0ae152af7c..94c752762bc2 100644 --- a/Kbuild +++ b/Kbuild @@

[PATCH] arm64: dts: rockchip: Add DT for nanopc-t4

2018-11-22 Thread Tomeu Vizoso
This adds a device tree for the NanoPC-T4 SBC, which is based on the Rockchip RK3399 SoC and marketed by FriendlyELEC. Known working: - Serial - Ethernet - HDMI - USB 2.0 All of the interesting stuff is in a .dtsi because there are at least two other boards that share most of it: NanoPi M4 and

[PATCH 2/3] modpost: merge module iterations

2018-11-22 Thread Masahiro Yamada
Probably, this is just a matter of the order of error/warning messages. Merge the two for-loops. Signed-off-by: Masahiro Yamada --- scripts/mod/modpost.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index

[PATCH 1/3] modpost: refactor seen flag clearing in add_depends()

2018-11-22 Thread Masahiro Yamada
You do not need to iterate over all modules for resetting ->seen flag because add_depends() is only interested in modules that export symbols referenced from the given 'mod'. This also avoids shadowing the 'modules' parameter of add_depends(). Signed-off-by: Masahiro Yamada ---

[PATCH 3/3] modpost: move unresolved symbol checks to check_exports()

2018-11-22 Thread Masahiro Yamada
This will fit better in check_exports() than add_versions(). Signed-off-by: Masahiro Yamada --- scripts/mod/modpost.c | 33 ++--- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 05e41eb..32e5026

[GIT PULL] MMC fixes for v4.20-rc4

2018-11-22 Thread Ulf Hansson
Hi Linus, Here's a PR with two MMC fixes intended for v4.20-rc4. Details about the highlights are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad: Linux 4.20-rc2 (2018-11-11 17:12:31

RE: [patch 8/9] posix-clocks: Remove license boiler plate

2018-11-22 Thread Manfred Rudigier
Acked-by: Manfred Rudigier Regards, Manfred > -Original Message- > From: Richard Cochran > Sent: Thursday, November 1, 2018 3:12 AM > To: Thomas Gleixner > Cc: LKML ; Cristian Marinescu > ; Manfred Rudigier > > Subject: Re: [patch 8/9] posix-clocks: Remove license boiler plate > >

[PATCH RESEND V2] Documentation: can: flexcan: add stop mode property

2018-11-22 Thread Joakim Zhang
From: Dong Aisheng The FlexCAN controller can parse the stop mode property to enable CAN self wakeup feature. Signed-off-by: Dong Aisheng Signed-off-by: Joakim Zhang --- ChangeLog: V1->V2: *add a vendor prefix in property (stop-mode -> fsl,stop-mode). ---

Re: [PATCH 4.19 00/42] 4.19.4-stable review

2018-11-22 Thread Greg Kroah-Hartman
On Thu, Nov 22, 2018 at 02:30:58PM -0800, Guenter Roeck wrote: > On 11/22/18 2:01 PM, Thomas Voegtle wrote: > > On Thu, 22 Nov 2018, Thomas Voegtle wrote: > > > > > > > > Doesn't compile for me on OpenSuSE 15.0 (gcc 7.3.1): > > > > > >   CALL    scripts/checksyscalls.sh > > >   DESCEND  objtool

[PATCH v2] arm64: dts: rockchip: Add DT for nanopc-t4

2018-11-22 Thread Tomeu Vizoso
This adds a device tree for the NanoPC-T4 SBC, which is based on the Rockchip RK3399 SoC and marketed by FriendlyELEC. Known working: - Serial - Ethernet - HDMI - USB 2.0 All of the interesting stuff is in a .dtsi because there are at least two other boards that share most of it: NanoPi M4 and

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-22 Thread Ingo Molnar
* Thomas Gleixner wrote: > On Thu, 22 Nov 2018, Ingo Molnar wrote: > > * Thomas Gleixner wrote: > > > > Had to read this twice, because the comment and the code are both correct > > but deal with the inverse case. This might have helped: > > > > /* > > * Immediately update the

[PATCH 1/1] sched/headers: fix thread_info. is overwritten by STACK_END_MAGIC

2018-11-22 Thread Wang Dongsheng
When select ARCH_TASK_STRUCT_ON_STACK the first of thread_info variable is overwritten by STACK_END_MAGIC. In fact, the ARCH_TASK_STRUCT_ON_STACK is not a real task on stack, it's only init_task on init_stack. Commit 0500871f21b2 ("Construct init thread stack in the linker script rather than by

[PATCH V2] exportfs: do not read dentry after free

2018-11-22 Thread Pan Bian
The function dentry_connected calls dput(dentry) to drop the previously acquired reference to dentry. In this case, dentry can be released. After that, IS_ROOT(dentry) checks the condition (dentry == dentry->d_parent), which may result in a use-after-free bug. This patch directly compares dentry

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-22 Thread Ingo Molnar
* Thomas Gleixner wrote: > On Wed, 21 Nov 2018, Tim Chen wrote: > > > On Wed, Nov 21, 2018 at 09:14:50PM +0100, Thomas Gleixner wrote: > > > +static void task_update_spec_tif(struct task_struct *tsk, int tifbit, > > > bool on) > > > { > > > bool update; > > > > > > + if (on) > > >

Re: [PATCH 4.9 00/59] 4.9.139-stable review

2018-11-22 Thread Greg Kroah-Hartman
On Fri, Nov 23, 2018 at 12:46:51PM +0530, Naresh Kamboju wrote: > On Thu, 22 Nov 2018 at 00:40, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 4.9.139 release. > > There are 59 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH] exportfs: do not read dentry after free

2018-11-22 Thread PanBian
On Fri, Nov 23, 2018 at 07:58:15AM +0200, Amir Goldstein wrote: > On Fri, Nov 23, 2018 at 5:16 AM Pan Bian wrote: > > > > The function dentry_connected calls dput(dentry) to drop the previously > > acquired reference to dentry. In this case, dentry can be released. > > After that, IS_ROOT(dentry)

Re: [PATCH 0/4] dts/layerscape-pci: removed unsuitable compatible string

2018-11-22 Thread Shawn Guo
On Tue, Nov 20, 2018 at 12:53:14PM +, Lorenzo Pieralisi wrote: > On Mon, Oct 08, 2018 at 11:14:24AM +0800, Zhiqiang Hou wrote: > > From: Hou Zhiqiang > > > > Removed the compatible string "snps,dw-pcie" from FSL layerscape-pci > > compatible > > string list. > > > > Hou Zhiqiang (4): > >

[tip:perf/urgent] uprobes: Fix handle_swbp() vs. unregister() + register() race once more

2018-11-22 Thread tip-bot for Andrea Parri
Commit-ID: 09d3f015d1e1b4fee7e9bbdcf54201d239393391 Gitweb: https://git.kernel.org/tip/09d3f015d1e1b4fee7e9bbdcf54201d239393391 Author: Andrea Parri AuthorDate: Thu, 22 Nov 2018 17:10:31 +0100 Committer: Ingo Molnar CommitDate: Fri, 23 Nov 2018 08:31:19 +0100 uprobes: Fix

Re: [PATCH] uprobes: Fix handle_swbp() vs. unregister() + register() race once more

2018-11-22 Thread Ingo Molnar
* Oleg Nesterov wrote: > On 11/22, Oleg Nesterov wrote: > > On 11/22, Andrea Parri wrote: > > > > > > Commit 142b18ddc8143 ("uprobes: Fix handle_swbp() vs unregister() + > > > register() race") added the UPROBE_COPY_INSN flag, and corresponding > > > smp_wmb() and smp_rmb() memory barriers, to

[PATCH V5] can: flexcan: add self wakeup support

2018-11-22 Thread Joakim Zhang
From: Aisheng Dong If wakeup is enabled, enter stop mode, else enter disabled mode. Self wake can only work on stop mode. Starting from IMX6, the flexcan stop mode control bits is SoC specific, move it out of IP driver and parse it from devicetree. Signed-off-by: Aisheng Dong Signed-off-by:

Re: Linux 4.19.4

2018-11-22 Thread Greg KH
diff --git a/Makefile b/Makefile index e4064fa16f11..1f3c7adeea63 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 3 +SUBLEVEL = 4 EXTRAVERSION = NAME = "People's Front" diff --git a/arch/x86/kernel/cpu/bugs.c

Re: [PATCH v8 2/4] pps: descriptor-based gpio, capture-clear addition

2018-11-22 Thread Philipp Zabel
Hi Tom, On Sat, Nov 17, 2018 at 2:07 PM Tom Burkart wrote: > > This patch changes the GPIO access for the pps-gpio driver from the > integer based ABI to the descriptor based ABI. It also adds the > extraction of the device tree capture-clear option. Is the capture-clear property documented in

Linux 4.19.4

2018-11-22 Thread Greg KH
I'm announcing the release of the 4.19.4 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser:

Linux 4.14.83

2018-11-22 Thread Greg KH
I'm announcing the release of the 4.14.83 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web

Linux 4.9.139

2018-11-22 Thread Greg KH
I'm announcing the release of the 4.9.139 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Unix went to Plan 9 From Outer Space, Original Hacker Dennis Ritchie, became a criminal to most.

2018-11-22 Thread Ywe Cærlyn
Without philosophical coherency that is how regressions go. LKML isn´t really responding to these mails in the extent wanted, so it seems of no use, to mail this list for serious reasons. Obviously the change needs to come from elsewhere. And seriously who uses a text-only mailing list in

[PATCH 6/5] x86/fault: Clean up the page fault oops decoder a bit

2018-11-22 Thread Ingo Molnar
* Andy Lutomirski wrote: > One of Linus' favorite hobbies seems to be looking at OOPSes and > decoding the error code in his head. This is not one of my favorite > hobbies :) > > Teach the page fault OOPS hander to decode the error code. If it's > a !USER fault from user mode, print an

Re: [PATCH] soc/tegra: Fix terminating condition

2018-11-22 Thread Thierry Reding
On Thu, Nov 22, 2018 at 12:52:44AM -0700, Nathan Chancellor wrote: > Clang warns: > > drivers/soc/tegra/common.c:27:16: error: address of array > 'match->compatible' will always evaluate to 'true' > [-Werror,-Wpointer-bool-conversion] > while (match->compatible) { > ~

Re: Re: [PATCH] arm64: crc: accelerated-crc32-by-64bytes

2018-11-22 Thread Ard Biesheuvel
On Thu, 22 Nov 2018 at 02:50, sunrui wrote: > > > > On Sun, 18 Nov 2018 at 23:30, Rui Sun wrote: > > > > > > add 64 bytes loop to acceleration calculation > > > > > > > Can you share some performance numbers please? > > > > Also, we don't need 64 byte, 32 byte and 16 byte code paths: just make

[PATCH] tty: do not set TTY_IO_ERROR flag if console port

2018-11-22 Thread Chanho Park
Since Commit 761ed4a94582 ('tty: serial_core: convert uart_close to use tty_port_close') and Commit 4dda864d7307 ('tty: serial_core: Fix serial console crash on port shutdown), a serial port which is used as console can be stuck when logging out if there is a remained process. After logged out,

Re: [patch 00/24] x86/speculation: Remedy the STIBP/IBPB overhead

2018-11-22 Thread Thomas Gleixner
On Wed, 21 Nov 2018, Tim Chen wrote: > On 11/21/2018 12:14 PM, Thomas Gleixner wrote: > > This is based on Tim Chen's V5 patch series. The following changes have > > been made: > > > ... > > > > TODO: Write documentation > > > > Andi took a crack at the document. I made some > modifications

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-22 Thread Russell King - ARM Linux
On Tue, Nov 20, 2018 at 11:04:06PM +0200, Aaro Koskinen wrote: > I had switched to PIO mode in 2015 since the WARNs about legacy DMA > API were too annoying and flooding the console. And now that I tried > using DMA again with g_ether, it doesn't work anymore. The device get's > recognized on host

Re: [PATCH 4/4] base/drivers/topology: Default dmpis-mhz if they are not set in DT

2018-11-22 Thread Daniel Lezcano
On 22/11/2018 05:29, Viresh Kumar wrote: > On 21-11-18, 23:12, Daniel Lezcano wrote: >> On 30/10/2018 09:58, Viresh Kumar wrote: >>> s/dmpis/dmips/ in $subject >>> >>> On 29-10-18, 17:23, Daniel Lezcano wrote: In the case of assymetric SoC with the same micro-architecture, we >>> >>>

Re: [PATCH] x86: only use ERMS for user copies for larger sizes

2018-11-22 Thread Ingo Molnar
* Linus Torvalds wrote: > On Wed, Nov 21, 2018 at 10:16 AM Linus Torvalds > wrote: > > > > It might be interesting to just change raw_copy_to/from_user() to > > handle a lot more cases (in particular, handle cases where 'size' is > > 8-byte aligned). The special cases we *do* have may not be

Re: [PATCH] soc/tegra: refactor soc_is_tegra()

2018-11-22 Thread Arnd Bergmann
On Wed, Nov 21, 2018 at 3:40 PM Yangtao Li wrote: > > of_find_node_by_path() acquires a reference to the node returned by > it and that reference needs to be dropped by its caller.soc_is_tegra() > doesn't do that, so fix it.Call of_machine_is_compatible() to refactor > soc_is_tegra() whcih

RE: [PATCH V3 1/1] can: flexcan: Add self wakeup support

2018-11-22 Thread Aisheng DONG
[...] > >> @@ > >> -1437,10 +1552,18 @@ static int __maybe_unused flexcan_suspend(struct > >> device *device) > >>int err = 0; > >> > >>if (netif_running(dev)) { > >> - err = flexcan_chip_disable(priv); > >> - if (err) > >> - return err; > >> -

Re: [PATCH 4/6] devfreq: add devfreq_suspend/resume() functions

2018-11-22 Thread Lukasz Luba
On 11/22/18 4:07 AM, Chanwoo Choi wrote: > Hi, > > On 2018년 11월 22일 03:01, Lukasz Luba wrote: >> This patch adds implementation for global suspend/resume for >> devfreq framework. System suspend will next use these functions. >> >> The patch draws on Tobias Jakobi's work posted ~2 years ago,

Re: [PATCH] soc/tegra: refactor soc_is_tegra()

2018-11-22 Thread Frank Lee
; [0.137644] Internal error: Oops: 9607 [#1] PREEMPT SMP > [0.137766] Modules linked in: > [0.137950] CPU: 0 PID: 1 Comm: swapper/0 Not tainted > 4.20.0-rc3-next-20181122-6-g38d8a1f80349-dirty #2 > [0.137975] Hardware name: linux,dummy-virt (DT) > [0

Re: [PATCH 4/4] base/drivers/topology: Default dmpis-mhz if they are not set in DT

2018-11-22 Thread Daniel Lezcano
On 22/11/2018 11:31, Viresh Kumar wrote: > On 22-11-18, 11:29, Daniel Lezcano wrote: >> Oh ... actually raw_capacity is not needed at all! > > It is required as another routine writes some values to it I believe :) Well actually it is accessed 'later' by topology_normalize_cpu_scale() by a call

[char-misc-next v2 3/7] mei: hw: add dma ring control block

2018-11-22 Thread Tomas Winkler
The DMA ring control block contains write and read indices for host and device circular buffers. Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --- drivers/misc/mei/dma-ring.c | 20 drivers/misc/mei/hbm.c | 2 ++ drivers/misc/mei/hw.h | 23

[char-misc-next v2 6/7] mei: bump hbm version to 2.1

2018-11-22 Thread Tomas Winkler
From: Alexander Usyskin Bump HBM version to 2.1 to indicate DMA transfer support. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/mei/hw.h b/drivers/misc/mei/hw.h index

[char-misc-next v2 2/7] mei: hbm: setup dma ring

2018-11-22 Thread Tomas Winkler
DMA ring is allocated upon HBM handshake and the ring parameters are set via dedicated HBM_DMA_SETUP request command. The firmware will perform its setup and respond with a status. On failure the DMA buffers are released. Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin ---

[char-misc-next v2 5/7] mei: dma ring: implement transmit flow

2018-11-22 Thread Tomas Winkler
Implement a circular buffer on allocated system memory. Read and write indices are stored on the control block which is also shared between the device and the host. Two new functions are exported from the DMA module: mei_dma_ring_write, and mei_dma_ring_empty_slots. The former simply copy a packet

Re: [PATCH] x86: only use ERMS for user copies for larger sizes

2018-11-22 Thread Ingo Molnar
* Ingo Molnar wrote: > The kernel text size reduction with Jen's patch is small but real: > > text databss dec hex filename > 19572694 115169341987388850963516309a43c > vmlinux.before > 19572468 11516934

[GIT PULL] mtd: Fixes for 4.20-rc4

2018-11-22 Thread Boris Brezillon
Hello Linus, Here is the MTD fixes PR for 4.20-rc4. Regards, Boris The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad: Linux 4.20-rc2 (2018-11-11 17:12:31 -0600) are available in the Git repository at: git://git.infradead.org/linux-mtd.git

Re: Linux 3.18.126

2018-11-22 Thread Greg KH
diff --git a/Makefile b/Makefile index 5c8ab4c31efe..14472990c4bd 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 125 +SUBLEVEL = 126 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/alpha/include/asm/termios.h

Linux 3.18.126

2018-11-22 Thread Greg KH
I'm announcing the release of the 3.18.126 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web

Re: [PATCH] clk: meson: Fix GXL HDMI PLL fractional bits width

2018-11-22 Thread Neil Armstrong
Hi Martin, On 21/11/2018 22:53, Martin Blumenstingl wrote: > Hi Neil, > > On Wed, Nov 21, 2018 at 12:19 PM Neil Armstrong > wrote: >> >> The GXL Documentation specifies 12 bits for the Fractional bit field, >> bit the last bits have a different purpose that we cannot handle right >> now, so

Re: [PATCH] soc/tegra: Fix terminating condition

2018-11-22 Thread Frank Lee
Hi Thierry: How about change it to this? while (*match->compatible) { This is more beautiful.:-) Thanks, Yangtao On Thu, Nov 22, 2018 at 4:50 PM Thierry Reding wrote: > > On Thu, Nov 22, 2018 at 12:52:44AM -0700, Nathan Chancellor wrote: > > Clang warns: > > > >

Re: [patch 15/24] x86/speculation: Add command line control for indirect branch speculation

2018-11-22 Thread Thomas Gleixner
On Thu, 22 Nov 2018, Thomas Gleixner wrote: > On Thu, 22 Nov 2018, Borislav Petkov wrote: > > > + > > > + /* Initialize Indirect Branch Prediction Barrier */ > > > + if (boot_cpu_has(X86_FEATURE_IBPB)) { > > > + setup_force_cpu_cap(X86_FEATURE_USE_IBPB); > > > + pr_info("Spectre v2

[PATCH v3 3/3] dt-bindings: msm/disp: Introduce interconnect bindings for MDSS on SDM845

2018-11-22 Thread Sravanthi Kollukuduru
Add interconnect properties such as interconnect provider specifier , the edge source and destination ports which are required by the interconnect API to configure interconnect path for MDSS. Changes in v2: - none Changes in v3: - Remove common property definitions (Rob Herring)

Re: [PATCH] perf stat: fix csv mode column output for non-cgroup events

2018-11-22 Thread Jiri Olsa
On Thu, Nov 22, 2018 at 01:58:11AM -0200, Arnaldo Carvalho de Melo wrote: > Em Wed, Nov 07, 2018 at 02:50:45AM -0800, Stephane Eranian escreveu: > > When using the -x option, perf stat prints csv-style output > > with one event per line. For each event, it prints the count, > > the unit, the

Re: [patch 22/24] x86/speculation: Create PRCTL interface to restrict indirect branch speculation

2018-11-22 Thread Thomas Gleixner
On Thu, 22 Nov 2018, Peter Zijlstra wrote: > On Wed, Nov 21, 2018 at 09:14:52PM +0100, Thomas Gleixner wrote: > > @@ -1453,6 +1453,8 @@ static inline bool is_percpu_thread(void > > #define PFA_SPREAD_SLAB2 /* Spread some slab > > caches over cpuset */ > > #define

Re: [RFC PATCH 0/4] mm, memory_hotplug: allocate memmap from hotadded memory

2018-11-22 Thread David Hildenbrand
On 16.11.18 11:12, Oscar Salvador wrote: > Hi, > > this patchset is based on Michal's patchset [1]. > Patch#1, patch#2 and patch#4 are quite the same. > They just needed little changes to adapt it to current codestream, > so it seemed fair to leave them. > > - > Original cover: > > This

Re: [PATCH] fuse: Add bad inode check in fuse_destroy_inode()

2018-11-22 Thread Miklos Szeredi
On Thu, Nov 22, 2018 at 12:18 AM Myungho Jung wrote: > > make_bad_inode() sets inode->i_mode to S_IFREG if I/O error is detected > in fuse_do_getattr()/fuse_do_setattr(). If the inode is not a regular > file, write_files and queued_writes in fuse_inode are not initialized > and have NULL or

Re: [PATCH v2 0/5] x86/fault: #PF improvements, mostly related to USER bit

2018-11-22 Thread Peter Zijlstra
On Wed, Nov 21, 2018 at 03:11:21PM -0800, Andy Lutomirski wrote: > This series is a whole bunch of page fault cleanups, plus a couple > of OOPS diagnostic improvements. The overall goals are to clean up > handling of the faulting CPL, the USER bit in the error_code, and > the log messages

Re: [patch 15/24] x86/speculation: Add command line control for indirect branch speculation

2018-11-22 Thread Borislav Petkov
On Thu, Nov 22, 2018 at 10:18:58AM +0100, Peter Zijlstra wrote: > Right; that retpoline + IBPB case is one that came up earlier when we > talked about this stuff. The IBPB also helps against app2app BTB ASLR > attacks. So even if you have userspace retpoline, you might still want > IBPB. > > But

Re: [PATCH v2 14/15] tty: serial: Add RDA8810PL UART driver

2018-11-22 Thread Greg KH
On Wed, Nov 21, 2018 at 09:06:51AM +0530, Manivannan Sadhasivam wrote: > Add UART driver for RDA Micro RDA8810PL SoC. > > Signed-off-by: Andreas Färber > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Greg Kroah-Hartman

[tip:x86/mm] x86/fault: Remove sw_error_code

2018-11-22 Thread tip-bot for Andy Lutomirski
Commit-ID: 0ed32f1aa66ee758e6c8164f549f7ff9d399a20e Gitweb: https://git.kernel.org/tip/0ed32f1aa66ee758e6c8164f549f7ff9d399a20e Author: Andy Lutomirski AuthorDate: Wed, 21 Nov 2018 15:11:22 -0800 Committer: Ingo Molnar CommitDate: Thu, 22 Nov 2018 09:22:59 +0100 x86/fault: Remove

Re: [PATCH] staging: iio: ad7780: Add gain & filter gpio support

2018-11-22 Thread Popa, Stefan Serban
On Mi, 2018-11-21 at 16:04 -0200, Giuliano Belinassi wrote: > Previously, the AD7780 driver only supported gpio for the 'powerdown' > pin. This commit adds suppport for the 'gain' and 'filter' pin. Hey, Comments inline. > > Signed-off-by: Giuliano Belinassi > --- >  

Re: [PATCH 3/6] devfreq: add support for suspend/resume of a devfreq device

2018-11-22 Thread Lukasz Luba
On 11/22/18 3:58 AM, Chanwoo Choi wrote: > On 2018년 11월 22일 03:01, Lukasz Luba wrote: >> The patch adds support for handling suspend/resume process. >> It uses atomic variables to make sure no race condition >> affects the process. >> >> The patch draws on Tobias Jakobi's work posted ~2 years

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-11-22 Thread Dr. Greg
On Tue, Nov 20, 2018 at 02:04:42PM +0200, Jarkko Sakkinen wrote: Good morning to everyone, Happy Thanksgiving to those who are celebrating the holiday. > On Mon, Nov 19, 2018 at 08:59:24AM -0800, Andy Lutomirski wrote: > > The idea here is that, under normal circumstances, provisioning only > >

[PATCH v2] mmc: mediatek: add MT8183 SDIO driver support

2018-11-22 Thread Jjian Zhou
MT8183 need SDIO driver. So it need add new code to support it. Signed-off-by: Jjian Zhou Signed-off-by: Yong mao Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 51 --- 1 file changed, 48 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] ata: pata_macio: add of_node_put()

2018-11-22 Thread Sergei Shtylyov
On 21.11.2018 18:33, Frank Lee wrote: of_find_node_by_path() acquires a reference to the node returned by it and that reference needs to be dropped by its caller. bl_idle_init() doesn't do that, so fix it. I thought we're inside pata_macio_cable_detect()? Hi Sergei: Yeah,this is a typo.

[LKP] [mm] fb420465c9: kernel_BUG_at_mm/slub.c

2018-11-22 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-7): commit: fb420465c9bcaf57aa6bff76ffe31add559ae1f9 ("[PATCH] mm: use this_cpu_cmpxchg_double in put_cpu_partial") url: https://github.com/0day-ci/linux/commits/Wengang-Wang/mm-use-this_cpu_cmpxchg_double-in-put_cpu_partial/20181119-215159

Re: [PATCH 11/11] mfd: wm8400-core: Make it explicitly non-modular

2018-11-22 Thread Charles Keepax
On Wed, Nov 21, 2018 at 11:32:59PM -0500, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config MFD_WM8400 > drivers/mfd/Kconfig:bool "Wolfson Microelectronics WM8400" > > ...meaning that it currently is not being built as a

Re: [PATCH v9 09/15] sched: Introduce sched_energy_present static key

2018-11-22 Thread Quentin Perret
On Thursday 22 Nov 2018 at 09:17:16 (+), Quentin Perret wrote: > On Wednesday 21 Nov 2018 at 15:14:45 (+), Quentin Perret wrote: > > Hi Peter, > > > > On Wednesday 21 Nov 2018 at 14:08:22 (+0100), Peter Zijlstra wrote: > > > On Mon, Nov 19, 2018 at 02:18:51PM +, Quentin Perret wrote:

Re: [RFC][PATCH 00/14] function_graph: Rewrite to allow multiple users

2018-11-22 Thread Peter Zijlstra
On Wed, Nov 21, 2018 at 08:27:08PM -0500, Steven Rostedt wrote: > Well the fuction graph tracer is arguably the strongest of the tracers. > It shows both the entrance and exit of a function, can give the timings > of a function, and shows the execution of the code quite nicely. > > But it has one

Re: [PATCH 1/1] drm: msm: Replace dma_map_sg with dma_sync_sg*

2018-11-22 Thread Vivek Gautam
Hi Tomasz, Jordan, On 11/21/2018 9:18 AM, Tomasz Figa wrote: Hi Jordan, Vivek, On Wed, Nov 21, 2018 at 12:41 AM Jordan Crouse wrote: On Tue, Nov 20, 2018 at 03:24:37PM +0530, Vivek Gautam wrote: dma_map_sg() expects a DMA domain. However, the drm devices have been traditionally using

Re: [PATCH 2/6] devfreq: refactor set_target frequency function

2018-11-22 Thread Lukasz Luba
Hi Chanwoo Choi On 11/22/18 3:52 AM, Chanwoo Choi wrote: > On 2018년 11월 22일 03:01, Lukasz Luba wrote: >> The refactoring is needed for the new client in devfreq: suspend. >> To avoid code duplication, move it to the new local function >> devfreq_set_target. >> >> The patch draws on Tobias

[GIT PULL] sound fixes for 4.20-rc4

2018-11-22 Thread Takashi Iwai
Linus, please pull sound fixes for v4.20-rc4 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.20-rc4 The topmost commit is a6b0961b39896a9f9f1350d26d202f078a7d9dbc sound fixes for 4.20-rc4 The

Re: [PATCH] soc/tegra: refactor soc_is_tegra()

2018-11-22 Thread Arnd Bergmann
5f0c0] pgd=bdfff003, pud=bdffe003, pmd=bdffa003, pte= [0.137644] Internal error: Oops: 9607 [#1] PREEMPT SMP [0.137766] Modules linked in: [0.137950] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.20.0-rc3-next-20181122-6-g38d8a1f80349-dirty

Re: [PATCH V3 1/1] can: flexcan: Add self wakeup support

2018-11-22 Thread Marc Kleine-Budde
On 11/22/18 12:01 PM, Aisheng DONG wrote: > [...] @@ -1437,10 +1552,18 @@ static int __maybe_unused flexcan_suspend(struct device *device) int err = 0; if (netif_running(dev)) { - err = flexcan_chip_disable(priv); - if (err) -

[char-misc-next v2 7/7] mei: me: mark CNP devices as having dma support

2018-11-22 Thread Tomas Winkler
From: Alexander Usyskin Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/pci-me.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/mei/pci-me.c b/drivers/misc/mei/pci-me.c index ea4e152270a3..73ace2d59dea 100644 ---

[char-misc-next v2 1/7] mei: dma ring buffers allocation

2018-11-22 Thread Tomas Winkler
Allocate DMA ring buffers from managed coherent memory. Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --- drivers/misc/mei/Makefile | 1 + drivers/misc/mei/dma-ring.c | 99 + drivers/misc/mei/hw-me.c| 6 +++ drivers/misc/mei/mei_dev.h

[char-misc-next v2 4/7] mei: dma ring: implement rx circular buffer logic

2018-11-22 Thread Tomas Winkler
Implement circular buffer protocol over receive dma buffer. Add extension to the mei message header that holds length of the buffer on the dma buffer. Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --- drivers/misc/mei/client.c| 2 +- drivers/misc/mei/dma-ring.c | 61

[char-misc-next v2 0/7] mei: Add DMA ring

2018-11-22 Thread Tomas Winkler
This is a resend of the second part for the mei dma ring, that was left out. This series adds an alternative method for transferring data between the mei driver and the device via a DMA ring. The DMA ring allows transferring data in bigger chunks, up to 128K, than the HW ring 512B. The actual

Re: [PATCH 07/10] staging: erofs: separate into init_once / always

2018-11-22 Thread Gao Xiang
Hi Greg, On 2018/11/22 19:05, Greg Kroah-Hartman wrote: > On Thu, Nov 22, 2018 at 06:34:10PM +0800, Gao Xiang wrote: >> Hi Greg, >> >> On 2018/11/22 18:23, Greg Kroah-Hartman wrote: + + DBG_BUGON(work->nr_pages); + DBG_BUGON(work->vcnt); >>> How can these ever be triggered? I

[PATCH 1/1] headers_install.sh: Support __aligned(x) for uAPI headers

2018-11-22 Thread Sakari Ailus
The headers-install.sh already supports __packed conversion to __attribute__((packed)) for uAPI headers but it does not support similar __aligned(x) conversion. Add support for __aligned(x). Signed-off-by: Sakari Ailus --- scripts/headers_install.sh | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH v2] signal: add procfd_signal() syscall

2018-11-22 Thread Serge E. Hallyn
On Tue, Nov 20, 2018 at 11:51:23AM +0100, Christian Brauner wrote: > The kill() syscall operates on process identifiers. After a process has > exited its pid can be reused by another process. If a caller sends a signal > to a reused pid it will end up signaling the wrong process. This issue has >

Re: [PATCH v3] thermal: qoriq: add multiple sensors support

2018-11-22 Thread Zhang Rui
On 三, 2018-11-21 at 09:43 +0100, Daniel Lezcano wrote: > On 21/11/2018 02:34, Andy Tang wrote: > > > > Hi all, > > > > Do you have any comments on this patch? > > > > I found for our thermal driver(qoriq_thermal.c) there are different > > between the following two git trees: > >

Re: [patch 15/24] x86/speculation: Add command line control for indirect branch speculation

2018-11-22 Thread Thomas Gleixner
On Thu, 22 Nov 2018, Borislav Petkov wrote: > > + > > + /* Initialize Indirect Branch Prediction Barrier */ > > + if (boot_cpu_has(X86_FEATURE_IBPB)) { > > + setup_force_cpu_cap(X86_FEATURE_USE_IBPB); > > + pr_info("Spectre v2 mitigation: Enabling Indirect Branch > >

Re: [PATCH v2] signal: add procfd_signal() syscall

2018-11-22 Thread Aleksa Sarai
On 2018-11-20, Christian Brauner wrote: > The kill() syscall operates on process identifiers. After a process has > exited its pid can be reused by another process. If a caller sends a signal > to a reused pid it will end up signaling the wrong process. This issue has > often surfaced and there

Re: [PATCH v2 0/3] iommu/io-pgtable-arm-v7s: Use DMA32 zone for page tables

2018-11-22 Thread Christoph Hellwig
On Wed, Nov 21, 2018 at 10:26:26PM +, Robin Murphy wrote: > TBH, if this DMA32 stuff is going to be contentious we could possibly just > rip out the offending kmem_cache - it seemed like good practice for the > use-case, but provided kzalloc(SZ_1K, gfp | GFP_DMA32) can be relied upon to > give

Re: [PATCH 4.19 00/42] 4.19.4-stable review

2018-11-22 Thread Greg Kroah-Hartman
On Thu, Nov 22, 2018 at 12:45:42PM +0530, Harsh Shandilya wrote: > On 22 November 2018 12:35:36 AM IST, Greg Kroah-Hartman > wrote: > >This is the start of the stable review cycle for the 4.19.4 release. > >There are 42 patches in this series, all will be posted as a response > >to this one. If

[GIT PULL] Char/Misc driver fixes for 4.20-rc4

2018-11-22 Thread Greg KH
The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad: Linux 4.20-rc2 (2018-11-11 17:12:31 -0600) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git tags/char-misc-4.20-rc4 for you to fetch changes up to

Re: [PATCH 09/11] mfd: tps65910: Make it explicitly non-modular

2018-11-22 Thread Graeme Gregory
On Thu, 22 Nov 2018, at 4:32 AM, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config MFD_TPS65910 > drivers/mfd/Kconfig-bool "TI TPS65910 Power Management chip" > > ...meaning that it currently is not being built as a

Re: [PATCHv2 01/10] tools lib traceevent: Use LDFLAGS in the build commands

2018-11-22 Thread Jiri Olsa
On Fri, Nov 16, 2018 at 02:01:58PM +0100, Jiri Olsa wrote: > On Wed, Oct 17, 2018 at 10:23:41AM -0400, Steven Rostedt wrote: > > On Tue, 16 Oct 2018 17:45:26 +0200 > > Jiri Olsa wrote: > > > > > On Tue, Oct 16, 2018 at 11:21:36AM -0400, Steven Rostedt wrote: > > > > On Tue, 16 Oct 2018 17:06:06

BUG: ftrace/perf dropping events at the begin of interrupt handlers

2018-11-22 Thread Daniel Bristot de Oliveira
While developing the automata [1], I've hit cases in which need resched and/or sched wakeup events were being fired with preemption and/or interrupts enabled. However, this is not possible because interrupts must be disabled to avoid concurrence with an interrupt handler, and the preemption must

Re: [patch 00/24] x86/speculation: Remedy the STIBP/IBPB overhead

2018-11-22 Thread Peter Zijlstra
On Wed, Nov 21, 2018 at 09:14:30PM +0100, Thomas Gleixner wrote: > It's based on the x86/pti branch unfortunately, which contains the removal > of the minimal asm retpoline hackery. I noticed too late. If the minimal > asm stuff should not be backported it's trivial to rebase that series on >

[tip:x86/cleanups] x86/headers: Fix -Wmissing-prototypes warning

2018-11-22 Thread tip-bot for Yi Wang
Commit-ID: d37904c5b14317a2c76efec6b9e4dbcaa17380e5 Gitweb: https://git.kernel.org/tip/d37904c5b14317a2c76efec6b9e4dbcaa17380e5 Author: Yi Wang AuthorDate: Thu, 22 Nov 2018 10:04:09 +0800 Committer: Ingo Molnar CommitDate: Thu, 22 Nov 2018 09:52:28 +0100 x86/headers: Fix

Re: [PATCH V2 2/2] mmc: mmci: add variant property to send stop cmd if a command fail

2018-11-22 Thread Ludovic BARRE
hi Ulf due to some ST internal works, I will busy the next days. But I will sent the change as soon as possible. On 11/21/18 6:56 PM, Ulf Hansson wrote: On 7 November 2018 at 10:30, Ludovic Barre wrote: From: Ludovic Barre The mmc framework follows the requirement of SD_Specification: the

[tip:perf/urgent] perf/x86/intel: Add generic branch tracing check to intel_pmu_has_bts()

2018-11-22 Thread tip-bot for Jiri Olsa
Commit-ID: 67266c1080ad56c31af72b9c18355fde8ccc124a Gitweb: https://git.kernel.org/tip/67266c1080ad56c31af72b9c18355fde8ccc124a Author: Jiri Olsa AuthorDate: Wed, 21 Nov 2018 11:16:11 +0100 Committer: Ingo Molnar CommitDate: Thu, 22 Nov 2018 09:45:09 +0100 perf/x86/intel: Add generic

[tip:perf/urgent] perf/x86/intel: Disallow precise_ip on BTS events

2018-11-22 Thread tip-bot for Jiri Olsa
Commit-ID: 472de49fdc53365c880ab81ae2b5cfdd83db0b06 Gitweb: https://git.kernel.org/tip/472de49fdc53365c880ab81ae2b5cfdd83db0b06 Author: Jiri Olsa AuthorDate: Wed, 21 Nov 2018 11:16:12 +0100 Committer: Ingo Molnar CommitDate: Thu, 22 Nov 2018 09:45:10 +0100 perf/x86/intel: Disallow

Re: [PATCH v4 0/5] nds32 FPU port

2018-11-22 Thread Greentime Hu
Vincent Chen 於 2018年11月22日 週四 上午11:14寫道: > > This patch set contains basic components for supporting the nds32 FPU, > such as exception handlers and context switch for FPU registers. By > default, the lazy FPU scheme is supported and the user can configure it > via CONFIG_LZAY_FPU. In addition,

Re: [PATCH 0/7] HID: revert the Logitech High Resolution wheel support

2018-11-22 Thread Benjamin Tissoires
On Wed, Nov 21, 2018 at 4:27 PM Benjamin Tissoires wrote: > > It turns out that the implementation of the high resolution support of > Logitech wheels is rather incompatible with the mice from Microsoft. > > We had a lengthy discussion off-list and the summary is quoted in 7/7. > > The TL;DR, we

Re: [PATCH] soc/tegra: Fix terminating condition

2018-11-22 Thread Frank Lee
On Thu, Nov 22, 2018 at 3:53 PM Nathan Chancellor wrote: > > Clang warns: > > drivers/soc/tegra/common.c:27:16: error: address of array > 'match->compatible' will always evaluate to 'true' > [-Werror,-Wpointer-bool-conversion] > while (match->compatible) { > ~

[PATCH v6 2/2] PCI: amlogic: Add the Amlogic Meson PCIe controller driver

2018-11-22 Thread Hanjie Lin
From: Yue Wang The Amlogic Meson PCIe host controller is based on the Synopsys DesignWare PCI core. This patch adds the driver support for Meson PCIe controller. Signed-off-by: Yue Wang Signed-off-by: Hanjie Lin --- MAINTAINERS| 7 +

[PATCH v6 1/2] dt-bindings: PCI: meson: add DT bindings for Amlogic Meson PCIe controller

2018-11-22 Thread Hanjie Lin
From: Yue Wang The Amlogic Meson PCIe host controller is based on the Synopsys DesignWare PCI core. This patch adds documentation for the DT bindings in Meson PCIe controller. Signed-off-by: Yue Wang Signed-off-by: Hanjie Lin Reviewed-by: Rob Herring ---

  1   2   3   4   5   6   7   8   9   10   >