Re: [PATCH 11/14] ARM: v6k: use CPU domain feature if we include support for arch < ARMv6K

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 27, 2011 at 06:14:56PM +0000, Catalin Marinas wrote:
> On 17 January 2011 19:24, Russell King - ARM Linux
> <linux@xxxxxxxxxxxxxxxx> wrote:
> > Rather than turning off CPU domain switching when the build architecture
> > includes ARMv6K, thereby causing problems for ARMv6-supporting kernels,
> > turn it on when it's required to support a CPU architecture.
> 
> (sorry, I'm well behind list messages, didn't reply earlier)
> 
> Does it mean that we get domains enabled even for ARMv7 when ARMv6 is
> built in the same kernel? The side effect is that user read-only
> addresses are writable by the kernel and SWP emulation no longer
> works.

It means that a kernel with ARMv6 through to ARMv7 will have CPU
domains enabled.  So maybe we want:

config CPU_32v6
	select CPU_USE_DOMAINS if !CPU_V6K && MMU

instead?
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux