Skip to contentSkip to conversation

arm: dts: aspeed: tyan s8036: enable kcs interrupts.

PATCH In review Ali El-Haj-Mahmoud 2 participants 2 messages Jan 18, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: aspeed: tyan s8036: enable kcs interrupts.

When the BIOS is built with kcs interrupts enabled, not enabling interrupts on the BMC results in very poor IPMI performance. The other way around (BIOS with interrupts disabled, BMC with interrupts enabled) doesn't suffer degraded IPMI performance. Enabling interrupts on the BMC covers both scenarios, and should be the default.

TESTED: manually verified IPMI performance when BIOS is built with and without KCS interrupts.

---
 arch/arm/boot/dts/aspeed-bmc-tyan-s8036.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/aspeed-bmc-tyan-s8036.dts +1 -0
index 708ee78e4b83..f6c4549c0ac4 100644
@@ -364,6 +364,7 @@ &kcs1 {
 &kcs3 {
 	status = "okay";
 	aspeed,lpc-io-reg = <0xca2>;
+	aspeed,lpc-interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
 };
 
 /* Enable BMC VGA output to show an early (pre-BIOS) boot screen */
Signature · 1 line
2.39.0.314.g84b9a713c41-goog
maintainer
#1 lore raw
Quoted 8 lines · Ali El-Haj-Mahmoud

When the BIOS is built with kcs interrupts enabled, not enabling interrupts on the BMC results in very poor IPMI performance. The other way around (BIOS with interrupts disabled, BMC with interrupts enabled) doesn't suffer degraded IPMI performance. Enabling interrupts on the BMC covers both scenarios, and should be the default.

Quoted 4 lines

TESTED: manually verified IPMI performance when BIOS is built with and without KCS interrupts.

Thanks, I've applied this for 6.3.

Quoted 19 lines
---
 arch/arm/boot/dts/aspeed-bmc-tyan-s8036.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/aspeed-bmc-tyan-s8036.dts +1 -1
index 708ee78e4b83..f6c4549c0ac4 100644
@@ -364,6 +364,7 @@ &kcs1 {
 &kcs3 {
        status = "okay";
        aspeed,lpc-io-reg = <0xca2>;
+       aspeed,lpc-interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
 };
 
 /* Enable BMC VGA output to show an early (pre-BIOS) boot screen */
--

2.39.0.314.g84b9a713c41-goog