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] 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

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

2021-04-08 Thread Scott Branden
-off-by: Scott Branden --- drivers/mmc/core/card.h | 5 + drivers/mmc/core/mmc.c| 4 ++-- drivers/mmc/core/quirks.h | 8 include/linux/mmc/card.h | 1 + 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/core/card.h b/drivers/mmc/core/card.h index

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 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-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 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] ASoC: bcm: add missing call to of_node_put()

2021-03-08 Thread Scott Branden
Hi Yang, On 2021-03-07 11:18 p.m., Yang Li wrote: > In one of the error paths of the for_each_child_of_node() loop, > add missing call to of_node_put(). > > Fix the following coccicheck warning: > ./sound/soc/bcm/cygnus-ssp.c:1346:1-33: WARNING: Function > "for_each_available_child_of_node"

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

2021-02-23 Thread Scott Branden
On 2021-02-23 8:36 a.m., Florian Fainelli wrote: > > > On 2/23/2021 8:01 AM, Álvaro Fernández Rojas wrote: >> Some devices may need to perform a reset before using the RNG, such as the >> BCM6368. >> >> Signed-off-by: Álvaro Fernández Rojas > > Since the reset is unique to the 6368, you may

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: 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: 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
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:56PM +0100, Greg Kroah-Hartman wrote: >>> On Thu, Feb 18, 2021 at 09:21:13AM -0800, Florian Fainelli wrote: As a company, we are most likely

Re: 5.10 LTS Kernel: 2 or 6 years?

2021-02-17 Thread Scott Branden
Hi Greg, On 2021-02-17 1:40 a.m., Greg Kroah-Hartman wrote: > On Tue, Jan 26, 2021 at 07:51:18PM +0100, Greg Kroah-Hartman wrote: >> On Tue, Jan 26, 2021 at 10:30:16AM -0800, Scott Branden wrote: >>> Hi Greg, >>> >>> >>> On 2021-01-25 11:29 p.m.,

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 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 y

[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 y

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

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:

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
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(-) > >

[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 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 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 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] 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

[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 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 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 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 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
-by: 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 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 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 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 00/13] Add Broadcom VK driver

2021-01-28 Thread Scott Branden
nd 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_ver_chk as static Scott B

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

2021-01-28 Thread Scott Branden
-by: 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 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

[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

Re: 5.10 LTS Kernel: 2 or 6 years?

2021-01-26 Thread Scott Branden
Hi Greg, On 2021-01-25 11:29 p.m., Greg Kroah-Hartman wrote: > On Mon, Jan 25, 2021 at 11:55:11AM -0800, Scott Branden wrote: >> Hi All, >> >> The 5.10 LTS kernel being officially LTS supported for 2 years presents a >> problem: >> why would anyone select a 5.1

5.10 LTS Kernel: 2 or 6 years?

2021-01-25 Thread Scott Branden
Hi All, The 5.10 LTS kernel being officially LTS supported for 2 years presents a problem: why would anyone select a 5.10 kernel with 2 year LTS when 5.4 kernel has a 6 year LTS. Yet, various unofficial reports indicate it will be supported for 6 years.  And AOSP has already declared the use

Re: [PATCH] diffconfig: use python3 instead of python in Shebang line

2021-01-22 Thread Scott Branden
On 2021-01-21 6:18 p.m., Joe Perches wrote: > On Fri, 2021-01-22 at 05:25 +0900, Masahiro Yamada wrote: >> On Fri, Jan 22, 2021 at 2:17 AM Scott Branden >> wrote: >>> Use python3 instead of python in diffconfig Shebang line. >>> python2 was sunset January 1,

Re: [PATCH] diffconfig: use python3 instead of python in Shebang line

2021-01-21 Thread Scott Branden
Hi Andy, On 2021-01-21 12:35 p.m., Andy Shevchenko wrote: > On Thu, Jan 21, 2021 at 10:31 PM Andy Shevchenko > wrote: >> On Thu, Jan 21, 2021 at 10:28 PM Masahiro Yamada >> wrote: >>> On Fri, Jan 22, 2021 at 2:17 AM Scott Branden >>> wrote: >>>

Re: [PATCH] diffconfig: use python3 instead of python in Shebang line

2021-01-21 Thread Scott Branden
Hi Masahiro, On 2021-01-21 12:25 p.m., Masahiro Yamada wrote: > On Fri, Jan 22, 2021 at 2:17 AM Scott Branden > wrote: >> Use python3 instead of python in diffconfig Shebang line. >> python2 was sunset January 1, 2000 and environments do not need >> to support pyth

[PATCH] diffconfig: use python3 instead of python in Shebang line

2021-01-21 Thread Scott Branden
Use python3 instead of python in diffconfig Shebang line. python2 was sunset January 1, 2000 and environments do not need to support python any more. Fixes: b24413180f56 ("tweewide: Fix most Shebang lines") Signed-off-by: Scott Branden --- scripts/diffconfig | 2 +- 1 file changed, 1

[PATCH] arm64: dts: stingray: remove sata

2021-01-20 Thread Scott Branden
Remove sata from stingray as it is unsupported. Signed-off-by: Scott Branden --- .../dts/broadcom/stingray/bcm958742-base.dtsi | 64 .../dts/broadcom/stingray/stingray-sata.dtsi | 278 -- .../boot/dts/broadcom/stingray/stingray.dtsi | 7 - 3 files changed, 349

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

2021-01-20 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 v9 03/13] misc: bcm-vk: add autoload support

2021-01-20 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 v9 13/13] misc: bcm-vk: add ttyVK support

