RE: [PATCH v7 1/6] dt-bindings: add binding for USBSS-DRD controller.

2019-06-09 Thread Peter Chen
> >> - reg-names - register memory area names: > >> "xhci" - for HOST registers space > >> "dev" - for DEVICE registers space > >> "otg" - for OTG/DRD registers space > >> - compatible: Should contain: > >> "cdns,usb3-1.0.0" - for 0x00024502 controller version >

Re: [PATCH] irqchip: Enable compile-testing for Renesas drivers

2019-06-09 Thread Yoshinori Sato
On Fri, 07 Jun 2019 18:50:36 +0900, Geert Uytterhoeven wrote: > > Enable compile-testing for all Renesas interrupt controller drivers, > except for RENESAS_H8300H_INTC. The latter relies on a function > (ctrl_bclr()) that is not available on other architectures. > > Signed-off-by: Geert Uytterho

Re: [PATCH] sh: configs: Remove useless UEVENT_HELPER_PATH

2019-06-09 Thread Yoshinori Sato
On Tue, 04 Jun 2019 16:56:20 +0900, Krzysztof Kozlowski wrote: > > Remove the CONFIG_UEVENT_HELPER_PATH because: > 1. It is disabled since commit 1be01d4a5714 ("driver: base: Disable >CONFIG_UEVENT_HELPER by default") as its dependency (UEVENT_HELPER) was >made default to 'n', > 2. It is n

RE: [PATCH v7 1/6] dt-bindings: add binding for USBSS-DRD controller.

2019-06-09 Thread Pawel Laszczak
> >> - reg-names - register memory area names: >> "xhci" - for HOST registers space >> "dev" - for DEVICE registers space >> "otg" - for OTG/DRD registers space >> - compatible: Should contain: >> "cdns,usb3-1.0.0" - for 0x00024502 controller version >> "cd

[PATCH RESEND 2/2] tools/perf: Set 'trace_cycles' as defaultevent for perf kvm record in powerpc

2019-06-09 Thread Anju T Sudhakar
Use 'trace_imc/trace_cycles' as the default event for 'perf kvm record' in powerpc. Signed-off-by: Anju T Sudhakar --- tools/perf/arch/powerpc/util/kvm-stat.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/tools/perf/arch/powerpc/util/kvm-stat.c b/tools/per

[PATCH RESEND 1/2] tools/perf: Add arch neutral function to choose event for perf kvm record

2019-06-09 Thread Anju T Sudhakar
'perf kvm record' uses 'cycles'(if the user did not specify any event) as the default event to profile the guest. This will not provide any proper samples from the guest incase of powerpc architecture, since in powerpc the PMUs are controlled by the guest rather than the host. Patch adds a functio

Re: [PATCH v3] vt: Fix a missing-check bug in con_init()

