Issue #631 has been updated by Sebastian Müller.

On a sibling ADL-N board (same SoC, same IT8625E) most of these turned out to 
be a few separate things, not one faulty timer:

Broken IRQ 9 (4) and the lag cured by LAPIC->HPET (5) are the same problem. The 
IT8625E HWM sits on its default IRQ9 = the SCI (the EC LDN is not declared in 
devicetree, so coreboot leaves its IRQ register at the power-on default 9); on 
a fanless box the empty fan header storms IRQ9, and that storm is what makes 
the system lag. Declaring the EC LDN with irq 0x70 = 0 stopped it here, and the 
lag went with it (no HPET workaround needed). Details and the snippet are in 
#657. Check with superiotool -d (LDN 0x04 active, reg 0x70 = 09).

NVMe not detected (1). The NVMe root port has no ASPM/L1-substate override. A 
DRAM-less NVMe (e.g. Micron 2550) needs it disabled, which matches your 
"disabling power saving helps". On pcie_rp9:


.pcie_rp_aspm = ASPM_DISABLE,
.PcieRpL1Substates = L1_SS_DISABLED,
(this is the per-port half of the existing PchLegacyIoLowLatency DMI-ASPM 
workaround.)

Hangs / spinlock panics / instability (3). If your DIMM is a Micron or Crucial 
DDR5-4800 single-rank, that is the known N100/Topton instability. Two things 
fixed it here: cap the speed in FSP-M (max_dram_speed_mts = 4400) and pin SaGv 
(sagv = SaGv_FixedPoint3, or SaGv_Disabled for more margin) instead of 
SaGv_Enabled, since the dynamic DRAM frequency transitions corrupt marginal RAM 
under load.

USB/Ventoy detection and HPET-in-PC10 I cannot help with; those look separate.

----------------------------------------
Bug #631: Topton X2E (N150) instabilities/timer issues
https://ticket.coreboot.org/issues/631#change-2341

* Author: Victor Bessonov
* Status: New
* Priority: Normal
* Target version: none
* Start date: 2026-02-23
* Affected versions: main
* Affected hardware: Topton X2E
* Affected OS: Linux, BSD
----------------------------------------
Image built from master (c9578eac246) as 25.12 does not support iPXE with 
SecureBoot in edk2 payload.

After flashing the image a few bugs were discovered (all may be related to the 
same root cause)
1. Some USB drives and NVMes may be not detected in edk2 on boot - setting port 
speed to Gen3 manually and turning off power saving mostly helps with NVMes, 
however some flash drives may still need to be unplugged and re-plugged back
2. Booting from Ventoy USB mostly doesn't work - some linux images wait for 
mount and then fail with timout, others will just hang. Ventoy itself boots 
quickly and reliably.
3. USB booting from images written directly to flash mostly works, however BSD 
may still hang or panic out with spinlock timeout panic (OpnSense/FreeBSD)
4. Linux kernel reports about broken IRQ 9 (acpi_sci=low seemingly removes the 
message from dmesg)
5. After several tries to boot, BSD system got installed without any issues, 
however after rebooting into it the system became extremely laggy (even 
printing to the console worked word-by-word, high LA without any userspace 
CPU-loading process), switching the timer from LAPIC to HPET on running system 
seemingly resolved all the laginess instantly
6. Linux kernel reports that HPET is dysfunctional in PC10 (shouldn't it be 
fine on Alder Lake?)

Build config (I tried both with default xApic and x2Apic - doesn't seem to 
change anything):
``` shell
CONFIG_VENDOR_TOPTON=y
# CONFIG_POST_DEVICE is not set
# CONFIG_POST_IO is not set
CONFIG_TPM_MEASURED_BOOT=y
CONFIG_BOARD_TOPTON_X2E_N150=y
# CONFIG_FSP_HYPERTHREADING is not set
CONFIG_X2APIC_ONLY=y
CONFIG_TPM2=y
CONFIG_TPM_MEASURE_MRC_CACHE=y
CONFIG_DEFAULT_CONSOLE_LOGLEVEL_6=y
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_ENABLE_IPXE=y
```

The majority of these problems can be explained by faulty timer - the reason 
for a single ticket
I'm also attaching the patch suggested in Discord channel for reference - 
doesn't seem to solve the issue

---Files--------------------------------
coreboot.log (63.9 KB)
linux-boot.log (274 KB)
gpio.patch (3.1 KB)


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
https://ticket.coreboot.org/my/account
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to