2021-01-20 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 v9 01/13] bcm-vk: add bcm_vk UAPI

2021-01-20 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 v9 05/13] misc: bcm-vk: add triggers when host panic or reboots to notify card

2021-01-20 Thread Scott Branden
-by: 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 v9 06/13] misc: bcm-vk: add open/release

2021-01-20 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 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

[PATCH v9 00/13] Add Broadcom VK driver

2021-01-20 Thread Scott Branden
es 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 reboots to notify card

[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

[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 09/13] misc: bcm-vk: add VK messaging support

2021-01-20 Thread Scott Branden
-by: 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 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 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 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

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 v2 2/2] hwrng: iproc-rng200: Move enable/disable in separate function

2020-12-18 Thread Scott Branden
hias 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 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 > > drivers

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

2020-12-14 Thread Scott Branden
On 2020-12-14 8:04 a.m., matthias@kernel.org wrote: > From: Matthias Brugger > > We are calling the same code for enable and disable the block in various > parts of the driver. Put that code into a new function to reduce code > duplication. Patch needs to be regenerated after most of PATCH

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

2020-12-14 Thread Scott Branden
On 2020-12-14 8:04 a.m., matthias@kernel.org wrote: > From: Matthias Brugger > > When trying to disable the block we bitwise or the control > register with value zero. This will leave the block always turned on. > Fix this by setting the corresponding bit to zero. > > Fixes: c83d45d5685f

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

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

[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

[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 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
-by: 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 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 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 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
-by: 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 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 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 00/13] Add Broadcom VK driver

2020-11-30 Thread Scott Branden
dint 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_ver_chk as sta

[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

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

2020-11-30 Thread Scott Branden
isplay 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] menuconfig,mconf-cfg: Allow specification of ncurses location

2020-11-27 Thread Scott Branden
a CROSS_CURSES_LIB and CROSS_CURSES_INC solves the issue and allowing compiling and linking against the right headers and libraries. Signed-off-by: Jason Wessel cc: Michal Marek cc: linux-kbu...@vger.kernel.org Signed-off-by: Bruce Ashfield Signed-off-by: Scott Branden --- scripts/kconfig/mconf-cfg.sh | 8

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

[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

[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 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 09/13] misc: bcm-vk: add VK messaging support

2020-11-17 Thread Scott Branden
-by: 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 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 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 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 05/13] misc: bcm-vk: add triggers when host panic or reboots to notify card

2020-11-17 Thread Scott Branden
-by: 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 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 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 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 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 00/13] Add Broadcom VK driver

2020-11-17 Thread Scott Branden
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 misc: bcm-vk: add B

  1   2   3   4   5   6   7   8   9   10   >