The NetBSD Project

CVS log for src/sys/arch/arm/arm32/cpu.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.154: download - view: text, markup, annotated - select for diffs
Thu May 9 12:41:08 2024 UTC (5 months, 3 weeks ago) by pho
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +15 -2 lines
kern/58195: arm: Support drvctl -d and -r for cpufeaturebus

This is required for detaching and re-attaching the vmt(4) driver on aarch64.

Revision 1.153: download - view: text, markup, annotated - select for diffs
Thu Mar 3 06:26:05 2022 UTC (2 years, 8 months ago) by riastradh
Branches: 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
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +4 -4 lines
arm: Use device_set_private for cpuN.

For cpu at fdt, nix the fdt softc -- this was leaked and never used
for anything.  The device's private storage is the cpu_info.

Revision 1.152: download - view: text, markup, annotated - select for diffs
Sun Oct 31 16:23:47 2021 UTC (3 years ago) by skrll
Branches: MAIN
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +32 -24 lines
Rework Arm (32bit and 64bit) AP startup so that cpu_hatch doesn't sleep.

The AP initialisation code in cpu_init_secondary_processor will read and
initialise the required system registers and state for the BP to attach
and report.

Rework the interrupt handler code for this new sequence. Thankfully,
this removes a bunch of code for bcm2836mp.

The VFP detection handler on <= armv7 relies on the global undefined
handler being in place until the BP attaches vfp. That is, after the
APs have been spun up.

gicv3_its.c has a serialisation issue which is protected against in
the gicv3_its_cpu_init, which is called from cpu_hatch, with a spin
lock. The serialisation issue needs addressing more completely.

Tested on RPI3, Apple M1, QEMU, and lx2k

Fixes PR port-arm/56264:
   diagnostic assertion "l->l_stat == LSONPROC" failed on RPI3

Revision 1.151: download - view: text, markup, annotated - select for diffs
Mon Oct 11 07:32:52 2021 UTC (3 years ago) by rin
Branches: MAIN
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +11 -5 lines
For some classic CPUs, info->[id]cache_sets are not initialized.
Calculate and print numbers of sets in this case.

Revision 1.150: download - view: text, markup, annotated - select for diffs
Mon Oct 11 07:19:37 2021 UTC (3 years ago) by rin
Branches: MAIN
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +4 -4 lines
pN steppings are used for ARM926EJ-S, although only r0 seems to be available.

