On Tue, 2012-10-09 at 16:39 +0100, Arnd Bergmann wrote:
On Tuesday 09 October 2012, Ian Campbell wrote:
quoted
quoted
* The tmem hypercall is not available on ARM
* ARMv6 does not support cmpxchg on 16-bit words that are used in the
missing the end of this sentence?
Right, I meant to say
* ARMv6 does not support cmpxchg on 16-bit words that are used in the
Xen grant table code, so we must ensure that Xen support is only built
on ARMv7-only kernels not combined ARMv6/v7 kernels.
This should be fixed differently in the future.
Is this is a build time failure because gcc/gas/etc refuses to generate
these instructions if it is configured for v6?
I ask because if it is only a runtime issue then we can reason that if
we are running Xen specific grant table code, then we must be running on
Xen and therefore must necessarily be running on a v7 (because Xen only
support v7+virt extensions) even if the kernel happens to be capable of
running on v6 too.
Ian.