Re: [PATCH v2 1/1] i2c: iproc: Add i2c repeated start capability

2019-10-16 Thread Rayagonda Kokatanur
Hi Wolfram, Please review the patch and let me know if you still have any review comments. Best regards, Rayagonda On Thu, Oct 10, 2019 at 3:02 PM Rayagonda Kokatanur wrote: > > Hi Wolfram, > > Did you get a chance to review this patch. > > Best regards, > Rayagonda > > > On Mon, Sep 30, 2019

[PATCH v3] cpupower : Handle set and info subcommands correctly

2019-10-16 Thread Abhishek Goel
Cpupower tool has set and info options which are being used only by x86 machines. This patch removes support for these two subcommands from cpupower utility for POWER. Thus, these two subcommands will now be available only for intel. This removes the ambiguous error message while using set option

Re: [PATCH] net: dsa: rtl8366rb: add missing of_node_put after calling of_get_child_by_name

2019-10-16 Thread Wen Yang
On 2019/10/2 1:03 上午, David Miller wrote: From: Wen Yang Date: Sun, 29 Sep 2019 15:00:47 +0800 of_node_put needs to be called when the device node which is got from of_get_child_by_name finished using. irq_domain_add_linear() also calls of_node_get() to increase refcount, so irq_domain will

Re: [PATCH] media: st-mipid02: add a check for devm_gpiod_get_optional

