Source-Changes archive

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

CVS commit: [netbsd-10] src/sys



Module Name:    src
Committed By:   martin
Date:           Fri Dec 23 08:09:48 UTC 2022

Modified Files:
        src/sys/arch/aarch64/aarch64 [netbsd-10]: cpu.c
        src/sys/arch/arm/arm [netbsd-10]: cpufunc.c
        src/sys/arch/arm/arm32 [netbsd-10]: arm32_boot.c
        src/sys/dev/tprof [netbsd-10]: tprof.c tprof_armv7.c tprof_armv8.c

Log Message:
Pull up following revision(s) (requested by ryo in ticket #20):

        sys/arch/arm/arm/cpufunc.c: revision 1.185
        sys/dev/tprof/tprof.c: revision 1.22
        sys/arch/arm/arm32/arm32_boot.c: revision 1.45
        sys/dev/tprof/tprof_armv8.c: revision 1.19
        sys/dev/tprof/tprof_armv7.c: revision 1.12
        sys/arch/aarch64/aarch64/cpu.c: revision 1.71
        sys/arch/aarch64/aarch64/cpu.c: revision 1.72

tprof_lock is not a spin mutex. use mutex_{enter,exit}(). oops

Explicitly disable overflow interrupts before enabling the cycle counter.

PMCR_EL0.LC should be set. ARM deprecates use of PMCR_EL0.LC=0

Even if an overflow interrupt is occured for a counter outside tprof management,
the bit of onverflow status register must be cleared to prevent an interrupt storm.


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.70.4.1 src/sys/arch/aarch64/aarch64/cpu.c
cvs rdiff -u -r1.184 -r1.184.4.1 src/sys/arch/arm/arm/cpufunc.c
cvs rdiff -u -r1.44 -r1.44.4.1 src/sys/arch/arm/arm32/arm32_boot.c
cvs rdiff -u -r1.21 -r1.21.2.1 src/sys/dev/tprof/tprof.c
cvs rdiff -u -r1.11 -r1.11.2.1 src/sys/dev/tprof/tprof_armv7.c
cvs rdiff -u -r1.18 -r1.18.2.1 src/sys/dev/tprof/tprof_armv8.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