Skip to content

fix(loongarch64): harden virtio IRQ and zone startup - #111

Open
li041 wants to merge 5 commits into
syswonder:mainfrom
li041:irq-fix-upstream
Open

fix(loongarch64): harden virtio IRQ and zone startup#111
li041 wants to merge 5 commits into
syswonder:mainfrom
li041:irq-fix-upstream

Conversation

@li041

@li041 li041 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • model LoongArch virtio interrupt lines with explicit assertion state
  • preserve virtio-console RX data while the guest applies backpressure
  • harden IVC MMIO/IRQ initialization and isolate the canonical virtio sources
  • return a failure status when the zone-start ioctl fails

Validation

  • loaded hvisor.ko and started linux1 on the LS3A6000 board
  • verified /dev/pts/0 login, uname, and two guest CPUs
  • verified zone-start failures are visible to the calling script

@li041
li041 marked this pull request as draft July 21, 2026 12:32
@li041
li041 force-pushed the irq-fix-upstream branch 2 times, most recently from 980fa76 to 5f534bd Compare July 21, 2026 13:35
@li041
li041 marked this pull request as ready for review July 21, 2026 13:36
@caodg
caodg requested a review from enkerewpo July 21, 2026 21:42
Comment thread driver/ivc_driver.c Outdated
@li041
li041 force-pushed the irq-fix-upstream branch 2 times, most recently from 98f16ec to bc0240d Compare July 22, 2026 11:05
@li041

li041 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

@enkerewpo Thanks for your review. I have addressed the comments and updated the PR accordingly. Could you please take another look when you have time?

@li041
li041 force-pushed the irq-fix-upstream branch from bc0240d to 4056c65 Compare July 29, 2026 06:23
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