[tip: irq/core] irqdomain: Remove unused of_device_id forward declaration

2020-11-07 Thread tip-bot2 for Andy Shevchenko
The following commit has been merged into the irq/core branch of tip: Commit-ID: eda2845ae5e0ae466c1aca715d642b4977311747 Gitweb: https://git.kernel.org/tip/eda2845ae5e0ae466c1aca715d642b4977311747 Author:Andy Shevchenko AuthorDate:Fri, 30 Oct 2020 18:59:15 +02:00

[tip: irq/core] irqdomain: Replace open coded of_node_to_fwnode()

2020-11-07 Thread tip-bot2 for Andy Shevchenko
The following commit has been merged into the irq/core branch of tip: Commit-ID: c3a877fea962d9d0fb1e3747334699978f566930 Gitweb: https://git.kernel.org/tip/c3a877fea962d9d0fb1e3747334699978f566930 Author:Andy Shevchenko AuthorDate:Fri, 30 Oct 2020 18:59:17 +02:00

[tip: irq/core] irqdomain: Add forward declaration of fwnode_handle

2020-11-07 Thread tip-bot2 for Andy Shevchenko
The following commit has been merged into the irq/core branch of tip: Commit-ID: 08219fb1efae451c83281cb6ba4bb6c35ac88fab Gitweb: https://git.kernel.org/tip/08219fb1efae451c83281cb6ba4bb6c35ac88fab Author:Andy Shevchenko AuthorDate:Fri, 30 Oct 2020 18:59:16 +02:00

Re: [PATCH 17/19] drm/radeon/radeon_kms: Fix misnaming of 'radeon_info_ioctl's dev param

2020-11-07 Thread Lee Jones
On Sat, 07 Nov 2020, Sam Ravnborg wrote: > Hi Lee, > > On Fri, Nov 06, 2020 at 09:49:47PM +, Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > > > drivers/gpu/drm/radeon/radeon_kms.c:226: warning: Function parameter or > > member 'dev' not described in

Re: [PATCH v40 10/24] mm: Add 'mprotect' hook to struct vm_operations_struct

2020-11-07 Thread Dr. Greg
On Fri, Nov 06, 2020 at 09:54:19AM -0800, Dave Hansen wrote: Good morning, I hope the weekend is going well for everyone, beautiful weather out here in West-Cental Minnesota. > On 11/6/20 9:43 AM, Dr. Greg wrote: > > In light of this, given the decision by the driver authors to not > > fully

Re: [PATCH] net/ethernet: update ret when ptp_clock is ERROR

2020-11-07 Thread Richard Cochran
On Fri, Nov 06, 2020 at 03:56:45PM +0800, Wang Qing wrote: > We always have to update the value of ret, otherwise the > error value may be the previous one. > > Signed-off-by: Wang Qing Acked-by: Richard Cochran > --- > drivers/net/ethernet/ti/am65-cpts.c | 3 +-- > 1 file changed, 1

Re: [PATCH] net/ethernet: update ret when ptp_clock is ERROR

2020-11-07 Thread Richard Cochran
On Fri, Nov 06, 2020 at 01:34:04PM +0200, Grygorii Strashko wrote: > And ptp_clock_register() can return NULL only if PTP support is disabled. Not true in general ... > In which case, we should not even get here. only because the Kconfig uses "depends on" instead of "implies" PTP_1588_CLOCK. >

Re: [PATCH 00/19] [Set 2] Rid W=1 warnings from GPU

2020-11-07 Thread Lee Jones
On Sat, 07 Nov 2020, Christian König wrote: > Well that's quite a patch set. > > First of all can you separate this a bit more by driver? I'm assuming we > maintainers are supposed to pick that up and apply it. I'm not sure what would achieve? It's not a pull-request. Either way, patches

Re: [V2] [PATCH] net/ethernet: update ret when ptp_clock is ERROR

2020-11-07 Thread Richard Cochran
On Sat, Nov 07, 2020 at 11:38:38AM +0800, Wang Qing wrote: > We always have to update the value of ret, otherwise the error value > may be the previous one. And ptp_clock_register() never return NULL > when PTP_1588_CLOCK enable, so we use IS_ERR here. > > Signed-off-by: Wang Qing > --- >

Re: [PATCH] pcp_clock: return EOPNOTSUPP if !CONFIG_PTP_1588_CLOCK

2020-11-07 Thread Richard Cochran
On Sat, Nov 07, 2020 at 11:28:23AM +0800, Wang Qing wrote: > pcp_clock_register() is checked with IS_ERR(), and will crash if !PTP, > change return value to ERR_PTR(-EOPNOTSUPP) for the !CONFIG_PTP_1588_CLOCK > and so question resolved. NAK. Drivers must use the documented interface. Thanks,

[PATCH V4 3/3] arm64: defconfig: Enable WM8962

2020-11-07 Thread Adam Ford
The Beacon EmbeddedWorks development kits supporting i.MX8M Mini and Nano have an WM8962 audio CODEC installed. Add modules for both CONFIG_SND_SOC_WM8962 and CONFIG_SND_SOC_FSL_ASOC_CARD to enable them. Signed-off-by: Adam Ford --- V4: No Change V3: No Change V2: New to series

[PATCH V4 1/3] dt-bindings: arm: fsl: Add beacon,imx8mn-beacon-kit

2020-11-07 Thread Adam Ford
Add beacon,imx8mn-beacon-kit to list of compatible options. Signed-off-by: Adam Ford Reviewed-by: Krzysztof Kozlowski --- V4: Add RB note V3: Correct Typo and move to Nano section V2: New to series --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+)