2019-10-16 Thread Mickael GUENE
Hello Chuhong, Is this check necessary ? since looking into code it seems to me devm_gpiod_get_optional() can only return NULL in case of error due to following check in devm_gpiod_get_index_optional() if (IS_ERR(desc)) { if (PTR_ERR(desc) == -ENOENT)

Re: [PATCH] net: mscc: ocelot: add missing of_node_put after calling of_get_child_by_name

2019-10-16 Thread Wen Yang
On 2019/10/2 1:02 上午, David Miller wrote: From: Wen Yang Date: Sun, 29 Sep 2019 14:54:24 +0800 of_node_put needs to be called when the device node which is got from of_get_child_by_name finished using. In both cases of success and failure, we need to release 'ports', so clean up the code

Re: WARNING: bad unlock balance in rcu_lock_release

2019-10-16 Thread Eric Biggers
On Tue, Oct 15, 2019 at 09:56:31AM +0200, Jan Kara wrote: > On Sun 13-10-19 14:28:06, syzbot wrote: > > syzbot has found a reproducer for the following crash on: > > > > HEAD commit:da940012 Merge tag 'char-misc-5.4-rc3' of git://git.kernel.. > > git tree: upstream > > console output:

Re: [PATCH V2] mm/page_alloc: Add alloc_contig_pages()

2019-10-16 Thread Anshuman Khandual
On 10/16/2019 10:18 PM, David Hildenbrand wrote: > On 16.10.19 17:31, Anshuman Khandual wrote: >> >> >> On 10/16/2019 06:11 PM, Michal Hocko wrote: >>> On Wed 16-10-19 14:29:05, David Hildenbrand wrote: On 16.10.19 13:51, Michal Hocko wrote: > On Wed 16-10-19 16:43:57, Anshuman

RE: [EXT] [PATCH v1 3/3] tty: serial: lpuart: Add RS485 support for 32-bit uart flavour

2019-10-16 Thread Andy Duan
From: Philippe Schenker Sent: Wednesday, October 16, 2019 11:19 PM > This commits adds RS485 support for LPUART hardware that uses 32-bit > registers. These are typically found in i.MX8 processors. > > Signed-off-by: Philippe Schenker Reviewed-by: Fugang Duan > > --- > >

RE: [EXT] [PATCH v1 2/3] tty: serial: lpuart: Use defines that correspond to correct register

2019-10-16 Thread Andy Duan
From: Philippe Schenker Sent: Wednesday, October 16, 2019 11:19 PM > Use UARTMODIR defines instead of UARTMODEM as it is a 32-bit function > > Signed-off-by: Philippe Schenker Reviewed-by: Fugang Duan > --- > > drivers/tty/serial/fsl_lpuart.c | 4 ++-- > 1 file changed, 2 insertions(+), 2

RE: [EXT] [PATCH v1 1/3] tty: serial: lpuart: Remove unnecessary code from set_mctrl

2019-10-16 Thread Andy Duan
From: Philippe Schenker Sent: Wednesday, October 16, 2019 11:19 PM > Currently flow control is not working due to lpuart32_set_mctrl that is > clearing TXCTSE bit in all cases. This bit gets earlier setup by > lpuart32_set_termios. > > As I read in Documentation set_mctrl is also not meant for

Re: [PATCH v2] Bluetooth: hci_core: fix init for HCI_USER_CHANNEL

2019-10-16 Thread Marcel Holtmann
Hi Mattijs, > During the setup() stage, HCI device drivers expect the chip to > acknowledge its setup() completion via vendor specific frames. > > If userspace opens() such HCI device in HCI_USER_CHANNEL [1] mode, > the vendor specific frames are never tranmitted to the driver, as > they are

Re: [PATCH 4.19 00/81] 4.19.80-stable review

2019-10-16 Thread kernelci.org bot
stable-rc/linux-4.19.y boot: 106 boots: 0 failed, 99 passed with 7 offline (v4.19.79-82-g99661e9ccf92) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.19.y/kernel/v4.19.79-82-g99661e9ccf92/ Full Build Summary:

Re: [PATCH 5.3 000/112] 5.3.7-stable review

2019-10-16 Thread kernelci.org bot
stable-rc/linux-5.3.y boot: 118 boots: 1 failed, 109 passed with 7 offline, 1 untried/unknown (v5.3.6-112-gcbb18cd3e478) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.3.y/kernel/v5.3.6-112-gcbb18cd3e478/ Full Build Summary:

linux-next: Tree for Oct 17

2019-10-16 Thread Stephen Rothwell
Hi all, Changes since 20191016: Non-merge commits (relative to Linus' tree): 4283 4317 files changed, 145570 insertions(+), 67942 deletions(-) I have created today's linux-next tree at git://git.kernel.org/pub/scm

Re: [V5 1/2] dmaengine: fsl-dpaa2-qdma: Add the DPDMAI(Data Path DMA Interface) support

2019-10-16 Thread Vinod Koul
On 30-09-19, 02:04, Peng Ma wrote: > The MC(Management Complex) exports the DPDMAI(Data Path DMA Interface) > object as an interface to operate the DPAA2(Data Path Acceleration > Architecture 2) qDMA Engine. The DPDMAI enables sending frame-based > requests to qDMA and receiving back confirmation

RE: [PATCH 2/2] usb: cdns3: Add TI specific wrapper driver

2019-10-16 Thread Pawel Laszczak
Hi Roger, >The J721e platform comes with 2 Cadence USB3 controller > >instances. This driver supports the TI specific wrapper > >on this platform. > > > >Signed-off-by: Roger Quadros > >Signed-off-by: Sekhar Nori > >--- > > drivers/usb/cdns3/Kconfig| 10 ++ > > drivers/usb/cdns3/Makefile

I need Your Urgent assistance.

2019-10-16 Thread Beatrice Johnson
I need Your Urgent assistance. My name is Beatrice Johnson. The only daughter of the late Mr. Madou Johnson. Here in Burkina Faso, i got your profile while searching for contact on internet; I am contacting you to help me receive some amount of money in your country. So that I can travel To

Re: [PATCH net 0/4] net: bcmgenet: restore internal EPHY support

2019-10-16 Thread Florian Fainelli
On 10/16/2019 4:06 PM, Doug Berger wrote: > I managed to get my hands on an old BCM97435SVMB board to do some > testing with the latest kernel and uncovered a number of things > that managed to get broken over the years (some by me ;). > > This commit set attempts to correct the errors I

Re: [PATCH net 4/4] net: bcmgenet: reset 40nm EPHY on energy detect

2019-10-16 Thread Florian Fainelli
On 10/16/2019 4:06 PM, Doug Berger wrote: > The EPHY integrated into the 40nm Set-Top Box devices can falsely > detect energy when connected to a disabled peer interface. When the > peer interface is enabled the EPHY will detect and report the link > as active, but on occasion may get into a

Re: [PATCH RESEND v2] staging: wfx: fix an undefined reference error when CONFIG_MMC=m

2019-10-16 Thread zhong jiang
On 2019/10/14 18:06, Jerome Pouiller wrote: > On Monday 14 October 2019 11:53:19 CEST Jérôme Pouiller wrote: > [...] >> Hello Zhong, >> >> Now, I see the problem. It happens when CONFIG_MMC=m and CONFIG_WFX=y >> (if CONFIG_WFX=m, it works). >> >> I think the easiest way to solve problem is to

[PATCH -next] CIFS: remove set but not used variables 'cinode' and 'netfid'

2019-10-16 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: fs/cifs/file.c: In function 'cifs_flock': fs/cifs/file.c:1704:8: warning: variable 'netfid' set but not used [-Wunused-but-set-variable] fs/cifs/file.c:1702:24: warning: variable 'cinode' set but not used [-Wunused-but-set-variable] Reported-by:

Re: [PATCH net 3/4] net: bcmgenet: soft reset 40nm EPHYs before MAC init

2019-10-16 Thread Florian Fainelli
On 10/16/2019 4:06 PM, Doug Berger wrote: > It turns out that the "Workaround for putting the PHY in IDDQ mode" > used by the internal EPHYs on 40nm Set-Top Box chips when powering > down puts the interface to the GENET MAC in a state that can cause > subsequent MAC resets to be incomplete. >

Re: [PATCH net 2/4] net: phy: bcm7xxx: define soft_reset for 40nm EPHY

2019-10-16 Thread Florian Fainelli
On 10/16/2019 4:06 PM, Doug Berger wrote: > The internal 40nm EPHYs use a "Workaround for putting the PHY in > IDDQ mode." These PHYs require a soft reset to restore functionality > after they are powered back up. > > This commit defines the soft_reset function to use genphy_soft_reset >

Re: [PATCH net 1/4] net: bcmgenet: don't set phydev->link from MAC

2019-10-16 Thread Florian Fainelli
On 10/16/2019 4:06 PM, Doug Berger wrote: > When commit 28b2e0d2cd13 ("net: phy: remove parameter new_link from > phy_mac_interrupt()") removed the new_link parameter it set the > phydev->link state from the MAC before invoking phy_mac_interrupt(). > > However, once commit 88d6272acaaa ("net:

Re: [PATCH 0/4] [RFC] Migrate Pages in lieu of discard

2019-10-16 Thread Shakeel Butt
On Wed, Oct 16, 2019 at 3:49 PM Dave Hansen wrote: > > We're starting to see systems with more and more kinds of memory such > as Intel's implementation of persistent memory. > > Let's say you have a system with some DRAM and some persistent memory. > Today, once DRAM fills up, reclaim will start

Re: [PATCH -tip v4 0/4] x86: kprobes: Prohibit kprobes on Xen/KVM emulate prefixes

2019-10-16 Thread Masami Hiramatsu
Hi Peter, On Wed, 9 Oct 2019 14:31:06 +0200 Peter Zijlstra wrote: > On Tue, Sep 17, 2019 at 03:14:03PM +0900, Masami Hiramatsu wrote: > > Hi Peter, > > > > Could you review this version? > > These look good to me; shall I merge them or what was the plan? Thanks for the review, yes, could you

Re: [PATCH net-next 00/12] net: hns3: add some bugfixes and optimizations

2019-10-16 Thread tanhuazhong
On 2019/10/17 1:50, David Miller wrote: From: Jakub Kicinski Date: Wed, 16 Oct 2019 10:19:43 -0700 On Wed, 16 Oct 2019 15:16:59 +0800, Huazhong Tan wrote: This patch-set includes some bugfixes and code optimizations for the HNS3 ethernet controller driver. The code LGTM, mostly, but it

[PATCH v2] Bluetooth: hci_core: fix init for HCI_USER_CHANNEL

2019-10-16 Thread Mattijs Korpershoek
During the setup() stage, HCI device drivers expect the chip to acknowledge its setup() completion via vendor specific frames. If userspace opens() such HCI device in HCI_USER_CHANNEL [1] mode, the vendor specific frames are never tranmitted to the driver, as they are filtered in hci_rx_work().

Re: [PATCH V2] mm/page_alloc: Add alloc_contig_pages()

2019-10-16 Thread Anshuman Khandual
On 10/17/2019 06:20 AM, Mike Kravetz wrote: > On 10/16/19 4:02 AM, Anshuman Khandual wrote: >> HugeTLB helper alloc_gigantic_page() implements fairly generic allocation >> method where it scans over various zones looking for a large contiguous pfn >> range before trying to allocate it with

[PATCH 3/3] arm64: dts: imx8mn: Add LPDDR4 EVK board support

2019-10-16 Thread Anson Huang
i.MX8MN LPDDR4 EVK board shares most of the device as DDR4 EVK board, the ONLY difference are the DDR type and PMIC, add support for it and make it default i.MX8MN EVK board as usual. The PMIC driver is NOT ready, so cpu-freq needs to be disabled as it depends on regulator provided by PMIC.

[PATCH 1/3] arm64: dts: imx8mn: Create EVK dtsi file for common use

2019-10-16 Thread Anson Huang
i.MX8MN has different EVK boards to support different DDR types, the ONLY differences are DDR chips and PMIC, so most of the devices can be shared between these EVK boards, create a EVK dtsi file for common use. Signed-off-by: Anson Huang --- - This patch is based on

[PATCH 2/3] dt-bindings: arm: imx: Add the i.MX8MN LPDDR4 EVK board

2019-10-16 Thread Anson Huang
Add board binding for i.MX8MN LPDDR4 EVK board. Signed-off-by: Anson Huang --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index

[PATCH v2 1/2] dt-bindings: gpio: brcm: Add bindings for xgs-iproc

2019-10-16 Thread Chris Packham
This GPIO controller is present on a number of Broadcom switch ASICs with integrated SoCs. It is similar to the nsp-gpio and iproc-gpio blocks but different enough to require a separate driver. Signed-off-by: Chris Packham --- Notes: Changes in v2: - Document as DT schema - Include

[PATCH v2 2/2] gpio: Add xgs-iproc driver

2019-10-16 Thread Chris Packham
This driver supports the Chip Common A GPIO controller present on a number of Broadcom switch ASICs with integrated SoCs. The controller is similar to the pinctrl-nsp-gpio and pinctrl-iproc-gpio blocks but different enough that a separate driver is required. This has been ported from Broadcom's

[PATCH v2 0/2] gpio: brcm: XGS iProc GPIO driver

2019-10-16 Thread Chris Packham
This is ported this from Broadcom's XLDK (now heavily modified). There seem to be 3 different IP blocks for 3 separate banks of GPIOs in the iProc chips. I've dropped everything except support for the Chip Common A GPIO controller because the other blocks actually seem to be supportable with

[PATCH 0/2] Add basic dts support for RK3308

2019-10-16 Thread Andy Yan
RK3308 is a quad Cortex A35 based SOC with rich audio interfaces(I2S/PCM/TDM/PDM/SPDIF/VAD/HDMI ARC), which designed for intelligent voice interaction and audio input/output processing. As the clk and pinctrl drivers are landed, we post the basic dts support, make it convenient for other module

[PATCH 2/2] arm64: dts: rockchip: Add basic dts for RK3308 EVB

2019-10-16 Thread Andy Yan
This board use uart4 as debug port and arm core voltage is modulated by pwm. Signed-off-by: Andy Yan --- .../devicetree/bindings/arm/rockchip.yaml | 5 + arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/rk3308-evb.dts | 206 ++ 3 files

[PATCH 1/2] arm64: dts: rockchip: Add core dts for RK3308 SOC

2019-10-16 Thread Andy Yan
RK3308 is a quad Cortex A35 based SOC with rich audio interfaces(I2S/PCM/TDM/PDM/SPDIF/VAD/HDMI ARC), which designed for intelligent voice interaction and audio input/output processing. This patch add basic core dtsi file for it. Signed-off-by: Andy Yan ---

Re: [PATCH 6/7] rcu: rename some CONFIG_PREEMPTION to CONFIG_PREEMPT_RCU

2019-10-16 Thread Paul E. McKenney
On Wed, Oct 16, 2019 at 11:26:23PM +0800, Lai Jiangshan wrote: > > > On 2019/10/16 11:54 上午, Paul E. McKenney wrote: > > On Tue, Oct 15, 2019 at 10:28:48AM +, Lai Jiangshan wrote: > > > CONFIG_PREEMPTION and CONFIG_PREEMPT_RCU are always identical, > > > but some code depends on

[PATCH] ASoC: Intel: sof-rt5682: add a check for devm_clk_get

2019-10-16 Thread Chuhong Yuan
sof_audio_probe misses a check for devm_clk_get and may cause problems. Add a check for it to fix the bug. Signed-off-by: Chuhong Yuan --- sound/soc/intel/boards/sof_rt5682.c | 9 + 1 file changed, 9 insertions(+) diff --git a/sound/soc/intel/boards/sof_rt5682.c

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

2019-10-16 Thread Eric Biggers
On Thu, Oct 17, 2019 at 03:37:35AM +0100, Al Viro wrote: > On Wed, Oct 16, 2019 at 07:27:05PM -0700, Eric Biggers wrote: > > > How about the following? > > > > pr_warn("%s filesystem being %s at %s supports timestamps until %04ld > > (0x%llx)\n", > > sb->s_type->name, > >

[PATCH] spi: pxa2xx: Add missed security checks

2019-10-16 Thread Chuhong Yuan
pxa2xx_spi_init_pdata misses checks for devm_clk_get and platform_get_irq. Add checks for them to fix the bugs. Signed-off-by: Chuhong Yuan --- drivers/spi/spi-pxa2xx.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c index

Re: [PATCH 0/3] cpufreq: merge arm_big_little and vexpress-spc

2019-10-16 Thread Viresh Kumar
+Nico in case he has any issues with this series. On 16-10-19, 12:03, Sudeep Holla wrote: > Hi, > > Since vexpress-spc is the sole user of arm_big_little cpufreq driver, > there's no point in keeping it separate anymore. I wanted to post these > patches for ages but kept postponing for no

Re: WARNING: refcount bug in find_key_to_update

2019-10-16 Thread syzbot
syzbot has bisected this bug to: commit 0570bc8b7c9b41deba6f61ac218922e7168ad648 Author: Linus Torvalds Date: Thu Jul 18 19:26:59 2019 + Merge tag 'riscv/for-v5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux bisection log:

Re: [PATCH 3/3] cpufreq: simplify and remove lots of debug messages

2019-10-16 Thread Viresh Kumar
On 16-10-19, 12:03, Sudeep Holla wrote: > cpufreq_arm_bL_ops is no longer needed after merging the generic > arm_big_little and vexpress-spc driver. Remove cpufreq_arm_bL_ops > and rename all the bL_* function names to ve_spc_*. > > This driver have been used for year now and the extensive debug

Re: [PATCH 2/3] cpufreq: merge arm_big_little and vexpress-spc

2019-10-16 Thread Viresh Kumar
On 16-10-19, 12:03, Sudeep Holla wrote: > arm_big_little cpufreq driver was designed as a generic big little > driver that could be used by any platform and make use of bL switcher. > Over years alternate solutions have be designed and merged to deal with > bL/HMP systems like EAS. > > Also since

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

2019-10-16 Thread Al Viro
On Wed, Oct 16, 2019 at 07:27:05PM -0700, Eric Biggers wrote: > How about the following? > > pr_warn("%s filesystem being %s at %s supports timestamps until %04ld > (0x%llx)\n", > sb->s_type->name, > is_mounted(mnt) ? "remounted" : "mounted", >

Re: [PATCH v1 07/17] cpufreq: tegra20: Use generic cpufreq-dt driver (Tegra30 supported now)

2019-10-16 Thread Viresh Kumar
On 16-10-19, 00:16, Dmitry Osipenko wrote: > Re-parenting to intermediate clock is supported now by the clock driver > and thus there is no need in a customized CPUFreq driver, all that code > is common for both Tegra20 and Tegra30. The available CPU freqs are now > specified in device-tree in a

Re: [PATCH 2/2] virtio_ring: Use DMA API if memory is encrypted

2019-10-16 Thread Jason Wang
On 2019/10/15 下午3:35, Christoph Hellwig wrote: On Fri, Oct 11, 2019 at 06:25:19PM -0700, Ram Pai wrote: From: Thiago Jung Bauermann Normally, virtio enables DMA API with VIRTIO_F_IOMMU_PLATFORM, which must be set by both device and guest driver. However, as a hack, when DMA API returns

Re: [PATCH v1 11/17] ARM: dts: tegra20: Add CPU Operating Performance Points

2019-10-16 Thread Viresh Kumar
On 16-10-19, 00:16, Dmitry Osipenko wrote: > Operating Point are specified per HW version. The OPP voltages are kept > in a separate DTSI file because some boards may not define CPU regulator > in their device-tree if voltage scaling isn't necessary, like for example > in a case of

Re: [PATCH v1 12/17] ARM: dts: tegra30: Add CPU Operating Performance Points

2019-10-16 Thread Viresh Kumar
On 16-10-19, 00:16, Dmitry Osipenko wrote: > Operating Point are specified per HW version. The OPP voltages are kept > in a separate DTSI file because some boards may not define CPU regulator > in their device-tree if voltage scaling isn't necessary for them. > > Signed-off-by: Dmitry Osipenko >

Re: [PATCH v1 06/17] dt-bindings: cpufreq: Add binding for NVIDIA Tegra20/30

2019-10-16 Thread Viresh Kumar
On 16-10-19, 00:16, Dmitry Osipenko wrote: > Add device-tree binding that describes CPU frequency-scaling hardware > found on NVIDIA Tegra20/30 SoCs. > > Signed-off-by: Dmitry Osipenko > --- > .../cpufreq/nvidia,tegra20-cpufreq.txt| 56 +++ > 1 file changed, 56

Re: [PATCH v1 07/17] cpufreq: tegra20: Use generic cpufreq-dt driver (Tegra30 supported now)

2019-10-16 Thread Viresh Kumar
On 16-10-19, 21:19, Dmitry Osipenko wrote: > 16.10.2019 17:58, Peter Geis пишет: > > On Wed, Oct 16, 2019 at 9:29 AM Dmitry Osipenko wrote: > >> > >> 16.10.2019 08:18, Viresh Kumar пишет: > >>> On 16-10-19, 00:16, Dmitry Osipenko wrote: > Re-parenting to intermediate clock is supported now

RE: [PATCH] MAINTAINERS: Add Marek and Shimoda-san as R-Car PCIE co-maintainers

2019-10-16 Thread Yoshihiro Shimoda
Hi Simon-san, > From: Simon Horman, Sent: Wednesday, October 16, 2019 9:03 PM > > At the end of the v5.3 upstream development cycle I stepped down > from my role at Renesas. > > Pass maintainership of the R-Car PCIE to Marek and Shimoda-san. > > Signed-off-by: Simon Horman Thank you very

Re: [PATCH v1 11/17] ARM: dts: tegra20: Add CPU Operating Performance Points

2019-10-16 Thread Viresh Kumar
On 16-10-19, 16:21, Dmitry Osipenko wrote: > 16.10.2019 08:23, Viresh Kumar пишет: > > On 16-10-19, 00:16, Dmitry Osipenko wrote: > >> Operating Point are specified per HW version. The OPP voltages are kept > >> in a separate DTSI file because some boards may not define CPU regulator > >> in their

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

2019-10-16 Thread Eric Biggers
On Thu, Oct 17, 2019 at 02:58:53AM +0100, Al Viro wrote: > On Wed, Oct 16, 2019 at 06:47:55PM -0700, Eric Biggers wrote: > > On Wed, Oct 16, 2019 at 06:42:11PM -0700, syzbot wrote: > > > == > > > BUG: KASAN: use-after-free in

Re: [PATCH v2] rtl8xxxu: fix RTL8723BU connection failure issue after warm reboot

2019-10-16 Thread Chris Chiu
On Wed, Oct 16, 2019 at 9:54 AM Chris Chiu wrote: > > The RTL8723BU has problems connecting to AP after each warm reboot. > Sometimes it returns no scan result, and in most cases, it fails > the authentication for unknown reason. However, it works totally > fine after cold reboot. > > Compare the

[RFC PATCH 4/4] interconnect: qcom: sdm845: Split qnodes into their respective NoCs

2019-10-16 Thread David Dai
In order to better represent the hardware and its different Network-On-Chip devices, split the sdm845 provider driver into NoC specific providers. Remove duplicate functionality already provided by the icc rpmh and bcm voter drivers to calculate and commit bandwidth requests to hardware.

[RFC PATCH 3/4] interconnect: qcom: Refactor icc rpmh support

2019-10-16 Thread David Dai
Add bcm voter driver and add support for RPMh specific interconnect providers so that they may be re-used for icc-next RPMh based provider drivers. Signed-off-by: David Dai --- drivers/interconnect/qcom/Kconfig | 8 + drivers/interconnect/qcom/Makefile| 4 +

[RFC PATCH 2/4] arm64: dts: sdm845: Redefine interconnect provider DT nodes

2019-10-16 Thread David Dai
Add the DT nodes for each of the Network-On-Chip interconnect buses found on SDM845 based platform and redefine the rsc_hlos child node as a bcm-voter device to better represent the hardware. Signed-off-by: David Dai --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 60

[RFC PATCH 1/4] dt-bindings: interconnect: Update Qualcomm SDM845 DT bindings

2019-10-16 Thread David Dai
Redefine the Network-on-Chip devices to more accurately describe the interconnect topology on Qualcomm's SDM845 platform. Each interconnect device can communicate with different instances of the RPMh hardware which are described as RSCs(Resource State Coordinators). As part of updating the DT

[RFC PATCH 0/4] Redefine interconnect provider DT nodes for SDM845

2019-10-16 Thread David Dai
While there are no current consumers of the SDM845 interconnect device in devicetree, take this opportunity to redefine the interconnect device nodes as the previous definitions of using a single child node under the apps_rsc device did not accurately capture the description of the hardware. The

[PATCH] net: aquantia: add an error handling in aq_nic_set_multicast_list

2019-10-16 Thread Chen Wandun
From: Chenwandun Signed-off-by: Chenwandun --- drivers/net/ethernet/aquantia/atlantic/aq_nic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_nic.c b/drivers/net/ethernet/aquantia/atlantic/aq_nic.c index 2a18439..137c1de 100644 ---

RE: [PATCH] usb: renesas_usbhs: fix __le16 warnings

2019-10-16 Thread Yoshihiro Shimoda
Hi Simon-san, > From: Simon Horman, Sent: Wednesday, October 16, 2019 9:27 PM > > diff --git a/drivers/usb/renesas_usbhs/common.c > > b/drivers/usb/renesas_usbhs/common.c > > index 4c3de777ef6c..a3c30b609433 100644 > > --- a/drivers/usb/renesas_usbhs/common.c > > +++

Re: [PATCH] KVM: SVM: Fix potential wrong physical id in avic_handle_ldr_update

2019-10-16 Thread linmiaohe
Vitaly Kuznetsov writes: >> Guest physical APIC ID may not equal to vcpu->vcpu_id in some case. >> We may set the wrong physical id in avic_handle_ldr_update as we >> always use vcpu->vcpu_id. Hi, Vitaly, thanks for your reply. Do you think there may be a wrong physical id in

Re: [PATCH] kheaders: substituting --sort in archive creation

2019-10-16 Thread Masahiro Yamada
On Mon, Oct 14, 2019 at 10:40 PM Quentin Perret wrote: > > Hi Dmitry, > > On Wednesday 09 Oct 2019 at 13:42:14 (+), Dmitry Goldin wrote: > > From: Dmitry Goldin > > > > The option --sort=ORDER was only introduced in tar 1.28 (2014), which > > is rather new and might not be available in some

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

2019-10-16 Thread Al Viro
On Wed, Oct 16, 2019 at 06:47:55PM -0700, Eric Biggers wrote: > On Wed, Oct 16, 2019 at 06:42:11PM -0700, syzbot wrote: > > == > > BUG: KASAN: use-after-free in mnt_warn_timestamp_expiry+0x4a/0x250 > > fs/namespace.c:2471 > > Read of

Re: [PATCH] staging: sm750fb: format description of parameters the to kernel doc format

2019-10-16 Thread Randy Dunlap
On 10/16/19 6:29 PM, gbittencourt wrote: > Hi Randy, > > On 10/16/19 10:25 PM, Randy Dunlap wrote: >> Hi, >> >> On 10/16/19 6:18 PM, Gabriela Bittencourt wrote: >>> Cluster comments that describes parameters of functions and create one >>> single comment before the function in kernel doc format.

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

2019-10-16 Thread Tan Xiaojun
On 2019/10/16 18:12, James Clark wrote: > Hi Xiaojun, > >>> >>> What do you mean when the user specifies "event:pp", if the SPE is >>> available, configure and record the spe data directly via the perf event >>> open syscall? >>> (perf.data itself is the same as using -e arm_spe_0//xxx?) >> >>

[PATCH v2 1/2] kasan: detect negative size in memory operation function

2019-10-16 Thread Walter Wu
KASAN missed detecting size is negative numbers in memset(), memcpy(), and memmove(), it will cause out-of-bounds bug, so needs to be detected by KASAN. If size is negative numbers, then it has three reasons to be defined as heap-out-of-bounds bug type. 1) Casting negative numbers to size_t would

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

2019-10-16 Thread Eric Biggers
On Wed, Oct 16, 2019 at 06:42:11PM -0700, syzbot wrote: > == > BUG: KASAN: use-after-free in mnt_warn_timestamp_expiry+0x4a/0x250 > fs/namespace.c:2471 > Read of size 8 at addr 888099937328 by task syz-executor.1/18510 > Looks

[PATCH] apparmor: Fix use-after-free in aa_audit_rule_init

2019-10-16 Thread Navid Emamdoost
In the implementation of aa_audit_rule_init(), when aa_label_parse() fails the allocated memory for rule is released using aa_audit_rule_free(). But after this release the the return statement tries to access the label field of the rule which results in use-after-free. Before releaseing the rule,

KASAN: use-after-free Read in mnt_warn_timestamp_expiry

2019-10-16 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:3b1f00ac Merge tag 'for_linus' of git://git.kernel.org/pub.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=137ae2bb60 kernel config: https://syzkaller.appspot.com/x/.config?x=f0a8b0a0736a2ac1

KMSAN: uninit-value in read_sensor_register (2)

2019-10-16 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:c2453450 kmsan: kcov: prettify the code unpoisoning area->.. git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=14c95fe760 kernel config:

Re: [PATCH 4.9 00/92] 4.9.197-stable review

2019-10-16 Thread kernelci.org bot
stable-rc/linux-4.9.y boot: 42 boots: 0 failed, 39 passed with 3 offline (v4.9.196-93-g8811b6f62880) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.9.y/kernel/v4.9.196-93-g8811b6f62880/ Full Build Summary:

KASAN: slab-out-of-bounds Read in ld_usb_read (3)

2019-10-16 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:22be26f7 usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasan.git usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=14f6dc5f60 kernel config:

Re: [PATCH 4.4 00/79] 4.4.197-stable review

2019-10-16 Thread kernelci.org bot
stable-rc/linux-4.4.y boot: 80 boots: 2 failed, 72 passed with 6 offline (v4.4.196-80-g645def690295) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.4.y/kernel/v4.4.196-80-g645def690295/ Full Build Summary:

Re: [PATCH 4.14 00/65] 4.14.150-stable review

2019-10-16 Thread kernelci.org bot
stable-rc/linux-4.14.y boot: 104 boots: 1 failed, 97 passed with 6 offline (v4.14.149-65-gb29fcefccab6) Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.149-65-gb29fcefccab6/ Full Build Summary:

KMSAN: kernel-usb-infoleak in pcan_usb_wait_rsp

2019-10-16 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:c2453450 kmsan: kcov: prettify the code unpoisoning area->.. git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=11934730e0 kernel config:

WARNING: refcount bug in find_key_to_update

2019-10-16 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:bc88f85c kthread: make __kthread_queue_delayed_work static git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1730584b60 kernel config: https://syzkaller.appspot.com/x/.config?x=e0ac4d9b35046343

BUG: bad usercopy in ld_usb_read (3)

2019-10-16 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:22be26f7 usb-fuzzer: main usb gadget fuzzer driver git tree: https://github.com/google/kasan.git usb-fuzzer console output: https://syzkaller.appspot.com/x/log.txt?x=1756ff7760 kernel config:

Re: [PATCH] mm: Unsigned 'nr_pages' always larger than zero

2019-10-16 Thread zhong jiang
On 2019/10/17 8:49, Andrew Morton wrote: > On Wed, 16 Oct 2019 17:07:44 +0800 zhong jiang wrote: > --- a/mm/gup.c~a +++ a/mm/gup.c @@ -1450,6 +1450,7 @@ static long check_and_migrate_cma_pages( bool drain_allow = true; bool migrate_allow = true;

Re: [PATCH 2/2] hfsplus: add a check for hfs_bnode_find

2019-10-16 Thread Chuhong Yuan
On Thu, Oct 17, 2019 at 8:07 AM Ernesto A. Fernández wrote: > > Hi, > > On Wed, Oct 16, 2019 at 08:06:20PM +0800, Chuhong Yuan wrote: > > hfs_brec_update_parent misses a check for hfs_bnode_find and may miss > > the failure. > > Add a check for it like what is done in again. > > > >

Re: [PATCH] staging: sm750fb: format description of parameters the to kernel doc format

2019-10-16 Thread gbittencourt
Hi Randy, On 10/16/19 10:25 PM, Randy Dunlap wrote: Hi, On 10/16/19 6:18 PM, Gabriela Bittencourt wrote: Cluster comments that describes parameters of functions and create one single comment before the function in kernel doc format. Good plan. How did you test this patch? I haven't test

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

2019-10-16 Thread Benjamin Herrenschmidt
On Fri, 2019-10-11 at 14:30 -0700, Vijay Khemka wrote: > HW checksum generation is not working for AST2500, specially with > IPV6 > over NCSI. All TCP packets with IPv6 get dropped. By disabling this > it works perfectly fine with IPV6. As it works for IPV4 so enabled > hw checksum back for IPV4.

[PATCH v9 5/5] kasan debug: track pages allocated for vmalloc shadow

2019-10-16 Thread Daniel Axtens
Provide the current number of vmalloc shadow pages in /sys/kernel/debug/kasan/vmalloc_shadow_pages. Signed-off-by: Daniel Axtens --- v8: rename kasan_vmalloc/shadow_pages -> kasan/vmalloc_shadow_pages On v4 (no dynamic freeing), I saw the following approximate figures on my test VM: - fresh

[PATCH v9 4/5] x86/kasan: support KASAN_VMALLOC

2019-10-16 Thread Daniel Axtens
In the case where KASAN directly allocates memory to back vmalloc space, don't map the early shadow page over it. We prepopulate pgds/p4ds for the range that would otherwise be empty. This is required to get it synced to hardware on boot, allowing the lower levels of the page tables to be filled

Re: [PATCH 1/4] KVM: VMX: rename {vmx,nested_vmx}_vcpu_setup functions

2019-10-16 Thread Xiaoyao Li
On 10/17/2019 2:09 AM, Krish Sadhukhan wrote: On 10/15/19 6:27 PM, Xiaoyao Li wrote: On 10/16/2019 6:05 AM, Krish Sadhukhan wrote: On 10/15/2019 09:40 AM, Xiaoyao Li wrote: Rename {vmx,nested_vmx}_vcpu_setup to {vmx,nested_vmx}_vmcs_setup, to match what they really do. No functional

[PATCH v9 0/5] kasan: support backing vmalloc space with real shadow memory

2019-10-16 Thread Daniel Axtens
Currently, vmalloc space is backed by the early shadow page. This means that kasan is incompatible with VMAP_STACK. This series provides a mechanism to back vmalloc space with real, dynamically allocated memory. I have only wired up x86, because that's the only currently supported arch I can work

[PATCH v9 1/5] kasan: support backing vmalloc space with real shadow memory

2019-10-16 Thread Daniel Axtens
Hook into vmalloc and vmap, and dynamically allocate real shadow memory to back the mappings. Most mappings in vmalloc space are small, requiring less than a full page of shadow space. Allocating a full shadow page per mapping would therefore be wasteful. Furthermore, to ensure that different

Re: [PATCH] staging: sm750fb: format description of parameters the to kernel doc format

2019-10-16 Thread Randy Dunlap
Hi, On 10/16/19 6:18 PM, Gabriela Bittencourt wrote: > Cluster comments that describes parameters of functions and create one > single comment before the function in kernel doc format. Good plan. How did you test this patch? > Signed-off-by: Gabriela Bittencourt > --- >

[PATCH v9 3/5] fork: support VMAP_STACK with KASAN_VMALLOC

2019-10-16 Thread Daniel Axtens
Supporting VMAP_STACK with KASAN_VMALLOC is straightforward: - clear the shadow region of vmapped stacks when swapping them in - tweak Kconfig to allow VMAP_STACK to be turned on with KASAN Reviewed-by: Dmitry Vyukov Signed-off-by: Daniel Axtens --- arch/Kconfig | 9 +

[PATCH v9 2/5] kasan: add test for vmalloc

2019-10-16 Thread Daniel Axtens
Test kasan vmalloc support by adding a new test to the module. Signed-off-by: Daniel Axtens -- v5: split out per Christophe Leroy --- lib/test_kasan.c | 26 ++ 1 file changed, 26 insertions(+) diff --git lib/test_kasan.c lib/test_kasan.c index

RE: [PATCH] rtlwifi: Fix potential overflow on P2P code

2019-10-16 Thread Pkshih
> -Original Message- > From: linux-wireless-ow...@vger.kernel.org > [mailto:linux-wireless-ow...@vger.kernel.org] On Behalf > Of Laura Abbott > Sent: Thursday, October 17, 2019 4:57 AM > To: Pkshih; Kalle Valo > Cc: Laura Abbott; David S. Miller; linux-wirel...@vger.kernel.org; >

Re: [PATCH v9 09/17] x86/split_lock: Handle #AC exception for split lock

2019-10-16 Thread Xiaoyao Li
On 10/17/2019 1:42 AM, Sean Christopherson wrote: On Wed, Oct 16, 2019 at 09:23:37AM -0700, Sean Christopherson wrote: On Wed, Oct 16, 2019 at 05:43:53PM +0200, Paolo Bonzini wrote: On 16/10/19 17:41, Sean Christopherson wrote: On Wed, Oct 16, 2019 at 04:08:14PM +0200, Paolo Bonzini wrote:

[PATCH] staging: sm750fb: format description of parameters the to kernel doc format

2019-10-16 Thread Gabriela Bittencourt
Cluster comments that describes parameters of functions and create one single comment before the function in kernel doc format. Signed-off-by: Gabriela Bittencourt --- drivers/staging/sm750fb/sm750_accel.c | 65 +++ 1 file changed, 37 insertions(+), 28 deletions(-) diff

Re: [PATCH net-next 00/12] net: hns3: add some bugfixes and optimizations

2019-10-16 Thread tanhuazhong
On 2019/10/17 1:50, David Miller wrote: From: Jakub Kicinski Date: Wed, 16 Oct 2019 10:19:43 -0700 On Wed, 16 Oct 2019 15:16:59 +0800, Huazhong Tan wrote: This patch-set includes some bugfixes and code optimizations for the HNS3 ethernet controller driver. The code LGTM, mostly, but it

Re: [PATCH net-next 00/12] net: hns3: add some bugfixes and optimizations

2019-10-16 Thread tanhuazhong
On 2019/10/17 1:19, Jakub Kicinski wrote: On Wed, 16 Oct 2019 15:16:59 +0800, Huazhong Tan wrote: This patch-set includes some bugfixes and code optimizations for the HNS3 ethernet controller driver. The code LGTM, mostly, but it certainly seems like patches 2, 3 and 4 should be a separate

Re: [PATCH net-next 11/12] net: hns3: do not allocate linear data for fraglist skb

2019-10-16 Thread tanhuazhong
On 2019/10/17 1:18, Jakub Kicinski wrote: On Wed, 16 Oct 2019 15:17:10 +0800, Huazhong Tan wrote: From: Yunsheng Lin Currently, napi_alloc_skb() is used to allocate skb for fraglist when the head skb is not enough to hold the remaining data, and the remaining data is added to the frags

Re: [PATCH V2] mm/page_alloc: Add alloc_contig_pages()

2019-10-16 Thread Mike Kravetz
On 10/16/19 4:02 AM, Anshuman Khandual wrote: > HugeTLB helper alloc_gigantic_page() implements fairly generic allocation > method where it scans over various zones looking for a large contiguous pfn > range before trying to allocate it with alloc_contig_range(). Other than > deriving the

  1   2   3   4   5   6   7   8   9   10   >