[PATCH v3] perf: tests: Disable breakpoint tests on ARM (32-bit)

2018-12-03 Thread Florian Fainelli
]: https://lkml.org/lkml/2018/11/15/205 As Will indicated, the overflow handling would require single-stepping which is not supported at the moment. Just disable those tests for the ARM 32-bit platforms and update the comment above to explain these limitations. Signed-off-by: Florian Fainelli

Re: Adding a Basic DT for the Linksys ea6500 v2 wireless home router

2018-11-30 Thread Florian Fainelli
On 11/27/18 6:09 PM, René Kjellerup wrote: > > On Tue, Nov 27, 2018 at 4:23 PM Florian Fainelli <mailto:f.faine...@gmail.com>> wrote: >> >> >> >> On 11/26/18 4:49 PM, René Kjellerup wrote: >> > To the broadcom kernel maintainers, (for BCM4708 CPUs)

Re: [PATCH net] net: dsa: Fix tagging attribute location

2018-11-28 Thread Florian Fainelli
On 11/28/18 1:40 PM, Florian Fainelli wrote: > While introducing the DSA tagging protocol attribute, it was added to the DSA > slave network devices, but those actually see untagged traffic (that is their > whole purpose). Correct this mistake by putting the tagging sysfs attribut

Re: [GIT PULL 4/4] bcm2835-dt-next-2018-11-27

2018-11-28 Thread Florian Fainelli
On 11/27/18 1:13 PM, Eric Anholt wrote: > Hi Florian, > > The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: > > Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) > > are available in the Git repository at: > > git://github.com/anholt/linux

Re: [GIT PULL 3/4] bcm2835-drivers-next-2018-11-27

2018-11-28 Thread Florian Fainelli
On 11/27/18 1:13 PM, Eric Anholt wrote: > Hi Florian, > > The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: > > Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) > > are available in the Git repository at: > > git://github.com/anholt/linux

Re: [GIT PULL 1/4] bcm2835-defconfig-next-2018-11-27

2018-11-28 Thread Florian Fainelli
On 11/27/18 1:12 PM, Eric Anholt wrote: > Hi Florian, > > Hopefully I'm not too late this time around. Stefan's been doing a > great job maintaining the bcm2835 branches, and was waiting for me to > send the PRs. > > The following changes since commit

Re: [GIT PULL 2/4] bcm2835-soc-next-2018-11-27

2018-11-28 Thread Florian Fainelli
On 11/27/18 1:12 PM, Eric Anholt wrote: > Hi Florian, > > The following changes since commit 651022382c7f8da46cb4872a545ee1da6d097d2a: > > Linux 4.20-rc1 (2018-11-04 15:37:52 -0800) > > are available in the Git repository at: > > git://github.com/anholt/linux

Re: [PATCH v2] soc: bcm: brcmstb: Don't leak device tree node reference

2018-11-28 Thread Florian Fainelli
On 11/24/18 6:52 AM, Yangtao Li wrote: > of_find_node_by_path() acquires a reference to the node returned by it > and that reference needs to be dropped by its caller. soc_is_brcmstb() > doesn't do that, so fix it. > > [treding: slightly rewrite to avoid inline comparison] > > Signed-off-by:

Re: [PATCH v2] soc: bcm: brcmstb: Don't leak device tree node reference

2018-11-27 Thread Florian Fainelli
On 11/26/18 6:42 AM, Frank Lee wrote: > On Sat, Nov 24, 2018 at 10:52 PM Yangtao Li wrote: >> >> of_find_node_by_path() acquires a reference to the node returned by it >> and that reference needs to be dropped by its caller. soc_is_brcmstb() >> doesn't do that, so fix it. >> >> [treding:

Re: Adding a Basic DT for the Linksys ea6500 v2 wireless home router

2018-11-27 Thread Florian Fainelli
On 11/26/18 4:49 PM, René Kjellerup wrote: > To the broadcom kernel maintainers, (for BCM4708 CPUs) > > I just want to add a little attention to this patch again... > let me know if there's any concerns and I will try to address highlighted > issues > as soon as possible. > > I've been

[PATCH v2] perf: tests: Disable breakpoint tests on ARM (32-bit)

2018-11-26 Thread Florian Fainelli
]: https://lkml.org/lkml/2018/11/15/205 As Will indicated, the overflow handling would require single-stepping which is not supported at the moment. Just disable those tests for the ARM 32-bit platforms. Signed-off-by: Florian Fainelli --- Changes in v2: - Fix comment above test per Will's feedback

Re: [PATCH v2 0/2] perf tests: Check for ARM [vectors] page

2018-11-26 Thread Florian Fainelli
On 11/13/18 2:44 PM, Florian Fainelli wrote: > On 10/25/18 10:55 AM, Florian Fainelli wrote: >> Hi all, >> >> I just painfully learned that perf would segfault when >> CONFIG_KUSER_HELPERS is disabled because it unconditionally makes use of >> it. T

Re: [PATCH] soc: bcm: brcmstb: add of_node_put()

2018-11-21 Thread Florian Fainelli
On 11/21/2018 4:43 AM, Yangtao Li wrote: > of_find_node_by_path() acquires a reference to the node returned > by it and that reference needs to be dropped by its caller. > bl_idle_init() doesn't do that, so fix it. You probably copied/pasted this from a prior patch, the function name is

Re: [PATCH v2] pwm: kconfig: enable kona pwm to be built for cygnus arch

