Re: [patch 14/24] x86/speculation: Unify conditional spectre v2 print functions

2018-11-21 Thread Ingo Molnar
* Thomas Gleixner wrote: > There is no point in having two functions and a conditional at the call > site. > > Signed-off-by: Thomas Gleixner patches 1-14: Reviewed-by: Ingo Molnar 15-24 look good to me too, modulo the (mostly trivial) feedback I gave. Thanks, Ingo

Re: [patch 16/24] x86/speculation: Prepare for per task indirect branch speculation control

2018-11-21 Thread Ingo Molnar
* Thomas Gleixner wrote: > From: Tim Chen > > To avoid the overhead of STIBP always on, it's necessary to allow per task > control of STIBP. > > Add a new task flag TIF_SPEC_IB and evaluate it during context switch if > SMT is active and flag evaluation is enabled by the speculation control

[PATCH] iio: adc: meson-saradc: check for devm_kasprintf failure

2018-11-21 Thread Nicholas Mc Guire
devm_kasprintf() may return NULL on failure of internal allocation thus the assignments to init.name are not safe if not checked. On error meson_sar_adc_clk_init() returns negative values so -ENOMEM in the (unlikely) failure case of devm_kasprintf() should be fine here. Signed-off-by: Nicholas

[PATCH v10 0/3] Add support for LPASS clock controller for SDM845

2018-11-21 Thread Taniya Das
[v10] * Separate change to add protected-clocks list in GCC binding. * Remove the clock support 'LPASS_AUDIO_WRAPPER_AON_CLK' as it is always ON clock. * Add few comments for module description and match table. [v9] * Update GCC documentation binding with the protected-clocks list.

[PATCH v10 1/3] dt-bindings: clock: Update GCC bindings for protected-clocks

2018-11-21 Thread Taniya Das
Add protected-clocks list which could used to specify the clocks to be bypassed on certain devices. Signed-off-by: Taniya Das --- Documentation/devicetree/bindings/clock/qcom,gcc.txt | 14 ++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,

[PATCH v10 3/3] clk: qcom: Add lpass clock controller driver for SDM845

2018-11-21 Thread Taniya Das
Add support for the lpass clock controller found on SDM845 based devices. This would allow lpass peripheral loader drivers to control the clocks to bring the subsystem out of reset. LPASS clocks present on the global clock controller would be registered with the clock framework based on the protect

[PATCH v10 2/3] dt-bindings: clock: Introduce QCOM LPASS clock bindings

2018-11-21 Thread Taniya Das
Add device tree bindings for Low Power Audio subsystem clock controller for Qualcomm Technology Inc's SDM845 SoCs. Signed-off-by: Taniya Das --- .../devicetree/bindings/clock/qcom,gcc.txt | 4 +++- .../devicetree/bindings/clock/qcom,lpasscc.txt | 26 ++ include/d

[PATCH] soc/tegra: Fix terminating condition

