[PATCH v1 1/1] aspeed/hace: Support AST1030 HACE

2022-05-02 Thread Steven Lee
Per ast1030_v7.pdf, AST1030 HACE engine is identical to AST2600's HACE engine. Signed-off-by: Steven Lee --- hw/misc/aspeed_hace.c | 20 include/hw/misc/aspeed_hace.h | 2 ++ 2 files changed, 22 insertions(+) diff --git a/hw/misc/aspeed_hace.c b/hw

[PATCH v1 0/1] aspeed/hace: Support AST1030 HACE

2022-05-02 Thread Steven Lee
Per ast1030_v7.pdf, AST1030 HACE engine is identical to AST2600's HACE engine. Please help to review. Thanks, Steven Based-on: 20220426021120.28255-3-steven_...@aspeedtech.com ([v6,2/3] aspeed/hace: Support AST2600 HACE) Steven Lee (1): aspeed/hace: Support AST1030 HACE hw

[PATCH v1 1/1] hw: aspeed_scu: Add AST2600 hpll calculation function

2022-03-14 Thread Steven Lee
AST2600's HPLL register offset and bit definition are different from AST2500. Add a hpll calculation function for ast2600 and modify apb frequency calculation function based on SCU200 register description in ast2600v11.pdf. Signed-off-by: Steven Lee --- hw/misc/aspeed_scu.c

[PATCH v1 0/1] hw: aspeed_scu: Add AST2600 hpll calculation function

2022-03-14 Thread Steven Lee
teven Steven Lee (1): hw: aspeed_scu: Add AST2600 hpll calculation function hw/misc/aspeed_scu.c | 43 include/hw/misc/aspeed_scu.h | 17 ++ 2 files changed, 56 insertions(+), 4 deletions(-) -- 2.17.1

Re: [PATCH v1 1/1] hw: aspeed_scu: Add AST2600 hpll calculation function

2022-03-14 Thread Steven Lee
The 03/14/2022 20:21, Cédric Le Goater wrote: > Hello Steven, > > On 3/14/22 10:54, Steven Lee wrote: > > AST2600's HPLL register offset and bit definition are different from > > AST2500. Add a hpll calculation function for ast2600 and modify apb > > frequency &

[PATCH v2 1/2] hw: aspeed_scu: Add AST2600 apb_freq and hpll calculation function

2022-03-15 Thread Steven Lee
AST2600's HPLL register offset and bit definition are different from AST2500. Add a hpll calculation function and an apb frequency calculation function based on SCU200 register description in ast2600v11.pdf. Signed-off-by: Steven Lee --- hw/misc/aspeed_scu.c

[PATCH v2 2/2] hw: aspeed_scu: Introduce clkin_25Mhz attribute

2022-03-15 Thread Steven Lee
AST2600 clkin is always 25MHz, introduce clkin_25Mhz attribute for aspeed_scu_get_clkin() to return the correct clkin for ast2600. Signed-off-by: Steven Lee --- hw/misc/aspeed_scu.c | 6 +- include/hw/misc/aspeed_scu.h | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff

[PATCH v2 0/2] hw: aspeed_scu: Add AST2600 hpll calculation function

2022-03-15 Thread Steven Lee
0 and ast2600 get_apb_freq class handlers. - introduce clkin_25Mhz attribute. Please help to review. Thanks, Steven Steven Lee (2): hw: aspeed_scu: Add AST2600 apb_freq and hpll calculation function hw: aspeed_scu: Introduce clkin_25Mhz attribute hw/misc/aspeed_scu.c

[PATCH v3 2/2] tests/qtest: Add test for Aspeed HACE accumulative mode

2022-03-24 Thread Steven Lee
/sha256sum utilities without padding, i.e. only "abc" ascii text. Signed-off-by: Troy Lee Signed-off-by: Steven Lee --- tests/qtest/aspeed_hace-test.c | 145 + 1 file changed, 145 insertions(+) diff --git a/tests/qtest/aspeed_hace-test.c b/tests/qtest/aspe

