RE: (EXT) Re: [PATCH v2 1/1] edac: fsl_ddr_edac: fix expected data message

2020-09-03 Thread Gregor Herburger
> >  drivers/edac/fsl_ddr_edac.c | 6 +++--- > >  1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/drivers/edac/fsl_ddr_edac.c b/drivers/edac/fsl_ddr_edac.c > > index 6d8ea226010d..4b6989cf1947 100644 > > --- a/drivers/edac/fsl_ddr_edac.c > > +++ b/drivers/edac/fsl_ddr_edac.c > >

Re: [PATCH v1 0/5] seqlock: Introduce PREEMPT_RT support

2020-09-03 Thread peterz
FWIW, can you please start a new thread with ever posting? I lost this one because it got stuck onto some ancient thread.

Re: [PATCH v2 1/3] ARM: dts: exynos: Add assigned clock parent to CMU in Exynos3250

2020-09-03 Thread Marek Szyprowski
Hi Krzysztof, On 03.09.2020 20:14, Krzysztof Kozlowski wrote: > Commit 52005dece527 ("ARM: dts: Add assigned clock parents to CMU node > for exynos3250") added assigned clocks under Clock Management Unit to > fix hangs when accessing ISP registers. > > However the dtschema expects "clocks" propert

[PATCH 0/3] Mediatek MT8192 scpsys support

2020-09-03 Thread Weiyi Lu
This series is based on v5.9-rc1, MT8192 clock v3[1] and MT8183 scpsys v17[2]. [1] https://patchwork.kernel.org/cover/11752231/ [2] https://patchwork.kernel.org/cover/11703253/ Weiyi Lu (3): dt-bindings: soc: Add MT8192 power dt-bindings soc: mediatek: Add MT8192 scpsys support arm64: dts:

[PATCH 3/3] arm64: dts: Add power controller device node of MT8192

2020-09-03 Thread Weiyi Lu
Add power controller node for MT8192. In scpsys node, it contains clocks and regmapping of infracfg for bus protection. And list all the power domains of MT8192 under scpsys node to show the dependency between each other through hierarchical structure. Signed-off-by: Weiyi Lu --- arch/arm64/boot

[PATCH 1/3] dt-bindings: soc: Add MT8192 power dt-bindings

2020-09-03 Thread Weiyi Lu
Add power dt-bindings of MT8192 Signed-off-by: Weiyi Lu --- .../devicetree/bindings/soc/mediatek/scpsys.txt| 5 include/dt-bindings/power/mt8192-power.h | 32 ++ 2 files changed, 37 insertions(+) create mode 100644 include/dt-bindings/power/mt8192-power.h

[PATCH 2/3] soc: mediatek: Add MT8192 scpsys support

2020-09-03 Thread Weiyi Lu
Add scpsys driver for MT8192 Signed-off-by: Weiyi Lu --- drivers/soc/mediatek/mtk-scpsys.c | 297 ++ 1 file changed, 297 insertions(+) diff --git a/drivers/soc/mediatek/mtk-scpsys.c b/drivers/soc/mediatek/mtk-scpsys.c index 7158863b..19a0c7e 100644 --- a/dri

Re: [PATCH v11 3/5] arm64: kdump: reimplement crashkernel=X

2020-09-03 Thread chenzhou
On 2020/9/4 12:16, Dave Young wrote: > On 09/04/20 at 12:02pm, chenzhou wrote: >> >> On 2020/9/4 11:10, Dave Young wrote: >>> On 09/04/20 at 11:04am, Dave Young wrote: On 09/03/20 at 07:26pm, chenzhou wrote: > Hi Catalin, > > > On 2020/9/3 1:09, Catalin Marinas wrote: >>

[PATCH] usb: core: fix slab-out-of-bounds Read in read_descriptors

2020-09-03 Thread Zeng Tao
The USB device descriptor may get changed between two consecutive enumerations on the same device for some reason, such as DFU or malicius device. In that case, we may access the changing descriptor if we don't take the device lock here. The issue is reported: https://syzkaller.appspot.com/bug?id=

[PATCH 5/6] arm64: dts: qcom: qrb5165-rb5: Add gpio-line-names for TLMM block

2020-09-03 Thread Manivannan Sadhasivam
Add gpio-line-names property for QRB5165 RB5 board for naming all GPIOs exposed by TLMM block. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 181 +++ 1 file changed, 181 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts

[PATCH 4/6] arm64: dts: qcom: qrb5165-rb5: Add onboard LED support

2020-09-03 Thread Manivannan Sadhasivam
Only User4, WLAN and BT LEDs are added for now. These GPIOs are coming from PM8150. Rest are coming from LPG block which is not supported yet! Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 26 1 file changed, 26 insertions(+) diff -

Re: [PATCH 12/14] x86: remove address space overrides using set_fs()

2020-09-03 Thread Christoph Hellwig
On Fri, Sep 04, 2020 at 03:55:10AM +0100, Al Viro wrote: > On Thu, Sep 03, 2020 at 04:22:40PM +0200, Christoph Hellwig wrote: > > > diff --git a/arch/x86/lib/getuser.S b/arch/x86/lib/getuser.S > > index c8a85b512796e1..94f7be4971ed04 100644 > > --- a/arch/x86/lib/getuser.S > > +++ b/arch/x86/lib/g

linux-kernel@vger.kernel.org

