[PATCH] MIPS: Add support for CONFIG_DEBUG_VIRTUAL

2021-03-19 Thread Florian Fainelli
__pa_symbol() which is now aliased to __phys_addr_symbol() whose implementation is either the direct return of RELOC_HIDE or goes through the debug version. Signed-off-by: Florian Fainelli --- arch/mips/Kconfig| 1 + arch/mips/include/asm/io.h | 14 - arch/mips/include/asm

Re: [PATCH] ARM: Qualify enabling of swiotlb_init()

2021-03-19 Thread Florian Fainelli
On 3/19/2021 6:07 AM, Christoph Hellwig wrote: > On Thu, Mar 18, 2021 at 09:03:33PM -0700, Florian Fainelli wrote: >> #ifdef CONFIG_ARM_LPAE >> +if (swiotlb_force == SWIOTLB_FORCE || >> +max_pfn > arm_dma_pfn_limit) > > Does arm_dma_pfn_limit do

[PATCH] ARM: Qualify enabling of swiotlb_init()

2021-03-18 Thread Florian Fainelli
We do not need a SWIOTLB unless we have DRAM that is addressable beyond the arm_dma_limit. Compare max_pfn with arm_dma_pfn_limit to determine whether we do need a SWIOTLB to be initialized. Fixes: ad3c7b18c5b3 ("arm: use swiotlb for bounce buffering on LPAE configs") Signed-off-b

[PATCH] swiotlb: Make SWIOTLB_NO_FORCE perform no allocation

2021-03-18 Thread Florian Fainelli
SWIOTLB size (64MB), whereas if swiotlb=noforce was set on the kernel command line we would have only allocated 2KB. This would be inconsistent and the point of initializing io_tlb_nslabs to 1, was to avoid hitting the test for io_tlb_nslabs being 0/not initialized. Signed-off-by: Florian Fainelli

Re: [PATCH] swiotlb: Add swiotlb=off to disable SWIOTLB

2021-03-18 Thread Florian Fainelli
On 3/18/2021 4:35 PM, Robin Murphy wrote: > On 2021-03-18 21:31, Florian Fainelli wrote: >> >> >> On 3/18/2021 12:53 PM, Robin Murphy wrote: >>> On 2021-03-18 19:43, Florian Fainelli wrote: >>>> >>>> >>>> On 3/18/2021 12:34 P

Re: [PATCH net-next v3 2/4] net: ipa: use upper_32_bits()

2021-03-18 Thread Florian Fainelli
's what it's for). > > Suggested-by: Florian Fainelli > Signed-off-by: Alex Elder Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH] swiotlb: Add swiotlb=off to disable SWIOTLB

2021-03-18 Thread Florian Fainelli
On 3/18/2021 12:53 PM, Robin Murphy wrote: > On 2021-03-18 19:43, Florian Fainelli wrote: >> >> >> On 3/18/2021 12:34 PM, Robin Murphy wrote: >>> On 2021-03-18 19:22, Florian Fainelli wrote: >>>> >>>> >>>> On 3/18/2021 12:18

Re: [PATCH] swiotlb: Add swiotlb=off to disable SWIOTLB

2021-03-18 Thread Florian Fainelli
On 3/18/2021 12:34 PM, Robin Murphy wrote: > On 2021-03-18 19:22, Florian Fainelli wrote: >> >> >> On 3/18/2021 12:18 PM, Florian Fainelli wrote: >>> It may be useful to disable the SWIOTLB completely for testing or when a >>> platform is known not to ha

Re: [PATCH] swiotlb: Add swiotlb=off to disable SWIOTLB

2021-03-18 Thread Florian Fainelli
On 3/18/2021 12:18 PM, Florian Fainelli wrote: > It may be useful to disable the SWIOTLB completely for testing or when a > platform is known not to have any DRAM addressing limitations what so > ever. > > Signed-off-by: Florian Fainelli Christoph, in addition to this change

[PATCH] swiotlb: Add swiotlb=off to disable SWIOTLB

2021-03-18 Thread Florian Fainelli
It may be useful to disable the SWIOTLB completely for testing or when a platform is known not to have any DRAM addressing limitations what so ever. Signed-off-by: Florian Fainelli --- Documentation/admin-guide/kernel-parameters.txt | 1 + include/linux/swiotlb.h | 1

Re: [PATCH net V2 1/1] net: phy: fix invalid phy id when probe using C22

2021-03-18 Thread Florian Fainelli
On 3/18/2021 11:14 AM, Greg KH wrote: > On Thu, Mar 18, 2021 at 09:02:22AM -0700, Florian Fainelli wrote: >> >> >> On 3/18/2021 6:25 AM, Heiner Kallweit wrote: >>> On 18.03.2021 10:09, Wong Vee Khee wrote: >>>> When using Clause-22 to probe for PHY dev

Re: [PATCH net-next v2 2/4] net: ipa: use upper_32_bits()

2021-03-18 Thread Florian Fainelli
On 3/18/2021 6:51 AM, Alex Elder wrote: > Use upper_32_bits() to extract the high-order 32 bits of a DMA > address. This avoids doing a 32-position shift on a DMA address > if it happens not to be 64 bits wide. > > Suggested-by: Florian Fainelli > Signed-off-by: Alex

