All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/8] Update test ASPEED SDK v11.00 for AST2700 A1 (RESEND)
@ 2026-02-03  2:08 ` Jamin Lin via qemu development
  0 siblings, 0 replies; 20+ messages in thread
From: Jamin Lin via @ 2026-02-03  2:08 UTC (permalink / raw)
  To: Cédric Le Goater, Peter Maydell, Steven Lee, Troy Lee,
	Andrew Jeffery, Joel Stanley, Pierrick Bouvier,
	open list:ASPEED BMCs, open list:All patches CC here
  Cc: jamin_lin, troy_lee, kane_chen

v1
 1. Update test ASPEED SDK v11.00 for AST2700 A1
 2. Fix DMA moving data into incorrect address for I2C
 3. Fix EHCI3/4 IRQ routing to GIC

v2
 1. Fix some extra 'From' info in the mail body

Jamin Lin (8):
  hw/arm/aspeed_ast27x0: Fix EHCI3/4 IRQ routing to GIC
  hw/arm/aspeed_ast27x0: Sort SSP and TSP memmap tables by address
  hw/arm/aspeed_ast27x0: Sort SSP and TSP IRQ maps
  hw/i2c/aspeed_i2c: Fix DMA moving data into incorrect address
  tests/functional/aarch64/test_aspeed_ast2700: Enable PCIe2 DTS status
    for AST2700 tests
  tests/functional/aarch64/test_aspeed_ast2700: Update test ASPEED SDK
    v11.00 for A1
  tests/functional/aarch64/test_aspeed_ast2700fc: Update test ASPEED SDK
    v11.00 for A1
  docs/system/arm/aspeed: Load raw U-Boot image in AST2700 boot example

 docs/system/arm/aspeed.rst                    |  8 +-
 hw/arm/aspeed_ast27x0-ssp.c                   | 14 +--
 hw/arm/aspeed_ast27x0-tsp.c                   | 14 +--
 hw/arm/aspeed_ast27x0.c                       |  2 +
 hw/i2c/aspeed_i2c.c                           | 87 +++++++++++++------
 .../functional/aarch64/test_aspeed_ast2700.py | 78 ++++++++++-------
 .../aarch64/test_aspeed_ast2700fc.py          | 54 ++++++------
 7 files changed, 153 insertions(+), 104 deletions(-)

-- 
2.43.0



^ permalink raw reply	[flat|nested] 20+ messages in thread
* [PATCH v2 1/8] hw/arm/aspeed_ast27x0: Fix EHCI3/4 IRQ routing to GIC
@ 2026-02-03  1:55 Jamin Lin
  0 siblings, 0 replies; 20+ messages in thread
From: Jamin Lin @ 2026-02-03  1:55 UTC (permalink / raw)
  To: clg@kaod.org, peter.maydell@linaro.org, Steven Lee,
	leetroy@gmail.com, andrew@codeconstruct.com.au, joel@jms.id.au,
	pierrick.bouvier@linaro.org, qemu-arm@nongnu.org,
	qemu-devel@nongnu.org
  Cc: Jamin Lin, Troy Lee, Kane Chen, clg@redhat.com

EHCI3 and EHCI4 were missing entries in aspeed_soc_ast2700a1_irqmap,
so their source IRQs were never routed through the INTC OR-gates.

As a result, EHCI3/4 interrupts were not propagated to the GIC,
causing incorrect interrupt behavior for these controllers.

Add EHCI3 and EHCI4 to the IRQ map and route them to the same INTC
group as other shared peripherals, ensuring their interrupts are
properly connected to the GIC.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Fixes: ba27ba302a264117c8b8427f944ced1bed17c438 ("hw/arm: ast27x0: Wire up EHCI controllers")
Reviewed-by: C�dric Le Goater <clg@redhat.com>
---
 hw/arm/aspeed_ast27x0.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hw/arm/aspeed_ast27x0.c b/hw/arm/aspeed_ast27x0.c
index d17f446661..e16183c3b3 100644
--- a/hw/arm/aspeed_ast27x0.c
+++ b/hw/arm/aspeed_ast27x0.c
@@ -149,6 +149,8 @@ static const int aspeed_soc_ast2700a1_irqmap[] = {
     [ASPEED_DEV_ETH1]      = 196,
     [ASPEED_DEV_ETH2]      = 196,
     [ASPEED_DEV_ETH3]      = 196,
+    [ASPEED_DEV_EHCI3]     = 196,
+    [ASPEED_DEV_EHCI4]     = 196,
     [ASPEED_DEV_PECI]      = 197,
     [ASPEED_DEV_SDHCI]     = 197,
 };
-- 
2.43.0

^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2026-02-05 21:07 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-03  2:08 [PATCH v2 0/8] Update test ASPEED SDK v11.00 for AST2700 A1 (RESEND) Jamin Lin via
2026-02-03  2:08 ` Jamin Lin via qemu development
2026-02-03  2:08 ` [PATCH v2 1/8] hw/arm/aspeed_ast27x0: Fix EHCI3/4 IRQ routing to GIC Jamin Lin via
2026-02-03  2:08   ` Jamin Lin via qemu development
2026-02-05 21:07   ` Michael Tokarev
2026-02-03  2:08 ` [PATCH v2 2/8] hw/arm/aspeed_ast27x0: Sort SSP and TSP memmap tables by address Jamin Lin via
2026-02-03  2:08   ` Jamin Lin via qemu development
2026-02-03  2:08 ` [PATCH v2 3/8] hw/arm/aspeed_ast27x0: Sort SSP and TSP IRQ maps Jamin Lin via
2026-02-03  2:08   ` Jamin Lin via qemu development
2026-02-03  2:08 ` [PATCH v2 4/8] hw/i2c/aspeed_i2c: Fix DMA moving data into incorrect address Jamin Lin via
2026-02-03  2:08   ` Jamin Lin via qemu development
2026-02-03  2:08 ` [PATCH v2 5/8] tests/functional/aarch64/test_aspeed_ast2700: Enable PCIe2 DTS status for AST2700 tests Jamin Lin via
2026-02-03  2:08   ` Jamin Lin via qemu development
2026-02-03  2:08 ` [PATCH v2 6/8] tests/functional/aarch64/test_aspeed_ast2700: Update test ASPEED SDK v11.00 for A1 Jamin Lin via
2026-02-03  2:08   ` Jamin Lin via qemu development
2026-02-03  2:08 ` [PATCH v2 7/8] tests/functional/aarch64/test_aspeed_ast2700fc: " Jamin Lin via
2026-02-03  2:08   ` Jamin Lin via qemu development
2026-02-03  2:08 ` [PATCH v2 8/8] docs/system/arm/aspeed: Load raw U-Boot image in AST2700 boot example Jamin Lin via
2026-02-03  2:08   ` Jamin Lin via qemu development
  -- strict thread matches above, loose matches on Subject: below --
2026-02-03  1:55 [PATCH v2 1/8] hw/arm/aspeed_ast27x0: Fix EHCI3/4 IRQ routing to GIC Jamin Lin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.