2018-11-21 Thread Florian Fainelli
On 11/21/2018 4:35 AM, Clément Péron wrote: > The Cygnus architecture use a Kona PWM. This is already present > in the device tree but can't be built actually. Hence, allow the > Kona PWM to be built for Cygnus arch. > > Signed-off-by: Clément Péron Reviewed-by: F

Re: [PATCH] sched: Do not bug in __sched_setscheduler() when pi is not used

2018-11-19 Thread Florian Fainelli
On 11/19/18 8:35 AM, Steven Rostedt wrote: > On Mon, 19 Nov 2018 17:24:32 +0100 > Greg KH wrote: > >> On Mon, Nov 19, 2018 at 10:46:54AM -0500, Steven Rostedt wrote: >>> On Mon, 19 Nov 2018 16:13:11 +0100 >>> Greg KH wrote: >>> > Can this patch also be applied to the stable trees? The

Re: [PATCH] serial: 8250: Default SERIAL_OF_PLATFORM to SERIAL_8250

2018-11-19 Thread Florian Fainelli
On 11/15/18 5:16 PM, Guenter Roeck wrote: > On Thu, Nov 15, 2018 at 11:48:20AM -0800, Florian Fainelli wrote: >> >> OK, would you mind testing this below? It seems to me that 8250_of.c is >> incompatible with arch/powerpc/kernel/legacy_serial.c and that is what >>

[PATCH] perf: tests: Disable breakpoint tests on ARM (32-bit)

2018-11-16 Thread Florian Fainelli
]: https://lkml.org/lkml/2018/11/15/205 As Will indicated, the overflow handling would require single-stepping which is not supported at the moment. Just disable those tests for the ARM 32-bit platforms. Signed-off-by: Florian Fainelli --- tools/perf/tests/bp_signal.c | 2 +- 1 file changed, 1

Re: [PATCH] serial: 8250: Default SERIAL_OF_PLATFORM to SERIAL_8250

2018-11-15 Thread Florian Fainelli
On 11/15/18 9:25 AM, Guenter Roeck wrote: > On Thu, Nov 15, 2018 at 09:19:14AM -0800, Florian Fainelli wrote: >> >> >> On 11/14/2018 9:38 PM, Guenter Roeck wrote: >>> On Wed, Nov 14, 2018 at 07:56:47PM -0800, Florian Fainelli wrote: >>>> >>>> &

Re: [PATCH] serial: 8250: Default SERIAL_OF_PLATFORM to SERIAL_8250

2018-11-15 Thread Florian Fainelli
On 11/14/2018 9:36 PM, Guenter Roeck wrote: > On Wed, Nov 14, 2018 at 07:56:47PM -0800, Florian Fainelli wrote: >> >> >> On November 14, 2018 5:11:25 PM PST, Guenter Roeck >> wrote: >>> On Thu, Nov 01, 2018 at 11:26:06AM -0700, Florian Fainelli wrote: >

Re: [PATCH] serial: 8250: Default SERIAL_OF_PLATFORM to SERIAL_8250

2018-11-15 Thread Florian Fainelli
On 11/14/2018 9:38 PM, Guenter Roeck wrote: > On Wed, Nov 14, 2018 at 07:56:47PM -0800, Florian Fainelli wrote: >> >> >> On November 14, 2018 5:11:25 PM PST, Guenter Roeck >> wrote: >>> On Thu, Nov 01, 2018 at 11:26:06AM -0700, Florian Fainelli wrote: >

Re: [PATCH] serial: 8250: Default SERIAL_OF_PLATFORM to SERIAL_8250

2018-11-14 Thread Florian Fainelli
On November 14, 2018 5:11:25 PM PST, Guenter Roeck wrote: >On Thu, Nov 01, 2018 at 11:26:06AM -0700, Florian Fainelli wrote: >> It is way too easy to miss enabling SERIAL_OF_PLATFORM which would >> result in the inability for the kernel to have a valid console >device, &g

Re: ARM builtin perf tests for breakpoint failures

2018-11-14 Thread Florian Fainelli
Hi Will, On 11/14/18 2:34 PM, Will Deacon wrote: > Hi Florian, > > On Wed, Nov 14, 2018 at 12:21:12PM -0800, Florian Fainelli wrote: >> I have been trying to debug some perf builtin tests on ARM 32-bit and >> found that "Breakpoint overflow signal handler" and &

Re: [PATCH] sched: Do not bug in __sched_setscheduler() when pi is not used

2018-11-14 Thread Florian Fainelli
On 3/9/17 7:18 AM, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > > When priority inheritance was added back in 2.6.18 to sched_setscheduler, it > added a path to taking an rt-mutex wait_lock, which is not IRQ safe. As PI > is not a common occurrence, lockdep will likely never

ARM builtin perf tests for breakpoint failures

2018-11-14 Thread Florian Fainelli
Hi Mark, Will, I have been trying to debug some perf builtin tests on ARM 32-bit and found that "Breakpoint overflow signal handler" and "Breakpoint overflow sampling" were failing, but there are a number of reasons for that and they may fail in seemingly unexpected ways. My perf binary is built

Re: [PATCH v2 0/2] perf tests: Check for ARM [vectors] page

2018-11-13 Thread Florian Fainelli
On 10/25/18 10:55 AM, Florian Fainelli wrote: > Hi all, > > I just painfully learned that perf would segfault when > CONFIG_KUSER_HELPERS is disabled because it unconditionally makes use of > it. This patch series adds an ARM test for that by leveraging the > existing find_v

Re: [PATCH] ARM: BCM63XX: Enable reset controller support