Re: [PATCH net V2 1/1] net: phy: fix invalid phy id when probe using C22

2021-03-18 Thread Florian Fainelli
On 3/18/2021 6:25 AM, Heiner Kallweit wrote: > On 18.03.2021 10:09, Wong Vee Khee wrote: >> When using Clause-22 to probe for PHY devices such as the Marvell >> 88E2110, PHY ID with value 0 is read from the MII PHYID registers >> which caused the PHY framework failed to attach the Marvell PHY >>

Re: [PATCH net-next 2/4] net: ipa: introduce dma_addr_high32()

2021-03-17 Thread Florian Fainelli
On 3/17/2021 3:49 PM, Alex Elder wrote: > On 3/17/21 5:47 PM, Florian Fainelli wrote: >>> +/* Encapsulate extracting high-order 32 bits of DMA address */ >>> +static u32 dma_addr_high32(dma_addr_t addr) >>> +{ >>> +#ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT &g

Re: [PATCH net-next 2/4] net: ipa: introduce dma_addr_high32()

2021-03-17 Thread Florian Fainelli
On 3/17/2021 3:29 PM, Alex Elder wrote: > Create a new helper function to encapsulate extracting the > high-order 32 bits of a DMA address. It returns 0 for builds > in which a DMA address is not 64 bits. > > This avoids doing a 32-position shift on a DMA address if it > happens not to be 64 b

Re: [PATCH 2/2] net: mdio: Add BCM6368 MDIO mux bus controller

2021-03-17 Thread Florian Fainelli
On 3/17/2021 10:49 AM, Andrew Lunn wrote: >> BCM6368 (and newer) SoCs have an integrated ethernet switch controller with >> dedicated internal phys, but it also supports connecting to external phys >> not integrated in the internal switch. >> Ports 0-3 are internal, ports 4-7 are external and

[PATCH stable 0/6] net: dsa: b53: Correct learning for standalone ports

2021-03-16 Thread Florian Fainelli
Hi Greg, Sasha, Jaakub and David, This patch series contains backports for a change that recently made it upstream as f9b3827ee66cfcf297d0acd6ecf33653a5f297ef ("net: dsa: b53: Support setting learning on port") however that commit depends on infrastructure that landed in v5.12-rc1. The way this w

[PATCH stable 4.14] net: dsa: b53: Correct learning for standalone ports

2021-03-16 Thread Florian Fainelli
b3d42 ("Merge branch 'brport-flags'") which is why we default to enabling learning when the ports gets added as a bridge member. Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch") Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common.c

[PATCH stable 5.4] net: dsa: b53: Correct learning for standalone ports

2021-03-16 Thread Florian Fainelli
b3d42 ("Merge branch 'brport-flags'") which is why we default to enabling learning when the ports gets added as a bridge member. Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch") Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common

[PATCH stable 5.10] net: dsa: b53: Correct learning for standalone ports

2021-03-16 Thread Florian Fainelli
b3d42 ("Merge branch 'brport-flags'") which is why we default to enabling learning when the ports gets added as a bridge member. Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch") Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common

[PATCH stable 5.11] net: dsa: b53: Correct learning for standalone ports

2021-03-16 Thread Florian Fainelli
b3d42 ("Merge branch 'brport-flags'") which is why we default to enabling learning when the ports gets added as a bridge member. Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch") Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common

[PATCH stable 4.19] net: dsa: b53: Correct learning for standalone ports

2021-03-16 Thread Florian Fainelli
b3d42 ("Merge branch 'brport-flags'") which is why we default to enabling learning when the ports gets added as a bridge member. Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch") Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common.

[PATCH stable 4.9] net: dsa: b53: Correct learning for standalone ports

2021-03-16 Thread Florian Fainelli
b3d42 ("Merge branch 'brport-flags'") which is why we default to enabling learning when the ports gets added as a bridge member. Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch") Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common.c

Re: [PATCH] reset: RESET_BRCMSTB_RESCAL should depend on ARCH_BRCMSTB

2021-03-16 Thread Florian Fainelli
t. > > Also, merely enabling CONFIG_COMPILE_TEST should not enable additional > code, and thus should not enable this driver by default. > > Fixes: 4cf176e52397853e ("reset: Add Broadcom STB RESCAL reset controller") > Signed-off-by: Geert Uytterhoeven Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2] net: broadcom: BCM4908_ENET should not default to y, unconditionally

2021-03-16 Thread Florian Fainelli
controller > driver") > Signed-off-by: Geert Uytterhoeven Acked-by: Florian Fainelli -- Florian

Re: [PATCH net-next] net: dsa: mt7530: support MDB and bridge flag operations

2021-03-15 Thread Florian Fainelli
On 3/15/2021 1:09 PM, Vladimir Oltean wrote: > On Mon, Mar 15, 2021 at 01:03:10PM -0700, Florian Fainelli wrote: >> >> >> On 3/15/2021 10:09 AM, DENG Qingfang wrote: >>> Support port MDB and bridge flag operations. >>> >>> As the hardware can mana

Re: [PATCH 4.9 00/78] 4.9.262-rc1 review

2021-03-15 Thread Florian Fainelli
[] SyS_futex+0x15c/0x184 [ 66.813415] [] el0_svc_naked+0x34/0x38 other than that: Tested-by: Florian Fainelli -- Florian

Re: [PATCH 5.10 000/290] 5.10.24-rc1 review

2021-03-15 Thread Florian Fainelli
stable-review/patch-5.10.24-rc1.gz > or in the git tree and branch at: > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-5.10.y > and the diffstat can be found below. > > thanks, > > greg k-h On ARCH_BRCMSTB, using 32-bit and 64-bit kernels: Tested-by: Florian Fainelli -- Florian

Re: [PATCH 5.4 000/168] 5.4.106-rc1 review

2021-03-15 Thread Florian Fainelli
stable-review/patch-5.4.106-rc1.gz > or in the git tree and branch at: > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-5.4.y > and the diffstat can be found below. > > thanks, > > greg k-h On ARCH_BRCMSTB, using 32-bit ARM and 64-bit kernels: Tested-by: Florian Fainelli -- Florian

Re: [PATCH net-next] net: dsa: mt7530: support MDB and bridge flag operations

2021-03-15 Thread Florian Fainelli
On 3/15/2021 10:09 AM, DENG Qingfang wrote: > Support port MDB and bridge flag operations. > > As the hardware can manage multicast forwarding itself, offload_fwd_mark > can be unconditionally set to true. > > Signed-off-by: DENG Qingfang > --- > Changes since RFC: > Replaced BR_AUTO_MASK w

Re: [PATCH net-next 1/2] net: dsa: tag_brcm: add support for legacy tags

2021-03-15 Thread Florian Fainelli
On 3/15/2021 7:27 AM, Álvaro Fernández Rojas wrote: > Add support for legacy Broadcom tags, which are similar to DSA_TAG_PROTO_BRCM. > These tags are used on BCM5325, BCM5365 and BCM63xx switches. > > Signed-off-by: Álvaro Fernández Rojas > --- > include/net/dsa.h | 2 + > net/dsa/Kconfig

Re: [PATCH net-next 2/2] net: dsa: b53: support legacy tags

2021-03-15 Thread Florian Fainelli
ing. Whether that works with only DSA_TAG_PROTO_BRCM_LEGACY or across DSA_PROTO_BRCM_LEGACY + DSA_TAG_PROTO_BRCM may be something you will have to determine. Acked-by: Florian Fainelli -- Florian

Re: [PATCH v2 net-next] net: dsa: b53: mmap: Add device tree support

2021-03-15 Thread Florian Fainelli
On 3/15/2021 8:11 AM, Álvaro Fernández Rojas wrote: > Add device tree support to b53_mmap.c while keeping platform devices support. > > Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli -- Florian

Re: [PATCH Broadcom/stblinux 2/2] soc: bcm: bcm-pmb: add BCM63138 SATA support

2021-03-13 Thread Florian Fainelli
On Thu, 14 Jan 2021 18:53:39 +0100, Rafał Miłecki wrote: > From: Rafał Miłecki > > BCM63138 has SATA controller that needs to be powered up using PMB. > > Signed-off-by: Rafał Miłecki > --- Applied to drivers/next, thanks! -- Florian

Re: [PATCH Broadcom/stblinux 1/2] dt-bindings: power: bcm-pmb: add BCM63138 binding

2021-03-13 Thread Florian Fainelli
On Thu, 14 Jan 2021 18:53:38 +0100, Rafał Miłecki wrote: > From: Rafał Miłecki > > PMB can be also found on bcm63xx chipsets. It uses difference device > addresses so a new binding is required. > > Signed-off-by: Rafał Miłecki > --- Applied to drivers/next, thanks! -- Florian

Re: [PATCH 5.4 00/24] 5.4.105-rc1 review

2021-03-12 Thread Florian Fainelli
On 3/11/21 9:41 AM, Florian Fainelli wrote: > On 3/11/21 9:40 AM, Greg KH wrote: >> On Thu, Mar 11, 2021 at 09:23:56AM -0800, Florian Fainelli wrote: >>> On 3/11/21 5:08 AM, Greg KH wrote: >>>> On Wed, Mar 10, 2021 at 08:19:45PM -0800, Florian Fainelli wrote: >>

[PATCH net-next] net: dsa: bcm_sf2: Fill in BCM4908 CFP entries

2021-03-12 Thread Florian Fainelli
The BCM4908 switch has 256 CFP entrie, update that setting so CFP can be used. Signed-off-by: Florian Fainelli --- drivers/net/dsa/bcm_sf2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/dsa/bcm_sf2.c b/drivers/net/dsa/bcm_sf2.c index f277df922fcd..60a004f8465d

Re: [PATCH 4.9 00/41] 4.9.260-rc1 review