[PATCH v3 0/2] Supporting AST2600 HACE engine accumulative mode

2022-03-24 Thread Steven Lee
login. - AST1030 with ASPEED zephyr SDK v1.04 - run `hash sha256` command in zephyr shell to verify aspeed hace. Please help to review Thanks, Steven Changes in v3: - Refactor acc_mode message handling flow. Steven Lee (2): aspeed/hace: Support AST2600 HACE tests/qtest: Add test for Aspeed HACE

[PATCH v3 1/2] aspeed/hace: Support AST2600 HACE

2022-03-24 Thread Steven Lee
ff-by: Troy Lee Signed-off-by: Steven Lee --- hw/misc/aspeed_hace.c | 113 +++--- include/hw/misc/aspeed_hace.h | 1 + 2 files changed, 105 insertions(+), 9 deletions(-) diff --git a/hw/misc/aspeed_hace.c b/hw/misc/aspeed_hace.c index 10f00e65f4..a883625e92 1

Re: [PATCH v3 1/2] aspeed/hace: Support AST2600 HACE

2022-03-29 Thread Steven Lee
. > Hi Joel, Thanks for the review and sorry for late reply, I was taking Monday off. I added some examples to describe the driver behavior below, hope it helps. > On Fri, 25 Mar 2022 at 03:58, Steven Lee wrote: > > > > The aspeed ast2600 acculumative mode is described in

[PATCH v4 1/3] aspeed/hace: Support HMAC Key Buffer register.

2022-03-31 Thread Steven Lee
Support HACE28: Hash HMAC Key Buffer Base Address Register. Signed-off-by: Troy Lee Signed-off-by: Steven Lee --- hw/misc/aspeed_hace.c | 7 +++ include/hw/misc/aspeed_hace.h | 1 + 2 files changed, 8 insertions(+) diff --git a/hw/misc/aspeed_hace.c b/hw/misc/aspeed_hace.c index

[PATCH v4 2/3] aspeed/hace: Support AST2600 HACE

2022-03-31 Thread Steven Lee
ff-by: Troy Lee Signed-off-by: Steven Lee --- hw/misc/aspeed_hace.c | 140 -- 1 file changed, 136 insertions(+), 4 deletions(-) diff --git a/hw/misc/aspeed_hace.c b/hw/misc/aspeed_hace.c index 59fe5bfca2..5a7a144602 100644 --- a/hw/misc/aspeed_hace.c +++

[PATCH v4 0/3] aspeed/hace: Support AST2600 HACE

2022-03-31 Thread Steven Lee
login. - AST1030 with ASPEED zephyr SDK v1.04 - run `hash sha256` command in zephyr shell to verify aspeed hace. Please help to review. Thanks, Steven Changes in v4: - Separate HACE28 support to another patch. - Refactor acc_mode message handling flow. Steven Lee (3): aspeed/hace: Support HMAC

[PATCH v4 3/3] tests/qtest: Add test for Aspeed HACE accumulative mode

2022-03-31 Thread Steven Lee
/sha256sum utilities without padding, i.e. only "abc" ascii text. Signed-off-by: Troy Lee Signed-off-by: Steven Lee --- tests/qtest/aspeed_hace-test.c | 145 + 1 file changed, 145 insertions(+) diff --git a/tests/qtest/aspeed_hace-test.c b/tests/qtest/aspe

Re: [PATCH v4 2/3] aspeed/hace: Support AST2600 HACE

2022-04-20 Thread Steven Lee
The 04/20/2022 20:53, Cédric Le Goater wrote: > On 3/31/22 09:48, Steven Lee wrote: > > The aspeed ast2600 accumulative mode is described in datasheet > > ast2600v10.pdf section 25.6.4: > > 1. Allocating and initiating accumulative hash digest write buffer > &

[PATCH v5 3/3] tests/qtest: Add test for Aspeed HACE accumulative mode

