Re: [PATCH] x86/hpet: Disable HPET on Intel Coffe Lake

2019-10-08 Thread Feng Tang
Hi Kai-Heng, On Thu, Aug 29, 2019 at 5:14 PM Kai-Heng Feng wrote: > > Some Coffee Lake platforms have skewed HPET timer once the SoCs entered > PC10, and marked TSC as unstable clocksource as result. > > Harry Pan identified it's a firmware bug [1]. > > To prevent creating a circular dependency

Re: [PATCH v7 2/7] kvm: vmx: Define CET VMCS fields and CPUID flags

2019-10-08 Thread Yang Weijiang
On Wed, Oct 02, 2019 at 11:04:07AM -0700, Jim Mattson wrote: > On Thu, Sep 26, 2019 at 7:17 PM Yang Weijiang wrote: > > > > CET(Control-flow Enforcement Technology) is an upcoming Intel(R) > > processor feature that blocks Return/Jump-Oriented Programming(ROP) > > attacks. It provides the

RE: [PATCH 00/20] DPAA fixes

2019-10-08 Thread Madalin-cristian Bucur
> -Original Message- > From: Jakub Kicinski > Sent: Wednesday, October 9, 2019 7:02 AM > Subject: Re: [PATCH 00/20] DPAA fixes > > On Tue, 8 Oct 2019 15:10:21 +0300, Madalin Bucur wrote: > > Here's a series of fixes and changes for the DPAA 1.x drivers. > > Fixing some boot time

RE: [PATCH] nvmem: imx: scu: fix dependency in Kconfig

2019-10-08 Thread Peng Fan
> Subject: [PATCH] nvmem: imx: scu: fix dependency in Kconfig > > Fix below error by adding HAVE_ARM_SMCCC dependency in Kconfig > ERROR: "__arm_smccc_smc" [drivers/nvmem/nvmem-imx-ocotp-scu.ko] > undefined! > > Reported-by: kbuild test robot > Signed-off-by: Srinivas Kandagatla > --- >

Re: [kbuild-all] Re: [PATCH] lis3lv02d: switch to using input device polling mode

2019-10-08 Thread Rong Chen
Hi, On 10/3/19 8:03 AM, Dmitry Torokhov wrote: On Wed, Oct 02, 2019 at 04:59:43PM -0700, Dmitry Torokhov wrote: On Thu, Oct 03, 2019 at 07:30:23AM +0800, kbuild test robot wrote: Hi Dmitry, I love your patch! Yet something to improve: [auto build test ERROR on char-misc/char-misc-testing]

RE: [RFC PATCH v3 4/6] psci: Add hvc call service for ptp_kvm.

2019-10-08 Thread Jianyong Wu (Arm Technology China)
Hi Paolo, > -Original Message- > From: Paolo Bonzini > Sent: Thursday, September 19, 2019 8:13 PM > To: Marc Zyngier ; Jianyong Wu (Arm Technology China) > ; net...@vger.kernel.org; yangbo...@nxp.com; > john.stu...@linaro.org; t...@linutronix.de; sean.j.christopher...@intel.com; >

Re: [PATCH] mfd: mt6397: fix probe after changing mt6397-core

2019-10-08 Thread Frank Wunderlich
Should i send patch without the shift (because rest of series gets not merged in 5.4)? Am 4. Oktober 2019 17:20:01 MESZ schrieb Lee Jones : >On Thu, 03 Oct 2019, Frank Wunderlich wrote: > >> Part 3 from this series [1] was not merged due to wrong splitting >> and breaks mt6323 pmic on

Re: [PATCH] cgroup, blkcg: prevent dirty inodes to pin dying memory cgroups

2019-10-08 Thread Roman Gushchin
On Tue, Oct 08, 2019 at 10:20:39AM +0200, Jan Kara wrote: > On Tue 08-10-19 05:38:59, Roman Gushchin wrote: > > On Tue, Oct 08, 2019 at 03:06:31PM +1100, Dave Chinner wrote: > > > On Fri, Oct 04, 2019 at 03:11:04PM -0700, Roman Gushchin wrote: > > > > This is a RFC patch, which is not intended to

linux-next: Tree for Oct 9

