freebsd-dev/sys/arm
Zbigniew Bodek a39370ff87 Apply access flags for managed and unmanaged pages properly on ARMv6/v7
When entering a mapping via pmap_enter() unmanaged pages ought to be
naturally excluded from the "modified" and "referenced" emulation.
RW permission should be granted implicitly when requested,
otherwise unmanaged page will not recover from the permission fault
since there will be no PV entry to indicate that the page can be written.

In addition, only managed pages that participate in "modified"
emulation need to be marked as "dirty" and "writeable" when entered
with RW permissions. Likewise with "referenced" flag for managed pages.
Unmanaged ones however should not be marked as such.

Reviewed by:	cognet, gber
2013-11-19 23:37:50 +00:00
..
allwinner Switch allwinner A10/A20 and rockchip ports to use common ARMv6/v7 bus_space tag. 2013-11-06 10:31:52 +00:00
arm Apply access flags for managed and unmanaged pages properly on ARMv6/v7 2013-11-19 23:37:50 +00:00
at91 Move remaining code and data related to static device mapping into the 2013-11-04 22:45:26 +00:00
broadcom/bcm2835 As all the IIC controllers on system uses the same 'iichb' prefix we cannot 2013-11-12 13:34:07 +00:00
conf Add support for Freescale Vybrid Family VF600 heterogeneous 2013-11-12 18:02:56 +00:00
econa Remove an incorrectly copied and pasted clause from these license 2013-11-15 16:16:55 +00:00
freescale Add support for Freescale Vybrid Family VF600 heterogeneous 2013-11-12 18:02:56 +00:00
include As of r257209, all architectures have defined VM_KMEM_SIZE_SCALE. In other 2013-11-08 16:25:00 +00:00
lpc Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
mv Teach nexus(4) about Open Firmware (e.g. FDT) on ARM and MIPS, retiring 2013-11-05 13:48:34 +00:00
rockchip Switch allwinner A10/A20 and rockchip ports to use common ARMv6/v7 bus_space tag. 2013-11-06 10:31:52 +00:00
s3c2xx0 Move remaining code and data related to static device mapping into the 2013-11-04 22:45:26 +00:00
sa11x0 Move remaining code and data related to static device mapping into the 2013-11-04 22:45:26 +00:00
samsung/exynos o Use common ARMv6/v7 bus_space tag. 2013-11-13 16:17:05 +00:00
tegra Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
ti Bugfixes... the host capabilties from FDT data are stored in host.caps, not 2013-11-19 22:14:35 +00:00
versatile Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
xilinx Call initarm_lastaddr() later in the init sequence, after establishing 2013-11-05 02:57:34 +00:00
xscale Move remaining code and data related to static device mapping into the 2013-11-04 22:45:26 +00:00