2018-11-12 Thread Florian Fainelli
On Mon, 5 Nov 2018 15:09:19 -0800, Florian Fainelli wrote: > Allow BCM63xx to compile support for reset controllers since we will > require a specific reset controller to release resets for on-chip > peripherals. > > Signed-off-by: Florian Fainelli > --- Applied t

Re: [PATCH] ARM: brcmstb: Add entry for 7255

2018-11-09 Thread Florian Fainelli
On 11/6/18 4:41 PM, Florian Fainelli wrote: > From: Justin Chen > > Add in BCM7255 entry and reorder entries to keep ascending order. Also > moved 7278 cause it was out of order. > > Signed-off-by: Justin Chen > Signed-off-by: Florian Fainelli Applied to soc/next, thanks! -- Florian

Re: [PATCH stable 4.9] posix-timers: Sanitize overrun handling

2018-11-08 Thread Florian Fainelli
On 11/8/18 7:46 AM, Sasha Levin wrote: > On Thu, Nov 08, 2018 at 07:48:16AM +0100, Thomas Gleixner wrote: >> Florian, >> >> On Wed, 7 Nov 2018, Florian Fainelli wrote: >>> On 11/1/18 1:02 PM, Florian Fainelli wrote: >>> > From: Thom

Re: [PATCH v5 0/3] Stingray thermal driver support

2018-11-07 Thread Florian Fainelli
On 10/16/2018 8:11 AM, Srinath Mannam wrote: > These patches adds the stingray thermal driver and its > corresponding DT nodes with documentation. Can we get feedback from the thermal maintains whether this is acceptable or not? > > Changes from v4 > - Addressed Rob Herring comments on DT

Re: [PATCH stable 4.9] posix-timers: Sanitize overrun handling

2018-11-07 Thread Florian Fainelli
On 11/1/18 1:02 PM, Florian Fainelli wrote: > From: Thomas Gleixner > > [ Upstream commit 78c9c4dfbf8c04883941445a195276bb4bb92c76 ] > > The posix timer overrun handling is broken because the forwarding functions > can return a huge number of overruns which does

[PATCH] ARM: brcmstb: Add entry for 7255

2018-11-06 Thread Florian Fainelli
From: Justin Chen Add in BCM7255 entry and reorder entries to keep ascending order. Also moved 7278 cause it was out of order. Signed-off-by: Justin Chen Signed-off-by: Florian Fainelli --- arch/arm/include/debug/brcmstb.S | 24 +--- 1 file changed, 13 insertions(+), 11

[PATCH] ARM: BCM63XX: Enable reset controller support

2018-11-05 Thread Florian Fainelli
Allow BCM63xx to compile support for reset controllers since we will require a specific reset controller to release resets for on-chip peripherals. Signed-off-by: Florian Fainelli --- arch/arm/mach-bcm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-bcm/Kconfig b/arch

Re: [PATCH] ARM: dts: NSP: Move aliases to bcm-nsp.dtsi

2018-11-05 Thread Florian Fainelli
On Mon, 29 Oct 2018 09:55:23 -0700, Florian Fainelli wrote: > All boards replicate the aliases node, move the aliases node to > bcm-nsp.dtsi and add all the serial and ethernet ports such that a boot > program like u-boot can populate MAC addresses accordingly. > > Signed-

[PATCH stable 4.9] posix-timers: Sanitize overrun handling

2018-11-01 Thread Florian Fainelli
Kerrisk Link: https://lkml.kernel.org/r/20180626132705.018623...@linutronix.de [florian: Make patch apply to v4.9.135] Signed-off-by: Florian Fainelli --- Thomas, can you review for correctness? Thanks! include/linux/posix-timers.h | 4 ++-- kernel/time/posix-cpu-timers.c | 2 +- kernel/time

Re: [PATCH] ARM64: dma: move swiotlb helpers under CONFIG_IOMMU_DMA

2018-11-01 Thread Florian Fainelli
On 11/1/18 11:53 AM, Olof Johansson wrote: > Fixes the following tinyconfig warnings: > arch/arm64/mm/dma-mapping.c:174:12: warning: '__swiotlb_mmap_pfn' defined but > not used [-Wunused-function] > arch/arm64/mm/dma-mapping.c:163:12: warning: '__swiotlb_get_sgtable_page' > defined but not used

[PATCH] serial: 8250: Default SERIAL_OF_PLATFORM to SERIAL_8250

2018-11-01 Thread Florian Fainelli
! exitcode=0x0100 Since SERIAL_OF_PLATFORM already depends on SERIAL_8250 && OF there really is no drawback to defaulting this config to the value of SERIAL_8250. Signed-off-by: Florian Fainelli --- drivers/tty/serial/8250/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/dri

Re: [PATCH v2] ARM: mm: Facilitate debugging CONFIG_KUSER_HELPERS disabled

2018-10-31 Thread Florian Fainelli
On 10/25/18 12:26 PM, Andrew Lunn wrote: > On Thu, Oct 25, 2018 at 12:01:08PM -0700, Florian Fainelli wrote: >> Some software such as perf makes unconditional use of the special >> [vectors] page which is only provided when CONFIG_KUSER_HELPERS is >> enabled in the ker

Re: [PATCH 0/2] perf tests: Check for ARM [vectors] page

2018-10-31 Thread Florian Fainelli
On 10/24/18 5:09 PM, Florian Fainelli wrote: > Hi all, > > I just painfully learned that perf would segfault when > CONFIG_KUSER_HELPERS is disabled because it unconditionally makes use of > it. This patch series adds an ARM test for that by leveraging the > existing find_v