2020-09-03 Thread Manivannan Sadhasivam
Add gpio-line-names for the GPIO pins exposed by PM8150, PM8150B and PM8150L PMIC nodes. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 47 1 file changed, 47 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arc

[PATCH 3/6] arm64: dts: qcom: Add basic devicetree support for QRB5165 RB5

2020-09-03 Thread Manivannan Sadhasivam
Add basic devicetree support for Qualcomm Technologies, Inc. Robotics RB5 platform. This board is one of the 96Boards CE platform targeted for Robotics usecases from Qualcomm. This basic devicetree support includes regulators, onboard debug UART, I2C, SPI, and UFS support. Co-developed-by: Bjorn

[PATCH 2/6] arm64: dts: qcom: sm8250: Rename UART2 node to UART12

2020-09-03 Thread Manivannan Sadhasivam
The UART12 node has been mistakenly mentioned as UART2. Let's fix that for both SM8250 SoC and MTP board and also add pinctrl definition for it. Fixes: 60378f1a171e ("arm64: dts: qcom: sm8250: Add sm8250 dts file") Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sm8250-mtp.dts

[PATCH 1/6] dt-bindings: arm: qcom: Document SM8250 SoC and boards

2020-09-03 Thread Manivannan Sadhasivam
Document the SM8250 SoC binding and also the boards using it. Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/arm/qcom.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/a

[PATCH 0/6] Add initial support for Qualcomm RB5 platform

2020-09-03 Thread Manivannan Sadhasivam
Hello, This series adds initial support for Qualcomm Robotics RB5 Platform based on QRB5165 SoC which is a derivative of SM8250 SoC customized for robotics applications. This board is one of the Consumer Edition boards of the 96Boards family manufactured by Thundercomm. This initial support inclu

Re: [PATCH 3/6] mmc: Set PROBE_PREFER_ASYNCHRONOUS for drivers that existed in v4.14

2020-09-03 Thread Wolfram Sang
On Thu, Sep 03, 2020 at 04:24:38PM -0700, Douglas Anderson wrote: > This is like commit 3d3451124f3d ("mmc: sdhci-msm: Prefer asynchronous > probe") but applied to a whole pile of drivers. This batch converts > the drivers that appeared to be around in the v4.14 timeframe. The LTS granularity of

Re: [PATCH v2] staging: media: atomisp: Fix error path in lm3554_probe()

2020-09-03 Thread Dan Carpenter
On Thu, Sep 03, 2020 at 07:24:51PM +0100, Alex Dewar wrote: > + > + ret = atomisp_register_i2c_module(&flash->sd, NULL, LED_FLASH); > + if (!ret) > + return 0; Ugh!!! This is a a special case of the "success handling instead of failure handling" anti-pattern where the last con

Re: [PATCH] mm/memory_hotplug: drain per-cpu pages again during memory offline

2020-09-03 Thread Vlastimil Babka
On 9/3/20 8:23 PM, Pavel Tatashin wrote: >> >> As expressed in reply to v2, I dislike this hack. There is strong >> synchronization, just PCP is special. Allocating from MIGRATE_ISOLATE is >> just plain ugly. >> >> Can't we temporarily disable PCP (while some pageblock in the zone is >> isolated, w

Re: [PATCH v5 2/2] Add Intel LGM soc DMA support.

2020-09-03 Thread Peter Ujfalusi
On 31/08/2020 11.07, Reddy, MallikarjunaX wrote: > > On 8/28/2020 7:17 PM, Peter Ujfalusi wrote: >> Hi, >> >> On 27/08/2020 17.41, Reddy, MallikarjunaX wrote: >>> + >>> +    dma_dev->device_alloc_chan_resources = >>> +    d->inst->ops->device_alloc_chan_resources; >>> +    d

Re: [PATCH v5 1/2] dt-bindings: dma: Add bindings for intel LGM SOC

2020-09-03 Thread Peter Ujfalusi
On 18/08/2020 10.00, Reddy, MallikarjunaX wrote: > Hi Rob, > Thanks for your valuable comments. Please see my comments inline.. > > On 8/15/2020 4:32 AM, Rob Herring wrote: >> On Fri, Aug 14, 2020 at 01:26:09PM +0800, Amireddy Mallikarjuna reddy >> wrote: >>> Add DT bindings YAML schema for DMA

[PATCH v2 03/14] arm64: dts: imx8mm-evk: Align pin configuration group names with schema

2020-09-03 Thread Krzysztof Kozlowski
Device tree schema expects pin configuration groups to end with 'grp' suffix, otherwise dtbs_check complain with a warning like: ... do not match any of the regexes: 'grp$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 14 +++

[PATCH v2 05/14] arm64: dts: imx8mn-ddr4-evk: Align regulator names with schema

2020-09-03 Thread Krzysztof Kozlowski
Device tree schema expects regulator names to be lowercase. Changing to lowercase has multiple effects: 1. LDO6 supply is now properly configured, because regulator driver looks for supplies by lowercase name, 2. User-visible names via sysfs or debugfs are now lowercase, 2. dtbs_check warnings

[PATCH v2 06/14] arm64: dts: imx8mn-evk: Align pin configuration group names with schema

2020-09-03 Thread Krzysztof Kozlowski
Device tree schema expects pin configuration groups to end with 'grp' suffix, otherwise dtbs_check complain with a warning like: ... do not match any of the regexes: 'grp$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 14 +++---

