Re: 5.10 LTS Kernel: 2 or 6 years?

2021-02-18 Thread Scott Branden
On 2021-02-18 1:39 p.m., Sasha Levin wrote: > On Thu, Feb 18, 2021 at 12:16:50PM -0800, Scott Branden wrote: >> On 2021-02-18 10:36 a.m., Greg Kroah-Hartman wrote: >>> On Thu, Feb 18, 2021 at 07:20:50PM +0100, Willy Tarreau wrote: >>>> On Thu, Feb 18, 2021 at 06:53:

Re: 5.10 LTS Kernel: 2 or 6 years?

2021-02-18 Thread Scott Branden
Hi Willy, On 2021-02-18 1:00 p.m., Willy Tarreau wrote: > On Thu, Feb 18, 2021 at 12:16:50PM -0800, Scott Branden wrote: >> On 2021-02-18 10:36 a.m., Greg Kroah-Hartman wrote: >>> On Thu, Feb 18, 2021 at 07:20:50PM +0100, Willy Tarreau wrote: >>>> On Thu, Feb 18,

Re: [PATCH] misc: bcm-vk: Fix a couple error codes in probe()

2021-02-03 Thread Scott Branden
-vk: add autoload support") > Fixes: 522f692686a7 ("misc: bcm-vk: add Broadcom VK driver") > Signed-off-by: Dan Carpenter Acked-by: Scott Branden > --- > drivers/misc/bcm-vk/bcm_vk_dev.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/driv

[PATCH] misc: bcm-vk: only support ttyVK if CONFIG_TTY is set

2021-02-03 Thread Scott Branden
Correct compile issue if CONFIG_TTY is not set by only adding ttyVK devices if CONFIG_BCM_VK_TTY is set. Reported-by: Randy Dunlap Signed-off-by: Scott Branden --- Changes since v3: - Kconfig cleanups below as per Greg's comments - changed if BCM_VK to depends on BCM_VK - removed default

[PATCH v4] misc: bcm-vk: only support ttyVK if CONFIG_TTY is set

2021-02-03 Thread Scott Branden
Correct compile issue if CONFIG_TTY is not set by only adding ttyVK devices if CONFIG_BCM_VK_TTY is set. Reported-by: Randy Dunlap Signed-off-by: Scott Branden --- Changes since v3: - Kconfig cleanups below as per Greg's comments - changed if BCM_VK to depends on BCM_VK - removed default

Re: [PATCH] misc: bcm-vk: only support ttyVK if CONFIG_TTY is set

2021-02-03 Thread Scott Branden
On 2021-02-03 2:17 p.m., Greg Kroah-Hartman wrote: > On Wed, Feb 03, 2021 at 01:04:51PM -0800, Scott Branden wrote: >> Correct compile issue if CONFIG_TTY is not set by >> only adding ttyVK devices if CONFIG_BCM_VK_TTY is set. >> >> Reported-by: Randy Dunlap >

[PATCH v10 03/13] misc: bcm-vk: add autoload support

2021-01-28 Thread Scott Branden
-developed-by: Desmond Yan Signed-off-by: Desmond Yan Co-developed-by: James Hu Signed-off-by: James Hu Signed-off-by: Scott Branden Acked-by: Olof Johansson --- drivers/misc/bcm-vk/bcm_vk.h | 250 +++ drivers/misc/bcm-vk/bcm_vk_dev.c | 723 +++ 2 files changed

[PATCH v10 00/13] Add Broadcom VK driver

2021-01-28 Thread Scott Branden
emove ANSI stdint types and replace with linux u8, etc types - changed an EIO return to EPFNOSUPPORT - move vk_msg_cmd internal to driver to not expose to UAPI at this time Changes from v2: - open code BIT macro in uapi header - A0/B0 boot improvements Changes from v1: - declare bcm_vk_intf_v

[PATCH v10 05/13] misc: bcm-vk: add triggers when host panic or reboots to notify card

2021-01-28 Thread Scott Branden
: Desmond Yan Signed-off-by: Scott Branden Acked-by: Olof Johansson --- drivers/misc/bcm-vk/bcm_vk.h | 2 ++ drivers/misc/bcm-vk/bcm_vk_dev.c | 29 - 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/drivers/misc/bcm-vk/bcm_vk.h b/drivers/misc/bcm-vk

[PATCH v10 01/13] bcm-vk: add bcm_vk UAPI

2021-01-28 Thread Scott Branden
Add user space api for bcm-vk driver. Provide ioctl api to load images and issue reset command to card. FW status registers in PCI BAR space also defined as part of API so that user space is able to interpret these memory locations as needed via direct PCIe access. Signed-off-by: Scott Branden

[PATCH v10 02/13] misc: bcm-vk: add Broadcom VK driver

2021-01-28 Thread Scott Branden
processing and crypto operations. Further commits add additional features to driver beyond probe/remove. Signed-off-by: Scott Branden Acked-by: Olof Johansson --- drivers/misc/Kconfig | 1 + drivers/misc/Makefile| 1 + drivers/misc/bcm-vk/Kconfig | 17

[PATCH v10 06/13] misc: bcm-vk: add open/release

2021-01-28 Thread Scott Branden
-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Branden Acked-by: Olof Johansson --- drivers/misc/bcm-vk/Makefile | 4 +- drivers/misc/bcm-vk/bcm_vk.h | 15 drivers/misc/bcm-vk/bcm_vk_dev.c | 23 ++ drivers/misc/bcm-vk/bcm_vk_msg.c | 127