[PATCH V4 2/3] arm64: dts: imx: Add Beacon i.MX8M Nano development kit

2020-11-07 Thread Adam Ford
Beacon Embeddedworks is launching a development kit based on the i.MX8M Nano SoC. The kit consists of a System on Module (SOM) + baseboard. The SOM has the SoC, eMMC, and Ethernet. The baseboard has an wm8962 audio CODEC, a PDM microphone, and a single USB OTG. The baseboard is capable of two

Re: [PATCH net-next v7 0/5] net: hdlc_fr: Improve fr_rx and add support for any Ethertype

2020-11-07 Thread Xie He
On Tue, Nov 3, 2020 at 6:03 PM Xie He wrote: > > On Tue, Nov 3, 2020 at 3:22 PM Jakub Kicinski wrote: > > > > Applied, but going forward please limit any refactoring and extensions > > to the HDLC code. I thought you are actually using it. If that's not > > the case let's leave the code be, it's

Re: [PATCH] powerpc/64s: Remove RFI

2020-11-07 Thread Christophe Leroy
Le 06/11/2020 à 12:36, Christophe Leroy a écrit : Last use of RFI on PPC64 was removed by commit b8e90cb7bc04 ("powerpc/64: Convert the syscall exit path to use RFI_TO_USER/KERNEL"). Remove the macro. Forget this crazy patch. I missed two RFI in head_64.S Christophe Signed-off-by:

Re: [PATCH 17/19] drm/radeon/radeon_kms: Fix misnaming of 'radeon_info_ioctl's dev param

2020-11-07 Thread Sam Ravnborg
Hi Lee, On Fri, Nov 06, 2020 at 09:49:47PM +, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/radeon/radeon_kms.c:226: warning: Function parameter or > member 'dev' not described in 'radeon_info_ioctl' > drivers/gpu/drm/radeon/radeon_kms.c:226:

Re: [PATCH 10/19] drm/radeon/radeon: Move prototype into shared header

2020-11-07 Thread Sam Ravnborg
Hi Lee, On Fri, Nov 06, 2020 at 09:49:40PM +, Lee Jones wrote: > Unfortunately, a suitable one didn't already exist. > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/radeon/radeon_device.c:637:6: warning: no previous prototype > for ‘radeon_device_is_virtual’

Re: [PATCH] Revert "ARC: entry: fix potential EFA clobber when TIF_SYSCALL_TRACE"

2020-11-07 Thread Greg Kroah-Hartman
On Fri, Nov 06, 2020 at 08:27:44PM +, Vineet Gupta wrote: > Hi Stable Team, > > On 10/19/20 7:19 PM, Vineet Gupta wrote: > > This reverts commit 00fdec98d9881bf5173af09aebd353ab3b9ac729. > > (but only from 5.2 and prior kernels) > > > > The original commit was a preventive fix based on

Re: [PATCH v2 bpf-next 4/5] bpf: load and verify kernel module BTFs

2020-11-07 Thread Greg Kroah-Hartman
On Fri, Nov 06, 2020 at 03:02:27PM -0800, Andrii Nakryiko wrote: > Add kernel module listener that will load/validate and unload module BTF. > Module BTFs gets ID generated for them, which makes it possible to iterate > them with existing BTF iteration API. They are given their respective module's

Re: [PATCH 1/2] tty/serial: delete break after return

2020-11-07 Thread Uwe Kleine-König
Hello, the Subject is wrong, it should use a prefix similar to "serial: imx:". It's a good idea to check previous patches to the same file to pick a suitable prefix. (E.g. git log --oneline drivers/tty/serial/imx.c) On Fri, Nov 06, 2020 at 07:29:23PM -0800, Bernard Zhao wrote: > Delete break

[PATCH V2 4/5] arm64: dts: imx8mn: Add power-domain reference in USB controller

2020-11-07 Thread Adam Ford
The USB OTG controller cannot be used until the power-domain is enabled unless it was started in the bootloader. Adding the power-domain reference to the OTG node allows the OTG controller to operate. Signed-off-by: Adam Ford --- V2: No change arch/arm64/boot/dts/freescale/imx8mn.dtsi | 1 +

[PATCH V2 5/5] arm64: dts: imx8mn: Add GPU node

2020-11-07 Thread Adam Ford
According to the documentation from NXP, the i.MX8M Nano has a Vivante GC7000 Ultra Lite as its GPU core. With this patch, the Etnaviv driver presents the GPU as: etnaviv-gpu 3800.gpu: model: GC7000, revision: 6203 The stock operating voltage for the i.MX8M Nano is .85V which means the

[PATCH V2 2/5] soc: imx: gpcv2: add support for i.MX8MN power domains

2020-11-07 Thread Adam Ford
This adds support for the power domains founds on i.MX8MN. The Nano has fewer domains than the Mini, and the access to some of these domains is different than that of the Mini, the Mini power domains cannot be reused. Signed-off-by: Adam Ford Acked-by: Krzysztof Kozlowski --- V2: No change

[PATCH V2 1/5] dt-bindings: add defines for i.MX8MN power domains

2020-11-07 Thread Adam Ford
The i.MX8M Nano has a similar power domain controller to that of the mini, but it isn't fully compatible, so it needs a separate binding and power domain tables. Add the bindings and tables. Signed-off-by: Adam Ford Reviewed-by: Krzysztof Kozlowski Acked-by: Rob Herring --- V2: No change

[PATCH V2 3/5] arm64: dts: imx8mn: add GPC node and power domains

2020-11-07 Thread Adam Ford
This adds the DT nodes to describe the power domains available on the i.MX8MN. There are more power domains, but the displaymix and mipi power domains need a separate clock block controller which not yet available, so this limits it to the HSIO, OTG and GPU domains. Signed-off-by: Adam Ford ---

