Source-Changes archive

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

CVS commit: src/sys/arch



Module Name:    src
Committed By:   matt
Date:           Sat Sep 22 00:33:42 UTC 2012

Modified Files:
        src/sys/arch/acorn32/acorn32: rpc_machdep.c
        src/sys/arch/acorn32/eb7500atx: eb7500atx_machdep.c
        src/sys/arch/arm/arm: cpufunc_asm_arm11.S cpufunc_asm_arm11x6.S
            cpufunc_asm_arm67.S cpufunc_asm_arm7tdmi.S cpufunc_asm_arm8.S
            cpufunc_asm_arm9.S cpufunc_asm_armv5.S cpufunc_asm_armv5_ec.S
            cpufunc_asm_armv6.S cpufunc_asm_armv7.S cpufunc_asm_fa526.S
            cpufunc_asm_sa1.S cpufunc_asm_xscale.S
        src/sys/arch/arm/arm32: arm32_kvminit.c cpu.c pmap.c
        src/sys/arch/arm/cortex: pl310.c
        src/sys/arch/arm/include: armreg.h cpufunc.h
        src/sys/arch/arm/include/arm32: pmap.h
        src/sys/arch/cats/cats: cats_machdep.c
        src/sys/arch/evbarm/adi_brh: brh_machdep.c
        src/sys/arch/evbarm/armadillo: armadillo9_machdep.c
        src/sys/arch/evbarm/g42xxeb: g42xxeb_machdep.c
        src/sys/arch/evbarm/gemini: gemini_machdep.c
        src/sys/arch/evbarm/gumstix: gumstix_machdep.c
        src/sys/arch/evbarm/hdl_g: hdlg_machdep.c
        src/sys/arch/evbarm/imx31: imx31lk_machdep.c
        src/sys/arch/evbarm/integrator: integrator_machdep.c
        src/sys/arch/evbarm/iq80310: iq80310_machdep.c
        src/sys/arch/evbarm/iq80321: iq80321_machdep.c
        src/sys/arch/evbarm/ixdp425: ixdp425_machdep.c
        src/sys/arch/evbarm/ixm1200: ixm1200_machdep.c
        src/sys/arch/evbarm/lubbock: lubbock_machdep.c
        src/sys/arch/evbarm/mini2440: mini2440_machdep.c
        src/sys/arch/evbarm/netwalker: netwalker_machdep.c
        src/sys/arch/evbarm/npwr_fc: npwr_fc_machdep.c
        src/sys/arch/evbarm/nslu2: nslu2_machdep.c
        src/sys/arch/evbarm/osk5912: osk5912_machdep.c
        src/sys/arch/evbarm/smdk2xx0: smdk2410_machdep.c smdk2800_machdep.c
        src/sys/arch/evbarm/tisdp24xx: sdp24xx_machdep.c
        src/sys/arch/evbarm/tsarm: tsarm_machdep.c
        src/sys/arch/evbarm/viper: viper_machdep.c
        src/sys/arch/hpcarm/hpcarm: pxa2x0_hpc_machdep.c sa11x0_hpc_machdep.c
        src/sys/arch/iyonix/iyonix: iyonix_machdep.c
        src/sys/arch/netwinder/netwinder: netwinder_machdep.c
        src/sys/arch/shark/ofw: ofw.c
        src/sys/arch/zaurus/zaurus: machdep.c

Log Message:
Don't use an asm in pmap_activate to update the TTBR, use cpu_setttb instead
but add a second argument to it to indicate whether the TLB/caches need to be
flushed.  Default cortex to pmap_needs_fixup = 1.  But check the MMFR3 field
to see if the fixed can be skipped.
Use a cf_flag bit 0 to indicate whether the A9 L2 cache should disable (bit 0 = 
1)
or enabeld (bit = 0).

With these changes, the A9 MMU can use traverse caches to do MMU tablewalks
Also, make sure all memory has the shareable bit for the A9.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/arch/acorn32/acorn32/rpc_machdep.c
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/arm/cpufunc_asm_arm11.S \
    src/sys/arch/arm/arm/cpufunc_asm_arm9.S
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/arm/cpufunc_asm_arm11x6.S
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/arm/cpufunc_asm_arm67.S \
    src/sys/arch/arm/arm/cpufunc_asm_arm7tdmi.S \
    src/sys/arch/arm/arm/cpufunc_asm_armv5.S \
    src/sys/arch/arm/arm/cpufunc_asm_armv6.S \
    src/sys/arch/arm/arm/cpufunc_asm_fa526.S
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/arm/cpufunc_asm_arm8.S
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/arm/cpufunc_asm_armv5_ec.S
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/arm/cpufunc_asm_armv7.S
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/arm/cpufunc_asm_sa1.S
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/arm/arm/cpufunc_asm_xscale.S
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/arm/arm32/arm32_kvminit.c
cvs rdiff -u -r1.86 -r1.87 src/sys/arch/arm/arm32/cpu.c
cvs rdiff -u -r1.236 -r1.237 src/sys/arch/arm/arm32/pmap.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/cortex/pl310.c
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/arm/include/armreg.h
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/arm/include/cpufunc.h
cvs rdiff -u -r1.111 -r1.112 src/sys/arch/arm/include/arm32/pmap.h
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/cats/cats/cats_machdep.c
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/evbarm/adi_brh/brh_machdep.c
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/evbarm/armadillo/armadillo9_machdep.c
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/evbarm/g42xxeb/g42xxeb_machdep.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/evbarm/gemini/gemini_machdep.c
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/evbarm/gumstix/gumstix_machdep.c
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/evbarm/hdl_g/hdlg_machdep.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/evbarm/imx31/imx31lk_machdep.c
cvs rdiff -u -r1.71 -r1.72 \
    src/sys/arch/evbarm/integrator/integrator_machdep.c
cvs rdiff -u -r1.82 -r1.83 src/sys/arch/evbarm/iq80310/iq80310_machdep.c
cvs rdiff -u -r1.52 -r1.53 src/sys/arch/evbarm/iq80321/iq80321_machdep.c
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/evbarm/ixdp425/ixdp425_machdep.c
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/evbarm/ixm1200/ixm1200_machdep.c
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/evbarm/lubbock/lubbock_machdep.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/evbarm/mini2440/mini2440_machdep.c
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbarm/netwalker/netwalker_machdep.c
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/evbarm/npwr_fc/npwr_fc_machdep.c
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/evbarm/nslu2/nslu2_machdep.c
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/evbarm/osk5912/osk5912_machdep.c
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/evbarm/smdk2xx0/smdk2410_machdep.c
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/evbarm/smdk2xx0/smdk2800_machdep.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/evbarm/tisdp24xx/sdp24xx_machdep.c
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/evbarm/tsarm/tsarm_machdep.c
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/evbarm/viper/viper_machdep.c
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/hpcarm/hpcarm/pxa2x0_hpc_machdep.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/hpcarm/hpcarm/sa11x0_hpc_machdep.c
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/iyonix/iyonix/iyonix_machdep.c
cvs rdiff -u -r1.78 -r1.79 \
    src/sys/arch/netwinder/netwinder/netwinder_machdep.c
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/shark/ofw/ofw.c
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/zaurus/zaurus/machdep.c

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