mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Valdis.Kletnieks@vt.edu
Cc: "Kirill A. Shutemov" <kirill@shutemov.name>,
	Russell King - ARM Linux <linux@arm.linux.org.uk>,
	Siarhei Siamashka <siarhei.siamashka@nokia.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Aaro Koskinen <aaro.koskinen@nokia.com>
Subject: Re: [PATCH] Handle instruction cache maintenance fault properly
Date: Mon, 10 May 2010 15:54:35 +0100	[thread overview]
Message-ID: <1273503275.10282.63.camel@e102109-lin.cambridge.arm.com> (raw)
In-Reply-To: <7529.1273503128@localhost>

On Mon, 2010-05-10 at 15:52 +0100, Valdis.Kletnieks@vt.edu wrote:
> On Mon, 10 May 2010 16:34:57 +0300, "Kirill A. Shutemov" said:
> 
> > It looks like cache maintenance fault was introduced in ARMv6.
> > 
> > So, what is the right way to fix it? Something like:
> > 
> > #if __LINUX_ARM_ARCH__ < 6
> >         { do_bad,               SIGBUS,  0,             "external
> 
> This would need to be a runtime test, no?  Or does LINUX_ARM_ARCH not allow
> it to run on other arch levels? (i.e. can an ARM kernel boot for v5 and v6?)

v6 and v7 probably but I doubt v5 and v6 would work. There are other
#ifdefs in arch/arm/include/asm/system.h like barriers.

-- 
Catalin


      reply	other threads:[~2010-05-10 14:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-10 13:07 Kirill A. Shutemov
2010-05-10 13:15 ` Russell King - ARM Linux
2010-05-10 13:34   ` Kirill A. Shutemov
2010-05-10 14:52     ` Valdis.Kletnieks
2010-05-10 14:54       ` Catalin Marinas [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=1273503275.10282.63.camel@e102109-lin.cambridge.arm.com \
    --to=catalin.marinas@arm.com \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=aaro.koskinen@nokia.com \
    --cc=kirill@shutemov.name \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=siarhei.siamashka@nokia.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®