Re: [PATCH 00/14] Fix issues with ARMv6+v6k+v7 kernels

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

 



On Fri, Feb 11, 2011 at 03:45:51PM -0500, Nicolas Pitre wrote:
> The patch below is making the code more straight forward regardless of 
> any swp emulation issues.

I don't know where you get that idea from.  What it does is make a kernel
built with a standard set of options have differing behaviour on v7 and
pre-v7 architectures.

On v7 architectures, the vectors page and user pages all become read only
to SVC mode.  On pre-v7 architectures on the same kernel, they are read-
write to SVC mode.

What we have now is that these pages are only read-only when CPU domains
are turned off - for everything.  So we know that if CPU domains are
enabled, it's read/write, otherwise it's read only.  That's more
straight forward than what this patch creates IMHO.
--
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