[PATCH v10 04/13] misc: bcm-vk: add misc device to Broadcom VK driver

2021-01-28 Thread Scott Branden
Add misc device base support to create and remove devnode. Additional misc functions for open/read/write/release/ioctl/sysfs, etc will be added in follow on commits to allow for individual review. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Branden Acked-by

[PATCH v10 10/13] misc: bcm-vk: reset_pid support

2021-01-28 Thread Scott Branden
Add reset support via ioctl. Kill user processes that are open when VK card is reset. If a particular PID has issued the reset request do not kill that process as it issued the ioctl. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Branden Acked-by: Olof Johansson

[PATCH v10 07/13] misc: bcm-vk: add ioctl load_image

2021-01-28 Thread Scott Branden
Add ioctl support to issue load_image operation to VK card. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Co-developed-by: James Hu Signed-off-by: James Hu Signed-off-by: Scott Branden Acked-by: Olof Johansson --- drivers/misc/bcm-vk/bcm_vk.h | 3 + drivers/misc/bcm-vk

[PATCH v10 08/13] misc: bcm-vk: add get_card_info, peerlog_info, and proc_mon_info

2021-01-28 Thread Scott Branden
Signed-off-by: Desmond Yan Signed-off-by: Scott Branden Acked-by: Olof Johansson --- drivers/misc/bcm-vk/bcm_vk.h | 60 ++ drivers/misc/bcm-vk/bcm_vk_dev.c | 105 +++ 2 files changed, 165 insertions(+) diff --git a/drivers/misc/bcm-vk/bcm_vk.h b

[PATCH v10 09/13] misc: bcm-vk: add VK messaging support

2021-01-28 Thread Scott Branden
: Scott Branden Acked-by: Olof Johansson --- drivers/misc/bcm-vk/Makefile |3 +- drivers/misc/bcm-vk/bcm_vk.h | 123 +++ drivers/misc/bcm-vk/bcm_vk_dev.c | 311 +++- drivers/misc/bcm-vk/bcm_vk_msg.c | 1193 ++ drivers/misc/bcm-vk/bcm_vk_msg.h | 132

[PATCH v10 12/13] MAINTAINERS: bcm-vk: add maintainer for Broadcom VK Driver

2021-01-28 Thread Scott Branden
Add maintainer entry for new Broadcom VK Driver Signed-off-by: Scott Branden Acked-by: Olof Johansson --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 00836f6452f0..76f3817cf22c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3744,6

[PATCH v10 13/13] misc: bcm-vk: add ttyVK support

2021-01-28 Thread Scott Branden
Add ttyVK support to driver to allow console access to VK card from host. Device node will be in the follow form /dev/bcm-vk.x_ttyVKy where: x is the instance of the VK card y is the tty device number on the VK card Signed-off-by: Scott Branden Acked-by: Olof Johansson --- drivers/misc/bcm-vk

[PATCH v10 11/13] misc: bcm-vk: add mmap function for exposing BAR2

2021-01-28 Thread Scott Branden
Add mmap function that allows host application to open up BAR2 memory for remote spooling out messages from the VK logger. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Branden Acked-by: Olof Johansson --- drivers/misc/bcm-vk/bcm_vk_dev.c | 24

[PATCH] misc: bcm-vk: fix set_q_num API precedence issue

2021-01-28 Thread Scott Branden
From: Desmond Yan Change set_q_num API to use if-else to make it more explicit, and avoid a precedence rule issue. Reported-by: kernel test robot Signed-off-by: Desmond Yan Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/bcm_vk_msg.c | 10 -- 1 file changed, 8 insertions(+), 2

[PATCH] misc: bcm-vk: only support ttyVK if CONFIG_TTY is set

2021-01-28 Thread Scott Branden
Correct compile issue if CONFIG_TTY is not set by only adding ttyVK devices if CONFIG_TTY is set. Reported-by: Randy Dunlap Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/Makefile | 4 ++-- drivers/misc/bcm-vk/bcm_vk_dev.c | 13 + 2 files changed, 15 insertions(+), 2

Re: [PATCH v10 00/13] Add Broadcom VK driver

2021-01-28 Thread Scott Branden
On 2021-01-28 8:02 p.m., Olof Johansson wrote: > Scott, > > On Thu, Jan 28, 2021 at 4:30 PM Scott Branden > wrote: >> This patch series drops previous patches in [1] >> that were incorporated by Kees Cook into patch series >> "Introduce partial kernel_read_f

[PATCH v2] misc: bcm-vk: only support ttyVK if CONFIG_TTY is set

2021-01-29 Thread Scott Branden
Correct compile issue if CONFIG_TTY is not set by only adding ttyVK devices if CONFIG_TTY is set. Reported-by: Randy Dunlap Signed-off-by: Scott Branden --- Changes since v1: Add function stubs rather than compiling out code --- drivers/misc/bcm-vk/Makefile | 4 ++-- drivers/misc/bcm-vk

Re: [PATCH v2] misc: bcm-vk: only support ttyVK if CONFIG_TTY is set

2021-01-30 Thread Scott Branden
On 2021-01-30 12:55 a.m., Greg Kroah-Hartman wrote: > On Fri, Jan 29, 2021 at 02:06:27PM -0800, Scott Branden wrote: >> Correct compile issue if CONFIG_TTY is not set by >> only adding ttyVK devices if CONFIG_TTY is set. >> >> Reported-by: Randy Dunlap >

