All of lore.kernel.org
 help / color / mirror / Atom feed
From: Valdis.Kletnieks@vt.edu (Valdis.Kletnieks at vt.edu)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] Handle instruction cache maintenance fault properly
Date: Mon, 10 May 2010 10:52:08 -0400	[thread overview]
Message-ID: <7529.1273503128@localhost> (raw)
In-Reply-To: Your message of "Mon, 10 May 2010 16:34:57 +0300." <AANLkTint0f2Ow2FM3jVAqGfPjolHvF-oBTGCmY7Jx7_d@mail.gmail.com>

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?)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100510/69f17186/attachment.sig>

WARNING: multiple messages have this Message-ID (diff)
From: Valdis.Kletnieks@vt.edu
To: "Kirill A. Shutemov" <kirill@shutemov.name>
Cc: Russell King - ARM Linux <linux@arm.linux.org.uk>,
	Catalin Marinas <catalin.marinas@arm.com>,
	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 10:52:08 -0400	[thread overview]
Message-ID: <7529.1273503128@localhost> (raw)
In-Reply-To: Your message of "Mon, 10 May 2010 16:34:57 +0300." <AANLkTint0f2Ow2FM3jVAqGfPjolHvF-oBTGCmY7Jx7_d@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 441 bytes --]

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?)

[-- Attachment #2: Type: application/pgp-signature, Size: 227 bytes --]

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

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-10 13:07 [PATCH] Handle instruction cache maintenance fault properly Kirill A. Shutemov
2010-05-10 13:07 ` Kirill A. Shutemov
2010-05-10 13:15 ` Russell King - ARM Linux
2010-05-10 13:15   ` Russell King - ARM Linux
2010-05-10 13:34   ` Kirill A. Shutemov
2010-05-10 13:34     ` Kirill A. Shutemov
2010-05-10 14:52     ` Valdis.Kletnieks at vt.edu [this message]
2010-05-10 14:52       ` Valdis.Kletnieks
2010-05-10 14:54       ` Catalin Marinas
2010-05-10 14:54         ` Catalin Marinas

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=7529.1273503128@localhost \
    --to=valdis.kletnieks@vt.edu \
    --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.