History log of /netbsd-current/sys/dev/tprof/tprof_armv8.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.20 11-Apr-2023 msaitoh

KNF. No functional change.


# 1.19 22-Dec-2022 ryo

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.


Revision tags: netbsd-10-base
# 1.18 01-Dec-2022 ryo

branches: 1.18.2;
Improve tprof(4)

- Multiple events can now be handled simultaneously.
- Counters should be configured with TPROF_IOC_CONFIGURE_EVENT in advance,
instead of being configured at TPROF_IOC_START.
- The configured counters can be started and stopped repeatedly by
PROF_IOC_START/TPROF_IOC_STOP.
- The value of the performance counter can be obtained at any timing as a 64bit
value with TPROF_IOC_GETCOUNTS.
- Backend common parts are handled in tprof.c as much as possible, and functions
on the tprof_backend side have been reimplemented to be more primitive.
- The reset value of counter overflows for profiling can now be adjusted.
It is calculated by default from the CPU clock (speed of cycle counter) and
TPROF_HZ, but for some events the value may be too large to be sufficient for
profiling. The event counter can be specified as a ratio to the default or as
an absolute value when configuring the event counter.
- Due to overall changes, API and ABI have been changed. TPROF_VERSION and
TPROF_BACKEND_VERSION were updated.


# 1.17 01-Dec-2022 ryo

PMCR.E should not be disabled from tprof.

PMCR.E controls not only performance event counters but also the cycle
counter operation, and the cycle counter may be used for cpu_counter.
Similarly, the 31st bit in PMINTENCLR and PMCNTENCLR controls the cycle
counter, not performance event counters, and should not be modified.


# 1.16 10-Nov-2022 ryo

revert my previous commit.

since armv8_pmu_init is only called when it is reliably worked by ACPI or fdt,
there is no need for dynamic checks.

pointed out by jmcneill@, thanks


# 1.15 09-Nov-2022 ryo

If the hardware does not support PMU, return an error instead of KASSERT.


Revision tags: bouyer-sunxi-drm-base
# 1.14 16-May-2022 jmcneill

tprof: armv8: Only attach to known PMU types.


# 1.13 03-Dec-2021 skrll

fix the typo that martin spotted.


# 1.12 03-Dec-2021 skrll

Add a comment and simplify the code ever so slightly.


# 1.11 03-Dec-2021 skrll

Use the first (not second) event counter as there might only be one
available.


# 1.10 26-Nov-2021 christos

declare xc


# 1.9 25-Nov-2021 skrll

Improve error handling.

Hypervisors can return a PMCR.N of 0.


# 1.8 01-Nov-2021 skrll

Trailing whitespace


# 1.7 26-Sep-2021 jmcneill

Make sure setup happens on all CPUs.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.6 30-Oct-2020 skrll

Retire arm_[di]sb in favour of the isb() and dsb(sy) macro invocations.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406
# 1.5 30-Mar-2020 jmcneill

Enable the cycle counter when a CPU hatches and store an estimate of the
frequency in ci_data.cpu_cc_freq.


Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE is-mlppp-base ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728
# 1.4 17-Jul-2018 christos

branches: 1.4.2; 1.4.8;
use PRI?64 instead of ll?


# 1.3 16-Jul-2018 jmcneill

Spaces -> tabs


# 1.2 16-Jul-2018 jmcneill

RW fields in performance monitor registers are reset to architecturally
UNKNOWN values. Initialize the PMU to a known state - all interrupts and
counters disabled, performance monitor disabled, and user access disabled.


# 1.1 15-Jul-2018 jmcneill

Add tprof backend for ARMv8 performance monitors.


# 1.19 22-Dec-2022 ryo

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.


Revision tags: netbsd-10-base
# 1.18 01-Dec-2022 ryo

Improve tprof(4)

- Multiple events can now be handled simultaneously.
- Counters should be configured with TPROF_IOC_CONFIGURE_EVENT in advance,
instead of being configured at TPROF_IOC_START.
- The configured counters can be started and stopped repeatedly by
PROF_IOC_START/TPROF_IOC_STOP.
- The value of the performance counter can be obtained at any timing as a 64bit
value with TPROF_IOC_GETCOUNTS.
- Backend common parts are handled in tprof.c as much as possible, and functions
on the tprof_backend side have been reimplemented to be more primitive.
- The reset value of counter overflows for profiling can now be adjusted.
It is calculated by default from the CPU clock (speed of cycle counter) and
TPROF_HZ, but for some events the value may be too large to be sufficient for
profiling. The event counter can be specified as a ratio to the default or as
an absolute value when configuring the event counter.
- Due to overall changes, API and ABI have been changed. TPROF_VERSION and
TPROF_BACKEND_VERSION were updated.


