From: dave.martin@linaro.org (Dave Martin)
To: linux-arm-kernel@lists.infradead.org
Subject: [ARM] head.S change broke platform device registration?
Date: Fri, 7 Dec 2012 13:49:29 +0000 [thread overview]
Message-ID: <20121207134929.GA1969@linaro.org> (raw)
In-Reply-To: <20121207122809.GT14363@n2100.arm.linux.org.uk>
On Fri, Dec 07, 2012 at 12:28:09PM +0000, Russell King - ARM Linux wrote:
[...]
> Having thought about this for quite a while, I think there's three
> options:
>
> 1. The Sharp Zaurus code is unmaintained. Declare it to be broken, and
> remove all the Sharp code from the kernel so that people aren't tempted
> to think it's something that the kernel supports. (In light of the
> lack of maintainer for these platforms which almost no one knows much
> about, that will lower the maintanence burden on everyone else.)
>
> 2. Revert the hyp-mode support and say that we can't accept _any_ change
> whatsoever to the decompressor head.S through fear that it will cause
> a regression for Sharp Zaurus platforms. (This effectively means we
> can't support virtualization on ARM - which is not acceptable.)
>
> 3. Revert the hyp-mode support and make it conditional on CPUs that have
> hyp-mode support.
>
> Out of those three, (3) is the best way forward. So, unless I hear any
> objections, I'm going to revert 424e5994e63 in mainline, and wait for a
> patch to safe_svcmode_maskall so that it can be switched between the
> hyp-mode version and the non-hyp-mode.
>
> This shouldn't be a problem for the single-zImage people; the break-point
> is the ARMv5/ARMv6 boundary which we're already keeping as separate kernels.
I've posted a separate patch which ought to accomplish the appropriate
change to safe_svc_maskall
([PATCH] ARM: head: Remove boot-time HYP mode check for v5 and below)
I've done a compile-disassemble sanity-check for v5 and v7 to make sure
that the results are sane, but I can't check whether it fixed the
problem for the affected hardware.
Marko, can you give it a try?
Cheers
---Dave
next prev parent reply other threads:[~2012-12-07 13:49 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-30 1:38 [ARM] head.S change broke platform device registration? Marko Katić
2012-11-30 10:28 ` Marc Zyngier
2012-11-30 12:20 ` Marko Katić
2012-11-30 13:45 ` Marc Zyngier
2012-11-30 14:34 ` Russell King - ARM Linux
2012-12-04 21:48 ` Marko Katić
2012-12-04 22:18 ` Russell King - ARM Linux
2012-12-05 22:18 ` Marko Katić
2012-12-05 23:58 ` Russell King - ARM Linux
2012-12-07 12:28 ` Russell King - ARM Linux
2012-12-07 13:49 ` Dave Martin [this message]
2012-12-10 17:23 ` Marko Katić
2012-12-10 17:31 ` Dave Martin
2012-12-10 17:21 ` Marko Katić
2012-12-11 0:25 ` Russell King - ARM Linux
2012-12-12 15:55 ` Richard Purdie
2012-12-12 17:22 ` Marko Katić
2012-12-12 17:59 ` Russell King - ARM Linux
2012-12-12 22:29 ` Richard Purdie
2012-11-30 12:17 ` Dave Martin
2012-11-30 12:28 ` Marko Katić
2012-11-30 12:40 ` Russell King - ARM Linux
2012-11-30 13:07 ` Marko Katić
2012-11-30 13:11 ` Marko Katić
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=20121207134929.GA1969@linaro.org \
--to=dave.martin@linaro.org \
--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.