Re: [PATCH] net/sunrpc: Fix return value from proc_do_xprt()

2020-11-07 Thread Alex Dewar
On Fri, Nov 06, 2020 at 05:07:21PM -0500, J. Bruce Fields wrote: > Whoops, got 3 independent patches for this and overlooked this one. See > https://lore.kernel.org/linux-nfs/20201106205959.gb26...@fieldses.org/T/#t > > --b. That looks like a cleaner fix. Thanks for looking anyhow and sorry for

Re: [PATCH 2/2] ath11k: Handle errors if peer creation fails

2020-11-07 Thread Alex Dewar
On Sat, Nov 07, 2020 at 01:23:30PM +0200, Kalle Valo wrote: > Alex Dewar writes: > > > On Tue, Oct 06, 2020 at 10:26:28AM +0300, Kalle Valo wrote: > >> Alex Dewar writes: > >> > >> > ath11k_peer_create() is called without its return value being checked, > >> > meaning errors will be unhandled.

Re: [PATCH V3] doc: zh_CN: add translatation for tmpfs

2020-11-07 Thread Alex Shi
在 2020/11/7 下午4:51, Wang Qing 写道: > Translate Documentation/filesystems/tmpfs.rst into Chinese. > > Signed-off-by: Wang Qing > > Changes in v3: > - Fix patch format issue. > --- > .../translations/zh_CN/filesystems/tmpfs.rst | 146 > + > 1 file changed, 146

[PATCH] mtd: spi-nor: Fix multiple typos

2020-11-07 Thread Jonathan Neuschäfer
Signed-off-by: Jonathan Neuschäfer --- drivers/mtd/spi-nor/core.c | 4 ++-- drivers/mtd/spi-nor/sfdp.c | 2 +- include/linux/mtd/spi-nor.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/spi-nor/core.c b/drivers/mtd/spi-nor/core.c index

[PATCH v2 2/2] arm64: dts: exynos: Correct psci compatible used on Exynos7

2020-11-07 Thread Paweł Chmiel
It's not possible to reboot or poweroff Exynos7420 using PSCI. Instead we need to use syscon reboot/poweroff drivers, like it's done for other Exynos SoCs. This was confirmed by checking vendor source and testing it on Samsung Galaxy S6 device based on this SoC. To be able to use custom

[PATCH v2 1/2] arm64: dts: exynos: Include common syscon restart/poweroff for Exynos7

2020-11-07 Thread Paweł Chmiel
Exynos7 uses the same syscon reboot and poweroff nodes as other Exynos SoCs, so instead of duplicating code we can just include common dtsi file, which already contains definitions of them. After this change, poweroff node will be also available, previously this dts file did contain only reboot

[PATCH] eeprom: at25: Add example part numbers

2020-11-07 Thread Jonathan Neuschäfer
To save the interested reader some time, add examples of AT25 part numbers that correspond to EEPROMs rather than flashes. Signed-off-by: Jonathan Neuschäfer --- drivers/misc/eeprom/at25.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/misc/eeprom/at25.c

Re: [PATCH] mm/memcg: update page struct member in comments

2020-11-07 Thread Alex Shi
在 2020/11/7 上午4:51, Roman Gushchin 写道: > There are "page and memcg binding" and "page's memcg" used in similar cases, > I think it's more obvious than "page_memcg(page) being stable". > > Maybe it helps to address Ira's comment. > > Anyway, please feel free to add: > Acked-by: Roman Gushchin

Re: [PATCH] powerpc/32s: Use relocation offset when setting early hash table

2020-11-07 Thread Andreas Schwab
On Nov 07 2020, Serge Belyshev wrote: > Christophe Leroy writes: > >> When calling early_hash_table(), the kernel hasn't been yet >> relocated to its linking address, so data must be addressed >> with relocation offset. >> >> Add relocation offset to write into Hash in early_hash_table(). >> >>

Re: [PATCH V3 2/3] arm64: dts: imx: Add Beacon i.MX8M Nano development kit

2020-11-07 Thread Adam Ford
On Sat, Nov 7, 2020 at 7:12 AM Krzysztof Kozlowski wrote: > > On Sat, Nov 07, 2020 at 06:33:32AM -0600, Adam Ford wrote: > > Beacon Embeddedworks is launching a development kit based on the > > i.MX8M Nano SoC. The kit consists of a System on Module (SOM) > > + baseboard. The SOM has the SoC,

Re: [PATCH V3 2/3] arm64: dts: imx: Add Beacon i.MX8M Nano development kit

2020-11-07 Thread Krzysztof Kozlowski
On Sat, Nov 07, 2020 at 06:33:32AM -0600, Adam Ford wrote: > Beacon Embeddedworks is launching a development kit based on the > i.MX8M Nano SoC. The kit consists of a System on Module (SOM) > + baseboard. The SOM has the SoC, eMMC, and Ethernet. The baseboard > has an wm8962 audio CODEC, a PDM

Re: [PATCH V3 1/3] dt-bindings: arm: fsl: Add beacon,imx8mn-beacon-kit

2020-11-07 Thread Krzysztof Kozlowski
On Sat, Nov 07, 2020 at 06:33:31AM -0600, Adam Ford wrote: > Add beacon,imx8mn-beacon-kit to list of compatible options. > > Signed-off-by: Adam Ford > --- > V3: Correct Typo and move to Nano section > V2: New to series > Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH] net/xdp: remove unused macro REG_STATE_NEW