2022-04-21 Thread Steven Lee
/sha256sum utilities without padding, i.e. only "abc" ascii text. Signed-off-by: Troy Lee Signed-off-by: Steven Lee Acked-by: Thomas Huth Reviewed-by: Joel Stanley --- tests/qtest/aspeed_hace-test.c | 145 + 1 file changed, 145 insertions(+) diff

[PATCH v5 2/3] aspeed/hace: Support AST2600 HACE

2022-04-21 Thread Steven Lee
ff-by: Troy Lee Signed-off-by: Steven Lee --- hw/misc/aspeed_hace.c | 132 -- include/hw/misc/aspeed_hace.h | 4 ++ 2 files changed, 131 insertions(+), 5 deletions(-) diff --git a/hw/misc/aspeed_hace.c b/hw/misc/aspeed_hace.c index 59fe5bfca2..3164f6 1

[PATCH v5 1/3] aspeed/hace: Support HMAC Key Buffer register.

2022-04-21 Thread Steven Lee
Support HACE28: Hash HMAC Key Buffer Base Address Register. Signed-off-by: Troy Lee Signed-off-by: Steven Lee Reviewed-by: Cédric Le Goater --- hw/misc/aspeed_hace.c | 7 +++ include/hw/misc/aspeed_hace.h | 1 + 2 files changed, 8 insertions(+) diff --git a/hw/misc/aspeed_hace.c

[PATCH v5 0/3] aspeed/hace: Support AST2600 HACE

2022-04-21 Thread Steven Lee
AspeedHACEState. Steven Lee (3): aspeed/hace: Support HMAC Key Buffer register. aspeed/hace: Support AST2600 HACE tests/qtest: Add test for Aspeed HACE accumulative mode hw/misc/aspeed_hace.c | 139 +-- include/hw/misc/aspeed_hace.h | 5 ++ tests/qtest

Re: [PATCH v5 2/3] aspeed/hace: Support AST2600 HACE