2018-11-21 Thread Nathan Chancellor
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) { ~ ~~~^~ 1 error generated. Whoops, we have an infinite loop and QEMU no longer

Re: [PATCH v9 1/2] dt-bindings: clock: Introduce QCOM LPASS clock bindings

2018-11-21 Thread Taniya Das
Hello Rob, On 11/13/2018 5:49 AM, Rob Herring wrote: On Sat, Nov 10, 2018 at 07:14:15AM +0530, Taniya Das wrote: Add device tree bindings for Low Power Audio subsystem clock controller for Qualcomm Technology Inc's SDM845 SoCs. Signed-off-by: Taniya Das --- .../devicetree/bindings/clock/qco

Re: [patch 17/24] x86/speculation: Move IBPB control out of switch_mm()

2018-11-21 Thread Ingo Molnar
* Thomas Gleixner wrote: > IBPB control is currently in switch_mm() to avoid issuing IBPB when > switching between tasks of the same process. > > But that's not covering the case of sandboxed tasks which get the > TIF_SPEC_IB flag set via seccomp. There the barrier is required when the > poten

Re: [PATCH v9 2/2] clk: qcom: Add lpass clock controller driver for SDM845

2018-11-21 Thread Taniya Das
Hello Stephen, On 11/22/2018 12:37 AM, Stephen Boyd wrote: Quoting Taniya Das (2018-11-09 17:44:16) diff --git a/drivers/clk/qcom/gcc-sdm845.c b/drivers/clk/qcom/gcc-sdm845.c index f133b7f..ba8ff99 100644 --- a/drivers/clk/qcom/gcc-sdm845.c +++ b/drivers/clk/qcom/gcc-sdm845.c @@ -3153,6 +3153,3

Re: [PATCH] mm/gup: finish consolidating error handling

2018-11-21 Thread John Hubbard
On 11/21/18 2:44 PM, Andrew Morton wrote: > On Wed, 21 Nov 2018 00:14:02 -0800 john.hubb...@gmail.com wrote: > >> Commit df06b37ffe5a4 ("mm/gup: cache dev_pagemap while pinning pages") >> attempted to operate on each page that get_user_pages had retrieved. In >> order to do that, it created a comm

Re: [PATCH v1 2/2] signal: add procfd_signal() syscall

2018-11-21 Thread Serge E. Hallyn
On Mon, Nov 19, 2018 at 03:39:54PM -0700, Tycho Andersen wrote: > On Mon, Nov 19, 2018 at 11:32:39AM +0100, Christian Brauner wrote: > > > > +/** > > + * sys_procfd_signal - send a signal to a process through a process file > > + * descriptor > > + * @fd: the file descriptor

[RESEND PATCH] include: Add lantiq.h in include/linux/

2018-11-21 Thread Songjun Wu
In some existing lantiq driver, the C codes include lantiq_soc.h header file directly. ./arch/mips/include/asm/mach-lantiq/falcon/lantiq_soc.h ./arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h Those drivers need to be extended to support more platform. lantiq.h is added in include/linux/ to m

Re: [patch 18/24] x86/speculation: Avoid __switch_to_xtra() calls

2018-11-21 Thread Ingo Molnar
* Tim Chen wrote: > On 11/21/2018 12:14 PM, Thomas Gleixner wrote: > > > +* Avoid __switch_to_xtra() invocation when conditional stpib is > > s/stpib/stibp and: s/stibp/STIBP to make it consistent throughout the patchset. Thanks, Ingo

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

2018-11-21 Thread Ingo Molnar
* Thomas Gleixner wrote: > The update of the TIF_SSBD flag and the conditional speculation control MSR > update is done in the ssb_prctl_set() function directly. The upcoming prctl > support for controlling indirect branch speculation via STIBP needs the > same mechanism. > > Split the code ou

Re: [patch 17/24] x86/speculation: Move IBPB control out of switch_mm()

2018-11-21 Thread Jiri Kosina
On Wed, 21 Nov 2018, Andi Kleen wrote: > > +* This could be optimized by keeping track of the last > > +* user task per cpu and avoiding the barrier when the task > > +* is immediately scheduled back and the thread inbetween > > +* was a kernel threa

Re: [PATCH v1 2/2] signal: add procfd_signal() syscall

2018-11-21 Thread Serge E. Hallyn
On Tue, Nov 20, 2018 at 08:23:43AM +1100, Aleksa Sarai wrote: > On 2018-11-20, Aleksa Sarai wrote: > > On 2018-11-19, Christian Brauner wrote: > > > On Tue, Nov 20, 2018 at 07:28:57AM +1100, Aleksa Sarai wrote: > > > > On 2018-11-19, Christian Brauner wrote: > > > > > + if (info) { > > > > >

Re: [PATCH] ARM: dts: imx: Add dummy PHYs for HSIC-only USB controllers

2018-11-21 Thread Schrempf Frieder
On 22.11.18 07:48, PETER CHEN wrote: > >> >> On Thu, Oct 18, 2018 at 09:45:04AM +0200, Frieder Schrempf wrote: >>> Some SOCs in the i.MX6 family have a USB host controller that is only >>> capable of the HSIC interface and has no on-board PHY. >>> >>> To be able to use these controllers, we need

Re: WARN_ON after gic_reserve_range

2018-11-21 Thread Richter, Robert
On 20.11.18 17:37:37, Marc Zyngier wrote: > On 20/11/2018 17:30, John Garry wrote: > > I see it also: > > > > [0.00] Booting Linux on physical CPU 0x01 [0x410fd082] > > [0.00] Linux version 4.20.0-rc3 > > (johnpgarry@johnpgarry-ThinkCentre-M93p) (gcc version 7.3.1 20180425 >

Re: [patch 21/24] x86/speculation: Prepare arch_smt_update() for PRCTL mode

2018-11-21 Thread Ingo Molnar
* Thomas Gleixner wrote: > The upcoming fine grained per task STIBP control needs to be updated on CPU > hotplug as well. > > Split out the code which controls the strict mode so the prctl control code > can be added later. > > Signed-off-by: Thomas Gleixner > --- > arch/x86/kernel/cpu/bugs

Re: [PATCH] arm64: dts: qcom: sdm845-mtp: Mark protected gcc clocks

2018-11-21 Thread Bjorn Andersson
On Wed 21 Nov 01:01 PST 2018, Stephen Boyd wrote: > Quoting Bjorn Andersson (2018-11-05 21:50:13) > > As of v4.20-rc1 probing the GCC driver on a SDM845 device with the > > standard security implementation causes an access violation and an > > immediate system restart. Use the protected-clocks pro

[PATCH] drivers/memstick/host/jmb38x_ms: fixes incorrect error handling

2018-11-21 Thread Pan Bian
kfree() is incorrectly used to free the memory chunk allocated by memstick_alloc_host(). Instead, memstick_free_host() should be used. Fixes: 60fdd931d577("memstick: add support for JMicron jmb38x ...") Signed-off-by: Pan Bian --- drivers/memstick/host/jmb38x_ms.c | 2 +- 1 file changed, 1 inser

Re: [patch 24/24] x86/speculation: Add seccomp Spectre v2 app to app protection mode

2018-11-21 Thread Ingo Molnar
* Thomas Gleixner wrote: > From: Jiri Kosina > > If 'prctl' mode of app2app protection from spectre v2 is selected on the > kernel command-line, STIBP and IBPB are applied on tasks which restrict > their indirect branch speculation via prctl. > > SECCOMP enables the SSBD mitigation for sandb

Re: [PATCH] clk: qcom: Move to menuconfig and reduce lines

2018-11-21 Thread Bjorn Andersson
On Wed 21 Nov 13:01 PST 2018, Stephen Boyd wrote: > We duplicate the 'depends on' in almost every Kconfig here, and it's > getting out of hand now that we have tens of options for various SoC > drivers here. Let's clean it up a little by making a menuconfig for a > submenu and adding an if wrapper

Re: [PATCH v5 3/5] arm64: dts: qcom: sdm845: add UFS controller

2018-11-21 Thread Bjorn Andersson
On Fri 26 Oct 10:35 PDT 2018, Evan Green wrote: > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi > b/arch/arm64/boot/dts/qcom/sdm845.dtsi > index b72bdb0a31a5..9c72edb678ec 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi > @@ -808,6 +808,73 @@ >

Re: [patch 23/24] x86/speculation: Enable PRCTL mode for spectre_v2_app2app

2018-11-21 Thread Ingo Molnar
* Thomas Gleixner wrote: > Now that all prerequisites are in place: > > - Add the prctl command line option > > - Default the 'auto' mode to 'prctl' > > - When SMT state changes, update the static key which controls the >conditional STIBP evaluation on context switch. > > - At init

[tip:perf/core] perf pmu: Move *_cpuid_str() weak functions to header.c

2018-11-21 Thread tip-bot for Kan Liang
Commit-ID: f4a0742b3cc1d03b2ff448017b8c714a77e5a261 Gitweb: https://git.kernel.org/tip/f4a0742b3cc1d03b2ff448017b8c714a77e5a261 Author: Kan Liang AuthorDate: Wed, 21 Nov 2018 08:49:39 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 22:39:59 -0300 perf pmu: Move *

[tip:perf/core] perf symbols: Fix slowness due to -ffunction-section

2018-11-21 Thread tip-bot for Eric Saint-Etienne
Commit-ID: 1e6285699b3034e6f4d1f091edd46d717580bf7c Gitweb: https://git.kernel.org/tip/1e6285699b3034e6f4d1f091edd46d717580bf7c Author: Eric Saint-Etienne AuthorDate: Wed, 21 Nov 2018 09:51:19 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 22:39:59 -0300 perf sy

[tip:perf/core] perf jvmti: Separate jvmti cmlr check

2018-11-21 Thread tip-bot for Jiri Olsa
Commit-ID: dd1d0044dd1c1bf84a9b3e1f24e43347b26b96a0 Gitweb: https://git.kernel.org/tip/dd1d0044dd1c1bf84a9b3e1f24e43347b26b96a0 Author: Jiri Olsa AuthorDate: Wed, 21 Nov 2018 16:43:41 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 22:39:58 -0300 perf jvmti: Sepa

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

2018-11-21 Thread Harsh Shandilya
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 anyone has any issues with these being applied, please >let me know. > >Res

[tip:perf/core] perf vendor events: Add stepping in CPUID string for x86

2018-11-21 Thread tip-bot for Kan Liang
Commit-ID: 3b54411a4485c9f1d50f003810ecfceca82a09ae Gitweb: https://git.kernel.org/tip/3b54411a4485c9f1d50f003810ecfceca82a09ae Author: Kan Liang AuthorDate: Wed, 14 Nov 2018 13:24:15 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 22:39:57 -0300 perf vendor even

[tip:perf/core] perf pmu: Suppress potential format-truncation warning

2018-11-21 Thread tip-bot for Ben Hutchings
Commit-ID: 11a64a05dc649815670b1be9fe63d205cb076401 Gitweb: https://git.kernel.org/tip/11a64a05dc649815670b1be9fe63d205cb076401 Author: Ben Hutchings AuthorDate: Sun, 11 Nov 2018 18:45:24 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 22:39:56 -0300 perf pmu: Su

[tip:perf/core] perf tools: Add Hygon Dhyana support

2018-11-21 Thread tip-bot for Pu Wen
Commit-ID: 4787eff3fa88f62fede6ed7afa06477ae6bf984d Gitweb: https://git.kernel.org/tip/4787eff3fa88f62fede6ed7afa06477ae6bf984d Author: Pu Wen AuthorDate: Mon, 12 Nov 2018 15:40:51 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 22:39:56 -0300 perf tools: Add Hyg

[tip:perf/core] perf stat: Use perf_evsel__is_clocki() for clock events

2018-11-21 Thread tip-bot for Ravi Bangoria
Commit-ID: eb08d006054e7e374592068919e32579988602d4 Gitweb: https://git.kernel.org/tip/eb08d006054e7e374592068919e32579988602d4 Author: Ravi Bangoria AuthorDate: Thu, 15 Nov 2018 15:25:32 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 22:39:57 -0300 perf stat: U

[tip:perf/core] perf bench: Add epoll_ctl(2) benchmark

2018-11-21 Thread tip-bot for Davidlohr Bueso
Commit-ID: 231457ec707475c71d4e538a3253f1ed9e294cf0 Gitweb: https://git.kernel.org/tip/231457ec707475c71d4e538a3253f1ed9e294cf0 Author: Davidlohr Bueso AuthorDate: Tue, 6 Nov 2018 07:22:26 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 22:39:55 -0300 perf bench:

[tip:perf/core] tools build feature: Check if eventfd() is available

2018-11-21 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 11c6cbe706f218a8dc7e1f962f12b3a52ddd33a9 Gitweb: https://git.kernel.org/tip/11c6cbe706f218a8dc7e1f962f12b3a52ddd33a9 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 21 Nov 2018 17:42:00 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 22:25:44 -0300 t

[tip:perf/core] perf bench: Add epoll parallel epoll_wait benchmark

2018-11-21 Thread tip-bot for Davidlohr Bueso
Commit-ID: 121dd9ea0116de3e79a4903a84018190c595e2b6 Gitweb: https://git.kernel.org/tip/121dd9ea0116de3e79a4903a84018190c595e2b6 Author: Davidlohr Bueso AuthorDate: Tue, 6 Nov 2018 07:22:25 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 22:38:47 -0300 perf bench:

Re: [PATCH v2 1/3] thermal: tegra: continue if sensor register fails

2018-11-21 Thread Wei Ni
On 21/11/2018 8:51 PM, Daniel Lezcano wrote: > On 21/11/2018 11:23, Wei Ni wrote: >> >> >> On 21/11/2018 4:55 PM, Daniel Lezcano wrote: >>> On 13/11/2018 11:06, Wei Ni wrote: Don't bail when a sensor fails to register with the thermal zone and allow other sensors to register. This

[tip:perf/core] perf bench: Move HAVE_PTHREAD_ATTR_SETAFFINITY_NP into bench.h

2018-11-21 Thread tip-bot for Davidlohr Bueso
Commit-ID: d47d77c3f008d3cf02c6ce92ef4f6e32ca270351 Gitweb: https://git.kernel.org/tip/d47d77c3f008d3cf02c6ce92ef4f6e32ca270351 Author: Davidlohr Bueso AuthorDate: Fri, 9 Nov 2018 13:07:19 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 12:00:32 -0300 perf bench:

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

2018-11-21 Thread Ingo Molnar
* Thomas Gleixner wrote: > From: Tim Chen > > Add the PR_SPEC_INDIR_BRANCH option for the PR_GET_SPECULATION_CTRL and > PR_SET_SPECULATION_CTRL prctls to allow fine grained per task control of > indirect branch speculation via STIBP. > > Invocations: > Check indirect branch speculation stat

[RFC PATCH] panic: Add options to dump system info when panic happens

2018-11-21 Thread Feng Tang
Kernel panic issues are always painful to debug, partially because of it's not easy to get enough information of the context when panic happens. And we have ramoops and kdump for that, while this commit tries to a easier way to show the system info by adding a cmdline parameter, referring some ide

[tip:perf/core] perf script: Share code and output format for uregs and iregs output

2018-11-21 Thread tip-bot for Milian Wolff
Commit-ID: 9add8fe8e6f63db47e40e65173530dcb68cd7a07 Gitweb: https://git.kernel.org/tip/9add8fe8e6f63db47e40e65173530dcb68cd7a07 Author: Milian Wolff AuthorDate: Wed, 7 Nov 2018 23:34:37 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 12:00:32 -0300 perf script: S

[tip:perf/core] perf bpf: Reduce the hardcoded .max_entries for pid_maps

2018-11-21 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 0f7c2de5dd3f5c0ed9603e4ccfb6a3ddc55f46df Gitweb: https://git.kernel.org/tip/0f7c2de5dd3f5c0ed9603e4ccfb6a3ddc55f46df Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 7 Nov 2018 14:49:27 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 12:00:32 -0300 pe

[tip:perf/core] perf script: Add newline after uregs output

2018-11-21 Thread tip-bot for Milian Wolff
Commit-ID: b07d16f7e9e4cf2562f61b5f68a4b0831fe5ef14 Gitweb: https://git.kernel.org/tip/b07d16f7e9e4cf2562f61b5f68a4b0831fe5ef14 Author: Milian Wolff AuthorDate: Wed, 7 Nov 2018 10:37:05 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 12:00:31 -0300 perf script: A

Re: [PATCH v5 5/5] arm64: dts: qcom: sdm845: Add USB PHY lane two

2018-11-21 Thread Bjorn Andersson
On Fri 26 Oct 10:35 PDT 2018, Evan Green wrote: > Add the second lane registers for the USB PHY, now that the > QMP phy bindings have been updated. This way the driver can stop > reaching beyond its register region to get at the second lane. > > Signed-off-by: Evan Green > Reviewed-by: Douglas A

[tip:perf/core] Revert "perf augmented_syscalls: Drop 'write', 'poll' for testing without self pid filter"

2018-11-21 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4aa792de0b136edbde777d3d69c6fe8cdd8cda72 Gitweb: https://git.kernel.org/tip/4aa792de0b136edbde777d3d69c6fe8cdd8cda72 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 7 Nov 2018 10:54:06 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 12:00:31 -0300 Re

[tip:perf/core] perf augmented_syscalls: Remove example hardcoded set of filtered pids

2018-11-21 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: e312747b49d382584aaa62398952832765e28f74 Gitweb: https://git.kernel.org/tip/e312747b49d382584aaa62398952832765e28f74 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 7 Nov 2018 10:09:41 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 12:00:31 -0300 pe

Re: [PATCH linux-next v1 2/4] clk: renesas: Add binding document for AVB Counter Clock

2018-11-21 Thread Jiada Wang
Hi Stephen On 2018/11/04 12:14, Stephen Boyd wrote: Quoting Jiada Wang (2018-10-31 05:00:49) On 2018/10/30 3:29, Stephen Boyd wrote: Quoting jiada_w...@mentor.com (2018-10-25 00:23:47) +Required Properties: + - compatible: Must be "renesas,clk-avb" + - reg: Base address and length of the m

[tip:perf/core] perf trace: Fill in BPF "filtered_pids" map when present

2018-11-21 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a9964c432bccb9222b6ac671324f73d629ff7ac9 Gitweb: https://git.kernel.org/tip/a9964c432bccb9222b6ac671324f73d629ff7ac9 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 7 Nov 2018 10:08:00 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 12:00:31 -0300 pe

[tip:perf/core] perf trace: See if there is a map named "filtered_pids"

2018-11-21 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 744fafc787deebf26a39e6b5be36026bb2ff65fb Gitweb: https://git.kernel.org/tip/744fafc787deebf26a39e6b5be36026bb2ff65fb Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 7 Nov 2018 10:04:51 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 12:00:31 -0300 pe

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

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

[tip:perf/core] perf trace: Add "_from_option" suffix to trace__set_filter()

2018-11-21 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 6a0b3abad9decb3c20e19baa3c442e1e5518546e Gitweb: https://git.kernel.org/tip/6a0b3abad9decb3c20e19baa3c442e1e5518546e Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 7 Nov 2018 09:38:49 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 12:00:31 -0300 pe

[tip:perf/core] perf evlist: Rename perf_evlist__set_filter* to perf_evlist__set_tp_filter*

2018-11-21 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 7ad92a3371e1536a2dddf68337015569c4917170 Gitweb: https://git.kernel.org/tip/7ad92a3371e1536a2dddf68337015569c4917170 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 6 Nov 2018 17:02:33 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 12:00:31 -0300 pe

Re: [PATCH v5 4/5] arm64: dts: qcom: sdm845: Add UFS nodes for sdm845-mtp

2018-11-21 Thread Bjorn Andersson
On Mon 19 Nov 11:42 PST 2018, Stephen Boyd wrote: > Quoting Doug Anderson (2018-11-19 11:25:08) > > On Mon, Nov 19, 2018 at 11:19 AM Stephen Boyd wrote: > > > > > > Quoting Evan Green (2018-10-26 10:35:43) > > > > > > > +}; > > > > + > > > > +&ufsphy1 { > > > > + status = "okay"; > > > > +

[tip:perf/core] perf augmented_syscalls: Use pid_filter

2018-11-21 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ed9a77ba7703f7da8f106d241cd0c734f8664b4d Gitweb: https://git.kernel.org/tip/ed9a77ba7703f7da8f106d241cd0c734f8664b4d Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 6 Nov 2018 16:09:06 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 12:00:31 -0300 pe

[tip:perf/core] perf bpf: Add simple pid_filter class accessible to BPF proggies

2018-11-21 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8008aab0962ea68cc00d15e8d7b0637b48837a40 Gitweb: https://git.kernel.org/tip/8008aab0962ea68cc00d15e8d7b0637b48837a40 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 6 Nov 2018 15:50:36 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 12:00:31 -0300 pe

[tip:perf/core] perf augmented_syscalls: Drop 'write', 'poll' for testing without self pid filter

2018-11-21 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 77ecb64050ff580963cbb8b8f1b02db91dc9efaf Gitweb: https://git.kernel.org/tip/77ecb64050ff580963cbb8b8f1b02db91dc9efaf Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 6 Nov 2018 16:01:26 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 12:00:31 -0300 pe

[tip:perf/core] perf bpf: Add defines for map insertion/lookup

2018-11-21 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 382b55dbef6b68e3fef2fd8a438fbaff57695308 Gitweb: https://git.kernel.org/tip/382b55dbef6b68e3fef2fd8a438fbaff57695308 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 6 Nov 2018 15:46:27 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 12:00:31 -0300 pe

[tip:perf/core] perf augmented_syscalls: Remove needless linux/socket.h include

2018-11-21 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 66067538e0425beca98e1bee55a357f3869a0e31 Gitweb: https://git.kernel.org/tip/66067538e0425beca98e1bee55a357f3869a0e31 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 6 Nov 2018 15:26:46 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 12:00:31 -0300 pe

[tip:perf/core] perf bpf: Add unistd.h to the headers accessible to bpf proggies

2018-11-21 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 1475d35c4a6174d4ec633b9af5713e9770b3ac0d Gitweb: https://git.kernel.org/tip/1475d35c4a6174d4ec633b9af5713e9770b3ac0d Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 6 Nov 2018 15:21:45 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 12:00:30 -0300 pe

[tip:perf/core] perf augmented_syscalls: Filter on a hard coded pid

2018-11-21 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 55f127b43143363d000165c7cb72e4b95de1380d Gitweb: https://git.kernel.org/tip/55f127b43143363d000165c7cb72e4b95de1380d Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 6 Nov 2018 15:23:40 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Nov 2018 12:00:31 -0300 pe

Re: [PATCH 4/6] zram: support idle page writeback

2018-11-21 Thread Sergey Senozhatsky
On (11/22/18 15:31), Minchan Kim wrote: > > > > I got what you mean now. Let's call it as "incompressible page wrieback" > > to prevent confusing. > > > > "incompressible page writeback" would be orthgonal feature. The goal is > > "let's save memory at the cost of *latency*". If the page is swapp

Re: [PATCH] x86/speculation: Revert turning on STIBP all the time

2018-11-21 Thread Greg KH
On Wed, Nov 21, 2018 at 09:51:19PM +0100, Jiri Kosina wrote: > On Wed, 21 Nov 2018, Tim Chen wrote: > > > Commit 53c613fe "x86/speculation: Enable cross-hyperthread spectre v2 STIBP > > mitigation" > > turns on STIBP all the time. > > > > This causes large performance regression in many workload

Re: [GIT PULL 00/28] perf/core improvements and fixes

2018-11-21 Thread Ingo Molnar
ious places due to multiple patches. This has tip/perf/urgent > merged. > > - Arnaldo > > Test results at the end of this message, as usual. > > The following changes since commit b1a9d7b0190119dad5b9b7841751b5a7586bbc8b: > > Merge tag 'perf-urgent-for-mingo

RE: [PATCH] ARM: dts: imx: Add dummy PHYs for HSIC-only USB controllers

2018-11-21 Thread PETER CHEN
> > On Thu, Oct 18, 2018 at 09:45:04AM +0200, Frieder Schrempf wrote: > > Some SOCs in the i.MX6 family have a USB host controller that is only > > capable of the HSIC interface and has no on-board PHY. > > > > To be able to use these controllers, we need to add "usb-nop-xceiv" > > dummy PHYs. >

[PATCH] soc/fsl/qe: fix err handling of ucc_of_parse_tdm

2018-11-21 Thread Yi Wang
From: Wen Yang Currently there are 2 problems with the ucc_of_parse_tdm function: 1,a possible null pointer dereference in ucc_of_parse_tdm, detected by the semantic patch deref_null.cocci, with the following warning: drivers/soc/fsl/qe/qe_tdm.c:177:21-24: ERROR: pdev is NULL but dereferenced. 2,

Re: 答复: [RFC] a question about reuse hwpoison page in soft_offline_page()

2018-11-21 Thread Naoya Horiguchi
Hi Zhangfei, On Tue, Nov 20, 2018 at 11:36:16AM +, Zhangfei (Tyler) wrote: > Hi Naoya > Any Update on this issue?Is there a final conclusion on how to fix this > issue? This issue is solved by the following commit for 4kB pages: commit d4ae9916ea2947341180d2b538f48875ff393a86

Re: [for-next][PATCH 11/18] s390/function_graph: Simplify with function_graph_entry()

2018-11-21 Thread Martin Schwidefsky
On Wed, 21 Nov 2018 19:28:12 -0500 Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > The function_graph_entry() function does the work of calling the function > graph hook function and the management of the shadow stack, simplifying the > work done in the architecture dependent prepar

[PATCH 5/8] HID: logitech-hidpp: fix typo, hiddpp to hidpp

2018-11-21 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- drivers/hid/hid-logitech-hidpp.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c index 19cc980eebce..22b37a3844d1 100644 --- a/drivers/hid/hid-logitech-hidpp.c ++

[PATCH 6/8] HID: logitech: Use LDJ_DEVICE macro for existing Logitech mice

2018-11-21 Thread Peter Hutterer
From: Harry Cutts Signed-off-by: Harry Cutts Reviewed-by: Benjamin Tissoires Signed-off-by: Peter Hutterer --- Unmodified, same as the reverted 3fe1d6bbcd1 drivers/hid/hid-logitech-hidpp.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/hid/hid-lo

[PATCH 4/8] HID: input: use the Resolution Multiplier for high-resolution scrolling

2018-11-21 Thread Peter Hutterer
Windows uses a magic number of 120 for a wheel click. High-resolution scroll wheels are supposed to use a fraction of 120 to signal smaller scroll steps. This is implemented by the Resolution Multiplier in the device itself. If the multiplier is present in the report descriptor, set it to the logi

[PATCH 8/8] HID: logitech: Enable high-resolution scrolling on Logitech mice

2018-11-21 Thread Peter Hutterer
From: Harry Cutts There are three features used by various Logitech mice for high-resolution scrolling: the scrolling acceleration bit in HID++ 1.0, and the x2120 and x2121 features in HID++ 2.0 and above. This patch supports all three, and uses the multiplier reported by the mouse for the HID++

[PATCH 7/8] HID: logitech: Add function to enable HID++ 1.0 "scrolling acceleration"

2018-11-21 Thread Peter Hutterer
From: Harry Cutts "Scrolling acceleration" is a bit of a misnomer: it doesn't deal with acceleration at all. However, that's the name used in Logitech's spec, so I used it here. Signed-off-by: Harry Cutts Reviewed-by: Benjamin Tissoires Signed-off-by: Peter Hutterer --- Unmodified, same as th

[PATCH 0/8] HID: MS and Logitech high-resolution scroll wheel support

2018-11-21 Thread Peter Hutterer
This series enables high-resolution scrolling on some or many Microsoft mice of the last decade and Logitech mice with the required feature support. High resolution scrolling is exposed to userspace as REL_WHEEL_HI_RES and REL_HWHEEL_HI_RES. An accumulated value of 120 signals one wheel click, m

[PATCH 2/8] HID: core: store the collections as a basic tree

2018-11-21 Thread Peter Hutterer
For each collection parsed, store a pointer to the parent collection (if any). This makes it a lot easier to look up which collection(s) any given item is part of Signed-off-by: Peter Hutterer --- drivers/hid/hid-core.c | 4 include/linux/hid.h| 2 ++ 2 files changed, 6 insertions(+) d

[PATCH 3/8] HID: core: process the Resolution Multiplier

2018-11-21 Thread Peter Hutterer
The Resolution Multiplier is a feature report that modifies the value of Usages within the same Logical Collection. Where set, the effective multiplier (calculated based on the physical dimensions of the multiplier field) affects the event value. That's done in hardware, so the values we receive ar

[PATCH 1/8] Input: add `REL_WHEEL_HI_RES` and `REL_HWHEEL_HI_RES`

2018-11-21 Thread Peter Hutterer
This event code represents scroll reports from high-resolution wheels and is modelled after the approach Windows uses. The value 120 is one detent (wheel click) of movement. Mice with higher-resolution scrolling can send fractions of 120 to be accumulate in userspace. Userspace can either wait for

Re: [PATCH 4/6] zram: support idle page writeback

2018-11-21 Thread Minchan Kim
On Thu, Nov 22, 2018 at 03:15:42PM +0900, Minchan Kim wrote: > On Thu, Nov 22, 2018 at 02:40:40PM +0900, Sergey Senozhatsky wrote: > > On (11/22/18 14:04), Minchan Kim wrote: > > > > > > > additionally, it's too simple. It writes-back pages which can be > > > > swapped in immediately; which basica

Re: [PATCH 3.18 00/90] 3.18.126-stable review

2018-11-21 Thread Greg Kroah-Hartman
On Wed, Nov 21, 2018 at 03:40:12PM -0800, Guenter Roeck wrote: > On Wed, Nov 21, 2018 at 11:37:33AM +0100, Greg Kroah-Hartman wrote: > > On Tue, Nov 20, 2018 at 12:38:29PM -0800, Guenter Roeck wrote: > > > On Mon, Nov 19, 2018 at 05:28:42PM +0100, Greg Kroah-Hartman wrote: > > > > This is the start

Re: [PATCH 4/6] zram: support idle page writeback

2018-11-21 Thread Minchan Kim
On Thu, Nov 22, 2018 at 02:40:40PM +0900, Sergey Senozhatsky wrote: > On (11/22/18 14:04), Minchan Kim wrote: > > > > > additionally, it's too simple. It writes-back pages which can be > > > swapped in immediately; which basically means that we do pointless > > > PAGE_SIZE writes to a device which

Re: [PATCH 1/4] OPP: Add dev_pm_opp_xlate_performance_state() helper

2018-11-21 Thread Viresh Kumar
On 21-11-18, 11:48, Rajendra Nayak wrote: > > > On 11/21/2018 11:36 AM, Viresh Kumar wrote: > > On 21-11-18, 10:47, Viresh Kumar wrote: > > > On 21-11-18, 10:34, Rajendra Nayak wrote: > > > > > > > > > > > > On 11/5/2018 12:06 PM, Viresh Kumar wrote: > > > > > Introduce a new helper dev_pm_opp_

Re: [PATCH 4.14 00/21] 4.14.83-stable review

2018-11-21 Thread kernelci.org bot
stable-rc/linux-4.14.y boot: 92 boots: 0 failed, 89 passed with 3 offline (v4.14.82-22-gaa2838d50dfb) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.82-22-gaa2838d50dfb/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.14.y

Re: [PATCH] mm: use this_cpu_cmpxchg_double in put_cpu_partial

2018-11-21 Thread kbuild test robot
Hi Wengang, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.20-rc3 next-20181121] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day

Re: [PATCH 3/6] zram: introduce ZRAM_IDLE flag

2018-11-21 Thread Sergey Senozhatsky
On (11/22/18 14:11), Minchan Kim wrote: > > It was a option when I imagined this idea first but problem from product > division was memory waste of ac_time for every zram table. OK, I see. -ss

[PATCH 1/2] csky: bugfix tlb_get_pgd error.

2018-11-21 Thread Guo Ren
It's wrong to mask/unmask highest bit in addr to translate the vaddr to paddr. We should use PAGE_OFFSET and PHYS_OFFSET. Wrong implement: return ((get_pgd()|(1<<31)) - PHYS_OFFSET) & ~1; When PHYS_OFFSET=0xc000 and get_pgd() return 0xe000, it'll return 0x6000. It's wrong and should

Re: [PATCH 4/6] zram: support idle page writeback

2018-11-21 Thread Sergey Senozhatsky
On (11/22/18 14:04), Minchan Kim wrote: > > > additionally, it's too simple. It writes-back pages which can be > > swapped in immediately; which basically means that we do pointless > > PAGE_SIZE writes to a device which doesn't really like pointless > > writes. > > This patchset aims for *IDLE p

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

2018-11-21 Thread kernelci.org bot
stable-rc/linux-4.19.y boot: 96 boots: 0 failed, 93 passed with 3 offline (v4.19.3-43-g2b8db8734888) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.19.y/kernel/v4.19.3-43-g2b8db8734888/ Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.19.y/k

RE: [PATCH v3 0/7] spi: add support for octo mode

2018-11-21 Thread Yogesh Narayan Gaur
Hi Vignesh, > -Original Message- > From: Vignesh R [mailto:vigne...@ti.com] > Sent: Tuesday, November 13, 2018 1:30 PM > To: Yogesh Narayan Gaur ; linux- > m...@lists.infradead.org; boris.brezil...@bootlin.com; broo...@kernel.org; > marek.va...@gmail.com; linux-...@vger.kernel.org; > devic

[PATCH v4 5/7] mtd: m25p80: add support of octo mode I/O transfer

2018-11-21 Thread Yogesh Narayan Gaur
Add support for octo mode I/O data transfer based on the controller (spi) mode. Assign hw-capability mask bits for octo transfer. Signed-off-by: Yogesh Gaur --- Changes for v4: - None Changes for v3: - Modified string 'octal' with 'octo'. Changes for v2: - Incorporated review comments of Boris.

[PATCH v4 6/7] spi: nxp-fspi: add octo mode flag bit for octal support

2018-11-21 Thread Yogesh Narayan Gaur
Add octo mode flags for octal I/O data transfer support. NXP FlexSPI controller supports 8 lines Rx/Tx data transfer. Signed-off-by: Yogesh Gaur --- Changes for v4: - None Changes for v3: - Modified string 'octal' with 'octo'. Changes for v2: - None drivers/spi/spi-nxp-fspi.c | 4 ++-- 1 file c

[PATCH v4 7/7] arm64: dts: lx2160a: update fspi node

2018-11-21 Thread Yogesh Narayan Gaur
Flash mt35xu512aba connected to FlexSPI controller supports 1-1-8/1-8-8 protocol. Added flag spi-rx-bus-width and spi-tx-bus-width with values as 8 and 8 respectively for both flashes connected at CS0 and CS1. Signed-off-by: Yogesh Gaur --- Changes for v4: - None Changes for v3: - None Changes fo

[PATCH v4 3/7] mtd: spi-nor: add opcodes for octo Read/Write commands

2018-11-21 Thread Yogesh Narayan Gaur
- Add opcodes for octo I/O commands * Read : 1-1-8 and 1-8-8 protocol * Write : 1-1-8 and 1-8-8 protocol * opcodes for 4-byte address mode command - Entry of macros in _convert_3to4_xxx function - Add flag specifying flash support octo read commands. Signed-off-by: Vignesh R Signed-off-b

[PATCH v4 0/7] spi: add support for octo mode

2018-11-21 Thread Yogesh Narayan Gaur
Add support for octo mode IO data transfer. Micron flash, mt35xu512aba, supports octal mode data transfer and NXP FlexSPI controller supports 8 data lines for data transfer (Rx/Tx). Patch series * Add support for octo mode flags and parsing of same in spi driver. * Add parsing logic for spi-mem fr

[PATCH v4 2/7] spi: spi-mem: add support for octo mode I/O data transfer

2018-11-21 Thread Yogesh Narayan Gaur
Add support for octo mode I/O data transfer in spi-mem framework. Signed-off-by: Yogesh Gaur Reviewed-by: Boris Brezillon --- Changes for v4: - None Changes for v3: - Modified string 'octal' with 'octo'. Changes for v2: - Patch added in v2 version. drivers/spi/spi-mem.c | 9 - 1 file c

[PATCH v4 4/7] mtd: spi-nor: add octo read flag for flash mt35xu512aba

2018-11-21 Thread Yogesh Narayan Gaur
Add octo read flag for flash mt35xu512aba. This flash, mt35xu512aba, is only complaint to SFDP JESD216B and does not seem to support newer JESD216C standard that provides auto detection of Octal mode capabilities and opcodes. Therefore, this capability is manually added using new SPI_NOR_OCTO_READ

[PATCH v4 1/7] spi: add support for octo mode I/O data transfer

2018-11-21 Thread Yogesh Narayan Gaur
Add flags for Octo mode I/O data transfer Required for the SPI controller which can do the data transfer (TX/RX) on 8 data lines e.g. NXP FlexSPI controller. SPI_TX_OCTO: transmit with 8 wires SPI_RX_OCTO: receive with 8 wires Signed-off-by: Yogesh Gaur Reviewed-by: Boris Brezillon --- Changes

Re: [PATCH 3/6] zram: introduce ZRAM_IDLE flag

2018-11-21 Thread Minchan Kim
On Tue, Nov 20, 2018 at 11:46:59AM +0900, Sergey Senozhatsky wrote: > Hello, > > On (11/16/18 16:20), Minchan Kim wrote: > [..] > > +static ssize_t idle_store(struct device *dev, > > + struct device_attribute *attr, const char *buf, size_t len) > > +{ > > + struct zram *zram = dev_to_z

RE: [PATCH V4 1/1] can: flexcan: add self wakeup support

2018-11-21 Thread Joakim Zhang
Hi Aisheng, > -Original Message- > From: Aisheng DONG > Sent: 2018年11月22日 10:31 > To: Joakim Zhang ; linux-...@vger.kernel.org; > m...@pengutronix.de > Cc: w...@grandegger.com; linux-kernel@vger.kernel.org; dl-linux-imx > > Subject: RE: [PATCH V4 1/1] can: flexcan: add self wakeup suppor

Re: [PATCH] ipc/shm.c: removed 'int err' from shm_get_policy()

2018-11-21 Thread Andrew Morton
On Sun, 18 Nov 2018 23:49:11 + danielijrob...@gmail.com wrote: > removed unneeded variable in shm_get_policy() > > ... > > --- a/ipc/shm.c > +++ b/ipc/shm.c > @@ -461,11 +461,10 @@ static int shm_set_policy(struct vm_area_struct *vma, > struct mempolicy *new) > { > struct file *file =

  1   2   3   4   5   6   7   8   9   10   >