2020-11-07 Thread Alex Shi
在 2020/11/7 上午12:13, Jesper Dangaard Brouer 写道: > Hmm... REG_STATE_NEW is zero, so it is implicitly set via memset zero. > But it is true that it is technically not directly used or referenced. > > It is mentioned in a comment, so please send V2 with this additional change: Hi Jesper, Thanks

Re: [PATCH] net/dsa: remove unused macros to tame gcc warning

2020-11-07 Thread Alex Shi
在 2020/11/7 上午12:39, Florian Fainelli 写道: >> Hi Alex >> >> It is good to remember that there are multiple readers of source >> files. There is the compiler which generates code from it, and there >> is the human trying to understand what is going on, what the hardware >> can do, how we could

[PATCH 3/3] arm64: allwinner: dts: a64: add DT for PineTab developer sample

2020-11-07 Thread Icenowy Zheng
Some developers received PineTab samples that used an old LCD panel. Add device tree for these samples. Signed-off-by: Icenowy Zheng --- arch/arm64/boot/dts/allwinner/Makefile| 1 + .../dts/allwinner/sun50i-a64-pinetab-dev.dts | 28 +++ 2 files changed, 29

Re: [PATCH v2 2/8] firmware: arm_scmi: introduce protocol handles

2020-11-07 Thread Cristian Marussi
Hi Thara thanks for the feedback. On Fri, Nov 06, 2020 at 11:26:44AM -0500, Thara Gopinath wrote: > > > On 11/4/20 12:44 PM, Cristian Marussi wrote: > > Hi > > > > On Wed, Nov 04, 2020 at 11:16:18AM -0500, Thara Gopinath wrote: > > > > > > Hi Cristian, > > > > > > On 10/28/20 4:29 PM,

[PATCH 2/3] dt-bindings: arm: sunxi: add PineTab developer sample DT binding

2020-11-07 Thread Icenowy Zheng
Some developer samples of PineTab are distributed with the old and incompatible LCD panel. Add a device tree binding for this version of PineTab. Signed-off-by: Icenowy Zheng --- Documentation/devicetree/bindings/arm/sunxi.yaml | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH 1/3] arm64: allwinner: dts: a64: pinetab: switch LCD panel to production one

2020-11-07 Thread Icenowy Zheng
All retail PineTabs use the new panel. Devices with the old panel are only available to several developers as sample. Switch the main PineTab DT to use the new panel, as it should reflect what the retail device uses. Another DT for developers' sample will be added later. Signed-off-by: Icenowy

[PATCH 0/3] Switch PineTab DT LCD panel to retail one

2020-11-07 Thread Icenowy Zheng
Retail PineTabs switched to K101-IM2BYL02 panel. This patchset tries to reflect this change, and add a DT for samples that still have K101-IM2BA02. Icenowy Zheng (3): arm64: allwinner: dts: a64: pinetab: switch LCD panel to production one dt-bindings: arm: sunxi: add PineTab developer

[PATCH V3 1/3] dt-bindings: arm: fsl: Add beacon,imx8mn-beacon-kit

2020-11-07 Thread Adam Ford
Add beacon,imx8mn-beacon-kit to list of compatible options. Signed-off-by: Adam Ford --- V3: Correct Typo and move to Nano section V2: New to series diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 85fb24da4a02..5a2608e6bc30

[PATCH V3 2/3] arm64: dts: imx: Add Beacon i.MX8M Nano development kit

2020-11-07 Thread Adam Ford
Beacon Embeddedworks is launching a development kit based on the i.MX8M Nano SoC. The kit consists of a System on Module (SOM) + baseboard. The SOM has the SoC, eMMC, and Ethernet. The baseboard has an wm8962 audio CODEC, a PDM microphone, and a single USB OTG. The baseboard is capable of two

[PATCH V3 3/3] arm64: defconfig: Enable WM8962

2020-11-07 Thread Adam Ford
The Beacon EmbeddedWorks development kits supporting i.MX8M Mini and Nano have an WM8962 audio CODEC installed. Add modules for both CONFIG_SND_SOC_WM8962 and CONFIG_SND_SOC_FSL_ASOC_CARD to enable them. Signed-off-by: Adam Ford --- V3: No Change V2: New to series diff --git

About the rockpi4 pcie controller failed to initialize problem in v5.10-rc2

2020-11-07 Thread Qu Wenruo
Hi guys, I see your awesome contribution to support Rock Pi 4B. However in recent rc (v5.10-rc2), I found that even with `vpcie1v8` and `vpcie0v9` added, `regulartor_dev_lookup()` now just returns -EPROBE_DEFER, preventing rockchip pcie controller to be initialized. The full callchain is:

[PATCH RESEND 2/2] dt-bindings: dmaengine: Add X2000 bindings.

2020-11-07 Thread Zhou Yanjie
Add the dmaengine bindings for the X2000 SoC from Ingenic. Signed-off-by: 周琰杰 (Zhou Yanjie) Acked-by: Rob Herring --- include/dt-bindings/dma/x2000-dma.h | 54 + 1 file changed, 54 insertions(+) create mode 100644 include/dt-bindings/dma/x2000-dma.h diff

[PATCH RESEND 1/2] dt-bindings: dmaengine: Add JZ4775 bindings.

2020-11-07 Thread Zhou Yanjie
Add the dmaengine bindings for the JZ4775 SoC from Ingenic. Signed-off-by: 周琰杰 (Zhou Yanjie) Acked-by: Rob Herring --- include/dt-bindings/dma/jz4775-dma.h | 44 1 file changed, 44 insertions(+) create mode 100644 include/dt-bindings/dma/jz4775-dma.h diff