2019-06-09 Thread Gen Zhang
On Sat, Jun 08, 2019 at 08:15:46PM -0400, Nicolas Pitre wrote: > On Sat, 8 Jun 2019, Greg KH wrote: > > > On Sun, Jun 09, 2019 at 12:01:38AM +0800, Gen Zhang wrote: > > > On Tue, May 28, 2019 at 08:45:29AM +0800, Gen Zhang wrote: > > > > In function con_init(), the pointer variable vc_cons[currcon

RE: [RESEND] input: keyboard: imx: make sure keyboard can always wake up system

2019-06-09 Thread Anson Huang
Hi, Dmitry Any feedback for this patch? Thanks, Anson > -Original Message- > From: Anson Huang > Sent: Tuesday, May 21, 2019 2:36 PM > To: dmitry.torok...@gmail.com > Cc: shawn...@kernel.org; s.ha...@pengutronix.de; > ker...@pengutronix.de; feste...@gmail.com; linux-in...@vger.ker

Re: [PATCH v2 1/8] i2c: i2c-qcom-geni: Provide support for ACPI

2019-06-09 Thread Lee Jones
On Fri, 07 Jun 2019, Ard Biesheuvel wrote: > On Fri, 7 Jun 2019 at 10:29, Lee Jones wrote: > > > > Add a match table to allow automatic probing of ACPI device > > QCOM0220. Ignore clock attainment errors. Set default clock > > frequency value. > > > > Signed-off-by: Lee Jones > > --- > > driv

Re: [RFC PATCH 6/6] soundwire: qcom: add support for SoundWire controller

2019-06-09 Thread Vinod Koul
On 07-06-19, 09:56, Srinivas Kandagatla wrote: > Qualcomm SoundWire Master controller is present in most Qualcomm SoCs > either integrated as part of WCD audio codecs via slimbus or > as part of SOC I/O. > > This patchset adds support to a very basic controller which has been > tested with WCD934x

Re: [PATCH 4.9 00/83] 4.9.181-stable review

2019-06-09 Thread Naresh Kamboju
On Sun, 9 Jun 2019 at 22:22, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.181 release. > There are 83 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. > > Resp

Re: [PATCH] hwmon: pmbus: protect read-modify-write with lock

2019-06-09 Thread Adamski, Krzysztof (Nokia - PL/Wroclaw)
On Sat, Jun 08, 2019 at 12:32:18AM +0200, Wolfram Sang wrote: >On Tue, May 28, 2019 at 09:08:21AM +, Adamski, Krzysztof (Nokia - >PL/Wroclaw) wrote: >> The operation done in the pmbus_update_fan() function is a >> read-modify-write operation but it lacks any kind of lock protection >> which ma

RE: [PATCH v7 5/6] usb:cdns3 Add Cadence USB3 DRD Driver

2019-06-09 Thread Pawel Laszczak
>On Wed, Jun 05, 2019 at 11:03:49AM +0100, Pawel Laszczak wrote: >> diff --git a/drivers/usb/cdns3/debugfs.c b/drivers/usb/cdns3/debugfs.c >> new file mode 100644 >> index ..dfcbeb5e14f8 >> --- /dev/null >> +++ b/drivers/usb/cdns3/debugfs.c >> @@ -0,0 +1,173 @@ >> +// SPDX-License-Ident

RE: [PATCH v7 2/6] usb:common Separated decoding functions from dwc3 driver.

2019-06-09 Thread Pawel Laszczak
>On Wed, Jun 05, 2019 at 11:03:46AM +0100, Pawel Laszczak wrote: > >> Patch moves some decoding functions from driver/usb/dwc3/debug.h driver > >> to driver/usb/common/debug.c file. These moved functions include: > >> dwc3_decode_get_status > >> dwc3_decode_set_clear_feature > >> dwc3

[PATCH v3] phy: renesas: rcar-gen3-usb2: fix imbalance powered flag

2019-06-09 Thread Yoshihiro Shimoda
The powered flag should be set for any other phys anyway. Also the flag should be locked by the channel. Otherwise, after we have revised the device tree for the usb phy, the following warning happened during a second system suspend. And if the driver doesn't lock the flag, an imbalance is possible

Re: [PATCH 5.1 56/85] doc: Cope with the deprecation of AutoReporter

2019-06-09 Thread Jiri Slaby
On 07. 06. 19, 17:39, Greg Kroah-Hartman wrote: > From: Jonathan Corbet > > commit 2404dad1f67f8917e30fc22a85e0dbcc85b99955 upstream. > > AutoReporter is going away; recent versions of sphinx emit a warning like: > > Documentation/sphinx/kerneldoc.py:125: > RemovedInSphinx20Warning: Aut

[PATCH] mtd: spi-nor: use 16-bit WRR command when QE is set on spansion flashes

2019-06-09 Thread Tudor.Ambarus
From: Tudor Ambarus SPI memory devices from different manufacturers have widely different configurations for Status, Control and Configuration registers. JEDEC 216C defines a new map for these common register bits and their functions, and describes how the individual bits may be accessed for a sp

RE: [PATCH v7 1/6] dt-bindings: add binding for USBSS-DRD controller.

2019-06-09 Thread Peter Chen
> - reg-names - register memory area names: > "xhci" - for HOST registers space > "dev" - for DEVICE registers space > "otg" - for OTG/DRD registers space > - compatible: Should contain: > "cdns,usb3-1.0.0" - for 0x00024502 controller version > "cdns,usb3

Re: [PATCH v4 3/5] x86/umwait: Add sysfs interface to control umwait C0.2 state

2019-06-09 Thread Fenghua Yu
On Sun, Jun 09, 2019 at 09:24:18PM -0700, Andy Lutomirski wrote: > On Sun, Jun 9, 2019 at 9:02 PM Fenghua Yu wrote: > > > > On Sat, Jun 08, 2019 at 03:50:32PM -0700, Andy Lutomirski wrote: > > > On Fri, Jun 7, 2019 at 3:10 PM Fenghua Yu wrote: > > > > > > > > C0.2 state in umwait and tpause instr

Re: [PATCH 5.1 00/70] 5.1.9-stable review

2019-06-09 Thread Naresh Kamboju
On Sun, 9 Jun 2019 at 22:15, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.1.9 release. > There are 70 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. > > Respon

RE: [PATCH v2] phy: renesas: rcar-gen3-usb2: fix imbalance powered flag

2019-06-09 Thread Yoshihiro Shimoda
Hi Geert-san, > From: Geert Uytterhoeven, Sent: Friday, June 7, 2019 10:23 PM > > Hi Shimoda-san, > > Thanks for the update! > > On Fri, Jun 7, 2019 at 12:07 PM Yoshihiro Shimoda > wrote: > > The powered flag should be set for any other phys anyway. Also > > the flag should be locked by the ch

Re: [PATCH v2] clk: mediatek: mt8183: Register 13MHz clock earlier for clocksource

2019-06-09 Thread Greg KH
On Mon, Jun 10, 2019 at 10:16:09AM +0800, Weiyi Lu wrote: > The 13MHz clock should be registered before clocksource driver is > initialized. Use CLK_OF_DECLARE_DRIVER() to guarantee. > > Signed-off-by: Weiyi Lu > --- > drivers/clk/mediatek/clk-mt8183.c | 46 > +--

Re: [PATCH 5.1 00/70] 5.1.9-stable review

2019-06-09 Thread Greg Kroah-Hartman
On Sun, Jun 09, 2019 at 05:37:37PM -0500, Jiunn Chang wrote: > On Sun, Jun 09, 2019 at 06:41:11PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.1.9 release. > > There are 70 patches in this series, all will be posted as a response > > to this one. If a

Re: [PATCH 4.14 03/35] neighbor: Call __ipv4_neigh_lookup_noref in neigh_xmit

2019-06-09 Thread Greg KH
On Mon, Jun 10, 2019 at 01:13:16AM +, nobuhiro1.iwama...@toshiba.co.jp wrote: > Hi again. > > > -Original Message- > > From: stable-ow...@vger.kernel.org > > [mailto:stable-ow...@vger.kernel.org] On Behalf Of Nobuhiro Iwamatsu > > Sent: Monday, June 10, 2019 10:10 AM > > To: Greg Kroa

Re: [PATCH v3 0/3] KVM: Yield to IPI target if necessary

2019-06-09 Thread Wanpeng Li
ping, :) On Thu, 30 May 2019 at 09:05, Wanpeng Li wrote: > > The idea is from Xen, when sending a call-function IPI-many to vCPUs, > yield if any of the IPI target vCPUs was preempted. 17% performance > increasement of ebizzy benchmark can be observed in an over-subscribe > environment. (w/ kvm-pv

Re: [RFC v1] clk: core: support clocks that need to be enabled during re-parent

2019-06-09 Thread Greg KH
On Mon, Jun 10, 2019 at 11:44:53AM +0800, Weiyi Lu wrote: > When using property assigned-clock-parents to assign parent clocks, > core clocks might still be disabled during re-parent. > Add flag 'CLK_OPS_CORE_ENABLE' for those clocks must be enabled > during re-parent. > > Signed-off-by: Weiyi Lu

[PATCH] locking/lockdep: Fix lock IRQ usage initialization bug

2019-06-09 Thread Yuyang Du
The commit: 091806515124b20 ("locking/lockdep: Consolidate lock usage bit initialization") misses marking LOCK_USED flag at IRQ usage initialization when CONFIG_TRACE_IRQFLAGS or CONFIG_PROVE_LOCKING is not defined. Fix it. Reported-by: Qian Cai Signed-off-by: Yuyang Du --- kernel/locking/

Re: [PATCH] staging: rtl8723bs: core: rtw_mlme_ext.c: Remove unused variables

2019-06-09 Thread Greg KH
On Mon, Jun 10, 2019 at 10:08:21AM +0530, Nishka Dasgupta wrote: > On 09/06/19 4:32 PM, Greg KH wrote: > > On Fri, Jun 07, 2019 at 12:41:23PM +0530, Nishka Dasgupta wrote: > > > Remove variables that are declared and assigned values but not otherwise > > > used. > > > Issue found with Coccinelle. >

Re: [PATCH v2 3/3] regulator: lp87565: Add 4-phase lp87561 regulator support

2019-06-09 Thread Lee Jones
On Sat, 08 Jun 2019, Mark Brown wrote: > On Sat, Jun 08, 2019 at 09:26:31AM +0530, keerthy wrote: > > > mfd patches are on linux-next already. Hope you can pull this one now that > > dependencies are met. > > Someone will need to send me a copy of the patch, if I acked it I was > expecting it to

Re: [PATCH 1/3] mfd: apple-ibridge: Add Apple iBridge MFD driver.

2019-06-09 Thread Lee Jones
On Sun, 09 Jun 2019, Life is hard, and then you die wrote: > > On Tue, May 07, 2019 at 01:24:15PM +0100, Lee Jones wrote: > > On Sun, 21 Apr 2019, Ronald Tschalär wrote: > > > > > The iBridge device provides access to several devices, including: > > > - the Touch Bar > > > - the iSight webcam >

[PATCH] staging: kpc2000: remove extra white space in kpc2000_spi.c

2019-06-09 Thread Naoto Kobayashi
Since whitespace should not appear between asterisk and variable name in a declaration statement, remove it and fix checkpatch.pl error "foo * bar" should be "foo *bar". Signed-off-by: Naoto Kobayashi --- drivers/staging/kpc2000/kpc2000_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] clk: imx8mq: Use devm_platform_ioremap_resource() instead of of_iomap()