2022-04-25 Thread Steven Lee
The 04/25/2022 21:46, Cédric Le Goater wrote: > On 4/22/22 07:19, Steven Lee wrote: > > +/** > > + * Check whether the request contains padding message. > > + * > > + * @param s aspeed hace state object > > + * @param iov iov of curre

[PATCH v6 3/3] tests/qtest: Add test for Aspeed HACE accumulative mode

2022-04-25 Thread Steven Lee
/sha256sum utilities without padding, i.e. only "abc" ascii text. Signed-off-by: Troy Lee Signed-off-by: Steven Lee Acked-by: Thomas Huth Reviewed-by: Joel Stanley --- tests/qtest/aspeed_hace-test.c | 145 + 1 file changed, 145 insertions(+) diff

[PATCH v6 0/3] aspeed/hace: Support AST2600 HACE

2022-04-25 Thread Steven Lee
login. - AST1030 with ASPEED zephyr SDK v1.04 - run `hash sha256` command in zephyr shell to verify aspeed hace. Please help to review. Thanks, Steven Changes in v6: - Bug fixes in reconstruct_iov(). Steven Lee (3): aspeed/hace: Support HMAC Key Buffer register. aspeed/hace: Support AST2600

[PATCH v6 2/3] aspeed/hace: Support AST2600 HACE

2022-04-25 Thread Steven Lee
ff-by: Troy Lee Signed-off-by: Steven Lee --- hw/misc/aspeed_hace.c | 132 -- include/hw/misc/aspeed_hace.h | 4 ++ 2 files changed, 131 insertions(+), 5 deletions(-) diff --git a/hw/misc/aspeed_hace.c b/hw/misc/aspeed_hace.c index 59fe5bfca2..0f4059e6df 1

[PATCH v6 1/3] aspeed/hace: Support HMAC Key Buffer register.

2022-04-25 Thread Steven Lee
Support HACE28: Hash HMAC Key Buffer Base Address Register. Signed-off-by: Troy Lee Signed-off-by: Steven Lee Reviewed-by: Cédric Le Goater --- hw/misc/aspeed_hace.c | 7 +++ include/hw/misc/aspeed_hace.h | 1 + 2 files changed, 8 insertions(+) diff --git a/hw/misc/aspeed_hace.c

RE: [PATCH 0/5] Introduce AST27x0 multi-SoC machine

2025-01-07 Thread Steven Lee
Hi Cédric, > -Original Message- > From: Cédric Le Goater > Sent: Tuesday, January 7, 2025 11:51 PM > To: Steven Lee ; Peter Maydell > ; Troy Lee ; Jamin Lin > ; Andrew Jeffery > ; Joel Stanley ; open > list:ASPEED BMCs ; open list:All patches CC here > &

RE: [PATCH 1/5] aspeed: Make sdhci_attach_drive and write_boot_rom public

2024-12-26 Thread Steven Lee
Hi Philippe, > -Original Message- > From: Philippe Mathieu-Daudé > Sent: Wednesday, December 25, 2024 7:28 PM > To: Steven Lee ; Cédric Le Goater > ; Peter Maydell ; Troy Lee > ; Jamin Lin ; Andrew > Jeffery ; Joel Stanley ; open > list:ASPEED BMCs ; open list:All

RE: [PATCH 4/5] aspeed: Introduce ast2700-fc machine

2024-12-26 Thread Steven Lee
Hi Philippe, > -Original Message- > From: Philippe Mathieu-Daudé > Sent: Wednesday, December 25, 2024 7:30 PM > To: Steven Lee ; Cédric Le Goater > ; Peter Maydell ; Troy Lee > ; Jamin Lin ; Andrew > Jeffery ; Joel Stanley ; open > list:ASPEED BMCs ; open list:All

RE: [PATCH 1/5] aspeed: Make sdhci_attach_drive and write_boot_rom public

2024-12-27 Thread Steven Lee
Hi Cédric, > -Original Message- > From: Cédric Le Goater > Sent: Friday, December 27, 2024 3:57 PM > To: Steven Lee ; Peter Maydell > ; Troy Lee ; Jamin Lin > ; Andrew Jeffery > ; Joel Stanley ; open > list:ASPEED BMCs ; open list:All patches CC here > &

RE: [PATCH 2/5] aspeed: ast27x0: Map unimplemented devices in SoC memory

2025-01-03 Thread Steven Lee
Hi Cédric, > -Original Message- > From: Cédric Le Goater > Sent: Friday, December 27, 2024 5:53 PM > To: Steven Lee ; Peter Maydell > ; Troy Lee ; Jamin Lin > ; Andrew Jeffery > ; Joel Stanley ; open > list:ASPEED BMCs ; open list:All patches CC here > &

RE: [PATCH 2/5] aspeed: ast27x0: Map unimplemented devices in SoC memory

2025-01-03 Thread Steven Lee
Hi Cédric, > -Original Message- > From: Cédric Le Goater > Sent: Friday, January 3, 2025 5:44 PM > To: Steven Lee ; Peter Maydell > ; Troy Lee ; Jamin Lin > ; Andrew Jeffery > ; Joel Stanley ; open > list:ASPEED BMCs ; open list:All patches CC here > &

RE: [PATCH 3/5] aspeed: Introduce AST27x0 SoC with Cortex-M4 support

2025-01-03 Thread Steven Lee
Hi Cédric, > -Original Message- > From: Cédric Le Goater > Sent: Thursday, January 2, 2025 4:29 PM > To: Steven Lee ; Peter Maydell > ; Troy Lee ; Jamin Lin > ; Andrew Jeffery > ; Joel Stanley ; open > list:ASPEED BMCs ; open list:All patches CC here > &

RE: [PATCH 4/5] aspeed: Introduce ast2700-fc machine

2025-01-03 Thread Steven Lee
Hi Cédric, > -Original Message- > From: Cédric Le Goater > Sent: Thursday, January 2, 2025 4:42 PM > To: Steven Lee ; Peter Maydell > ; Troy Lee ; Jamin Lin > ; Andrew Jeffery > ; Joel Stanley ; open > list:ASPEED BMCs ; open list:All patches CC here > &

RE: [PATCH 5/5] docs: aspeed: Add ast2700-fc machine section

2025-01-03 Thread Steven Lee
Hi Cédric, > -Original Message- > From: Cédric Le Goater > Sent: Thursday, January 2, 2025 4:44 PM > To: Steven Lee ; Peter Maydell > ; Troy Lee ; Jamin Lin > ; Andrew Jeffery > ; Joel Stanley ; open > list:ASPEED BMCs ; open list:All patches CC here > &

RE: [PATCH v6 00/29] Support AST2700 A1

2025-03-06 Thread Steven Lee
> -Original Message- > From: Cédric Le Goater > Sent: Friday, March 7, 2025 3:44 PM > To: Jamin Lin ; Peter Maydell > ; Steven Lee ; Troy > Lee ; Andrew Jeffery ; > Joel Stanley ; open list:All patches CC here > ; open list:ASPEED BMCs > > Cc: Troy Lee

RE: [PATCH 1/1] hw/intc/aspeed: Fix IRQ handler mask check

2025-03-24 Thread Steven Lee
Hi Cédric, > -Original Message- > From: Cédric Le Goater > Sent: Thursday, March 20, 2025 11:29 PM > To: Steven Lee ; Peter Maydell > ; Troy Lee ; Jamin Lin > ; Andrew Jeffery > ; Joel Stanley ; open > list:ASPEED BMCs ; open list:All patches CC here

[PATCH 3/5] aspeed: Introduce AST27x0 SoC with Cortex-M4 support

2024-12-24 Thread Steven Lee via
This initial module adds support for the AST27x0 SoC, which features four Cortex-A35 cores and two Cortex-M4 cores. The patch enables emulation of the Cortex-M4 cores, laying the groundwork for co-processor support. Signed-off-by: Steven Lee --- hw/arm/aspeed_ast27x0-cm4.c | 397

[PATCH 0/5] Introduce AST27x0 multi-SoC machine

2024-12-24 Thread Steven Lee via
serial2) $ tio /dev/pts/51 $ tio /dev/pts/52 $ tio /dev/pts/53 $ (qemu) c Steven Lee (5): aspeed: Make sdhci_attach_drive and write_boot_rom public aspeed: ast27x0: Map unimplemented devices in SoC memory aspeed: Introduce AST27x0 SoC with Cortex-M4 support aspeed: Introduce ast2700-fc

[PATCH 5/5] docs: aspeed: Add ast2700-fc machine section

2024-12-24 Thread Steven Lee via
This commit adds a section describing the ast2700-fc multi-SoC machine. Signed-off-by: Steven Lee --- docs/system/arm/aspeed.rst | 50 -- 1 file changed, 48 insertions(+), 2 deletions(-) diff --git a/docs/system/arm/aspeed.rst b/docs/system/arm/aspeed.rst

[PATCH 2/5] aspeed: ast27x0: Map unimplemented devices in SoC memory

2024-12-24 Thread Steven Lee via
Maps following unimplemented devices in SoC memory - dpmcu - iomem0 - iomem1 - ltpi - io Signed-off-by: Steven Lee --- hw/arm/aspeed_ast27x0.c | 45 +++-- include/hw/arm/aspeed_soc.h | 6 + 2 files changed, 44 insertions(+), 7 deletions(-) diff --git a

[PATCH 1/5] aspeed: Make sdhci_attach_drive and write_boot_rom public

2024-12-24 Thread Steven Lee via
sdhci_attach_drive and write_boot_rom functions may be used by the aspeed machine supporting co-processors. Signed-off-by: Steven Lee --- hw/arm/aspeed.c | 4 ++-- include/hw/arm/aspeed.h | 6 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/hw/arm/aspeed.c b/hw/arm

[PATCH 4/5] aspeed: Introduce ast2700-fc machine

2024-12-24 Thread Steven Lee via
) char device redirected to /dev/pts/53 (label serial2) tio /dev/pts/51 tio /dev/pts/52 tio /dev/pts/53 (qemu) c Signed-off-by: Steven Lee --- hw/arm/aspeed_ast27x0-fc.c | 211 hw/arm/meson.build | 4 +- include/hw/arm/aspeed_soc.h

[PATCH 12/13] tests/function/aspeed: Add functional test for AST2700FC A1

2025-03-13 Thread Steven Lee via
Add functional test for AST2700a1-fc machine. Signed-off-by: Steven Lee Change-Id: I87584164b2632c58d2e051fd92d9e280347bcf19 --- tests/functional/test_aarch64_ast2700fc.py | 38 +- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/tests/functional

[PATCH 06/13] hw/arm/aspeed_ast27x0-ssp: Introduce AST27x0 A1 SSP SoC

2025-03-12 Thread Steven Lee via
Bit 4 -> SSPINT 164 Signed-off-by: Steven Lee Change-Id: Ic5121dd78c5dacf1ec4b4e791cc7bf476a8b608f --- hw/arm/aspeed_ast27x0-ssp.c | 91 + 1 file changed, 91 insertions(+) diff --git a/hw/arm/aspeed_ast27x0-ssp.c b/hw/arm/aspeed_ast27x0-ssp.c index 88f27

[PATCH 02/13] aspeed: ast27x0: Correct hex notation for device addresses

2025-03-12 Thread Steven Lee via
Corrected the hexadecimal notation for several device addresses in the aspeed_soc_ast2700_memmap array by changing the uppercase 'X' to lowercase 'x'. Signed-off-by: Steven Lee Change-Id: I45426e18ea8e68d7ccdf9b60c4ea235c4da33cc3 --- hw/arm/aspeed_ast27x0.c | 28 +++

[PATCH 05/13] hw/arm/aspeed_ast27x0-ssp: Introduce AST27x0 A0 SSP SoC

2025-03-12 Thread Steven Lee via
support for UART, INTC, and SCU devices - Map unimplemented devices for IPC and SCUIO Signed-off-by: Steven Lee Change-Id: If83e752873af393f3b71249176454399de0be40f --- include/hw/arm/aspeed_soc.h | 14 ++ hw/arm/aspeed_ast27x0-ssp.c | 309 hw/arm/meson.build

[PATCH 01/13] aspeed: ast27x0: Map unimplemented devices in SoC memory

2025-03-12 Thread Steven Lee via
0x14C5000 - PWM at 0x140C DPMCU stands for Display Port MCU controller. LTPI is used to connect to AST1700. AST1700 is an I/O expander that supports the DC-SCM 2.1 LTPI protocol. It provides AST2700 with additional GPIO, UART, I3C, and other interfaces. Signed-off-by: Steven Lee Change-Id

[PATCH 13/13] docs: Add support for ast2700fc machine

2025-03-12 Thread Steven Lee via
- Updated Aspeed family boards list to include `ast2700fc`. - Added boot instructions for the `ast2700fc` machine. - Detailed the configuration and loading of firmware for the Cortex-A35 and Cortex-M4 processors. Signed-off-by: Steven Lee Change-Id: I48d90589d29ae6bb70a172e1798f18c0c38e6e22

[PATCH 03/13] hw/intc/aspeed: Add support for AST2700 SSP INTC

2025-03-12 Thread Steven Lee via
TC The INTCIO SSPINT_160_169 has 10 output pins, mapped as follows: Bit 0 -> SSPINT 160 Bit 1 -> SSPINT 161 Bit 2 -> SSPINT 162 Bit 3 -> SSPINT 163 Bit 4 -> SSPINT 164 Signed-off-by: Steven Lee Change-Id: I5329767b21c0e982d3afcb87c7d1690cc04ce2ef --- inclu

[PATCH 08/13] hw/arm/aspeed_ast27x0-tsp: Introduce AST27x0 A1 TSP SoC

2025-03-12 Thread Steven Lee via
Bit 4 -> TSPINT 164 Signed-off-by: Steven Lee Change-Id: Ia96cc94d10c26b77caf00dd1346565382474e937 --- hw/arm/aspeed_ast27x0-tsp.c | 91 + 1 file changed, 91 insertions(+) diff --git a/hw/arm/aspeed_ast27x0-tsp.c b/hw/arm/aspeed_ast27x0-tsp.c index ed14a

[PATCH 10/13] hw/arm: Introduce ASPEED AST2700 a1 full core machine

2025-03-12 Thread Steven Lee via
terminal emulator. Signed-off-by: Steven Lee Change-Id: I1e7645a4689859fdd41be2a734909975ba04a1f9 --- hw/arm/aspeed_ast27x0-fc.c | 150 + 1 file changed, 150 insertions(+) diff --git a/hw/arm/aspeed_ast27x0-fc.c b/hw/arm/aspeed_ast27x0-fc.c index d03a1b5f1e

[PATCH v2 00/13] Introduce AST27x0 multi-SoC machine

2025-03-12 Thread Steven Lee via
AST27x0 A0 TSP SoC and AST27x0 A1 TSP SoC - Add functional tests for AST2700FC A0 and AST2700FC A1 - Add Documentation for AST2700FC Steven Lee (13): aspeed: ast27x0: Map unimplemented devices in SoC memory aspeed: ast27x0: Correct hex notation for device addresses hw/intc/aspeed: Add

[PATCH 04/13] hw/intc/aspeed: Add support for AST2700 TSP INTC

2025-03-12 Thread Steven Lee via
TC The INTCIO TSPINT_160_169 has 10 output pins, mapped as follows: Bit 0 -> TSPINT 160 Bit 1 -> TSPINT 161 Bit 2 -> TSPINT 162 Bit 3 -> TSPINT 163 Bit 4 -> TSPINT 164 Signed-off-by: Steven Lee Change-Id: I9e71a8aac400c0cdbd5b78073d0ada79d12a1350 --- inclu

[PATCH 11/13] tests/function/aspeed: Add functional test for AST2700FC

2025-03-12 Thread Steven Lee via
Introduce a new functional test for AST2700 multi-SoCs. The test includes booting ast2700 with bmc image on ca35 cores and booting ssp/tsp firmware on cm4 cores. Assets for SDK and SSP/TSP images are downloaded from AspeedTech-BMC's OpenBmc release page. Signed-off-by: Steven Lee Chan

[PATCH 07/13] hw/arm/aspeed_ast27x0-tsp: Introduce AST27x0 A0 TSP SoC

2025-03-13 Thread Steven Lee via
support for UART, INTC, and SCU devices - Map unimplemented devices for IPC and SCUIO Signed-off-by: Steven Lee Change-Id: I8ac6e79a2739c76b802a1dfd6c7a7ef357de60a6 --- include/hw/arm/aspeed_soc.h | 12 ++ hw/arm/aspeed_ast27x0-tsp.c | 309 hw/arm/meson.build

[PATCH 1/1] hw/intc/aspeed: Fix IRQ handler mask check

2025-03-20 Thread Steven Lee via
if the `eth0` ISR is not handled. Signed-off-by: Steven Lee Change-Id: Ic3609eb72218dfd68be6057d78b8953b18828709 --- hw/intc/aspeed_intc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/intc/aspeed_intc.c b/hw/intc/aspeed_intc.c index 3fd417084f..f17bf43925 100644 --- a

[PATCH 0/1] hw/intc/aspeed: Fix IRQ handler mask check

2025-03-20 Thread Steven Lee via
help to review this patch at your convenience. Best regards, Steven Lee Steven Lee (1): hw/intc/aspeed: Fix IRQ handler mask check hw/intc/aspeed_intc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.43.0

[PATCH 09/13] hw/arm: Introduce ASPEED AST2700 a0 full core machine

2025-03-15 Thread Steven Lee via
o /dev/pts/52 (label serial1) char device redirected to /dev/pts/53 (label serial2) - serial0 is the console for the four Cortex-A35 primary processors, serial1 and serial2 are the consoles for the two Cortex-M4 coprocessors. - Connect to the consoles using a terminal emulator. Signed-off-