2019-10-08 Thread Stephen Rothwell
Hi all, Changes since 20191008: The bpf-next tree gained a conflict against the bpf tree. The drm-misc tree gained conflicts against the drm tree and a semantic conflict against the amdgpu tree. The staging tree lost its build failure. Non-merge commits (relative to Linus' tree): 3142 3370

Re: [PATCH v7 10/21] RISC-V: KVM: Handle MMIO exits for VCPU

2019-10-08 Thread Anup Patel
On Wed, Oct 9, 2019 at 4:14 AM Palmer Dabbelt wrote: > > On Mon, 23 Sep 2019 04:12:17 PDT (-0700), pbonz...@redhat.com wrote: > > On 04/09/19 18:15, Anup Patel wrote: > >> +unsigned long guest_sstatus = > >> +vcpu->arch.guest_context.sstatus | SR_MXR; > >> +unsigned

Re: [PATCH 1/3] dt-bindings: net: ftgmac100: Document AST2600 compatible

2019-10-08 Thread Andrew Jeffery
On Wed, 9 Oct 2019, at 15:19, Andrew Jeffery wrote: > > > On Wed, 9 Oct 2019, at 15:08, Benjamin Herrenschmidt wrote: > > On Tue, 2019-10-08 at 22:21 +1030, Andrew Jeffery wrote: > > > The AST2600 contains an FTGMAC100-compatible MAC, although it no- > > > longer > > > contains an MDIO

[PATCH] pinctrl: sprd: Add PIN_CONFIG_BIAS_DISABLE configuration support

2019-10-08 Thread Baolin Wang
Add PIN_CONFIG_BIAS_DISABLE configuration support for Spreadtrum pin controller. Signed-off-by: Baolin Wang --- drivers/pinctrl/sprd/pinctrl-sprd.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/pinctrl/sprd/pinctrl-sprd.c b/drivers/pinctrl/sprd/pinctrl-sprd.c

Re: [PATCH 1/3] dt-bindings: net: ftgmac100: Document AST2600 compatible

2019-10-08 Thread Andrew Jeffery
On Wed, 9 Oct 2019, at 15:08, Benjamin Herrenschmidt wrote: > On Tue, 2019-10-08 at 22:21 +1030, Andrew Jeffery wrote: > > The AST2600 contains an FTGMAC100-compatible MAC, although it no- > > longer > > contains an MDIO controller. > > How do you talk to the PHY then ? There are still MDIO

[PATCH V2] arm64: psci: Reduce waiting time of cpu_psci_cpu_kill()

2019-10-08 Thread Yunfeng Ye
If psci_ops.affinity_info() fails, it will sleep 10ms, which will not take so long in the right case. Use usleep_range() instead of msleep(), reduce the waiting time, and give a chance to busy wait before sleep. Signed-off-by: Yunfeng Ye --- V1->V2: - use usleep_range() instead of udelay() after

Re: [PATCH 1/3] dt-bindings: net: ftgmac100: Document AST2600 compatible

2019-10-08 Thread Benjamin Herrenschmidt
On Tue, 2019-10-08 at 22:21 +1030, Andrew Jeffery wrote: > The AST2600 contains an FTGMAC100-compatible MAC, although it no- > longer > contains an MDIO controller. How do you talk to the PHY then ? Cheers, Ben. > Signed-off-by: Andrew Jeffery > --- >

Re: [PATCH] ftgmac100: Disable HW checksum generation on AST2500

2019-10-08 Thread Benjamin Herrenschmidt
On Wed, 2019-09-11 at 14:48 +, Joel Stanley wrote: > Hi Ben, > > On Tue, 10 Sep 2019 at 22:05, Florian Fainelli > wrote: > > > > On 9/10/19 2:37 PM, Vijay Khemka wrote: > > > HW checksum generation is not working for AST2500, specially with > > > IPV6 > > > over NCSI. All TCP packets with

RE: [PATCH 05/10] dt-bindings: usb-xhci: Add r8a774b1 support

2019-10-08 Thread Yoshihiro Shimoda
Hi Fabrizio-san, > From: Fabrizio Castro, Sent: Tuesday, October 8, 2019 7:39 PM > > Document RZ/G2N (R8A774B1) SoC bindings. > > Signed-off-by: Fabrizio Castro Thank you for the patch! Reviewed-by: Yoshihiro Shimoda Best regards, Yoshihiro Shimoda

RE: [PATCH 06/10] dt-bindings: usb: renesas_usb3: Document r8a774b1 support

2019-10-08 Thread Yoshihiro Shimoda
Hi Fabrizio-san, > From: Fabrizio Castro, Sent: Tuesday, October 8, 2019 7:39 PM > > Document RZ/G2N (R8A774B1) SoC bindings. > > Signed-off-by: Fabrizio Castro Thank you for the patch! Reviewed-by: Yoshihiro Shimoda Best regards, Yoshihiro Shimoda

RE: [PATCH 04/10] dt-bindings: rcar-gen3-phy-usb3: Add r8a774b1 support

2019-10-08 Thread Yoshihiro Shimoda
Hi Fabrizio-san, > From: Fabrizio Castro, Sent: Tuesday, October 8, 2019 7:39 PM > > Document RZ/G2N (R8A774B1) SoC bindings. > > Signed-off-by: Fabrizio Castro Thank you for the patch! Reviewed-by: Yoshihiro Shimoda Best regards, Yoshihiro Shimoda

RE: [PATCH 03/10] dt-bindings: usb: renesas_usbhs: Add r8a774b1 support

2019-10-08 Thread Yoshihiro Shimoda
Hi Fabrizio-san, > From: Fabrizio Castro, Sent: Tuesday, October 8, 2019 7:39 PM > > Document RZ/G2N (R8A774B1) SoC bindings. > > Signed-off-by: Fabrizio Castro Thank you for the patch! Reviewed-by: Yoshihiro Shimoda Best regards, Yoshihiro Shimoda

RE: [PATCH 02/10] dt-bindings: dmaengine: usb-dmac: Add binding for r8a774b1

2019-10-08 Thread Yoshihiro Shimoda
Hi Fabrizio-san, > From: Fabrizio Castro, Sent: Tuesday, October 8, 2019 7:39 PM > > This patch adds the binding for r8a774b1 SoC (RZ/G2N). > > Signed-off-by: Fabrizio Castro Thank you for the patch! Reviewed-by: Yoshihiro Shimoda Best regards, Yoshihiro Shimoda

RE: [PATCH 01/10] dt-bindings: rcar-gen3-phy-usb2: Add r8a774b1 support

2019-10-08 Thread Yoshihiro Shimoda
Hi Fabrizio-san, > From: Fabrizio Castro, Sent: Tuesday, October 8, 2019 7:39 PM > Document RZ/G2N (R8A774B1) SoC bindings. > > Signed-off-by: Fabrizio Castro > --- Thank you for the patch! Reviewed-by: Yoshihiro Shimoda Best regards, Yoshihiro Shimoda

RE: [PATCH 2/6] net: can: xilinx_can: Fix flags field initialization for axi can and canps

2019-10-08 Thread Appana Durga Kedareswara Rao
Hi, > On 18.3.2019 13.32, Appana Durga Kedareswara rao wrote: > > AXI CAN IP and CANPS IP supports tx fifo empty feature, this patch > > updates the flags field for the same. > > > > Signed-off-by: Appana Durga Kedareswara rao > > > > --- > > drivers/net/can/xilinx_can.c | 2 ++ > > 1 file

Re: [PATCH 00/20] DPAA fixes

2019-10-08 Thread Jakub Kicinski
On Tue, 8 Oct 2019 15:10:21 +0300, Madalin Bucur wrote: > Here's a series of fixes and changes for the DPAA 1.x drivers. > Fixing some boot time dependency issues, removing some dead code, > changing the buffers used for reception, fixing the DMA devices, > some cleanups. Hi Madalin! The title

RE: [PATCH] usb:cdns3: Fix for CV CH9 running with g_zero driver.

2019-10-08 Thread Pawel Laszczak
Hi, > >Hi, > >Peter Chen writes: >> On 19-10-07 07:39:11, Pawel Laszczak wrote: >>> Patch fixes issue with Halt Endnpoint Test observed >> >> %s/Endnpoint/Endpoint >> >>> >>> during using g_zero >>> driver as DUT. Bug occurred only on some testing board. >> >> g_zero is legacy, please use

Re: [PATCH] fs/userfaultfd.c: simplify the calculation of new_flags

2019-10-08 Thread Peter Xu
On Fri, Oct 04, 2019 at 07:28:34PM -0400, Andrea Arcangeli wrote: > On Sat, Oct 05, 2019 at 06:46:40AM +0800, Wei Yang wrote: > > On Wed, Oct 02, 2019 at 08:45:05PM -0400, Andrea Arcangeli wrote: > > >Hello, > > > > > >On Tue, Aug 06, 2019 at 01:38:59PM +0800, Wei Yang wrote: > > >> Finally

[PATCH] KPC2000: kpc2000_spi.c: Fix alignment and style problems.

2019-10-08 Thread Chandra Annamaneni
Fixed alignment and style issues raised by checkpatch.pl Signed-off-by: Chandra Annamaneni --- drivers/staging/kpc2000/kpc2000_spi.c | 49 --- 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/drivers/staging/kpc2000/kpc2000_spi.c

Re: [PATCH v8] rtl8xxxu: Improve TX performance of RTL8723BU on rtl8xxxu driver

2019-10-08 Thread Chris Chiu
On Wed, Oct 2, 2019 at 8:18 PM Chris Chiu wrote: > v7: >- Fix reported bug of watchdog stop >- refer to the RxPWDBAll in vendor driver for SNR calculation > v8: >- Add missing break in switch case > > + case WIRELESS_MODE_N_24G: > + case

RE: [PATCH V2 1/2] usb: dwc3: Add node to update cache type setting

2019-10-08 Thread Ran Wang
Hi Rob, Felipe, On Tuesday, September 24, 2019 00:38, Yang Li wrote: > > On Thu, Jul 25, 2019 at 4:56 PM Rob Herring wrote: > > > > On Wed, Jul 24, 2019 at 8:29 PM Ran Wang wrote: > > > > > > Hi Rob, > > > > > > On Thursday, July 25, 2019 04:42 Rob Herring wrote: > > > > > > > > On Fri, Jul

Re: [PATCH v2] rtc: Fix the AltCentury value on AMD/Hygon platform

2019-10-08 Thread Jinke Fan
On 2019/10/8 17:44, Alexandre Belloni wrote: > On 08/10/2019 17:37:12+0800, Jinke Fan wrote: >> When using following operations: >> save_control = CMOS_READ(RTC_CONTROL); >> -CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); >> +CMOS_WRITE((save_control | RTC_SET), RTC_CONTROL); > >

Re: [PATCH 3/3] KVM: x86/vPMU: Add lazy mechanism to release perf_event per vPMC

2019-10-08 Thread Like Xu
On 2019/10/8 20:11, Peter Zijlstra wrote: On Tue, Oct 01, 2019 at 08:33:45PM +0800, Like Xu wrote: Hi Peter, On 2019/10/1 16:23, Peter Zijlstra wrote: On Mon, Sep 30, 2019 at 03:22:57PM +0800, Like Xu wrote: + union { + u8 event_count :7; /* the total number of created

[PATCH net-next] act_mirred: Fix mirred_init_module error handling

2019-10-08 Thread YueHaibing
If tcf_register_action failed, mirred_device_notifier should be unregistered. Fixes: 3b87956ea645 ("net sched: fix race in mirred device removal") Signed-off-by: YueHaibing --- net/sched/act_mirred.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/net/sched/act_mirred.c

Re: [RFC PATCH 2/3] perf tools: Add support for "report" for some spe events

2019-10-08 Thread Tan Xiaojun
On 2019/10/4 21:46, James Clark wrote: > Hi Xiaojun, > > I wanted to ask if you are still working on this? > > I've noticed that it doesn't apply cleanly to perf/core anymore and I was > working on re-basing it. > Would you be interested in me posting my progress? > > I was also interested in

Re: [PATCH] iwlwifi: fw: don't send GEO_TX_POWER_LIMIT command to FW version 29

2019-10-08 Thread You-Sheng Yang
Tested and commented on the issue page. Thank you for the correction. -- Cheers, You-Sheng Yang On 2019-10-08 15:17, Luciano Coelho wrote: > On Tue, 2019-10-08 at 14:05 +0800, You-Sheng Yang wrote: >> Follow-up for commit fddbfeece9c7 ("iwlwifi: fw: don't send >> GEO_TX_POWER_LIMIT command to FW

Re: [PATCH] ip6erspan: remove the incorrect mtu limit for ip6erspan

2019-10-08 Thread Jakub Kicinski
On Tue, 8 Oct 2019 17:56:03 +0800, Haishuang Yan wrote: > ip6erspan driver calls ether_setup(), after commit 61e84623ace3 > ("net: centralize net_device min/max MTU checking"), the range > of mtu is [min_mtu, max_mtu], which is [68, 1500] by default. > > It causes the dev mtu of the erspan

Re: [EXT] Re: [PATCH] PCI: Enhance the ACS quirk for Cavium devices

2019-10-08 Thread George Cherian
Hi Bjorn, Sorry for the late reply I was off for couple of days. On 10/8/19 2:32 PM, Bjorn Helgaas wrote: > External Email > > -- > On Tue, Oct 08, 2019 at 08:25:23AM +, Robert Richter wrote: >> On 04.10.19 14:48:13, Bjorn

Re: [BUGFIX PATCH 1/5] selftests: proc: Make va_max 3GB on 32bit arch

2019-10-08 Thread Masami Hiramatsu
On Tue, 8 Oct 2019 20:59:16 +0300 Alexey Dobriyan wrote: > On Tue, Oct 08, 2019 at 12:10:26AM +0900, Masami Hiramatsu wrote: > > Currently proc-self-map-files-002.c sets va_max (max test address > > of user virtual address) to 4GB, but it is too big for 32bit > > arch and 1UL << 32 is overflow

Re: [PATCH] iommu/vt-d: Return the correct dma mask when we are bypassing the IOMMU

2019-10-08 Thread Lu Baolu
Hi, On 10/8/19 10:33 PM, Arvind Sankar wrote: We must return a mask covering the full physical RAM when bypassing the IOMMU mapping. Also, in iommu_need_mapping, we need to check using dma_direct_get_required_mask to ensure that the device's dma_mask can cover physical RAM before deciding to

Re: [BUGFIX PATCH] selftests: Use real temporary working directory for archiving

2019-10-08 Thread Masami Hiramatsu
On Tue, 8 Oct 2019 23:39:40 + wrote: > > > > -Original Message- > > From: Masami Hiramatsu on Thursday, October 03, 2019 7:13 PM > > > > Use real temporary working directory for generating kselftest > > archive. > > > > tools/testing/selftests/kselftest directory has been used

[PATCH v4 4/5] arm64: tegra: Add XUSB and pad controller on Tegra194

2019-10-08 Thread JC Kuo
Adds the XUSB pad and XUSB controllers on Tegra194. Signed-off-by: JC Kuo --- Changes in v4: none Changes in v3: none Changes in v2: - renamed xhci@361 with usb@361 - moved padctl@352 and usb@361 inside /cbb - cleaned up "clocks" property of usb@361 node - added blanks

[PATCH v4 5/5] arm64: tegra: Enable XUSB host in P2972-0000 board

2019-10-08 Thread JC Kuo
This commit enables XUSB host and pad controller in Tegra194 P2972- board. Signed-off-by: JC Kuo --- Changes in v4: none Changes in v3: none Changes in v2: - use capitalization of regulator names - fix gpio property of VDD_5V_SATA regulator .../arm64/boot/dts/nvidia/tegra194-p2888.dtsi |

[PATCH v4 2/5] phy: tegra: xusb: Add Tegra194 support

2019-10-08 Thread JC Kuo
Add support for the XUSB pad controller found on Tegra194 SoCs. It is mostly similar to the same IP found on Tegra186, but the number of pads exposed differs, as do the programming sequences. Because most of the Tegra194 XUSB PADCTL registers definition and programming sequence are the same as

[PATCH v4 3/5] dt-bindings: phy: tegra: Add Tegra194 support

2019-10-08 Thread JC Kuo
Extend the bindings to cover the set of features found in Tegra194. Note that, technically, there are four more supplies connected to the XUSB pad controller (DVDD_PEX, DVDD_PEX_PLL, HVDD_PEX and HVDD_PEX_PLL) , but the power sequencing requirements of Tegra194 require these to be under the

[PATCH v4 1/5] phy: tegra: xusb: Protect Tegra186 soc with config

2019-10-08 Thread JC Kuo
As xusb-tegra186.c will be reused for Tegra194, it would be good to protect Tegra186 soc data with CONFIG_ARCH_TEGRA_186_SOC. This commit also reshuffles Tegra186 soc data single CONFIG_ARCH_TEGRA_186_SOC will be sufficient. Signed-off-by: JC Kuo --- Changes in v4: none Changes in v3: none

[PATCH v4 0/5] add Tegra194 XUSB host and pad controller support

2019-10-08 Thread JC Kuo
This series introduces support for Tegra194 XUSB host and pad controller. Tegra194 XUSB host and pad controller are highly similar to the controllers found on Tegra186. Therefore, it's possible to resue xhci-tegra.c and xusb-tegra186.c for Tegra194. Changelog: v4: xhci: tegra: Parameterize

Re: [RFC PATCH 2/3] perf tools: Add support for "report" for some spe events

2019-10-08 Thread Tan Xiaojun
On 2019/10/4 21:46, James Clark wrote: > Hi Xiaojun, > > I wanted to ask if you are still working on this? > > I've noticed that it doesn't apply cleanly to perf/core anymore and I was > working on re-basing it. > Would you be interested in me posting my progress? > > I was also interested in

[PATCH 1/2] arm64: dts: imx8mq-evk: Adjust nodes following alphabetical sort

2019-10-08 Thread Anson Huang
Adjust some nodes to make them follow alphabetical sort except iomuxc node which is put at the end of file because of its huge pinctrl data. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 46 ++-- 1 file changed, 23 insertions(+), 23

[PATCH 2/2] arm64: dts: imx8mn-ddr4-evk: Move iomuxc node to end of file

2019-10-08 Thread Anson Huang
All nodes are better to follow alphabetical sort except iomuxc which has huge pinctrl data, better to put it at the end of file. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 304 +++--- 1 file changed, 152 insertions(+), 152 deletions(-)

Re: [PATCH] usb: cdns3: Fix dequeue implementation.

2019-10-08 Thread Peter Chen
On 19-10-08 08:01:19, Pawel Laszczak wrote: > >> > >> diff --git a/drivers/usb/cdns3/gadget.c b/drivers/usb/cdns3/gadget.c > >> index 2ca280f4c054..9050b380ab83 100644 > >> --- a/drivers/usb/cdns3/gadget.c > >> +++ b/drivers/usb/cdns3/gadget.c > >> @@ -1145,6 +1145,14 @@ static void

Re: [PATCH] usb:cdns3: Fix for CV CH9 running with g_zero driver.

2019-10-08 Thread Peter Chen
On 19-10-08 15:58:57, Felipe Balbi wrote: > > Hi, > > Peter Chen writes: > > On 19-10-07 07:39:11, Pawel Laszczak wrote: > >> Patch fixes issue with Halt Endnpoint Test observed > > > > %s/Endnpoint/Endpoint > > > >> > >> during using g_zero > >> driver as DUT. Bug occurred only on some testing

Re: [PATCH v3 0/7] add Tegra194 XUSB host and pad controller support

2019-10-08 Thread JC Kuo
On 10/8/19 7:29 PM, Thierry Reding wrote: > On Mon, Oct 07, 2019 at 01:03:11PM +0200, Greg KH wrote: >> On Sat, Oct 05, 2019 at 12:28:59AM +0800, JC Kuo wrote: >>> Hi, >>> >>> This series introduces support for Tegra194 XUSB host and pad >>> controller. Tegra194 XUSB host and pad controller are

Re: [PATCH] rcu: Avoid to modify mask_ofl_ipi in sync_rcu_exp_select_node_cpus()

2019-10-08 Thread Boqun Feng
On Tue, Oct 08, 2019 at 01:01:21PM -0400, Joel Fernandes wrote: > On Tue, Oct 08, 2019 at 06:35:45PM +0200, Marco Elver wrote: > > On Tue, 8 Oct 2019 at 18:30, Joel Fernandes wrote: > > > > > > On Tue, Oct 08, 2019 at 01:01:40PM +0800, Boqun Feng wrote: > > > > "mask_ofl_ipi" is used for iterate

Re: [PATCH v5 0/9] Enable Sub-page Write Protection Support

2019-10-08 Thread Yang Weijiang
On Tue, Sep 17, 2019 at 04:52:55PM +0800, Yang, Weijiang wrote: Hi, Paolo, Could you review this v5 patch at your convenience? Thanks a lot! > EPT-Based Sub-Page write Protection(SPP)is a HW capability which allows > Virtual Machine Monitor(VMM) to specify write-permission for guest > physical

Re: [PATCH v6 14/14] riscv: Make mmap allocation top-down by default

2019-10-08 Thread Atish Patra
On Tue, 2019-10-08 at 07:58 -0400, Alex Ghiti wrote: > On 10/7/19 8:46 PM, Atish Patra wrote: > > On Mon, 2019-10-07 at 05:11 -0400, Alex Ghiti wrote: > > > On 10/4/19 10:12 PM, Atish Patra wrote: > > > > On Thu, 2019-08-08 at 02:17 -0400, Alexandre Ghiti wrote: > > > > > In order to avoid wasting

[PATCH] seq_file: move seq_read() flushing into a function

2019-10-08 Thread Vito Caputo
Consolidate some duplicated bookkeeping from seq_read() into a function. Signed-off-by: Vito Caputo --- fs/seq_file.c | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/fs/seq_file.c b/fs/seq_file.c index 1600034a929b..e5d2bccf5ac4 100644

Re: [PATCH v2 0/2] Avoid regmap debugfs collisions in qcom llcc driver

2019-10-08 Thread Stephen Boyd
Quoting Bjorn Andersson (2019-10-08 16:55:04) > On Tue 08 Oct 16:45 PDT 2019, Stephen Boyd wrote: > > @@ drivers/soc/qcom/llcc-slice.c > > > > static struct llcc_drv_data *drv_data = (void *) -EPROBE_DEFER; > > > > --static const struct regmap_config llcc_regmap_config

RE: [EXT] Re: [RESEND PATCH v5 4/4] mailbox: imx: add support for imx v1 mu

2019-10-08 Thread Richard Zhu
Hi Daniel: > -Original Message- > From: Daniel Baluta > Sent: 2019年10月8日 15:26 > To: Richard Zhu > Cc: jassisinghb...@gmail.com; Oleksij Rempel ; > Daniel Baluta ; Aisheng Dong > ; dl-linux-imx ; Linux Kernel > Mailing List ; linux-arm-kernel > > Subject: [EXT] Re: [RESEND PATCH v5

[PATCH -next] usb: typec: add dependency for TYPEC_HD3SS3220

2019-10-08 Thread Mao Wenan
If CONFIG_TYPEC_HD3SS3220=y, CONFIG_USB_ROLE_SWITCH=m, below errors can be found: drivers/usb/typec/hd3ss3220.o: In function `hd3ss3220_remove': hd3ss3220.c:(.text+0x64): undefined reference to `usb_role_switch_put' drivers/usb/typec/hd3ss3220.o: In function `hd3ss3220_dr_set':

[PATCH] rpmsg: glink: Remove channel decouple from rpdev release

2019-10-08 Thread Chris Lew
If a channel is being rapidly restarted and the kobj release worker is busy, there is a chance the the rpdev_release function will run after the channel struct itself has been released. There should not be a need to decouple the channel from rpdev in the rpdev release since that should only

[PATCH v2 2/2] mmc: sdhci-of-arasan: Add Support for Intel LGM SDXC

2019-10-08 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan The current arasan sdhci PHY configuration isn't compatible with the PHY on Intel's LGM(Lightning Mountain) SoC devices. Therefore, add a new compatible, to adapt the Intel's LGM SDXC PHY with arasan-sdhc controller to configure the PHY. Signed-off-by:

[PATCH v2 1/2] dt-bindings: mmc: sdhci-of-arasan: Add new compatible for Intel LGM SDXC

2019-10-08 Thread Ramuthevar,Vadivel MuruganX
From: Ramuthevar Vadivel Murugan Add a new compatible to use the sdhc-arasan host controller driver with the SDXC PHY to support on Intel's Lightning Mountain(LGM) SoC. Signed-off-by: Ramuthevar Vadivel Murugan --- Documentation/devicetree/bindings/mmc/arasan,sdhci.txt | 17 +

[PATCH v2 0/2] mmc: sdhci-of-arasan: Add Support for Intel LGM SDXC

2019-10-08 Thread Ramuthevar,Vadivel MuruganX
The current arasan sdhci PHY configuration isn't compatible with the PHY on Intel's LGM(Lightning Mountain) SoC devices. Therefore, add a new compatible, to adapt the Intel's LGM SDXC PHY with arasan-sdhc controller to configure the PHY. Linux code base : V5.4-rc1 Ramuthevar Vadivel Murugan

Re: KASAN: use-after-free Read in nl8NUM_dump_wpan_phy

2019-10-08 Thread syzbot
syzbot has bisected this bug to: commit 75cdbdd089003cd53560ff87b690ae911fa7df8e Author: Jiri Pirko Date: Sat Oct 5 18:04:37 2019 + net: ieee802154: have genetlink code to parse the attrs during dumpit bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=14620210e0 start

Re: [PATCH v2 6/6] rpmsg: glink: Free pending deferred work on remove

2019-10-08 Thread Chris Lew
On 10/4/2019 3:27 PM, Bjorn Andersson wrote: By just cancelling the deferred rx worker during GLINK instance teardown any pending deferred commands are leaked, so free them. Fixes: b4f8e52b89f6 ("rpmsg: Introduce Qualcomm RPM glink driver") Cc: sta...@vger.kernel.org Tested-by: Srinivas

Re: [PATCH 0/4] HiSilicon hip08 uncore PMU events additions

2019-10-08 Thread Shaokun Zhang
Hi John, Thanks for your nice work, these are useful for performance profiling if anyone is unfamiliar with the uncore PMU events on hip08. For this patchset, please feel free to add Reviewed-by: Shaokun Zhang Thanks, Shaokun On 2019/9/4 23:54, John Garry wrote: > This patchset adds some

Re: [PATCH 0/3] net: ftgmac100: Ungate RCLK for RMII on ASPEED MACs

2019-10-08 Thread Joel Stanley
On Wed, 9 Oct 2019 at 00:38, Florian Fainelli wrote: > > > > On 10/8/2019 4:51 AM, Andrew Jeffery wrote: > > Hello, > > > > This series slightly extends the devicetree binding and driver for the > > FTGMAC100 to describe an optional RMII RCLK gate in the clocks property. > > Currently it's

RE: [PATCH V10 0/2] mailbox: arm: introduce smc triggered mailbox

2019-10-08 Thread Peng Fan
Hi Jassi, > Subject: [PATCH V10 0/2] mailbox: arm: introduce smc triggered mailbox Are you fine with this patch set? Thanks, Peng. > > From: Peng Fan > > V10: > - Add R-b tag from Andre, Rob and Florian > - Two minor fixes > - Drop "passed from consumers" in patch 1/2 per Andre's

Re: [PATCH v2 5/6] rpmsg: glink: Don't send pending rx_done during remove

2019-10-08 Thread Chris Lew
On 10/4/2019 3:27 PM, Bjorn Andersson wrote: Attempting to transmit rx_done messages after the GLINK instance is being torn down will cause use after free and memory leaks. So cancel the intent_work and free up the pending intents. With this there are no concurrent accessors of the channel

Re: [PATCH v2] of: Make of_dma_get_range() work on bus nodes

2019-10-08 Thread Rob Herring
On Tue, Oct 8, 2019 at 3:52 PM Nicolas Saenz Julienne wrote: > > Hi Rob/Robin, > > On Tue, 2019-10-08 at 14:52 -0500, Rob Herring wrote: > > From: Robin Murphy > > > > Since the "dma-ranges" property is only valid for a node representing a > > bus, of_dma_get_range() currently assumes the node

Re: [PATCH v2 2/6] rpmsg: glink: Fix use after free in open_ack TIMEOUT case

2019-10-08 Thread Chris Lew
On 10/4/2019 3:26 PM, Bjorn Andersson wrote: From: Arun Kumar Neelakantam Extra channel reference put when remote sending OPEN_ACK after timeout causes use-after-free while handling next remote CLOSE command. Remove extra reference put in timeout case to avoid use-after-free. Fixes:

Re: [PATCH v2 6/9] RISC-V: entry: Remove unneeded need_resched() loop

2019-10-08 Thread Paul Walmsley
On Mon, 23 Sep 2019, Valentin Schneider wrote: > Since the enabling and disabling of IRQs within preempt_schedule_irq() > is contained in a need_resched() loop, we don't need the outer arch > code loop. > > Reviewed-by: Palmer Dabbelt > Signed-off-by: Valentin Schneider > Cc: Albert Ou > Cc:

Re: [PATCH v2 1/6] rpmsg: glink: Fix reuse intents memory leak issue

2019-10-08 Thread Chris Lew
On 10/4/2019 3:26 PM, Bjorn Andersson wrote: From: Arun Kumar Neelakantam Memory allocated for re-usable intents are not freed during channel cleanup which causes memory leak in system. Check and free all re-usable memory to avoid memory leak. Fixes: 933b45da5d1d ("rpmsg: glink: Add

Re: [PATCH 0/3] net: ftgmac100: Ungate RCLK for RMII on ASPEED MACs

2019-10-08 Thread Florian Fainelli
On 10/8/2019 4:51 AM, Andrew Jeffery wrote: > Hello, > > This series slightly extends the devicetree binding and driver for the > FTGMAC100 to describe an optional RMII RCLK gate in the clocks property. > Currently it's necessary for the kernel to ungate RCLK on the AST2600 in NCSI >

Re: [PATCH net-next 0/6] net: hns3: add some new feature

2019-10-08 Thread Jakub Kicinski
On Tue, 8 Oct 2019 09:20:03 +0800, Huazhong Tan wrote: > This patch-set includes some new features for the HNS3 ethernet > controller driver. > > [patch 01/06] adds support for configuring VF link status on the host. > > [patch 02/06] adds support for configuring VF spoof check. > > [patch

[PATCH v2] media: vimc: Make capture devices and subdevices use different link_validates

2019-10-08 Thread Nícolas F . R . A . Prado
Instead of validating the links to capture devices and subdevices with the same function, use the default v4l function for links between subdevices and only use a different function for validating between capture device and subdevice. This change should also ease future work to associate multiple

Re: [PATCH 2/3] dt-bindings: net: ftgmac100: Describe clock properties

2019-10-08 Thread Andrew Jeffery
On Tue, 8 Oct 2019, at 23:12, Joel Stanley wrote: > On Tue, 8 Oct 2019 at 11:50, Andrew Jeffery wrote: > > > > Critically, the AST2600 requires ungating the RMII RCLK if e.g. NCSI is > > in use. > > > > Signed-off-by: Andrew Jeffery > > --- > >

[PATCH] arm64: defconfig: Enable Qualcomm remoteproc dependencies

2019-10-08 Thread Bjorn Andersson
Enable the the power domains, reset controllers and remote block device memory access drivers necessary to boot the Audio, Compute and Modem DSPs on Qualcomm SDM845. None of the power domains are system critical, but needs to be builtin as the driver core prohibits probe deferal past late

[RFC PATCH] interconnect: Replace of_icc_get() with icc_get() and reduce DT binding

2019-10-08 Thread Saravana Kannan
Quoting Stephen Boyd: > Quoting David Dai (2019-09-27 10:16:07) > > On 9/25/2019 6:28 AM, Stephen Boyd wrote: > > > Quoting Bjorn Andersson (2019-09-24 22:59:33) > > >> On Tue 24 Sep 22:41 PDT 2019, Stephen Boyd wrote: > > >> > > >>> The DT binding could also be simplified somewhat. Currently a

Re: [PATCH] NFC: pn533: fix use-after-free and memleaks

2019-10-08 Thread Jakub Kicinski
On Mon, 7 Oct 2019 18:40:59 +0200, Johan Hovold wrote: > The driver would fail to deregister and its class device and free > related resources on late probe errors. > > Reported-by: syzbot+cb035c75c03dbe34b...@syzkaller.appspotmail.com > Fixes: 32ecc75ded72 ("NFC: pn533: change order operations

Re: [PATCH v2] arm64: lse: fix LSE atomics with LLVM's integrated assembler

2019-10-08 Thread Nathan Chancellor
On Tue, Oct 08, 2019 at 04:59:25PM -0700, 'Sami Tolvanen' via Clang Built Linux wrote: > On Tue, Oct 8, 2019 at 4:31 PM Andrew Murray wrote: > > This looks good to me. I can build and boot in a model with both Clang > > (9.0.6) and GCC (7.3.1) and boot a guest without anything going bang. > >

Re: [PATCH v2] arm64: lse: fix LSE atomics with LLVM's integrated assembler

2019-10-08 Thread Sami Tolvanen
On Tue, Oct 8, 2019 at 4:31 PM Andrew Murray wrote: > This looks good to me. I can build and boot in a model with both Clang > (9.0.6) and GCC (7.3.1) and boot a guest without anything going bang. Great, thank you for testing this! > Though when I build with AS=clang, e.g. > > make ARCH=arm64

Re: [PATCH v2 0/2] Avoid regmap debugfs collisions in qcom llcc driver

2019-10-08 Thread Bjorn Andersson
On Tue 08 Oct 16:45 PDT 2019, Stephen Boyd wrote: > Now a two part series. These patches fix a debugfs name collision for > the llcc regmaps and moves the config to a local variable to save on > image size. > > Changes from v1 >

[PATCH] ASoC: jz4740: Remove unused match variable

2019-10-08 Thread Stephen Boyd
After commit 67ad656bdd70 ("ASoC: jz4740: Use of_device_get_match_data()"), the match local variable is unused and the compiler rightly warns. sound/soc/jz4740/jz4740-i2s.c: In function 'jz4740_i2s_dev_probe':

Re: [PATCH v2 3/3] phy: qcom-qmp: Add SM8150 QMP UFS PHY support

2019-10-08 Thread Bjorn Andersson
On Tue 08 Oct 00:46 PDT 2019, Jack Pham wrote: > On Fri, Sep 06, 2019 at 10:40:17AM +0530, Vinod Koul wrote: [..] > I was thinking of taking a stab at USB if I get time, not sure if that's > already on your or somebody's (Bjorn?) radar. > We only have remote access to the hardware, making it

[PATCH v2 1/2] soc: qcom: llcc: Name regmaps to avoid collisions

2019-10-08 Thread Stephen Boyd
We'll end up with debugfs collisions if we don't give names to the regmaps created by this driver. Change the name of the config before registering it so we don't collide in debugfs. Fixes: 7f9c136216c7 ("soc: qcom: Add broadcast base for Last Level Cache Controller (LLCC)") Cc: Venkata Narendra

[PATCH v2 2/2] soc: qcom: llcc: Move regmap config to local variable

2019-10-08 Thread Stephen Boyd
This is now a global variable that we're modifying to fix the name. That isn't terribly thread safe and it's not necessary to be a global so let's just move this to a local variable instead. This saves space in the symtab and actually reduces kernel image size because the regmap config is large

Re: [PATCH 4.19 001/106] tpm: use tpm_try_get_ops() in tpm-sysfs.c.

2019-10-08 Thread Jarkko Sakkinen
On Tue, Oct 08, 2019 at 02:51:20PM +0200, Pavel Machek wrote: > For example this did not have any locking, and is now protected by > > get_device(>dev); > > down_read(>ops_sem); > > . Is that intended? Is this known to fix any bugs? It is, sysfs code can otherwise race when ops

[PATCH v2 0/2] Avoid regmap debugfs collisions in qcom llcc driver

2019-10-08 Thread Stephen Boyd
Now a two part series. These patches fix a debugfs name collision for the llcc regmaps and moves the config to a local variable to save on image size. Changes from v1 (https://lkml.kernel.org/r/20191004233132.194336-1-swb...@chromium.org): * New second patch * Dropped static * See range-diff

Re: [PATCH 5.4 regression fix] Input: soc_button_array - partial revert of support for newer surface devices

2019-10-08 Thread Dmitry Torokhov
On Sat, Oct 05, 2019 at 12:55:51PM +0200, Hans de Goede wrote: > Commit c394159310d0 ("Input: soc_button_array - add support for newer > surface devices") not only added support for the MSHW0040 ACPI HID, > but for some reason it also makes changes to the error handling of the >

Re: [PATCH] ARC: mm: remove __ARCH_USE_5LEVEL_HACK

2019-10-08 Thread Kirill A. Shutemov
On Tue, Oct 08, 2019 at 09:38:36PM +, Vineet Gupta wrote: > Add the intermediate p4d accessors to make it 5 level compliant. > > Thi sis non-functional change anyways since ARC has software page walker ^ Typo. > with 2 lookup levels (pgd -> pte) > > Signed-off-by: Vineet Gupta >

Re: [PATCH 4.19 002/106] tpm: Fix TPM 1.2 Shutdown sequence to prevent future TPM operations

2019-10-08 Thread Jarkko Sakkinen
> > --- a/drivers/char/tpm/tpm-chip.c > > +++ b/drivers/char/tpm/tpm-chip.c > > @@ -187,12 +187,13 @@ static int tpm_class_shutdown(struct device *dev) > > { > > struct tpm_chip *chip = container_of(dev, struct tpm_chip, dev); > > > > + down_write(>ops_sem); > > if (chip->flags &

RE: [BUGFIX PATCH] selftests: Use real temporary working directory for archiving

2019-10-08 Thread Tim.Bird
> -Original Message- > From: Masami Hiramatsu on Thursday, October 03, 2019 7:13 PM > > Use real temporary working directory for generating kselftest > archive. > > tools/testing/selftests/kselftest directory has been used for > the temporary working directory for making a tar archive

Re: [PATCH] riscv: Fix memblock reservation for device tree blob

2019-10-08 Thread Palmer Dabbelt
On Tue, 08 Oct 2019 16:31:17 PDT (-0700), a...@eecs.berkeley.edu wrote: On 2019-10-08 15:38:15 -0700, Palmer Dabbelt wrote: On Fri, 20 Sep 2019 21:34:57 PDT (-0700), a...@brainfault.org wrote: > On Sat, Sep 21, 2019 at 6:30 AM Albert Ou wrote: >> >> This fixes an error with how the FDT blob

Re: [PATCH v2] arm64: lse: fix LSE atomics with LLVM's integrated assembler

2019-10-08 Thread Andrew Murray
On Tue, Oct 08, 2019 at 02:27:30PM -0700, Sami Tolvanen wrote: > Unlike gcc, clang considers each inline assembly block to be independent > and therefore, when using the integrated assembler for inline assembly, > any preambles that enable features must be repeated in each block. > > This change

Re: [PATCH] riscv: Fix memblock reservation for device tree blob

2019-10-08 Thread Albert Ou
On 2019-10-08 15:38:15 -0700, Palmer Dabbelt wrote: > On Fri, 20 Sep 2019 21:34:57 PDT (-0700), a...@brainfault.org wrote: > > On Sat, Sep 21, 2019 at 6:30 AM Albert Ou wrote: > >> > >> This fixes an error with how the FDT blob is reserved in memblock. > >> An incorrect physical address

Re: [PATCH] lib/list-test: add a test for the 'list' doubly linked list

2019-10-08 Thread David Gow
On Mon, Oct 7, 2019 at 6:03 PM Kees Cook wrote: (...) > > + > > +static void list_init_test(struct kunit *test) > > +{ > > + /* Test the different ways of initialising a list. */ > > + struct list_head list1 = LIST_HEAD_INIT(list1); > > + struct list_head list2; > > +

[PATCH] cpufreq: Avoid cpufreq_suspend() deadlock on system shutdown

2019-10-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki It is incorrect to set the cpufreq syscore shutdown callback pointer to cpufreq_suspend(), because that function cannot be run in the syscore stage of system shutdown for two reasons: (a) it may attempt to carry out actions depending on devices that have already been shut

Re: [PATCH] tpm: add check after commands attribs tab allocation

2019-10-08 Thread Jarkko Sakkinen
On Mon, Oct 07, 2019 at 02:46:37PM -0700, Tadeusz Struk wrote: > devm_kcalloc() can fail and return NULL so we need to check for that. > > Fixes: 58472f5cd4f6f ("tpm: validate TPM 2.0 commands") > Signed-off-by: Tadeusz Struk Thank you. Cc: sta...@vger.kernel.org Reviewed-by: Jarkko Sakkinen

Re: [PATCH v4 0/2] mm/memory-failure: Poison read receives SIGKILL instead of SIGBUS issue

2019-10-08 Thread Naoya Horiguchi
Hi Jane, I think that this patchset is good enough and ready to be merged. Andrew, could you consider queuing this series into your tree? Thanks, Naoya Horiguchi On Tue, Oct 08, 2019 at 11:13:23AM -0700, Jane Chu wrote: > Hi, Naoya, > > What is the status of the patches? > Is there anything I

Re: [RFC/RFT][PATCH v8] cpuidle: New timer events oriented governor for tickless systems

2019-10-08 Thread Rafael J. Wysocki
On Tuesday, October 8, 2019 12:49:01 PM CEST Rafael J. Wysocki wrote: > On Tue, Oct 8, 2019 at 11:51 AM Rafael J. Wysocki wrote: > > > > On Tue, Oct 8, 2019 at 8:20 AM Doug Smythies wrote: > > > > > > On 2019.10.06 08:34 Rafael J. Wysocki wrote: > > > > On Sun, Oct 6, 2019 at 4:46 PM Doug

  1   2   3   4   5   6   7   8   9   10   >