Re: [PATCH v33 12/12] LRNG - add power-on and runtime self-tests

2020-08-23 Thread kernel test robot
Hi "Stephan, Thank you for the patch! Yet something to improve: [auto build test ERROR on char-misc/char-misc-testing] [also build test ERROR on cryptodev/master crypto/master v5.9-rc1 next-20200821] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch

Re: [PATCH 2/2] media: uvcvideo: Convey full ycbcr colorspace information to v4l2

2020-08-23 Thread Laurent Pinchart
Hi Adam, (CC'ing Hans Verkuil) On Sun, Aug 23, 2020 at 05:54:24PM +0300, Laurent Pinchart wrote: > Hi Adam, > > Thank you for the patch. > > On Sat, Aug 22, 2020 at 09:21:34PM -0400, Adam Goode wrote: > > The Color Matching Descriptor has been present in USB cameras since > > the original versi

Re: [PATCH] drm/brige/megachips: Add checking if ge_b850v3_lvds_init() is working correctly

2020-08-23 Thread Sam Ravnborg
Hi Nadezda On Wed, Aug 19, 2020 at 05:37:56PM +0300, Nadezda Lutovinova wrote: > If ge_b850v3_lvds_init() does not allocate memory for ge_b850v3_lvds_ptr, > then a null pointer dereference is accessed. > > The patch adds checking of the return value of ge_b850v3_lvds_init(). > > Found by Linux D

[PATCH] ntfs: add check for mft record size in superblock

2020-08-23 Thread Rustam Kovhaev
number of bytes allocated for mft record should be equal to the mft record size stored in ntfs superblock as reported by syzbot, userspace might trigger out-of-bounds read by dereferencing ctx->attr in ntfs_attr_find() Reported-and-tested-by: syzbot+aed06913f36eff9b5...@syzkaller.appspotmail.com L

Re: [PATCH] hugetlb_cgroup: convert comma to semicolon

2020-08-23 Thread Matthew Wilcox
On Wed, Aug 19, 2020 at 10:14:11AM +0200, Giuseppe Scrivano wrote: > >> - cft->file_offset = offsetof(struct hugetlb_cgroup, events_file[idx]), > >> + cft->file_offset = offsetof(struct hugetlb_cgroup, events_file[idx]); > >>cft->flags = CFTYPE_NOT_ON_ROOT; > > I think in this case having tw

Re: [PATCH V2 1/7] dt-bindings: PCI: qcom: Add ipq8074 Gen3 PCIe compatible

2020-08-23 Thread Vinod Koul
On 29-07-20, 21:00, Sivaprakash Murugesan wrote: > ipq8074 has two PCIe ports while the support for Gen2 PCIe port is > already available add the support for Gen3 binding. > > Co-developed-by: Selvam Sathappan Periakaruppan > Signed-off-by: Selvam Sathappan Periakaruppan > Reviewed-by: Rob Herri

Re: [PATCH V2 4/7] phy: qcom-qmp: Add compatible for ipq8074 PCIe Gen3 qmp phy

2020-08-23 Thread Vinod Koul
Hi Sivaprakash, On 29-07-20, 21:00, Sivaprakash Murugesan wrote: > ipq8074 has two PCIe ports, One Gen2 and one Gen3 ports. > Since support for Gen2 phy is already available, add support for > PCIe Gen3 phy. > > Co-developed-by: Selvam Sathappan Periakaruppan > Signed-off-by: Selvam Sathappan Pe

Re: [PATCH V2 5/7] PCI: qcom: Do PHY power on before PCIe init

2020-08-23 Thread Vinod Koul
On 29-07-20, 21:00, Sivaprakash Murugesan wrote: > Commit cc1e06f033af ("phy: qcom: qmp: Use power_on/off ops for PCIe") > changed phy ops from init/deinit to power on/off, due to this phy enable > is getting called after PCIe init. > > On some platforms like ipq8074 phy should be inited before ac

Re: [PATCH V2 3/7] phy: qcom-qmp: Use correct values for ipq8074 PCIe Gen2 PHY init

2020-08-23 Thread Vinod Koul
On 29-07-20, 21:00, Sivaprakash Murugesan wrote: > There were some problem in ipq8074 Gen2 PCIe phy init sequence. > > 1. Few register values were wrongly updated in the phy init sequence. > 2. The register QSERDES_RX_SIGDET_CNTRL is a RX tuning parameter >register which is added in serdes tab

Re: [PATCH] hugetlb_cgroup: convert comma to semicolon

2020-08-23 Thread Matthew Wilcox
On Sun, Aug 23, 2020 at 04:21:30PM +0100, Matthew Wilcox wrote: > On Wed, Aug 19, 2020 at 10:14:11AM +0200, Giuseppe Scrivano wrote: > > >> -cft->file_offset = offsetof(struct hugetlb_cgroup, > > >> events_file[idx]), > > >> +cft->file_offset = offsetof(struct hugetlb_cgroup, > >

Re: [PATCH] hugetlb_cgroup: convert comma to semicolon

2020-08-23 Thread Joe Perches
On Sun, 2020-08-23 at 16:21 +0100, Matthew Wilcox wrote: > On Wed, Aug 19, 2020 at 10:14:11AM +0200, Giuseppe Scrivano wrote: > > > > - cft->file_offset = offsetof(struct hugetlb_cgroup, > > > > events_file[idx]), > > > > + cft->file_offset = offsetof(struct hugetlb_cgroup, > > > > ev

Re: [RESEND PATCH v8 2/2] phy: Add USB3 PHY support for Intel LGM SoC

2020-08-23 Thread Vinod Koul
On 17-08-20, 15:05, Ramuthevar,Vadivel MuruganX wrote: > From: Ramuthevar Vadivel Murugan > > Add support for USB PHY on Intel LGM SoC. > > Signed-off-by: Ramuthevar Vadivel Murugan > > Reviewed-by: Philipp Zabel > --- > drivers/phy/Kconfig | 11 ++ > drivers/phy/Makefile | 1 +

Re: [PATCH -next] phy: ti: j721e-wiz: Remove duplicate include

2020-08-23 Thread Vinod Koul
On 18-08-20, 19:47, YueHaibing wrote: > Remove duplicate include file Applied, thanks > > Signed-off-by: YueHaibing > --- > drivers/phy/ti/phy-j721e-wiz.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/phy/ti/phy-j721e-wiz.c b/drivers/phy/ti/phy-j721e-wiz.c > index 33c4cf0105

Re: [PATCH v5] phy: omap-usb2-phy: disable PHY charger detect

2020-08-23 Thread Vinod Koul
On 21-08-20, 11:03, Roger Quadros wrote: > AM654x PG1.0 has a silicon bug that D+ is pulled high after POR, which > could cause enumeration failure with some USB hubs. Disabling the > USB2_PHY Charger Detect function will put D+ into the normal state. > > This addresses Silicon Errata: > i2075 -

[PATCH 01/22] dt-bindings: gpio: fsl-imx-gpio: Add i.MX 8 compatibles

2020-08-23 Thread Krzysztof Kozlowski
DTSes with new i.MX 8 SoCs introduce their own compatibles so add them to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: gpio@3020: compatible:0: 'fsl,imx8mm-gpio' is not one of ['fsl,imx1-gpio', 'fsl,imx21-gpio', 'fsl,imx31-gpio', 'fsl,imx35-gpio', 'fsl

[PATCH 03/22] dt-bindings: gpio: fsl-imx-gpio: Add parsing of hogs

2020-08-23 Thread Krzysztof Kozlowski
Allow parsing GPIO controller children nodes with GPIO hogs to fix warning: arch/arm64/boot/dts/freescale/imx8mq-evk.dt.yaml: gpio@3024: 'wl-reg-on' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml Signed-off-by:

[PATCH 02/22] dt-bindings: gpio: fsl-imx-gpio: Add gpio-ranges property

2020-08-23 Thread Krzysztof Kozlowski
The GPIO controller node can have gpio-ranges property. This fixes dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: gpio@3020: 'gpio-ranges' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/gpio/fsl-imx-gpio.y

[PATCH 06/22] dt-bindings: pwm: imx-pwm: Add i.MX 8M compatibles

2020-08-23 Thread Krzysztof Kozlowski
DTSes with new i.MX 8M SoCs introduce their own compatibles so add them to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: pwm@3066: compatible:0: 'fsl,imx8mm-pwm' is not one of ['fsl,imx1-pwm', 'fsl,imx27-pwm'] From schema: Documentation/devicetree/b

[PATCH 04/22] dt-bindings: gpio: fsl-imx-gpio: Add power-domains

2020-08-23 Thread Krzysztof Kozlowski
Parse also optional power-domains property to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dt.yaml: gpio@5d08: 'power-domains' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/gpio/fsl-imx-gpio.yaml Signed-o

[PATCH 07/22] dt-bindings: serial: fsl-imx-uart: imx-pwm: Add i.MX 8M compatibles

2020-08-23 Thread Krzysztof Kozlowski
DTSes with new i.MX 8M SoCs introduce their own compatibles so add them to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: pwm@3066: compatible:0: 'fsl,imx8mm-pwm' is not one of ['fsl,imx1-pwm', 'fsl,imx27-pwm'] From schema: Documentation/devicetree/b

[PATCH 10/22] dt-bindings: reset: fsl,imx7-src: Add i.MX 8M compatibles

2020-08-23 Thread Krzysztof Kozlowski
DTSes with new i.MX 8M SoCs introduce their own compatibles so add them to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: reset-controller@3039: compatible:0: 'fsl,imx8mm-src' is not one of ['fsl,imx7d-src', 'fsl,imx8mq-src', 'fsl,imx8mp-src'] From s

[PATCH 11/22] dt-bindings: thermal: imx8mm-thermal: Add i.MX 8M Nano compatible

2020-08-23 Thread Krzysztof Kozlowski
DTSes with new i.MX 8M SoCs introduce their own compatibles so add them to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: tmu@3026: compatible:0: 'fsl,imx8mn-tmu' is not one of ['fsl,imx8mm-tmu', 'fsl,imx8mp-tmu'] From schema: Documentation/devicetre

[PATCH 05/22] dt-bindings: perf: fsl-imx-ddr: Add i.MX 8M compatibles

2020-08-23 Thread Krzysztof Kozlowski
DTSes with new i.MX 8M SoCs introduce their own compatibles so add them to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: ddr-pmu@3d80: compatible:0: 'fsl,imx8mm-ddr-pmu' is not one of ['fsl,imx8-ddr-pmu', 'fsl,imx8m-ddr-pmu', 'fsl,imx8mp-ddr-pmu'] F

[PATCH 22/22] arm64: dts: imx8mp: Remove i.MX7 compatible from DDR PMU

2020-08-23 Thread Krzysztof Kozlowski
The DDR PMU on i.MX 8MP has its own compatible described in bindings and used in the driver (with its own quirks). Remove additional fsl,imx8m-ddr-pmu compatible to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mq-nitrogen.dt.yaml: ddr-pmu@3d80: compatible: ['fsl,imx8m

[PATCH 18/22] arm64: dts: imx8mq-zii-ultra: Add hog suffixes to GPIO hogs

2020-08-23 Thread Krzysztof Kozlowski
According to device tree specification, device node names should be somewhat generic and reflecting the function of the device so add the "hog" suffixes to all GPIO hog nodes. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi | 8 1 file changed,

[PATCH 17/22] arm64: dts: imx8mq-evk: Add hog suffix to wl-reg-on

2020-08-23 Thread Krzysztof Kozlowski
According to device tree specification, device node names should be somewhat generic and reflecting the function of the device so add the "hog" suffix to wl-reg-on GPIO hog. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 2 +- 1 file changed, 1 insertion(+)

[PATCH 16/22] dt-bindings: interrupt-controller: fsl,irqsteer: Fix compatible matching

2020-08-23 Thread Krzysztof Kozlowski
The i.MX 8M DTSes use two compatibles so update the binding to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mq-thor96.dt.yaml: interrupt-controller@32e2d000: compatible: ['fsl,imx8m-irqsteer', 'fsl,imx-irqsteer'] is too long From schema: Domentation/devicetree/bindin

[PATCH 15/22] dt-bindings: arm: fsl: Add ZII Ultra boards binding

2020-08-23 Thread Krzysztof Kozlowski
Document the binding for Zodiac Inflight Innovations Ultra Boards. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/fsl.yaml | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings

[PATCH 19/22] arm64: dts: imx8mm: Remove i.MX7 compatible from USDHC

2020-08-23 Thread Krzysztof Kozlowski
The USDHC on i.MX 8M Mini has its own compatible described in bindings and used in the driver (with its own quirks). Remove additional fsl,imx7d-usdhc compatible to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: mmc@30b4: compatible: ['fsl,imx8mm-usdhc', 'f

[PATCH 21/22] arm64: dts: imx8qxp: Remove i.MX7 compatible from USDHC

2020-08-23 Thread Krzysztof Kozlowski
The USDHC on i.MX 8QXP has its own compatible described in bindings and used in the driver (with its own quirks). Remove additional fsl,imx7d-usdhc compatible to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dt.yaml: mmc@5b01: compatible: ['fsl,imx8qxp-usdhc'

[PATCH 20/22] arm64: dts: imx8qxp: Remove i.MX7 compatible from UART

2020-08-23 Thread Krzysztof Kozlowski
The UART on i.MX 8QXP has its own compatible described in bindings and used in the driver (with its own quirks). Remove additional fsl,imx7ulp-lpuart compatible to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml: serial@5a06: compatible: ['fsl,imx8qxp-lpu

[PATCH 12/22] dt-bindings: mmc: fsl-imx-esdhc: Fix i.MX 8M compatible matching

2020-08-23 Thread Krzysztof Kozlowski
The i.MX 8M DTSes use two compatibles so update the binding to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: mmc@30b4: compatible: ['fsl,imx8mn-usdhc', 'fsl,imx7d-usdhc'] is too long From schema: Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.ya

[PATCH 14/22] dt-bindings: arm: fsl: Fix Toradex Colibri i.MX 8 binding

2020-08-23 Thread Krzysztof Kozlowski
The Toradex Colibri i.MX 8 Evaluation board has two Toradex compatibles so it needs separate entry. This fixes dtbs_check warning: arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dt.yaml: /: compatible: ['toradex,colibri-imx8x-eval-v3', 'toradex,colibri-imx8x', 'fsl,imx8qxp'] is not

[PATCH 13/22] dt-bindings: nvmem: imx-ocotp: Update i.MX 8M compatibles

2020-08-23 Thread Krzysztof Kozlowski
DTSes with new i.MX 8M SoCs use two compatibles so update the binding to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mn-evk.dt.yaml: efuse@3035: compatible:1: 'syscon' was expected From schema: Documentation/devicetree/bindings/nvmem/imx-ocotp.yaml arch/arm64/boot

[PATCH 09/22] dt-bindings: mtd: gpmi-nand: Add i.MX 8M compatibles

2020-08-23 Thread Krzysztof Kozlowski
DTSes with new i.MX 8M SoCs introduce their own compatibles so add them to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mm-evk.dt.yaml: nand-controller@33002000: compatible:0: 'fsl,imx8mm-gpmi-nand' is not one of ['fsl,imx23-gpmi-nand', 'fsl,imx28-gpmi-nand', 'fsl,imx6q-g

[PATCH 08/22] dt-bindings: watchdog: fsl-imx-wdt: Add i.MX 8M compatibles

2020-08-23 Thread Krzysztof Kozlowski
DTSes with new i.MX 8M SoCs introduce their own compatibles so add them to fix dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mm-var-som-symphony.dt.yaml: watchdog@3028: compatible:0: 'fsl,imx8mm-wdt' is not one of ['fsl,imx21-wdt'] From schema: Documentation/devicetree

Re: [REGRESSION] omapdrm/N900 display broken

2020-08-23 Thread Aaro Koskinen
Hi, On Tue, Aug 04, 2020 at 03:39:37PM +0300, Tomi Valkeinen wrote: > On 04/08/2020 15:13, Tomi Valkeinen wrote: > > Can you try to pinpoint a bit where the hang happens? Maybe add > > DRM/omapdrm debug prints, or perhaps sysrq works and it shows a lock > > that's in deadlock. > > Also, one data

Re: [PATCH RFC 2/2] ARM: dts: imx: add devicetree for Tolino Shine 2 HD

2020-08-23 Thread Andreas Kemnade
On Sun, 23 Aug 2020 09:42:31 +0800 Shawn Guo wrote: > On Sat, Aug 15, 2020 at 09:33:36PM +0200, Andreas Kemnade wrote: > > This adds a devicetree for the Tolino Shine 2 HD Ebook reader. It is based > > on boards marked with "37NB-E60QF0+4A2". It is equipped with an i.MX6SL > > SoC. > > > > Expec

Re: [PATCH] drm/bridge/tc358775: Fix for PTR_ERR

2020-08-23 Thread Vinay Simha B N
Thanks Sam. On Sun, Aug 23, 2020 at 8:35 PM Sam Ravnborg wrote: > > On Sun, Aug 16, 2020 at 11:20:41AM +0530, Vinay Simha BN wrote: > > passing zero to 'PTR_ERR' > > > > Reported-by: kernel test robot > > Signed-off-by: Vinay Simha BN > > Applied to drm-misc-next - thanks. > > Sam > > >

Re: [PATCH v2] x86/hotplug: Silence APIC only after all irq's are migrated

2020-08-23 Thread Raj, Ashok
Hi Thomas, I was wondering if you got a chance to take a look at this fix? I had some mail issues recently and they showed up at lore after 2 days. I wasn't sure if you got the original mail, or maybe it didn't make it. If you had a different way to fix it, we can try those out. On Thu, Aug

[PATCH bpf-next v9 4/7] bpf: Split bpf_local_storage to bpf_sk_storage

2020-08-23 Thread KP Singh
From: KP Singh A purely mechanical change: bpf_sk_storage.c = bpf_sk_storage.c + bpf_local_storage.c bpf_sk_storage.h = bpf_sk_storage.h + bpf_local_storage.h Signed-off-by: KP Singh --- include/linux/bpf_local_storage.h | 163 include/net/bpf_sk_storage.h | 61

[PATCH bpf-next v9 6/7] bpf: Allow local storage to be used from LSM programs

2020-08-23 Thread KP Singh
From: KP Singh Adds support for both bpf_{sk, inode}_storage_{get, delete} to be used in LSM programs. These helpers are not used for tracing programs (currently) as their usage is tied to the life-cycle of the object and should only be used where the owning object won't be freed (when the owning

[PATCH bpf-next v9 0/7] Generalizing bpf_local_storage

2020-08-23 Thread KP Singh
From: KP Singh # v8 -> v9 - Fixed reference count logic for files for inode maps. - Other fixes suggested by Martin - Rebase # v7 -> v8 - Fixed an issue with BTF IDs for helpers and added bpf_<>_storage_delete to selftests to catch this issue. - Update comments about refcounts and grabbed a

[PATCH bpf-next v9 3/7] bpf: Generalize bpf_sk_storage

2020-08-23 Thread KP Singh
From: KP Singh Refactor the functionality in bpf_sk_storage.c so that concept of storage linked to kernel objects can be extended to other objects like inode, task_struct etc. Each new local storage will still be a separate map and provide its own set of helpers. This allows for future object sp

[PATCH bpf-next v9 5/7] bpf: Implement bpf_local_storage for inodes

2020-08-23 Thread KP Singh
From: KP Singh Similar to bpf_local_storage for sockets, add local storage for inodes. The life-cycle of storage is managed with the life-cycle of the inode. i.e. the storage is destroyed along with the owning inode. The BPF LSM allocates an __rcu pointer to the bpf_local_storage in the security

[PATCH bpf-next v9 1/7] bpf: Renames in preparation for bpf_local_storage

2020-08-23 Thread KP Singh
From: KP Singh A purely mechanical change to split the renaming from the actual generalization. Flags/consts: SK_STORAGE_CREATE_FLAG_MASK BPF_LOCAL_STORAGE_CREATE_FLAG_MASK BPF_SK_STORAGE_CACHE_SIZE BPF_LOCAL_STORAGE_CACHE_SIZE MAX_VALUE_SIZEBPF_LOCAL_STORAGE_MAX_VAL

[PATCH bpf-next v9 7/7] bpf: Add selftests for local_storage

2020-08-23 Thread KP Singh
From: KP Singh inode_local_storage: * Hook to the file_open and inode_unlink LSM hooks. * Create and unlink a temporary file. * Store some information in the inode's bpf_local_storage during file_open. * Verify that this information exists when the file is unlinked. sk_local_storage: * Hook

[PATCH bpf-next v9 2/7] bpf: Generalize caching for sk_storage.

2020-08-23 Thread KP Singh
From: KP Singh Provide the a ability to define local storage caches on a per-object type basis. The caches and caching indices for different objects should not be inter-mixed as suggested in: https://lore.kernel.org/bpf/20200630193441.kdwnkestulg5e...@kafai-mbp.dhcp.thefacebook.com/ "Cachi

[PATCH 1/5] dt-bindings: arm: fsl: Add Beacon i.MX8M Mini Development Kit binding

2020-08-23 Thread Krzysztof Kozlowski
Document the binding for Beacon EmbeddedWorks i.MX8M Mini Development Kit board. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bi

[PATCH 2/5] arm64: dts: imx8mm-beacon-kit: Add missing build through Makefile

2020-08-23 Thread Krzysztof Kozlowski
Add missing imx8mm-beacon-kit.dts object in Makefile so it will be build when building dtbs. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/M

[PATCH 4/5] arm64: dts: imx8mm-beacon-som: Fix atmel,24c64 EEPROM compatible

2020-08-23 Thread Krzysztof Kozlowski
Correct the EEPROM node compatible to match device tree schema (invalid space, unknown ID) to fix dtbs_check warnings: arch/arm64/boot/dts/freescale/imx8mm-beacon-kit.dt.yaml: eeprom@50: compatible: ['microchip, at24c64d', 'atmel,24c64'] is not valid under any of the given schemas arch/ar

[PATCH 5/5] arm64: dts: imx8mm-evk: Align regulator names with schema

2020-08-23 Thread Krzysztof Kozlowski
Device tree schema expects regulator names to be lowercase. This fixes dtbs_check warnings like: pmic@4b: regulators:LDO1:regulator-name:0: 'LDO1' does not match '^ldo[1-6]$' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 22 ++-- 1 f

[PATCH 3/5] arm64: dts: imx8mm-beacon-som: Align regulator names with schema

2020-08-23 Thread Krzysztof Kozlowski
Device tree schema expects regulator names to be lowercase. This fixes dtbs_check warnings like: pmic@4b: regulators:LDO1:regulator-name:0: 'LDO1' does not match '^ldo[1-6]$' Signed-off-by: Krzysztof Kozlowski --- .../boot/dts/freescale/imx8mm-beacon-som.dtsi | 22 +-- 1 f

[PATCH] blk-mq: use BLK_MQ_NO_TAG for no tag

2020-08-23 Thread Xianting Tian
Replace various magic -1 constants for tags with BLK_MQ_NO_TAG. Signed-off-by: Xianting Tian --- block/blk-core.c | 4 ++-- block/blk-mq-sched.c | 2 +- include/linux/blk-mq.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/block/blk-core.c b/block/blk-core.c index

Re: [PATCH v1] perf_event_open.2: update the man page with CAP_PERFMON related information

2020-08-23 Thread Michael Kerrisk (man-pages)
Hello Alexey, Could you look at the question below and update the patch. On 2/17/20 9:18 AM, Alexey Budankov wrote: Extend perf_event_open 2 man page with the information about CAP_PERFMON capability designed to secure performance monitoring and observability operation in a system according to

Re: kernel BUG at kernel/fork.c:LINE!

2020-08-23 Thread Randy Dunlap
On 8/7/20 2:16 PM, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit:fffe3ae0 Merge tag 'for-linus-hmm' of git://git.kernel.org.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1194d90a90 > kernel config: https://syzka

Re: [PATCH v1 5/6] dt-bindings: mfd: ene-kb3930: Document power-supplies and monitored-battery properties

2020-08-23 Thread Lubomir Rintel
Hi, On Sun, Aug 23, 2020 at 05:08:45PM +0300, Dmitry Osipenko wrote: > Battery could be connected to the controller and in this case controller > will provide a battery-monitor function. > > The power-supplies phandle property is needed in order to describe the > power supply which is used for ch

[likely PATCH] media: lmedm04: Fix misuse of comma

2020-08-23 Thread Joe Perches
There's a comma used instead of a semicolon that causes multiple statements to be executed after an if instead of just the intended single statement. Replace the comma with a semicolon. Signed-off-by: Joe Perches --- Untested, but really likely to be a defect given the indentation. Found using

Re: [PATCH v1 1/6] mfd: Add driver for Embedded Controller found on Acer Iconia Tab A500

2020-08-23 Thread Lubomir Rintel
Hello, On Sun, Aug 23, 2020 at 05:08:41PM +0300, Dmitry Osipenko wrote: > Acer Iconia Tab A500 is an Android tablet device, it has ENE KB930 > Embedded Controller which provides battery-gauge, LED, GPIO and some > other functions. The EC uses firmware that is specifically customized > for Acer A50

Re: [GIT pull] perf/urgent for v5.9-rc2

2020-08-23 Thread Linus Torvalds
On Sun, Aug 23, 2020 at 1:26 AM Thomas Gleixner wrote: > > A single update for perf on x86 which ass support for the > broken down bandwith counters. Spot the freudian slip.. Linus

Re: [PATCH v1 4/6] dt-bindings: mfd: ene-kb3930: Add compatibles for KB930 and Acer A500

2020-08-23 Thread Lubomir Rintel
On Sun, Aug 23, 2020 at 05:08:44PM +0300, Dmitry Osipenko wrote: > The ENE KB930 hardware is compatible with KB3930. > > Acer A500 Iconia Tab is Android tablet device, it has KB930 controller > that is running firmware specifically customized for the needs of the > Acer A500 hardware. This means t

Re: [GIT pull] x86/urgent for v5.9-rc2

2020-08-23 Thread Linus Torvalds
On Sun, Aug 23, 2020 at 1:26 AM Thomas Gleixner wrote: > > Remove the RDPID optimization, which is not even > backed by numbers from the paranoid entry path instead. Ugh, that's sad. I'd expect the LSL to be quite a bit slower than the RDPID on raw hardware, since LSL has to go out to the GDT. A

Re: [GIT] Networking

2020-08-23 Thread pr-tracker-bot
The pull request you sent on Sat, 22 Aug 2020 19:19:48 -0700 (PDT): > git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git refs/heads/master has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9d045ed1ebe1a6115d3fa9930c5371defb31d95a Thank you! -- Deet-doot-dot,

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.9-3 tag

2020-08-23 Thread pr-tracker-bot
The pull request you sent on Sun, 23 Aug 2020 22:50:13 +1000: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.9-3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/cb95712138ec5e480db5160b41172bbc6f6494cc Thank you! -- Deet-doot-do

Re: [GIT pull] efi/urgent for v5.9-rc2

2020-08-23 Thread pr-tracker-bot
The pull request you sent on Sun, 23 Aug 2020 08:25:35 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > efi-urgent-2020-08-23 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/10c091b62e7fc3133d652b7212904348398b302e Thank you! -- Deet-doot-dot, I

Re: [GIT PULL] EDAC urgent for v5.9-rc2

2020-08-23 Thread pr-tracker-bot
The pull request you sent on Sun, 23 Aug 2020 12:12:03 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git > tags/edac_urgent_for_v5.9_rc2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d9232cb79651c244f8679607b6e30c5230bcc967 Thank you! -- Deet-doot

Re: [GIT pull] perf/urgent for v5.9-rc2

2020-08-23 Thread pr-tracker-bot
The pull request you sent on Sun, 23 Aug 2020 08:25:36 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > perf-urgent-2020-08-23 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/cea05c192b07b82a770816fc9d06031403cea164 Thank you! -- Deet-doot-dot, I

Re: [GIT pull] x86/urgent for v5.9-rc2

2020-08-23 Thread pr-tracker-bot
The pull request you sent on Sun, 23 Aug 2020 08:25:37 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > x86-urgent-2020-08-23 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/550c2129d93d5eb198835ac83c05ef672e8c491c Thank you! -- Deet-doot-dot, I

Re: [GIT pull] core/urgent for v5.9-rc2

2020-08-23 Thread pr-tracker-bot
The pull request you sent on Sun, 23 Aug 2020 08:25:34 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > core-urgent-2020-08-23 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e99b2507baccca79394ec646e3d1a0884667ea98 Thank you! -- Deet-doot-dot, I

[PATCH V2] net: dsa: Add of_node_put() before break statement

2020-08-23 Thread Sumera Priyadarsini
Every iteration of for_each_child_of_node() decrements the reference count of the previous node, however when control is transferred from the middle of the loop, as in the case of a return or break or goto, there is no decrement thus ultimately resulting in a memory leak. Fix a potential memory le

Re: [PATCH] watchdog: Fix double-free in watchdog_cdev_register

2020-08-23 Thread Guenter Roeck
On 8/23/20 12:13 AM, Dinghao Liu wrote: > When misc_register() fails, wd_data will be released by the > release callback function watchdog_core_data_release(), so > we don't need to free it again. But when watchdog_kworker is > NULL, we should free wd_data to prevent memleak. > > Fixes: cb36e29bb0

[PATCH v2] drm/etnaviv: fix external abort seen on GC600 rev 0x19

2020-08-23 Thread Christian Gmeiner
It looks like that this GPU core triggers an abort when reading VIVS_HI_CHIP_PRODUCT_ID and/or VIVS_HI_CHIP_ECO_ID. I looked at different versions of Vivante's kernel driver and did not found anything about this issue or what feature flag can be used. So go the simplest route and do not read these

Re: [PATCH] drm/etnaviv: fix external abort seen on GC600 rev 0x19

2020-08-23 Thread Christian Gmeiner
Hi > I have formally tested the patch with 5.7.10 - and it doesn't resolve > the issue - sadly :( > > From my testing, the reads on > VIVS_HI_CHIP_PRODUCT_ID > VIVS_HI_CHIP_ECO_ID > need to be conditional - while > VIVS_HI_CHIP_CUSTOMER_ID > seems to be okay. > Uhh.. okay.. just send a V2 - thank

Re: [PATCH V2] net: dsa: Add of_node_put() before break statement

2020-08-23 Thread Andrew Lunn
> diff --git a/drivers/net/dsa/mt7530.c b/drivers/net/dsa/mt7530.c > index 8dcb8a49ab67..e81198a65c26 100644 > --- a/drivers/net/dsa/mt7530.c > +++ b/drivers/net/dsa/mt7530.c > @@ -1327,6 +1327,7 @@ mt7530_setup(struct dsa_switch *ds) > if (phy_node->parent == priv->dev->of_no

Re: [PATCH] drm/etnaviv: fix external abort seen on GC600 rev 0x19

2020-08-23 Thread Russell King - ARM Linux admin
On Sun, Aug 23, 2020 at 09:10:25PM +0200, Christian Gmeiner wrote: > Hi > > > I have formally tested the patch with 5.7.10 - and it doesn't resolve > > the issue - sadly :( > > > > From my testing, the reads on > > VIVS_HI_CHIP_PRODUCT_ID > > VIVS_HI_CHIP_ECO_ID > > need to be conditional - while

Re: [PATCH v1 1/6] mfd: Add driver for Embedded Controller found on Acer Iconia Tab A500

2020-08-23 Thread Dmitry Osipenko
23.08.2020 21:16, Lubomir Rintel пишет: > Hello, ... >> +config MFD_ACER_A500_EC >> +tristate "Embedded Controller driver for Acer Iconia Tab A500" >> +depends on (I2C_TEGRA && ARCH_TEGRA_2x_SOC) || COMPILE_TEST > > This seems to also depend on I2C and OF. Perhaps I2C_TEGRA and > ARCH_TEGR

[PATCH V3] net: dsa: Add of_node_put() before break and return statements

2020-08-23 Thread Sumera Priyadarsini
Every iteration of for_each_child_of_node() decrements the reference count of the previous node, however when control is transferred from the middle of the loop, as in the case of a return or break or goto, there is no decrement thus ultimately resulting in a memory leak. Fix a potential memory le

Re: [PATCH v1 4/6] dt-bindings: mfd: ene-kb3930: Add compatibles for KB930 and Acer A500

2020-08-23 Thread Dmitry Osipenko
23.08.2020 21:20, Lubomir Rintel пишет: > On Sun, Aug 23, 2020 at 05:08:44PM +0300, Dmitry Osipenko wrote: >> The ENE KB930 hardware is compatible with KB3930. >> >> Acer A500 Iconia Tab is Android tablet device, it has KB930 controller >> that is running firmware specifically customized for the ne

Re: [PATCH RESEND v1] ARM: dts: meson8: remove two invalid interrupt lines from the GPU node

2020-08-23 Thread Thomas Graichen
On Sat, Aug 15, 2020 at 8:20 PM Martin Blumenstingl wrote: > > The 3.10 vendor kernel defines the following GPU 20 interrupt lines: > #define INT_MALI_GP AM_IRQ(160) > #define INT_MALI_GP_MMU AM_IRQ(161) > #define INT_MALI_PP AM_IRQ(162) > #defin

Re: [PATCH] typhoon: switch from 'pci_' to 'dma_' API

2020-08-23 Thread David Dillow
On Sun, 2020-08-23 at 08:11 +0200, Christophe JAILLET wrote: > The wrappers in include/linux/pci-dma-compat.h should go away. > > The patch has been generated with the coccinelle script below and has > been > hand modified to replace GFP_ with a correct flag. > It has been compile tested. Looks g

Re: [PATCH] tools/power turbostat: call pread64 in kernel directly

2020-08-23 Thread Alexander Monakov
Hi, I am not the original submitter, but I have answers and a proper patch :) On Fri, 21 Aug 2020, Len Brown wrote: > Re: offset size > > The offsets on this file are the MSR offsets. > What MSR are you trying to access at offset 0xc0010299? This MSR is particular is part of AMD RAPL (energy m

Re: [PATCH] blk-mq: use BLK_MQ_NO_TAG for no tag

2020-08-23 Thread Jens Axboe
On 8/23/20 9:44 AM, Xianting Tian wrote: > Replace various magic -1 constants for tags with BLK_MQ_NO_TAG. Doesn't look like this patch was even compiled... -- Jens Axboe

Re: [PATCH] thermal: ti-soc-thermal: Fix bogus thermal shutdowns for omap4430

2020-08-23 Thread Pavel Machek
Hi! > We can sometimes get bogus thermal shutdowns on omap4430 at least with > droid4 running idle with a battery charger connected: > > thermal thermal_zone0: critical temperature reached (143 C), shutting down > > Dumping out the register values shows we can occasionally get a 0x7f value > tha

Re: Linux kernel in-tree Rust support

2020-08-23 Thread Adrian Bunk
On Sun, Jul 12, 2020 at 12:39:44PM -0700, Josh Triplett wrote: >... > Rust has hard stability guarantees when upgrading from one stable > version to the next. If code compiles with a given stable version of > Rust, it'll compile with a newer stable version of Rust. >... In librsvg, breakages with

Re: [PATCH v1 4/6] dt-bindings: mfd: ene-kb3930: Add compatibles for KB930 and Acer A500

2020-08-23 Thread Lubomir Rintel
Hello, On Sun, Aug 23, 2020 at 10:31:36PM +0300, Dmitry Osipenko wrote: > 23.08.2020 21:20, Lubomir Rintel пишет: > > On Sun, Aug 23, 2020 at 05:08:44PM +0300, Dmitry Osipenko wrote: > >> The ENE KB930 hardware is compatible with KB3930. > >> > >> Acer A500 Iconia Tab is Android tablet device, it

Re: [IB/srpt] c804af2c1d: last_state.test.blktests.exit_code.143

2020-08-23 Thread Bart Van Assche
On 2020-08-03 00:27, Sagi Grimberg wrote: > Greeting, FYI, we noticed the following commit (built with gcc-9): commit: c804af2c1d3152c0cf877eeb50d60c2d49ac0cf0 ("IB/srpt: use new shared CQ mechanism") https://git.kernel.org/cgit/linux/kernel/git/rdma/rdma.git fo

Re: Camera LED on Librem 5 was Re: [PATCH] backlight: add led-backlight driver

2020-08-23 Thread Pavel Machek
Hi! > > > > This patch adds a led-backlight driver (led_bl), which is similar to > > > > pwm_bl except the driver uses a LED class driver to adjust the > > > > brightness in the HW. Multiple LEDs can be used for a single backlight. > > > > > > Tested-by: Guido Günther > > > > Thanks for testing

Linux 5.9-rc2

2020-08-23 Thread Linus Torvalds
It's Sunday afternoon, which means it's time for another release candidate. Nothing in particular stands out, there's a random collection of fixes and updates in here. It is perhaps a bit filesystem-heavy, because the ext4 updates came in late, so a bit unusually we have 20+% of the patch being un

Re: [GIT pull] perf/urgent for v5.9-rc2

2020-08-23 Thread Thomas Gleixner
On Sun, Aug 23 2020 at 11:16, Linus Torvalds wrote: > On Sun, Aug 23, 2020 at 1:26 AM Thomas Gleixner wrote: >> >> A single update for perf on x86 which ass support for the >> broken down bandwith counters. > > Spot the freudian slip.. At least it clearly reflects my true feelings vs. the well d

[PATCH] x86/asm: Replace __force_order with memory clobber

2020-08-23 Thread Arvind Sankar
The CRn accessor functions use __force_order as a dummy operand to prevent the compiler from reordering the inline asm. The fact that the asm is volatile should be enough to prevent this already, however older versions of GCC had a bug that could sometimes result in reordering. This was fixed in 8

[PATCH] spi: spi-fsl-dspi: delete EOQ transfer mode

2020-08-23 Thread Vladimir Oltean
After the only user of the limited EOQ mode has now been converted to DMA as of commit b09058bbf5f0 ("spi: spi-fsl-dspi: set ColdFire to DMA mode"), we can finally delete this code. Signed-off-by: Vladimir Oltean --- drivers/spi/spi-fsl-dspi.c | 56 -- 1 file

Re: [PATCH 16/18] staging/media/tegra-vde: Clean up IOMMU workaround

2020-08-23 Thread Dmitry Osipenko
21.08.2020 03:11, Robin Murphy пишет: ... >> Hello, Robin! Thank you for yours work! >> >> Some drivers, like this Tegra VDE (Video Decoder Engine) driver for >> example, do not want to use implicit IOMMU domain. > > That isn't (intentionally) changing here - the only difference should be > that i

drivers/scsi/bfa/bfad_bsg.c:2748:1: warning: stack frame size of 2688 bytes in function 'bfad_iocmd_handler'

2020-08-23 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: cb95712138ec5e480db5160b41172bbc6f6494cc commit: 3bbd8ef9f780749426d4e52be0dfa3f70656d92b scsi: bfa: Staticify all local functions date: 4 weeks ago config: x86_64-randconfig-r003-20200824 (attached as .co

Re: [PATCH 12/18] iommu/tegra-gart: Add IOMMU_DOMAIN_DMA support

2020-08-23 Thread Dmitry Osipenko
21.08.2020 03:28, Robin Murphy пишет: ... >> Will a returned NULL tell to IOMMU core that implicit domain shouldn't >> be used? Is it possible to leave this driver as-is? > > The aim of this patch was just to make the conversion without functional > changes wherever possible, i.e. maintain an equi

Re: Linux kernel in-tree Rust support

2020-08-23 Thread Geoffrey Thomas
On Mon, 24 Aug 2020, Adrian Bunk wrote: In librsvg, breakages with more recent Rust versions in the past year required updates of two vendored crates: Interesting! https://gitlab.gnome.org/GNOME/librsvg/-/commit/de26c4d8b192ed0224e6d38f54e429838608b902 Looks like this was, for a while, a w

[PATCH 5/8] phy: lantiq: vrx200-pcie: Constify ltq_vrx200_pcie_phy_ops

2020-08-23 Thread Rikard Falkeborn
The only usage is to pass its address to devm_phy_create() which takes a const pointer. Make it const to allow the compiler to put it in read-only memory. Signed-off-by: Rikard Falkeborn --- drivers/phy/lantiq/phy-lantiq-vrx200-pcie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[PATCH 7/8] phy: samsung-ufs: Constify samsung_ufs_phy_ops

2020-08-23 Thread Rikard Falkeborn
The only usage is to pass its address to devm_phy_create() which takes a const pointer. Make it const to allow the compiler to put it in read-only memory. Signed-off-by: Rikard Falkeborn --- drivers/phy/samsung/phy-samsung-ufs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH 1/8] phy: cadence: salvo: Constify cdns_salvo_phy_ops

2020-08-23 Thread Rikard Falkeborn
The only usage is to pass its address to devm_phy_create() which takes a const pointer. Make it const to allow the compiler to put it in read-only memory. Signed-off-by: Rikard Falkeborn --- drivers/phy/cadence/phy-cadence-salvo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 6/8] phy: ralink-usb: Constify ralink_usb_phy_ops

2020-08-23 Thread Rikard Falkeborn
The only usage is to pass its address to devm_phy_create() which takes a const pointer. Make it const to allow the compiler to put it in read-only memory. Signed-off-by: Rikard Falkeborn --- drivers/phy/ralink/phy-ralink-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d

[PATCH 8/8] phy: qcom-ipq4019-usb: Constify static phy_ops structs

2020-08-23 Thread Rikard Falkeborn
Their only usages is to assign the address to the data field in the of_device_id struct, which is a const void pointer. Make them const to allow the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn --- drivers/phy/qualcomm/phy-qcom-ipq4019-usb.c | 4 ++-- 1 file changed,

  1   2   3   4   >