From: Dan Carpenter <dan@pereq.eu>
To: sashiko-reviews@lists.linux.dev
Cc: kvmarm@lists.linux.dev, kvm@vger.kernel.org,
Oliver Upton <oupton@kernel.org>, Marc Zyngier <maz@kernel.org>
Subject: Re: [PATCH v2 6/8] KVM: arm64: nv: Don't deliver a pending SError to the wrong guest
Date: Wed, 25 Nov 2026 14:05:51 +0300 [thread overview]
Message-ID: <awbBD_8rLYZ9aJTK@stanley.mountain> (raw)
In-Reply-To: <sashiko-outbox-232776@kernel.org>
On Wed, Nov 25, 2026 at 07:24:38AM +0000, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue to consider:
> - [High] KVM: arm64: nv: sleeping in atomic context via
> kvm_nested_flush_hwstate()
> --
This is an existing bug but my patchset makes it worse.
I didn't have CONFIG_DEBUG_ATOMIC_SLEEP enabled when I tested my patch
but I have enabled it now (although it wouldn't have caught the bug
anyway).
Claude says Smatch probably would have caught this bug, but I haven't
been rebuilding the cross function DB since I started using AI for
static analysis... I guess I will do that again.
Anyway, I will also add checking for sleeping in atomic to the standard
review.
regards,
dan carpenter
next prev parent reply other threads:[~2026-11-25 11:05 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 6:56 [PATCH v2 0/8] KVM: arm64: Fix kvm_reset_vcpu() and SError handling for nested virt Dan Carpenter
2026-11-25 6:56 ` [PATCH v2 1/8] KVM: arm64: Drop an incomplete MMIO access when resetting a vcpu Dan Carpenter
2026-11-25 6:56 ` [PATCH v2 2/8] KVM: arm64: Reset SP_EL1, ELR_EL1 and SPSR_EL1 " Dan Carpenter
2026-11-25 7:15 ` sashiko-bot
2026-11-25 9:14 ` Dan Carpenter
2026-11-25 9:18 ` Dan Carpenter
2026-11-26 13:37 ` Steffen Eiden
2026-11-26 14:04 ` Dan Carpenter
2026-11-25 9:08 ` Suzuki K Poulose
2026-11-25 9:32 ` Dan Carpenter
2026-11-25 6:56 ` [PATCH v2 3/8] KVM: arm64: Discard a pending SError " Dan Carpenter
2026-11-25 6:56 ` [PATCH v2 4/8] KVM: arm64: nv: Discard nested SError in kvm_reset_vcpu() Dan Carpenter
2026-11-25 6:56 ` [PATCH v2 5/8] KVM: arm64: nv: Replace a pending SError when injecting a new one Dan Carpenter
2026-11-25 8:00 ` Oliver Upton
2026-11-25 9:51 ` Dan Carpenter
2026-11-25 6:56 ` [PATCH v2 6/8] KVM: arm64: nv: Don't deliver a pending SError to the wrong guest Dan Carpenter
2026-11-25 7:24 ` sashiko-bot
2026-11-25 8:04 ` Oliver Upton
2026-11-25 11:11 ` Dan Carpenter
2026-11-25 11:05 ` Dan Carpenter [this message]
2026-11-25 6:56 ` [PATCH v2 7/8] KVM: arm64: nv: Re-inject a stored SError after the exit is handled Dan Carpenter
2026-11-25 6:56 ` [PATCH v2 8/8] KVM: arm64: selftests: Test that a vcpu reset clears the vcpu's state Dan Carpenter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awbBD_8rLYZ9aJTK@stanley.mountain \
--to=dan@pereq.eu \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.linux.dev \
--cc=maz@kernel.org \
--cc=oupton@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.