[PATCH v2 08/14] arm64: dts: imx8mq-librem5-devkit: Align pin configuration group names with schema

2020-09-03 Thread Krzysztof Kozlowski
Device tree schema expects pin configuration groups to end with 'grp' suffix, otherwise dtbs_check complain with a warning like: ... do not match any of the regexes: 'grp$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- .../boot/dts/freescale/imx8mq-librem5-devkit.dts | 12 +++

[PATCH v2 14/14] ARM: dts: imx28-m28: Align GPMI NAND node name with schema

2020-09-03 Thread Krzysztof Kozlowski
Device tree schema expects NAND controller to be named "nand-controller", otherwise dtbs_check complain with a warning like: arch/arm/boot/dts/imx28-eukrea-mbmx283lc.dt.yaml: gpmi-nand@8000c000: $nodename:0: 'gpmi-nand@8000c000' does not match '^nand-controller(@.*)?' Signed-off-by:

[PATCH v2 11/14] arm64: dts: imx8mq-sr-som: Align pin configuration group names with schema

2020-09-03 Thread Krzysztof Kozlowski
Device tree schema expects pin configuration groups to end with 'grp' suffix, otherwise dtbs_check complain with a warning like: ... do not match any of the regexes: 'grp$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mq-sr-som.dtsi | 4 ++-- 1

[PATCH v2 10/14] arm64: dts: imx8mq-pico-pi: Align pin configuration group names with schema

2020-09-03 Thread Krzysztof Kozlowski
Device tree schema expects pin configuration groups to end with 'grp' suffix, otherwise dtbs_check complain with a warning like: ... do not match any of the regexes: 'grp$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dts | 12 ++-

[PATCH v2 09/14] arm64: dts: imx8mq-phanbell: Align pin configuration group names with schema

2020-09-03 Thread Krzysztof Kozlowski
Device tree schema expects pin configuration groups to end with 'grp' suffix, otherwise dtbs_check complain with a warning like: ... do not match any of the regexes: 'grp$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mq-phanbell.dts | 12 ++

[PATCH v2 12/14] arm64: dts: imx8mq-hummingboard-pulse: Align pin configuration group names with schema

2020-09-03 Thread Krzysztof Kozlowski
Device tree schema expects pin configuration groups to end with 'grp' suffix, otherwise dtbs_check complain with a warning like: ... do not match any of the regexes: 'grp$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- .../boot/dts/freescale/imx8mq-hummingboard-pulse.dts | 8

[PATCH v2 13/14] arm64: dts: imx8qxp-colibri: Align pin configuration group names with schema

2020-09-03 Thread Krzysztof Kozlowski
Device tree schema expects pin configuration groups to end with 'grp' suffix, otherwise dtbs_check complain with a warning like: ... do not match any of the regexes: 'grp$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8qxp-colibri.dtsi | 8 --

[PATCH v2 07/14] arm64: dts: imx8mq-evk: Align pin configuration group names with schema

2020-09-03 Thread Krzysztof Kozlowski
Device tree schema expects pin configuration groups to end with 'grp' suffix, otherwise dtbs_check complain with a warning like: ... do not match any of the regexes: 'grp$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 2 +- 1 file c

[PATCH v2 04/14] arm64: dts: imx8mm-ddr4-evk: Align pin configuration group names with schema

2020-09-03 Thread Krzysztof Kozlowski
Device tree schema expects pin configuration groups to end with 'grp' suffix, otherwise dtbs_check complain with a warning like: ... do not match any of the regexes: 'grp$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dts | 2 +- 1 f

[PATCH v2 02/14] arm64: dts: imx8mm-evk: Add 32.768 kHz clock to PMIC

2020-09-03 Thread Krzysztof Kozlowski
The ROHM BD71847 PMIC has a 32.768 kHz clock. Adding necessary parent allows to probe the bd718x7 clock driver fixing boot errors: bd718xx-clk bd71847-clk.1.auto: No parent clk found bd718xx-clk: probe of bd71847-clk.1.auto failed with error -22 Signed-off-by: Krzysztof Kozlowski Acked-

[PATCH v2 01/14] arm64: dts: imx8mm-beacon: Align pin configuration group names with schema

2020-09-03 Thread Krzysztof Kozlowski
Device tree schema expects pin configuration groups to end with 'grp' suffix. This fixes dtbs_check warnings like: pinctrl@3033: 'pcal6414-gpio', 'pmicirq', 'usdhc1grp100mhz', 'usdhc1grp200mhz', 'usdhc1grpgpio', 'usdhc2grp100mhz', 'usdhc2grp200mhz', 'usdhc2grpgpio', 'usdhc3grp100mhz',

Re: [PATCH v6 04/20] gpio: uapi: define uAPI v2

2020-09-03 Thread Bartosz Golaszewski
On Mon, Aug 31, 2020 at 5:21 AM Kent Gibson wrote: > > Add a new version of the uAPI to address existing 32/64-bit alignment > issues, add support for debounce and event sequence numbers, allow > requested lines with different configurations, and provide some future > proofing by adding padding re

[PATCH v1] Bluetooth: btusb: Add Qualcomm Bluetooth SoC WCN6855 support

2020-09-03 Thread Rocky Liao
This patch add support for WCN6855 i.e. patch and nvm download support. Signed-off-by: Rocky Liao --- drivers/bluetooth/btusb.c | 42 +++ 1 file changed, 38 insertions(+), 4 deletions(-) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index