[PATCH RESEND 0/2] Add dmaengine bindings for the JZ4775 and the X2000 SoCs.

2020-11-07 Thread Zhou Yanjie
Add the dmaengine bindings for the JZ4775 SoC and the X2000 SoC from Ingenic. 周琰杰 (Zhou Yanjie) (2): dt-bindings: dmaengine: Add JZ4775 bindings. dt-bindings: dmaengine: Add X2000 bindings. include/dt-bindings/dma/jz4775-dma.h | 44 +

Re: [PATCH 00/19] [Set 2] Rid W=1 warnings from GPU

2020-11-07 Thread Christian König
Well that's quite a patch set. First of all can you separate this a bit more by driver? I'm assuming we maintainers are supposed to pick that up and apply it. radeon and amdgpu can stick together since that is mostly Alex and me, but I'm not sure if we want to do some of the suggested

[PATCH v2] clk: exynos7: Keep aclk_fsys1_200 enabled

2020-11-07 Thread Paweł Chmiel
This clock must be always enabled to allow access to any registers in fsys1 CMU. Until proper solution based on runtime PM is applied (similar to what was done for Exynos5433), fix this by calling clk_prepare_enable() directly from clock provider driver. It was observed on Samsung Galaxy S6

Re: [PATCH 01/19] drm/ttm/ttm_range_manager: Demote non-conformant kernel-doc header

2020-11-07 Thread Christian König
Am 06.11.20 um 22:49 schrieb Lee Jones: Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/ttm/ttm_range_manager.c:46: warning: cannot understand function prototype: 'struct ttm_range_manager ' Cc: Christian Koenig Cc: Huang Rui Cc: David Airlie Cc: Daniel Vetter Cc:

Re: possible deadlock in mnt_want_write

2020-11-07 Thread syzbot
syzbot suspects this issue was fixed by commit: commit 146d62e5a5867fbf84490d82455718bfb10fe824 Author: Amir Goldstein Date: Thu Apr 18 14:42:08 2019 + ovl: detect overlapping layers bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=11e4018450 start commit: 6d906f99

[PATCH V4 5/5] arm64: dts: imx8mn: Add node for SPDIF

2020-11-07 Thread Adam Ford
The i.MX8M Nano can support SPDIF which is compatible to the IP used on the i.MX35. Add the node. Signed-off-by: Adam Ford --- V4: No Change V3: No Change V2: No Change arch/arm64/boot/dts/freescale/imx8mn.dtsi | 24 +++ 1 file changed, 24 insertions(+) diff --git

[PATCH V4 4/5] arm64: dts: imx8mn: Add support for micfil

2020-11-07 Thread Adam Ford
The i.MX8M Nano has supports the MICFIL digital interface. It's a 16-bit audio signal from a PDM microphone bitstream. The driver is already in the kernel, but the node is missing. Add the micfil node. Signed-off-by: Adam Ford --- V4: No Change V3: No Change V2: Change micfil@3008 to

[PATCH V4 1/5] dt-bindings: soc: imx: Add binding doc for spba bus

2020-11-07 Thread Adam Ford
Add binding doc for fsl,spba-bus. Signed-off-by: Adam Ford --- V4: Correct errors in YAML V3: New to series .../devicetree/bindings/bus/fsl,spba-bus.yaml | 66 +++ 1 file changed, 66 insertions(+) diff --git a/Documentation/devicetree/bindings/bus/fsl,spba-bus.yaml

[PATCH V4 2/5] arm64: dts: imx8mn: Enable Asynchronous Sample Rate Converter

2020-11-07 Thread Adam Ford
The driver exists for the Enhanced Asynchronous Sample Rate Converter (EASRC) Controller, but there isn't a device tree entry for it. On the vendor kernel, they put this on a spba-bus for SDMA support. Add the node for the spba-bus with the easrc node inside. Signed-off-by: Adam Ford --- V4:

[PATCH V4 3/5] arm64: dts: imx8mn: Add SAI nodes

2020-11-07 Thread Adam Ford
The i.MX8M Nano has several SAI nodes available to it. Enable them. Signed-off-by: Adam Ford --- V4: No Change V3: No Change V2: No Change arch/arm64/boot/dts/freescale/imx8mn.dtsi | 72 +++ 1 file changed, 72 insertions(+) diff --git

[PATCH 2/2] MIPS: Ingenic: Refresh defconfig for Ingenic SoCs based boards.

2020-11-07 Thread Zhou Yanjie
1.Refresh defconfig of CI20 to support OTG and RNG. 2.Refresh defconfig of CU1000-Neo to support OTG/RNG/OST/SC16IS752. 3.Refresh defconfig of CU1830-Neo to support OTG/DTRNG/OST/SC16IS752. Tested-by: 周正 (Zhou Zheng) Signed-off-by: 周琰杰 (Zhou Yanjie) --- arch/mips/configs/ci20_defconfig |

[PATCH 1/2] MIPS: Ingenic: Add missing nodes for Ingenic SoCs and boards.

2020-11-07 Thread Zhou Yanjie
1.Add OTG/OTG PHY/RNG nodes for JZ4780, CGU/OTG nodes for CI20. 2.Add OTG/OTG PHY/RNG/OST nodes for X1000, SSI/CGU/OST/OTG/SC16IS752 nodes for CU1000-Neo. 3.Add OTG/OTG PHY/DTRNG/OST nodes for X1830, SSI/CGU/OST/OTG/SC16IS752 nodes for CU1830-Neo. Tested-by: 周正 (Zhou Zheng) Signed-off-by:

[PATCH 0/2] Add missing nodes and refresh defconfig for Ingenic SoCs based boards.