2019-06-09 Thread Anson . Huang
From: Anson Huang i.MX8MQ clock driver uses platform driver model, better to use devm_platform_ioremap_resource() instead of of_iomap() to get IO base. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx8mq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/

[PATCH 1/2] clk: imx: Remove __init for imx_check_clocks() API

2019-06-09 Thread Anson . Huang
From: Anson Huang Some of i.MX SoCs' clock driver use platform driver model, and they need to call imx_check_clocks() API, so imx_check_clocks() API should NOT be in .init section. Signed-off-by: Anson Huang --- drivers/clk/imx/clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 2/2] clk: imx8mq: Use imx_check_clocks() API directly

2019-06-09 Thread Anson . Huang
From: Anson Huang Use imx_check_clocks() API to check clocks directly. Signed-off-by: Anson Huang --- drivers/clk/imx/clk-imx8mq.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk-imx8mq.c index 7da1edb..5fbc2a7 100644

possible fix for broken cmac crypto support

2019-06-09 Thread Sebastian Gottschall
this is no real patch for this mailing list since i havent cloned yet a git tree. take it as a hint this fixes the BUG WARN if SAE encryption is used (mandatory for mesh / 802.11s crypto) that will not fix that mesh is not working (likelly just with other vendors), but it will fix crypto at leas

[PATCH V3 6/6] i2c: tegra: remove BUG, BUG_ON

2019-06-09 Thread Bitan Biswas
Remove redundant BUG_ON calls or replace with WARN_ON_ONCE as needed. Replace BUG() with error handling code. Define I2C_ERR_UNEXPECTED_STATUS for error handling. Signed-off-by: Bitan Biswas --- drivers/i2c/busses/i2c-tegra.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions

[PATCH V3 3/6] i2c: tegra: fix alignment and spacing violations

2019-06-09 Thread Bitan Biswas
Fix checkpatch.pl alignment and blank line check(s) in i2c-tegra.c Signed-off-by: Bitan Biswas Reviewed-by: Dmitry Osipenko --- drivers/i2c/busses/i2c-tegra.c | 35 +++ 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/drivers/i2c/busses/i2c-tegra.c

[PATCH V3 4/6] i2c: tegra: add spinlock definition comment

2019-06-09 Thread Bitan Biswas
Fix checkpatch.pl CHECK as follows: CHECK: spinlock_t definition without comment + spinlock_t xfer_lock; Signed-off-by: Bitan Biswas Reviewed-by: Dmitry Osipenko --- drivers/i2c/busses/i2c-tegra.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers

[PATCH V3 1/6] i2c: tegra: clean up macros

2019-06-09 Thread Bitan Biswas
Clean up macros by: 1) removing unused macros 2) replace constants by macro BIT() Signed-off-by: Bitan Biswas Reviewed-by: Dmitry Osipenko --- drivers/i2c/busses/i2c-tegra.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/drivers/i2c/busses/i2c-tegra.c b/d