[PATCH] test_power: add missing newlines when printing parameters by sysfs

2020-09-03 Thread Xiongfeng Wang
When I cat some module parameters by sysfs, it displays as follows. It's better to add a newline for easy reading. root@syzkaller:~# cd /sys/module/test_power/parameters/ root@syzkaller:/sys/module/test_power/parameters# cat ac_online onroot@syzkaller:/sys/module/test_power/parameters# cat battery

Re: linux-next: Tree for Sep 2 (lib/ubsan.c)

2020-09-03 Thread Randy Dunlap
On 9/2/20 8:44 AM, Randy Dunlap wrote: > On 9/2/20 1:09 AM, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20200828: >> > > > on i386: > > ../lib/ubsan.c: In function ‘ubsan_prologue’: > ../lib/ubsan.c:141:2: error: implicit declaration of function > ‘kunit_fail_current_test’; did you m

Re: [PATCH v2 0/3] KVM: x86: KVM_MEM_PCI_HOLE memory

2020-09-03 Thread Sean Christopherson
On Wed, Sep 02, 2020 at 10:59:20AM +0200, Vitaly Kuznetsov wrote: > Peter Xu writes: > > My whole point was more about trying to understand the problem behind. > > Providing a fast path for reading pci holes seems to be reasonable as is, > > however it's just that I'm confused on why there're so m

[PATCH RESEND] x86, fakenuma: Fix invalid starting node ID

2020-09-03 Thread Huang Ying
Commit cc9aec03e58f ("x86/numa_emulation: Introduce uniform split capability") uses "-1" as the starting node ID, which causes the strange kernel log as following, when "numa=fake=32G" is added to the kernel command line. Faking node -1 at [mem 0x-0x000893ff] (35136MB)

[PATCH] trace: Fix race in trace_open and buffer resize call

2020-09-03 Thread Gaurav Kohli
Below race can come, if trace_open and resize of cpu buffer is running parallely on different cpus CPUXCPUY ring_buffer_resize atomic_read(&buffer->resize_disabled) tracing_open tracing_reset_onl

Re: [RFC][PATCH] cpu_pm: Remove RCU abuse

2020-09-03 Thread Ulf Hansson
On Thu, 3 Sep 2020 at 17:08, wrote: > > On Thu, Sep 03, 2020 at 04:36:35PM +0200, Ulf Hansson wrote: > > On Thu, 3 Sep 2020 at 15:53, wrote: > > > static int cpu_pm_notify(enum cpu_pm_event event) > > > { > > > int ret; > > > > > > + lockdep_assert_irqs_disabled(); > > > > Nitpick

Re: [PATCH] i2c: virtio: add a virtio i2c frontend driver

2020-09-03 Thread Jie Deng
On 2020/9/3 18:20, Andy Shevchenko wrote: On Thu, Sep 03, 2020 at 01:34:45PM +0800, Jie Deng wrote: Add an I2C bus driver for virtio para-virtualization. The controller can be emulated by the backend driver in any device model software by following the virtio protocol. This driver communicat

Re: [PATCH v1 02/10] powerpc/kernel/iommu: Align size for IOMMU_PAGE_SIZE on iommu_*_coherent()

2020-09-03 Thread Leonardo Bras
On Thu, 2020-09-03 at 14:41 +1000, Alexey Kardashevskiy wrote: > I am new to this, so I am trying to understand how a memory page mapped > > as DMA, and used for something else could be a problem. > > From the device prospective, there is PCI space and everything from 0 > till 1<<64 is accessibl

Re: [PATCH] mmc: renesas_sdhi: Drop local dma_parms

2020-09-03 Thread Wolfram Sang
On Thu, Sep 03, 2020 at 10:18:06PM +0100, Robin Murphy wrote: > Since commit 9495b7e92f71 ("driver core: platform: Initialize dma_parms > for platform devices"), struct platform_device already provides a > dma_parms structure, so we can save allocating another one. > > Signed-off-by: Robin Murphy

Re: remove the last set_fs() in common code, and remove it for x86 and powerpc v3

2020-09-03 Thread Ingo Molnar
* Christoph Hellwig wrote: > Hi all, > > this series removes the last set_fs() used to force a kernel address > space for the uaccess code in the kernel read/write/splice code, and then > stops implementing the address space overrides entirely for x86 and > powerpc. Cool! For the x86 bits:

Re: [PATCH v7 0/5] Warn on orphan section placement

2020-09-03 Thread Ingo Molnar
* Nick Desaulniers wrote: > On Tue, Sep 1, 2020 at 7:53 PM Kees Cook wrote: > > > > Hi Ingo, > > > > The ever-shortening series. ;) Here is "v7", which is just the remaining > > Makefile changes to enable orphan section warnings, now updated to > > include ld-option calls. > > > > Thanks for g

Re: [PATCH v2] perf expr: Force encapsulation on expr_id_data

2020-09-03 Thread Ian Rogers
On Thu, Aug 27, 2020 at 12:00 AM kajoljain wrote: > > > > On 8/26/20 9:27 PM, Jiri Olsa wrote: > > On Wed, Aug 26, 2020 at 08:30:55AM -0700, Ian Rogers wrote: > >> This patch resolves some undefined behavior where variables in > >> expr_id_data were accessed (for debugging) without being defined.

Re: [PATCH v9 2/3] drm: bridge: Add support for Cadence MHDP8546 DPI/DP bridge

