Source-Changes archive

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

CVS commit: [netbsd-9] src/sys/arch/arm



Module Name:    src
Committed By:   martin
Date:           Thu Feb 27 19:06:23 UTC 2020

Modified Files:
        src/sys/arch/arm/arm [netbsd-9]: cpufunc.c
        src/sys/arch/arm/arm32 [netbsd-9]: armv7_generic_space.c pmap.c
        src/sys/arch/arm/conf [netbsd-9]: Makefile.arm
        src/sys/arch/arm/include/arm32 [netbsd-9]: pmap.h

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.175 -r1.175.4.1 src/sys/arch/arm/arm/cpufunc.c
cvs rdiff -u -r1.10 -r1.10.4.1 src/sys/arch/arm/arm32/armv7_generic_space.c
cvs rdiff -u -r1.373.2.1 -r1.373.2.2 src/sys/arch/arm/arm32/pmap.c
cvs rdiff -u -r1.49.4.1 -r1.49.4.2 src/sys/arch/arm/conf/Makefile.arm
cvs rdiff -u -r1.156 -r1.156.4.1 src/sys/arch/arm/include/arm32/pmap.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index