From: Marc Zyngier <maz@kernel.org>
To: james.morse@arm.com, eric.auger.pro@gmail.com,
kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org,
alexandru.elisei@arm.com, kvm@vger.kernel.org,
Eric Auger <eric.auger@redhat.com>,
suzuki.poulose@arm.com
Cc: gshan@redhat.com, drjones@redhat.com
Subject: Re: [PATCH] KVM: arm/arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST read
Date: Tue, 13 Apr 2021 15:05:41 +0100 [thread overview]
Message-ID: <161832273337.3709196.17485368965759835272.b4-ty@kernel.org> (raw)
In-Reply-To: <20210412150034.29185-1-eric.auger@redhat.com>
On Mon, 12 Apr 2021 17:00:34 +0200, Eric Auger wrote:
> When reading the base address of the a REDIST region
> through KVM_VGIC_V3_ADDR_TYPE_REDIST we expect the
> redistributor region list to be populated with a single
> element.
>
> However list_first_entry() expects the list to be non empty.
> Instead we should use list_first_entry_or_null which effectively
> returns NULL if the list is empty.
Applied to kvm-arm64/vgic-5.13, thanks!
[1/1] KVM: arm/arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST read
commit: 94ac0835391efc1a30feda6fc908913ec012951e
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
next prev parent reply other threads:[~2021-04-13 14:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-12 15:00 Eric Auger
2021-04-13 6:05 ` Keqian Zhu
2021-04-13 14:05 ` Marc Zyngier [this message]
2021-06-21 12:18 Eric Auger
2021-06-21 12:21 ` Eric Auger
2021-06-21 12:44 ` Eric Auger
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=161832273337.3709196.17485368965759835272.b4-ty@kernel.org \
--to=maz@kernel.org \
--cc=alexandru.elisei@arm.com \
--cc=drjones@redhat.com \
--cc=eric.auger.pro@gmail.com \
--cc=eric.auger@redhat.com \
--cc=gshan@redhat.com \
--cc=james.morse@arm.com \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=suzuki.poulose@arm.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®