2020-09-03 Thread Tomi Valkeinen
Hi, On 04/09/2020 05:29, Laurent Pinchart wrote: >> Laurent mentioned that atomic_check should not change state. Note that >> cdns_mhdp_validate_mode_params also changes state, as it calculates tu_size, >> vs and line_thresh. > > .atomic_check() isn't allowed to change any global state, which m

Re: [PATCH v2 5/9] libperf: Add support for user space counter access

2020-09-03 Thread Ian Rogers
On Wed, Sep 2, 2020 at 12:48 PM Rob Herring wrote: > > On Wed, Sep 2, 2020 at 12:07 PM Ian Rogers wrote: > > > > On Fri, Aug 28, 2020 at 1:56 PM Rob Herring wrote: > > > > > > x86 and arm64 can both support direct access of event counters in > > > userspace. The access sequence is less than triv

Re: 回复: [PATCH v2] debugobjects: install cpu hotplug callback

2020-09-03 Thread Ingo Molnar
* Zhang, Qiang wrote: > tglx please review. > > Thanks > Qiang > > 发件人: linux-kernel-ow...@vger.kernel.org > 代表 qiang.zh...@windriver.com > 发送时间: 2020年8月27日 13:06 > 收件人: t...@linutronix.de; long...@redhat.com; el...@google.com > 抄送: linux-kernel@vger

KASAN: null-ptr-deref Read in percpu_ref_exit

2020-09-03 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:7a695657 Add linux-next specific files for 20200903 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=15ac984e90 kernel config: https://syzkaller.appspot.com/x/.config?x=39134fcec6c78e33 dashboard

Re: [PATCH 3/4] perf vendor events amd: Add recommended events

2020-09-03 Thread Ian Rogers
On Thu, Sep 3, 2020 at 11:27 AM Kim Phillips wrote: > > On 9/3/20 1:19 AM, Ian Rogers wrote: > > On Tue, Sep 1, 2020 at 3:10 PM Kim Phillips wrote: > >> The nps1_die_to_dram event may need perf stat's --metric-no-group > >> switch if the number of available data fabric counters is less > >> than

Re: [PATCH v2 03/10] mm/memory_hotplug: simplify page offlining

2020-09-03 Thread David Hildenbrand
> Am 03.09.2020 um 23:58 schrieb Andrew Morton : > > On Wed, 19 Aug 2020 19:59:50 +0200 David Hildenbrand > wrote: > >> We make sure that we cannot have any memory holes right at the beginning >> of offline_pages(). We no longer need walk_system_ram_range() and can >> call test_pages_isolat

Re: [PATCH v2 4/5] perf record: Don't clear event's period if set by a term

2020-09-03 Thread Ian Rogers
On Tue, Aug 4, 2020 at 8:50 AM Ian Rogers wrote: > > On Tue, Aug 4, 2020 at 7:49 AM Adrian Hunter wrote: > > > > On 4/08/20 4:33 pm, Ian Rogers wrote: > > > On Tue, Aug 4, 2020 at 3:08 AM Adrian Hunter > > > wrote: > > >> > > >> On 28/07/20 11:57 am, Ian Rogers wrote: > > >>> If events in a gro

Re: [PATCH v3 0/7] set clang minimum version to 10.0.1

2020-09-03 Thread Miguel Ojeda
On Thu, Sep 3, 2020 at 7:28 PM Nathan Chancellor wrote: > > I would say this should go through either Andrew or Masahiro. We do not > have a formal git tree plus I believe there are other things that need > to happen before we can push stuff to Linus. Note that a git.kernel.org repo/account isn't

Re: [PATCH v2 2/5] perf record: Prevent override of attr->sample_period for libpfm4 events

2020-09-03 Thread Ian Rogers
On Wed, Jul 29, 2020 at 4:24 PM Ian Rogers wrote: > > On Tue, Jul 28, 2020 at 9:10 AM Jiri Olsa wrote: > > > > On Tue, Jul 28, 2020 at 05:59:46PM +0200, Jiri Olsa wrote: > > > On Tue, Jul 28, 2020 at 01:57:31AM -0700, Ian Rogers wrote: > > > > From: Stephane Eranian > > > > > > > > Before: > > >

Re: [PATCH v2 1/5] perf record: Set PERF_RECORD_PERIOD if attr->freq is set.

2020-09-03 Thread Ian Rogers
On Wed, Jul 29, 2020 at 2:43 PM Ian Rogers wrote: > > On Wed, Jul 29, 2020 at 11:52 AM Arnaldo Carvalho de Melo > wrote: > > > > Em Tue, Jul 28, 2020 at 01:57:30AM -0700, Ian Rogers escreveu: > > > From: David Sharp > > > > > > evsel__config() would only set PERF_RECORD_PERIOD if it set attr->fr

Re: [PATCH] perf parse-events: Use uintptr_t when casting numbers to pointers

2020-09-03 Thread Ian Rogers
On Thu, Sep 3, 2020 at 11:44 AM Arnaldo Carvalho de Melo wrote: > > Hi Ian, > > Please check that this is ok with you, > > Thanks, > > - Arnaldo Thanks Arnaldo, this looks good to me! There is a separate issue, the casts are necessary as we have PE_VALUEs that are supposed to be numbers b

Re: [PATCH v3 1/4] arm64: smp: Introduce a new IPI as IPI_CALL_NMI_FUNC