2020-11-07 Thread Zhou Yanjie
1.Add missing nodes for Ingenic SoCs and Ingenic SoCs based boards. 2.Refresh defconfig for Ingenic SoCs based boards. 周琰杰 (Zhou Yanjie) (2): MIPS: Ingenic: Add missing nodes for Ingenic SoCs and boards. MIPS: Ingenic: Refresh defconfig for Ingenic SoCs based boards.

Re: [PATCH] rtl8192ce: avoid accessing the data mapped to streaming DMA

2020-11-07 Thread Kalle Valo
Jia-Ju Bai wrote: > In rtl92ce_tx_fill_cmddesc(), skb->data is mapped to streaming DMA on > line 530: > dma_addr_t mapping = dma_map_single(..., skb->data, ...); > > On line 533, skb->data is assigned to hdr after cast: > struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)(skb->data); > >

Re: [PATCH net-next 02/11] net: hostap: fix function cast warning

2020-11-07 Thread Kalle Valo
Arnd Bergmann wrote: > From: Arnd Bergmann > > gcc -Wextra complains about the function type cast: > > drivers/net/wireless/intersil/hostap/hostap_hw.c:3173:48: warning: cast > between incompatible function types from ‘void (*)(struct tasklet_struct *)’ > to ‘void (*)(long unsigned int)’

Re: [PATCH net-next 08/11] ath9k: work around false-positive gcc warning

2020-11-07 Thread Arnd Bergmann
On Sat, Nov 7, 2020 at 12:21 PM Kalle Valo wrote: > Johannes Berg writes: > > On Mon, 2020-11-02 at 18:26 +0200, Kalle Valo wrote: > >> Arnd Bergmann writes: > >> Isn't there a better way to handle this? I really would not want > >> checking for GCC versions become a common approach in drivers.

Re: [PATCH v2] wireless: remove unneeded break

2020-11-07 Thread Kalle Valo
t...@redhat.com wrote: > From: Tom Rix > > A break is not needed if it is preceded by a return > > Signed-off-by: Tom Rix Patch applied to wireless-drivers-next.git, thanks. 3287953b0399 wireless: remove unneeded break --

Re: [PATCH][next] wlcore: Use fallthrough pseudo-keyword

2020-11-07 Thread Kalle Valo
"Gustavo A. R. Silva" wrote: > In order to enable -Wimplicit-fallthrough for Clang[1], replace the > existing /* fall-through */ comments with the new pseudo-keyword > macro fallthrough[2]. > > [1] https://git.kernel.org/linus/e2079e93f562c7f7a030eb7642017ee5eabaaa10 > [2] >

Re: [PATCH][next] ray_cs: Use fallthrough pseudo-keyword

2020-11-07 Thread Kalle Valo
"Gustavo A. R. Silva" wrote: > In order to enable -Wimplicit-fallthrough for Clang[1], replace the > existing /* fall through */ comments with the new pseudo-keyword > macro fallthrough[2]. > > [1] https://git.kernel.org/linus/e2079e93f562c7f7a030eb7642017ee5eabaaa10 > [2] >

[PATCH] panic: don't dump stack twice on warn