Re: [PATCH] soc: ti: QMSS: Fix usage of irq_set_affinity_hint

2018-10-30 Thread Florian Fainelli
On 10/30/18 4:11 AM, Marc Zyngier wrote: > The Keystone QMSS driver is pretty damaged, in the sense that it > does things like this: > > irq_set_affinity_hint(irq, to_cpumask(_map)); > > where cpu_map is a local variable. As we leave the function, this > will point to nowhere-land, and

[PATCH 5/6] arm64: Utilize ARCH_HAS_PHYS_INITRD

2018-10-29 Thread Florian Fainelli
which would do that for us. Signed-off-by: Florian Fainelli --- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/memory.h | 8 arch/arm64/mm/init.c| 23 +++ 3 files changed, 12 insertions(+), 20 deletions(-) diff --git a/arch/arm64/Kconfig b

[PATCH 3/6] arch: Define ARCH_HAS_PHYS_INITRD for ARM and Unicore32

2018-10-29 Thread Florian Fainelli
Make ARM and Unicore32 select ARCH_HAS_PHYS_INITRD meaning that they do define phys_initrd_start/phys_initrd_size and make use of it. Signed-off-by: Florian Fainelli --- arch/Kconfig | 7 +++ arch/arm/Kconfig | 1 + arch/unicore32/Kconfig | 1 + 3 files changed, 9 insertions

[PATCH 2/6] arch: Make phys_initrd_start and phys_initrd_size global variables

2018-10-29 Thread Florian Fainelli
Make phys_initrd_start and phys_initrd_size global variables that will later be referenced by generic code under drivers/of/fdt.c. Signed-off-by: Florian Fainelli --- arch/arm/mm/init.c | 4 ++-- arch/unicore32/mm/init.c | 4 ++-- include/linux/initrd.h | 3 +++ 3 files changed, 7

[PATCH 6/6] of/fdt: Remove definition check for __early_init_dt_declare_initrd()

2018-10-29 Thread Florian Fainelli
With the one and only architecture (ARM64) no longer defining a custom __early_init_dt_declare_initrd() function, just get rid of the check for that function being already defined. Signed-off-by: Florian Fainelli --- drivers/of/fdt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers

[PATCH 4/6] of/fdt: Populate phys_initrd_start/phys_initrd_size from FDT

2018-10-29 Thread Florian Fainelli
If the architecture implements ARCH_HAS_PHYS_INITRD, make the FDT scanning code populate the physical address of the start of the FDT and its size. Signed-off-by: Florian Fainelli --- arch/arm/mm/init.c | 2 +- drivers/of/fdt.c | 4 2 files changed, 5 insertions(+), 1 deletion(-) diff

[PATCH 1/6] nds32: Remove phys_initrd_start and phys_initrd_size

2018-10-29 Thread Florian Fainelli
This will conflict with a subsequent change making phys_initrd_start and phys_initrd_size global variables. nds32 does not make use of those nor provides a suitable declarations so just get rid of them. Signed-off-by: Florian Fainelli --- arch/nds32/mm/init.c | 2 -- 1 file changed, 2 deletions

[PATCH 0/6] arm64: Get rid of __early_init_dt_declare_initrd()

2018-10-29 Thread Florian Fainelli
and do the righ physical to virtual address conversion. Rob, hopefully this is what you had in mind. Previous discussions/submissions list here: v3: https://www.spinics.net/lists/arm-kernel/msg683566.html v2: https://lkml.org/lkml/2018/10/25/4 Florian Fainelli (6): nds32: Remove

Re: [PATCH 1/2 v5] arm64: Get rid of __early_init_dt_declare_initrd()

2018-10-29 Thread Florian Fainelli
On 10/29/18 12:59 PM, Rob Herring wrote: > +Ard who last touched this. > > On Mon, Oct 29, 2018 at 2:23 PM Florian Fainelli wrote: >> >> ARM64 is the only architecture that re-defines >> __early_init_dt_declare_initrd() in order for that function to populate

[PATCH 1/2 v5] arm64: Get rid of __early_init_dt_declare_initrd()

2018-10-29 Thread Florian Fainelli
to physical conversion of these addresses in arm64_memblock_init() where relevant. Signed-off-by: Florian Fainelli Signed-off-by: Mike Rapoport --- arch/arm64/include/asm/memory.h | 8 --- arch/arm64/mm/init.c| 42 + 2 files changed, 27 insertions(+), 23

[PATCH 0/2 v5] arm64: Get rid of __early_init_dt_declare_initrd()

2018-10-29 Thread Florian Fainelli
in the asm-generic/initrd.h file - trim down the CC list to maximize the chances of people receiving this Florian Fainelli (2): arm64: Get rid of __early_init_dt_declare_initrd() of/fdt: Remove definition check for __early_init_dt_declare_initrd() arch/arm64/include/asm/memory.h | 8

[PATCH 2/2 v5] of/fdt: Remove definition check for __early_init_dt_declare_initrd()

2018-10-29 Thread Florian Fainelli
With the one and only architecture (ARM64) no longer defining a custom __early_init_dt_declare_initrd() function, just get rid of the check for that function being already defined. Signed-off-by: Florian Fainelli --- drivers/of/fdt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers

[PATCH] ARM: dts: NSP: Move aliases to bcm-nsp.dtsi

2018-10-29 Thread Florian Fainelli
All boards replicate the aliases node, move the aliases node to bcm-nsp.dtsi and add all the serial and ethernet ports such that a boot program like u-boot can populate MAC addresses accordingly. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/bcm-nsp.dtsi | 8 arch/arm/boot

Re: [PATCH v4 1/2] arm64: Get rid of __early_init_dt_declare_initrd()

2018-10-29 Thread Florian Fainelli
Hi Mike, On 10/27/18 2:13 AM, Mike Rapoport wrote: > Hi Florian, > > On Fri, Oct 26, 2018 at 03:39:50PM -0700, Florian Fainelli wrote: >> ARM64 is the only architecture that re-defines >> __early_init_dt_declare_initrd() in order for that function to populate >&

[PATCH v4 1/2] arm64: Get rid of __early_init_dt_declare_initrd()

2018-10-26 Thread Florian Fainelli
to physical conversion of these addresses in arm64_memblock_init() where relevant. Signed-off-by: Florian Fainelli --- arch/arm64/include/asm/memory.h | 8 arch/arm64/mm/init.c| 26 -- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/arch/arm64

[PATCH v4 0/2] arm64: Get rid of __early_init_dt_declare_initrd()

2018-10-26 Thread Florian Fainelli
to maximize the chances of people receiving this Florian Fainelli (2): arm64: Get rid of __early_init_dt_declare_initrd() of/fdt: Remove definition check for __early_init_dt_declare_initrd() arch/arm64/include/asm/memory.h | 8 arch/arm64/mm/init.c| 26

[PATCH v4 2/2] of/fdt: Remove definition check for __early_init_dt_declare_initrd()

2018-10-26 Thread Florian Fainelli
With the one and only architecture (ARM64) no longer defining a custom __early_init_dt_declare_initrd() function, just get rid of the check for that function being already defined. Signed-off-by: Florian Fainelli --- drivers/of/fdt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers

Re: [PATCH v2 0/2] arm64: Cut rebuild time when changing CONFIG_BLK_DEV_INITRD

2018-10-26 Thread Florian Fainelli
On 10/26/18 4:07 AM, Mike Rapoport wrote: > On Thu, Oct 25, 2018 at 04:07:13PM -0700, Florian Fainelli wrote: >> On 10/25/18 2:13 PM, Rob Herring wrote: >>> On Thu, Oct 25, 2018 at 12:30 PM Mike Rapoport wrote: >>>> >>>> On Thu, Oct 25, 2018 at 08:15

[PATCH v2] ARM: mm: Facilitate debugging CONFIG_KUSER_HELPERS disabled

2018-10-25 Thread Florian Fainelli
. Suggested-by: Russell King Signed-off-by: Florian Fainelli --- arch/arm/mm/fault.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index f4ea4c62c613..58f69fa07df9 100644 --- a/arch/arm/mm/fault.c +++ b/arch/arm/mm/fault.c @@ -173,6 +173,12

Re: [PATCH] ARM: mm: Facilitate debugging CONFIG_KUSER_HELPERS disabled

2018-10-25 Thread Florian Fainelli
On 10/25/18 11:25 AM, Eric W. Biederman wrote: > Florian Fainelli writes: > >> Some software such as perf makes unconditional use of the special >> [vectors] page which is only provided when CONFIG_KUSER_HELPERS is >> enabled in the kernel. >> >> Facilit

Re: [PATCH] ARM: mm: Facilitate debugging CONFIG_KUSER_HELPERS disabled

2018-10-25 Thread Florian Fainelli
On 10/25/18 11:30 AM, Souptick Joarder wrote: > On Thu, Oct 25, 2018 at 11:40 PM Florian Fainelli > wrote: >> >> Some software such as perf makes unconditional use of the special >> [vectors] page which is only provided when CONFIG_KUSER_HELPERS is >> enabled i

[PATCH] ARM: mm: Facilitate debugging CONFIG_KUSER_HELPERS disabled

2018-10-25 Thread Florian Fainelli
. Suggested-by: Russell King Signed-off-by: Florian Fainelli --- arch/arm/mm/fault.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index f4ea4c62c613..f17471fbc1c4 100644 --- a/arch/arm/mm/fault.c +++ b/arch/arm/mm/fault.c @@ -173,6 +173,11

[PATCH v2 2/2] perf tests: Add a test for the ARM 32-bit [vectors] page

2018-10-25 Thread Florian Fainelli
perf on ARM requires CONFIG_KUSER_HELPERS to be turned on to allow some independance with respect to the ARM CPU being used. Add a test which tries to locate the [vectors] page, created when CONFIG_KUSER_HELPERS is turned on to help asses the system's health. Signed-off-by: Florian Fainelli

[PATCH v2 1/2] perf tools: Make find_vdso_map() more modular

2018-10-25 Thread Florian Fainelli
In preparation for checking that the vectors page on the ARM architecture, refactor the find_vdso_map() function to accept finding an arbitrary string and create a dedicated helper function for that under util/find-map.c and update find_vdso_map() to use it. Signed-off-by: Florian Fainelli

[PATCH v2 0/2] perf tests: Check for ARM [vectors] page

2018-10-25 Thread Florian Fainelli
within /proc/self/maps. Changes in v2: - use strlen() instead of sizeof() -1 since we made the page name a parameter - use TEST_OK/TEST_FAIL in lieu of 0/-1 - added an error message indicating CONFIG_KUSER_HELPERS might be disabled Florian Fainelli (2): perf tools: Make find_vdso_map() more

Re: [PATCH 2/2] perf tests: Add a test for the ARM 32-bit [vectors] page