2021-03-12 Thread Florian Fainelli
On 3/5/21 4:22 AM, Greg Kroah-Hartman wrote: > Ben Hutchings > futex: Futex_unlock_pi() determinism > Hi Ben, This particular commit above eventually triggered the following warning below, this was not caught in my initial testing of the v4.9.260 kernel, when I gave my Tested-by tag. This a

Re: [PATCH v7 2/2] ARM: ftrace: Add MODULE_PLTS support

2021-03-12 Thread Florian Fainelli
On 3/12/21 9:24 AM, Qais Yousef wrote: > Hi Alexander > > On 03/10/21 18:17, Alexander Sverdlin wrote: >> Hi! >> >> On 10/03/2021 17:14, Florian Fainelli wrote: >>>>>>> I tried on 5.12-rc2 and 5.11 but couldn't reproduce the problem using &

Re: [PATCH] hwrng: bcm2835: set quality to 1000

2021-03-11 Thread Florian Fainelli
On 3/4/2021 10:26 PM, Álvaro Fernández Rojas wrote: > Hi Florian, > >> El 4 mar 2021, a las 23:28, Florian Fainelli escribió: >> >> On 3/4/21 7:11 AM, Nicolas Saenz Julienne wrote: >>> On Wed, 2021-03-03 at 10:29 +0100, Álvaro Fernández Rojas wrote: >>

[PATCH net] net: phy: broadcom: Fix RGMII delays for BCM50160 and BCM50610M

2021-03-11 Thread Florian Fainelli
Signed-off-by: Florian Fainelli --- Hi, More (all) PHY entries that support RGMII should arguably do the same thing here but given that we had a bad history of seeing broken DTS/DTBs, I prefer to take a conservative approach here and submit a localized fix to the hardware I just had to test this

Re: [PATCH 5.4 00/24] 5.4.105-rc1 review

2021-03-11 Thread Florian Fainelli
On 3/11/21 9:40 AM, Greg KH wrote: > On Thu, Mar 11, 2021 at 09:23:56AM -0800, Florian Fainelli wrote: >> On 3/11/21 5:08 AM, Greg KH wrote: >>> On Wed, Mar 10, 2021 at 08:19:45PM -0800, Florian Fainelli wrote: >>>> +Alex, >>>> >>>>

Re: [PATCH 5.4 00/24] 5.4.105-rc1 review

2021-03-11 Thread Florian Fainelli
On 3/11/21 5:08 AM, Greg KH wrote: > On Wed, Mar 10, 2021 at 08:19:45PM -0800, Florian Fainelli wrote: >> +Alex, >> >> On 3/10/2021 5:24 AM, gre...@linuxfoundation.org wrote: >>> From: Greg Kroah-Hartman >>> >>> This is the start of the stable rev

Re: [PATCH v4 13/14] dt-bindings: of: Add restricted DMA pool

2021-03-10 Thread Florian Fainelli
On 3/10/2021 1:40 PM, Rob Herring wrote: > On Wed, Mar 10, 2021 at 9:08 AM Will Deacon wrote: >> >> Hi Claire, >> >> On Tue, Feb 09, 2021 at 02:21:30PM +0800, Claire Chang wrote: >>> Introduce the new compatible string, restricted-dma-pool, for restricted >>> DMA. One can specify the address an

[PATCH net v2] net: phy: broadcom: Add power down exit reset state delay

2021-03-10 Thread Florian Fainelli
e for BCM54810") Signed-off-by: Florian Fainelli --- Changes in v2: - make it build by using flseep() drivers/net/phy/broadcom.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c index fa0be591ae79..ad51f1889435 100644 --- a/drive

Re: [PATCH 5.10 00/47] 5.10.23-rc2 review

2021-03-10 Thread Florian Fainelli
stable-review/patch-5.10.23-rc2.gz > or in the git tree and branch at: > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-5.10.y > and the diffstat can be found below. > > thanks, > > greg k-h On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels: Tested-by: Florian Fainelli -- Florian

Re: [PATCH 4.9 00/11] 4.9.261-rc1 review

2021-03-10 Thread Florian Fainelli
stable-review/patch-4.9.261-rc1.gz > or in the git tree and branch at: > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-4.9.y > and the diffstat can be found below. > > thanks, > > greg k-h On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels: Tested-by: Florian Fainelli -- Florian

Re: [PATCH 5.4 00/24] 5.4.105-rc1 review

2021-03-10 Thread Florian Fainelli
+Alex, On 3/10/2021 5:24 AM, gre...@linuxfoundation.org wrote: > From: Greg Kroah-Hartman > > This is the start of the stable review cycle for the 5.4.105 release. > There are 24 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being ap

Re: [PATCH net] net: dsa: mt7530: setup core clock even in TRGMII mode

2021-03-10 Thread Florian Fainelli
ly in TRGMII mode after a reset. > > Reconfigure core clock in TRGMII mode to fix the issue. > > Tested on Ubiquiti ER-X (MT7621) with TRGMII mode enabled. > > Fixes: 3f9ef7785a9c ("MIPS: ralink: manage low reset lines") > Signed-off-by: Ilya Lipnitskiy Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH 3/3] net: dsa: mt7530: setup core clock even in TRGMII mode