[PATCH v3] misc: bcm-vk: only support ttyVK if CONFIG_TTY is set

2021-01-31 Thread Scott Branden
Correct compile issue if CONFIG_TTY is not set by only adding ttyVK devices if CONFIG_BCM_VK_TTY is set. Reported-by: Randy Dunlap Signed-off-by: Scott Branden --- Changes since v2: - add CONFIG_BCM_VK_TTY - add function and stub for bcm_vk_tty_set_irq_enabled Changes since v1: - add function

Re: [PATCH] misc: bcm-vk: unlock on error in bcm_to_h_msg_dequeue()

2021-02-01 Thread Scott Branden
On 2021-02-01 4:22 a.m., Dan Carpenter wrote: > Unlock before returning on this error path. > > Fixes: 111d746bb476 ("misc: bcm-vk: add VK messaging support") > Signed-off-by: Dan Carpenter > --- > drivers/misc/bcm-vk/bcm_vk_msg.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > d

Re: [PATCH v3] misc: bcm-vk: only support ttyVK if CONFIG_TTY is set

2021-02-01 Thread Scott Branden
Hi Greg,, I need a few clarifications before sending (hopefully) final revisions to the patch. On 2021-01-31 11:45 p.m., Greg Kroah-Hartman wrote: > On Sun, Jan 31, 2021 at 03:30:49PM -0800, Scott Branden wrote: >> Correct compile issue if CONFIG_TTY is not set by >> only addin

Re: [PATCH] misc: bcm-vk: unlock on error in bcm_to_h_msg_dequeue()

2021-02-01 Thread Scott Branden
Great, looks good then. On 2021-02-01 10:32 a.m., Desmond Yan wrote: > Acked-by: Desmond Yan Acked-by: Scott Branden > > On Mon, Feb 1, 2021 at 4:24 AM Dan Carpenter wrote: >> Unlock before returning on this error path. >> >> Fixes: 111d746bb476 ("misc:

[PATCH 0/3] Add Broadcom VK driver

2020-07-29 Thread Scott Branden
n in other patch series [2] being applied first). [1] https://lore.kernel.org/lkml/20200706232309.12010-1-scott.bran...@broadcom.com/ [2] https://lore.kernel.org/lkml/20200729175845.1745471-1-keesc...@chromium.org/ Scott Branden (3): bcm-vk: add bcm_vk UAPI misc: bcm-vk: add Broadcom

[PATCH 1/3] bcm-vk: add bcm_vk UAPI

2020-07-29 Thread Scott Branden
Add user space api for bcm-vk driver. Signed-off-by: Scott Branden --- include/uapi/linux/misc/bcm_vk.h | 99 1 file changed, 99 insertions(+) create mode 100644 include/uapi/linux/misc/bcm_vk.h diff --git a/include/uapi/linux/misc/bcm_vk.h b/include/uapi

[PATCH 3/3] MAINTAINERS: bcm-vk: add maintainer for Broadcom VK Driver

2020-07-29 Thread Scott Branden
Add maintainer entry for new Broadcom VK Driver Signed-off-by: Scott Branden --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f0569cf304ca..10e4e286baeb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3658,6 +3658,13 @@ L: net

[PATCH 2/3] misc: bcm-vk: add Broadcom VK driver

2020-07-29 Thread Scott Branden
updated and messages can then be sent to the card. Such messages contain scatter gather list of addresses to pull data from the host to perform operations on. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Co-developed-by: James Hu Signed-off-by: James Hu Signed-off-by: Scott Branden

Re: Kernel panic - not syncing: IO-APIC + timer doesn't work!

2020-07-29 Thread Scott Branden
Hi Tom, On 2020-07-29 11:29 a.m., Tom Lendacky wrote: > On 7/29/20 4:50 AM, Thomas Gleixner wrote: >> Scott, >> >> Scott Branden writes: >>> On 2020-07-28 1:22 a.m., Thomas Gleixner wrote: >>>> Scott Branden writes: >>>>> Bios no

Re: [PATCH 3/3] PCI: iproc: Set affinity mask on MSI interrupts

2020-07-30 Thread Scott Branden
On 2020-07-29 8:37 p.m., Mark Tomlinson wrote: > The core interrupt code expects the irq_set_affinity call to update the > effective affinity for the interrupt. This was not being done, so update > iproc_msi_irq_set_affinity() to do so. > > Signed-off-by: Mark Tomlinson Should this have a Fixes

[PATCH v2 0/3] Add Broadcom VK driver

2020-07-31 Thread Scott Branden
- declare bcm_vk_intf_ver_chk as static Scott Branden (3): bcm-vk: add bcm_vk UAPI misc: bcm-vk: add Broadcom VK driver MAINTAINERS: bcm-vk: add maintainer for Broadcom VK Driver MAINTAINERS |7 + drivers/misc/Kconfig |1 + drivers/misc/Makefile

[PATCH v2 1/3] bcm-vk: add bcm_vk UAPI

2020-07-31 Thread Scott Branden
Add user space api for bcm-vk driver. Signed-off-by: Scott Branden --- include/uapi/linux/misc/bcm_vk.h | 99 1 file changed, 99 insertions(+) create mode 100644 include/uapi/linux/misc/bcm_vk.h diff --git a/include/uapi/linux/misc/bcm_vk.h b/include/uapi