2018-10-25 Thread Florian Fainelli
On 10/25/18 10:32 AM, Russell King - ARM Linux wrote: > On Thu, Oct 25, 2018 at 10:19:54AM -0700, Florian Fainelli wrote: >> On 10/24/18 7:10 PM, Andrew Lunn wrote: >>> On Wed, Oct 24, 2018 at 05:09:05PM -0700, Florian Fainelli wrote: >>>> perf on ARM requires CON

Re: [PATCH 2/2] perf tests: Add a test for the ARM 32-bit [vectors] page

2018-10-25 Thread Florian Fainelli
On 10/24/18 7:10 PM, Andrew Lunn wrote: > On Wed, Oct 24, 2018 at 05:09:05PM -0700, Florian Fainelli wrote: >> perf on ARM requires CONFIG_KUSER_HELPERS to be turned on to allow some >> independance with respect to the ARM CPU being used. Add a test which >> tries to loca

[PATCH v3 3/3] of/fdt: Remove definition check for __early_init_dt_declare_initrd

2018-10-24 Thread Florian Fainelli
With ARM64 no longer providing a custom __early_init_dt_declare_initrd() in its headers, and no other architecture doing something similar, remove the check for __early_init_dt_declare_initrd being already defined since we now have the one and only definition for it. Signed-off-by: Florian

[PATCH v3 2/3] arm64: Remove custom __early_init_dt_declare_initrd implenentation

2018-10-24 Thread Florian Fainelli
Now that drivers/of/fdt.c includes the proper implementation for ARM64, we can get rid of our custom __early_init_dt_declare_initrd() implementation. Signed-off-by: Florian Fainelli --- arch/arm64/include/asm/memory.h | 8 1 file changed, 8 deletions(-) diff --git a/arch/arm64/include

[PATCH v3 0/3] of/fdt: Absorb ARM64's __early_init_dt_declare_initrd()

2018-10-24 Thread Florian Fainelli
that. https://www.spinics.net/lists/devicetree/msg255512.html Florian Fainelli (3): of/fdt: Absorb ARM64's __early_init_dt_declare_initrd() arm64: Remove custom __early_init_dt_declare_initrd implenentation of/fdt: Remove definition check for __early_init_dt_declare_initrd arch/arm64

[PATCH v3 1/3] of/fdt: Absorb ARM64's __early_init_dt_declare_initrd()

2018-10-24 Thread Florian Fainelli
ARM64 is the only architecture that requires a re-definition of __early_init_dt_declare_initrd(), absorb its custom implemention in drivers/of/fdt.c. Suggested-by: Rob Herring --- drivers/of/fdt.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index

Re: [PATCH 1/2] perf tools: Make find_vdso_map() more modular

2018-10-24 Thread Florian Fainelli
On 10/24/18 5:09 PM, Florian Fainelli wrote: > In preparation for checking that the vectors page on the ARM > architecture, refactor the find_vdso_map() function to accept finding an > arbitrary string and create a dedicated helper function for that under > util/find-map.c and update f

[PATCH 1/2] perf tools: Make find_vdso_map() more modular

2018-10-24 Thread Florian Fainelli
In preparation for checking that the vectors page on the ARM architecture, refactor the find_vdso_map() function to accept finding an arbitrary string and create a dedicated helper function for that under util/find-map.c and update find_vdso_map() to use it. Signed-off-by: Florian Fainelli

[PATCH 2/2] perf tests: Add a test for the ARM 32-bit [vectors] page

2018-10-24 Thread Florian Fainelli
perf on ARM requires CONFIG_KUSER_HELPERS to be turned on to allow some independance with respect to the ARM CPU being used. Add a test which tries to locate the [vectors] page, created when CONFIG_KUSER_HELPERS is turned on to help asses the system's health. Signed-off-by: Florian Fainelli

[PATCH 0/2] perf tests: Check for ARM [vectors] page

2018-10-24 Thread Florian Fainelli
within /proc/self/maps. Florian Fainelli (2): perf tools: Make find_vdso_map() more modular perf tests: Add a test for the ARM 32-bit [vectors] page tools/perf/arch/arm/tests/Build | 1 + tools/perf/arch/arm/tests/arch-tests.c | 4 +++ tools/perf/arch/arm/tests/vectors-page.c | 20

[PATCH] spi: Allow building SPI_BCM63XX_HSSPI on ARM-based SoCs

2018-10-19 Thread Florian Fainelli
ARM-based 63xx DSL platforms have the spi-bcm63xx-hsspi controller present, allow using this driver there as well. Signed-off-by: Florian Fainelli --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index

[PATCH net] net: bcmgenet: Poll internal PHY for GENETv5

2018-10-11 Thread Florian Fainelli
: add support for the GENETv5 hardware") Signed-off-by: Florian Fainelli --- drivers/net/ethernet/broadcom/genet/bcmmii.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/broadcom/genet/bcmmii.c b/drivers/net/ethernet/broadcom/genet/bcmm

Re: [PATCH 9/9] ARM: bcm63138: Enable SATA AHCI and PHY

2018-10-04 Thread Florian Fainelli
On 09/20/2018 12:16 PM, Florian Fainelli wrote: > The Broadcom BCM963138DVT board has an eSATA port which is fully > functional, turn on the AHCI controller and the companion SATA PHY. > > Signed-off-by: Florian Fainelli Applied to devicetree/next -- Florian

Re: [PATCH 8/9] ARM: dts: BCM63xx: enable SATA PHY and AHCI controller

