From: Auger Eric <eric.auger@redhat.com>
To: Stefan Weil <sw@weilnetz.de>, QEMU Developer <qemu-devel@nongnu.org>
Cc: QEMU Trivial <qemu-trivial@nongnu.org>,
Peter Maydell <peter.maydell@linaro.org>,
qemu-arm@nongnu.org, Pavel Fedin <p.fedin@samsung.com>
Subject: Re: [Qemu-devel] [PATCH] hw/intc/arm_gicv3_its: Fix typo in member names of GICv3ITSState
Date: Tue, 1 Nov 2016 16:42:19 +0100 [thread overview]
Message-ID: <84814d67-535b-eb8a-9545-eb515aba8930@redhat.com> (raw)
In-Reply-To: <20161101152819.18906-1-sw@weilnetz.de>
Hi Stefan,
On 01/11/2016 16:28, Stefan Weil wrote:
> translater -> translator (found by codespell)
Actually GITS_TRANSLATER is the terminology used for this register in
the ARM GIC architecture specification (IHI0069B).
Thanks
Eric
>
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
> hw/intc/arm_gicv3_its_kvm.c | 10 +++++-----
> include/hw/intc/arm_gicv3_its_common.h | 4 ++--
> 2 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/hw/intc/arm_gicv3_its_kvm.c b/hw/intc/arm_gicv3_its_kvm.c
> index fc246e0..c3e074d 100644
> --- a/hw/intc/arm_gicv3_its_kvm.c
> +++ b/hw/intc/arm_gicv3_its_kvm.c
> @@ -33,18 +33,18 @@ static int kvm_its_send_msi(GICv3ITSState *s, uint32_t value, uint16_t devid)
> {
> struct kvm_msi msi;
>
> - if (unlikely(!s->translater_gpa_known)) {
> + if (unlikely(!s->translator_gpa_known)) {
> MemoryRegion *mr = &s->iomem_its_translation;
> MemoryRegionSection mrs;
>
> mrs = memory_region_find(mr, 0, 1);
> memory_region_unref(mrs.mr);
> - s->gits_translater_gpa = mrs.offset_within_address_space + 0x40;
> - s->translater_gpa_known = true;
> + s->gits_translator_gpa = mrs.offset_within_address_space + 0x40;
> + s->translator_gpa_known = true;
> }
>
> - msi.address_lo = extract64(s->gits_translater_gpa, 0, 32);
> - msi.address_hi = extract64(s->gits_translater_gpa, 32, 32);
> + msi.address_lo = extract64(s->gits_translator_gpa, 0, 32);
> + msi.address_hi = extract64(s->gits_translator_gpa, 32, 32);
> msi.data = le32_to_cpu(value);
> msi.flags = KVM_MSI_VALID_DEVID;
> msi.devid = devid;
> diff --git a/include/hw/intc/arm_gicv3_its_common.h b/include/hw/intc/arm_gicv3_its_common.h
> index 1ba1894..00aa04d 100644
> --- a/include/hw/intc/arm_gicv3_its_common.h
> +++ b/include/hw/intc/arm_gicv3_its_common.h
> @@ -38,8 +38,8 @@ struct GICv3ITSState {
> GICv3State *gicv3;
>
> int dev_fd; /* kvm device fd if backed by kvm vgic support */
> - uint64_t gits_translater_gpa;
> - bool translater_gpa_known;
> + uint64_t gits_translator_gpa;
> + bool translator_gpa_known;
>
> /* Registers */
> uint32_t ctlr;
>
prev parent reply other threads:[~2016-11-01 15:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-01 15:28 [Qemu-devel] [PATCH] hw/intc/arm_gicv3_its: Fix typo in member names of GICv3ITSState Stefan Weil
2016-11-01 15:35 ` Peter Maydell
2016-11-01 15:42 ` Auger Eric [this message]
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=84814d67-535b-eb8a-9545-eb515aba8930@redhat.com \
--to=eric.auger@redhat.com \
--cc=p.fedin@samsung.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=sw@weilnetz.de \
/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;
as well as URLs for NNTP newsgroup(s).