# 1.17 01-Dec-2022 ryo

PMCR.E should not be disabled from tprof.

PMCR.E controls not only performance event counters but also the cycle
counter operation, and the cycle counter may be used for cpu_counter.
Similarly, the 31st bit in PMINTENCLR and PMCNTENCLR controls the cycle
counter, not performance event counters, and should not be modified.


# 1.16 10-Nov-2022 ryo

revert my previous commit.

since armv8_pmu_init is only called when it is reliably worked by ACPI or fdt,
there is no need for dynamic checks.

pointed out by jmcneill@, thanks


# 1.15 09-Nov-2022 ryo

If the hardware does not support PMU, return an error instead of KASSERT.


Revision tags: bouyer-sunxi-drm-base
# 1.14 16-May-2022 jmcneill

tprof: armv8: Only attach to known PMU types.


# 1.13 03-Dec-2021 skrll

fix the typo that martin spotted.


# 1.12 03-Dec-2021 skrll

Add a comment and simplify the code ever so slightly.


# 1.11 03-Dec-2021 skrll

Use the first (not second) event counter as there might only be one
available.


# 1.10 26-Nov-2021 christos

declare xc


# 1.9 25-Nov-2021 skrll

Improve error handling.

Hypervisors can return a PMCR.N of 0.


# 1.8 01-Nov-2021 skrll

Trailing whitespace


# 1.7 26-Sep-2021 jmcneill

Make sure setup happens on all CPUs.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.6 30-Oct-2020 skrll

Retire arm_[di]sb in favour of the isb() and dsb(sy) macro invocations.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406
# 1.5 30-Mar-2020 jmcneill

Enable the cycle counter when a CPU hatches and store an estimate of the
frequency in ci_data.cpu_cc_freq.


Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE is-mlppp-base ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728
# 1.4 17-Jul-2018 christos

branches: 1.4.2; 1.4.8;
use PRI?64 instead of ll?


# 1.3 16-Jul-2018 jmcneill

Spaces -> tabs


# 1.2 16-Jul-2018 jmcneill

RW fields in performance monitor registers are reset to architecturally
UNKNOWN values. Initialize the PMU to a known state - all interrupts and
counters disabled, performance monitor disabled, and user access disabled.


# 1.1 15-Jul-2018 jmcneill

Add tprof backend for ARMv8 performance monitors.


# 1.18 01-Dec-2022 ryo

Improve tprof(4)

- Multiple events can now be handled simultaneously.
- Counters should be configured with TPROF_IOC_CONFIGURE_EVENT in advance,
instead of being configured at TPROF_IOC_START.
- The configured counters can be started and stopped repeatedly by
PROF_IOC_START/TPROF_IOC_STOP.
- The value of the performance counter can be obtained at any timing as a 64bit
value with TPROF_IOC_GETCOUNTS.
- Backend common parts are handled in tprof.c as much as possible, and functions
on the tprof_backend side have been reimplemented to be more primitive.
- The reset value of counter overflows for profiling can now be adjusted.
It is calculated by default from the CPU clock (speed of cycle counter) and
TPROF_HZ, but for some events the value may be too large to be sufficient for
profiling. The event counter can be specified as a ratio to the default or as
an absolute value when configuring the event counter.
- Due to overall changes, API and ABI have been changed. TPROF_VERSION and
TPROF_BACKEND_VERSION were updated.


# 1.17 01-Dec-2022 ryo

PMCR.E should not be disabled from tprof.

PMCR.E controls not only performance event counters but also the cycle
counter operation, and the cycle counter may be used for cpu_counter.
Similarly, the 31st bit in PMINTENCLR and PMCNTENCLR controls the cycle
counter, not performance event counters, and should not be modified.


# 1.16 10-Nov-2022 ryo

revert my previous commit.

since armv8_pmu_init is only called when it is reliably worked by ACPI or fdt,
there is no need for dynamic checks.

pointed out by jmcneill@, thanks


