Skip to contentSkip to conversation

hw/arm/ast27x0: Fix typo in LTPI address

PATCH In review Nabih Estefan 5 participants 7 messages Nov 4, 2025 – Nov 10, 2025 Arm/Aspeed machine support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/arm/ast27x0: Fix typo in LTPI address

The address for LTPI has one more 0 that it should, bug introduced in commit 91064bea6b2d747a981cb3bd2904e56f443e6c67.

---
 hw/arm/aspeed_ast27x0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/aspeed_ast27x0.c +1 -1
index c484bcd4e2..1e6f469538 100644
@@ -87,11 +87,11 @@ static const hwaddr aspeed_soc_ast2700_memmap[] = {
     [ASPEED_DEV_UART11]    =  0x14C33A00,
     [ASPEED_DEV_UART12]    =  0x14C33B00,
     [ASPEED_DEV_WDT]       =  0x14C37000,
+    [ASPEED_DEV_LTPI]      =  0x30000000,
     [ASPEED_DEV_PCIE_MMIO0] = 0x60000000,
     [ASPEED_DEV_PCIE_MMIO1] = 0x80000000,
     [ASPEED_DEV_PCIE_MMIO2] = 0xA0000000,
     [ASPEED_DEV_SPI_BOOT]  =  0x100000000,
-    [ASPEED_DEV_LTPI]      =  0x300000000,
     [ASPEED_DEV_SDRAM]     =  0x400000000,
 };
 
Signature · 1 line
2.51.2.1006.ga50a493c49-goog
#1 lore raw

+ Kane

Hi Kane,

Could you please help to review it?
Thanks-Jamin

Quoted 30 lines

Subject: [PATCH] hw/arm/ast27x0: Fix typo in LTPI address

The address for LTPI has one more 0 that it should, bug introduced in commit 91064bea6b2d747a981cb3bd2904e56f443e6c67.

---
 hw/arm/aspeed_ast27x0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/aspeed_ast27x0.c index renamed from hw/arm/aspeed_ast27x0.c +0 -0

c484bcd4e2..1e6f469538 100644

hw/arm/aspeed_ast27x0.c +1 -2
@@ -87,11 +87,11 @@ static const hwaddr aspeed_soc_ast2700_memmap[]
 = {
     [ASPEED_DEV_UART11]    =  0x14C33A00,
     [ASPEED_DEV_UART12]    =  0x14C33B00,
     [ASPEED_DEV_WDT]       =  0x14C37000,
+    [ASPEED_DEV_LTPI]      =  0x30000000,
     [ASPEED_DEV_PCIE_MMIO0] = 0x60000000,
     [ASPEED_DEV_PCIE_MMIO1] = 0x80000000,
     [ASPEED_DEV_PCIE_MMIO2] = 0xA0000000,
     [ASPEED_DEV_SPI_BOOT]  =  0x100000000,
-    [ASPEED_DEV_LTPI]      =  0x300000000,
     [ASPEED_DEV_SDRAM]     =  0x400000000,
 };
 
--

2.51.2.1006.ga50a493c49-goog

#2 lore raw

Hi Nabih,

I will submit another patch for the LTPI controller soon, and I'll also fix this typo there. If there are no further concerns, could we leave this change as is?

Best Regards,
Kane

Quoted 47 lines

-----Original Message-----
From: Jamin Lin <[email protected]>
Sent: Wednesday, November 5, 2025 9:11 AM
To: Nabih Estefan <[email protected]>; [email protected]; Kane Chen <[email protected]>
Cc: [email protected]; [email protected]; Steven Lee <[email protected]>; [email protected]; [email protected]
Subject: RE: [PATCH] hw/arm/ast27x0: Fix typo in LTPI address

+ Kane

Hi Kane,

Could you please help to review it?
Thanks-Jamin

hw/arm/aspeed_ast27x0.c static const hwaddr

Quoted 15 lines

Subject: [PATCH] hw/arm/ast27x0: Fix typo in LTPI address

The address for LTPI has one more 0 that it should, bug introduced in commit 91064bea6b2d747a981cb3bd2904e56f443e6c67.

---
 hw/arm/aspeed_ast27x0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/aspeed_ast27x0.c index renamed from hw/arm/aspeed_ast27x0.c +0 -0

c484bcd4e2..1e6f469538 100644

hw/arm/aspeed_ast27x0.c +0 -0
@@ -87,11 +87,11 @@ static const hwaddr

aspeed_soc_ast2700_memmap[] =

Quoted 15 lines
hw/arm/aspeed_ast27x0.c +1 -2
 {
     [ASPEED_DEV_UART11]    =  0x14C33A00,
     [ASPEED_DEV_UART12]    =  0x14C33B00,
     [ASPEED_DEV_WDT]       =  0x14C37000,
+    [ASPEED_DEV_LTPI]      =  0x30000000,
     [ASPEED_DEV_PCIE_MMIO0] = 0x60000000,
     [ASPEED_DEV_PCIE_MMIO1] = 0x80000000,
     [ASPEED_DEV_PCIE_MMIO2] = 0xA0000000,
     [ASPEED_DEV_SPI_BOOT]  =  0x100000000,
-    [ASPEED_DEV_LTPI]      =  0x300000000,
     [ASPEED_DEV_SDRAM]     =  0x400000000,
 };
 