2021-03-10 Thread Florian Fainelli
On 3/10/2021 7:17 PM, Ilya Lipnitskiy wrote: > Hi Vladimir, > > On Wed, Mar 10, 2021 at 3:10 PM Vladimir Oltean wrote: >> >> Hello Ilya, >> >> On Wed, Mar 10, 2021 at 01:14:20PM -0800, Ilya Lipnitskiy wrote: >>> 3f9ef7785a9c ("MIPS: ralink: manage low reset lines") made it so mt7530 >>> actual

Re: [PATCH net-next] net: phy: Expose phydev::dev_flags through sysfs

2021-03-10 Thread Florian Fainelli
On 3/10/21 2:48 PM, Jakub Kicinski wrote: > On Wed, 10 Mar 2021 14:12:43 -0800 Florian Fainelli wrote: >> phydev::dev_flags contains a bitmask of configuration bits requested by >> the consumer of a PHY device (Ethernet MAC or switch) towards the PHY >> driver. Since these fla

[PATCH net] net: dsa: bcm_sf2: Qualify phydev->dev_flags based on port

2021-03-10 Thread Florian Fainelli
ith a completely different interpretation depending on the driver. Fixes: aa9aef77c761 ("net: dsa: bcm_sf2: communicate integrated PHY revision to PHY driver") Signed-off-by: Florian Fainelli --- drivers/net/dsa/bcm_sf2.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) di

[PATCH net-next] net: phy: Expose phydev::dev_flags through sysfs

2021-03-10 Thread Florian Fainelli
is useful. Signed-off-by: Florian Fainelli --- Documentation/ABI/testing/sysfs-class-net-phydev | 12 drivers/net/phy/phy_device.c | 11 +++ 2 files changed, 23 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-class-net-phydev b/Documentation

[PATCH net-next] net: dsa: b53: Add debug prints in b53_vlan_enable()

2021-03-10 Thread Florian Fainelli
Having dynamic debug prints in b53_vlan_enable() has been helpful to uncover a recent but update the function to indicate the port being configured (or -1 for initial setup) and include the global VLAN enabled and VLAN filtering enable status. Signed-off-by: Florian Fainelli --- drivers/net/dsa

[PATCH net] net: dsa: b53: VLAN filtering is global to all users

2021-03-10 Thread Florian Fainelli
: Let DSA handle mismatched VLAN filtering settings") Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/dsa/b53/b53_common.c b/drivers/net/dsa/b53/b53_common.c index a1

Re: [PATCH v7 2/2] ARM: ftrace: Add MODULE_PLTS support

2021-03-10 Thread Florian Fainelli
On 3/9/2021 11:23 PM, Alexander Sverdlin wrote: > Hi! > > On 09/03/2021 18:42, Qais Yousef wrote: I tried on 5.12-rc2 and 5.11 but couldn't reproduce the problem using your >> I still can't reproduce on 5.12-rc2. >> >> I do have CONFIG_ARM_MODULE_PLTS=y. Do you need to do something else af

Re: [PATCH v6 2/3] dt-bindings: rng: bcm2835: document reset support

2021-03-08 Thread Florian Fainelli
On 3/4/21 11:01 PM, Álvaro Fernández Rojas wrote: > brcm,bcm6368-rng controllers require resetting the IPSEC clock in order to get > a functional RNG. > > Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli -- Florian

Re: [PATCH v6 1/3] dt-bindings: rng: bcm2835: add clock constraints

2021-03-08 Thread Florian Fainelli
On 3/4/21 11:01 PM, Álvaro Fernández Rojas wrote: > brcm,bcm6368-rng controllers require enabling the IPSEC clock in order to get > a functional RNG. > > Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli -- Florian

Re: [PATCH v6 3/3] hwrng: bcm2835: add reset support

2021-03-08 Thread Florian Fainelli
1-10-10) Continuous run: 0 > rngtest: input channel speed: (min=37.253; avg=320.827; max=635.783)Mibits/s > rngtest: FIPS tests speed: (min=12.141; avg=15.034; max=16.428)Mibits/s > rngtest: Program run time: 1336176 microseconds > > Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli -- Florian

Re: [PATCH] net: dsa: b53: mmap: Add device tree support

2021-03-08 Thread Florian Fainelli
On 3/8/21 10:07 AM, Álvaro Fernández Rojas wrote: > Add device tree support to b53_mmap.c while keeping platform devices support. > > Signed-off-by: Álvaro Fernández Rojas > --- > drivers/net/dsa/b53/b53_mmap.c | 36 ++ > 1 file changed, 36 insertions(+) > > diff

Re: [PATCH] net: dsa: b53: relax is63xx() condition

2021-03-08 Thread Florian Fainelli
On 3/8/21 10:08 AM, Álvaro Fernández Rojas wrote: > BCM63xx switches are present on bcm63xx and bmips devices. > > Signed-off-by: Álvaro Fernández Rojas Acked-by: Florian Fainelli Since you are targeting net-next, please make it clear in the patch subject next time: https://git.k

Re: [PATCH v3] MIPS: kernel: Reserve exception base early to prevent corruption