# 1.15 09-Nov-2022 ryo

If the hardware does not support PMU, return an error instead of KASSERT.


Revision tags: bouyer-sunxi-drm-base
# 1.14 16-May-2022 jmcneill

tprof: armv8: Only attach to known PMU types.


# 1.13 03-Dec-2021 skrll

fix the typo that martin spotted.


# 1.12 03-Dec-2021 skrll

Add a comment and simplify the code ever so slightly.


# 1.11 03-Dec-2021 skrll

Use the first (not second) event counter as there might only be one
available.


# 1.10 26-Nov-2021 christos

declare xc


# 1.9 25-Nov-2021 skrll

Improve error handling.

Hypervisors can return a PMCR.N of 0.


# 1.8 01-Nov-2021 skrll

Trailing whitespace


# 1.7 26-Sep-2021 jmcneill

Make sure setup happens on all CPUs.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.6 30-Oct-2020 skrll

Retire arm_[di]sb in favour of the isb() and dsb(sy) macro invocations.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406
# 1.5 30-Mar-2020 jmcneill

Enable the cycle counter when a CPU hatches and store an estimate of the
frequency in ci_data.cpu_cc_freq.


Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE is-mlppp-base ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728
# 1.4 17-Jul-2018 christos

branches: 1.4.2; 1.4.8;
use PRI?64 instead of ll?


# 1.3 16-Jul-2018 jmcneill

Spaces -> tabs


# 1.2 16-Jul-2018 jmcneill

RW fields in performance monitor registers are reset to architecturally
UNKNOWN values. Initialize the PMU to a known state - all interrupts and
counters disabled, performance monitor disabled, and user access disabled.


# 1.1 15-Jul-2018 jmcneill

Add tprof backend for ARMv8 performance monitors.


# 1.16 10-Nov-2022 ryo

revert my previous commit.

since armv8_pmu_init is only called when it is reliably worked by ACPI or fdt,
there is no need for dynamic checks.

pointed out by jmcneill@, thanks


# 1.15 09-Nov-2022 ryo

If the hardware does not support PMU, return an error instead of KASSERT.


Revision tags: bouyer-sunxi-drm-base
# 1.14 16-May-2022 jmcneill

tprof: armv8: Only attach to known PMU types.


# 1.13 03-Dec-2021 skrll

fix the typo that martin spotted.


# 1.12 03-Dec-2021 skrll

Add a comment and simplify the code ever so slightly.


# 1.11 03-Dec-2021 skrll

Use the first (not second) event counter as there might only be one
available.


# 1.10 26-Nov-2021 christos

declare xc


# 1.9 25-Nov-2021 skrll

Improve error handling.

Hypervisors can return a PMCR.N of 0.


# 1.8 01-Nov-2021 skrll

Trailing whitespace


# 1.7 26-Sep-2021 jmcneill

Make sure setup happens on all CPUs.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.6 30-Oct-2020 skrll

Retire arm_[di]sb in favour of the isb() and dsb(sy) macro invocations.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406
# 1.5 30-Mar-2020 jmcneill

Enable the cycle counter when a CPU hatches and store an estimate of the
frequency in ci_data.cpu_cc_freq.


Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE is-mlppp-base ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728
# 1.4 17-Jul-2018 christos

branches: 1.4.2; 1.4.8;
use PRI?64 instead of ll?


# 1.3 16-Jul-2018 jmcneill

Spaces -> tabs


# 1.2 16-Jul-2018 jmcneill

RW fields in performance monitor registers are reset to architecturally
UNKNOWN values. Initialize the PMU to a known state - all interrupts and
counters disabled, performance monitor disabled, and user access disabled.


# 1.1 15-Jul-2018 jmcneill

Add tprof backend for ARMv8 performance monitors.


# 1.14 16-May-2022 jmcneill

tprof: armv8: Only attach to known PMU types.


# 1.13 03-Dec-2021 skrll

fix the typo that martin spotted.


# 1.12 03-Dec-2021 skrll

Add a comment and simplify the code ever so slightly.


# 1.11 03-Dec-2021 skrll

Use the first (not second) event counter as there might only be one
available.


# 1.10 26-Nov-2021 christos

declare xc


# 1.9 25-Nov-2021 skrll

Improve error handling.

Hypervisors can return a PMCR.N of 0.