Revision 1.149: download - view: text, markup, annotated - select for diffs
Thu Sep 23 06:34:00 2021 UTC (3 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +14 -8 lines
Print the cache information in similar formats and arm and aarch64, e.g.

arm before
[   1.0000000] cpu0: 32KB/64B 2-way L1 PIPT Instruction cache
[   1.0000000] cpu0: 32KB/64B 2-way write-back-locking-C L1 PIPT Data cache
[   1.0000000] cpu0: 2304KB/64B 16-way write-through L2 PIPT Unified cache

arm after
[   1.0000000] cpu0: L1 32KB/64B 2-way (256 set) PIPT Instruction cache
[   1.0000000] cpu0: L1 32KB/64B 2-way (256 set) write-back-locking-C PIPT Data cache
[   1.0000000] cpu0: L2 2304KB/64B 16-way (2304 set) write-through PIPT Unified cache

aarch64 before
[   1.0000030] cpu1: L1 48KB/64B*256L*3W PIPT Instruction cache
[   1.0000030] cpu1: L1 32KB/64B*256L*2W PIPT Data cache
[   1.0000030] cpu1: L2 2048KB/64B*2048L*16W PIPT Unified cache

aarch64 after
[   1.0000030] cpu1: L1 48KB/64B 3-way (256 set) PIPT Instruction cache
[   1.0000030] cpu1: L1 32KB/64B 2-way (256 set) PIPT Data cache
[   1.0000030] cpu1: L2 2048KB/64B 16-way (2048 set) PIPT Unified cache

Revision 1.147.6.1: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:03 2021 UTC (3 years, 3 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.147: preferred, colored; next MAIN 1.148: preferred, colored
Changes since revision 1.147: +6 -3 lines
Sync with HEAD.

Revision 1.148: download - view: text, markup, annotated - select for diffs
Tue Jul 6 08:34:28 2021 UTC (3 years, 3 months ago) by skrll
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +6 -3 lines
Assume all ARM11[37]6 r0 variants are missing ISAR and friends.  This is
certainly the case for r0 variants I could find TRMs for.

PR/50596 CPU_ID_ARM1136JS r0p4 does not support feature registers

Revision 1.147: download - view: text, markup, annotated - select for diffs
Thu Jul 2 11:49:48 2020 UTC (4 years, 4 months ago) by martin
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +4 -4 lines
Initialize ci_kfpu_spl earlier for secondary CPUs. From riastradh

Revision 1.146: download - view: text, markup, annotated - select for diffs
Mon Jun 29 23:54:05 2020 UTC (4 years, 4 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +4 -2 lines
Implement fpu_kern_enter/leave for arm32.

Revision 1.145: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:10:36 2020 UTC (4 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +3 -2 lines
KNF #includes

Remove some unnecessary ones while I'm here.

Revision 1.116.4.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:32 2020 UTC (4 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.116.4.2: preferred, colored; branchpoint 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116.4.2: +8 -4 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.116.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:28 2020 UTC (4 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.116.4.1: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.4.1: +34 -27 lines
Merge changes from current as of 20200406

Revision 1.136.2.3: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:17 2020 UTC (4 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.136.2.2: preferred, colored; branchpoint 1.136: preferred, colored; next MAIN 1.137: preferred, colored
Changes since revision 1.136.2.2: +14 -26 lines
Sync with head.

Revision 1.144: download - view: text, markup, annotated - select for diffs
Sat Feb 15 08:16:11 2020 UTC (4 years, 8 months ago) by skrll
Branches: 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
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +14 -26 lines
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.136.2.2: download - view: text, markup, annotated - select for diffs
Sat Jan 25 22:38:38 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.136.2.1: preferred, colored; branchpoint 1.136: preferred, colored
Changes since revision 1.136.2.1: +15 -2 lines
Sync with head.

Revision 1.143: download - view: text, markup, annotated - select for diffs
Wed Jan 22 12:23:12 2020 UTC (4 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: ad-namecache-base2
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +7 -3 lines
#ifdef whack-a-mole for the pmap_maxproc_set functionality

Revision 1.142: download - view: text, markup, annotated - select for diffs
Mon Jan 20 22:13:57 2020 UTC (4 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +3 -3 lines
s/_ARM_ARCH_6/ARM_MMU_EXTENDED/ in the #ifdef for the recent 4k pages
change

Revision 1.141: download - view: text, markup, annotated - select for diffs
Sat Jan 18 14:40:04 2020 UTC (4 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +11 -2 lines
Use 4K pages on ARM_MMU_EXTENDED platforms (all armv[67] except RPI) by
creating a new pool l1ttpl for the userland L1 translation table which
needs to be 8KB and 8KB aligned.

Limit the pool to maxproc and add hooks to allow the sysctl changing of
maxproc to adjust the pool.

This comes at a 5% performance penalty for build.sh -j8 kernel on a
Tegra TK1.

Revision 1.136.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 17 21:47:23 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +9 -17 lines
Sync with head.

Revision 1.140: download - view: text, markup, annotated - select for diffs
Wed Jan 15 08:34:04 2020 UTC (4 years, 9 months ago) by mrg
Branches: MAIN
CVS tags: ad-namecache-base1
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +4 -17 lines
port the arm64 cpu topology setup for big.little to arm.

rename arm64 cpu_do_topology() to arm_cpu_do_topology() and
call it from both arm cpu_attach().

replace both aarch64_set_topology() inline code in arm
cpu_attach() with new arm_cpu_do_topology(), which is called
by the arm64 locore as well (possibly not needed, which would
allow it to become static.)

not yet tested on a real big.little armv7 system.  tested
on rockpro64 and pinebook pro.

Revision 1.129.4.2: download - view: text, markup, annotated - select for diffs
Thu Jan 9 17:16:47 2020 UTC (4 years, 9 months ago) by snj
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Diff to: previous 1.129.4.1: preferred, colored; branchpoint 1.129: preferred, colored; next MAIN 1.130: preferred, colored
Changes since revision 1.129.4.1: +6 -3 lines
Pull up following revision(s) (requested by martin in ticket #614):

	sys/arch/aarch64/aarch64/cpu.c: 1.32
	sys/arch/arm/arm32/cpu.c: 1.138
	sys/dev/fdt/fdtbus.c: 1.31

When attaching the first fdtbus, use the root "comptabile" (or failing that:
"model") property to set the cpu model (in userland aka sysctl hw.model).
When attaching the first cpu, do not overwrite a cpu model if it already
had been set.

Revision 1.139: download - view: text, markup, annotated - select for diffs
Thu Jan 9 16:35:03 2020 UTC (4 years, 9 months ago) by ad
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +6 -4 lines
- Many small tweaks to the SMT awareness in the scheduler.  It does a much
  better job now at keeping all physical CPUs busy, while using the extra
  threads to help out.  In particular, during preempt() if we're using SMT,
  try to find a better CPU to run on and teleport curlwp there.

- Change the CPU topology stuff so it can work on asymmetric systems.  This
  mainly entails rearranging one of the CPU lists so it makes sense in all
  configurations.

- Add a parameter to cpu_topology_set() to note that a CPU is "slow", for
  where there are fast CPUs and slow CPUs, like with the Rockwell RK3399.
  Extend the SMT awareness to try and handle that situation too (keep fast
  CPUs busy, use slow CPUs as helpers).

Revision 1.138: download - view: text, markup, annotated - select for diffs
Thu Jan 9 16:23:42 2020 UTC (4 years, 9 months ago) by martin
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +6 -3 lines
When attaching the first fdtbus, use the root "comptabile" (or failing that:
"model") property to set the cpu model (in userland aka sysctl hw.model).
When attaching the first cpu, do not overwrite a cpu model if it already
had been set.

Revision 1.137: download - view: text, markup, annotated - select for diffs
Wed Jan 8 18:47:43 2020 UTC (4 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +16 -16 lines
cpu_hatch is too late to report AP topology, do it at attach time instead

Revision 1.136: download - view: text, markup, annotated - select for diffs
Fri Dec 20 21:05:33 2019 UTC (4 years, 10 months ago) by ad
Branches: MAIN
CVS tags: ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +5 -3 lines
Some more CPU topology stuff:

- Use cegger@'s ACPI SRAT parsing code to figure out NUMA node ID for each
  CPU as it is attached.

- For scheduler experiments with SMT, flag CPUs with the lowest numbered SMT
  IDs as "primaries", link back to the primaries from secondaries, and build
  a circular list of CPUs in each package with identical SMT IDs.

- No need for package/core/smt/numa IDs to be anything other than a u_int.

Revision 1.135: download - view: text, markup, annotated - select for diffs
Mon Dec 2 23:22:43 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +10 -7 lines
Take the basic CPU topology information we already collect, and use it
to make circular lists of CPU siblings in the same core, and in the
same package.  Nothing fancy, just enough to have a bit of fun in the
scheduler trying out different tactics.

Revision 1.129.4.1: download - view: text, markup, annotated - select for diffs
Wed Oct 23 19:14:19 2019 UTC (5 years ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-0-RC1
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +12 -3 lines
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.134: download - view: text, markup, annotated - select for diffs
Sun Oct 20 14:25:14 2019 UTC (5 years ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +4 -2 lines
cpu_hatched_p only for MULTIPROCESSOR

Revision 1.133: download - view: text, markup, annotated - select for diffs
Sat Oct 19 18:04:26 2019 UTC (5 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +10 -3 lines
Increase aarch64 MAXCPUS to 256.

Revision 1.132: download - view: text, markup, annotated - select for diffs
Sun Sep 29 06:51:45 2019 UTC (5 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +7 -5 lines
aprint_debug_dev output alignment

Revision 1.131: download - view: text, markup, annotated - select for diffs
Sun Sep 8 07:59:43 2019 UTC (5 years, 1 month ago) by tnn
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +3 -3 lines
report A12 as A17 to the user. A12 is retcon'ed by ARM.

Revision 1.130: download - view: text, markup, annotated - select for diffs
Sat Sep 7 19:42:42 2019 UTC (5 years, 1 month ago) by tnn
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +4 -2 lines
Cortex A12 is marketed as A17 but has a distinct part number

observed on Rockchip RK3288

Revision 1.116.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:51 2019 UTC (5 years, 4 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +47 -44 lines
Sync with HEAD

Revision 1.129: download - view: text, markup, annotated - select for diffs
Sun Mar 17 08:37:55 2019 UTC (5 years, 7 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +7 -3 lines
Wrap arm_cpu_marker if #ifdef MPDEBUG.

One day a9_mpsubr.S will die

Revision 1.128: download - view: text, markup, annotated - select for diffs
Sun Jan 27 02:08:37 2019 UTC (5 years, 9 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +2 -2 lines
Merge the [pgoyette-compat] branch

Revision 1.116.2.4: download - view: text, markup, annotated - select for diffs
Sat Jan 26 21:59:59 2019 UTC (5 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.116.2.3: preferred, colored; branchpoint 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116.2.3: +13 -3 lines
Sync with HEAD

Revision 1.127: download - view: text, markup, annotated - select for diffs
Fri Jan 25 18:31:44 2019 UTC (5 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-20190127
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +13 -3 lines
Make sure ci_{smt,core,package}_id are all filled in appropriately.

Previously the BP was missed and __SHIFTOUT wasn't used.

Revision 1.116.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:50:14 2019 UTC (5 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.116.2.2: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.2: +19 -26 lines
Synch with HEAD

Revision 1.126: download - view: text, markup, annotated - select for diffs
Thu Jan 3 15:12:00 2019 UTC (5 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-20190118
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +4 -20 lines
Read mpidr and cpuid from the secondary processor itself instead of the
boot processor. While here, add Cortex-A15 r4p0 to supported list.

Revision 1.125: download - view: text, markup, annotated - select for diffs
Thu Jan 3 10:26:41 2019 UTC (5 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +28 -18 lines
Start CPUs more like aarch64 by using a cpu_mpidr array (if populated)
to map MPIDRs to an index for each CPU.

Towards big.LITTLE support.

Revision 1.124: download - view: text, markup, annotated - select for diffs
Wed Jan 2 09:04:09 2019 UTC (5 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +2 -3 lines
Don't overwrite the setting of cpu_core_id from mpidr

Revision 1.116.2.2: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:24 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.116.2.1: preferred, colored; branchpoint 1.116: preferred, colored
Changes since revision 1.116.2.1: +13 -9 lines
Sync with head

Revision 1.123: download - view: text, markup, annotated - select for diffs
Thu Oct 18 09:01:52 2018 UTC (6 years ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +8 -4 lines
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.122: download - view: text, markup, annotated - select for diffs
Mon Oct 8 11:28:22 2018 UTC (6 years ago) by skrll
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +6 -6 lines
Trialing whitespace

Revision 1.121: download - view: text, markup, annotated - select for diffs
Sat Oct 6 16:04:21 2018 UTC (6 years ago) by skrll
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +3 -3 lines
Use __BIT.  NFC.

Revision 1.116.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:25 2018 UTC (6 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +6 -14 lines
Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.120: download - view: text, markup, annotated - select for diffs
Wed Aug 15 06:06:05 2018 UTC (6 years, 2 months ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-0930, pgoyette-compat-0906
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +3 -3 lines
KNF

Revision 1.119: download - view: text, markup, annotated - select for diffs
Wed Aug 15 06:04:01 2018 UTC (6 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +4 -4 lines
Fix includes (sys/cdefs.h then sys/param.h)

Revision 1.118: download - view: text, markup, annotated - select for diffs
Wed Aug 15 06:00:02 2018 UTC (6 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +3 -2 lines
Sprinkle #include "opt_cputypes.h"

Revision 1.117: download - view: text, markup, annotated - select for diffs
Fri Aug 10 16:17:30 2018 UTC (6 years, 2 months ago) by maxv
Branches: MAIN
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +2 -11 lines
Retire CPU_ARM2, CPU_ARM250 and CPU_ARM3, they are all leftovers of
acorn26.

ok jmcneill@ skrll@

Revision 1.115.6.1: download - view: text, markup, annotated - select for diffs
Wed Dec 13 00:59:11 2017 UTC (6 years, 10 months ago) by matt
Branches: matt-nb8-mediatek
Diff to: previous 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115: +4 -2 lines
Add Cortex A35

Revision 1.86.2.5: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:51 2017 UTC (6 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.86.2.4: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.2.4: +26 -7 lines
update from HEAD

Revision 1.116: download - view: text, markup, annotated - select for diffs
Sat Sep 16 00:47:16 2017 UTC (7 years, 1 month ago) by matt
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +4 -2 lines
Add Cortex-A35 CPU ID.

Revision 1.106.2.7: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:29 2017 UTC (7 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.106.2.6: preferred, colored; branchpoint 1.106: preferred, colored; next MAIN 1.107: preferred, colored
Changes since revision 1.106.2.6: +2 -3 lines
Sync with HEAD

Revision 1.104.4.2: download - view: text, markup, annotated - select for diffs
Wed Jul 26 15:22:36 2017 UTC (7 years, 3 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.104.4.1: preferred, colored; branchpoint 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.4.1: +10 -2 lines
Pull up following revision(s) (requested by jmcneill in ticket #1435):
	sys/arch/arm/arm32/cpu.c: 1.113 via patch
	sys/arch/arm/broadcom/bcm2835_bsc.c: 1.6 via patch
	sys/arch/arm/broadcom/bcm2835_plcom.c: 1.4 via patch
	sys/arch/arm/cortex/gtmr.c: 1.18 via patch
	sys/arch/arm/include/armreg.h: 1.110 via patch
	sys/arch/arm/include/vfpreg.h: 1.15 via patch
	sys/arch/arm/vfp/vfp_init.c: 1.50 via patch
	sys/arch/evbarm/rpi/rpi_machdep.c: 1.59, 1.70-1.72 via patch
	sys/arch/evbarm/rpi/vcprop.h: 1.16
Get the RPI3 working (in aarch32 mode) by recognising Cortex A53 CPUs.
While I'm here add some A57/A72 info as well.
My RPI3 works with FB console - the uart needs some help with its clocks.
--
Do invalidate the cache as RPI2 build with Clang can't fetch the memory
config otherwise.
--
Use the VC property mailbox to request the UART clock rate and use it
appropriately
Newer firmwares use 48MHz
--
Disable BSC0 on Raspberry Pi 3 and Zero W boards.
--
Interrupts are enabled before the timer is configured. Ensure that the
timer is disabled when attaching so it doesn't go crazy between the time
interrupts are enabled and clocks are initialized. My RPI3 makes it
multi-user now.
--
Enable UART0 (PL011) on GPIO header for Raspberry Pi 3 / Zero W

Revision 1.115: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:05 2017 UTC (7 years, 5 months ago) by chs
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base
Branch point for: matt-nb8-mediatek
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +2 -3 lines
remove checks for failure after memory allocation calls that cannot fail:

  kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

Revision 1.106.2.6: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:24 2016 UTC (8 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.106.2.5: preferred, colored; branchpoint 1.106: preferred, colored
Changes since revision 1.106.2.5: +4 -2 lines
Sync with HEAD

Revision 1.114: download - view: text, markup, annotated - select for diffs
Mon Jul 11 14:35:00 2016 UTC (8 years, 3 months ago) by kiyohara
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +4 -2 lines
Add Cortex-A9 r1.

Revision 1.106.2.5: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:29:55 2016 UTC (8 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.106.2.4: preferred, colored; branchpoint 1.106: preferred, colored
Changes since revision 1.106.2.4: +11 -3 lines
Sync with HEAD

Revision 1.113: download - view: text, markup, annotated - select for diffs
Thu Mar 3 17:01:31 2016 UTC (8 years, 8 months ago) by skrll
Branches: MAIN
CVS tags: nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +10 -2 lines
Get the RPI3 working (in aarch32 mode) by recognising Cortex A53 CPUs.
While I'm here add some A57/A72 info as well.

My RPI3 works with FB console - the uart needs some help with its clocks.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Sat Jan 23 21:39:17 2016 UTC (8 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +3 -3 lines
Rename the cpu_id() define to cpu_idnum() so that it does not conflict with
dtrace and friends.

Revision 1.106.2.4: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:30 2015 UTC (8 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.106.2.3: preferred, colored; branchpoint 1.106: preferred, colored
Changes since revision 1.106.2.3: +9 -9 lines
Sync with HEAD (as of 26th Dec)

Revision 1.111: download - view: text, markup, annotated - select for diffs
Thu Nov 12 10:49:35 2015 UTC (8 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20151226
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +9 -9 lines
change some register dumps from aprint_verbose to aprint_debug

Revision 1.106.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:37 2015 UTC (9 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.106.2.2: preferred, colored; branchpoint 1.106: preferred, colored
Changes since revision 1.106.2.2: +4 -2 lines
Sync with HEAD

Revision 1.110: download - view: text, markup, annotated - select for diffs
Wed Jul 8 15:26:19 2015 UTC (9 years, 3 months ago) by skrll
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +4 -2 lines
aprint_verbose [sa]ctlr

Revision 1.106.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:39:55 2015 UTC (9 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.106.2.1: preferred, colored; branchpoint 1.106: preferred, colored
Changes since revision 1.106.2.1: +10 -6 lines
Sync with HEAD

Revision 1.109: download - view: text, markup, annotated - select for diffs
Fri Jun 5 07:04:46 2015 UTC (9 years, 5 months ago) by skrll
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +3 -2 lines
Print the Revision ID regster (verbose)

Revision 1.108: download - view: text, markup, annotated - select for diffs
Sun May 17 06:30:06 2015 UTC (9 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +5 -2 lines
Print out mpidr on MP systems (verbose print)

Revision 1.106.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:17:52 2015 UTC (9 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +3 -3 lines
Sync with HEAD

Revision 1.104.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 01:57:57 2015 UTC (9 years, 7 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +3 -3 lines
Pull up following revision(s) (requested by jmcneill in ticket #663):
	sys/arch/arm/arm32/cpu.c: revision 1.105
Increase the `freqbuf' buffer that holds the result of humanize_number(). Now
it prints 1600 Mhz instead of 1 Ghz.
Pitty enough humanize_number(9) doesn't do 1.6 Ghz type output.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Tue Mar 3 23:42:47 2015 UTC (9 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +3 -3 lines
cache type 12 is "write-back", from matt

Revision 1.106: download - view: text, markup, annotated - select for diffs
Thu Nov 27 04:09:50 2014 UTC (9 years, 11 months ago) by matt
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +4 -2 lines
Add entry for Cortex-A17 r1

Revision 1.105: download - view: text, markup, annotated - select for diffs
Mon Sep 1 13:43:31 2014 UTC (10 years, 2 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +3 -3 lines
Increase the `freqbuf' buffer that holds the result of humanize_number(). Now
it prints 1600 Mhz instead of 1 Ghz.
Pitty enough humanize_number(9) doesn't do 1.6 Ghz type output.

Revision 1.86.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:45 2014 UTC (10 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.86.2.3: preferred, colored
Changes since revision 1.86.2.3: +93 -47 lines
Rebase to HEAD as of a few days ago.

Revision 1.78.4.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:31 2014 UTC (10 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.78.4.3: preferred, colored; branchpoint 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78.4.3: +239 -151 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.96.2.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:44:56 2014 UTC (10 years, 5 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.96.2.1: preferred, colored; branchpoint 1.96: preferred, colored; next MAIN 1.97: preferred, colored
Changes since revision 1.96.2.1: +94 -48 lines
sync with head

Revision 1.104: download - view: text, markup, annotated - select for diffs
Fri Mar 28 21:39:09 2014 UTC (10 years, 7 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +72 -37 lines
Various MP changes.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Mon Mar 24 20:06:31 2014 UTC (10 years, 7 months ago) by christos
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +11 -13 lines
use cpu_{g,s}etmodel

Revision 1.102: download - view: text, markup, annotated - select for diffs
Thu Mar 20 22:19:38 2014 UTC (10 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +3 -3 lines
Define cache type 13

Revision 1.101: download - view: text, markup, annotated - select for diffs
Mon Mar 3 08:15:36 2014 UTC (10 years, 8 months ago) by matt
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +6 -3 lines
Add most of the cpu_* variables to <arm/locore.h>
Add and initialize cpu_synchprim_present

Revision 1.100: download - view: text, markup, annotated - select for diffs
Thu Feb 20 23:24:55 2014 UTC (10 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +14 -8 lines
Keep track of what each cache is (VIVT/VIPT/PIPT).

cpu0: 32KB/32B 2-way L1 VIPT Instruction cache
cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
cpu0: 256KB/64B 8-way write-through L2 PIPT Unified cache

Revision 1.71.12.1: download - view: text, markup, annotated - select for diffs
Sat Feb 15 16:18:36 2014 UTC (10 years, 8 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +380 -205 lines
Merge armv7 support from HEAD, specifically support for the BCM5301X
and BCM56340 evbarm kernels.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Sat Sep 7 23:10:02 2013 UTC (11 years, 1 month ago) by matt
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +4 -2 lines
Add a machdep.hwdiv_present sysctl (cortex A7 and A15 have hwdiv instructions)

Revision 1.98: download - view: text, markup, annotated - select for diffs
Sat Sep 7 00:32:54 2013 UTC (11 years, 1 month ago) by matt
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +4 -2 lines
Add CPU_ID_CORTEXA7R0 entry

Revision 1.96.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:11 2013 UTC (11 years, 2 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -3 lines
sync with head

Revision 1.97: download - view: text, markup, annotated - select for diffs
Sun Aug 18 06:28:18 2013 UTC (11 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +3 -3 lines
Move parts of cpu.h that are not needed by MI code in <arm/locore.h>
Don't include <machine/cpu.h> or <machine/frame.h>, use <arm/locore.h>
Use <arm/asm.h> instead of <machine/arm.h>

Revision 1.86.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:19:59 2013 UTC (11 years, 4 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.86.2.2: preferred, colored
Changes since revision 1.86.2.2: +25 -3 lines
resync from head

Revision 1.96: download - view: text, markup, annotated - select for diffs
Wed Jun 12 01:16:48 2013 UTC (11 years, 4 months ago) by matt
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -23 lines
Nuke cpu_pfr, just use the armreg_pfr?_read inlines

Revision 1.95: download - view: text, markup, annotated - select for diffs
Wed Jun 12 00:44:39 2013 UTC (11 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +6 -9 lines
Use the armreg_pfr?_read inlines.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Sun May 19 15:42:23 2013 UTC (11 years, 5 months ago) by rkujawa
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +49 -3 lines
Plug support for PJ4B into our ARM CPU infrastructure.

Obtained from Marvell, Semihalf.

Revision 1.86.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:28:24 2013 UTC (11 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.86.2.1: preferred, colored
Changes since revision 1.86.2.1: +135 -152 lines
resync with head

Revision 1.78.10.2: download - view: text, markup, annotated - select for diffs
Fri Feb 8 19:57:18 2013 UTC (11 years, 8 months ago) by riz
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1
Diff to: previous 1.78.10.1: preferred, colored; branchpoint 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78.10.1: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #788):
	sys/arch/arm/arm32/cpu.c: revision 1.89
S/,/;/

Revision 1.93: download - view: text, markup, annotated - select for diffs
Sun Feb 3 15:57:23 2013 UTC (11 years, 9 months ago) by matt
Branches: MAIN
CVS tags: khorben-n900, agc-symver-base, agc-symver
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +93 -87 lines
Add a machdep.cpu_arch sysctl

Revision 1.92: download - view: text, markup, annotated - select for diffs
Thu Jan 31 22:34:26 2013 UTC (11 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +40 -26 lines
Add simple sysctls for cpu_id, fpu_id, neon_present, simd_present,
simdex_present.
Add struct sysctls to return the isar, mmfr, pfr, and mvfr sets.

Revision 1.71.4.1: download - view: text, markup, annotated - select for diffs
Sun Jan 20 12:13:28 2013 UTC (11 years, 9 months ago) by bouyer
Branches: netbsd-5
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +3 -3 lines
Pull up following revision(s) (requested by msaitoh in ticket #1841):
	sys/arch/arm/arm32/cpu.c: revision 1.89
S/,/;/

Revision 1.78.4.3: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:32:43 2013 UTC (11 years, 9 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.78.4.2: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.4.2: +8 -45 lines
sync with (a bit old) head

Revision 1.91: download - view: text, markup, annotated - select for diffs
Wed Dec 5 19:05:45 2012 UTC (11 years, 11 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -40 lines
ARMFPE hasn't compiled since NetBSD 4.  Remove it.
Complete support for FPU_VFP.
fpregs now contains vfpreg.
XXX vfpreg only has space for 16 64-bit FP registers though VFPv3 and later
have 32 64-bit FP registers.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Fri Nov 30 08:15:45 2012 UTC (11 years, 11 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +6 -5 lines
Use snprintf() instead of sprintf().

Revision 1.89: download - view: text, markup, annotated - select for diffs
Fri Nov 30 08:12:27 2012 UTC (11 years, 11 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -3 lines
s/,/;/

Revision 1.78.10.1.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 28 22:40:17 2012 UTC (11 years, 11 months ago) by matt
Branches: matt-nb6-plus
Diff to: previous 1.78.10.1: preferred, colored; next MAIN 1.78.10.2: preferred, colored
Changes since revision 1.78.10.1: +220 -72 lines
Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.

Revision 1.86.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:01:02 2012 UTC (11 years, 11 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +19 -66 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Nov 12 18:00:35 2012 UTC (11 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +3 -3 lines
C99 types

Revision 1.78.4.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:18:56 2012 UTC (12 years ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.78.4.1: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.4.1: +214 -71 lines
sync with head

Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Sep 22 00:33:37 2012 UTC (12 years, 1 month ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base6
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +18 -65 lines
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.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Fri Sep 7 11:48:59 2012 UTC (12 years, 1 month ago) by matt
Branches: MAIN
Branch point for: tls-maxphys
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +64 -23 lines
Switch cortex_a9 back to need_ptesync = 1
Add code to disable the L2 cache on cortex-a9 (for now).
Add evcnt for all the fault types.
Move cache info in a structure and have one for the pcache and one for scache.
Probe L1/L2 caches properly for ARMv7

Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Aug 29 17:44:25 2012 UTC (12 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +205 -58 lines
Use new armv7 CP15 register to print out cache types.
If the cpu_cc_freq is set, report it.
Add macros to make inlines for reading/writing co-processor registers.

Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue Aug 14 20:39:49 2012 UTC (12 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +6 -6 lines
Use device_t

Revision 1.83: download - view: text, markup, annotated - select for diffs
Sun Aug 12 05:05:47 2012 UTC (12 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +2 -8 lines
Rework VFP support to use PCU.
Add emulation of instruction which save/restore the VFP FPSCR.
Add a sysarch hook to VFP FPSCR manipulation.

[The emulation will be used by libc to store/fetch exception modes and
rounding mode on a per-thread basis.]

Revision 1.78.10.1: download - view: text, markup, annotated - select for diffs
Thu Aug 9 06:36:45 2012 UTC (12 years, 2 months ago) by jdc
Branches: netbsd-6
CVS tags: netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base
Branch point for: matt-nb6-plus
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +3 -3 lines
Pull up revisions:
  src/sys/arch/evbarm/dev/plcomreg.h revisions 1.2,1.3,1.4
  src/sys/arch/evbarm/conf/INTEGRATOR revision 1.65
  src/sys/arch/evbarm/dev/plcom.c revisions 1.34,1.35,1.36,1.37,1.38,1.39,1.40
  src/sys/arch/evbarm/ifpga/plcom_ifpga.c revisions 1.12,1.13,1.14
  src/sys/arch/evbarm/dev/plcomvar.h revisions 1.9,1.10,1.11
  src/sys/arch/evbarm/ifpga/plcom_ifpgavar.h revision 1.2
  src/sys/arch/arm/arm/cpufunc.c revisions 1.105,1.108
  src/sys/arch/arm/arm32/cpu.c revision 1.79
  src/sys/arch/arm/include/armreg.h revisions 1.49,1.54
  src/sys/arch/arm/arm32/pmap.c revision 1.229
  src/sys/arch/arm/arm32/arm32_machdep.c revision 1.77
  src/sys/arch/arm/include/cpu.h revision 1.64
  src/sys/arch/arm/arm/cpufunc_asm_arm1136.S revision 1.3
  src/sys/arch/arm/arm/cpufunc_asm_arm11x6.S revision 1.1
  src/sys/arch/arm/conf/files.arm revision 1.106
  src/sys/arch/arm/include/cpufunc.h revision 1.57
  src/sys/dev/sdmmc/sdhc.c revisions 1.14,1.24
  src/sys/dev/sdmmc/sdhcvar.h revisions 1.7,1.8
  src/sys/arch/evbarm/ifpga/ifpgareg.h revision 1.4
  src/sys/arch/evbarm/integrator/integrator_machdep.c revision 1.69
  src/sys/arch/arm/broadcom/bcm2835_dma.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_emmc.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_intr.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_intr.h revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_obio.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_plcom.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_pm.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_pmvar.h revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_space.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_tmr.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835reg.h revision 1.1
  src/sys/arch/arm/broadcom/bcm2835var.h revision 1.1
  src/sys/arch/arm/broadcom/bcm_amba.h revision 1.1
  src/sys/arch/arm/broadcom/files.bcm2835 revision 1.1
  src/sys/arch/evbarm/Makefile revision 1.9
  src/sys/arch/evbarm/conf/RPI revision 1.1
  src/sys/arch/evbarm/conf/files.rpi revision 1.1
  src/sys/arch/evbarm/conf/mk.rpi revision 1.1
  src/sys/arch/evbarm/conf/std.rpi revision 1.1
  src/sys/arch/evbarm/rpi/genassym.cf revision 1.1
  src/sys/arch/evbarm/rpi/rpi.h revision 1.1
  src/sys/arch/evbarm/rpi/rpi_machdep.c revision 1.1
  src/sys/arch/evbarm/rpi/rpi_start.S revision 1.1,1.2
  src/etc/etc.evbarm/Makefile.inc revision 1.28
(requested by skrll in ticket #454).

don't mix #define<TAB> and #define<SPACE> in a file.

avoid warning with options PLCOM_DEBUG for INTEGRATOR.

Rename register values. No functional change - same code before and after.

Existing names are prefixed with PL01X_ where they're common between the
PL010 and the PL011. The PL010_/PL011_ prefixes are added where they're
found only on the respective chips.

Replace the simple_lock with a kmutex_t.  Update the locking to match
com(4) in the few places it didn't already.

DOH.  Replace a line that got accidently deleted in the last commit.

device_t/softc split
struct device * -> device_t
struct cfdata * -> cfdata_t

Add the 'Z' to the 1176 cpu product name.

ok matt@

Fix locking botch introduced in 1.36.

Fix a KASSERT. From/OK'ed by matt@

Fix racy softint dispatch that lead to KASSERT(si->si_active) in
softint_execute

Discussed with matt@. "Looks good to me"

Add the documented ARM11[37]6 Auxiliary control register defines.

Add support for the ARM1176JZS

Add a flag for the lack of LED_ON in HOST_CTL (ti omap3 doesn't do that).

Provide a method for attachments to specify capabilites.

Add support for the PL011 to plcom. Pull across a bunch of fixes from
com(4) while I'm here and do some other tidyup.

Tested on a RaspberryPi.

PL010 not tested.

Initial commit of support for the RaspberryPI (www.raspberrypi.org)

This is enough for serial console via the gpio header pins and to get to
multiuser.

A huge thank you to Matt Thomas for all his help.

Add RPI to KERNEL_SETS

Remove #if 0 code.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Jul 14 07:55:28 2012 UTC (12 years, 3 months ago) by matt
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +12 -4 lines
Refresh cortex cpus

Revision 1.78.8.1: download - view: text, markup, annotated - select for diffs
Sat Jun 2 11:08:53 2012 UTC (12 years, 5 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +8 -3 lines
sync to latest -current.

Revision 1.78.4.1: download - view: text, markup, annotated - select for diffs
Wed May 23 10:07:41 2012 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +8 -3 lines
sync with head.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun May 20 18:08:05 2012 UTC (12 years, 5 months ago) by skrll
Branches: MAIN
CVS tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +5 -2 lines
Remove the ARM1156T2 bloat - it only has an MPU. Prompted by matt@

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sun May 20 17:58:32 2012 UTC (12 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +4 -2 lines
Add the ARM1156T2-S

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun May 20 17:56:30 2012 UTC (12 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +3 -3 lines
Add the 'Z' to the 1176 cpu product name.

ok matt@

Revision 1.77.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:05:01 2011 UTC (13 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +5 -2 lines
Sync with HEAD.

Revision 1.72.4.3: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:40:51 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.72.4.2: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.4.2: +3 -0 lines
sync with head

Revision 1.78: download - view: text, markup, annotated - select for diffs
Thu Mar 10 08:07:08 2011 UTC (13 years, 7 months ago) by bsh
Branches: MAIN
CVS tags: yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, netbsd-6, jmcneill-usbmp
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +5 -2 lines
add MPCore to CPU-ID table
add branch predict bit to arm11_options

Revision 1.72.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:49:29 2011 UTC (13 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.72.4.1: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.4.1: +7 -3 lines
sync with head

Revision 1.72.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:21:01 2010 UTC (14 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.72.2.1: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.1: +5 -1 lines
Sync with HEAD (-D20101022).

Revision 1.67.4.5: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:31:39 2010 UTC (14 years ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.67.4.4: preferred, colored; branchpoint 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67.4.4: +7 -3 lines
sync with head

Revision 1.77: download - view: text, markup, annotated - select for diffs
Sat Oct 2 05:37:58 2010 UTC (14 years, 1 month ago) by kiyohara
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +7 -3 lines
Add support Marvell Sheeva Core and SoC. (Orion/Kirkwood)
  Discovery Innovation not yet.

Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:44:01 2010 UTC (14 years, 2 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +34 -21 lines
Sync with HEAD.

Revision 1.67.4.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:51:39 2010 UTC (14 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.67.4.3: preferred, colored; branchpoint 1.67: preferred, colored
Changes since revision 1.67.4.3: +34 -21 lines
sync with head.

Revision 1.72.4.1: download - view: text, markup, annotated - select for diffs
Sat Jul 3 01:19:13 2010 UTC (14 years, 4 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +34 -21 lines
sync with head

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Jun 19 20:42:43 2010 UTC (14 years, 4 months ago) by matt
Branches: MAIN
CVS tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +4 -2 lines
Fix cache probing on Cortex.  Add missing CORTEX dependency in cpu.c

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat Jun 19 19:49:24 2010 UTC (14 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +3 -3 lines
Fix c&p error.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sat Jun 19 19:44:57 2010 UTC (14 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +30 -21 lines
Cleanup the armv7 changes.  Add ARM_ARCH_7.   Use CPU_CORTEX instead of
CPU_CORTEXA8 everywhere since there more types of Cortex than just the A8.
CPU_CORTEXA8 still exists but causes CPU_CORTEX to be defined.
Add CPU_CORTEXA9 as well.  Use .arch armv7a to get us the isb/dsb
instructions.

Test booted to root device prompt on a Beagleboard.
All ARM kernels successfully test built.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Wed Jun 16 22:06:53 2010 UTC (14 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +4 -2 lines
PR port-arm/43299: Support added for igepv2/cortexa8/omap3530

Apply patch from PR, with build fixes. ok skrll, matt

Revision 1.67.4.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:04 2010 UTC (14 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.67.4.2: preferred, colored; branchpoint 1.67: preferred, colored
Changes since revision 1.67.4.2: +4 -4 lines
sync with head

Revision 1.72: download - view: text, markup, annotated - select for diffs
Sat Jan 23 15:58:13 2010 UTC (14 years, 9 months ago) by mrg
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -4 lines
rename a local cpu_name structure member to avoid potential conflict
with <sys/cpu.h>'s.

Revision 1.67.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:10:38 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.67.4.1: preferred, colored; branchpoint 1.67: preferred, colored
Changes since revision 1.67.4.1: +16 -3 lines
sync with head.

Revision 1.66.16.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:27:51 2009 UTC (15 years, 9 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.66.16.2: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.16.2: +14 -1 lines
Sync with HEAD.

Revision 1.68.6.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:01 2008 UTC (15 years, 10 months ago) by haad
Branches: haad-dm
Diff to: previous 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68: +16 -3 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Sat Oct 25 18:15:19 2008 UTC (16 years ago) by matt
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb4-mips64-k7-u2a-k9b, jymxensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: netbsd-5, matt-nb5-mips64
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +7 -2 lines
Fix some missing things for CPU_ID_FA526.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Fri Oct 24 13:23:45 2008 UTC (16 years ago) by matt
Branches: MAIN
CVS tags: matt-mips64-base2
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +7 -3 lines
Add entry for FA526.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Oct 21 19:03:24 2008 UTC (16 years ago) by matt
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +6 -2 lines
Add Cortex cpus

Revision 1.66.16.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:52 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.66.16.1: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.16.1: +18 -8 lines
Sync with HEAD.

Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:31:33 2008 UTC (16 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67: +20 -10 lines
sync with head.

Revision 1.67.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:21:55 2008 UTC (16 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +20 -10 lines
sync with head.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Apr 27 18:58:43 2008 UTC (16 years, 6 months ago) by matt
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: haad-dm
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +20 -10 lines
Merge kernel changes in matt-armv6 to HEAD.

Revision 1.66.16.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:12 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +10 -2 lines
Sync with HEAD.

Revision 1.66.12.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:14:53 2008 UTC (16 years, 7 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +10 -2 lines
sync with head.

Revision 1.65.12.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:03:54 2008 UTC (16 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.65.12.1: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.12.1: +10 -2 lines
sync with HEAD

Revision 1.65.10.2: download - view: text, markup, annotated - select for diffs
Fri Mar 21 13:34:40 2008 UTC (16 years, 7 months ago) by chris
Branches: chris-arm-intr-rework
Diff to: previous 1.65.10.1: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.10.1: +10 -2 lines
Sync with head.

Revision 1.59.2.4: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:14:15 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.59.2.3: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.2.3: +10 -2 lines
sync with head.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Mar 15 10:19:40 2008 UTC (16 years, 7 months ago) by rearnsha
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, chris-arm-intr-rework-base7, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +10 -2 lines
VFP support.

Revision 1.65.10.1: download - view: text, markup, annotated - select for diffs
Tue Jan 1 15:39:14 2008 UTC (16 years, 10 months ago) by chris
Branches: chris-arm-intr-rework
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -2 lines
Sync with HEAD.

Revision 1.62.14.2.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 10 02:56:25 2007 UTC (16 years, 11 months ago) by matt
Branches: matt-nb4-arm
Diff to: previous 1.62.14.2: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.14.2: +20 -9 lines
Add AT91 support from Sami Kantoluoto
Add TI OMAP2430 support from Marty Fouts @ Danger Inc

Revision 1.66: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:53:30 2007 UTC (17 years ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-base, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, chris-arm-intr-rework-base6, chris-arm-intr-rework-base5, chris-arm-intr-rework-base4, chris-arm-intr-rework-base3, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -2 lines
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.59.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:23:14 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.59.2.2: preferred, colored
Changes since revision 1.59.2.2: +2 -46 lines
sync with head.

Revision 1.65.12.1: download - view: text, markup, annotated - select for diffs
Tue Aug 28 19:16:39 2007 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +20 -10 lines
Add 1176 and print arm11 rev as rVpR (r0p6, r1p0).

Revision 1.64.8.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 19:58:05 2007 UTC (17 years, 3 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +2 -46 lines
Sync with head.

Revision 1.64.6.1: download - view: text, markup, annotated - select for diffs
Sun May 27 12:27:07 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +2 -46 lines
Sync with head.

Revision 1.64.14.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:26:38 2007 UTC (17 years, 5 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +2 -46 lines
Update to HEAD.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Thu May 17 14:51:15 2007 UTC (17 years, 5 months ago) by yamt
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, jmcneill-pm, hpcarm-cleanup, chris-arm-intr-rework-base2, chris-arm-intr-rework-base, bouyer-xenamd64
Branch point for: matt-armv6, chris-arm-intr-rework
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +2 -46 lines
merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.

Revision 1.64.2.1: download - view: text, markup, annotated - select for diffs
Thu Mar 29 10:52:26 2007 UTC (17 years, 7 months ago) by skrll
Branches: yamt-idlelwp
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +2 -46 lines
Adapt arm32. Thanks to scw for helping out.

Tested on my cats (SA1)

XXX hydra should die. i've made some changes, but no guarantees.

Revision 1.59.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:05:54 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.59.2.1: preferred, colored
Changes since revision 1.59.2.1: +14 -4 lines
sync with head.

Revision 1.62.14.2: download - view: text, markup, annotated - select for diffs
Wed Feb 21 18:36:03 2007 UTC (17 years, 8 months ago) by snj
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base
Branch point for: matt-nb4-arm
Diff to: previous 1.62.14.1: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.14.1: +13 -3 lines
Pull up following revision(s) (requested by matt in ticket #457):
	sys/arch/arm/include/cpufunc.h: revision 1.38
	sys/arch/arm/arm/cpufunc.c: revision 1.78
	sys/arch/arm/arm/cpufunc_asm_arm10.S: revision 1.6
	sys/arch/arm/include/armreg.h: revision 1.37
	sys/arch/arm/arm32/cpu.c: revision 1.64
	sys/arch/arm/arm/cpufunc_asm_armv5.S: revision 1.3
	sys/arch/arm/include/cpuconf.h: revision 1.13
	sys/arch/arm/conf/files.arm: revision 1.82
	sys/arch/arm/arm/cpufunc_asm_armv5_ec.S: revision 1.1
Scott Allan in http://mail-index.netbsd.org/port-arm/2006/07/31/0000.html
Patch to add support for ARM9E

Revision 1.62.14.1: download - view: text, markup, annotated - select for diffs
Wed Feb 21 18:29:24 2007 UTC (17 years, 8 months ago) by snj
Branches: netbsd-4
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3 lines
Pull up following revision(s) (requested by matt in ticket #457):
	sys/arch/arm/arm32/cpu.c: revision 1.63
From Scott Allan in http://mail-index.netbsd.org/port-arm/2006/07/26/0000.html
identify_arm_cpu() prints out a helpful message when it detects that
you're trying to run on a CPU that you didn't configure for.
Unfortunately, the check for class_option being NULL is backward, so it
either won't print the class_option, or it will try to dereference a
NULL.  The patch just flips the != NULL to be == NULL.

Revision 1.62.10.1: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:00:41 2007 UTC (17 years, 9 months ago) by ad
Branches: newlock2
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +14 -4 lines
Sync with head.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Jan 6 00:50:54 2007 UTC (17 years, 10 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, ppcoea-renovation, mjf-ufs-trans
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +13 -3 lines
Scott Allan in http://mail-index.netbsd.org/port-arm/2006/07/31/0000.html
Patch to add support for ARM9E

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Jan 6 00:37:28 2007 UTC (17 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3 lines
From Scott Alan in http://mail-index.netbsd.org/port-arm/2006/07/26/0000.html
identify_arm_cpu() prints out a helpful message when it detects that you're
trying to run on a CPU that you didn't configure for.  Unfortunately, the
check for class_option being NULL is backward, so it either won't print the
class_option, or it will try to dereference a NULL.  The patch just flips the
!= NULL to be == NULL.

Revision 1.61.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:37:53 2006 UTC (18 years, 1 month ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +5 -9 lines
sync with head

Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:49:16 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +17 -9 lines
sync with head.

Revision 1.61.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:37:17 2006 UTC (18 years, 6 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +5 -9 lines
Sync with head.

Revision 1.61.10.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 02:32:07 2006 UTC (18 years, 6 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +5 -9 lines
sync with head - hopefully this will work

Revision 1.61.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:06:09 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +5 -9 lines
sync with head.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Wed Mar 15 18:31:11 2006 UTC (18 years, 7 months ago) by drochner
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, peter-altq-base, peter-altq, netbsd-4-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2, netbsd-4
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +5 -9 lines
use km_alloc to get wired kernel memory for kernel stacks
of idle processes for secondary CPUs
(affects the MULTIPROCESSOR case only - does this exist?)
(untested)

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:16:41 2005 UTC (18 years, 10 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base2, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, elad-kernelauth
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -2 lines
merge ktrace-lwp.

Revision 1.51.2.4: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:55:16 2005 UTC (18 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.51.2.3: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.2.3: +44 -5 lines
Sync with HEAD. Here we go again...

Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Jul 20 14:38:11 2005 UTC (19 years, 3 months ago) by nonaka
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +14 -2 lines
Added i80219.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Mon Jul 4 00:42:37 2005 UTC (19 years, 4 months ago) by bsh
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +13 -3 lines
The first step to support Intel PXA270.

kernel config option CPU_XSCALE_PXA2X0 is now obsoleted by
CPU_XSCALE_PXA250 and CPU_XSCALE_PXA270.  If both of them are defined,
CPU is determined run-time.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Fri Jun 3 15:55:55 2005 UTC (19 years, 5 months ago) by rearnsha
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +14 -3 lines
Very basic support for the ARM1136.

This code takes no advantage of any 'new' features provided by
architecture 6 devices (such as physically tagged caches or new
MMU features), and basically runs the chip in a 'legacy v5' mode.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue May 10 13:02:55 2005 UTC (19 years, 5 months ago) by rearnsha
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +9 -3 lines
Add support for arm1026ej-s.

Revision 1.51.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:13:09 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.51.2.2: preferred, colored
Changes since revision 1.51.2.2: +2 -2 lines
Fix the sync with head I botched.

Revision 1.51.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:32:17 2004 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.51.2.1: preferred, colored
Changes since revision 1.51.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.51.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:32:29 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +34 -15 lines
Sync with HEAD

Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Apr 14 04:01:49 2004 UTC (20 years, 6 months ago) by bsh
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +15 -4 lines
distinguish PXA255/26x from PXA2[15]0 in CPU attach message

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Feb 13 11:36:10 2004 UTC (20 years, 8 months ago) by wiz
Branches: MAIN
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +6 -6 lines
Uppercase CPU, plural is CPUs.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sun Oct 26 23:11:15 2003 UTC (21 years ago) by chris
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3 lines
Fix up some unitialised variables.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Sep 6 09:42:12 2003 UTC (21 years, 2 months ago) by rearnsha
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +14 -8 lines
Support for ARM10E class devices.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Sep 3 02:07:08 2003 UTC (21 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -2 lines
Recognize some TI processors -- not that you'd want to use them.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Jun 23 11:01:06 2003 UTC (21 years, 4 months ago) by martin
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -2 lines
Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri May 23 00:57:24 2003 UTC (21 years, 5 months ago) by ichiro
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +17 -3 lines
support IXP425 Intel Network Processor
 running on BigEndian

Revision 1.49: download - view: text, markup, annotated - select for diffs
Tue Apr 29 01:07:30 2003 UTC (21 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +29 -28 lines
Use aprint*().

Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Feb 14 16:00:33 2003 UTC (21 years, 8 months ago) by rjs
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +11 -7 lines
Add CPU IDs for PXA B2 and C0 steppings.

Revision 1.9.2.11: download - view: text, markup, annotated - select for diffs
Tue Jan 7 21:01:23 2003 UTC (21 years, 10 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.9.2.10: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.10: +3 -3 lines
Sync with HEAD.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Jan 6 12:38:49 2003 UTC (21 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
specified, not specifed.

Revision 1.9.2.10: download - view: text, markup, annotated - select for diffs
Wed Dec 11 05:53:01 2002 UTC (21 years, 10 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.9.2.9: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.9: +8 -7 lines
Sync with HEAD.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Sun Nov 17 08:32:43 2002 UTC (21 years, 11 months ago) by chs
Branches: MAIN
CVS tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +8 -7 lines
change uvm_uarea_alloc() to indicate whether the returned uarea is already
backed by physical pages (ie. because it reused a previously-freed one),
so that we can skip a bunch of useless work in that case.
this fixes the underlying problem behind PR 18543, and also speeds up fork()
quite a bit (eg. 7% on my pc, 1% on my ultra2) when we get a cache hit.

Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Sat Oct 19 15:12:52 2002 UTC (22 years ago) by bjh21
Branches: bjh21-hydra
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +7 -2 lines
In cpu_attach(), allocate an idle PCB if the CPU doesn't already have one
(which the boot CPU won't).

Revision 1.9.2.9: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:35:20 2002 UTC (22 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9.2.8: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.8: +67 -18 lines
Catch up to -current.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sun Oct 13 21:14:28 2002 UTC (22 years ago) by chris
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-aftermerge, bjh21-hydra-base
Branch point for: bjh21-hydra
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -3 lines
Fix arm kernel build breaks for non multiprocessor systems.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sun Oct 13 12:24:57 2002 UTC (22 years ago) by bjh21
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +10 -8 lines
It appears that MI code requires ci_cpuid to be the CPU number of the CPU
in question, whereas the ARM code was using it to hold the model
identification.  To fix this, rename:

ci_cpuid -> ci_arm_cpuid
ci_cputype -> ci_arm_cputype (for consistency)
ci_cpurev -> ci_arm_cpurev (ditto)
ci_cpunum -> ci_cpuid

This makes top(1) give correct CPU numbers in its "STATE" column (all 0 for
now).

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Oct 12 21:06:46 2002 UTC (22 years ago) by bjh21
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +48 -2 lines
Remember the location of each CPU's idle PCB in struct cpu_info.
Move allocation of the idle PCB from hydra.c to cpu.c and add some
extra initialisation from cpu_fork().

Revision 1.3.4.7: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:31:44 2002 UTC (22 years ago) by jdolecek
Branches: kqueue
Diff to: previous 1.3.4.6: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.6: +13 -13 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Oct 1 22:33:10 2002 UTC (22 years, 1 month ago) by bjh21
Branches: MAIN
CVS tags: kqueue-base
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +12 -12 lines
constify various string tables.

Revision 1.9.2.8: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:13:19 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9.2.7: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.7: +3 -3 lines
Catch up to -current.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (22 years, 2 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -3 lines
Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.3.4.6: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:32:21 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.3.4.5: preferred, colored
Changes since revision 1.3.4.5: +22 -7 lines
sync kqueue branch with HEAD

Revision 1.37.2.4: download - view: text, markup, annotated - select for diffs
Fri Aug 30 00:19:05 2002 UTC (22 years, 2 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.37.2.3: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.3: +15 -4 lines
catch up with -current.

Revision 1.9.2.7: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:41:12 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9.2.6: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.6: +22 -7 lines
Catch up to -current.

Revision 1.37.4.2: download - view: text, markup, annotated - select for diffs
Mon Jul 29 14:42:00 2002 UTC (22 years, 3 months ago) by lukem
Branches: netbsd-1-6
CVS tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Diff to: previous 1.37.4.1: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.4.1: +15 -4 lines
Pull up revision 1.40 (requested by thorpej in ticket #549):
Handle i80200 step D0 and i80321 step B0

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Jul 22 18:17:42 2002 UTC (22 years, 3 months ago) by briggs
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +15 -4 lines
Handle i80200 step D0 and i80321 step B0

Revision 1.37.2.3: download - view: text, markup, annotated - select for diffs
Tue Jul 16 00:55:25 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.37.2.2: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.2: +9 -5 lines
catch up with -current.

Revision 1.37.2.2: download - view: text, markup, annotated - select for diffs
Sun Jul 14 17:45:53 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.37.2.1: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.2.1: +5 -3 lines
catch up with -current.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Jul 10 07:00:52 2002 UTC (22 years, 4 months ago) by ichiro
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +9 -5 lines
add cpu id for "PXA250/210 3rd version CPUcore".

for using many PDA/xscale-core.

Revision 1.3.4.5: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:34:44 2002 UTC (22 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.3.4.4: preferred, colored
Changes since revision 1.3.4.4: +65 -24 lines
catch up with -current on kqueue branch

Revision 1.9.2.6: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:38:03 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9.2.5: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.5: +33 -5 lines
Catch up to -current.

Revision 1.37.4.1: download - view: text, markup, annotated - select for diffs
Fri Jun 7 18:33:14 2002 UTC (22 years, 5 months ago) by thorpej
Branches: netbsd-1-6
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -3 lines
pullup-1-6 ticket #208:

syssrc/sys/arch/arm/arm/cpufunc.c 1.46
syssrc/sys/arch/arm/arm32/cpu.c 1.38
syssrc/sys/arch/arm/include/armreg.h 1.19

Original log message:

Add the CPU ID for the 600MHz i80321 part.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Jun 7 18:25:28 2002 UTC (22 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -3 lines
Add the CPU ID for the 600MHz i80321 part.

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Sun May 19 08:20:04 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3 lines
Remove unnecessary #include

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun May 12 15:05:41 2002 UTC (22 years, 5 months ago) by ichiro
Branches: MAIN
CVS tags: netbsd-1-6-base
Branch point for: netbsd-1-6, gehenna-devsw
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +10 -7 lines
change ICP12x0 steppings.
define CPU_IXP12X0

Revision 1.36: download - view: text, markup, annotated - select for diffs
Fri May 10 17:50:25 2002 UTC (22 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +12 -2 lines
Add IXP1200 steppings.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri May 3 03:28:49 2002 UTC (22 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +16 -3 lines
Add support for the Intel PXA210 and PXA250.  From Hiroyuki Bessho, PR 16617.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Thu May 2 22:57:36 2002 UTC (22 years, 6 months ago) by rjs
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3 lines
Enable CPU_CLASS_SA1 for SA1100 and SA1110.

Revision 1.9.2.5: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:02:25 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9.2.4: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.4: +4 -3 lines
Catch up to -current.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Apr 12 18:50:31 2002 UTC (22 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -3 lines
Centralize ARM CPU configuration information by adding a new header
file, <arm/cpuconf.h>, which pulls in "opt_cputypes.h" and then defines
the following:
* CPU_NTYPES -- now many CPU types are configured into the kernel.  What
  you really want to know is "== 1" or "> 1".
* Defines ARM_ARCH_2, ARM_ARCH_3, ARM_ARCH_4, ARM_ARCH_5, depending
  on which ARM architecture versions are configured (based on CPU_*
  options).  Also defines ARM_NARCH to determins how many architecture
  versions are configured.
* Defines ARM_MMU_MEMC, ARM_MMU_GENERIC, ARM_MMU_XSCALE depending on
  which classes of ARM MMUs are configured into the kernel, and ARM_NMMUS
  to determine how many MMU classes are configured.

Remove the needless inclusion of "opt_cputypes.h" in several places.
Convert remaining users to <arm/cpuconf.h>.

Revision 1.9.2.4: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:39:07 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9.2.3: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.3: +96 -207 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Mar 27 01:34:48 2002 UTC (22 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +6 -3 lines
The 80321 manual lies; it does have a CPU ID distinct from the 80200.
Add that CPU ID, and add a case for it.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Mar 26 19:29:45 2002 UTC (22 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +7 -7 lines
Restructure a few things in order to support other XScale core
I/O processors:
* The i80200 and the i80321 have the same CPU ID, so split the
  CPU_XSCALE option into CPU_XSCALE_80200 and CPU_XSCALE_80321
  options, and don't let them both be defined at the same time.
  XXX May want to revisit this in the future.
* Split some registers common between the i80200 and i80321 into
  <arm/xscale/xscalereg.h>.
* Rename a few existing functions.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Mar 24 22:02:58 2002 UTC (22 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -4 lines
Cache the cpu type and cpu revision in cpu_info.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Mar 16 18:47:51 2002 UTC (22 years, 7 months ago) by bjh21
Branches: MAIN
CVS tags: eeh-devprop-base, eeh-devprop
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +18 -15 lines
Only put the CPU type into cpu_model, not the state of the control register.
Instead, print the control register state on the next line at startup.

Revision 1.3.4.4: download - view: text, markup, annotated - select for diffs
Sat Mar 16 15:56:03 2002 UTC (22 years, 7 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.3.4.3: preferred, colored
Changes since revision 1.3.4.3: +83 -213 lines
Catch up with -current.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Mar 16 14:41:15 2002 UTC (22 years, 7 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +7 -2 lines
Add CPU ID for the ARM1022ES.
Also add a CPU class for ARM10E processors in general.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Mar 11 11:50:12 2002 UTC (22 years, 8 months ago) by reinoud
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -3 lines
When ARMFPE wasn't enabled the `usearmfpe' flag was statically initialised
but not used resulting in a compiler error. By splitting the declaration
and the initialisation this is solved.

Better would be to not even declare the flag when ARMFPE isnt enabled but
that would just add to the #ifdef jungle.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Mar 10 15:47:43 2002 UTC (22 years, 8 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2 lines
__RCSID -> __KERNEL_RCSID

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Mar 10 15:29:53 2002 UTC (22 years, 8 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +21 -149 lines
Re-work the way that FPAs are handled.  If ARMFPE isn't configured, don't
even bother probing for an FPA.  If ARMFPE is configured, always use it,
even if there's an FPA (since it provides the FPA support code).  Move all
printfs about FPAs into armfpe_init.c.

This means I can delete the last two elements from struct _cpu, so that the
structure, and the whole of <arm/cpus.h> is redundant and can be deleted.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Mar 10 11:32:00 2002 UTC (22 years, 8 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +7 -13 lines
Remove fpu_model from struct _cpu.  Instead, have initialise_arm_fpe()
printf() the FPE version number itself.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Mar 10 11:06:01 2002 UTC (22 years, 8 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -2 lines
Add a ci_dev element to struct cpu_info, pointing to the device that
corresponds to the CPU.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Mar 10 00:44:09 2002 UTC (22 years, 8 months ago) by bjh21
Branches: MAIN
CVS tags: newlock-base, newlock
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -9 lines
Kill the fpu_flags element from struct _cpu.  It was only ever set to 0
anyway.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Mar 10 00:09:24 2002 UTC (22 years, 8 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -10 lines
Clean up inline assembler.  Rather than saving R0, copying FPSR to R0,
copying it to the output register and then restoring R0, just copy the
FPSR straight to the output.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Mar 9 23:49:15 2002 UTC (22 years, 8 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +19 -17 lines
Remove the cpu_model member from struct _cpu, and just use the cpu_model
variable directly.  While we're at it, make cpu_model rather larger.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Mar 9 23:24:11 2002 UTC (22 years, 8 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +26 -8 lines
Remove the cpu_class element from struct _cpu, and make it a local variable
in identify_arm_cpu(), since it's almost unused elsewhere.

Change the detection of bugged StrongARMs to use the cpu ID rather than the
class.  This turns "almost" into "entirely".

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Mar 9 21:30:58 2002 UTC (22 years, 8 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +14 -17 lines
Replace cpu_id and cpu_ctrl in struct _cpu with ci_cpuid and ci_ctrl in
struct cpu_info.  Also kill the cpuctrl global while we're here, and make
identify_arm_cpu() take a struct cpu_info * as an argument alongside the CPU
number.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Mar 9 19:11:21 2002 UTC (22 years, 8 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -1 lines
Move arm700bugcount into stuct cpu_info, and attach it in
identify_master_cpu().

Revision 1.9.2.3: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:07:21 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9.2.2: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.2: +129 -64 lines
Catch up to -current.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Feb 17 20:41:02 2002 UTC (22 years, 8 months ago) by bjh21
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3 lines
Our assembler handles FPA instructions fine, so don't use .word for them.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Feb 17 19:53:44 2002 UTC (22 years, 8 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +28 -35 lines
ANSIfy, and othe KNF cleanup.

Revision 1.3.4.3: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:07:18 2002 UTC (22 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.3.4.2: preferred, colored
Changes since revision 1.3.4.2: +102 -30 lines
Sync w/ -current.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Jan 27 14:43:47 2002 UTC (22 years, 9 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +33 -36 lines
Add revision->stepping maps for the SA-110, SA-1100 and SA-1110.
Those for the SA-1100 and SA-1110 are from Intel's documentation.
The mapping for the SA-110 is from various sources on the net, since Intel
don't seem to document it.

Also, change the layout of the maps to have four steppings per line,
so they aren't quite so unwieldy.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Jan 24 20:14:19 2002 UTC (22 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +105 -30 lines
Use a table to look up stepping names.  Add a generic stepping
table ("rev 0", "rev 1", etc.) and an i80200 stepping table that
has the stepping names that appear in the i80200 manuals/errata..

Revision 1.3.4.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:37:48 2002 UTC (22 years, 9 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.3.4.1: preferred, colored
Changes since revision 1.3.4.1: +71 -25 lines
Sync kqueue branch with -current.

Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:23:08 2002 UTC (22 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.1: +518 -0 lines
Catch up to -current.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Nov 29 02:24:58 2001 UTC (22 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +41 -2 lines
Fetch cache info from the Cache Type register on ARM7TDMI and "greater"
processors.  Report this when the processor is attached.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Nov 24 01:26:24 2001 UTC (22 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
Move the ARM, Ltd. floating point emulator to arch/arm.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Nov 23 21:18:30 2001 UTC (22 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -3 lines
Use <arm/undefined.h> instead of <machine/undefined.h>.

Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:16:29 2001 UTC (22 years, 11 months ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +6 -6 lines
Sync the thorpej-mips-cache branch with -current.

Revision 1.9.2.1
Tue Nov 6 20:39:13 2001 UTC (23 years ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.9: +0 -478 lines
file cpu.c was added on branch nathanw_sa on 2002-01-08 00:23:08 +0000

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Nov 6 20:39:13 2001 UTC (23 years ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Branch point for: nathanw_sa
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4 lines
Const poisoning of cpu/class names.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Nov 6 20:02:13 2001 UTC (23 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
"i80200", not "80200".

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Nov 6 19:59:43 2001 UTC (23 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
"XScale", not "Xscale".

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Oct 18 15:19:58 2001 UTC (23 years ago) by rearnsha
Branches: MAIN
Branch point for: thorpej-mips-cache
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +18 -14 lines
Support for ARM9.

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:37:32 2001 UTC (23 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +5 -3 lines
Catch up with -current.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Sep 28 09:53:41 2001 UTC (23 years, 1 month ago) by chris
Branches: MAIN
CVS tags: thorpej-devvp-base3, thorpej-devvp-base2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -3 lines
Add extra arg to fpa_test as it should have 4 args.  Also add prototypes for fpa_test and fpa_handler.

Revision 1.3.4.1: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:13:06 2001 UTC (23 years, 1 month ago) by thorpej
Branches: kqueue
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -2 lines
Update the kqueue branch to HEAD.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Sep 5 16:13:18 2001 UTC (23 years, 2 months ago) by matt
Branches: MAIN
CVS tags: thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -2 lines
Flesh XSCALE support.

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:18:49 2001 UTC (23 years, 4 months ago) by nathanw
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +1 -1 lines
Catch up to -current.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jun 3 18:32:34 2001 UTC (23 years, 5 months ago) by chris
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +6 -2 lines
Add support for ARM7TDMI, as provided in a patch from John Fremlin to port-arm32.

Shouldn't effect any currently in tree ports.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun May 13 13:53:08 2001 UTC (23 years, 5 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -4 lines
Use get_bootconf_option() to find boot options, rather than home-grown
strstr()-based hacks.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 23 09:41:33 2001 UTC (23 years, 6 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +463 -0 lines
Sync with HEAD.

Revision 1.1.2.1
Fri Apr 20 18:08:48 2001 UTC (23 years, 6 months ago) by bouyer
Branches: thorpej_scsipi
FILE REMOVED
Changes since revision 1.1: +0 -463 lines
file cpu.c was added on branch thorpej_scsipi on 2001-04-23 09:41:33 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Apr 20 18:08:48 2001 UTC (23 years, 6 months ago) by matt
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: thorpej_scsipi
Split cpu from mainbus so that cpu can attached to other buses (like ofbus).

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>