Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hw/net: e1000e: Clear ICR on read when using non MSI-X interrupts #246

Open
wants to merge 1 commit into
base: qemu-cheri
Choose a base branch
from

Conversation

ma1thew
Copy link

@ma1thew ma1thew commented Feb 16, 2024

Backported from upstream QEMU; without this CheriBSD will hang during boot if an e1000e adapter is attached.

In section 7.4.3 of the 82574 datasheet it states that

"In systems that do not support MSI-X, reading the ICR
 register clears it's bits..."

Some OSes rely on this.

In section 7.4.3 of the 82574 datasheet it states that

    "In systems that do not support MSI-X, reading the ICR
     register clears it's bits..."

Some OSes rely on this.

Signed-off-by: Nick Hudson <skrll@netbsd.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
@jrtc27
Copy link
Member

jrtc27 commented Feb 16, 2024

I'm not opposed to backporting bug fixes, but I do wonder what your use case is for using an e1000e with CheriBSD. What's wrong with virtio-net-{device,pci} (which cheribuild uses)?

Also, please pass -x to git cherry-pick so it's very clear this is a cherry-pick, and which commit exactly.

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.

3 participants