# 1.8 01-Nov-2021 skrll

Trailing whitespace


# 1.7 26-Sep-2021 jmcneill

Make sure setup happens on all CPUs.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.6 30-Oct-2020 skrll

Retire arm_[di]sb in favour of the isb() and dsb(sy) macro invocations.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406
# 1.5 30-Mar-2020 jmcneill

Enable the cycle counter when a CPU hatches and store an estimate of the
frequency in ci_data.cpu_cc_freq.


Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE is-mlppp-base ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728
# 1.4 17-Jul-2018 christos

branches: 1.4.2; 1.4.8;
use PRI?64 instead of ll?


# 1.3 16-Jul-2018 jmcneill

Spaces -> tabs


# 1.2 16-Jul-2018 jmcneill

RW fields in performance monitor registers are reset to architecturally
UNKNOWN values. Initialize the PMU to a known state - all interrupts and
counters disabled, performance monitor disabled, and user access disabled.


# 1.1 15-Jul-2018 jmcneill

Add tprof backend for ARMv8 performance monitors.


# 1.13 03-Dec-2021 skrll

fix the typo that martin spotted.


# 1.12 03-Dec-2021 skrll

Add a comment and simplify the code ever so slightly.


# 1.11 03-Dec-2021 skrll

Use the first (not second) event counter as there might only be one
available.


# 1.10 26-Nov-2021 christos

declare xc


# 1.9 25-Nov-2021 skrll

Improve error handling.

Hypervisors can return a PMCR.N of 0.


# 1.8 01-Nov-2021 skrll

Trailing whitespace


# 1.7 26-Sep-2021 jmcneill

Make sure setup happens on all CPUs.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.6 30-Oct-2020 skrll

Retire arm_[di]sb in favour of the isb() and dsb(sy) macro invocations.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406
# 1.5 30-Mar-2020 jmcneill

Enable the cycle counter when a CPU hatches and store an estimate of the
frequency in ci_data.cpu_cc_freq.


Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE is-mlppp-base ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728
# 1.4 17-Jul-2018 christos

branches: 1.4.2; 1.4.8;
use PRI?64 instead of ll?


# 1.3 16-Jul-2018 jmcneill

Spaces -> tabs


# 1.2 16-Jul-2018 jmcneill

RW fields in performance monitor registers are reset to architecturally
UNKNOWN values. Initialize the PMU to a known state - all interrupts and
counters disabled, performance monitor disabled, and user access disabled.


# 1.1 15-Jul-2018 jmcneill

Add tprof backend for ARMv8 performance monitors.


# 1.10 26-Nov-2021 christos

declare xc


# 1.9 25-Nov-2021 skrll

Improve error handling.

Hypervisors can return a PMCR.N of 0.


# 1.8 01-Nov-2021 skrll

Trailing whitespace


# 1.7 26-Sep-2021 jmcneill

Make sure setup happens on all CPUs.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.6 30-Oct-2020 skrll

Retire arm_[di]sb in favour of the isb() and dsb(sy) macro invocations.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406
# 1.5 30-Mar-2020 jmcneill

Enable the cycle counter when a CPU hatches and store an estimate of the
frequency in ci_data.cpu_cc_freq.


Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE is-mlppp-base ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728
# 1.4 17-Jul-2018 christos

branches: 1.4.2; 1.4.8;
use PRI?64 instead of ll?


# 1.3 16-Jul-2018 jmcneill

Spaces -> tabs


# 1.2 16-Jul-2018 jmcneill

RW fields in performance monitor registers are reset to architecturally
UNKNOWN values. Initialize the PMU to a known state - all interrupts and
counters disabled, performance monitor disabled, and user access disabled.


# 1.1 15-Jul-2018 jmcneill

Add tprof backend for ARMv8 performance monitors.


# 1.9 25-Nov-2021 skrll

Improve error handling.

Hypervisors can return a PMCR.N of 0.


# 1.8 01-Nov-2021 skrll

Trailing whitespace


# 1.7 26-Sep-2021 jmcneill

Make sure setup happens on all CPUs.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.6 30-Oct-2020 skrll

Retire arm_[di]sb in favour of the isb() and dsb(sy) macro invocations.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406
# 1.5 30-Mar-2020 jmcneill

Enable the cycle counter when a CPU hatches and store an estimate of the
frequency in ci_data.cpu_cc_freq.


Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE is-mlppp-base ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728
# 1.4 17-Jul-2018 christos

