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

2019-08-26 Thread Tim Harvey
On Wed, Jul 31, 2019 at 5:32 PM Suneel Garapati  wrote:
>
> Hi Matthias,
>
> Hard deadline is Aug 15th, so you should see first series before that.
>

Suneel,

Update? I'm really wishing my patches posted last March were
considered instead of all of this waiting.

Regards,

Tim
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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,
> >
> > Missed aggressive timeline, first RFC series should be out in three weeks
> > time as priority.
> >
>
> Any news on the patch set?
>
> Regards,
> Matthias
>
> > 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 will be out week ending April 20th.
> >>>
> >>> Regards,
> >>> Suneel
> >>
> >> Suneel,
> >>
> >> Any update on a Marvell submitted/maintained patch series for Octeon-TX
> > support?
> >>
> >> Best Regards,
> >>
> >> Tim
> > ___
> > U-Boot mailing list
> > U-Boot@lists.denx.de
> > https://lists.denx.de/listinfo/u-boot
> >
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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 will be out week ending April 20th.
> >
> > Regards,
> > Suneel
>
> Suneel,
>
> Any update on a Marvell submitted/maintained patch series for Octeon-TX
support?
>
> Best Regards,
>
> Tim
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-05-07 Thread Tim Harvey
On Fri, Mar 22, 2019 at 11:23 AM Suneel Garapati  wrote:
>
> Hi Tim,
>
> First series will be out week ending April 20th.
>
> Regards,
> Suneel

Suneel,

Any update on a Marvell submitted/maintained patch series for Octeon-TX support?

Best Regards,

Tim
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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, 2019 at 12:07 PM Tim Harvey  wrote:
> >
> > On Mon, Mar 4, 2019 at 11:05 AM Chandrakala Chavva  
> > wrote:
> > >
> > > We will be submitting OcteonTX/OcteonTX2 support soon to mainline, these 
> > > are very old changes, please wait till then.
> > >
> > >
> > > Chandra
> >
> > Chandra,
> >
> > Thanks for the reply. Can you elaborate on what 'soon' might be...
> > weeks or months?
> >
>
> Chandra,
>
> Any response with regards to what 'soon' means? We have SUSE users
> wanting to the UEFI support/fixes in modern U-Boot and the U-Boot from
> your latest SDK is based on U-Boot 2017.07.
>
> Tim
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-03-15 Thread Tim Harvey
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, 2019 at 12:07 PM Tim Harvey  wrote:
>
> On Mon, Mar 4, 2019 at 11:05 AM Chandrakala Chavva  
> wrote:
> >
> > We will be submitting OcteonTX/OcteonTX2 support soon to mainline, these 
> > are very old changes, please wait till then.
> >
> >
> > Chandra
>
> Chandra,
>
> Thanks for the reply. Can you elaborate on what 'soon' might be...
> weeks or months?
>

Chandra,

Any response with regards to what 'soon' means? We have SUSE users
wanting to the UEFI support/fixes in modern U-Boot and the U-Boot from
your latest SDK is based on U-Boot 2017.07.

Tim
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-03-04 Thread Chandrakala Chavva
We will be submitting OcteonTX/OcteonTX2 support soon to mainline, these are 
very old changes, please wait till then.


Chandra


From: Tim Harvey 
Sent: Monday, March 4, 2019 9:34:16 AM
To: Aaron Williams; Chris Packham; Alexander Graf; Zi Shen Lim; Maen Suleiman; 
Suneel Garapati; chandrakala.cha...@cavium.com; prasun.kap...@cavium.com; 
Sergey Temerkhanov
Cc: u-boot; Tim Harvey
Subject: [U-Boot] [RFC/RESEND 01/22] arm: introduce ARCH_THUNDERX