[PATCH v2 3/3] MAINTAINERS: bcm-vk: add maintainer for Broadcom VK Driver

2020-07-31 Thread Scott Branden
Add maintainer entry for new Broadcom VK Driver Signed-off-by: Scott Branden --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f0569cf304ca..10e4e286baeb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3658,6 +3658,13 @@ L: net

[PATCH v2 2/3] misc: bcm-vk: add Broadcom VK driver

2020-07-31 Thread Scott Branden
updated and messages can then be sent to the card. Such messages contain scatter gather list of addresses to pull data from the host to perform operations on. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Co-developed-by: James Hu Signed-off-by: James Hu Signed-off-by: Scott Branden

Re: [PATCH v2 1/3] bcm-vk: add bcm_vk UAPI

2020-08-20 Thread Scott Branden
Hi Greg, On 2020-08-19 12:00 a.m., Greg Kroah-Hartman wrote: > On Tue, Aug 18, 2020 at 05:35:04PM -0700, Scott Branden wrote: >> >> On 2020-08-18 10:44 a.m., Greg Kroah-Hartman wrote: >>> On Tue, Aug 18, 2020 at 10:23:42AM -0700, Scott Branden wrote: >>>> Hi Gr

Re: [PATCH v2 1/3] bcm-vk: add bcm_vk UAPI

2020-08-20 Thread Scott Branden
On 2020-08-20 1:55 p.m., Kees Cook wrote: > On Thu, Aug 20, 2020 at 09:37:46AM -0700, Scott Branden wrote: >> On 2020-08-19 12:00 a.m., Greg Kroah-Hartman wrote: >>> On Tue, Aug 18, 2020 at 05:35:04PM -0700, Scott Branden wrote: >>>> On 2020-08-18 10:44 a.m., Greg

Re: [PATCH v2 1/3] bcm-vk: add bcm_vk UAPI

2020-08-20 Thread Scott Branden
On 2020-08-20 1:57 p.m., Florian Fainelli wrote: > On 8/20/20 1:55 PM, Kees Cook wrote: >> On Thu, Aug 20, 2020 at 09:37:46AM -0700, Scott Branden wrote: >>> On 2020-08-19 12:00 a.m., Greg Kroah-Hartman wrote: >>>> On Tue, Aug 18, 2020 at 05:35:04PM -0700, Scott B

[PATCH v2 0/3] Add Broadcom VK driver

2020-08-05 Thread Scott Branden
- declare bcm_vk_intf_ver_chk as static Scott Branden (3): bcm-vk: add bcm_vk UAPI misc: bcm-vk: add Broadcom VK driver MAINTAINERS: bcm-vk: add maintainer for Broadcom VK Driver MAINTAINERS |7 + drivers/misc/Kconfig |1 + drivers/misc/Makefile

[PATCH v2 1/3] bcm-vk: add bcm_vk UAPI

2020-08-05 Thread Scott Branden
Add user space api for bcm-vk driver. Signed-off-by: Scott Branden --- include/uapi/linux/misc/bcm_vk.h | 99 1 file changed, 99 insertions(+) create mode 100644 include/uapi/linux/misc/bcm_vk.h diff --git a/include/uapi/linux/misc/bcm_vk.h b/include/uapi

[PATCH v2 3/3] MAINTAINERS: bcm-vk: add maintainer for Broadcom VK Driver

2020-08-05 Thread Scott Branden
Add maintainer entry for new Broadcom VK Driver Signed-off-by: Scott Branden --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1d4aa7f942de..fa610b492350 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3657,6 +3657,13 @@ L: net

[PATCH v2 2/3] misc: bcm-vk: add Broadcom VK driver

2020-08-05 Thread Scott Branden
updated and messages can then be sent to the card. Such messages contain scatter gather list of addresses to pull data from the host to perform operations on. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Co-developed-by: James Hu Signed-off-by: James Hu Signed-off-by: Scott Branden

Re: [PATCH v4] PCI: Reduce warnings on possible RW1C corruption