2018-10-04 Thread Florian Fainelli
On 09/20/2018 12:16 PM, Florian Fainelli wrote: > Add Device Tree entries for the Broadcom AHCI and SATA PHY controller > found on BCM63138 SoCs > > Signed-off-by: Florian Fainelli Applied to devicetree/next. -- Florian

Re: [PATCH 3/3] soc: bcm: brcmstb: Fix re-entry point with a THUMB2_KERNEL

2018-10-01 Thread Florian Fainelli
On Thu, 27 Sep 2018 12:27:11 -0700, Florian Fainelli wrote: > When the kernel is built with CONFIG_THUMB2_KERNEL we would set the > kernel's resume entry point to be a function that is already built as > Thumb-2 code while the boot agent doing the resume is in ARM mode, so > this d

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-10-01 Thread Florian Fainelli
On 09/26/2018 03:56 AM, Robin Murphy wrote: > On 26/09/18 03:59, Florian Fainelli wrote: >> >> >> On 9/24/2018 8:01 AM, Jim Quinlan wrote: >>> On Mon, Sep 24, 2018 at 4:25 AM Ard Biesheuvel >>> wrote: >>>> >>>> On Fri, 21 Sep 2018

[PATCH v2] i2c: brcmstb: Allow enabling the driver on DSL SoCs

2018-10-01 Thread Florian Fainelli
ARCH_BCM_63XX which is used by ARM-based DSL SoCs from Broadcom uses the same controller, make it possible to select the STB driver and update the Kconfig and help text a bit. Signed-off-by: Florian Fainelli --- Changes in v2: - Make COMPILE_TEST last, as per Geert's recommendation drivers

[PATCH v2 2/4] ata: ahci_brcm: Allow optional reset controller to be used

2018-10-01 Thread Florian Fainelli
On BCM63138, we need to reset the AHCI core prior to start utilizing it, grab the reset controller device cookie and do that. Signed-off-by: Florian Fainelli --- drivers/ata/ahci_brcm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/ata/ahci_brcm.c b/drivers/ata/ahci_brcm.c

[PATCH v2 4/4] ata: ahci_brcm: Allow using driver or DSL SoCs

2018-10-01 Thread Florian Fainelli
The Broadcom STB AHCI controller is the same as the one found on DSL SoCs, so we will utilize the same driver on these systems as well. Signed-off-by: Florian Fainelli --- drivers/ata/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/ata/Kconfig b/drivers/ata

[PATCH v2 3/4] ata: ahci_brcm: Match BCM63138 compatible strings

2018-10-01 Thread Florian Fainelli
Match the "brcm,bcm63138-ahci" compatible string in order to allow this driver to probe on such platforms. Signed-off-by: Florian Fainelli --- drivers/ata/ahci_brcm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/ahci_brcm.c b/drivers/ata/ahci_brcm.c index 0e

[PATCH v2 0/4] AHCI support for BCM63138

2018-10-01 Thread Florian Fainelli
Hi Jens, This is a resend of the previous series posted here: https://lkml.org/lkml/2018/9/20/1060 With a few minor changes: - rebased against your for-4.20/libata branch - added Rob's Reviewed-by to patch - fixed the use of the reset controller API Thank you! Florian Fainelli (4): dt

[PATCH v2 1/4] dt-bindings: ata: Document BCM63138 compatible string

2018-10-01 Thread Florian Fainelli
Document the compatible string "brcm,bcm63138-ahci" as a valid compatible string for the standard Broadcom AHCI controller. Reviewed-by: Rob Herring Signed-off-by: Florian Fainelli --- Documentation/devicetree/bindings/ata/brcm,sata-brcm.txt | 1 + 1 file changed, 1 insertion(+)

Re: [PATCH 0/9] AHCI and SATA PHY support for BCM63138

2018-09-29 Thread Florian Fainelli
On September 29, 2018 7:35:14 PM PDT, Jens Axboe wrote: >On 9/29/18 2:56 AM, Tejun Heo wrote: >> On Fri, Sep 28, 2018 at 03:41:23PM -0700, Florian Fainelli wrote: >>> On 09/25/2018 09:12 AM, Florian Fainelli wrote: >>>> On 09/24/2018 11:19 PM, Kishon Vijay Abrah

Re: [PATCH] i2c: brcmstb: Allow enabling the driver on DSL SoCs

2018-09-29 Thread Florian Fainelli
On September 29, 2018 12:55:08 AM PDT, Geert Uytterhoeven wrote: >Hi Florian, > >On Sat, Sep 29, 2018 at 12:40 AM Florian Fainelli > wrote: >> ARCH_BCM_63XX which is used by ARM-based DSL SoCs from Broadcom uses >the >> same controller, make it possible to selec

Re: [PATCH] net: phy: Fix a unused function gcc warning.

2018-09-29 Thread Florian Fainelli
On September 28, 2018 10:11:43 PM PDT, zhong jiang wrote: >Fix the following compile warning: > >drivers/net/phy/mdio-bcm-unimac.c:321:12: warning: >'unimac_mdio_suspend' defined but not used [-Wunused-function] > static int unimac_mdio_suspend(struct device *d) >^

Re: [PATCH 0/9] AHCI and SATA PHY support for BCM63138

2018-09-28 Thread Florian Fainelli
On 09/25/2018 09:12 AM, Florian Fainelli wrote: > On 09/24/2018 11:19 PM, Kishon Vijay Abraham I wrote: >> >> >> On Friday 21 September 2018 12:49 AM, Florian Fainelli wrote: >>> On 09/20/2018 12:16 PM, Florian Fainelli wrote: >>>> Hi Kishon, Tejun