Signed-off-by: Tim Harvey 
---
 arch/arm/Kconfig  |  6 +++---
 arch/arm/Makefile |  1 +
 arch/arm/dts/Makefile |  2 +-
 .../arm/include/asm/arch-thunderx}/atf.h  |  2 +-
 .../arm/include/asm/arch-thunderx}/atf_part.h |  0
 .../arm/include/asm/arch-thunderx}/thunderx_svc.h |  0
 arch/arm/include/asm/gpio.h   |  2 +-
 arch/arm/mach-thunderx/Makefile   |  2 ++
 .../thunderx => arch/arm/mach-thunderx}/atf.c |  6 +++---
 board/cavium/thunderx/Kconfig | 15 ---
 board/cavium/thunderx/Makefile|  2 +-
 board/cavium/thunderx/thunderx.c  |  2 +-
 configs/thunderx_88xx_defconfig   |  3 ++-
 13 files changed, 28 insertions(+), 15 deletions(-)
 rename {include/cavium => arch/arm/include/asm/arch-thunderx}/atf.h (96%)
 rename {include/cavium => arch/arm/include/asm/arch-thunderx}/atf_part.h (100%)
 rename {include/cavium => arch/arm/include/asm/arch-thunderx}/thunderx_svc.h 
(100%)
 create mode 100644 arch/arm/mach-thunderx/Makefile
 rename {board/cavium/thunderx => arch/arm/mach-thunderx}/atf.c (98%)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 1f3fa1575a..9f6f5a41da 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -393,7 +393,7 @@ config SPL_USE_ARCH_MEMSET

 config ARM64_SUPPORT_AARCH32
 bool "ARM64 system support AArch32 execution state"
-   default y if ARM64 && !TARGET_THUNDERX_88XX
+   default y if ARM64 && !ARCH_THUNDERX
 help
   This ARM64 system supports AArch32 execution state.

@@ -1359,8 +1359,8 @@ config ARCH_ROCKCHIP
 imply TPL_SYSRESET
 imply USB_FUNCTION_FASTBOOT

-config TARGET_THUNDERX_88XX
-   bool "Support ThunderX 88xx"
+config ARCH_THUNDERX
+   bool "Support ThunderX"
 select ARM64
 select OF_CONTROL
 select PL01X_SERIAL
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 4b6c5e1935..f58e2cd29c 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -79,6 +79,7 @@ machine-$(CONFIG_STM32)   += stm32
 machine-$(CONFIG_ARCH_STM32MP)  += stm32mp
 machine-$(CONFIG_TEGRA) += tegra
 machine-$(CONFIG_ARCH_UNIPHIER) += uniphier
+machine-$(CONFIG_ARCH_THUNDERX)+= thunderx
 machine-$(CONFIG_ARCH_ZYNQ) += zynq
 machine-$(CONFIG_ARCH_VERSAL)   += versal
 machine-$(CONFIG_ARCH_ZYNQMP_R5)+= zynqmp-r5
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index d36447d18d..87ccd96596 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -192,7 +192,7 @@ dtb-$(CONFIG_AM43XX) += am437x-gp-evm.dtb am437x-sk-evm.dtb 
\
 am437x-idk-evm.dtb \
 am4372-generic.dtb
 dtb-$(CONFIG_TI816X) += dm8168-evm.dtb
-dtb-$(CONFIG_THUNDERX) += thunderx-88xx.dtb
+dtb-$(CONFIG_THUNDERX_88XX) += thunderx-88xx.dtb

 dtb-$(CONFIG_ARCH_SOCFPGA) +=   \
 socfpga_arria5_socdk.dtb\
diff --git a/include/cavium/atf.h b/arch/arm/include/asm/arch-thunderx/atf.h
similarity index 96%
rename from include/cavium/atf.h
rename to arch/arm/include/asm/arch-thunderx/atf.h
index 3cf05c43d7..cda42d6140 100644
--- a/include/cavium/atf.h
+++ b/arch/arm/include/asm/arch-thunderx/atf.h
@@ -4,7 +4,7 @@
 **/
 #ifndef __ATF_H__
 #define __ATF_H__
