The NetBSD Project

CVS log for src/sys/arch/arm/acpi/cpu_acpi.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Mon May 16 09:42:32 2022 UTC (23 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

tprof: armv8: Only attach to known PMU types.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Nov 25 09:36:20 2021 UTC (2 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.12: +8 -3 lines
Diff to previous 1.12 (colored)

Improve error handling.

Hypervisors can return a PMCR.N of 0.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Nov 24 10:01:24 2021 UTC (2 years, 4 months ago) by jmcneill
Branch: MAIN
Changes since 1.11: +7 -2 lines
Diff to previous 1.11 (colored)

arm64: acpi: Set capacity_dmips_mhz for CPUs

The GICC structure describes a relative power efficiency for each
processor. Use this value as-is for the capacity_dmips_mhz value of a
cpu. This makes the assumption that "more efficient" means "slower".

Revision 1.11 / (download) - annotate - [select for diffs], Sun Oct 17 12:41:05 2021 UTC (2 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Fix primary CPU detection in cpu_acpi_tprof_intr_establish

Revision 1.8.6.2 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:15 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.8.6.1: +18 -11 lines
Diff to previous 1.8.6.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jan 23 12:34:19 2021 UTC (3 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.9: +18 -11 lines
Diff to previous 1.9 (colored)

fit in 80 columns

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:37:47 2020 UTC (3 years, 4 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Sync w/ HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 3 07:45:51 2020 UTC (3 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Provide and use a sev() macro for the sev instruction.

While here use the correct barrier to ensure completion of memory accesses
before a couple of the sev() calls.

Revision 1.6.2.4 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:32 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.6.2.3: +4 -4 lines
Diff to previous 1.6.2.3 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:27 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.6.2.2: +3 -4 lines
Diff to previous 1.6.2.2 (colored) to branchpoint 1.6 (colored)

Merge changes from current as of 20200406

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:17 2020 UTC (4 years, 1 month ago) by ad
Branch: ad-namecache
Changes since 1.7: +3 -4 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Feb 15 08:16:10 2020 UTC (4 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Branch point for: thorpej-futex
Changes since 1.7: +3 -4 lines
Diff to previous 1.7 (colored)

Various updates and improvements to cpu start up on arm/aarch64

- start sharing more code around the AP startup messaging.
- call arm_cpu_topology_set early so that ci_core_id is available for
  drivers, e.g. bcm2835_intr.c
- both arm and aarch64 now have
  - a static cpu_info_store array
  - the same arm_cpu_{hatched,mbox}

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Wed Oct 23 19:14:19 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.6: +6 -6 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #359):

	sys/arch/aarch64/aarch64/locore.S: revision 1.42
	sys/arch/aarch64/aarch64/locore.S: revision 1.43
	sys/arch/aarch64/aarch64/locore.S: revision 1.44
	sys/arch/arm/fdt/cpu_fdt.c: revision 1.28
	sys/arch/aarch64/include/cpu.h: revision 1.14
	sys/arch/aarch64/include/param.h: revision 1.12
	sys/arch/arm/arm32/cpu.c: revision 1.133
	sys/arch/arm/arm32/cpu.c: revision 1.134
	sys/arch/arm/include/cpu.h: revision 1.101
	sys/arch/arm/acpi/cpu_acpi.c: revision 1.7
	sys/arch/aarch64/aarch64/cpu.c: revision 1.23
	sys/arch/aarch64/aarch64/cpu.c: revision 1.24
	sys/arch/aarch64/aarch64/cpu.c: revision 1.25

Increase aarch64 MAXCPUS to 256.

 -

Invalidate dcache before polling AP hatched status

 -

Avoid overlap between BP and last AP stack. AP stacks are now in order of
increasing address order.

Spotted by and idea from mlelstv.

 -

Use separate cacheline aligned arrays for mbox and hatched as before.

 -

cpu_hatched_p only for MULTIPROCESSOR

Revision 1.7 / (download) - annotate - [select for diffs], Sat Oct 19 18:04:26 2019 UTC (4 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.6: +6 -6 lines
Diff to previous 1.6 (colored)

Increase aarch64 MAXCPUS to 256.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:50 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.6.2.1: +227 -0 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored)

Sync with HEAD

Revision 1.6.2.1, Thu May 23 15:54:28 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.6: +0 -227 lines
FILE REMOVED

file cpu_acpi.c was added on branch phil-wifi on 2019-06-10 22:05:50 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Thu May 23 15:54:28 2019 UTC (4 years, 10 months ago) by ryo
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base
Branch point for: phil-wifi, netbsd-9
Changes since 1.5: +8 -3 lines
Diff to previous 1.5 (colored)

fix build without options MULTIPROCESSOR

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:32 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.4.2.2: +110 -2 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.5 / (download) - annotate - [select for diffs], Wed Dec 5 22:42:55 2018 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, isaki-audio2-base, isaki-audio2
Changes since 1.4: +110 -2 lines
Diff to previous 1.4 (colored)

Add CPU performance counter support

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:24 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.4.2.1: +114 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored)

Sync with head

Revision 1.4.2.1, Fri Oct 19 11:11:03 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.4: +0 -114 lines
FILE REMOVED

file cpu_acpi.c was added on branch pgoyette-compat on 2018-10-20 06:58:24 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Fri Oct 19 11:11:03 2018 UTC (5 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-1126, pgoyette-compat-1020
Branch point for: pgoyette-compat
Changes since 1.3: +9 -2 lines
Diff to previous 1.3 (colored)

Store the ACPI Processor UID in struct cpu_info

Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 18 09:01:52 2018 UTC (5 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

Provide generic start code that assumes the MMU is off and caches are
disabled as per the linux booting protocol for ARMv6 and ARMv7 boards.
u-boot image type should be changed to 'linux' for correct behaviour.

The new start code builds a minimal "bootstrap" L1PT with cached access
disabled and uses the same table for all processors.  AP startup is
performed in less steps and more code is written in C.

The bootstrap tables and stack are placed into an (orphaned) section
"_init_memory" which is given to uvm when it is no longer used.

Various kernels have been converted to use this code and tested.  Some
boards were provided by TNF. Thanks!

The GENERIC kernel now boots on boards using the TEGRA, SUNXI and EXYNOS
kernels. The GENERIC kernel will also work on RPI2 using u-boot.

Thanks to martin@ and aymeric@ for testing on parallella and nanosoc
respectively

Revision 1.2 / (download) - annotate - [select for diffs], Tue Oct 16 16:18:15 2018 UTC (5 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.1: +9 -3 lines
Diff to previous 1.1 (colored)

Only attach to usable processors

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 12 22:20:04 2018 UTC (5 years, 6 months ago) by jmcneill
Branch: MAIN

Add ACPI platform glue and basic device drivers (CPU, GIC, Generic Timer,
SBSA UART).

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>