[PATCH] i2c: brcmstb: Allow enabling the driver on DSL SoCs

2018-09-28 Thread Florian Fainelli
ARCH_BCM_63XX which is used by ARM-based DSL SoCs from Broadcom uses the same controller, make it possible to select the STB driver and update the Kconfig and help text a bit. Signed-off-by: Florian Fainelli --- drivers/i2c/busses/Kconfig | 7 --- 1 file changed, 4 insertions(+), 3

Re: [PATCH 0/3] ARM/PSCI: Fix THUMB2_KERNEL entry points

2018-09-28 Thread Florian Fainelli
On 09/28/2018 01:08 AM, Robin Murphy wrote: > On 2018-09-27 8:27 PM, Florian Fainelli wrote: >> Hi all, >> >> While playing with THUMB2_KERNEL on ARCH_BRCMSTB, several issues came up >> which are addressed by these 3 patches. > > Hmmm, PSCI looks to explicitl

Re: [PATCH 1/3] firmware/psci: Fix cpu_resume entry points with THUMB2_KERNEL

2018-09-28 Thread Florian Fainelli
On 09/28/2018 06:47 AM, Mark Rutland wrote: > On Thu, Sep 27, 2018 at 12:27:09PM -0700, Florian Fainelli wrote: >> When THUMB2_KERNEL is enabled, we would be failing to resume from an >> idle or system suspend call where the reentry point is set to >> cpu_resume()

Re: [PATCH v2 net-next 0/2] Add support for Microchip Technology KSZ9131 10/100/1000 Ethernet PHY

2018-09-27 Thread Florian Fainelli
On 09/27/2018 01:15 PM, Yuiko Oshino wrote: > This is the initial driver for Microchip KSZ9131 10/100/1000 Ethernet PHY > > v2: > - Creating a series from two related patches. When people give you Acked-by or Reviewed-by tags in prior versions, it is usually a good practice to add them to your

[PATCH 3/3] soc: bcm: brcmstb: Fix re-entry point with a THUMB2_KERNEL

2018-09-27 Thread Florian Fainelli
the switching for us. Fixes: 0b741b8234c8 ("soc: bcm: brcmstb: Add support for S2/S3/S5 suspend states (ARM)") Signed-off-by: Florian Fainelli --- drivers/soc/bcm/brcmstb/pm/pm-arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/bcm/brcmstb/pm/p

[PATCH 2/3] ARM: psci: Fix secondary core boot with THUMB2_KERNEL

2018-09-27 Thread Florian Fainelli
When THUMB2_KERNEL is enabled, we would be setting the secondary core's entry point to secondary_startup() which is already Thumb2 code, utilize secondary_startup_arm() which takes care of doing the mode switching for us. Fixes: 05774088391c ("arm: introduce psci_smp_ops") Signed-off-b

[PATCH 1/3] firmware/psci: Fix cpu_resume entry points with THUMB2_KERNEL

2018-09-27 Thread Florian Fainelli
("ARM: 8511/1: ARM64: kernel: PSCI: move PSCI idle management code to drivers/firmware") Fixes: faf7ec4a92c0 ("drivers: firmware: psci: add system suspend support") Signed-off-by: Florian Fainelli --- drivers/firmware/psci.c | 18 +++--- 1 file changed, 15 insert

[PATCH 0/3] ARM/PSCI: Fix THUMB2_KERNEL entry points

2018-09-27 Thread Florian Fainelli
be independently picked up by their respective maintainers and don't depent on one another. Thank you! Florian Fainelli (3): firmware/psci: Fix cpu_resume entry points with THUMB2_KERNEL ARM: psci: Fix secondary core boot with THUMB2_KERNEL soc: bcm: brcmstb: Fix re-entry point with a THUMB2_KERNEL

Re: [PATCH net-next] net: dsa: b53: Fix build with B53_SRAB enabled and B53_SERDES=m

2018-09-27 Thread Florian Fainelli
t to be built-in when serdes is > disabled or built-in. > > Fixes: 7a8c7f5c30f9 ("net: dsa: b53: Fix build with B53_SRAB enabled and not > B53_SERDES") > Signed-off-by: Arnd Bergmann Acked-by: Florian Fainelli Thanks! -- Florian

Re: [PATCH v4 1/3] dt-bindings: thermal: Add binding document for SR thermal

2018-09-27 Thread Florian Fainelli
On 09/27/2018 10:27 AM, Rob Herring wrote: > On Thu, Sep 27, 2018 at 09:06:41PM +0530, Srinath Mannam wrote: >> From: Pramod Kumar >> >> Add binding document for supported thermal implementation >> in Stingray. >> >> Signed-off-by: Pramod Kumar >> Signed-off-by: Srinath Mannam >> Reviewed-by:

Re: [PATCH v5 04/12] PCI: brcmstb: add dma-range mapping for inbound traffic

2018-09-25 Thread Florian Fainelli
On 9/24/2018 8:01 AM, Jim Quinlan wrote: On Mon, Sep 24, 2018 at 4:25 AM Ard Biesheuvel wrote: On Fri, 21 Sep 2018 at 19:41, Jim Quinlan wrote: On Thu, Sep 20, 2018 at 5:39 PM Florian Fainelli wrote: On 09/20/2018 02:33 PM, Ard Biesheuvel wrote: On 20 September 2018 at 14:31

  1   2   3   4   5   6   7   8   9   10   >