Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1538542

Re: [PATCH] arm64: Work around Falkor erratum 1009

From Catalin Marinas <catalin.marinas@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH] arm64: Work around Falkor erratum 1009
Date 2016-12-08 14:30 +0100
Message-ID <sM6VP-6DL-1@gated-at.bofh.it> (permalink)
References <sLQHo-4GV-5@gated-at.bofh.it> <sLQHo-4GV-3@gated-at.bofh.it> <sM5n3-5Di-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Dec 08, 2016 at 11:45:12AM +0000, Mark Rutland wrote:
> On Wed, Dec 07, 2016 at 03:04:31PM -0500, Christopher Covington wrote:
> > +	asm volatile(ALTERNATIVE(
> > +		     "nop \n"
> > +		     "nop \n",
> > +		     "tlbi vmalle1is \n"
> > +		     "dsb ish \n",
> 
> As a general note, perhaps we want a C compatible NOP_ALTERNATIVE() so
> that the nop case can be implicitly generated for sequences like this.

It's also worth checking what cpus_have_const_cap() would generate for
the default (no workaround required) case.

-- 
Catalin

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] arm64: Work around Falkor erratum 1009 Christopher Covington <cov@codeaurora.org> - 2016-12-07 21:10 +0100
  Re: [PATCH] arm64: Work around Falkor erratum 1009 Will Deacon <will.deacon@arm.com> - 2016-12-08 12:30 +0100
    Re: [PATCH] arm64: Work around Falkor erratum 1009 Marc Zyngier <marc.zyngier@arm.com> - 2016-12-08 12:40 +0100
  Re: [PATCH] arm64: Work around Falkor erratum 1009 Mark Rutland <mark.rutland@arm.com> - 2016-12-08 12:50 +0100
    Re: [PATCH] arm64: Work around Falkor erratum 1009 Catalin Marinas <catalin.marinas@arm.com> - 2016-12-08 14:30 +0100

csiph-web