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

2025-04-07 Thread Steven Lee
> -Original Message- > From: Cédric Le Goater > Sent: Wednesday, March 26, 2025 1:34 AM > To: Steven Lee ; Peter Maydell > ; Troy Lee ; Jamin Lin > ; Andrew Jeffery > ; Joel Stanley ; open > list:ASPEED BMCs ; open list:All patches CC here > > Cc: Troy Lee

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

2025-04-07 Thread Steven Lee
> -Original Message- > From: Cédric Le Goater > Sent: Monday, April 7, 2025 11:18 PM > To: Steven Lee ; Peter Maydell > ; Troy Lee ; Jamin Lin > ; Andrew Jeffery > ; Joel Stanley ; open > list:ASPEED BMCs ; open list:All patches CC here > > Cc: Troy Lee

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

2025-04-07 Thread Steven Lee
> -Original Message- > From: Cédric Le Goater > Sent: Monday, April 7, 2025 11:16 PM > To: Steven Lee ; Peter Maydell > ; Troy Lee ; Jamin Lin > ; Andrew Jeffery > ; Joel Stanley ; open > list:ASPEED BMCs ; open list:All patches CC here > > Cc: Troy Lee

[Qemu-commits] [qemu/qemu] df9168: hw/misc/aspeed_hace: Fix buffer overflow in has_pa...

2025-03-24 Thread Steven Lee via Qemu-commits
nk: https://lore.kernel.org/qemu-devel/20250321092623.2097234-3-jamin_...@aspeedtech.com Signed-off-by: Cédric Le Goater (cherry picked from commit 78877b2e06464f49f777e086845e094ea7bc82ef) Signed-off-by: Michael Tokarev Commit: b1efa5c2364072fa6038c1c7224c788340621456 https://github.c

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

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

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

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

Re: [PATCH 3/5] config/ast2600: Disable hash hardware accel

2022-06-28 Thread Steven Lee
The 06/27/2022 18:06, Joel Stanley wrote: > On Mon, 27 Jun 2022 at 08:48, Steven Lee wrote: > > > > Hi Joel, > > > > I was wondering if you could share the commit hash of u-boot you tested. > > I would like to test it on qemu. > > I recommend using ma

RE: [PATCH 3/5] config/ast2600: Disable hash hardware accel

2022-06-27 Thread Steven Lee
Hi Joel, I was wondering if you could share the commit hash of u-boot you tested. I would like to test it on qemu. Thanks, Steven * Email Confidentiality Notice DISCLAIMER: This message (and any attachments) may contain legally privileged and/or other confidenti

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

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

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

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

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

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

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

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

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