2021-03-08 Thread Florian Fainelli
> - reserve 0..0x400 for all CPUs without ebase register and >to addtional reserve_exception_space for BMIPS CPUs Thomas, do you mind CC'ing me for subsequent versions so you can get a chance to have a Tested-by tag? Thank you! Tested-by: Florian Fainelli -- Florian

Re: [PATCH 5.10 00/42] 5.10.22-rc1 review

2021-03-08 Thread Florian Fainelli
t tree and branch at: > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-5.10.y > and the diffstat can be found below. > > thanks, > > greg k-h On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels: Tested-by: Florian Fainelli -- Florian

Re: [PATCH 5.4 00/22] 5.4.104-rc1 review

2021-03-08 Thread Florian Fainelli
gt; or in the git tree and branch at: > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-5.4.y > and the diffstat can be found below. > > thanks, > > greg k-h On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels: Tested-by: Florian Fainelli -- Florian

Re: [PATCH v2] MIPS: kernel: Reserve exception base early to prevent corruption

2021-03-06 Thread Florian Fainelli
> > Fixes: 2dcb39645441 ("memblock: do not start bottom-up allocations with > kernel_end") > Reported-by: Kamal Dasu > Debugged-by: Serge Semin > Signed-off-by: Thomas Bogendoerfer Tested-by: Florian Fainelli Thanks! -- Florian

Re: [PATCH 5.10 000/102] 5.10.21-rc1 review

2021-03-05 Thread Florian Fainelli
gt; or in the git tree and branch at: > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-5.10.y > and the diffstat can be found below. > > thanks, On ARCH_BRCMSTB, using 32-bit and 64-bit ARM kernels: Tested-by: Florian Fainelli -- Florian

Re: [PATCH 5.4 00/72] 5.4.103-rc1 review

2021-03-05 Thread Florian Fainelli
gt; or in the git tree and branch at: > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-5.4.y > and the diffstat can be found below. > > thanks, > > greg k-h > On ARCH_BRCMSTB, using 32-bit and 64-bit ARM kernels: Tested-by: Florian Fainelli -- Florian

Re: [PATCH] arch: mips: bcm63xx: Spello fix in the file clk.c

2021-03-05 Thread Florian Fainelli
On 3/4/2021 6:05 PM, Bhaskar Chowdhury wrote: > > > s/revelant/relevant/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Florian Fainelli Previous changes to this file/directory usually used MIPS: BCM63XX: as a subject prefix, maybe Thomas can fix it up while applying

Re: [PATCH 4.9 00/41] 4.9.260-rc1 review

2021-03-05 Thread Florian Fainelli
gt; or in the git tree and branch at: > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-4.9.y > and the diffstat can be found below. > > thanks, On ARCH_BRCMSTB, using 32-bit and 64-bit ARM kernels: Tested-by: Florian Fainelli -- Florian

Re: [PATCH net-next v2 3/3] net: phy: broadcom: Allow BCM54210E to configure APD

2021-03-05 Thread Florian Fainelli
On 3/4/2021 5:08 PM, Vladimir Oltean wrote: > On Tue, Mar 02, 2021 at 07:37:34PM -0800, Florian Fainelli wrote: >> Took a while but for the 54210E reference board here are the numbers, >> your mileage will vary depending on the supplies, regulator efficiency >> and PCB

Re: [PATCH] hwrng: bcm2835: set quality to 1000

2021-03-04 Thread Florian Fainelli
On 3/4/21 7:11 AM, Nicolas Saenz Julienne wrote: > On Wed, 2021-03-03 at 10:29 +0100, Álvaro Fernández Rojas wrote: >> Hi Herbert, >> >>> El 3 mar 2021, a las 10:20, Herbert Xu >>> escribió: >>> >>> On Sat, Feb 20, 2021 at 08:12:45PM +0100, Álvaro Fernández Rojas wrote: I ran rngtest an

Re: [PATCH] MIPS: kernel: Reserve exception base early to prevent corruption