-#include 
+#include "atf_part.h"

 ssize_t atf_read_mmc(uintptr_t offset, void *buffer, size_t size);
 ssize_t atf_read_nor(uintptr_t offset, void *buffer, size_t size);
diff --git a/include/cavium/atf_part.h 
b/arch/arm/include/asm/arch-thunderx/atf_part.h
similarity index 100%
rename from include/cavium/atf_part.h
rename to arch/arm/include/asm/arch-thunderx/atf_part.h
diff --git a/include/cavium/thunderx_svc.h 
b/arch/arm/include/asm/arch-thunderx/thunderx_svc.h
similarity index 100%
rename from include/cavium/thunderx_svc.h
rename to arch/arm/include/asm/arch-thunderx/thunderx_svc.h
diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h
index 3039e66bf9..420f253c1b 100644
--- a/arch/arm/include/asm/gpio.h
+++ b/arch/arm/include/asm/gpio.h
@@ -1,5 +1,5 @@
 #if !defined(CONFIG_ARCH_UNIPHIER) && !defined(CONFIG_ARCH_STI) && \
-   !defined(CONFIG_ARCH_K3)
+   !defined(CONFIG_ARCH_K3) && !defined(CONFIG_ARCH_THUNDERX)
 #in

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

2019-03-04 Thread Tim Harvey
On Mon, Mar 4, 2019 at 11:05 AM Chandrakala Chavva  wrote:
>
> We will be submitting OcteonTX/OcteonTX2 support soon to mainline, these are 
> very old changes, please wait till then.
>
>
> Chandra

Chandra,

Thanks for the reply. Can you elaborate on what 'soon' might be...
weeks or months?

Regards,

Tim
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-03-04 Thread Tim Harvey
Signed-off-by: Tim Harvey 
---
 arch/arm/Kconfig  |  6 +++---
 arch/arm/Makefile |  1 +
 arch/arm/dts/Makefile |  2 +-
 .../arm/include/asm/arch-thunderx}/atf.h  |  2 +-
 .../arm/include/asm/arch-thunderx}/atf_part.h |  0
 .../arm/include/asm/arch-thunderx}/thunderx_svc.h |  0
 arch/arm/include/asm/gpio.h   |  2 +-
 arch/arm/mach-thunderx/Makefile   |  2 ++
 .../thunderx => arch/arm/mach-thunderx}/atf.c |  6 +++---
 board/cavium/thunderx/Kconfig | 15 ---
 board/cavium/thunderx/Makefile|  2 +-
 board/cavium/thunderx/thunderx.c  |  2 +-
 configs/thunderx_88xx_defconfig   |  3 ++-
 13 files changed, 28 insertions(+), 15 deletions(-)
 rename {include/cavium => arch/arm/include/asm/arch-thunderx}/atf.h (96%)
 rename {include/cavium => arch/arm/include/asm/arch-thunderx}/atf_part.h (100%)
 rename {include/cavium => arch/arm/include/asm/arch-thunderx}/thunderx_svc.h 
(100%)
 create mode 100644 arch/arm/mach-thunderx/Makefile
 rename {board/cavium/thunderx => arch/arm/mach-thunderx}/atf.c (98%)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 1f3fa1575a..9f6f5a41da 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -393,7 +393,7 @@ config SPL_USE_ARCH_MEMSET
 
 config ARM64_SUPPORT_AARCH32
bool "ARM64 system support AArch32 execution state"
-   default y if ARM64 && !TARGET_THUNDERX_88XX
+   default y if ARM64 && !ARCH_THUNDERX
help
  This ARM64 system supports AArch32 execution state.
 
@@ -1359,8 +1359,8 @@ config ARCH_ROCKCHIP
imply TPL_SYSRESET
imply USB_FUNCTION_FASTBOOT
 