2020-11-07 Thread Christophe Leroy
Before commit 3f388f28639f ("panic: dump registers on panic_on_warn"), __warn() was calling show_regs() when regs was not NULL, and show_stack() otherwise. After that commit, show_stack() is called regardless of whether show_regs() has been called or not, leading to duplicated Call Trace: [

Re: [PATCH 2/2] ath11k: Handle errors if peer creation fails

2020-11-07 Thread Kalle Valo
Alex Dewar writes: > On Tue, Oct 06, 2020 at 10:26:28AM +0300, Kalle Valo wrote: >> Alex Dewar writes: >> >> > ath11k_peer_create() is called without its return value being checked, >> > meaning errors will be unhandled. Add missing check and, as the mutex is >> > unconditionally unlocked on

Re: [PATCH net-next 08/11] ath9k: work around false-positive gcc warning

2020-11-07 Thread Kalle Valo
Johannes Berg writes: > On Mon, 2020-11-02 at 18:26 +0200, Kalle Valo wrote: >> Arnd Bergmann writes: >> >> > From: Arnd Bergmann >> > >> > gcc-10 shows a false-positive warning with CONFIG_KASAN: >> > >> > drivers/net/wireless/ath/ath9k/dynack.c: In function >> >

Re: [PATCH] Kbuild: enable -Wfallthrough for clang

2020-11-07 Thread Miguel Ojeda
On Sat, Nov 7, 2020 at 8:08 AM Nick Desaulniers wrote: > > Partial revert of commit e2079e93f562 ("kbuild: Do not enable > -Wimplicit-fallthrough for clang for now") Wait, it says partial revert because it is one, but doing it this way does not enable the option back for GCC (and Clang).

Re: [PATCH v3 0/4] drm/bridge: ti-sn65dsi86: Support EDID reading

2020-11-07 Thread Sam Ravnborg
Hi Stephen On Mon, Nov 02, 2020 at 10:11:40AM -0800, Stephen Boyd wrote: > This patch series cleans up the DDC code a little bit so that > it is more efficient time wise and supports grabbing the EDID > of the eDP panel over the aux channel. I timed this on a board > I have on my desk and it

Re: [PATCH] MIPS: reserve the memblock right after the kernel

2020-11-07 Thread Thomas Bogendoerfer
On Fri, Nov 06, 2020 at 03:10:01PM +0100, Alexander A Sverdlin wrote: > From: Alexander Sverdlin > > Linux doesn't own the memory immediately after the kernel image. On Octeon > bootloader places a shared structure right close after the kernel _end, > refer to "struct cvmx_bootinfo

Re: [PATCH] firmware: fix spelling typo of 'wtih'

2020-11-07 Thread Nicolas Saenz Julienne
On Sat, 2020-11-07 at 16:19 +0800, Wang Qing wrote: > wtih -> with > > Signed-off-by: Wang Qing > --- Acked-by: Nicolas Saenz Julienne Thanks! > drivers/firmware/raspberrypi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/firmware/raspberrypi.c

RE: [PATCH] libbpf: Remove unnecessary conversion to bool

2020-11-07 Thread David Laight
From: Joe Perches > Sent: 06 November 2020 21:50 > > On Fri, 2020-11-06 at 13:32 -0800, Andrii Nakryiko wrote: > > On Thu, Nov 5, 2020 at 11:12 PM wrote: > > > Fix following warning from coccinelle: > > > ./tools/lib/bpf/libbpf.c:1478:43-48: WARNING: conversion to bool not > > > needed here >

Re: [PATCH] tool: selftests: fix spelling typo of 'writting'

2020-11-07 Thread Mike Rapoport
On Sat, Nov 07, 2020 at 05:19:35PM +0800, Wang Qing wrote: > writting -> writing > > Signed-off-by: Wang Qing Reviewed-by: Mike Rapoport > --- > tools/testing/selftests/vm/userfaultfd.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

[PATCH -next] irq-chip/gic-v3-its: Fixed an issue where the ITS executes the residual commands in the queue again when the ITS wakes up from sleep mode.

2020-11-07 Thread Xu Qiang
On my platform, ITS_FLAGS_SAVE_SUSPEND_STATE is not set,thus do nothing in its suspend and resuse function.On the other hand,firmware stores GITS_CTRL,GITS_CBASER,GITS_CWRITER and GITS_BASER in the suspend, and restores these registers in the resume. As a result, the ITS executes the residual

Re: [PATCH] arm: mach-sa1100: remove duplicate include

2020-11-07 Thread Mike Rapoport
On Sat, Nov 07, 2020 at 05:22:26PM +0800, Wang Qing wrote: > Remove duplicate header which is included twice. > > Signed-off-by: Wang Qing Reviewed-by: Mike Rapoport > --- > arch/arm/mach-sa1100/hackkit.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm/mach-sa1100/hackkit.c

Re: [PATCH] arm: mm: remove duplicate include

2020-11-07 Thread Mike Rapoport
On Sat, Nov 07, 2020 at 05:15:50PM +0800, Wang Qing wrote: > Remove duplicate header which is included twice. > > Signed-off-by: Wang Qing Reviewed-by: Mike Rapoport > --- > arch/arm/mm/mmu.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c >

Re: [PATCH] netfilter: conntrack: fix -Wformat

2020-11-07 Thread Joe Perches
On Fri, 2020-11-06 at 23:55 -0800, Nick Desaulniers wrote: > Clang is more aggressive about -Wformat warnings when the format flag > specifies a type smaller than the parameter. Fixes 8 instances of: > > warning: format specifies type 'unsigned short' but the argument has > type 'int' [-Wformat]

Re: [PATCH 2/2] arm: lib: xor-neon: disable clang vectorization

2020-11-07 Thread Russell King - ARM Linux admin
On Fri, Nov 06, 2020 at 07:14:36AM +0200, Adrian Ratiu wrote: > diff --git a/arch/arm/lib/xor-neon.c b/arch/arm/lib/xor-neon.c > index e1e76186ec23..84c91c48dfa2 100644 > --- a/arch/arm/lib/xor-neon.c > +++ b/arch/arm/lib/xor-neon.c > @@ -18,6 +18,10 @@ MODULE_LICENSE("GPL"); > * Pull in the

[tip: x86/urgent] x86/platform/uv: Recognize UV5 hubless system identifier

2020-11-07 Thread tip-bot2 for Mike Travis
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 801284f9737883a2b2639bd494455a72c82fdedf Gitweb: https://git.kernel.org/tip/801284f9737883a2b2639bd494455a72c82fdedf Author:Mike Travis AuthorDate:Thu, 05 Nov 2020 16:27:41 -06:00

[tip: x86/urgent] x86/platform/uv: Fix missing OEM_TABLE_ID

2020-11-07 Thread tip-bot2 for Mike Travis
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 1aec69ae56be28b5fd3c9daead5f3840c30153c8 Gitweb: https://git.kernel.org/tip/1aec69ae56be28b5fd3c9daead5f3840c30153c8 Author:Mike Travis AuthorDate:Thu, 05 Nov 2020 16:27:39 -06:00

[tip: x86/urgent] x86/platform/uv: Remove spaces from OEM IDs

2020-11-07 Thread tip-bot2 for Mike Travis
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 1aee505e0171fc38fd5ed70c7f0dcbb7398c759f Gitweb: https://git.kernel.org/tip/1aee505e0171fc38fd5ed70c7f0dcbb7398c759f Author:Mike Travis AuthorDate:Thu, 05 Nov 2020 16:27:40 -06:00

Re: [PATCH v1] scsi: isci: Don't use PCI helper functions

2020-11-07 Thread Vaibhav Gupta
On Sat, Nov 07, 2020 at 03:34:19PM +0530, Vaibhav Gupta wrote: > PCI helper functions such as pci_enable/disable_device(), > pci_save/restore_state(), pci_set_power_state(), etc. were used by the > legacy framework to perform standard operations related to PCI PM. > > This driver is using the

Re: [PATCH v6 1/2] kunit: Support for Parameterized Testing

2020-11-07 Thread Marco Elver
On Sat, 7 Nov 2020 at 05:58, David Gow wrote: > On Sat, Nov 7, 2020 at 3:22 AM Arpitha Raghunandan <98.a...@gmail.com> wrote: > > > > Implementation of support for parameterized testing in KUnit. > > This approach requires the creation of a test case using the > > KUNIT_CASE_PARAM macro that

[PATCH v1] scsi: isci: Don't use PCI helper functions

2020-11-07 Thread Vaibhav Gupta
PCI helper functions such as pci_enable/disable_device(), pci_save/restore_state(), pci_set_power_state(), etc. were used by the legacy framework to perform standard operations related to PCI PM. This driver is using the generic framework and thus calls for those functions should be dropped as

[PATCH] dma-pool: no need to check return value of debugfs_create functions

2020-11-07 Thread Tiezhu Yang
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Signed-off-by: Tiezhu Yang --- kernel/dma/pool.c | 3 --- 1 file changed, 3 deletions(-) diff --git

Re: [PATCH] powerpc/32s: Use relocation offset when setting early hash table

2020-11-07 Thread Serge Belyshev
Christophe Leroy writes: > When calling early_hash_table(), the kernel hasn't been yet > relocated to its linking address, so data must be addressed > with relocation offset. > > Add relocation offset to write into Hash in early_hash_table(). > > Reported-by: Erhard Furtner > Reported-by:

[PATCH v8 0/3] Use the generic PHY framework for Ingenic USB PHY.

2020-11-07 Thread Zhou Yanjie
v3->v4: Only add new generic-PHY driver, without removing the old one. Because the jz4740-musb driver is not ready to use the generic PHY framework. When the jz4740-musb driver is modified to use the generic PHY framework, the old jz4770-phy driver can be "retired". v4->v5: 1.Add an extra blank

[PATCH v8 2/3] dt-bindings: USB: Add bindings for Ingenic JZ4775 and X2000.

2020-11-07 Thread Zhou Yanjie
Move Ingenic USB PHY bindings from Documentation/devicetree/bindings/usb to Documentation/devicetree/bindings/phy, and add bindings for JZ4775 SoC and X2000 SoC. Signed-off-by: 周琰杰 (Zhou Yanjie) --- Notes: v8: New patch. .../{usb/ingenic,jz4770-phy.yaml => phy/ingenic,phy-usb.yaml}

[PATCH v8 3/3] PHY: Ingenic: Add USB PHY driver using generic PHY framework.

2020-11-07 Thread Zhou Yanjie
Used the generic PHY framework API to create the PHY, this driver supoorts USB OTG PHY used in JZ4770 SoC, JZ4775 SoC, JZ4780 SoC, X1000 SoC, X1830 SoC and X2000 SoC. Tested-by: 周正 (Zhou Zheng) Tested-by: H. Nikolaus Schaller Co-developed-by: 漆鹏振 (Qi Pengzhen) Signed-off-by: 漆鹏振 (Qi Pengzhen)

[PATCH v8 1/3] USB: PHY: JZ4770: Remove unnecessary function calls.

2020-11-07 Thread Zhou Yanjie
Remove unnecessary "of_match_ptr()", because Ingenic SoCs all depend on Device Tree. Suggested-by: Paul Cercueil Signed-off-by: 周琰杰 (Zhou Yanjie) Reviewed-by: Paul Cercueil --- Notes: v3: New patch. v3->v4: No change. v4->v5: Add Paul Cercueil's Reviewed-by.

Re: [f2fs-dev] [PATCH v4 2/2] f2fs: fix compat F2FS_IOC_{MOVE, GARBAGE_COLLECT}_RANGE

2020-11-07 Thread Chao Yu
On 2020/11/7 2:03, Eric Biggers wrote: On Fri, Nov 06, 2020 at 02:53:31PM +0800, Chao Yu wrote: +#if defined(__KERNEL__) +struct compat_f2fs_gc_range { + u32 sync; + compat_u64 start; + compat_u64 len; +}; There's no need to use '#if defined(__KERNEL__)' in kernel source

[PATCH] arm: mach-sa1100: remove duplicate include

2020-11-07 Thread Wang Qing
Remove duplicate header which is included twice. Signed-off-by: Wang Qing --- arch/arm/mach-sa1100/hackkit.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-sa1100/hackkit.c b/arch/arm/mach-sa1100/hackkit.c index 3085f1c..3fe34ee --- a/arch/arm/mach-sa1100/hackkit.c +++

Re: [PATCH] driver core: export device_is_bound() to fix build failure

2020-11-07 Thread Greg Kroah-Hartman
On Fri, Nov 06, 2020 at 03:37:44PM +, Sudip Mukherjee wrote: > When CONFIG_MXC_CLK_SCU is configured as 'm' the build fails as it > is unable to find device_is_bound(). The error being: > ERROR: modpost: "device_is_bound" [drivers/clk/imx/clk-imx-scu.ko] > undefined! > > Export the

[PATCH] tool: selftests: fix spelling typo of 'writting'

2020-11-07 Thread Wang Qing
writting -> writing Signed-off-by: Wang Qing --- tools/testing/selftests/vm/userfaultfd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/vm/userfaultfd.c b/tools/testing/selftests/vm/userfaultfd.c index 9b0912a..9132fae7 ---

[PATCH] locking/lock_events: no need to check return value of debugfs_create functions

2020-11-07 Thread Tiezhu Yang
When calling debugfs functions, there is no need to ever check the return value. The function can work or not, but the code logic should never do something different based on this. Signed-off-by: Tiezhu Yang --- kernel/locking/lock_events.c | 19 --- 1 file changed, 4

<    1   2   3   4   >