2020-09-03 Thread Sumit Garg
On Thu, 3 Sep 2020 at 22:06, Marc Zyngier wrote: > > On 2020-09-03 13:05, Sumit Garg wrote: > > Introduce a new inter processor interrupt as IPI_CALL_NMI_FUNC that > > can be invoked to run special handlers in NMI context. One such handler > > example is kgdb_nmicallback() which is invoked in orde

Re: [PATCH] i2c: virtio: add a virtio i2c frontend driver

2020-09-03 Thread Jie Deng
On 2020/9/3 17:58, Michael S. Tsirkin wrote: On Thu, Sep 03, 2020 at 01:34:45PM +0800, Jie Deng wrote: Add an I2C bus driver for virtio para-virtualization. The controller can be emulated by the backend driver in any device model software by following the virtio protocol. This driver communi

Re: [PATCH v12 3/5] firmware: xilinx: Add RPU configuration APIs

2020-09-03 Thread Punit Agrawal
Hi Ben, Thanks for addressing the comments on the previous version. One comment below. Ben Levinsky writes: > This patch adds APIs to access to configure RPU and its > processor-specific memory. > > That is query the run-time mode of RPU as either split or lockstep as well > as API to set this

Re: [PATCH 1/4] drivers: hv: dxgkrnl: core code