[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

[Clamav-devel] "clamscan" executing in parallel with "-j" argument

2021-08-04 Thread Steven Lee
ture beneficial and feasible? Cheers. Steven Lee Sent with [ProtonMail](https://protonmail.com/) Secure Email. ___ clamav-devel mailing list clamav-devel@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-devel Please submit your patche

Re: [PATCH v1 1/2] dt-bindings: mmc: sdhci-of-aspeed: Add power-gpio and power-switch-gpio

2021-04-12 Thread Steven Lee
The 04/13/2021 10:43, Milton Miller II wrote: > > > -"openbmc" wrote: > - > > >To: Rob Herring > >From: Steven Lee > >Sent by: "openbmc" > >Date: 04/12/2021 08:31PM > >Cc: "open list:OPEN FIRMWARE AND FLATTE

Re: [PATCH v1 1/2] dt-bindings: mmc: sdhci-of-aspeed: Add power-gpio and power-switch-gpio

2021-04-12 Thread Steven Lee
The 04/12/2021 15:38, Ulf Hansson wrote: > On Thu, 8 Apr 2021 at 03:52, Steven Lee wrote: > > > > AST2600-A2 EVB provides the reference design for enabling SD bus power > > and toggling SD bus signal voltage by GPIO pins. > > Add the definition and example for power

Re: [PATCH v1 1/2] dt-bindings: mmc: sdhci-of-aspeed: Add power-gpio and power-switch-gpio

2021-04-12 Thread Steven Lee
The 04/10/2021 02:41, Rob Herring wrote: > On Thu, Apr 08, 2021 at 09:52:17AM +0800, Steven Lee wrote: > > AST2600-A2 EVB provides the reference design for enabling SD bus power > > and toggling SD bus signal voltage by GPIO pins. > > Add the definition and example for power-

Re: [PATCH v1 2/2] mmc: sdhci-of-aspeed: Support toggling SD bus signal voltage by GPIO

2021-04-11 Thread Steven Lee
The 04/09/2021 12:14, Andrew Jeffery wrote: > Hi Steven, > > On Thu, 8 Apr 2021, at 11:22, Steven Lee wrote: > > AST2600-A2 EVB provides reference design to support toggling signal > > voltage between 3.3v and 1.8v by power-switch-gpio pin that defined in > > th

[PATCH v1 1/2] dt-bindings: mmc: sdhci-of-aspeed: Add power-gpio and power-switch-gpio

2021-04-07 Thread Steven Lee
, 1.8v power load switch will be enabled, SD1 signal voltage becomes 1.8v. AST2600-A2 EVB also support toggling signal voltage for SD2 bus. The design is the same as SD1 bus. It uses GPIOV2 as power-gpio and GPIOV3 as power-switch-gpio. Signed-off-by: Steven Lee --- .../devicetree/bindings/mmc

[PATCH v1 2/2] mmc: sdhci-of-aspeed: Support toggling SD bus signal voltage by GPIO

2021-04-07 Thread Steven Lee
voltage is 3.3v, otherwise, 1.8v power load switch will be enabled, SD1 signal voltage becomes 1.8v. AST2600-A2 EVB also support toggling signal voltage for SD2 bus. The design is the same as SD1 bus. It uses GPIOV2 as power-gpio and GPIOV3 as power-switch-gpio. Signed-off-by: Steven Lee --- drivers

[PATCH v1 0/2] mmc: sdhci-of-aspeed: Support toggling SD bus signal

2021-04-07 Thread Steven Lee
don't have the design of signal voltage toggling by GPIO. Please help to review. Regards, Steven Steven Lee (2): dt-bindings: mmc: sdhci-of-aspeed: Add power-gpio and power-switch-gpio mmc: sdhci-of-aspeed: Support toggling SD bus signal voltage by GPIO .../devicetree/binding

Re: Is using floating point type for money/currency a good idea?

2020-08-20 Thread Steven Lee via Digitalmars-d-learn
Me and my financial adviser think not. Unfortunately, this is not the best way..

Re: [Freesurfer] PNM Gui

2018-12-19 Thread Meisler, Steven Lee
pipeline that I referenced in my first message. Thank you in advance for your assistance. Best, Steven From: Meisler, Steven Lee Sent: Tuesday, December 4, 2018 9:38:12 AM To: freesurfer@nmr.mgh.harvard.edu Subject: PNM Gui Hello FS team, When I try to run Phys

[Freesurfer] PNM Gui

2018-12-04 Thread Meisler, Steven Lee
Hello FS team, When I try to run Physiological Noise Modeling through the PNM GUI, I get an error message saying that I don't have permission to run the script "_pnm_stage3." Do you know how I may remedy this? Thanks, Steven -- Steven L. Meisler, M.S.E. Clinical Research Coor

Re: [Freesurfer] Physiological Noise Regression from rsMRI

2018-10-23 Thread Meisler, Steven Lee
From: Meisler, Steven Lee Sent: Tuesday, October 23, 2018 12:21:08 PM To: freesurfer@nmr.mgh.harvard.edu Subject: Re: [Freesurfer] Physiological Noise Regression from rsMRI Thank you! At what point in the processing pipeline should this happen? For example, should

Re: [Freesurfer] Physiological Noise Regression from rsMRI

2018-10-23 Thread Meisler, Steven Lee
mkanalysis-sess, add -nuisreg filename N where N is the number of columns you want to include On 10/18/18 10:34 AM, Meisler, Steven Lee wrote: Hi all, I am currently developing a pipeline to remove physiological noise (respiratory and cardiac) from rsMRI images. I am at the point where I have created

[Freesurfer] Physiological Noise Regression from rsMRI

2018-10-18 Thread Meisler, Steven Lee
Hi all, I am currently developing a pipeline to remove physiological noise (respiratory and cardiac) from rsMRI images. I am at the point where I have created the regressors using fast_retroicor.m from the physiological data logs. When I add the columns of the regressors up and plot the result

[go-nuts] Re: context cancellation flake

2017-09-17 Thread Steven Lee
> > Cheers, > silviu > > On Saturday, 16 September 2017 16:16:05 UTC-4, Steven Lee wrote: >> >> I guess thats plausible >> >> Ive tried to find the code in the library that sets the body if a context >> is cancelled but cant, I understand how to

[go-nuts] Re: context cancellation flake

2017-09-16 Thread Steven Lee
I guess thats plausible Ive tried to find the code in the library that sets the body if a context is cancelled but cant, I understand how to fix the code just struggling to understand the mechanics and especially why it flakes :( -- You received this message because you are subscribed to the G

[go-nuts] Re: context cancellation flake

2017-09-16 Thread Steven Lee
Does calling the cancel func on a context that is attached to a http.Request change the contents of the body to context cancellation? On Friday, 15 September 2017 18:15:25 UTC+1, Steven Lee wrote: > > Hello, > > I was wondering if anyone could help me with understanding the beh

[tesseract-ocr] tesseract with no language words

2016-06-14 Thread steven lee
Hi, so I have to make OCR which will scan cipher text, as we know that cipher text is not a language, so I wonder what option should I put on the language option to do this? -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from

Re: [mnemosyne-proj-users] Problem on startup of 2.3

2014-05-19 Thread Steven Lee
sync server is not running: > > http://users.ugent.be/~pbienst/pub/mnemosyne-2.3-setup.exe > > Cheers, > > Peter > > > -Original Message- > > From: mnemosyne-...@googlegroups.com > > [mailto:mnemosyne- > > proj-...@googlegroups.com ] O

Re: [mnemosyne-proj-users] Problem on startup of 2.3

2014-05-13 Thread Steven Lee
Hello Peter, this bug doesn't only affect Russian systems, my system (Windows 8 x64) language is English, and the non-Unicode Language is Chinese, I also met this problem. In addition, I tried to delete the config file, nothing happens, please help, thanks. On Monday, May 12, 2014 1:42:52 AM U

Re: CakePHP 3.0.0 development preview 2 released

2014-04-16 Thread steven lee
who can send me some video about cakephp? On Thursday, March 13, 2014 5:35:36 AM UTC+8, José Lorenzo wrote: > > The CakePHP core team is excited to announce the second development > preview of CakePHP 3.0.0[1]. In the few months since 3.0.0-dev1, we've been > hard at work incorporating community

Re: [ovs-discuss] export config file

2014-01-03 Thread Steven Lee
ou can't redirect the output of "ovs-vsctl show" to a file? > > --Justin > > > > > On Sun, Dec 29, 2013 at 12:24 AM, Steven Lee wrote: > >> Hi all, >> I need a file that contains all the bridges, ports and how they are >> connected. >> Is ther

[ovs-discuss] export config file

2014-01-02 Thread Steven Lee
Hi all, I need a file that contains all the bridges, ports and how they are connected. Is there anyway to generate a file I need? (file format doesn't matter.) or is it possible to export the information shown by "ovs-ovsctl show" ? Thanks, Yu Hung ___

[b2g] ㄒˋㄗ

2013-12-15 Thread Steven Lee
ㄒㄦㄟ ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

[ovs-discuss] about spanning tree

2013-11-18 Thread Steven Lee
rt on openvswitch? or is it possible that it would blocked theconnection between A and B? Thanks, Steven Lee ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

[ovs-discuss] About spanning tree

2013-11-17 Thread Steven Lee
rt on openvswitch to build the tree? or is it possible that it would blocked the connection between A and B? Thanks, Steven Lee ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Yahoo Mail compatibility

2013-10-10 Thread Steven Lee
Hi, Just to inform you folks that Seamonkey v2.21 ( I am using) is not fully compatible with the new Yahoo email format just introduced. The square icon boxes and associated email icons are not displayed properly. Still can read emails but the icons links looks out of place. Hope you folks are a

Re: kern/181497: ASLR Feature Request - patch included

2013-08-24 Thread Steven Lee
The following reply was made to PR kern/181497; it has been noted by GNATS. From: Steven Lee To: Oliver Pinter , freebsd-gnats-sub...@freebsd.org Cc: Subject: Re: kern/181497: ASLR Feature Request - patch included Date: Sat, 24 Aug 2013 14:49:03 -0600 Wow... very nice. :) On 13-08-24 07

kern/181497: ASLR Feature Request - patch included

2013-08-23 Thread Steven Lee
>Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 24 02:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Steven Lee >Release:releng/9.2 >Organization: Root Hosts >Environment: N/A >Description: Most

kern/181496: Patch for CVE-2013-3077 (integer overflow in IP_MSFILTER) breaks dhclient

2013-08-23 Thread Steven Lee
>Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Aug 24 01:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Steven Lee >Release:releng/9.2 >Organization: Root Hosts >Enviro

[tahoe-dev] Fail to use LAFS through FUSE

2013-07-29 Thread Steven Lee
Hello everyone, last time I tried to use LAFS through FUSE following the FAQ doc, I took the pyfilesystem way. It works well the first time, however, it's unstable and now I can never mount my grid to my local file system. I was constantly receiving this message: > TypeError: an integer is requi

[tahoe-dev] Where does allmydata.client start listening?

2013-07-21 Thread Steven Lee
First of all thanks for your help to my understanding of the source these days, now I am struggling to comprehend what is going to happen when a client was launched(Here I mean the client node's HTTP server). I learnt how twistd works then checked tahoe-client.tac. In my opinion, these lines: >

[tahoe-dev] What will happen if combine LAFS with Memcached?

2013-07-18 Thread Steven Lee
Hello, I am studying for my summer project and am interested in LAFS, this morning my mentor mentioned that is that possible to deploy LAFS with Memcached to improve its performance? Since I am not very familiar with the both projects, I searched on Internet and found no one has ever been intere

Re: [tahoe-dev] How to track after subprocess.call()?

2013-07-18 Thread Steven Lee
I have solved this problem, details in http://stackoverflow.com/questions/17721226/how-to-debug-into-subprocess-call-in-python. So don't waste time anymore, thanks anyway. From: elde...@outlook.com To: tahoe-dev@tahoe-lafs.org Subject: How to track after subprocess.call()? Date: Thu, 18 Jul 2013

[tahoe-dev] How to track after subprocess.call()?

2013-07-18 Thread Steven Lee
I am trying to understand Tahoe's source code these days, I built it under Arch Linux with Eclipse and PyDev, then set a test grid, everything works well. Then I'd like to execute this command:tahoe -d . cp e1 tahoe:I have tested this command in Terminal and it run well, so I entered the Debug m

  1   2   3   4   5   >