--

2.51.2.1006.ga50a493c49-goog

#3 lore raw

Given that 10.2 is closed for features, but not for bug fixes: should we try and land this in 10.1, and get the LTPI patches in for 11.0?

Thanks,
Nabih

Nabih Estefan (he/him) | Software Engineer |
[email protected] | 857-308-9574

Quoted 56 lines · Kane Chen

Hi Nabih,

I will submit another patch for the LTPI controller soon, and I'll also fix this typo there. If there are no further concerns, could we leave this change as is?

Best Regards,
Kane

Quoted 47 lines

-----Original Message-----
From: Jamin Lin <[email protected]>
Sent: Wednesday, November 5, 2025 9:11 AM
To: Nabih Estefan <[email protected]>; [email protected]; Kane Chen <[email protected]>
Cc: [email protected]; [email protected]; Steven Lee <[email protected]>; [email protected]; [email protected]
Subject: RE: [PATCH] hw/arm/ast27x0: Fix typo in LTPI address

+ Kane

Hi Kane,

Could you please help to review it?
Thanks-Jamin

hw/arm/aspeed_ast27x0.c static const hwaddr

Quoted 15 lines

Subject: [PATCH] hw/arm/ast27x0: Fix typo in LTPI address

The address for LTPI has one more 0 that it should, bug introduced in commit 91064bea6b2d747a981cb3bd2904e56f443e6c67.

---
 hw/arm/aspeed_ast27x0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/aspeed_ast27x0.c index renamed from hw/arm/aspeed_ast27x0.c +0 -0

c484bcd4e2..1e6f469538 100644

hw/arm/aspeed_ast27x0.c +0 -0
@@ -87,11 +87,11 @@ static const hwaddr

aspeed_soc_ast2700_memmap[] =

Quoted 15 lines
hw/arm/aspeed_ast27x0.c +1 -2
 {
     [ASPEED_DEV_UART11]    =  0x14C33A00,
     [ASPEED_DEV_UART12]    =  0x14C33B00,
     [ASPEED_DEV_WDT]       =  0x14C37000,
+    [ASPEED_DEV_LTPI]      =  0x30000000,
     [ASPEED_DEV_PCIE_MMIO0] = 0x60000000,
     [ASPEED_DEV_PCIE_MMIO1] = 0x80000000,
     [ASPEED_DEV_PCIE_MMIO2] = 0xA0000000,
     [ASPEED_DEV_SPI_BOOT]  =  0x100000000,
-    [ASPEED_DEV_LTPI]      =  0x300000000,
     [ASPEED_DEV_SDRAM]     =  0x400000000,
 };
 
--

2.51.2.1006.ga50a493c49-goog

#4 lore raw

Hello,

Quoted 1 line · Nabih Estefan

Given that 10.2 is closed for features,

We are in the soft freeze period :

https://wiki.qemu.org/Planning/10.2

Features are still possible if reviewed. None on the Aspeed side.

Quoted 1 line

but not for bug fixes: should we try and land this in 10.1,

Yes. That would be the plan. There are a few other patches Jamin sent that could be candidates too.

https://lore.kernel.org/qemu-devel/[email protected]/

Quoted 1 line

and get the LTPI patches in for 11.0?

LTPI and AST1060 SoC and EVB support are for QEMU 11.0

Thanks,

C.

#5 lore raw
Quoted 11 lines · Cédric Le Goater

Hello,

Quoted 1 line · Nabih Estefan

Given that 10.2 is closed for features,

We are in the soft freeze period :

   https://wiki.qemu.org/Planning/10.2

Features are still possible if reviewed.

Softfreeze means "no new features". The exception is that if you got your feature into a pull request on the list by the softfreeze date then it's still OK to go in even if the pullreq didn't get applied before softfreeze or it needed a v2 to fix some minor issue.

thanks
-- PMM

Reviewed-by on v1 1/1
#6 lore raw
In reply to Nabih Estefan
Quoted 7 lines · Nabih Estefan

The address for LTPI has one more 0 that it should, bug introduced in commit 91064bea6b2d747a981cb3bd2904e56f443e6c67.

---
  hw/arm/aspeed_ast27x0.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Fixes 91064bea6b2d ("aspeed: ast27x0: Map unimplemented devices in SoC memory")

Thanks,

C.

Quoted 17 lines
hw/arm/aspeed_ast27x0.c +1 -1
index c484bcd4e2..1e6f469538 100644
@@ -87,11 +87,11 @@ static const hwaddr aspeed_soc_ast2700_memmap[] = {
      [ASPEED_DEV_UART11]    =  0x14C33A00,
      [ASPEED_DEV_UART12]    =  0x14C33B00,
      [ASPEED_DEV_WDT]       =  0x14C37000,
+    [ASPEED_DEV_LTPI]      =  0x30000000,
      [ASPEED_DEV_PCIE_MMIO0] = 0x60000000,
      [ASPEED_DEV_PCIE_MMIO1] = 0x80000000,
      [ASPEED_DEV_PCIE_MMIO2] = 0xA0000000,
      [ASPEED_DEV_SPI_BOOT]  =  0x100000000,
-    [ASPEED_DEV_LTPI]      =  0x300000000,
      [ASPEED_DEV_SDRAM]     =  0x400000000,
  };