2020-09-03 Thread Greg KH
On Thu, Sep 03, 2020 at 02:39:05PM -0700, Iouri Tarassov wrote: > Hi Greg, > > On 8/27/2020 11:18 PM, Greg KH wrote: > > On Thu, Aug 27, 2020 at 05:25:23PM -0700, Iouri Tarassov wrote: > > > > > +bool dxghwqueue_acquire_reference(struct dxghwqueue *hwqueue) > > > > > +{ > > > > > + return refc

Re: [PATCH 0/7] ASoC: soundwire: Move sdw stream operations to

2020-09-03 Thread Vinod Koul
On 03-09-20, 09:05, Pierre-Louis Bossart wrote: > > > On 9/3/20 5:42 AM, Vinod Koul wrote: > > On 01-09-20, 23:02, Bard Liao wrote: > > > sdw stream operation APIs can be called once per stream. dailink > > > callbacks are good places to call these APIs. > > > > Again, please mention here if thi

drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:122:19: warning: initialized field overwritten

2020-09-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 59126901f200f5fc907153468b03c64e0081b6e6 commit: af776a3e1c304bf0409106cd2306173885e415f2 drm/msm/dpu: add SM8250 to hw catalog date: 5 weeks ago config: arm64-randconfig-r013-20200904 (attached as .config

Re: Packet gets stuck in NOLOCK pfifo_fast qdisc

2020-09-03 Thread John Fastabend
Cong Wang wrote: > On Thu, Sep 3, 2020 at 1:40 AM Paolo Abeni wrote: > > > > On Wed, 2020-09-02 at 22:01 -0700, Cong Wang wrote: > > > Can you test the attached one-line fix? I think we are overthinking, > > > probably all > > > we need here is a busy wait. > > > > I think that will solve, but I a

Re: [PATCH] cpufreq,cppc: fix issue when hotplugging out policy->cpu

2020-09-03 Thread Viresh Kumar
On 03-09-20, 12:19, Ionela Voinescu wrote: > An issue is observed in the cpufreq CPPC driver when having dependency > domains (PSD) and the policy->cpu is hotplugged out. > > Considering a platform with 4 CPUs and 2 PSD domains (CPUs 0 and 1 in > PSD-1, CPUs 2 and 3 in PSD-2), cppc_cpufreq_cpu_ini

Re: [PATCH net-next RFC v3 02/14] devlink: Add reload actions counters

2020-09-03 Thread Moshe Shemesh
On 9/2/2020 3:01 AM, Jakub Kicinski wrote: External email: Use caution opening links or attachments On Tue, 1 Sep 2020 22:05:36 +0300 Moshe Shemesh wrote: +void devlink_reload_actions_cnts_update(struct devlink *devlink, unsigned long actions_done) +{ + int action; + + for (action = 0; ac

Re: [PATCH] mm: workingset: ignore slab memory size when calculating shadows pressure

2020-09-03 Thread Roman Gushchin
On Thu, Sep 03, 2020 at 09:10:59PM -0700, Andrew Morton wrote: > On Thu, 3 Sep 2020 16:00:55 -0700 Roman Gushchin wrote: > > > In the memcg case count_shadow_nodes() sums the number of pages in lru > > lists and the amount of slab memory (reclaimable and non-reclaimable) > > as a baseline for the

Re: [PATCH v2 2/3] soundwire: SDCA: add helper macro to access controls

2020-09-03 Thread Vinod Koul
On 01-09-20, 11:22, Pierre-Louis Bossart wrote: > The upcoming SDCA (SoundWire Device Class Audio) specification defines > a hierarchical encoding to interface with Class-defined capabilities. > > The specification is not yet accessible to the general public but this > information is released with

Re: [PATCH 0/2] add support for Hisilicon SD5203 vector interrupt controller

2020-09-03 Thread Leizhen (ThunderTown)
On 2020/9/4 0:46, Marc Zyngier wrote: > On 2020-09-03 13:05, Zhen Lei wrote: >> The interrupt controller of SD5203 SoC is VIC(vector interrupt controller), >> it's >> based on Synopsys DesignWare APB interrupt controller (dw_apb_ictl) IP, but >> it >> can not directly use dw_apb_ictl driver. T

Re: [PATCH v2 00/28] Add support for Clang LTO

2020-09-03 Thread Nathan Chancellor
On Thu, Sep 03, 2020 at 04:34:09PM -0700, Kees Cook wrote: > On Thu, Sep 03, 2020 at 01:30:25PM -0700, Sami Tolvanen wrote: > > This patch series adds support for building x86_64 and arm64 kernels > > with Clang's Link Time Optimization (LTO). > > Tested-by: Kees Cook Tested-by: Nathan Chancello

Re: [PATCH v5 3/3] arm64: Add IMA kexec buffer to DTB

2020-09-03 Thread Lakshmi Ramasubramanian
On 9/3/20 3:11 PM, Thiago Jung Bauermann wrote: Lakshmi Ramasubramanian writes: The address and size of the current kernel's IMA measurement log need to be added to the device tree's IMA kexec buffer node for the log to be carried over to the next kernel on the kexec call. Add the IMA measur

Re: [PATCH 12/14] x86: remove address space overrides using set_fs()

2020-09-03 Thread Al Viro
On Fri, Sep 04, 2020 at 03:55:10AM +0100, Al Viro wrote: > On Thu, Sep 03, 2020 at 04:22:40PM +0200, Christoph Hellwig wrote: > > > diff --git a/arch/x86/lib/getuser.S b/arch/x86/lib/getuser.S > > index c8a85b512796e1..94f7be4971ed04 100644 > > --- a/arch/x86/lib/getuser.S > > +++ b/arch/x86/lib/g

[PATCH] drm: xlnx: fix build warning & errors when DMADEVICES is not set

2020-09-03 Thread Randy Dunlap
&& OF [=y] Reported-by: kernel test robot Signed-off-by: Randy Dunlap Cc: Hyun Kwon Cc: Laurent Pinchart Cc: dri-de...@lists.freedesktop.org --- drivers/gpu/drm/xlnx/Kconfig |1 + 1 file changed, 1 insertion(+) --- linux-next-20200903.orig/drivers/gpu/drm/xlnx/Kconfig +++ linu

Re: [PATCH v2 07/17] virt: acrn: Introduce an ioctl to set vCPU registers state

2020-09-03 Thread Liu, Shuo A
Hi Greg, On 9/3/2020 21:03, Greg Kroah-Hartman wrote: > On Thu, Sep 03, 2020 at 08:41:51PM +0800, shuo.a@intel.com wrote: >> From: Shuo Liu >> >> A virtual CPU of User VM has different context due to the different >> registers state. ACRN userspace needs to set the virtual CPU >> registers st

Re: [PATCH v5 0/5] cpufreq: improve frequency invariance support

2020-09-03 Thread Viresh Kumar
On 03-09-20, 14:32, Ionela Voinescu wrote: > Hi Rafael, Viresh, > > Would it be okay for you to apply this series, as the majority of > changes are in cpufreq? For arch_topology and arm64 changes, they have > been reviewed and acked-by Catalin and Sudeep. > > Also, please let me know if I should

Re: [PATCH v2 06/17] virt: acrn: Introduce VM management interfaces

2020-09-03 Thread Liu, Shuo A
Hi Greg, On 9/3/2020 21:02, Greg Kroah-Hartman wrote: > On Thu, Sep 03, 2020 at 08:41:50PM +0800, shuo.a@intel.com wrote: >> From: Shuo Liu >> >> The VM management interfaces expose several VM operations to ACRN >> userspace via ioctls. For example, creating VM, starting VM, destroying >> VM

Re: [PATCH] Documentation: kunit: Add naming guidelines

2020-09-03 Thread David Gow
On Tue, Sep 1, 2020 at 8:23 PM Marco Elver wrote: > > On Tue, 1 Sep 2020 at 07:31, David Gow wrote: > > On Tue, Sep 1, 2020 at 7:47 AM Kees Cook wrote: > > > On Fri, Aug 28, 2020 at 12:17:05AM +0800, David Gow wrote: > > > > On Thu, Aug 27, 2020 at 9:14 PM Marco Elver wrote: > [...] > > > > I g

drivers/gpu/drm/msm/msm_drv.c:123:15: warning: no previous prototype for '_msm_ioremap'

2020-09-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 59126901f200f5fc907153468b03c64e0081b6e6 commit: 62a35e81c2c1bae04fdefde56f2a92dd3e56164d drm/msm: Quiet error during failure in optional resource mappings. date: 5 weeks ago config: arm64-randconfig-r013-

Re: [PATCH v11 3/5] arm64: kdump: reimplement crashkernel=X

2020-09-03 Thread Dave Young
On 09/04/20 at 12:02pm, chenzhou wrote: > > > On 2020/9/4 11:10, Dave Young wrote: > > On 09/04/20 at 11:04am, Dave Young wrote: > >> On 09/03/20 at 07:26pm, chenzhou wrote: > >>> Hi Catalin, > >>> > >>> > >>> On 2020/9/3 1:09, Catalin Marinas wrote: > On Sat, Aug 01, 2020 at 09:08:54PM +080

Re: [PATCH] mm: workingset: ignore slab memory size when calculating shadows pressure

2020-09-03 Thread Andrew Morton
On Thu, 3 Sep 2020 16:00:55 -0700 Roman Gushchin wrote: > In the memcg case count_shadow_nodes() sums the number of pages in lru > lists and the amount of slab memory (reclaimable and non-reclaimable) > as a baseline for the allowed number of shadow entries. > > It seems to be a good analogy for

Re: [PATCH] i2c: virtio: add a virtio i2c frontend driver

2020-09-03 Thread Jason Wang
On 2020/9/3 下午1:34, Jie Deng wrote: Add an I2C bus driver for virtio para-virtualization. The controller can be emulated by the backend driver in any device model software by following the virtio protocol. This driver communicates with the backend driver through a virtio I2C message structure

Re: [PATCH tip/core/rcu 05/13] rcu: Always set .need_qs from __rcu_read_lock() for strict GPs

2020-09-03 Thread Boqun Feng
Hi Paul, On Mon, Aug 31, 2020 at 11:11:12AM -0700, paul...@kernel.org wrote: > From: "Paul E. McKenney" > > The ->rcu_read_unlock_special.b.need_qs field in the task_struct > structure indicates that the RCU core needs a quiscent state from the > corresponding task. The __rcu_read_unlock() func

Re: [PATCH v11 3/5] arm64: kdump: reimplement crashkernel=X

2020-09-03 Thread chenzhou
On 2020/9/4 11:10, Dave Young wrote: > On 09/04/20 at 11:04am, Dave Young wrote: >> On 09/03/20 at 07:26pm, chenzhou wrote: >>> Hi Catalin, >>> >>> >>> On 2020/9/3 1:09, Catalin Marinas wrote: On Sat, Aug 01, 2020 at 09:08:54PM +0800, Chen Zhou wrote: > There are following issues in arm

Re: [PATCH] perf metric: Fix some memory leaks

2020-09-03 Thread Ian Rogers
On Thu, Sep 3, 2020 at 8:21 PM Namhyung Kim wrote: > > I found some memory leaks while reading the metric code. Some are > real and others only occur in the error path. Thanks Namhyung! Is it possible to get test coverage? Ian > Cc: Kajol Jain > Cc: John Garry > Cc: Ian Rogers > Fixes: 9afe5

Re: [PATCH net-next] net: dsa: bcm_sf2: Ensure that MDIO diversion is used

2020-09-03 Thread Florian Fainelli
On 9/3/2020 3:03 PM, Andrew Lunn wrote: The firmware provides the Device Tree but here is the relevant section for you pasted below. The problematic device is a particular revision of the silicon (D0) which got later fixed (E0) however the Device Tree was created after the fixed platform, not

Re: [PATCH] ext4: flag as supporting buffered async reads

2020-09-03 Thread Theodore Y. Ts'o
Hi Jens, Sorry, the past few months have been *crazy* insane. Between Linux Plumbers Conference organizing, having to deal with some interns at $WORK, performance reviews, etc.., etc., it's been a perfect storm. As a result, I was late getting the primary ext4 pull request to Linus, and he's alre

Re: [PATCH v2 01/11] usb: gadget: bdc: fix improper SPDX comment style for header file

2020-09-03 Thread Florian Fainelli
On 9/3/2020 8:17 PM, Chunfeng Yun wrote: Hi Florian, On Thu, 2020-08-20 at 19:30 +0800, Chunfeng Yun wrote: For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used). Cc: Florian Fainelli Signed-off-by: Ch

Re: [PATCH v2 11/11] usb: gadget: bdc: fix checkpatch.pl repeated word warning

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: fix the warning: WARNING:REPEATED_WORD: Possible repeated word: 'and' Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli -- Florian

[git pull] drm fixes for 5.9-rc4

2020-09-03 Thread Dave Airlie
Hi Linus, Not much going on this week, nouveau has a display hw bug workaround, amdgpu has some PM fixes and CIK regression fixes, one single radeon PLL fix, and a couple of i915 display fixes. Dave. drm-fixes-2020-09-04: drm fixes for 5.9-rc4 amdgpu: - Fix for 32bit systems - SW CTF fix - Upda

Re: [PATCH v2 10/11] usb: gadget: bdc: fix checkpatch.pl spacing error

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: fix checkpatch.pl error: ERROR:SPACING: space prohibited before that ',' Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2 08/11] usb: gadget: bdc: use the BIT macro to define bit filed

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: Prefer using the BIT macro to define bit fileds Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2 09/11] usb: gadget: bdc: fix checkpatch.pl tab warning

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements WARNING:TABSTOP: Statements should start on a tabstop Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2 07/11] usb: gadget: bdc: avoid precedence issues

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: Add () around macro argument to avoid precedence issues Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2 05/11] usb: gadget: bdc: fix check warning of block comments alignment

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: fix the warning: WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2 06/11] usb: gadget: bdc: add identifier name for function declaraion

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: This is used to avoid the warning of function arguments, e.g. WARNING:FUNCTION_ARGUMENTS: function definition argument 'u32' should also have an identifier name Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli --

Re: [PATCH v2 03/11] usb: gadget: bdc: prefer pointer dereference to pointer type

2020-09-03 Thread Florian Fainelli
On 8/20/2020 4:30 AM, Chunfeng Yun wrote: Prefer kzalloc(sizeof(*bd_table)...) over kzalloc(sizeof(struct bd_table) Cc: Florian Fainelli Signed-off-by: Chunfeng Yun Acked-by: Florian Fainelli -- Florian

  1   2   3   4   5   6   7   8   9   10   >