2020-08-06 Thread Scott Branden
gt; Suggested-by: Bjorn Helgaas > Fixes: fb2659230120 ("PCI: Warn on possible RW1C corruption for sub-32 bit > config writes") > Signed-off-by: Mark Tomlinson Acked-by: Scott Branden > --- > changes in v4: > - Use bitfield rather than bool to save memory (was meant

Re: [PATCH v2 1/3] bcm-vk: add bcm_vk UAPI

2020-08-18 Thread Scott Branden
Hi Greg, On 2020-08-18 6:53 a.m., Greg Kroah-Hartman wrote: > On Wed, Aug 05, 2020 at 05:46:29PM -0700, Scott Branden wrote: >> Add user space api for bcm-vk driver. >> >> Signed-off-by: Scott Branden >> --- >> include/uapi/linux/misc/bcm_vk.h | 99 ++

Re: [PATCH v2 1/3] bcm-vk: add bcm_vk UAPI

2020-08-18 Thread Scott Branden
On 2020-08-18 10:44 a.m., Greg Kroah-Hartman wrote: > On Tue, Aug 18, 2020 at 10:23:42AM -0700, Scott Branden wrote: >> Hi Greg, >> >> On 2020-08-18 6:53 a.m., Greg Kroah-Hartman wrote: >>> On Wed, Aug 05, 2020 at 05:46:29PM -0700, Scott Branden wrote: >>>

Re: [PATCH v8 00/13] Add Broadcom VK driver

2021-01-19 Thread Scott Branden
Hi Greg, On 2021-01-18 3:06 p.m., Olof Johansson wrote: > On Sun, Jan 17, 2021 at 11:17 PM Greg Kroah-Hartman > wrote: >> On Sun, Jan 17, 2021 at 10:47:59AM -0800, Olof Johansson wrote: >>> Hi, >>> >>> On Mon, Nov 30, 2020 at 10:42 AM Scott Branden &

Re: [PATCH 1/4] dt-bindings: mmc: iproc-sdhci: Convert to json-schema

2021-03-24 Thread Scott Branden
On 2021-03-23 2:24 p.m., Nicolas Saenz Julienne wrote: > On Tue, 2021-03-23 at 15:08 -0600, Rob Herring wrote: >> On Mon, Mar 22, 2021 at 12:11:29PM -0700, Scott Branden wrote: >>> On 2021-03-22 11:58 a.m., Nicolas Saenz Julienne wrote: >>>> Convert the brcm,iproc-sdh

Re: [PATCH 1/4] dt-bindings: mmc: iproc-sdhci: Convert to json-schema

2021-03-24 Thread Scott Branden
On 2021-03-24 9:35 a.m., Nicolas Saenz Julienne wrote: > On Wed, 2021-03-24 at 09:27 -0700, Scott Branden wrote: >> On 2021-03-23 2:24 p.m., Nicolas Saenz Julienne wrote: >>> On Tue, 2021-03-23 at 15:08 -0600, Rob Herring wrote: >>>> On Mon, Mar 22, 2021 at 12:11:2

Re: [PATCH 4/4] ARM: dts: Fix-up EMMC2 controller's frequency

2021-03-22 Thread Scott Branden
1st line of commit should be ARM: dts: bcm2711 On 2021-03-22 11:58 a.m., Nicolas Saenz Julienne wrote: > From: Nicolas Saenz Julienne > > Force emmc2's frequency to 150MHz as the default 100MHz (set by FW) > seems to interfere with the VPU clock when setup at frequencies bigger > than 500MHz (a

Re: [PATCH 1/4] dt-bindings: mmc: iproc-sdhci: Convert to json-schema

2021-03-22 Thread Scott Branden
aenz Julienne This is already covered in the MAINTAINERS section via "N: iproc". M: Ray Jui M: Scott Branden M: bcm-kernel-feedback-l...@broadcom.com > + > +allOf: > + - $ref: mmc-controller.yaml# > + > +properties: > + compatible: > +e

Re: [PATCH] mmc: add quirk to disable eMMC cache for Micron eMMC v5.0 cards

2021-04-13 Thread Scott Branden
+Travis Dirkes, Could you provide more details on the Micron data error. On 2021-04-12 12:44 a.m., Ulf Hansson wrote: > + Bean Huo, Luca Porzio > > On Thu, 8 Apr 2021 at 19:59, Scott Branden wrote: >> >> From: Vladimir Olovyannikov >> >> In certain rare combi

Re: [PATCH] mmc: add quirk to disable eMMC cache for Micron eMMC v5.0 cards

2021-04-13 Thread Scott Branden
+Travis Dirkes (with corrected email), Could you provide more details on the Micron data error. > On 2021-04-12 12:44 a.m., Ulf Hansson wrote: >> + Bean Huo, Luca Porzio >> >> On Thu, 8 Apr 2021 at 19:59, Scott Branden >> wrote: >>> >>> From: V

Re: [PATCH v2] hwrng: iproc: set quality to 1024

2021-02-22 Thread Scott Branden
00.770; > max=9765625.000)Kibits/s > rngtest: FIPS tests speed: (min=34.742; avg=39.905; max=66.458)Mibits/s > rngtest: Program run time: 97829648 microseconds > > 1000 successes and 0 failures -> 100% success rate > > Signed-off-by: Álvaro Fernández Rojas Acked-by: Scott B

Re: [PATCH v6 11/14] misc: bcm-vk: add BCM_VK_QSTATS

2020-11-17 Thread Scott Branden
Hi Florian, On 2020-10-02 6:39 p.m., Florian Fainelli wrote: > > > On 10/2/2020 2:23 PM, Scott Branden wrote: >> Add BCM_VK_QSTATS Kconfig option to allow for enabling debug VK >> queue statistics. >> >> These statistics keep track of max, abs_max, and average for

[PATCH v7 00/13] Add Broadcom VK driver

2020-11-17 Thread Scott Branden
es - changed an EIO return to EPFNOSUPPORT - move vk_msg_cmd internal to driver to not expose to UAPI at this time Changes from v2: - open code BIT macro in uapi header - A0/B0 boot improvements Changes from v1: - declare bcm_vk_intf_ver_chk as static Scott Branden (13): bcm-vk: add bcm_vk UAPI

[PATCH v7 01/13] bcm-vk: add bcm_vk UAPI

2020-11-17 Thread Scott Branden
Add user space api for bcm-vk driver. Provide ioctl api to load images and issue reset command to card. FW status registers in PCI BAR space also defined as part of API so that user space is able to interpret these memory locations as needed via direct PCIe access. Signed-off-by: Scott Branden

[PATCH v7 02/13] misc: bcm-vk: add Broadcom VK driver