-config TARGET_THUNDERX_88XX
-   bool "Support ThunderX 88xx"
+config ARCH_THUNDERX
+   bool "Support ThunderX"
select ARM64
select OF_CONTROL
select PL01X_SERIAL
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 4b6c5e1935..f58e2cd29c 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -79,6 +79,7 @@ machine-$(CONFIG_STM32)   += stm32
 machine-$(CONFIG_ARCH_STM32MP) += stm32mp
 machine-$(CONFIG_TEGRA)+= tegra
 machine-$(CONFIG_ARCH_UNIPHIER)+= uniphier
+machine-$(CONFIG_ARCH_THUNDERX)+= thunderx
 machine-$(CONFIG_ARCH_ZYNQ)+= zynq
 machine-$(CONFIG_ARCH_VERSAL)  += versal
 machine-$(CONFIG_ARCH_ZYNQMP_R5)   += zynqmp-r5
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index d36447d18d..87ccd96596 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -192,7 +192,7 @@ dtb-$(CONFIG_AM43XX) += am437x-gp-evm.dtb am437x-sk-evm.dtb 
\
am437x-idk-evm.dtb \
am4372-generic.dtb
 dtb-$(CONFIG_TI816X) += dm8168-evm.dtb
-dtb-$(CONFIG_THUNDERX) += thunderx-88xx.dtb
+dtb-$(CONFIG_THUNDERX_88XX) += thunderx-88xx.dtb
 
 dtb-$(CONFIG_ARCH_SOCFPGA) +=  \
socfpga_arria5_socdk.dtb\
diff --git a/include/cavium/atf.h b/arch/arm/include/asm/arch-thunderx/atf.h
similarity index 96%
rename from include/cavium/atf.h
rename to arch/arm/include/asm/arch-thunderx/atf.h
index 3cf05c43d7..cda42d6140 100644
--- a/include/cavium/atf.h
+++ b/arch/arm/include/asm/arch-thunderx/atf.h
@@ -4,7 +4,7 @@
 **/
 #ifndef __ATF_H__
 #define __ATF_H__
-#include 
+#include "atf_part.h"
 
 ssize_t atf_read_mmc(uintptr_t offset, void *buffer, size_t size);
 ssize_t atf_read_nor(uintptr_t offset, void *buffer, size_t size);
diff --git a/include/cavium/atf_part.h 
b/arch/arm/include/asm/arch-thunderx/atf_part.h
similarity index 100%
rename from include/cavium/atf_part.h
rename to arch/arm/include/asm/arch-thunderx/atf_part.h
diff --git a/include/cavium/thunderx_svc.h 
b/arch/arm/include/asm/arch-thunderx/thunderx_svc.h
similarity index 100%
rename from include/cavium/thunderx_svc.h
rename to arch/arm/include/asm/arch-thunderx/thunderx_svc.h
diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h
index 3039e66bf9..420f253c1b 100644
--- a/arch/arm/include/asm/gpio.h
+++ b/arch/arm/include/asm/gpio.h
@@ -1,5 +1,5 @@
 #if !defined(CONFIG_ARCH_UNIPHIER) && !defined(CONFIG_ARCH_STI) && \
-   !defined(CONFIG_ARCH_K3)
+   !defined(CONFIG_ARCH_K3) && !defined(CONFIG_ARCH_THUNDERX)
 #include 
 #endif
 #include 
diff --git a/arch/arm/mach-thunderx/Makefile b/arch/arm/mach-thunderx/Makefile
new file mode 100644
index 00..34b6ecc2f9
--- /dev/null
+++ b/arch/arm/mach-thunderx/Makefile
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0+
+obj-y  := atf.o
diff --git a/board/cavium/thunderx/atf.c b/arch/arm/mach-thunderx/atf.c
similarity index 98%
rename from board/cavium/thunderx/atf.c
rename to arch/arm/mach-thunderx/atf.c
index 2e7ba69d76..cebd84b0e1 100644
--- a/board/cavium/thunderx/atf.c
+++ b/arch/arm/mach-thunderx/atf.c
@@ -7,9 +7,9 @@