2021-03-03 Thread Florian Fainelli
On 3/3/21 1:14 PM, Serge Semin wrote: > Hello Thomas, > Thanks for the patch. My comments are below. > > On Wed, Mar 03, 2021 at 07:57:13PM +0100, Thomas Bogendoerfer wrote: >> BMIPS is one of the few platforms that do change the exception base. >> After commit 2dcb39645441 ("memblock: do not sta

Re: [PATCH v4 2/2] hwrng: bcm2835: add reset support

2021-03-03 Thread Florian Fainelli
On 3/3/21 6:06 AM, Álvaro Fernández Rojas wrote: > Hi Philipp, > >> El 3 mar 2021, a las 14:52, Philipp Zabel escribió: >> >> Hi Álvaro, >> >> On Wed, 2021-02-24 at 09:22 +0100, Álvaro Fernández Rojas wrote: >> [...] >>> @@ -115,6 +121,8 @@ static void bcm2835_rng_cleanup(struct hwrng *rng) >>>

Re: [RFC net-next] net: dsa: rtl8366rb: support bridge offloading

2021-03-03 Thread Florian Fainelli
On 2/23/2021 10:12 PM, DENG Qingfang wrote: > Use port isolation registers to configure bridge offloading. > Remove the VLAN init, as we have proper CPU tag and bridge offloading > support now. > > Signed-off-by: DENG Qingfang > --- > This is not tested, as I don't have a RTL8366RB board. And

Re: [PATCH net-next v2 3/3] net: phy: broadcom: Allow BCM54210E to configure APD

2021-03-03 Thread Florian Fainelli
On 2/14/2021 8:29 PM, Florian Fainelli wrote: > > > On 2/13/2021 2:42 AM, Vladimir Oltean wrote: >> On Fri, Feb 12, 2021 at 07:46:32PM -0800, Florian Fainelli wrote: >>> BCM54210E/BCM50212E has been verified to work correctly with the >>> auto

Re: [PATCH] MIPS: BMIPS: Reserve exception base to prevent corruption

2021-03-03 Thread Florian Fainelli
On 3/2/2021 3:54 PM, Thomas Bogendoerfer wrote: > On Mon, Mar 01, 2021 at 08:19:38PM -0800, Florian Fainelli wrote: >> BMIPS is one of the few platforms that do change the exception base. >> After commit 2dcb39645441 ("memblock: do not start bottom-up allocations >> wi

Re: [PATCH 4.9 000/134] 4.9.259-rc3 review

2021-03-02 Thread Florian Fainelli
gt; or in the git tree and branch at: > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-4.9.y > and the diffstat can be found below. > > thanks, > > greg k-h On ARCH_BRCMSTB, using 32-bit and 64-bit ARM kernel: Tested-by: Florian Fainelli -- Florian

Re: [PATCH 5.4 000/337] 5.4.102-rc5 review

2021-03-02 Thread Florian Fainelli
gt; or in the git tree and branch at: > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-5.4.y > and the diffstat can be found below. > > thanks, > > greg k-h On ARCH_BRCMSTB, using 32-bit and 64-bit ARM kernel: Tested-by: Florian Fainelli -- Florian

Re: [PATCH 5.10 000/657] 5.10.20-rc4 review

2021-03-02 Thread Florian Fainelli
gt; or in the git tree and branch at: > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-5.10.y > and the diffstat can be found below. > > thanks, > > greg k-h On ARCH_BRCMSTB, using 32-bit and 64-bit ARM kernel: Tested-by: Florian Fainelli -- Florian

Re: [PATCH stblinux.git 2/2] firmware: bcm47xx_nvram: support platform device "brcm,nvram"

2021-03-02 Thread Florian Fainelli
On 3/1/21 11:44 PM, Rafał Miłecki wrote: > From: Rafał Miłecki > > Add support for platform device providing mapping resource. This allows > reading NVRAM based on DT mapping binding. It's required for devices > that boot depending on NVRAM stored setup and provides early access to > NVRAM data.

[PATCH] MIPS: BMIPS: Reserve exception base to prevent corruption

2021-03-02 Thread Florian Fainelli
ved memory. Huge thanks to Serget for analysing and proposing a solution to this issue. Fixes: Fixes: 2dcb39645441 ("memblock: do not start bottom-up allocations with kernel_end") Debugged-by: Serge Semin Reported-by: Kamal Dasu Signed-off-by: Florian Fainelli --- Thomas, This is in

Re: [PATCH v2 2/2] memblock: do not start bottom-up allocations with kernel_end

2021-03-02 Thread Florian Fainelli
On 3/1/2021 1:22 AM, Serge Semin wrote: > On Sun, Feb 28, 2021 at 07:50:45PM -0800, Florian Fainelli wrote: >> Hi Serge, >> >> On 2/28/2021 3:08 PM, Serge Semin wrote: >>> Hi folks, >>> What you've got here seems a more complicated problem than it &g

Re: [PATCH 5.10 000/661] 5.10.20-rc2 review

2021-03-01 Thread Florian Fainelli
gt; or in the git tree and branch at: > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-5.10.y > and the diffstat can be found below. > > thanks, > > greg k-h On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels: Tested-by: Florian Fainelli -- Florian

Re: [PATCH 5.4 000/338] 5.4.102-rc2 review

2021-03-01 Thread Florian Fainelli
gt; or in the git tree and branch at: > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-5.4.y > and the diffstat can be found below. > > thanks, > > greg k-h On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels: Tested-by: Florian Fainelli -- Florian

Re: [PATCH 4.9 000/134] 4.9.259-rc1 review

2021-03-01 Thread Florian Fainelli
gt; or in the git tree and branch at: > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-4.9.y > and the diffstat can be found below. > > thanks, > > greg k-h On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels: Tested-by: Florian Fainelli Thanks! -- Florian

Re: [PATCH v2 2/2] memblock: do not start bottom-up allocations with kernel_end

2021-02-28 Thread Florian Fainelli
e discovered problem. Please also note that I haven't got any > Broadcom hardware to test out a solution suggested below.) > > On Sun, Feb 28, 2021 at 10:19:51AM -0800, Florian Fainelli wrote: >> Hi Mike, >> >> On 2/28/2021 1:00 AM, Mike Rapoport wrote: >>>

Re: [PATCH v2 2/2] memblock: do not start bottom-up allocations with kernel_end

2021-02-28 Thread Florian Fainelli
Hi Mike, On 2/28/2021 1:00 AM, Mike Rapoport wrote: > Hi Florian, > > On Sat, Feb 27, 2021 at 08:18:47PM -0800, Florian Fainelli wrote: >> >> On 12/17/2020 12:12 PM, Roman Gushchin wrote: >>> With kaslr the kernel image is placed at a random place, so starting >

Re: [PATCH net] net: dsa: tag_rtl4_a: fix egress tags

2021-02-28 Thread Florian Fainelli
r". > > Fixes: 86dd9868b878 ("net: dsa: tag_rtl4_a: Support also egress tags") > Signed-off-by: DENG Qingfang Reviewed-by: Florian Fainelli -- Florian

Re: [PATCH v2 2/2] memblock: do not start bottom-up allocations with kernel_end

2021-02-27 Thread Florian Fainelli
On 12/17/2020 12:12 PM, Roman Gushchin wrote: > With kaslr the kernel image is placed at a random place, so starting > the bottom-up allocation with the kernel_end can result in an > allocation failure and a warning like this one: > > [0.002920] hugetlb_cma: reserve 2048 MiB, up to 2048 MiB

Re: [PATCH 5.10 00/23] 5.10.19-rc1 review

2021-02-25 Thread Florian Fainelli
gt; or in the git tree and branch at: > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-5.10.y > and the diffstat can be found below. > > thanks, > > greg k-h On ARCH_BRCMSTB, using 32-bit and 64-bit ARM: Tested-by: Florian Fainelli -- Florian

Re: [PATCH 5.4 00/17] 5.4.101-rc1 review

2021-02-25 Thread Florian Fainelli
gt; or in the git tree and branch at: > > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > linux-5.4.y > and the diffstat can be found below. > > thanks, > > greg k-h On ARCH_BRCMSTB, using 32-bit and 64-bit ARM: Tested-by: Florian Fainelli -- Florian

Re: [PATCH stable 0/8] net: dsa: b53: Correct learning for standalone ports

2021-02-25 Thread Florian Fainelli
On 2/25/2021 9:11 AM, Greg KH wrote: > On Thu, Feb 25, 2021 at 08:53:22AM -0800, Florian Fainelli wrote: >> >> >> On 2/25/2021 12:15 AM, Greg KH wrote: >>> On Wed, Feb 24, 2021 at 05:08:53PM -0800, Florian Fainelli wrote: >>>> From: Florian Fainelli

Re: [PATCH stable 0/8] net: dsa: b53: Correct learning for standalone ports

2021-02-25 Thread Florian Fainelli
On 2/25/2021 12:15 AM, Greg KH wrote: > On Wed, Feb 24, 2021 at 05:08:53PM -0800, Florian Fainelli wrote: >> From: Florian Fainelli >> >> Hi Greg, Sasha, Jaakub and David, >> >> This patch series contains backports for a change that recently mad

[PATCH stable-5.10.y] net: dsa: b53: Correct learning for standalone ports

2021-02-24 Thread Florian Fainelli
b3d42 ("Merge branch 'brport-flags'") which is why we default to enabling learning when the ports gets added as a bridge member. Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch") Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common

[PATCH stable-5.11.y] net: dsa: b53: Correct learning for standalone ports

2021-02-24 Thread Florian Fainelli
b3d42 ("Merge branch 'brport-flags'") which is why we default to enabling learning when the ports gets added as a bridge member. Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch") Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common

[PATCH stable-5.9.y] net: dsa: b53: Correct learning for standalone ports

2021-02-24 Thread Florian Fainelli
b3d42 ("Merge branch 'brport-flags'") which is why we default to enabling learning when the ports gets added as a bridge member. Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch") Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common

[PATCH stable-5.8.y] net: dsa: b53: Correct learning for standalone ports

2021-02-24 Thread Florian Fainelli
b3d42 ("Merge branch 'brport-flags'") which is why we default to enabling learning when the ports gets added as a bridge member. Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch") Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common

[PATCH stable-5.4.y] net: dsa: b53: Correct learning for standalone ports

2021-02-24 Thread Florian Fainelli
b3d42 ("Merge branch 'brport-flags'") which is why we default to enabling learning when the ports gets added as a bridge member. Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch") Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common

[PATCH stable-4.19.y] net: dsa: b53: Correct learning for standalone ports

2021-02-24 Thread Florian Fainelli
b3d42 ("Merge branch 'brport-flags'") which is why we default to enabling learning when the ports gets added as a bridge member. Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch") Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common.

[PATCH stable-4.14.y] net: dsa: b53: Correct learning for standalone ports

2021-02-24 Thread Florian Fainelli
b3d42 ("Merge branch 'brport-flags'") which is why we default to enabling learning when the ports gets added as a bridge member. Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch") Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common.c

<    1   2   3   4   5   6   7   8   9   10   >