[PATCH V3 2/6] i2c: tegra: remove unnecessary variable init

2019-06-09 Thread Bitan Biswas
Remove variable initializations in functions that are followed by assignments before use Signed-off-by: Bitan Biswas Reviewed-by: Dmitry Osipenko --- drivers/i2c/busses/i2c-tegra.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers

[PATCH V3 5/6] i2c: tegra: fix msleep warning

2019-06-09 Thread Bitan Biswas
Fix checkpatch.pl WARNING for delay of approximately 1msec in flush i2c FIFO polling loop by using usleep_range(1000, 2000): WARNING: msleep < 20ms can sleep for up to 20ms; see ... Documentation/timers/timers-howto.txt + msleep(1); Signed-off-by: Bitan Biswas Reviewed-by: Dmitry Os

Re: [RFC V3] mm: Generalize and rename notify_page_fault() as kprobe_page_fault()

2019-06-09 Thread Anshuman Khandual
On 06/10/2019 10:27 AM, Dave Hansen wrote: > On 6/9/19 9:34 PM, Anshuman Khandual wrote: >>> Do you really think this is easier to read? >>> >>> Why not just move the x86 version to include/linux/kprobes.h, and replace >>> the int with bool? >> Will just return bool directly without an additiona

RE: [PATCH v7 1/6] dt-bindings: add binding for USBSS-DRD controller.

2019-06-09 Thread Pawel Laszczak
>> >>> >>> Pawel, >>> >>> On 05/06/2019 13:03, Pawel Laszczak wrote: This patch aim at documenting USB related dt-bindings for the Cadence USBSS-DRD controller. Signed-off-by: Pawel Laszczak Reviewed-by: Rob Herring --- .../devicetree/bindings/usb/cdns-usb

Re: [RFC V3] mm: Generalize and rename notify_page_fault() as kprobe_page_fault()

2019-06-09 Thread Dave Hansen
On 6/9/19 9:34 PM, Anshuman Khandual wrote: >> Do you really think this is easier to read? >> >> Why not just move the x86 version to include/linux/kprobes.h, and replace >> the int with bool? > Will just return bool directly without an additional variable here as > suggested > before. But for the

Re: [RFC PATCH 5/6] dt-bindings: soundwire: add bindings for Qcom controller

2019-06-09 Thread Vinod Koul
On 07-06-19, 09:56, Srinivas Kandagatla wrote: > This patch adds bindings for Qualcomm soundwire controller. > > Qualcomm SoundWire Master controller is present in most Qualcomm SoCs > either integrated as part of WCD audio codecs via slimbus or > as part of SOC I/O. > > Signed-off-by: Srinivas K

Re: [PATCH] mt76: mt7615: add support for per-chain signal strength reporting

2019-06-09 Thread Sebastian Gottschall
okay. curious is, that my variant works with sane results too. i will test your variant and check the results Sebastian Am 10.06.2019 um 06:22 schrieb Ryder Lee: On Mon, 2019-06-10 at 10:09 +0800, Ryder Lee wrote: On Sun, 2019-06-09 at 16:44 +0200, Sebastian Gottschall wrote: according to my

Re: [PATCH] staging: rtl8723bs: core: rtw_mlme_ext.c: Remove unused variables

2019-06-09 Thread Nishka Dasgupta
On 09/06/19 4:32 PM, Greg KH wrote: On Fri, Jun 07, 2019 at 12:41:23PM +0530, Nishka Dasgupta wrote: Remove variables that are declared and assigned values but not otherwise used. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta --- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c |

Re: [RFC PATCH 1/6] ASoC: core: add support to snd_soc_dai_get_sdw_stream()

2019-06-09 Thread Vinod Koul
On 07-06-19, 09:56, Srinivas Kandagatla wrote: > On platforms which have smart speaker amplifiers connected via > soundwire and modeled as aux devices in ASoC, in such usecases machine > driver should be able to get sdw master stream from dai so that it can > use the runtime stream to setup slave s

Re: [RFC V3] mm: Generalize and rename notify_page_fault() as kprobe_page_fault()