2020-11-17 Thread Scott Branden
processing and crypto operations. Further commits add additional features to driver beyond probe/remove. Signed-off-by: Scott Branden --- drivers/misc/Kconfig | 1 + drivers/misc/Makefile| 1 + drivers/misc/bcm-vk/Kconfig | 15 drivers/misc/bcm-vk/Makefile

[PATCH v7 03/13] misc: bcm-vk: add autoload support

2020-11-17 Thread Scott Branden
-developed-by: Desmond Yan Signed-off-by: Desmond Yan Co-developed-by: James Hu Signed-off-by: James Hu Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/bcm_vk.h | 250 +++ drivers/misc/bcm-vk/bcm_vk_dev.c | 723 +++ 2 files changed, 973 insertions(+) diff

[PATCH v7 04/13] misc: bcm-vk: add misc device to Broadcom VK driver

2020-11-17 Thread Scott Branden
Add misc device base support to create and remove devnode. Additional misc functions for open/read/write/release/ioctl/sysfs, etc will be added in follow on commits to allow for individual review. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Branden --- drivers

[PATCH v7 06/13] misc: bcm-vk: add open/release

2020-11-17 Thread Scott Branden
-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/Makefile | 4 +- drivers/misc/bcm-vk/bcm_vk.h | 15 drivers/misc/bcm-vk/bcm_vk_dev.c | 23 ++ drivers/misc/bcm-vk/bcm_vk_msg.c | 127

[PATCH v7 07/13] misc: bcm-vk: add ioctl load_image

2020-11-17 Thread Scott Branden
Add ioctl support to issue load_image operation to VK card. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Co-developed-by: James Hu Signed-off-by: James Hu Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/bcm_vk.h | 3 + drivers/misc/bcm-vk/bcm_vk_dev.c | 95

[PATCH v7 08/13] misc: bcm-vk: add get_card_info, peerlog_info, and proc_mon_info

2020-11-17 Thread Scott Branden
Signed-off-by: Desmond Yan Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/bcm_vk.h | 60 ++ drivers/misc/bcm-vk/bcm_vk_dev.c | 105 +++ 2 files changed, 165 insertions(+) diff --git a/drivers/misc/bcm-vk/bcm_vk.h b/drivers/misc/bcm-vk/bcm_vk.h

[PATCH v7 09/13] misc: bcm-vk: add VK messaging support

2020-11-17 Thread Scott Branden
: Scott Branden --- drivers/misc/bcm-vk/Makefile |3 +- drivers/misc/bcm-vk/bcm_vk.h | 123 drivers/misc/bcm-vk/bcm_vk_dev.c | 309 +++- drivers/misc/bcm-vk/bcm_vk_msg.c | 1187 ++ drivers/misc/bcm-vk/bcm_vk_msg.h | 132 drivers/misc/bcm-vk

[PATCH v7 05/13] misc: bcm-vk: add triggers when host panic or reboots to notify card

2020-11-17 Thread Scott Branden
: Desmond Yan Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/bcm_vk.h | 2 ++ drivers/misc/bcm-vk/bcm_vk_dev.c | 29 - 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/drivers/misc/bcm-vk/bcm_vk.h b/drivers/misc/bcm-vk/bcm_vk.h index 0a366db693c8

[PATCH v7 10/13] misc: bcm-vk: reset_pid support

2020-11-17 Thread Scott Branden
Add reset support via ioctl. Kill user processes that are open when VK card is reset. If a particular PID has issued the reset request do not kill that process as it issued the ioctl. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Branden --- drivers/misc/bcm-vk

[PATCH v7 11/13] misc: bcm-vk: add mmap function for exposing BAR2

2020-11-17 Thread Scott Branden
Add mmap function that allows host application to open up BAR2 memory for remote spooling out messages from the VK logger. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/bcm_vk_dev.c | 24 1 file changed

[PATCH v7 12/13] MAINTAINERS: bcm-vk: add maintainer for Broadcom VK Driver

2020-11-17 Thread Scott Branden
Add maintainer entry for new Broadcom VK Driver Signed-off-by: Scott Branden --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e451dcce054f..f574946f2f56 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3716,6 +3716,13 @@ L: net

[PATCH v7 13/13] misc: bcm-vk: add ttyVK support

2020-11-17 Thread Scott Branden
Add ttyVK support to driver to allow console access to VK card from host. Device node will be in the follow form /dev/bcm-vk.x_ttyVKy where: x is the instance of the VK card y is the tty device number on the VK card Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/Makefile | 3

Re: [PATCH v7 02/13] misc: bcm-vk: add Broadcom VK driver

2020-11-19 Thread Scott Branden
cy offload compute engine operations. >> They are used for multiple parallel offload tasks as: >> audio, video and image processing and crypto operations. >> >> Further commits add additional features to driver beyond probe/remove. >> >> Signed-off-by: Scott Bran

Re: [PATCH v3 0/3] PCI: iproc: Add fixes to pcie iproc

2020-11-30 Thread Scott Branden
: iproc: Display PCIe Link information >> >> drivers/pci/controller/pcie-iproc.c | 29 ++------- >> 1 file changed, 22 insertions(+), 7 deletions(-) > I need Ray a/o Scott ACK to proceed. Let's see if Ray has anything to add. Acked-by: Scott Branden > > Thanks, > Lorenzo smime.p7s Description: S/MIME Cryptographic Signature

