Re: [PATCH 6/6] net: octeontx: smi: fix mii probe

2021-03-26 Thread Suneel Garapati
Probably switch to Live tree API is needed like below. ofnode_for_each_subnode(subnode, dev_ofnode(dev)) { ret = ofnode_device_is_compatible(subnode, "cavium,thunder-8890-mdio"); Regards, Suneel On Fri, Mar 26, 2021 at 8:56

Re: [PATCH 4/6] drivers: net: octeontx: fix QSGMII

2021-03-26 Thread Suneel Garapati
This looks like a workaround than the root cause fix. As this patch just moves the bringup of link from probe stage to on-demand. On Thu, Mar 25, 2021 at 11:46 PM Stefan Roese wrote: > > On 26.03.21 01:07, Tim Harvey wrote: > > Revert a change that occured between the Marvell SDK-10.1.1.0 > > and

Re: [PATCH 4/6] drivers: net: octeontx: fix QSGMII

2021-03-26 Thread Suneel Garapati
+ Chandra On Fri, Mar 26, 2021 at 9:38 AM Tim Harvey wrote: > > On Fri, Mar 26, 2021 at 9:09 AM Suneel Garapati > wrote: > > > > This looks like a workaround than the root cause fix. > > As this patch just moves the bringup of link from probe stage to on-demand. >

Re: [PATCH v5] net: tftp: Add client support for RFC 7440

2021-01-30 Thread Suneel Garapati
Hello Ramon, With TFTP window size as default 1 and enabling TFTPPUT config option results in tftpboot command failure. Attached the pcap files for with and without TFTPPUT enabled. Both captures are the same except that the TFTPPUT option enables ICMP handler and for the response from the server

Re: [PATCH v5] net: tftp: Add client support for RFC 7440

2021-02-02 Thread Suneel Garapati
On Mon, Feb 1, 2021 at 2:27 PM Ramon Fried wrote: > > On Sat, Jan 30, 2021 at 11:26 PM Ramon Fried wrote: > > > > On Sat, Jan 30, 2021 at 10:39 PM Suneel Garapati > > wrote: > > > > > > Hello Ramon, > > > > > > With TFTP window size a

Re: [PATCH v5] net: tftp: Add client support for RFC 7440

2021-02-02 Thread Suneel Garapati
On Tue, Feb 2, 2021 at 11:46 AM Ramon Fried wrote: > > On Tue, Feb 2, 2021 at 6:02 PM Suneel Garapati wrote: > > > > On Mon, Feb 1, 2021 at 2:27 PM Ramon Fried wrote: > > > > > > On Sat, Jan 30, 2021 at 11:26 PM Ramon Fried wrote: > > > >

Re: [PATCH] net: tftp: Avoid sending extra ack on completion

2021-02-03 Thread Suneel Garapati
On Wed, Feb 3, 2021 at 12:05 AM Ramon Fried wrote: > > in tftpboot, if ack was already sent previously for this > packet, don't send again. > > Fixes: cc6b87ecaa96 ("net: tftp: Add client support for RFC 7440") > > Reported-by: Suneel Garapati > Signed-o

Re: [PATCH] net: tftp: Avoid sending extra ack on completion

2021-02-03 Thread Suneel Garapati
On Wed, Feb 3, 2021 at 11:26 AM Ramon Fried wrote: > > On Wed, Feb 3, 2021 at 8:43 PM Suneel Garapati wrote: > > > > On Wed, Feb 3, 2021 at 12:05 AM Ramon Fried wrote: > > > > > > in tftpboot, if ack was already sent previously for this > > >

Re: [PATCH v2] net: tftp: Avoid sending extra ack on completion

2021-02-03 Thread Suneel Garapati
On Wed, Feb 3, 2021 at 11:26 AM Ramon Fried wrote: > > in tftpboot, if ack was already sent previously for this > packet, don't send again. > > Fixes: cc6b87ecaa96 ("net: tftp: Add client support for RFC 7440") > > Reported-by: Suneel Garapati > Signed-off

Re: [U-Boot] [RFC PATCH 00/29] arm: Introduce Marvell/Cavium OcteonTX

2019-10-31 Thread Suneel Garapati
Hi Tim, Thanks for testing the series. On Wed, Oct 30, 2019 at 10:06 AM Tim Harvey wrote: > > On Tue, Oct 29, 2019 at 2:08 PM Suneel Garapati > wrote: > > > > This series will add support for OcteonTX and OcteonTX2 processsor based > > platforms. The Marvell/Cavium

Re: [U-Boot] [RFC PATCH 00/29] arm: Introduce Marvell/Cavium OcteonTX

2019-10-31 Thread Suneel Garapati
Hi Tim, On Thu, Oct 31, 2019 at 3:14 PM Tim Harvey wrote: > > On Thu, Oct 31, 2019 at 12:47 PM Suneel Garapati > wrote: > > > > Hi Tim, > > > > Thanks for testing the series. > > > > On Wed, Oct 30, 2019 at 10:06 AM Tim Harvey wrote: > > >

Re: [U-Boot] [EXT] Re: [RFC/RESEND 01/22] arm: introduce ARCH_THUNDERX

2019-10-27 Thread Suneel Garapati
Hi Matthias, Thanks for your patience. Sorry for the delay. I will post the patch-set tomorrow. Regards, Suneel On Fri, Sep 27, 2019 at 01:59 Matthias Brugger wrote: > Hi Suneel, > > On 04/09/2019 08:03, Suneel Garapati wrote: > > Hi Matthias, > > > > Thank you fo

[U-Boot] [RFC PATCH 00/29] arm: Introduce Marvell/Cavium OcteonTX

2019-10-29 Thread Suneel Garapati
s and configurations Suneel Garapati (29): include: pci_ids: add vendor ID for Cavium include: pci: Increase max pci region limit fdtdec: add API to read pci bus-range property drivers: pci-uclass: fix incorrect argument in map_sysmem drivers: pci-uclass: make DT subnode parse optional dr

[U-Boot] [RFC PATCH 01/29] include: pci_ids: add vendor ID for Cavium

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati Signed-off-by: Suneel Garapati --- include/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/pci_ids.h b/include/pci_ids.h index bd59578ccb..f8b4f28996 100644 --- a/include/pci_ids.h +++ b/include/pci_ids.h @@ -2360,6 +2360,8 @@ #define

[U-Boot] [RFC PATCH 04/29] drivers: pci-uclass: fix incorrect argument in map_sysmem

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati Minor spelling correction. Signed-off-by: Suneel Garapati --- drivers/pci/pci-uclass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c index 896cb6b23a..848ac5a65e 100644 --- a/drivers/pci/pci

[U-Boot] [RFC PATCH 05/29] drivers: pci-uclass: make DT subnode parse optional

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati Parse subnode DT properties only if parent node is valid. Otherwise, assert is triggered on ofnode_valid in ofnode_first_subnode from dev_for_each_subnode. Signed-off-by: Suneel Garapati --- drivers/pci/pci-uclass.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion

[U-Boot] [RFC PATCH 02/29] include: pci: Increase max pci region limit

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati Increase MAX_PCI_REGIONS limit from 7 to 10. For some SoC's like OcteonTX/TX2 where everything is on PCI bus there is need for extra entries to support required peripherals. Signed-off-by: Suneel Garapati --- include/pci.h | 2 +- 1 file changed, 1 insertion(

[U-Boot] [RFC PATCH 03/29] fdtdec: add API to read pci bus-range property

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati Add fdtdec_get_pci_bus_range to read bus-range property values. Signed-off-by: Suneel Garapati --- include/fdtdec.h | 12 lib/fdtdec.c | 16 2 files changed, 28 insertions(+) diff --git a/include/fdtdec.h b/include/fdtdec.h index

[U-Boot] [RFC PATCH 08/29] drivers: pci-uclass: add support for Single-Root I/O Virtualizaiton

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati If SR-IOV capability is present, use it to initialize Virtual function (VF) PCI device instances. pci_sriov_init function will read SR-IOV registers to create VF devices under the PF PCI device and also bind driver if available. This function needs to be invoked from

[U-Boot] [RFC PATCH 07/29] drivers: pci-uclass: add support for Enhanced Allocation in Bridges

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati If Enhanced Allocation capability is present in bridges, use it to read the fixed sub-ordinate bus number. Signed-off-by: Suneel Garapati --- drivers/pci/pci-uclass.c | 25 +++-- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/drivers

[U-Boot] [RFC PATCH 06/29] drivers: pci-uclass: add multi entry support for pci regions

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati Enable PCI memory regions to be of multiple entry. This helps to add support for SoC's like OcteonTX/TX2 where every peripheral is on PCI bus. Signed-off-by: Suneel Garapati --- drivers/pci/Kconfig | 9 + drivers/pci/pci-uclass.c | 2 ++ 2 files change

[U-Boot] [RFC PATCH 12/29] drivers: rtc: ds1337: add driver model support

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati Add DM support to dallas 1337 RTC driver. Signed-off-by: Suneel Garapati --- drivers/rtc/Kconfig | 7 ++ drivers/rtc/ds1337.c | 170 +++ 2 files changed, 177 insertions(+) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig

[U-Boot] [RFC PATCH 10/29] drivers: pci-uclass: Add support for Alternate-RoutingID capability

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati If ARI capability is found on device, use it to update next function number in bus scan and also helps to skip unnecessary bdf scans. Signed-off-by: Suneel Garapati --- drivers/pci/pci-uclass.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion

[U-Boot] [RFC PATCH 11/29] include: arm: asm: io: add 64bit clrbits and setbits helpers

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati Signed-off-by: Suneel Garapati --- arch/arm/include/asm/io.h | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h index 723f3cf497..e87887c631 100644 --- a/arch/arm/include/asm/io.h +++ b/arch/arm/include/asm

[U-Boot] [RFC PATCH 13/29] arch: include: octeontx: add headers for OcteonTX

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati Signed-off-by: Suneel Garapati --- arch/arm/include/asm/arch-octeontx/board.h| 121 ++ arch/arm/include/asm/arch-octeontx/clock.h| 25 + .../asm/arch-octeontx/csrs/csrs-mio_emm.h | 1193 + .../include/asm/arch-octeontx/csrs/csrs-xcv.h | 428

[U-Boot] [RFC PATCH 19/29] drivers: gpio: add GPIO controller driver for OcteonTX

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati Adds support for GPIO controllers found on OcteonTX or OcteonTX2 SoC platforms. Signed-off-by: Aaron Williams Signed-off-by: Suneel Garapati --- drivers/gpio/Kconfig | 7 ++ drivers/gpio/Makefile| 1 + drivers/gpio/octeontx_gpio.c | 218

[U-Boot] [RFC PATCH 18/29] drivers: pci: add PCI controller driver for OcteonTX

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati Adds support for PCI ECAM/PEM controllers found on OcteonTX or OcteonTX2 SoC platforms. Signed-off-by: Suneel Garapati --- drivers/pci/Kconfig| 8 + drivers/pci/Makefile | 1 + drivers/pci/pci_octeontx.c | 538 + 3

[U-Boot] [RFC PATCH 21/29] drivers: spi: add SPI controller driver for OcteonTX

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati Adds support for SPI controllers found on OcteonTX or OcteonTX2 SoC platforms. Signed-off-by: Aaron Williams Signed-off-by: Suneel Garapati --- drivers/spi/Kconfig| 6 + drivers/spi/Makefile | 1 + drivers/spi/octeontx_spi.c | 750

[U-Boot] [RFC PATCH 24/29] drivers: mtd: nand: add NAND controller driver for OcteonTX

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati Adds support for NAND controllers found on OcteonTX or OcteonTX2 SoC platforms. Also includes driver to support Hardware ECC using BCH HW engine found on these platforms. Signed-off-by: Aaron Williams Signed-off-by: Suneel Garapati --- drivers/mtd/nand/raw/Kconfig

[U-Boot] [RFC PATCH 22/29] drivers: mmc: remove static qualifier on mmc_power_init

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati For platforms with multiple slot support like OcteonTX, this is invoked per slot. Signed-off-by: Suneel Garapati --- drivers/mmc/mmc.c | 2 +- include/mmc.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c

[U-Boot] [RFC PATCH 09/29] drivers: pci-uclass: add VF map_bar support for Enhanced Allocation

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati Makes dm_pci_map_bar API available for Virtual function PCI devices based on SR-IOV capability which support Enhanced Allocation. Signed-off-by: Suneel Garapati --- drivers/pci/pci-uclass.c | 46 +++- include/pci.h| 3

[U-Boot] [RFC PATCH 29/29] octeontx2: Add support for OcteonTX2 SoC platforms

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati This patch adds support for all OcteonTX2 96xx/95xx boards from Marvell. For 96xx boards, use octeontx_96xx_defconfig and for 95xx boards, use octeontx_95xx_defconfig. Signed-off-by: Suneel Garapati --- arch/arm/Kconfig| 13 ++ arch/arm/Makefile

[U-Boot] [RFC PATCH 16/29] drivers: ata: ahci: fill upper 32bit buffer address in sg descriptor

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati For platforms that support 64bit physical address, fill upper 32bit of buffer address in scatter-gather descriptor. This is needed for platforms with more than 4GB DRAM. Signed-off-by: Suneel Garapati --- drivers/ata/ahci.c | 5 + 1 file changed, 5 insertions

[U-Boot] [RFC PATCH 17/29] drivers: ata: ahci: add BAR index quirk for OcteonTX

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati For SATA controller found on OcteonTX SoC's, use non-standard PCI BAR0 instead of BAR5. Signed-off-by: Suneel Garapati --- drivers/ata/ahci.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 5f929700c0..f8fd2

[U-Boot] [RFC PATCH 15/29] drivers: ata: ahci: update max id if it is more than available ports

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati After check for maximum between max id and available ports, also check if available port count is less than max id and update. Signed-off-by: Suneel Garapati --- drivers/ata/ahci.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/ata/ahci.c b/drivers/ata

[U-Boot] [RFC PATCH 28/29] octeontx: Add support for OcteonTX SoC platforms

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati This patch adds support for all OcteonTX 81xx/83xx boards from Marvell. For 81xx boards, use octeontx_81xx_defconfig and for 83xx boards, use octeontx_83xx_defconfig. Signed-off-by: Suneel Garapati --- arch/arm/Kconfig | 9 + arch/arm/Makefile

[U-Boot] [RFC PATCH 20/29] drivers: i2c: add I2C controller driver for OcteonTX

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati Adds support for I2C controllers found on OcteonTX or OcteonTX2 SoC platforms. Signed-off-by: Aaron Williams Signed-off-by: Suneel Garapati --- drivers/i2c/Kconfig| 7 + drivers/i2c/Makefile | 1 + drivers/i2c/octeontx_i2c.c | 968

Re: [U-Boot] [EXT] Re: [RFC/RESEND 01/22] arm: introduce ARCH_THUNDERX

2019-10-29 Thread Suneel Garapati
Thanks Tim, sent the series. Regards, Suneel On Tue, Oct 29, 2019 at 12:11 PM Tim Harvey wrote: > > On Sun, Oct 27, 2019 at 10:34 PM Suneel Garapati > wrote: > > > > Hi Matthias, > > > > Thanks for your patience. Sorry for the delay. > > > > I wil

[U-Boot] [RFC PATCH 27/29] drivers: watchdog: add reset support for OcteonTX

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati Adds support for Core 0 poke on OcteonTX and OcteonTX2 platforms. Signed-off-by: Suneel Garapati --- drivers/watchdog/Kconfig| 10 + drivers/watchdog/Makefile | 1 + drivers/watchdog/octeontx_wdt.c | 76 + 3 files

[U-Boot] [RFC PATCH 23/29] drivers: mmc: add MMC controller driver for OcteonTX

2019-10-29 Thread Suneel Garapati
From: Suneel Garapati Adds support for MMC controllers found on OcteonTX or OcteonTX2 SoC platforms. Signed-off-by: Aaron Williams Signed-off-by: Suneel Garapati --- drivers/mmc/Kconfig |9 + drivers/mmc/Makefile |1 + drivers/mmc/octeontx_hsmmc.c | 3233

Re: [PATCH v2 06/10] drivers: spi: Add SPI controller driver for Octeon

2020-08-03 Thread Suneel Garapati
Hi Stefan, On Thu, Jul 30, 2020 at 4:58 AM Stefan Roese wrote: > > From: Suneel Garapati > > Adds support for SPI controllers found on Octeon II/III and Octeon TX > TX2 SoC platforms. > > Signed-off-by: Aaron Williams > Signed-off-by: Suneel Garapati > Signed

Re: [U-Boot] Cavium Octeon support for u-boot

2018-08-21 Thread Suneel Garapati
On Tue, Aug 21, 2018 at 5:57 AM, Alexander Graf wrote: > Hi Aaron, > > On 08/21/2018 08:07 AM, Aaron Williams wrote: >> >> The Octeon version of U-Boot is based off an older versin of U-Boot >> (2012.07) >> with a lot of features backported. For example, I have backported NVME >> support >> as wel

[U-Boot] Driver-model - Issue with early device_probe

2017-02-20 Thread Suneel Garapati
Hi All, Request for help on the below issue. Hi Simon, As I suppose it is related to driver-model in u-boot. One of the boards at Cavium has SPI as PCI device and I am trying to enable CONFIG_ENV_IS_IN_SPI_FLASH for this device. Below is the sequence which causes crash, due to early of pro

Re: [U-Boot] Driver-model - Issue with early device_probe

2017-02-25 Thread Suneel Garapati
On Tue, Feb 21, 2017 at 7:59 PM, Simon Glass wrote: > Hi Suneel, > > On 17 February 2017 at 17:44, Suneel Garapati wrote: >> Hi All, >> Request for help on the below issue. >> >> Hi Simon, >> As I suppose it is related to driver-model in u-boot. >&g

[U-Boot] [U-boot] use of CONFIG_SYS_EARLY_PCI_INIT with DM PCI

2017-04-25 Thread Suneel Garapati
Hi Simon, Request your inputs on below query - Boards I work on have most of the devices on PCI bus, driver model support enabled, would like to use CONFIG_SYS_EARLY_PCI_INIT to call pci_init but the below snippet would hinder. #ifdef CONFIG_PCI static int initr_pci(void) { -#ifndef CONFIG_DM

Re: [U-Boot] [U-boot] use of CONFIG_SYS_EARLY_PCI_INIT with DM PCI

2017-04-27 Thread Suneel Garapati
Hi Tom/Simon, Request to help on below query. Regards, Suneel On Tue, Apr 25, 2017 at 16:25 Suneel Garapati wrote: > Hi Simon, > > Request your inputs on below query - > > Boards I work on have most of the devices on PCI bus, driver model > support enabled,

Re: [U-Boot] [PATCH 10/14] dm: mmc: sunxi: Add support for driver model

2017-07-27 Thread Suneel Garapati
Hi Simon, I have similar requirement of Cavium boards using two card slots on one host and currently trying to figure out to support it using DM_MMC. Would like to know if you have quick thoughts or seen similar use case with some other boards too? Please correct me if I miss something obvious.

Re: [U-Boot] [PATCH 10/14] dm: mmc: sunxi: Add support for driver model

2017-07-28 Thread Suneel Garapati
Hi Simon, On Fri, Jul 28, 2017 at 11:44 AM, Simon Glass wrote: > Hi Suneel, > > On 27 July 2017 at 23:03, Suneel Garapati wrote: >> Hi Simon, >> >> I have similar requirement of Cavium boards using two card slots on >> one host and currently trying to figure

[U-Boot] [UBOOT] [PATCH] cmd: usb: ignore block devices under mass storage device

2017-08-10 Thread Suneel Garapati
usb tree and info commands may cause crash otherwise Signed-off-by: Suneel Garapati --- cmd/usb.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/usb.c b/cmd/usb.c index 992d414..81e1a7b 100644 --- a/cmd/usb.c +++ b/cmd/usb.c @@ -415,7 +415,8 @@ static void

Re: [U-Boot] [UBOOT] [PATCH] cmd: usb: ignore block devices under mass storage device

2017-08-14 Thread Suneel Garapati
Hi Simon, On Sun, Aug 13, 2017 at 2:37 PM, Simon Glass wrote: > Hi Suneel, > > On 10 August 2017 at 23:53, Suneel Garapati wrote: >> usb tree and info commands may cause crash otherwise >> >> Signed-off-by: Suneel Garapati >> --- >> cmd/usb.c | 6 --

[U-Boot] [U-BOOT][PATCH] drivers: ahci: write upper 32 bits for clb and fis registers

2017-08-23 Thread Suneel Garapati
If 64-bit capability is supported, commandlistbase and fis base should be split as lower32 and upper32. upper32 should be written to PORT_(LST/FIS)_ADDR_HI. Signed-off-by: Suneel Garapati --- drivers/ata/ahci.c | 11 +-- include/ahci.h | 1 + 2 files changed, 10 insertions(+), 2

Re: [U-Boot] [UBOOT] [PATCH] cmd: usb: ignore block devices under mass storage device

2017-08-28 Thread Suneel Garapati
Hi, Request for review on comments below. Regards, Suneel On Mon, Aug 14, 2017 at 8:06 PM, Suneel Garapati wrote: > Hi Simon, > > > On Sun, Aug 13, 2017 at 2:37 PM, Simon Glass wrote: >> Hi Suneel, >> >> On 10 August 2017 at 23:53, Suneel Garapati wrote: >

Re: [U-Boot] [UBOOT] [PATCH] cmd: usb: ignore block devices under mass storage device

2017-09-01 Thread Suneel Garapati
Hi Simon, On Thu, Aug 31, 2017 at 5:52 AM, Simon Glass wrote: > Hi Suneel, > > On 15 August 2017 at 11:06, Suneel Garapati wrote: >> Hi Simon, >> >> >> On Sun, Aug 13, 2017 at 2:37 PM, Simon Glass wrote: >>> Hi Suneel, >>> >>> On 10

Re: [U-Boot] [UBOOT] [PATCH] cmd: usb: ignore block devices under mass storage device

2017-09-01 Thread Suneel Garapati
Hi, On Thu, Aug 31, 2017 at 11:30 PM, Lothar Waßmann wrote: > Hi, > > On Thu, 10 Aug 2017 22:53:31 -0700 Suneel Garapati wrote: >> usb tree and info commands may cause crash otherwise >> >> Signed-off-by: Suneel Garapati >> --- >> cmd/usb.c | 6 --

Re: [U-Boot] [U-BOOT][PATCH] drivers: ahci: write upper 32 bits for clb and fis registers

2017-09-01 Thread Suneel Garapati
Hi, I need to send v1 with LOWER32 and UPPER32 macro definitions, so bad to miss them. Regards, Suneel On Thu, Aug 24, 2017 at 12:54 AM, Bin Meng wrote: > On Thu, Aug 24, 2017 at 2:02 PM, Suneel Garapati > wrote: >> If 64-bit capability is supported, commandlistbase and fis base

[U-Boot] [PATCH v1] drivers: ahci: write upper 32 bits for clb and fis registers

2017-09-06 Thread Suneel Garapati
If 64-bit capability is supported, commandlistbase and fis base should be split as lower32 and upper32. upper32 should be written to PORT_(LST/FIS)_ADDR_HI. Signed-off-by: Suneel Garapati --- Changes v1: - add macro definitions for LOWER32, UPPER32 drivers/ata/ahci.c | 14

[U-Boot] [PATCH v1] cmd: usb: add blk devices to ignore list in tree graph

2017-09-06 Thread Suneel Garapati
add blk child devices to ignore list while displaying usb tree graph, otherwise usb tree and info commands may cause crash treating blk as usb device. Signed-off-by: Suneel Garapati --- Changes v1: - add separate check on blk uclass - modify description - add separate check on parent uclass

Re: [U-Boot] [PATCH v1] cmd: usb: add blk devices to ignore list in tree graph

2017-09-15 Thread Suneel Garapati
Hi Bin, On Thu, Sep 14, 2017 at 11:27 PM, Bin Meng wrote: > Hi Suneel, > > On Mon, Sep 11, 2017 at 2:17 PM, Simon Glass wrote: >> On 6 September 2017 at 11:01, Suneel Garapati wrote: >>> add blk child devices to ignore list while displaying >>> usb tree g

[U-Boot] [PATCH v2] cmd: usb: add blk devices to ignore list in tree graph

2017-09-18 Thread Suneel Garapati
add blk child devices to ignore list while displaying usb tree graph, otherwise usb tree and info commands may cause crash treating blk as usb device. Signed-off-by: Suneel Garapati --- Changes v2: - remove check on parent uclass Changes v1: - add separate check on blk uclass - modify

[U-Boot] [PATCH v3] cmd: usb: add blk devices to ignore list in tree graph

2017-09-18 Thread Suneel Garapati
add blk child devices to ignore list while displaying usb tree graph, otherwise usb tree and info commands may cause crash treating blk as usb device. Signed-off-by: Suneel Garapati --- Changes v3: - remove 'check on parent uclass' in description Changes v2: - remove check on par

Re: [U-Boot] [PATCH v2] cmd: usb: add blk devices to ignore list in tree graph

2017-09-18 Thread Suneel Garapati
Thanks Bin and Stefan. I have sent the v3. Regards, Suneel On Mon, Sep 18, 2017 at 9:52 PM, Stefan Roese wrote: > On 19.09.2017 05:05, Suneel Garapati wrote: >> >> add blk child devices to ignore list while displaying >> usb tree graph, otherwise usb tree and info comman

Re: [U-Boot] [PATCH v3] cmd: usb: add blk devices to ignore list in tree graph

2017-09-19 Thread Suneel Garapati
Hi Bin, On Tue, Sep 19, 2017 at 12:32 AM, Bin Meng wrote: > Hi Suneel, > > On Tue, Sep 19, 2017 at 1:55 PM, Suneel Garapati > wrote: >> add blk child devices to ignore list while displaying >> usb tree graph, otherwise usb tree and info commands >> may cause cr

Re: [U-Boot] [PATCH v3] cmd: usb: add blk devices to ignore list in tree graph

2017-09-19 Thread Suneel Garapati
Hi Bin, On Tue, Sep 19, 2017 at 8:32 PM, Bin Meng wrote: > Hi Suneel, > > On Wed, Sep 20, 2017 at 2:31 AM, Suneel Garapati > wrote: >> Hi Bin, >> >> On Tue, Sep 19, 2017 at 12:32 AM, Bin Meng wrote: >>> Hi Suneel, >>> >>> On Tue, Sep 1

[U-Boot] [PATCH v4] cmd: usb: add blk devices to ignore list in tree graph

2017-09-20 Thread Suneel Garapati
add blk child devices to ignore list while displaying usb tree graph, otherwise usb tree and info commands may cause crash treating blk as usb device. Signed-off-by: Suneel Garapati --- Changes v4: - do not set preamble if child is block device for mass storage Changes v3: - remove 'che

Re: [U-Boot] [PATCH v3] cmd: usb: add blk devices to ignore list in tree graph

2017-09-20 Thread Suneel Garapati
Hi Bin, On Wed, Sep 20, 2017 at 12:42 AM, Bin Meng wrote: > Hi Suneel, > > On Wed, Sep 20, 2017 at 2:32 PM, Suneel Garapati > wrote: >> Hi Bin, >> >> On Tue, Sep 19, 2017 at 8:32 PM, Bin Meng wrote: >>> Hi Suneel, >>> >>> On Wed, Sep

Re: [U-Boot] [PATCH v4] cmd: usb: add blk devices to ignore list in tree graph

2017-09-20 Thread Suneel Garapati
Hi Bin, On Wed, Sep 20, 2017 at 8:35 PM, Bin Meng wrote: > Hi Suneel, > > On Thu, Sep 21, 2017 at 10:17 AM, Suneel Garapati > wrote: >> add blk child devices to ignore list while displaying >> usb tree graph, otherwise usb tree and info commands >> may cause cr

[U-Boot] [PATCH v5] cmd: usb: add blk, emulation devices to ignore list as needed

2017-09-20 Thread Suneel Garapati
add blk child devices to ignore list while displaying usb tree graph, also preamble should not be set for blk child devices. add usb_emul to ignore list in usb_show_info. otherwise usb tree and info commands may cause crash treating blk as usb device. Signed-off-by: Suneel Garapati Reviewed-by

Re: [U-Boot] [PATCH v5] cmd: usb: add blk, emulation devices to ignore list as needed

2017-10-16 Thread Suneel Garapati
Hi Bin/Simon, Request to know if this will be applied for v2017.11 Regards, Suneel On Sun, Sep 24, 2017 at 7:13 PM, Simon Glass wrote: > On 20 September 2017 at 23:09, Suneel Garapati wrote: >> add blk child devices to ignore list while displaying usb tree graph, >> also prea

Re: [U-Boot] [PATCH v5] cmd: usb: add blk, emulation devices to ignore list as needed

2017-10-17 Thread Suneel Garapati
On Tue, Oct 17, 2017 at 5:43 AM, Marek Vasut wrote: > On 10/17/2017 05:21 AM, Bin Meng wrote: >> +Marek, Tom, > > Well, if the author CCed me in the first place, that'd be useful. > >> On Tue, Oct 17, 2017 at 11:14 AM, Suneel Garapati >> wrote: >>> H

Re: [U-Boot] [PATCH v5] cmd: usb: add blk, emulation devices to ignore list as needed

2017-10-17 Thread Suneel Garapati
On Tue, Oct 17, 2017 at 6:22 PM, Marek Vasut wrote: > On 10/18/2017 01:50 AM, Suneel Garapati wrote: >> On Tue, Oct 17, 2017 at 5:43 AM, Marek Vasut wrote: >>> On 10/17/2017 05:21 AM, Bin Meng wrote: >>>> +Marek, Tom, >>> >>> Well, if the aut

[U-Boot] [PATCH v6] cmd: usb: ignore blk, emulation devices in usb tree/info display

2017-10-18 Thread Suneel Garapati
and usb_tree_graph. also avoid addition of preamble for blk uclass child devices, otherwise tree dump gets messed up. Signed-off-by: Suneel Garapati Reviewed-by: Bin Meng Tested-by: Bin Meng Reviewed-by: Simon Glass --- Changes v6: - re-write commit message with detail Changes v5: - add

Re: [U-Boot] [PATCH v6] cmd: usb: ignore blk, emulation devices in usb tree/info display

2017-10-18 Thread Suneel Garapati
On Wed, Oct 18, 2017 at 6:39 PM, Marek Vasut wrote: > On 10/19/2017 03:22 AM, Suneel Garapati wrote: >> usb tree/info commands iterate over all usb uclass devices >> recursively. blk uclass child devices are created for mass storage, >> treating these as usb uclass device

Re: [U-Boot] [PATCH v6] cmd: usb: ignore blk, emulation devices in usb tree/info display

2017-10-19 Thread Suneel Garapati
On Thu, Oct 19, 2017 at 12:33 AM, Marek Vasut wrote: > On 10/19/2017 05:24 AM, Suneel Garapati wrote: >> On Wed, Oct 18, 2017 at 6:39 PM, Marek Vasut wrote: >>> On 10/19/2017 03:22 AM, Suneel Garapati wrote: >>>> usb tree/info commands iterate over all usb uclass

[U-Boot] [PATCH v7] cmd: usb: ignore blk, emulation devices in usb tree/info display

2017-10-23 Thread Suneel Garapati
and usb_emul uclass devices in usb_show_info and usb_tree_graph. Also avoid addition of preamble for blk uclass child devices, otherwise tree dump gets messed up. Signed-off-by: Suneel Garapati Reviewed-by: Bin Meng Tested-by: Bin Meng Reviewed-by: Simon Glass --- Changes v7: - modify commit

Re: [U-Boot] Driver probing

2019-06-22 Thread Suneel Garapati
Hi Aaron, IMO, serial_init or serial_initialize will only probe for console device - stdout-path in case of devicetree. One should add lazy probe of all serial devices using uclass helpers with board_late_init or last_stage_init in init_sequence_r. In this case, to probe only this device check aga

Re: [U-Boot] [RFC/RESEND 01/22] arm: introduce ARCH_THUNDERX

2019-03-22 Thread Suneel Garapati
Hi Tim, First series will be out week ending April 20th. Regards, Suneel On Fri, Mar 15, 2019 at 4:02 PM Tim Harvey wrote: > > Tim Harvey - Principal Software EngineerGateworks Corporation - > http://www.gateworks.com/3026 S. Higuera St. San Luis Obispo CA > 93401805-781-2000 > On Mon, Mar 4, 2

Re: [U-Boot] [RFC/RESEND 01/22] arm: introduce ARCH_THUNDERX

2019-05-16 Thread Suneel Garapati
Hi Tim, Missed aggressive timeline, first RFC series should be out in three weeks time as priority. Regards, Suneel On Tue, May 7, 2019 at 8:10 AM Tim Harvey wrote: > > On Fri, Mar 22, 2019 at 11:23 AM Suneel Garapati wrote: > > > > Hi Tim, > > > > First series

Re: [U-Boot] [RFC/RESEND 01/22] arm: introduce ARCH_THUNDERX

2019-07-31 Thread Suneel Garapati
Hi Matthias, Hard deadline is Aug 15th, so you should see first series before that. Regards, Suneel On Wed, Jul 24, 2019 at 3:30 AM Matthias Brugger wrote: > > Hi Suneel, > Hi Chandrakala, > > On 16/05/2019 19:07, Suneel Garapati wrote: > > Hi Tim, > > > > Miss

Re: [U-Boot] [EXT] Re: [RFC/RESEND 01/22] arm: introduce ARCH_THUNDERX

2019-09-03 Thread Suneel Garapati
> > From: Tim Harvey > > Sent: Monday, August 26, 2019 10:54:34 AM > > To: Suneel Garapati > > Cc: Matthias Brugger ; Chandrakala Chavva > > ; prasun.kap...@cavium.com ; > > Sergey Temerkhanov ; u-boot > > ; chandrakala.