2019-06-09 Thread Anshuman Khandual
On 06/07/2019 08:36 PM, Dave Hansen wrote: > On 6/7/19 3:34 AM, Anshuman Khandual wrote: >> +static nokprobe_inline bool kprobe_page_fault(struct pt_regs *regs, >> + unsigned int trap) >> +{ >> +int ret = 0; >> + >> +/* >> + * To be potentiall

Re: [RFC V3] mm: Generalize and rename notify_page_fault() as kprobe_page_fault()

2019-06-09 Thread Anshuman Khandual
On 06/08/2019 01:42 AM, Matthew Wilcox wrote: > Before: > >> @@ -46,23 +46,6 @@ kmmio_fault(struct pt_regs *regs, unsigned long addr) >> return 0; >> } >> >> -static nokprobe_inline int kprobes_fault(struct pt_regs *regs) >> -{ >> -if (!kprobes_built_in()) >> -return 0;

Re: [PATCH 1/2] staging: rtl8712: r8712_setdatarate_cmd(): Change

2019-06-09 Thread Nishka Dasgupta
On 07/06/19 7:45 PM, Dan Carpenter wrote: Probably you sent this patch unintentionally. The subject doesn't make any sort of sense. :P So the problem with the subject line is that git send-email and vim (as configured on my laptop) tend to line-wrap even the subject line. Since I have two p

Re: [PATCH v2 0/3] KVM: LAPIC: Implement Exitless Timer

2019-06-09 Thread Wanpeng Li
On Thu, 6 Jun 2019 at 13:31, Wanpeng Li wrote: > > Dedicated instances are currently disturbed by unnecessary jitter due > to the emulated lapic timers fire on the same pCPUs which vCPUs resident. > There is no hardware virtual timer on Intel for guest like ARM. Both > programming timer in guest a

Re: [PATCH v3 1/9] Documentation: Introduce EPT based Subpage Protection

2019-06-09 Thread Jidong Xiao
On Fri, Jun 7, 2019 at 7:12 AM Yang Weijiang wrote: > > On Thu, Jun 06, 2019 at 09:57:00PM -0600, Jidong Xiao wrote: > > Hi, Weijiang, > > > > Does this require some specific Intel processors or is it supported by > > older processors as well? > > > > -Jidong > Hi, Jidong, > SPP is a feature on ne

Re: [PATCH v4 2/5] x86/umwait: Initialize umwait control values

2019-06-09 Thread Andy Lutomirski
On Sun, Jun 9, 2019 at 9:23 PM Fenghua Yu wrote: > > On Sat, Jun 08, 2019 at 03:52:42PM -0700, Andy Lutomirski wrote: > > On Fri, Jun 7, 2019 at 3:10 PM Fenghua Yu wrote: > > > > > > umwait or tpause allows processor to enter a light-weight > > > power/performance optimized state (C0.1 state) or

Re: [PATCH v4 3/5] x86/umwait: Add sysfs interface to control umwait C0.2 state

2019-06-09 Thread Andy Lutomirski
On Sun, Jun 9, 2019 at 9:14 PM Fenghua Yu wrote: > > On Sat, Jun 08, 2019 at 03:52:03PM -0700, Andy Lutomirski wrote: > > On Fri, Jun 7, 2019 at 3:10 PM Fenghua Yu wrote: > > > > > > C0.2 state in umwait and tpause instructions can be enabled or disabled > > > on a processor through IA32_UMWAIT_C

Re: [PATCH v4 3/5] x86/umwait: Add sysfs interface to control umwait C0.2 state

2019-06-09 Thread Andy Lutomirski
On Sun, Jun 9, 2019 at 9:02 PM Fenghua Yu wrote: > > On Sat, Jun 08, 2019 at 03:50:32PM -0700, Andy Lutomirski wrote: > > On Fri, Jun 7, 2019 at 3:10 PM Fenghua Yu wrote: > > > > > > C0.2 state in umwait and tpause instructions can be enabled or disabled > > > on a processor through IA32_UMWAIT_C

Re: [PATCH v4 2/5] x86/umwait: Initialize umwait control values

2019-06-09 Thread Fenghua Yu
On Sat, Jun 08, 2019 at 03:52:42PM -0700, Andy Lutomirski wrote: > On Fri, Jun 7, 2019 at 3:10 PM Fenghua Yu wrote: > > > > umwait or tpause allows processor to enter a light-weight > > power/performance optimized state (C0.1 state) or an improved > > power/performance optimized state (C0.2 state)

Re: [PATCH] mt76: mt7615: add support for per-chain signal strength reporting

2019-06-09 Thread Ryder Lee
On Mon, 2019-06-10 at 10:09 +0800, Ryder Lee wrote: > On Sun, 2019-06-09 at 16:44 +0200, Sebastian Gottschall wrote: > > according to my findings > > > > MT_RXV4_RCPI1 is part of rx descriptor 4 and not 3 > > so it must be rxdg4 = rxd[4] etc. > > RXV start from 1 in the code. > > That is: RXV1 <

Re: [PATCH v4 3/5] x86/umwait: Add sysfs interface to control umwait C0.2 state

2019-06-09 Thread Fenghua Yu
On Sat, Jun 08, 2019 at 03:52:03PM -0700, Andy Lutomirski wrote: > On Fri, Jun 7, 2019 at 3:10 PM Fenghua Yu wrote: > > > > C0.2 state in umwait and tpause instructions can be enabled or disabled > > on a processor through IA32_UMWAIT_CONTROL MSR register. > > > > > +static u32 get_umwait_control

Re: [PATCH v4 3/5] x86/umwait: Add sysfs interface to control umwait C0.2 state

2019-06-09 Thread Fenghua Yu
On Sat, Jun 08, 2019 at 03:50:32PM -0700, Andy Lutomirski wrote: > On Fri, Jun 7, 2019 at 3:10 PM Fenghua Yu wrote: > > > > C0.2 state in umwait and tpause instructions can be enabled or disabled > > on a processor through IA32_UMWAIT_CONTROL MSR register. > > > > By default, C0.2 is enabled and t

[PATCH] tracing: Fix out-of-range read in trace_stack_print()

2019-06-09 Thread Eiichi Tsukata
Puts range check before dereferencing the pointer. Reproducer: # echo stacktrace > trace_options # echo 1 > events/enable # cat trace > /dev/null KASAN report: == BUG: KASAN: use-after-free in trace_stack_print+0x26b/0x2c

Re: [PATCH V2 6/6] i2c: tegra: remove BUG, BUG_ON

2019-06-09 Thread Bitan Biswas
On 6/7/19 12:47 PM, Dmitry Osipenko wrote: 07.06.2019 22:30, Bitan Biswas пишет: Remove redundant BUG_ON calls or replace with WARN_ON_ONCE as needed. Replace BUG() with error handling code. Define I2C_ERR_UNEXPECTED_STATUS for error handling. Signed-off-by: Bitan Biswas --- drivers/i2c/b

Re: [PATCH net-next 0/6] vhost: accelerate metadata access

2019-06-09 Thread Jason Wang
On 2019/6/6 上午4:27, Michael S. Tsirkin wrote: On Fri, May 24, 2019 at 04:12:12AM -0400, Jason Wang wrote: Hi: This series tries to access virtqueue metadata through kernel virtual address instead of copy_user() friends since they had too much overheads like checks, spec barriers or even hardw

[RFC v1] clk: core: support clocks that need to be enabled during re-parent

2019-06-09 Thread Weiyi Lu
When using property assigned-clock-parents to assign parent clocks, core clocks might still be disabled during re-parent. Add flag 'CLK_OPS_CORE_ENABLE' for those clocks must be enabled during re-parent. Signed-off-by: Weiyi Lu --- drivers/clk/clk.c| 9 + include/linux/clk-pr

[PATCH] sctp: Add rcu lock to protect dst entry in sctp_transport_route

2019-06-09 Thread Su Yanjun
syzbot found a crash in rt_cache_valid. Problem is that when more threads release dst in sctp_transport_route, the route cache can be freed. As follows, p1: sctp_transport_route dst_release get_dst p2: sctp_transport_route dst_release get_dst ... If enough threads calling dst_release wil

[PATCH 2/6] dpaa2-ptp: reuse ptp_qoriq driver

2019-06-09 Thread Yangbo Lu
Although dpaa2-ptp.c driver is a fsl_mc_driver which is using MC APIs for register accessing, it's same IP block with eTSEC/DPAA/ENETC 1588 timer. This patch is to convert to reuse ptp_qoriq driver by using register ioremap and dropping related MC APIs. However the interrupts could only be handled

[PATCH 0/6] Reuse ptp_qoriq driver for dpaa2-ptp

2019-06-09 Thread Yangbo Lu
Although dpaa2-ptp.c driver is a fsl_mc_driver which is using MC APIs for register accessing, it's same IP block with eTSEC/DPAA/ENETC 1588 timer. This patch-set is to convert to reuse ptp_qoriq driver by using register ioremap and dropping related MC APIs. However the interrupts could only be hand

[PATCH 1/6] ptp: add QorIQ PTP support for DPAA2

2019-06-09 Thread Yangbo Lu
This patch is to add QorIQ PTP support for DPAA2. Although dpaa2-ptp.c driver is a fsl_mc_driver which is using MC APIs for register accessing, it's same IP block with eTSEC/DPAA/ENETC 1588 timer. We will convert to reuse ptp_qoriq driver by using register ioremap and dropping related MC APIs. Sig

[PATCH 5/6] dpaa2-ptp: add interrupt support

2019-06-09 Thread Yangbo Lu
This patch is to add interrupt support for dpaa2 ptp clock, including MC APIs and PPS interrupt support. Other events haven't been supported in MC by now. Signed-off-by: Yangbo Lu --- drivers/net/ethernet/freescale/dpaa2/dpaa2-ptp.c | 110 +++- drivers/net/ethernet/freescale/dpaa2/dprtc-

[PATCH 4/6] arm64: dts: fsl: add ptp timer node for dpaa2 platforms

2019-06-09 Thread Yangbo Lu
This patch is to add ptp timer device tree node for dpaa2 platforms(ls1088a/ls208xa/lx2160a). Signed-off-by: Yangbo Lu --- arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 8 arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 8 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 8

[PATCH 3/6] dt-binding: ptp_qoriq: support DPAA2 PTP compatible

2019-06-09 Thread Yangbo Lu
Add a new compatible for DPAA2 PTP. Signed-off-by: Yangbo Lu --- Documentation/devicetree/bindings/ptp/ptp-qoriq.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/ptp/ptp-qoriq.txt b/Documentation/devicetree/bindings/ptp/ptp-qoriq.txt in

[PATCH 6/6] MAINTAINERS: maintain DPAA2 PTP driver in QorIQ PTP entry

2019-06-09 Thread Yangbo Lu
Maintain DPAA2 PTP driver in QorIQ PTP entry. Signed-off-by: Yangbo Lu --- MAINTAINERS | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index fcbd648..81762bb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4910,13 +4910,6 @@ L: linux-ke

Re: [PATCH -next] ocelot: remove unused variable 'rc' in vcap_cmd()

2019-06-09 Thread David Miller
From: Mao Wenan Date: Sun, 9 Jun 2019 15:11:26 +0800 > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/ethernet/mscc/ocelot_ace.c: In function ‘vcap_cmd’: > drivers/net/ethernet/mscc/ocelot_ace.c:108:6: warning: variable ‘rc’ set > but not used [-Wunused-but-set-variable] > int

Re: [PATCH net] mpls: fix af_mpls dependencies

2019-06-09 Thread David Miller
From: Matteo Croce Date: Sat, 8 Jun 2019 14:50:19 +0200 > MPLS routing code relies on sysctl to work, so let it select PROC_SYSCTL. > > Reported-by: Randy Dunlap > Suggested-by: David Ahern > Signed-off-by: Matteo Croce Applied, thanks.

Re: [PATCH] af_key: make use of BUG_ON macro

2019-06-09 Thread David Miller
From: Hariprasad Kelam Date: Sat, 8 Jun 2019 14:30:50 +0530 > fix below warnings reported by coccicheck > > net/key/af_key.c:932:2-5: WARNING: Use BUG_ON instead of if condition > followed by BUG. > net/key/af_key.c:948:2-5: WARNING: Use BUG_ON instead of if condition > followed by BUG. > > Sig

Re: [PATCH] nfc: nci: fix warning comparison to bool

2019-06-09 Thread David Miller
From: Hariprasad Kelam Date: Sat, 8 Jun 2019 14:11:54 +0530 > Fix below warning reported by coccicheck > > net/nfc/nci/ntf.c:367:5-15: WARNING: Comparison to bool > > Signed-off-by: Hariprasad Kelam > --- > net/nfc/nci/ntf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --

Re: [PATCH] ipv6: exthdrs: fix warning comparison to bool

2019-06-09 Thread David Miller
From: Hariprasad Kelam Date: Sat, 8 Jun 2019 14:05:33 +0530 > Fix below warning reported by coccicheck > > net/ipv6/exthdrs.c:180:9-29: WARNING: Comparison to bool > > Signed-off-by: Hariprasad Kelam ... > diff --git a/net/ipv6/exthdrs.c b/net/ipv6/exthdrs.c > index ab5add0..e137325 100644 >

[next PATCH] Revert "usb: mtu3: fix up undefined reference to usb_debug_root"

2019-06-09 Thread Chunfeng Yun
It's not needed after [1] is applied, because usb_debug_root is created by usb common core but not usbcore now. [1] 812086d362a1 ("USB: move usb debugfs directory creation to the usb common core") Signed-off-by: Chunfeng Yun --- drivers/usb/mtu3/mtu3_debugfs.c | 3 ++- 1 file changed, 2 insert

Re: [PATCH v5 07/26] leds: sc27xx-blt: Use generic support for composing LED names

2019-06-09 Thread Baolin Wang
Hi Jacek, On Mon, 10 Jun 2019 at 03:08, Jacek Anaszewski wrote: > > Switch to using generic LED support for composing LED class > device name. > > Signed-off-by: Jacek Anaszewski > Cc: Baolin Wang > Acked-by: Pavel Machek Thanks. Reviewed-by: Baolin Wang -- Baolin Wang Best Regards

Re: [PATCH v2 00/17] net: introduce Qualcomm IPA driver

2019-06-09 Thread Alex Elder
On 5/30/19 10:53 PM, Alex Elder wrote: > This series presents the driver for the Qualcomm IP Accelerator (IPA). > > This is version 2 of the series. This version has addressed almost > all of the feedback received in the first version: > https://lore.kernel.org/lkml/20190512012508.10608-1-el...

Re: [RFC V3] mm: Generalize and rename notify_page_fault() as kprobe_page_fault()

2019-06-09 Thread Anshuman Khandual
On 06/07/2019 09:01 PM, Christophe Leroy wrote: > > > Le 07/06/2019 à 12:34, Anshuman Khandual a écrit : >> Very similar definitions for notify_page_fault() are being used by multiple >> architectures duplicating much of the same code. This attempts to unify all >> of them into a generic imple

RE: [PATCH RESEND V13 2/5] thermal: of-thermal: add API for getting sensor ID from DT

2019-06-09 Thread Anson Huang
Hi, Eduardo > -Original Message- > From: Anson Huang > Sent: Wednesday, May 29, 2019 11:37 AM > To: Eduardo Valentin > Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org; > s.ha...@pengutronix.de; ker...@pengutronix.de; feste...@gmail.com; > catalin.mari...@arm.com; will.de

Re: [BACKPORT 4.4.y] PM / sleep: prohibit devices probing during suspend/hibernation

2019-06-09 Thread Chunyan Zhang
On Thu, 6 Jun 2019 at 09:08, Sasha Levin wrote: > > On Wed, Jun 05, 2019 at 07:14:12PM +0800, Chunyan Zhang wrote: > >From: "Strashko, Grygorii" > > > >[ Upstream commit 013c074f8642d8e815ad670601f8e27155a74b57 ] > > > >It is unsafe [1] if probing of devices will happen during suspend or > >hiber

Re: [PATCH v4 01/14] dt-bindings: Add binding for MT2712 MIPI-CSI2

2019-06-09 Thread CK Hu
Hi, Stu: "mediatek,mt2712-mipicsi" and "mediatek,mt2712-mipicsi-common" have many common part with "mediatek,mt8183-seninf", and I've a discussion in [1], so I would like these two to be merged together. [1] https://patchwork.kernel.org/patch/10979131/ Regards, CK On Tue, 2019-06-04 at 18:11 +0

Re: "locking/lockdep: Consolidate lock usage bit initialization" is buggy

2019-06-09 Thread Yuyang Du
Thanks for the further validation. On Fri, 7 Jun 2019 at 22:14, Qian Cai wrote: > Reverted the commit on the top of linux-next fixed the issue. > > With the commit (triggering the warning > DEBUG_LOCKS_WARN_ON(debug_atomic_read(nr_unused_locks) != nr_unused)), > > # cat /proc/lockdep_stats > lock

Re: [RFC V3] mm: Generalize and rename notify_page_fault() as kprobe_page_fault()

2019-06-09 Thread Anshuman Khandual
On 06/07/2019 05:33 PM, Stephen Rothwell wrote: > Hi Anshuman, > > On Fri, 7 Jun 2019 16:04:15 +0530 Anshuman Khandual > wrote: >> >> +static nokprobe_inline bool kprobe_page_fault(struct pt_regs *regs, >> + unsigned int trap) >> +{ >> +int ret =

[PATCH v2] clk: mediatek: mt8183: Register 13MHz clock earlier for clocksource

2019-06-09 Thread Weiyi Lu
The 13MHz clock should be registered before clocksource driver is initialized. Use CLK_OF_DECLARE_DRIVER() to guarantee. Signed-off-by: Weiyi Lu --- drivers/clk/mediatek/clk-mt8183.c | 46 +-- 1 file changed, 34 insertions(+), 12 deletions(-) diff --git a/dri

Re: [PATCH] mt76: mt7615: add support for per-chain signal strength reporting

2019-06-09 Thread Ryder Lee
On Sun, 2019-06-09 at 16:44 +0200, Sebastian Gottschall wrote: > according to my findings > > MT_RXV4_RCPI1 is part of rx descriptor 4 and not 3 > so it must be rxdg4 = rxd[4] etc. RXV start from 1 in the code. That is: RXV1 <-> rxdg0, RXV2 <-> rxdg1 ...so RXV4 <-> rxdg3 > however rxdg3 contain

Re: [PATCH v1] clk: mediatek: mt8183: Register 13MHz clock earlier for clocksource

2019-06-09 Thread Weiyi Lu
On Fri, 2019-06-07 at 10:59 -0700, Stephen Boyd wrote: > Quoting Weiyi Lu (2019-06-06 20:11:52) > > diff --git a/drivers/clk/mediatek/clk-mt8183.c > > b/drivers/clk/mediatek/clk-mt8183.c > > index 9d86510..a8f50bc 100644 > > --- a/drivers/clk/mediatek/clk-mt8183.c > > +++ b/drivers/clk/mediatek/cl

Re: [PATCH v6 06/10] device connection: Add fwnode_connection_find_match()

2019-06-09 Thread Chunfeng Yun
Hi Heikki, On Fri, 2019-06-07 at 13:30 +0300, Heikki Krogerus wrote: > Hi, > > On Wed, May 29, 2019 at 03:43:44PM +0800, Chunfeng Yun wrote: > > From: Heikki Krogerus > > > > The fwnode_connection_find_match() function is exactly the > > same as device_connection_find_match(), except it takes >

Re: [bug report][stable] kernel tried to execute NX-protected page - exploit attempt? (uid: 0)

2019-06-09 Thread Joseph Qi
Confirmed the following 3 upstream commits can resolve this issue: d2a68c4effd8 x86/ftrace: Do not call function graph from dynamic trampolines 3c0dab44e227 x86/ftrace: Set trampoline pages as executable 7298e24f9042 x86/kprobes: Set instruction page as executable And they are all included in stab

RE: [PATCH V2 2/2] mailbox: introduce ARM SMC based mailbox

2019-06-09 Thread Peng Fan
Hi Andre, > Subject: Re: [PATCH V2 2/2] mailbox: introduce ARM SMC based mailbox > > On Mon, 3 Jun 2019 09:32:42 -0700 > Florian Fainelli wrote: > > Hi, > > > On 6/3/19 1:30 AM, peng@nxp.com wrote: > > > From: Peng Fan > > > > > > This mailbox driver implements a mailbox which signals tran

Dear Friend (Assalamu Alaikum),

2019-06-09 Thread AISHA GADDAFI
-- Dear Friend (Assalamu Alaikum), I came across your e-mail contact prior a private search while in need of your assistance. My name is Aisha Al-Qaddafi a single Mother and a Widow with three Children. I am the only biological Daughter of late Libyan President (Late Colonel Muammar Gaddafi). I

RE: [PATCH 4.14 03/35] neighbor: Call __ipv4_neigh_lookup_noref in neigh_xmit

2019-06-09 Thread nobuhiro1.iwamatsu
Hi again. > -Original Message- > From: stable-ow...@vger.kernel.org > [mailto:stable-ow...@vger.kernel.org] On Behalf Of Nobuhiro Iwamatsu > Sent: Monday, June 10, 2019 10:10 AM > To: Greg Kroah-Hartman > Cc: linux-kernel@vger.kernel.org; sta...@vger.kernel.org; Alan Maguire > ; David Ahe

Re: [PATCH 4.14 03/35] neighbor: Call __ipv4_neigh_lookup_noref in neigh_xmit

2019-06-09 Thread Nobuhiro Iwamatsu
Hi, On Sun, Jun 09, 2019 at 06:42:09PM +0200, Greg Kroah-Hartman wrote: > From: David Ahern > > [ Upstream commit 4b2a2bfeb3f056461a90bd621e8bd7d03fa47f60 ] > > Commit cd9ff4de0107 changed the key for IFF_POINTOPOINT devices to > INADDR_ANY but neigh_xmit which is used for MPLS encapsulations w

Re: [PATCH] timers: Fix up get_target_base() to use old base properly

2019-06-09 Thread Peter Xu
On Thu, Jun 06, 2019 at 12:28:08PM -0300, Marcelo Tosatti wrote: > On Mon, Jun 03, 2019 at 09:29:44PM +0800, Peter Xu wrote: > > get_target_base() in the timer code is not using the "base" parameter > > at all. My gut feeling is that instead of removing that extra > > parameter, what we really wan

[PATCH v2] lockdep: fix warning: print_lock_trace defined but not used

2019-06-09 Thread john . hubbard
From: John Hubbard Commit 0d2cc3b34532 ("locking/lockdep: Move valid_state() inside CONFIG_TRACE_IRQFLAGS && CONFIG_PROVE_LOCKING") moved the only usage of print_lock_trace() that was originally outside of the CONFIG_PROVE_LOCKING case. It moved that usage into a different case: CONFIG_PROVE_LOCK

Re: [PATCH 1/3] mfd: apple-ibridge: Add Apple iBridge MFD driver.

2019-06-09 Thread Life is hard, and then you die
On Tue, May 07, 2019 at 01:24:15PM +0100, Lee Jones wrote: > On Sun, 21 Apr 2019, Ronald Tschalär wrote: > > > The iBridge device provides access to several devices, including: > > - the Touch Bar > > - the iSight webcam > > - the light sensor > > - the fingerprint sensor > > > > This driver pr

Re: [PATCH 1/1] lockdep: fix warning: print_lock_trace defined but not used

2019-06-09 Thread John Hubbard
On 6/9/19 6:51 AM, Paul E. McKenney wrote: > On Tue, May 21, 2019 at 12:08:08AM -0700, john.hubb...@gmail.com wrote: >> From: John Hubbard >> >> Commit 0d2cc3b34532 ("locking/lockdep: Move valid_state() inside >> CONFIG_TRACE_IRQFLAGS && CONFIG_PROVE_LOCKING") moved the only usage of >> print_lock

Re: [PATCH 5.1 00/70] 5.1.9-stable review

2019-06-09 Thread Jiunn Chang
On Sun, Jun 09, 2019 at 06:41:11PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.1.9 release. > There are 70 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.

  1   2   3   4   5   6   7   8   9   >