From: marc.zyngier@arm.com (Marc Zyngier)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 2/6] irqchip, gicv3: Workaround for Cavium ThunderX erratum 23154
Date: Tue, 22 Sep 2015 17:50:40 +0100 [thread overview]
Message-ID: <20150922175040.7288b247@arm.com> (raw)
In-Reply-To: <1442869119-1814-3-git-send-email-rric@kernel.org>
On Mon, 21 Sep 2015 22:58:35 +0200
Robert Richter <rric@kernel.org> wrote:
> From: Robert Richter <rrichter@cavium.com>
>
> This patch implements Cavium ThunderX erratum 23154.
>
> The gicv3 of ThunderX requires a modified version for reading the IAR
> status to ensure data synchronization. Since this is in the fast-path
> and called with each interrupt, runtime patching is used using jump
> label patching for smallest overhead (no-op). This is the same
> technique as used for tracepoints.
>
> v5:
> * fixed calling gic_read_iar_cavium_thunderx() if jump label is
> enabled
> * made is_cavium_thunderx static
> * removed ARCH_THUNDER dependency for Cavium errata options to
> make it available for generic kernels
>
> v4:
> * simplify code to only use cpus_have_cap() in gicv3_enable_quirks()
>
> v3:
> * fix erratum to be dependend from midr
> * use arm64 errata framework
>
> v2:
> * implement code in a single asm() to keep instruction sequence
> * added comment to the code that explains the erratum
> * apply workaround also if running as guest, thus check MIDR
>
> Signed-off-by: Robert Richter <rrichter@cavium.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
M.
--
Jazz is not dead. It just smells funny.
WARNING: multiple messages have this Message-ID (diff)
From: Marc Zyngier <marc.zyngier@arm.com>
To: Robert Richter <rric@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Jason Cooper <jason@lakedaemon.net>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will.deacon@arm.com>,
Tirumalesh Chalamarla <tchalamarla@cavium.com>,
<linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
Robert Richter <rrichter@cavium.com>
Subject: Re: [PATCH v5 2/6] irqchip, gicv3: Workaround for Cavium ThunderX erratum 23154
Date: Tue, 22 Sep 2015 17:50:40 +0100 [thread overview]
Message-ID: <20150922175040.7288b247@arm.com> (raw)
In-Reply-To: <1442869119-1814-3-git-send-email-rric@kernel.org>
On Mon, 21 Sep 2015 22:58:35 +0200
Robert Richter <rric@kernel.org> wrote:
> From: Robert Richter <rrichter@cavium.com>
>
> This patch implements Cavium ThunderX erratum 23154.
>
> The gicv3 of ThunderX requires a modified version for reading the IAR
> status to ensure data synchronization. Since this is in the fast-path
> and called with each interrupt, runtime patching is used using jump
> label patching for smallest overhead (no-op). This is the same
> technique as used for tracepoints.
>
> v5:
> * fixed calling gic_read_iar_cavium_thunderx() if jump label is
> enabled
> * made is_cavium_thunderx static
> * removed ARCH_THUNDER dependency for Cavium errata options to
> make it available for generic kernels
>
> v4:
> * simplify code to only use cpus_have_cap() in gicv3_enable_quirks()
>
> v3:
> * fix erratum to be dependend from midr
> * use arm64 errata framework
>
> v2:
> * implement code in a single asm() to keep instruction sequence
> * added comment to the code that explains the erratum
> * apply workaround also if running as guest, thus check MIDR
>
> Signed-off-by: Robert Richter <rrichter@cavium.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
M.
--
Jazz is not dead. It just smells funny.
next prev parent reply other threads:[~2015-09-22 16:50 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-21 20:58 [PATCH v5 0/6] irqchip, gicv3: Updates and Cavium ThunderX errata workarounds Robert Richter
2015-09-21 20:58 ` Robert Richter
2015-09-21 20:58 ` [PATCH v5 1/6] irqchip, gicv3-its: Add range check for number of allocated pages Robert Richter
2015-09-21 20:58 ` Robert Richter
2015-09-29 8:15 ` [tip:irq/core] irqchip/gicv3-its: " tip-bot for Robert Richter
2015-09-21 20:58 ` [PATCH v5 2/6] irqchip, gicv3: Workaround for Cavium ThunderX erratum 23154 Robert Richter
2015-09-21 20:58 ` Robert Richter
2015-09-22 16:50 ` Marc Zyngier [this message]
2015-09-22 16:50 ` Marc Zyngier
2015-09-29 8:16 ` [tip:irq/core] irqchip/gicv3: " tip-bot for Robert Richter
2015-09-21 20:58 ` [PATCH v5 3/6] irqchip, gicv3-its: Read typer register outside the loop Robert Richter
2015-09-21 20:58 ` Robert Richter
2015-09-29 8:16 ` [tip:irq/core] irqchip/gicv3-its: " tip-bot for Robert Richter
2015-09-21 20:58 ` [PATCH v5 4/6] irqchip, gicv3-its: Add HW revision detection and configuration Robert Richter
2015-09-21 20:58 ` Robert Richter
2015-09-22 16:51 ` Marc Zyngier
2015-09-22 16:51 ` Marc Zyngier
2015-09-29 8:16 ` [tip:irq/core] irqchip/gicv3-its: " tip-bot for Robert Richter
2015-09-21 20:58 ` [PATCH v5 5/6] irqchip, gicv3-its: Workaround for Cavium ThunderX errata 22375, 24313 Robert Richter
2015-09-21 20:58 ` Robert Richter
2015-09-22 16:52 ` Marc Zyngier
2015-09-22 16:52 ` Marc Zyngier
2015-09-29 8:17 ` [tip:irq/core] irqchip/gicv3-its: " tip-bot for Robert Richter
2015-09-21 20:58 ` [PATCH v5 6/6] irqchip, gicv3-its: Use new jump label API Robert Richter
2015-09-21 20:58 ` Robert Richter
2015-09-22 16:53 ` Marc Zyngier
2015-09-22 16:53 ` Marc Zyngier
2015-09-29 8:17 ` [tip:irq/core] irqchip/gicv3-its: " tip-bot for Robert Richter
2015-09-22 16:57 ` [PATCH v5 0/6] irqchip, gicv3: Updates and Cavium ThunderX errata workarounds Marc Zyngier
2015-09-22 16:57 ` Marc Zyngier
2015-09-22 18:09 ` Marc Zyngier
2015-09-22 18:09 ` Marc Zyngier
2015-09-22 18:27 ` Will Deacon
2015-09-22 18:27 ` Will Deacon
2015-09-22 19:41 ` Marc Zyngier
2015-09-22 19:41 ` Marc Zyngier
2015-09-24 16:54 ` Catalin Marinas
2015-09-24 16:54 ` Catalin Marinas
2015-09-24 17:01 ` Robert Richter
2015-09-24 17:01 ` Robert Richter
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=20150922175040.7288b247@arm.com \
--to=marc.zyngier@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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.