[PATCH v8 00/13] Add Broadcom VK driver

2020-11-30 Thread Scott Branden
bg - remove ANSI stdint types and replace with linux u8, etc types - changed an EIO return to EPFNOSUPPORT - move vk_msg_cmd internal to driver to not expose to UAPI at this time Changes from v2: - open code BIT macro in uapi header - A0/B0 boot improvements Changes from v1: - declare bcm_vk

[PATCH v8 01/13] bcm-vk: add bcm_vk UAPI

2020-11-30 Thread Scott Branden
Add user space api for bcm-vk driver. Provide ioctl api to load images and issue reset command to card. FW status registers in PCI BAR space also defined as part of API so that user space is able to interpret these memory locations as needed via direct PCIe access. Signed-off-by: Scott Branden

[PATCH v8 02/13] misc: bcm-vk: add Broadcom VK driver

2020-11-30 Thread Scott Branden
processing and crypto operations. Further commits add additional features to driver beyond probe/remove. Signed-off-by: Scott Branden --- drivers/misc/Kconfig | 1 + drivers/misc/Makefile| 1 + drivers/misc/bcm-vk/Kconfig | 17 drivers/misc/bcm-vk/Makefile

[PATCH v8 03/13] misc: bcm-vk: add autoload support

2020-11-30 Thread Scott Branden
-developed-by: Desmond Yan Signed-off-by: Desmond Yan Co-developed-by: James Hu Signed-off-by: James Hu Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/bcm_vk.h | 250 +++ drivers/misc/bcm-vk/bcm_vk_dev.c | 723 +++ 2 files changed, 973 insertions(+) diff

[PATCH v8 04/13] misc: bcm-vk: add misc device to Broadcom VK driver

2020-11-30 Thread Scott Branden
Add misc device base support to create and remove devnode. Additional misc functions for open/read/write/release/ioctl/sysfs, etc will be added in follow on commits to allow for individual review. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Branden --- drivers

[PATCH v8 05/13] misc: bcm-vk: add triggers when host panic or reboots to notify card

2020-11-30 Thread Scott Branden
: Desmond Yan Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/bcm_vk.h | 2 ++ drivers/misc/bcm-vk/bcm_vk_dev.c | 29 - 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/drivers/misc/bcm-vk/bcm_vk.h b/drivers/misc/bcm-vk/bcm_vk.h index 0a366db693c8

[PATCH v8 06/13] misc: bcm-vk: add open/release

2020-11-30 Thread Scott Branden
-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/Makefile | 4 +- drivers/misc/bcm-vk/bcm_vk.h | 15 drivers/misc/bcm-vk/bcm_vk_dev.c | 23 ++ drivers/misc/bcm-vk/bcm_vk_msg.c | 127

[PATCH v8 08/13] misc: bcm-vk: add get_card_info, peerlog_info, and proc_mon_info

2020-11-30 Thread Scott Branden
Signed-off-by: Desmond Yan Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/bcm_vk.h | 60 ++ drivers/misc/bcm-vk/bcm_vk_dev.c | 105 +++ 2 files changed, 165 insertions(+) diff --git a/drivers/misc/bcm-vk/bcm_vk.h b/drivers/misc/bcm-vk/bcm_vk.h

[PATCH v8 07/13] misc: bcm-vk: add ioctl load_image

2020-11-30 Thread Scott Branden
Add ioctl support to issue load_image operation to VK card. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Co-developed-by: James Hu Signed-off-by: James Hu Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/bcm_vk.h | 3 + drivers/misc/bcm-vk/bcm_vk_dev.c | 95

[PATCH v8 10/13] misc: bcm-vk: reset_pid support

2020-11-30 Thread Scott Branden
Add reset support via ioctl. Kill user processes that are open when VK card is reset. If a particular PID has issued the reset request do not kill that process as it issued the ioctl. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Branden --- drivers/misc/bcm-vk

[PATCH v8 09/13] misc: bcm-vk: add VK messaging support

2020-11-30 Thread Scott Branden
: Scott Branden --- drivers/misc/bcm-vk/Makefile |3 +- drivers/misc/bcm-vk/bcm_vk.h | 123 drivers/misc/bcm-vk/bcm_vk_dev.c | 309 +++- drivers/misc/bcm-vk/bcm_vk_msg.c | 1187 ++ drivers/misc/bcm-vk/bcm_vk_msg.h | 132 drivers/misc/bcm-vk

[PATCH v8 13/13] misc: bcm-vk: add ttyVK support

2020-11-30 Thread Scott Branden
Add ttyVK support to driver to allow console access to VK card from host. Device node will be in the follow form /dev/bcm-vk.x_ttyVKy where: x is the instance of the VK card y is the tty device number on the VK card Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/Makefile | 3

[PATCH v8 11/13] misc: bcm-vk: add mmap function for exposing BAR2

2020-11-30 Thread Scott Branden
Add mmap function that allows host application to open up BAR2 memory for remote spooling out messages from the VK logger. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Branden --- drivers/misc/bcm-vk/bcm_vk_dev.c | 24 1 file changed

[PATCH v8 12/13] MAINTAINERS: bcm-vk: add maintainer for Broadcom VK Driver

2020-11-30 Thread Scott Branden
Add maintainer entry for new Broadcom VK Driver Signed-off-by: Scott Branden --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4a34b25ecc1f..2ce6adcff41d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3716,6 +3716,13 @@ L: net

Re: [PATCH v2 1/2] hwrng: iproc-rng200: Fix disable of the block.

2020-12-18 Thread Scott Branden
we already set > the enable bit to zero by appling inverted RNG_RBGEN_MASK. > > Signed-off-by: Matthias Brugger Acked-by: Scott Branden > > --- > > Changes in v2: > - fix commit message, dropping Fixes tag > - drop inverted RNT_RBGEN_ENABLE in disable case > > dr

Re: [PATCH v2 2/2] hwrng: iproc-rng200: Move enable/disable in separate function

2020-12-18 Thread Scott Branden
s Brugger > Acked-by: Florian Fainelli Acked-by: Scott Branden > > --- > > Changes in v2: > - rename function to iproc_rng200_enable_set() > - use u32 value instead of uint32_t > > drivers/char/hw_random/iproc-rng200.c | 35 --- > 1 file change

Re: [PATCH] menuconfig,mconf-cfg: Allow specification of ncurses location

2020-12-01 Thread Scott Branden
Hi Masahiro, On 2020-12-01 4:25 a.m., Masahiro Yamada wrote: > On Sat, Nov 28, 2020 at 9:45 AM Scott Branden > wrote: >> From: Bruce Ashfield >> >> In some cross build environments such as the Yocto Project build >> environment it provides an ncurses library that i

Re: [PATCH] menuconfig,mconf-cfg: Allow specification of ncurses location

2020-12-01 Thread Scott Branden
Hi Bruce, On 2020-12-01 11:01 a.m., Bruce Ashfield wrote: > On Tue, Dec 1, 2020 at 12:19 PM Scott Branden > wrote: >> Hi Masahiro, >> >> On 2020-12-01 4:25 a.m., Masahiro Yamada wrote: >>> On Sat, Nov 28, 2020 at 9:45 AM Scott Branden >>> wrote: &g

[PATCH v9 02/13] misc: bcm-vk: add Broadcom VK driver

2021-01-20 Thread Scott Branden
processing and crypto operations. Further commits add additional features to driver beyond probe/remove. Signed-off-by: Scott Branden Acked-by: Olof Johansson --- drivers/misc/Kconfig | 1 + drivers/misc/Makefile| 1 + drivers/misc/bcm-vk/Kconfig | 17

[PATCH v9 12/13] MAINTAINERS: bcm-vk: add maintainer for Broadcom VK Driver

2021-01-20 Thread Scott Branden
Add maintainer entry for new Broadcom VK Driver Signed-off-by: Scott Branden Acked-by: Olof Johansson --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 00836f6452f0..76f3817cf22c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3744,6

[PATCH v9 07/13] misc: bcm-vk: add ioctl load_image

2021-01-20 Thread Scott Branden
Add ioctl support to issue load_image operation to VK card. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Co-developed-by: James Hu Signed-off-by: James Hu Signed-off-by: Scott Branden Acked-by: Olof Johansson --- drivers/misc/bcm-vk/bcm_vk.h | 3 + drivers/misc/bcm-vk

[PATCH v9 09/13] misc: bcm-vk: add VK messaging support

2021-01-20 Thread Scott Branden
: Scott Branden Acked-by: Olof Johansson --- drivers/misc/bcm-vk/Makefile |3 +- drivers/misc/bcm-vk/bcm_vk.h | 123 drivers/misc/bcm-vk/bcm_vk_dev.c | 309 +++- drivers/misc/bcm-vk/bcm_vk_msg.c | 1187 ++ drivers/misc/bcm-vk/bcm_vk_msg.h | 132

[PATCH v9 11/13] misc: bcm-vk: add mmap function for exposing BAR2

2021-01-20 Thread Scott Branden
Add mmap function that allows host application to open up BAR2 memory for remote spooling out messages from the VK logger. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Branden Acked-by: Olof Johansson --- drivers/misc/bcm-vk/bcm_vk_dev.c | 24

[PATCH v9 04/13] misc: bcm-vk: add misc device to Broadcom VK driver

2021-01-20 Thread Scott Branden
Add misc device base support to create and remove devnode. Additional misc functions for open/read/write/release/ioctl/sysfs, etc will be added in follow on commits to allow for individual review. Co-developed-by: Desmond Yan Signed-off-by: Desmond Yan Signed-off-by: Scott Branden Acked-by

[PATCH v9 00/13] Add Broadcom VK driver

2021-01-20 Thread Scott Branden
0 boot improvements Changes from v1: - declare bcm_vk_intf_ver_chk as static Scott Branden (13): bcm-vk: add bcm_vk UAPI misc: bcm-vk: add Broadcom VK driver misc: bcm-vk: add autoload support misc: bcm-vk: add misc device to Broadcom VK driver misc: bcm-vk: add triggers when host panic or

[PATCH v9 08/13] misc: bcm-vk: add get_card_info, peerlog_info, and proc_mon_info

2021-01-20 Thread Scott Branden
Signed-off-by: Desmond Yan Signed-off-by: Scott Branden Acked-by: Olof Johansson --- drivers/misc/bcm-vk/bcm_vk.h | 60 ++ drivers/misc/bcm-vk/bcm_vk_dev.c | 105 +++ 2 files changed, 165 insertions(+) diff --git a/drivers/misc/bcm-vk/bcm_vk.h b

<    1   2   3   4   5   6   7   8   9   >