branches: 1.4.2; 1.4.8;
use PRI?64 instead of ll?


# 1.3 16-Jul-2018 jmcneill

Spaces -> tabs


# 1.2 16-Jul-2018 jmcneill

RW fields in performance monitor registers are reset to architecturally
UNKNOWN values. Initialize the PMU to a known state - all interrupts and
counters disabled, performance monitor disabled, and user access disabled.


# 1.1 15-Jul-2018 jmcneill

Add tprof backend for ARMv8 performance monitors.


# 1.8 01-Nov-2021 skrll

Trailing whitespace


# 1.7 26-Sep-2021 jmcneill

Make sure setup happens on all CPUs.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.6 30-Oct-2020 skrll

Retire arm_[di]sb in favour of the isb() and dsb(sy) macro invocations.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406
# 1.5 30-Mar-2020 jmcneill

Enable the cycle counter when a CPU hatches and store an estimate of the
frequency in ci_data.cpu_cc_freq.


Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE is-mlppp-base ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728
# 1.4 17-Jul-2018 christos

branches: 1.4.2; 1.4.8;
use PRI?64 instead of ll?


# 1.3 16-Jul-2018 jmcneill

Spaces -> tabs


# 1.2 16-Jul-2018 jmcneill

RW fields in performance monitor registers are reset to architecturally
UNKNOWN values. Initialize the PMU to a known state - all interrupts and
counters disabled, performance monitor disabled, and user access disabled.


# 1.1 15-Jul-2018 jmcneill

Add tprof backend for ARMv8 performance monitors.


# 1.7 26-Sep-2021 jmcneill

Make sure setup happens on all CPUs.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
# 1.6 30-Oct-2020 skrll

Retire arm_[di]sb in favour of the isb() and dsb(sy) macro invocations.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406
# 1.5 30-Mar-2020 jmcneill

Enable the cycle counter when a CPU hatches and store an estimate of the
frequency in ci_data.cpu_cc_freq.


Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE is-mlppp-base ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728
# 1.4 17-Jul-2018 christos

branches: 1.4.2; 1.4.8;
use PRI?64 instead of ll?


# 1.3 16-Jul-2018 jmcneill

Spaces -> tabs


# 1.2 16-Jul-2018 jmcneill

RW fields in performance monitor registers are reset to architecturally
UNKNOWN values. Initialize the PMU to a known state - all interrupts and
counters disabled, performance monitor disabled, and user access disabled.


# 1.1 15-Jul-2018 jmcneill

Add tprof backend for ARMv8 performance monitors.


Revision tags: thorpej-futex-base
# 1.6 30-Oct-2020 skrll

Retire arm_[di]sb in favour of the isb() and dsb(sy) macro invocations.


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406
# 1.5 30-Mar-2020 jmcneill

Enable the cycle counter when a CPU hatches and store an estimate of the
frequency in ci_data.cpu_cc_freq.


Revision tags: netbsd-9-1-RELEASE is-mlppp-base ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728
# 1.4 17-Jul-2018 christos

branches: 1.4.2; 1.4.8;
use PRI?64 instead of ll?


# 1.3 16-Jul-2018 jmcneill

Spaces -> tabs


# 1.2 16-Jul-2018 jmcneill

RW fields in performance monitor registers are reset to architecturally
UNKNOWN values. Initialize the PMU to a known state - all interrupts and
counters disabled, performance monitor disabled, and user access disabled.


# 1.1 15-Jul-2018 jmcneill

Add tprof backend for ARMv8 performance monitors.


# 1.5 30-Mar-2020 jmcneill

Enable the cycle counter when a CPU hatches and store an estimate of the
frequency in ci_data.cpu_cc_freq.


Revision tags: ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728
# 1.4 17-Jul-2018 christos

branches: 1.4.2; 1.4.8;
use PRI?64 instead of ll?


# 1.3 16-Jul-2018 jmcneill

Spaces -> tabs


# 1.2 16-Jul-2018 jmcneill

RW fields in performance monitor registers are reset to architecturally
UNKNOWN values. Initialize the PMU to a known state - all interrupts and
counters disabled, performance monitor disabled, and user access disabled.


# 1.1 15-Jul-2018 jmcneill

Add tprof backend for ARMv8 performance monitors.