The NetBSD Project

CVS log for src/sys/arch/arm/include/arm32/pmap.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / include / arm32

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: netbsd-9-3-RELEASE


Revision 1.156.4.1 / (download) - annotate - [select for diffs], Thu Feb 27 19:06:23 2020 UTC (4 years, 1 month ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.156: +17 -7 lines
Diff to previous 1.156 (colored) next main 1.157 (colored)

Pull up following revision(s) (requested by skrll in ticket #742):

	sys/arch/arm/arm32/pmap.c: revision 1.388
	sys/arch/arm/arm32/armv7_generic_space.c: revision 1.11
	sys/arch/arm/arm/cpufunc.c: revision 1.176
	sys/arch/arm/conf/Makefile.arm: revision 1.54 (via patch)
	sys/arch/arm/include/arm32/pmap.h: revision 1.161

Fix the armv[67] memory attributes for uncached memory.  Previously it was
mapped as strongly-ordered which meant that unaligned accesses would fault.
armv7_generic_bs_map now maps pages with PMAP_DEV which is treated as SO
bus_dma continues to use PMAP_NOCACHE as appropriate, but this now get
mapped to the correct memory attribute bits for armv[67]

DEVMAP_ENTRY usees a new flag PTE_DEV.

The workaround for the unaligned access faults is now removed.
XXX Other armv[67] boards bus_space implementations should be checked.
XXX There is scope to reduce the difference to aarch64

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>