FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix sci handling by sparchatus · Pull Request #350 · KernelTestFramework/ktf · GitHub

Fix sci handling - #350

Merged
wipawel merged 3 commits into
KernelTestFramework:mainlinefrom
sparchatus:fix_sci_handling
Nov 14, 2025
Merged

Fix sci handling#350
wipawel merged 3 commits into
KernelTestFramework:mainlinefrom
sparchatus:fix_sci_handling

Conversation

Copy link
Copy Markdown
Contributor

Fix handling of the system control interrupt in KTF. I am a bit unsure about whether the interrupt routine we have is re-entrant. If not, we might run into issues since we could have a re-entry once we send the acpi_EOI signal?

sparchatus requested a review from a team as a code owner November 11, 2025 15:06
sparchatus mentioned this pull request Nov 11, 2025
Comment thread arch/x86/ioapic.c Outdated
Comment thread arch/x86/ioapic.c
Comment thread common/acpi.c
Comment thread common/acpi.c Outdated
Comment thread include/acpi_ktf.h Outdated
- IOAPIC init requires ACPI tables
- ACPI subsystem enable requires IOAPIC

Hence, we first init ACPI tables, then IOAPIC, then enable ACPI subsystem.

Signed-off-by: Sandro Rüegge <rueegges@ethz.ch>
- We need a configure_irq because SCI has special polarity and trigger mode
- We need mask_irq to implement ACPICA handler removal

Signed-off-by: Sandro Rüegge <rueegges@ethz.ch>
We select an unused interrupt vector. Configure/mask the SCI interrupt in IOAPIC. We send the apic end of interrupt signal.

Signed-off-by: Sandro Rüegge <rueegges@ethz.ch>
wipawel merged commit abd8378 into KernelTestFramework:mainline Nov 14, 2025
4 checks passed
sparchatus deleted the fix_sci_handling branch November 14, 2025 09:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL