The NetBSD Project

CVS log for src/sys/arch/arm/arm/cpufunc.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.184.4.1: download - view: text, markup, annotated - select for diffs
Fri Dec 23 08:09:48 2022 UTC (2 years, 2 months ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE, 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
Diff to: previous 1.184: preferred, colored; next MAIN 1.185: preferred, colored
Changes since revision 1.184: +3 -2 lines
Pull up following revision(s) (requested by ryo in ticket #20):

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

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

Explicitly disable overflow interrupts before enabling the cycle counter.

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

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

Revision 1.185: download - view: text, markup, annotated - select for diffs
Thu Dec 22 06:58:07 2022 UTC (2 years, 3 months ago) by ryo
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.184: preferred, colored
Changes since revision 1.184: +3 -2 lines
Explicitly disable overflow interrupts before enabling the cycle counter.

Revision 1.184: download - view: text, markup, annotated - select for diffs
Mon May 16 07:07:17 2022 UTC (2 years, 10 months ago) by skrll
Branches: MAIN
CVS tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.183: preferred, colored
Changes since revision 1.183: +5 -4 lines
port-arm/50635: arm11_setup() cpuctrlmask value causes CPU_CONTROL_VECRELOC bit to toggle

Fix slightly differently to as suggested in the PR.  Annotate arm10_setup
while I'm here.

Revision 1.183: download - view: text, markup, annotated - select for diffs
Sat Nov 27 08:51:01 2021 UTC (3 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.182: preferred, colored
Changes since revision 1.182: +20 -2 lines
Apply some errata workarounds for Cortex A17

Revision 1.182: download - view: text, markup, annotated - select for diffs
Sat Nov 13 01:48:12 2021 UTC (3 years, 4 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.181: preferred, colored
Changes since revision 1.181: +4 -7 lines
Set ACTLR.SMP=1 on Cortex-A17

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

Revision 1.181: download - view: text, markup, annotated - select for diffs
Fri Jul 2 07:15:35 2021 UTC (3 years, 8 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.180: preferred, colored
Changes since revision 1.180: +5 -5 lines
Be consistent about #ifndef ARM32_DISABLE_ALIGNMENT_FAULTS.  NFCI.

Revision 1.178.2.2: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:16 2021 UTC (3 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.178.2.1: preferred, colored; next MAIN 1.179: preferred, colored
Changes since revision 1.178.2.1: +2 -3 lines
Sync with HEAD.

Revision 1.180: download - view: text, markup, annotated - select for diffs
Sun Jan 31 05:59:55 2021 UTC (4 years, 1 month ago) by skrll
Branches: MAIN
CVS tags: thorpej-futex-base, 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.179: preferred, colored
Changes since revision 1.179: +2 -3 lines
One #include "opt_cputypes.h" is enough for anyone

Revision 1.178.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:37:47 2020 UTC (4 years, 3 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +16 -10 lines
Sync w/ HEAD.

Revision 1.179: download - view: text, markup, annotated - select for diffs
Tue Dec 1 02:46:19 2020 UTC (4 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.178: preferred, colored
Changes since revision 1.178: +16 -10 lines
Fix earmv6{,hf}eb start-up routines:

- Turn on U-bit in SCTLR before E-bit is turned on by ``setend be'',
  in order to avoid undefined condition. ARM1176JZF-S, at least, halts
  if only E-bit is turned on.

- Turn on EE-bit in SCTLR instead of B-bit as we've switched to BE8.

Revision 1.178: download - view: text, markup, annotated - select for diffs
Fri Oct 30 18:54:36 2020 UTC (4 years, 4 months ago) by skrll
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.177: preferred, colored
Changes since revision 1.177: +3 -3 lines
Retire arm_[di]sb in favour of the isb() and dsb(sy) macro invocations.

Revision 1.177: download - view: text, markup, annotated - select for diffs
Fri Jul 10 12:25:08 2020 UTC (4 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.176: preferred, colored
Changes since revision 1.176: +3 -3 lines
Add support for KASAN on ARMv[67]

Thanks to maxv for many pointers and reviews.

Revision 1.168.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:27 2020 UTC (4 years, 11 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.168.2.1: preferred, colored; branchpoint 1.168: preferred, colored; next MAIN 1.169: preferred, colored
Changes since revision 1.168.2.1: +3 -3 lines
Merge changes from current as of 20200406

Revision 1.175.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:17 2020 UTC (5 years ago) by ad
Branches: ad-namecache
Diff to: previous 1.175: preferred, colored; next MAIN 1.176: preferred, colored
Changes since revision 1.175: +3 -3 lines
Sync with head.

Revision 1.175.4.1: download - view: text, markup, annotated - select for diffs
Thu Feb 27 19:06:23 2020 UTC (5 years ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Diff to: previous 1.175: preferred, colored; next MAIN 1.176: preferred, colored
Changes since revision 1.175: +3 -3 lines
Pull up following revision(s) (requested by skrll in ticket #742):

	sys/arch/arm/arm32/pmap.c: revision 1.388
	sys/arch/arm/arm32/armv7_generic_space.c: revision 1.11
	sys/arch/arm/arm/cpufunc.c: revision 1.176
	sys/arch/arm/conf/Makefile.arm: revision 1.54 (via patch)
	sys/arch/arm/include/arm32/pmap.h: revision 1.161

Fix the armv[67] memory attributes for uncached memory.  Previously it was
mapped as strongly-ordered which meant that unaligned accesses would fault.
armv7_generic_bs_map now maps pages with PMAP_DEV which is treated as SO
bus_dma continues to use PMAP_NOCACHE as appropriate, but this now get
mapped to the correct memory attribute bits for armv[67]

DEVMAP_ENTRY usees a new flag PTE_DEV.

The workaround for the unaligned access faults is now removed.
XXX Other armv[67] boards bus_space implementations should be checked.
XXX There is scope to reduce the difference to aarch64

Revision 1.176: download - view: text, markup, annotated - select for diffs
Wed Feb 5 07:37:35 2020 UTC (5 years, 1 month 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.175: preferred, colored
Changes since revision 1.175: +3 -3 lines
Fix the armv[67] memory attributes for uncached memory.  Previously it was
mapped as strongly-ordered which meant that unaligned accesses would fault.

armv7_generic_bs_map now maps pages with PMAP_DEV which is treated as SO

bus_dma continues to use PMAP_NOCACHE as appropriate, but this now get
mapped to the correct memory attribute bits for armv[67]

DEVMAP_ENTRY usees a new flag PTE_DEV.

The workaround for the unaligned access faults is now removed.

XXX Other armv[67] boards bus_space implementations should be checked.
XXX There is scope to reduce the difference to aarch64

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

Revision 1.167.2.5: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:17 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.167.2.4: preferred, colored; branchpoint 1.167: preferred, colored; next MAIN 1.168: preferred, colored
Changes since revision 1.167.2.4: +5 -4 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.167.2.4: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:24 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.167.2.3: preferred, colored; branchpoint 1.167: preferred, colored
Changes since revision 1.167.2.3: +95 -33 lines
Sync with head

Revision 1.175: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:35:34 2018 UTC (6 years, 5 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: netbsd-9, ad-namecache
Diff to: previous 1.174: preferred, colored
Changes since revision 1.174: +5 -4 lines
Clean up around cpu_ttb and fix a bunch of builds

Revision 1.174: download - view: text, markup, annotated - select for diffs
Thu Oct 18 09:01:52 2018 UTC (6 years, 5 months ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-1020
Diff to: previous 1.173: preferred, colored
Changes since revision 1.173: +95 -33 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.167.2.3: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:25 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.167.2.2: preferred, colored; branchpoint 1.167: preferred, colored
Changes since revision 1.167.2.2: +8 -215 lines
Sync with HEAD

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

Revision 1.173: download - view: text, markup, annotated - select for diffs
Thu Aug 23 21:01:43 2018 UTC (6 years, 7 months ago) by skrll
Branches: MAIN
CVS tags: pgoyette-compat-0930, pgoyette-compat-0906
Diff to: previous 1.172: preferred, colored
Changes since revision 1.172: +3 -3 lines
Whitespace

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

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

ok jmcneill@ skrll@

Revision 1.167.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:27 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.167.2.1: preferred, colored; branchpoint 1.167: preferred, colored
Changes since revision 1.167.2.1: +2 -20 lines
Sync with HEAD

Revision 1.170: download - view: text, markup, annotated - select for diffs
Thu Jul 12 12:48:50 2018 UTC (6 years, 8 months ago) by jakllsch
Branches: MAIN
CVS tags: pgoyette-compat-0728
Diff to: previous 1.169: preferred, colored
Changes since revision 1.169: +2 -3 lines
<sys/pmc.h> is gone; don't #include it

Revision 1.169: download - view: text, markup, annotated - select for diffs
Thu Jul 12 10:46:42 2018 UTC (6 years, 8 months ago) by maxv
Branches: MAIN
Diff to: previous 1.168: preferred, colored
Changes since revision 1.168: +2 -19 lines
Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

 * Removes "options PERFCTRS", the associated includes, and the associated
   ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is
   good.

 * Removes the PMC code of ARM XSCALE.

 * Removes all the pmc.h files. They were all empty, except for ARM XSCALE.

 * Reorders the x86 PMC code not to rely on the legacy pmc.h file. The
   definitions are put in sysarch.h.

 * Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control
   and sys_pmc_get_info syscalls. They are marked as OBSOL in kern,
   netbsd32 and rump.

 * Removes the pmc_evid_t and pmc_ctr_t types.

 * Removes all the associated man pages. The sets are marked as obsolete.

Revision 1.167.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 7 04:12:11 2018 UTC (6 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +21 -2 lines
Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.168: download - view: text, markup, annotated - select for diffs
Sun Apr 1 04:35:03 2018 UTC (6 years, 11 months ago) by ryo
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407
Branch point for: phil-wifi
Diff to: previous 1.167: preferred, colored
Changes since revision 1.167: +21 -2 lines
Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)

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

Revision 1.167: download - view: text, markup, annotated - select for diffs
Sun Oct 22 07:52:40 2017 UTC (7 years, 5 months ago) by skrll
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Diff to: previous 1.166: preferred, colored
Changes since revision 1.166: +3 -3 lines
KNF

Revision 1.150.4.9: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:29 2017 UTC (7 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.150.4.8: preferred, colored; branchpoint 1.150: preferred, colored; next MAIN 1.151: preferred, colored
Changes since revision 1.150.4.8: +36 -14 lines
Sync with HEAD

Revision 1.166: download - view: text, markup, annotated - select for diffs
Sun Aug 27 11:44:49 2017 UTC (7 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.165: preferred, colored
Changes since revision 1.165: +4 -2 lines
#ifdef whack-a-mole

Revision 1.165: download - view: text, markup, annotated - select for diffs
Sat Aug 26 07:17:12 2017 UTC (7 years, 6 months ago) by skrll
Branches: MAIN
Diff to: previous 1.164: preferred, colored
Changes since revision 1.164: +28 -20 lines
Fixup CPU_PJ4B for recent armv7 tlb operation changes.

Revision 1.164: download - view: text, markup, annotated - select for diffs
Thu Aug 24 14:19:36 2017 UTC (7 years, 6 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20170825
Diff to: previous 1.163: preferred, colored
Changes since revision 1.163: +20 -8 lines
Do runtime detection of MP extensions to allow using a MULTIPROCESSOR
kernel on CPUs without the MP extensions feature (like Cortex-A8).

Revision 1.162.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:22 2017 UTC (7 years, 11 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.162: preferred, colored; next MAIN 1.163: preferred, colored
Changes since revision 1.162: +3 -3 lines
Sync with HEAD

Revision 1.161.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:10 2017 UTC (8 years ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.161.2.1: preferred, colored; branchpoint 1.161: preferred, colored; next MAIN 1.162: preferred, colored
Changes since revision 1.161.2.1: +3 -3 lines
Sync with HEAD

Revision 1.150.4.8: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:03 2017 UTC (8 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.150.4.7: preferred, colored; branchpoint 1.150: preferred, colored
Changes since revision 1.150.4.7: +3 -3 lines
Sync with HEAD

Revision 1.163: download - view: text, markup, annotated - select for diffs
Sat Jan 28 13:21:11 2017 UTC (8 years, 1 month ago) by jakllsch
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170204, 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, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Diff to: previous 1.162: preferred, colored
Changes since revision 1.162: +3 -3 lines
Drop inadvertent redundant CPU_CONTROL_MMU_ENABLE ((1 < 22)) for PJ4Bv7.

This was intended to be CPU_CONTROL_UNAL_ENABLE, which is already handled.

Should fix PR kern/51921.

Revision 1.150.4.7: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:54:49 2016 UTC (8 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.150.4.6: preferred, colored; branchpoint 1.150: preferred, colored
Changes since revision 1.150.4.6: +7 -7 lines
Sync with HEAD

Revision 1.161.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:48:58 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +7 -7 lines
Sync with HEAD

Revision 1.162: download - view: text, markup, annotated - select for diffs
Tue Oct 18 13:58:52 2016 UTC (8 years, 5 months ago) by kiyohara
Branches: MAIN
CVS tags: pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20161204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.161: preferred, colored
Changes since revision 1.161: +7 -7 lines
Indent.

Revision 1.104.2.3: download - view: text, markup, annotated - select for diffs
Wed Jul 13 08:20:45 2016 UTC (8 years, 8 months ago) by snj
Branches: netbsd-6
Diff to: previous 1.104.2.2: preferred, colored; branchpoint 1.104: preferred, colored; next MAIN 1.105: preferred, colored
Changes since revision 1.104.2.2: +3 -3 lines
Pull up following revision(s) (requested by skrll in ticket #1354):
	sys/arch/arm/arm/cpufunc.c: revision 1.159
PR port-arm/50512: Source code condition impossible
Fix condition which broke ARM1136 function selection when ARM1176 support
was added

Revision 1.150.4.6: download - view: text, markup, annotated - select for diffs
Sat Jul 9 20:24:49 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.150.4.5: preferred, colored; branchpoint 1.150: preferred, colored
Changes since revision 1.150.4.5: +3 -4 lines
Sync with HEAD

Revision 1.161: download - view: text, markup, annotated - select for diffs
Mon May 30 17:18:38 2016 UTC (8 years, 9 months ago) by dholland
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.160: preferred, colored
Changes since revision 1.160: +3 -4 lines
PR 50669 David Binderman: remove dead code

Revision 1.150.4.5: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:29:55 2016 UTC (9 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.150.4.4: preferred, colored; branchpoint 1.150: preferred, colored
Changes since revision 1.150.4.4: +6 -6 lines
Sync with HEAD

Revision 1.160: download - view: text, markup, annotated - select for diffs
Sat Jan 23 21:39:17 2016 UTC (9 years, 2 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319
Diff to: previous 1.159: preferred, colored
Changes since revision 1.159: +6 -6 lines
Rename the cpu_id() define to cpu_idnum() so that it does not conflict with
dtrace and friends.

Revision 1.150.2.1.2.1: download - view: text, markup, annotated - select for diffs
Tue Jan 12 10:18:44 2016 UTC (9 years, 2 months ago) by snj
Branches: netbsd-7-0
CVS tags: netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE
Diff to: previous 1.150.2.1: preferred, colored; next MAIN 1.150.2.2: preferred, colored
Changes since revision 1.150.2.1: +3 -3 lines
Pull up following revision(s) (requested by skrll in ticket #1060):
	sys/arch/arm/arm/cpufunc.c: revision 1.159
PR port-arm/50512: Source code condition impossible
Fix condition which broke ARM1136 function selection when ARM1176 support
was added

Revision 1.150.2.2: download - view: text, markup, annotated - select for diffs
Tue Jan 12 10:16:50 2016 UTC (9 years, 2 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, 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
Diff to: previous 1.150.2.1: preferred, colored; branchpoint 1.150: preferred, colored; next MAIN 1.151: preferred, colored
Changes since revision 1.150.2.1: +3 -3 lines
Pull up following revision(s) (requested by skrll in ticket #1060):
	sys/arch/arm/arm/cpufunc.c: revision 1.159
PR port-arm/50512: Source code condition impossible
Fix condition which broke ARM1136 function selection when ARM1176 support
was added

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

Revision 1.159: download - view: text, markup, annotated - select for diffs
Thu Dec 10 22:04:54 2015 UTC (9 years, 3 months ago) by skrll
Branches: MAIN
CVS tags: nick-nhusb-base-20151226
Diff to: previous 1.158: preferred, colored
Changes since revision 1.158: +3 -3 lines
PR port-arm/50512: Source code condition impossible

Fix condition which broke ARM1136 function selection when ARM1176 support
was added

Revision 1.158: download - view: text, markup, annotated - select for diffs
Wed Nov 25 08:39:45 2015 UTC (9 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.157: preferred, colored
Changes since revision 1.157: +2 -13 lines
G/C TEGRAK1_PMAP_WORKAROUND.

Using XN (eXecute Never) properly means speculative reads from devices
aren't done.  Pretty sure this was the cause of the wedges.

Revision 1.157: download - view: text, markup, annotated - select for diffs
Thu Oct 15 07:13:50 2015 UTC (9 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.156: preferred, colored
Changes since revision 1.156: +13 -2 lines
Setting actlr.bit15=1 (Force in order issue in the branch execution unit)
makes my jetson tk1 stable.  Apply this workaround until we figure out
what the real problem is.

Revision 1.150.4.3: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:37 2015 UTC (9 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.150.4.2: preferred, colored; branchpoint 1.150: preferred, colored
Changes since revision 1.150.4.2: +13 -17 lines
Sync with HEAD

Revision 1.156: download - view: text, markup, annotated - select for diffs
Thu Jul 2 08:33:31 2015 UTC (9 years, 8 months ago) by skrll
Branches: MAIN
CVS tags: nick-nhusb-base-20150921
Diff to: previous 1.155: preferred, colored
Changes since revision 1.155: +13 -17 lines
Use armreg_*_{read,write} instead of handcrafted asm

No functional change.

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

Revision 1.155: download - view: text, markup, annotated - select for diffs
Wed Jun 3 02:30:11 2015 UTC (9 years, 9 months ago) by hsuenaga
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.154: preferred, colored
Changes since revision 1.154: +6 -2 lines
initialize sdcache operations for PJ4B.
otherwise the kernel crashes without 'options L2CACHE_ENABLE.'

Revision 1.150.2.1: download - view: text, markup, annotated - select for diffs
Wed May 27 05:33:29 2015 UTC (9 years, 9 months ago) by msaitoh
Branches: netbsd-7
CVS tags: netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1
Branch point for: netbsd-7-0
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +4 -4 lines
Pull up following revision(s) (requested by skrll in ticket #805):
	sys/arch/arm/include/arm32/pmap.h: revision 1.138
	sys/arch/arm/arm/cpufunc.c: revision 1.151
	sys/arch/arm/arm32/bus_dma.c: revision 1.90
	sys/arch/arm/broadcom/bcm53xx_pax.c: revision 1.14
	sys/arch/arm/arm32/bus_dma.c: revision 1.91
	sys/arch/arm/samsung/exynos_space.c: revision 1.2
	sys/arch/arm/arm32/db_machdep.c: revision 1.23
	sys/arch/arm/allwinner/awin_space.c: revision 1.4
	sys/arch/arm/include/rwlock.h: revision 1.9
	sys/arch/arm/amlogic/amlogic_space.c: revision 1.2
	sys/arch/arm/zynq/zynq_space.c: revision 1.2
	sys/arch/arm/broadcom/bcm2835_space.c: revision 1.7
	sys/arch/arm/arm32/pmap.c: revision 1.317
	sys/arch/arm/include/locore.h: revision 1.19
	sys/arch/arm/include/mutex.h: revision 1.20
	sys/arch/arm/include/lock.h: revision 1.31
	sys/arch/arm/include/lock.h: revision 1.32
	sys/arch/arm/broadcom/bcmgen_space.c: revision 1.5
- Kill redundant semicolons.
- Indentation.
- Improve inline asm around dsb/dmb/isb:
  - always use volatile and mark them as memory barrier
  - use the common version from locore.h in all places not included from
    userland

Revision 1.154: download - view: text, markup, annotated - select for diffs
Thu May 14 05:39:32 2015 UTC (9 years, 10 months ago) by hsuenaga
Branches: MAIN
Diff to: previous 1.153: preferred, colored
Changes since revision 1.153: +36 -16 lines
add synchronization barrier for AURORA_IO_CACHE_COHERENCY.
cleanup MARVELL L2 cache code.

Revision 1.153: download - view: text, markup, annotated - select for diffs
Fri Apr 17 13:39:01 2015 UTC (9 years, 11 months ago) by hsuenaga
Branches: MAIN
Diff to: previous 1.152: preferred, colored
Changes since revision 1.152: +5 -3 lines
don't call L2 maintance function if L2 cache is disabled.

Revision 1.152: download - view: text, markup, annotated - select for diffs
Wed Apr 15 10:52:18 2015 UTC (9 years, 11 months ago) by hsuenaga
Branches: MAIN
Diff to: previous 1.151: preferred, colored
Changes since revision 1.151: +37 -21 lines
clean up cpufuncs of CPU_PJ4B.

PJ4B is a ARMv7 compatible CPU, so most of cpufuncs are just redundant.
we need funcs for:
  - Marvell specific registers
  - workaround of errata
  - and Marvell specific L2 cache maintainance
if I/O coherency fabric is enabled(option AURORA_IO_CACHE_COHERENCY),
probaly we don't need to maintain L2 cache by software.

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

Revision 1.151: download - view: text, markup, annotated - select for diffs
Wed Feb 25 13:52:42 2015 UTC (10 years ago) by joerg
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.150: preferred, colored
Changes since revision 1.150: +4 -4 lines
Improve inline asm around dsb/dmb/isb:
- always use volatile and mark them as memory barrier
- use the common version from locore.h in all places not included from
  userland

Revision 1.116.2.4: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:44 2014 UTC (10 years, 7 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.116.2.3: preferred, colored
Changes since revision 1.116.2.3: +246 -135 lines
Rebase to HEAD as of a few days ago.

Revision 1.144.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:53:50 2014 UTC (10 years, 7 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.144: preferred, colored; next MAIN 1.145: preferred, colored
Changes since revision 1.144: +72 -39 lines
Rebase.

Revision 1.150: download - view: text, markup, annotated - select for diffs
Thu Jul 31 07:14:42 2014 UTC (10 years, 7 months ago) by skrll
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Diff to: previous 1.149: preferred, colored
Changes since revision 1.149: +5 -5 lines
Trailing whitespace.

Revision 1.149: download - view: text, markup, annotated - select for diffs
Wed Jul 30 20:52:18 2014 UTC (10 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.148: preferred, colored
Changes since revision 1.148: +18 -3 lines
Apply some errata workarounds

Revision 1.148: download - view: text, markup, annotated - select for diffs
Sun Jul 27 21:31:34 2014 UTC (10 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.147: preferred, colored
Changes since revision 1.147: +4 -3 lines
More fixes as a step towards ARM_MMU_EXTENDED on RPI.

- don't set CPU_CONTROL_SYST_ENABLE in arm11x6_setup for ARM_MMU_EXTENDED

- Use the new MMU defines for V6N

- pull in arm/cpuconf.h in vmparam s that VM_MAXUSER_ADDRESS gets set
  correctly.

Revision 1.89.10.3: download - view: text, markup, annotated - select for diffs
Mon Jun 9 21:03:19 2014 UTC (10 years, 9 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.89.10.2: preferred, colored; branchpoint 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89.10.2: +3 -3 lines
Fix tpyo.

Revision 1.103.4.6: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:31 2014 UTC (10 years, 10 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.103.4.5: preferred, colored; branchpoint 1.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103.4.5: +367 -134 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.123.2.2: download - view: text, markup, annotated - select for diffs
Sun May 18 17:44:56 2014 UTC (10 years, 10 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.123.2.1: preferred, colored; branchpoint 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123.2.1: +219 -135 lines
sync with head

Revision 1.147: download - view: text, markup, annotated - select for diffs
Fri Apr 18 23:50:59 2014 UTC (10 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Diff to: previous 1.146: preferred, colored
Changes since revision 1.146: +3 -3 lines
Include cpufunc_proto.h before locore.h so that we define cpu_cpwait first.
XXX: this is a mess.

Revision 1.146: download - view: text, markup, annotated - select for diffs
Mon Apr 14 20:50:46 2014 UTC (10 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.145: preferred, colored
Changes since revision 1.145: +38 -22 lines
Support (untested) SHEEVA_L2_CACHE and SHEEVA_L2_CACHE_WT options.
Move prototypes out to <arm/cpufunc.h> to their own file.
Add sdcache routines to cpufunc_asm_sheeva.S
Add code sheeve_setup to init the sdcache and sdcache info.

Revision 1.145: download - view: text, markup, annotated - select for diffs
Thu Apr 10 02:49:42 2014 UTC (10 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.144: preferred, colored
Changes since revision 1.144: +15 -14 lines
change cortex_cpufunc to armv7_cpufuncs.  CPU_CORTEX -> CPU_ARMV7

Revision 1.144: download - view: text, markup, annotated - select for diffs
Sun Mar 30 23:20:14 2014 UTC (10 years, 11 months ago) by matt
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Diff to: previous 1.143: preferred, colored
Changes since revision 1.143: +13 -7 lines
arm11 ARM_MMU_EXTENDED support (setting CPU_CONTROL_XP_ENABLE)

Revision 1.143: download - view: text, markup, annotated - select for diffs
Sun Mar 30 08:36:21 2014 UTC (10 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.142: preferred, colored
Changes since revision 1.142: +3 -3 lines
Use arm11_setttb for arm1176 as well.

Revision 1.142: download - view: text, markup, annotated - select for diffs
Sat Mar 29 23:44:37 2014 UTC (10 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.141: preferred, colored
Changes since revision 1.141: +10 -19 lines
cortex doesn't need xscale_setup
use arm11_setttb for arm11x6.

Revision 1.141: download - view: text, markup, annotated - select for diffs
Fri Mar 28 21:49:22 2014 UTC (10 years, 11 months ago) by matt
Branches: MAIN
Diff to: previous 1.140: preferred, colored
Changes since revision 1.140: +33 -12 lines
Initialize cache way_size and sets

Revision 1.89.10.2: download - view: text, markup, annotated - select for diffs
Wed Mar 26 02:00:45 2014 UTC (10 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.89.10.1: preferred, colored; branchpoint 1.89: preferred, colored
Changes since revision 1.89.10.1: +9 -14 lines
For armv7, enable BE properly.  Make sure UNAL is always set.

Revision 1.140: download - view: text, markup, annotated - select for diffs
Fri Feb 21 06:28:25 2014 UTC (11 years, 1 month ago) by matt
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.139: preferred, colored
Changes since revision 1.139: +4 -3 lines
For now, don't reset arm_cache_prefer_mask unless both l1 caches are PIPT

Revision 1.139: download - view: text, markup, annotated - select for diffs
Thu Feb 20 23:24:55 2014 UTC (11 years, 1 month ago) by matt
Branches: MAIN
Diff to: previous 1.138: preferred, colored
Changes since revision 1.138: +44 -13 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.138: download - view: text, markup, annotated - select for diffs
Thu Feb 20 17:38:42 2014 UTC (11 years, 1 month ago) by matt
Branches: MAIN
Diff to: previous 1.137: preferred, colored
Changes since revision 1.137: +7 -7 lines
armv7 doens't need to use the arm11 routines anymore.

Revision 1.137: download - view: text, markup, annotated - select for diffs
Thu Feb 20 14:48:11 2014 UTC (11 years, 1 month ago) by matt
Branches: MAIN
Diff to: previous 1.136: preferred, colored
Changes since revision 1.136: +7 -14 lines
Make sure AFLT_ENABLE in the cpuctrl mask for armv7_setup.

Revision 1.89.10.1: download - view: text, markup, annotated - select for diffs
Sat Feb 15 16:18:35 2014 UTC (11 years, 1 month ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +952 -242 lines
Merge armv7 support from HEAD, specifically support for the BCM5301X
and BCM56340 evbarm kernels.

Revision 1.136: download - view: text, markup, annotated - select for diffs
Thu Jan 23 19:28:47 2014 UTC (11 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.135: preferred, colored
Changes since revision 1.135: +9 -5 lines
For armv7, CPU_CONTROL_UNAL_ENABLE is MBO/SBPO.
Make sure CPU_CONTROL_EX_BEND is set for big endian kernels.
Don't clear bits we aren't setting.

Revision 1.135: download - view: text, markup, annotated - select for diffs
Tue Jan 21 19:05:10 2014 UTC (11 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +43 -43 lines
- comment out set but not used variables.
- make commenting out the cpuctrlmask consistent

Revision 1.134: download - view: text, markup, annotated - select for diffs
Sun Jan 12 19:37:43 2014 UTC (11 years, 2 months ago) by joerg
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +3 -3 lines
Improve assembler syntax.

Revision 1.133: download - view: text, markup, annotated - select for diffs
Sat Jan 4 02:58:38 2014 UTC (11 years, 2 months ago) by joerg
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +3 -3 lines
Add missing volatile for hidden side effects of asm.

Revision 1.132: download - view: text, markup, annotated - select for diffs
Fri Dec 20 06:48:09 2013 UTC (11 years, 3 months ago) by matt
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +13 -2 lines
Add CPU_IS_ARMV6_P() macro

Revision 1.131: download - view: text, markup, annotated - select for diffs
Wed Dec 18 12:52:47 2013 UTC (11 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +10 -6 lines
Remove unused variables.

Revision 1.130: download - view: text, markup, annotated - select for diffs
Tue Nov 12 17:31:55 2013 UTC (11 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +8 -8 lines
Make sure CPU_CONTROL_UNAL_ENABLE is enabled for armv7 cpus (should be
already but ...)

Revision 1.129: download - view: text, markup, annotated - select for diffs
Tue Nov 12 17:14:39 2013 UTC (11 years, 4 months ago) by skrll
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +3 -2 lines
Add CPU_CONTROL_UNAL_ENABLE. New ABIs demand unaligned accesses!

Revision 1.128: download - view: text, markup, annotated - select for diffs
Wed Nov 6 02:36:36 2013 UTC (11 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +9 -7 lines
ifdef notyet code.

Revision 1.127: download - view: text, markup, annotated - select for diffs
Wed Oct 23 20:28:11 2013 UTC (11 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +6 -4 lines
Fix PR/48332 by reverting to passing 0xffffffff as the cpuctrlmask.
Comment out the cpuctrlmask that doesn't work for the imx23_olinuxino
leaving it there for reference.

Revision 1.126: download - view: text, markup, annotated - select for diffs
Sun Oct 20 09:30:41 2013 UTC (11 years, 5 months ago) by skrll
Branches: MAIN
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +4 -4 lines
Use cpuctrlmask in the arm1[01] case.

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

Revision 1.125: download - view: text, markup, annotated - select for diffs
Sun Aug 18 07:57:27 2013 UTC (11 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +12 -2 lines
Add a CPU_IS_ARMV7_P() macro (nonv7 evals to false, v7 only true, otherwise
cpu_armv7_p is checked (and is set by cpuconf for cortex and pj4b).

Revision 1.124: download - view: text, markup, annotated - select for diffs
Sun Aug 18 06:50:31 2013 UTC (11 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +3 -2 lines
Include <arm/locore.h>

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

Revision 1.123: download - view: text, markup, annotated - select for diffs
Tue Jun 18 15:27:05 2013 UTC (11 years, 9 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.122: preferred, colored
Changes since revision 1.122: +28 -2 lines
Only set CPU_CONTROL_VECRELOC if ARM_HAS_VBAR is not defined.

Revision 1.122: download - view: text, markup, annotated - select for diffs
Wed Jun 12 01:16:48 2013 UTC (11 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +3 -3 lines
Nuke cpu_pfr, just use the armreg_pfr?_read inlines

Revision 1.121: download - view: text, markup, annotated - select for diffs
Wed Jun 12 00:35:34 2013 UTC (11 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +5 -3 lines
If the L1 instruction cache policy is PIPT, don't set the prefer_mask.

Revision 1.120: download - view: text, markup, annotated - select for diffs
Sun May 19 15:37:06 2013 UTC (11 years, 10 months ago) by rkujawa
Branches: MAIN
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +114 -4 lines
Plug support for PJ4B core into our ARM CPU support infrastructure.

Obtained from Marvell, Semihalf.

Revision 1.116.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:28:23 2013 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.116.2.1: preferred, colored
Changes since revision 1.116.2.1: +12 -2 lines
resync with head

Revision 1.103.4.5: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:05:39 2013 UTC (12 years, 2 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.103.4.4: preferred, colored; branchpoint 1.103: preferred, colored
Changes since revision 1.103.4.4: +12 -2 lines
sync with head

Revision 1.103.4.4: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:32:42 2013 UTC (12 years, 2 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.103.4.3: preferred, colored; branchpoint 1.103: preferred, colored
Changes since revision 1.103.4.3: +4 -4 lines
sync with (a bit old) head

Revision 1.104.2.2: download - view: text, markup, annotated - select for diffs
Mon Jan 7 16:42:51 2013 UTC (12 years, 2 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.104.2.1: preferred, colored; branchpoint 1.104: preferred, colored
Changes since revision 1.104.2.1: +12 -2 lines
Pull up following revision(s) (requested by msaitoh in ticket #774):
	sys/arch/arm/arm/cpufunc.c: revision 1.119
Enable DCache Streaming Switch and Write Allocate.
This change improve system performance significantly.

Revision 1.119: download - view: text, markup, annotated - select for diffs
Fri Dec 28 03:48:00 2012 UTC (12 years, 2 months ago) by msaitoh
Branches: MAIN
CVS tags: yamt-pagecache-base8, khorben-n900, agc-symver-base, agc-symver
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +12 -2 lines
Enable DCache Streaming Switch and Write Allocate for Sheeva CPU.
This change improve system performance significantly.

Revision 1.104.2.1.2.1: download - view: text, markup, annotated - select for diffs
Wed Nov 28 22:40:10 2012 UTC (12 years, 3 months ago) by matt
Branches: matt-nb6-plus
Diff to: previous 1.104.2.1: preferred, colored; next MAIN 1.104.2.2: preferred, colored
Changes since revision 1.104.2.1: +202 -194 lines
Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.

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

Revision 1.118: download - view: text, markup, annotated - select for diffs
Mon Nov 12 18:00:34 2012 UTC (12 years, 4 months ago) by skrll
Branches: MAIN
CVS tags: yamt-pagecache-base7
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +4 -4 lines
C99 types

Revision 1.103.4.3: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:18:55 2012 UTC (12 years, 4 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.103.4.2: preferred, colored; branchpoint 1.103: preferred, colored
Changes since revision 1.103.4.2: +284 -211 lines
sync with head

Revision 1.117: download - view: text, markup, annotated - select for diffs
Fri Oct 19 13:47:03 2012 UTC (12 years, 5 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base6
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +3 -3 lines
Add armv7_drain_writebuf (which is just a dsb).

Revision 1.116: download - view: text, markup, annotated - select for diffs
Tue Sep 11 17:51:38 2012 UTC (12 years, 6 months ago) by matt
Branches: MAIN
Branch point for: tls-maxphys
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +86 -2 lines
Add secondary cache range ops

Revision 1.115: download - view: text, markup, annotated - select for diffs
Fri Sep 7 11:48:59 2012 UTC (12 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +77 -63 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.114: download - view: text, markup, annotated - select for diffs
Fri Sep 7 04:39:14 2012 UTC (12 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +22 -23 lines
Change _l2_ to _log2_ to make sure they don't confused with level 2.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Wed Aug 29 18:37:14 2012 UTC (12 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +2 -49 lines
Recode armv7_dcache_wbinv_all in asm.  Add armv7_dcache_inv_all and
armv7_icache_inv_all as well.
Use dsb/dmb/isb instructions

Revision 1.112: download - view: text, markup, annotated - select for diffs
Wed Aug 29 18:29:04 2012 UTC (12 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +11 -3 lines
always start PMC cycle counter for ARM11 and Cortex.

Revision 1.111: download - view: text, markup, annotated - select for diffs
Wed Aug 29 07:14:03 2012 UTC (12 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +2 -34 lines
Rename ARM options PROCESS_ID_IS_CUR{CPU,LWP} to TPIDRPRW_IS_CUR{CPU,LWP}
since TPIDRPRW is the cp15 register name.
Initialize it early in start along with CI_ARM_CPUID.
Remove other initializations.
We alays have ci_curlwp.
Enable TIPRPRW_IS_CURCPU in std.beagle.
[tested on a beaglboard (cortex-a8)]

Revision 1.110: download - view: text, markup, annotated - select for diffs
Thu Aug 16 18:22:38 2012 UTC (12 years, 7 months ago) by matt
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +2 -26 lines
Move the standard definitions of the {UND,IRQ,FIQ,ABT}_STACK_SIZE to
<arm32/machdep.h>
Move the extern for cpu_reset_address to the same file.
Add cpu_reset_address_paddr.
Kill cpu_reset_v4_MMU_disable.
if cpu_reset_address is NULL, then the MMU will be disabled.

Revision 1.104.2.1: download - view: text, markup, annotated - select for diffs
Thu Aug 9 06:36:44 2012 UTC (12 years, 7 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.104: preferred, colored
Changes since revision 1.104: +95 -22 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.109: download - view: text, markup, annotated - select for diffs
Mon Jul 23 15:51:48 2012 UTC (12 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +4 -4 lines
Make auxiliary register naming consistent for the 1136.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Sat Jul 21 12:19:15 2012 UTC (12 years, 8 months ago) by skrll
Branches: MAIN
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +94 -21 lines
Add support for the ARM1176JZS

Revision 1.107: download - view: text, markup, annotated - select for diffs
Sat Jul 14 12:59:55 2012 UTC (12 years, 8 months ago) by hans
Branches: MAIN
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +4 -3 lines
Support cpu_sleep() on Sheeva CPUs.

Revision 1.106: download - view: text, markup, annotated - select for diffs
Fri Jul 13 05:23:30 2012 UTC (12 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +3 -6 lines
Begin support for Cortex A5, A7, A15 and expand A8 and A9 definitions.
Instead of testing all possible CPUids for a cortex, we know what range
a cortex will be so mask out the insignificant parts and do a single test.

Revision 1.103.8.2: download - view: text, markup, annotated - select for diffs
Sat Jun 2 11:08:52 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.103.8.1: preferred, colored; branchpoint 1.103: preferred, colored; next MAIN 1.104: preferred, colored
Changes since revision 1.103.8.1: +4 -4 lines
sync to latest -current.

Revision 1.103.4.2: download - view: text, markup, annotated - select for diffs
Wed May 23 10:07:40 2012 UTC (12 years, 10 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.103.4.1: preferred, colored; branchpoint 1.103: preferred, colored
Changes since revision 1.103.4.1: +4 -4 lines
sync with head.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Sun May 20 17:56:30 2012 UTC (12 years, 10 months ago) by skrll
Branches: MAIN
CVS tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +4 -4 lines
Add the 'Z' to the 1176 cpu product name.

ok matt@

Revision 1.103.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:03 2012 UTC (12 years, 11 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +5 -6 lines
sync with head

Revision 1.103.8.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:31:21 2012 UTC (13 years, 1 month ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +5 -6 lines
merge to -current.

Revision 1.104: download - view: text, markup, annotated - select for diffs
Tue Jan 31 04:31:37 2012 UTC (13 years, 1 month ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base4, netbsd-6-base, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +5 -6 lines
Convert stragglers to use real C89 prototypes.

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

Revision 1.94.4.3: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:40:50 2011 UTC (13 years, 11 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.94.4.2: preferred, colored; branchpoint 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.4.2: +137 -0 lines
sync with head

Revision 1.103: download - view: text, markup, annotated - select for diffs
Thu Mar 10 08:06:27 2011 UTC (14 years ago) by bsh
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +4 -2 lines
add MPCore to CPU-ID table
add branch predict bit to arm11_options

Revision 1.102: download - view: text, markup, annotated - select for diffs
Thu Mar 10 07:47:14 2011 UTC (14 years ago) by bsh
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +137 -2 lines
Preliminary ARM11 MPCore support.

I have confirmed this commit doesn't affect existing evbarm kernels by
comparing binaries.

Revision 1.94.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:49:28 2011 UTC (14 years ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.94.4.1: preferred, colored; branchpoint 1.94: preferred, colored
Changes since revision 1.94.4.1: +196 -66 lines
sync with head

Revision 1.94.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:21:00 2010 UTC (14 years, 5 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.94.2.1: preferred, colored; branchpoint 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.2.1: +151 -24 lines
Sync with HEAD (-D20101022).

Revision 1.83.4.5: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:31:38 2010 UTC (14 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.83.4.4: preferred, colored; branchpoint 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83.4.4: +153 -26 lines
sync with head

Revision 1.101: download - view: text, markup, annotated - select for diffs
Sat Oct 2 05:37:58 2010 UTC (14 years, 5 months 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.100: preferred, colored
Changes since revision 1.100: +131 -4 lines
Add support Marvell Sheeva Core and SoC. (Orion/Kirkwood)
  Discovery Innovation not yet.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Thu Sep 23 07:31:10 2010 UTC (14 years, 6 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +24 -24 lines
Replace some whitespaces to Tab.

Revision 1.94.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:44:00 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +267 -62 lines
Sync with HEAD.

Revision 1.83.4.4: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:51:38 2010 UTC (14 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.83.4.3: preferred, colored; branchpoint 1.83: preferred, colored
Changes since revision 1.83.4.3: +269 -64 lines
sync with head.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Mon Jul 5 06:54:48 2010 UTC (14 years, 8 months ago) by kiyohara
Branches: MAIN
CVS tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +47 -47 lines
Remove unnecessary white-spaces.

Revision 1.98: download - view: text, markup, annotated - select for diffs
Mon Jul 5 06:50:01 2010 UTC (14 years, 8 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +6 -3 lines
Fix set the control register.

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

Revision 1.97: download - view: text, markup, annotated - select for diffs
Sat Jun 19 20:42:43 2010 UTC (14 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +19 -9 lines
Fix cache probing on Cortex.  Add missing CORTEX dependency in cpu.c

Revision 1.96: download - view: text, markup, annotated - select for diffs
Sat Jun 19 19:44:57 2010 UTC (14 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +25 -22 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.95: download - view: text, markup, annotated - select for diffs
Wed Jun 16 22:06:53 2010 UTC (14 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +208 -19 lines
PR port-arm/43299: Support added for igepv2/cortexa8/omap3530

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

Revision 1.83.4.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:04 2010 UTC (15 years ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.83.4.2: preferred, colored; branchpoint 1.83: preferred, colored
Changes since revision 1.83.4.2: +6 -2 lines
sync with head

Revision 1.94: download - view: text, markup, annotated - select for diffs
Sun Dec 27 05:14:56 2009 UTC (15 years, 2 months ago) by uebayasi
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.93: preferred, colored
Changes since revision 1.93: +6 -2 lines
Add write-through cache work-around for ARM11 as well as ARM9/ARM10.  Analyzed
& tested on i.MX35 with help from Tsubai Masanari.

Revision 1.90.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:16:12 2009 UTC (15 years, 10 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90: +21 -38 lines
Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

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

Revision 1.89.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:33:42 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.89.2.1: preferred, colored; branchpoint 1.89: preferred, colored; next MAIN 1.90: preferred, colored
Changes since revision 1.89.2.1: +21 -38 lines
Sync with HEAD.

Revision 1.93: download - view: text, markup, annotated - select for diffs
Sun Mar 15 22:23:16 2009 UTC (16 years ago) by cegger
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-base, matt-premerge-20091211, jymxensuspend-base
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +5 -8 lines
ansify function definitions

Revision 1.92: download - view: text, markup, annotated - select for diffs
Sat Mar 14 15:36:01 2009 UTC (16 years ago) by dsl
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +16 -30 lines
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.91: download - view: text, markup, annotated - select for diffs
Sat Mar 14 14:45:54 2009 UTC (16 years ago) by dsl
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +4 -4 lines
Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.

Revision 1.89.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:15:57 2009 UTC (16 years, 2 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +8 -5 lines
Sync with HEAD.

Revision 1.81.34.4: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:27:51 2009 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.81.34.3: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.34.3: +133 -6 lines
Sync with HEAD.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Fri Dec 12 18:13:55 2008 UTC (16 years, 3 months ago) by matt
Branches: MAIN
CVS tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +8 -5 lines
Fix merge botch from april...

Revision 1.84.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:15:41 2008 UTC (16 years, 5 months ago) by haad
Branches: haad-dm
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +190 -15 lines
Sync with HEAD.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Wed Oct 15 16:56:49 2008 UTC (16 years, 5 months ago) by matt
Branches: MAIN
CVS tags: 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, netbsd-5, 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, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, matt-nb5-mips64
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -3 lines
Add fa526_flush_prefetchbuf

Revision 1.88: download - view: text, markup, annotated - select for diffs
Tue Oct 14 16:01:22 2008 UTC (16 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +129 -5 lines
Add FA526 support (compile tested only)

Revision 1.81.34.3: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:39:47 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.81.34.2: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.34.2: +61 -10 lines
Sync with HEAD.

Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:33:18 2008 UTC (16 years, 6 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +63 -12 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Wed Aug 27 11:07:49 2008 UTC (16 years, 6 months ago) by matt
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +34 -3 lines
Add support Cortex-A8.  Pretend they are ARM11s.  Support new cache sizing
method introduced with Cortex-A8.

Revision 1.84.4.2: download - view: text, markup, annotated - select for diffs
Mon Jul 28 14:37:26 2008 UTC (16 years, 7 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.84.4.1: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.4.1: +31 -2 lines
Sync with head.

Revision 1.86: download - view: text, markup, annotated - select for diffs
Tue Jul 22 07:07:23 2008 UTC (16 years, 8 months ago) by matt
Branches: MAIN
CVS tags: simonb-wapbl-nbase, simonb-wapbl-base
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +31 -2 lines
Implement workaround for:
arm11 Errata 364296:Possible Cache Data Corruption with Hit-Under-Miss

Remove hack in userret which is redundant with workaround.

workaround code from <imre.deak@teleca.com>

Revision 1.84.4.1: download - view: text, markup, annotated - select for diffs
Fri Jul 18 16:37:26 2008 UTC (16 years, 8 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -11 lines
Sync with head.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Sun Jul 13 09:12:14 2008 UTC (16 years, 8 months ago) by chris
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +2 -11 lines
Remove repeated setting of cpuctl bit for vectors being high in cpu setup
code.

Pointed out in private email by Kevin Lo.

Revision 1.81.34.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:52 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.81.34.1: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.34.1: +192 -22 lines
Sync with HEAD.

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

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

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

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

Revision 1.81.30.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:14:53 2008 UTC (17 years ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +8 -2 lines
sync with head.

Revision 1.81.14.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:03:54 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.81.14.2: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.14.2: +8 -2 lines
sync with HEAD

Revision 1.81.12.1: download - view: text, markup, annotated - select for diffs
Fri Mar 21 13:34:40 2008 UTC (17 years ago) by chris
Branches: chris-arm-intr-rework
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +8 -2 lines
Sync with head.

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

Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat Mar 15 10:35:30 2008 UTC (17 years 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.82: preferred, colored
Changes since revision 1.82: +5 -2 lines
Allow detection of VFP devices on ARM11 cores.

Revision 1.81.8.1: download - view: text, markup, annotated - select for diffs
Thu Feb 28 21:47:38 2008 UTC (17 years ago) by rjs
Branches: hpcarm-cleanup
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +5 -2 lines
Sync with HEAD.

Revision 1.72.2.4: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:36:18 2008 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.72.2.3: preferred, colored
Changes since revision 1.72.2.3: +5 -2 lines
sync with head.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sun Feb 24 20:50:38 2008 UTC (17 years, 1 month ago) by matt
Branches: MAIN
CVS tags: hpcarm-cleanup-base
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +5 -2 lines
allow arm11 to use high vectors.

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

Revision 1.81.14.2: download - view: text, markup, annotated - select for diffs
Fri Oct 12 02:22:21 2007 UTC (17 years, 5 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.81.14.1: preferred, colored; branchpoint 1.81: preferred, colored
Changes since revision 1.81.14.1: +141 -6 lines
Import TI OMAP 2430 and ARM11/ARMv6 support.  Now on ARMv6, the cache is
no longer purged on context switches.

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

Revision 1.81.14.1: download - view: text, markup, annotated - select for diffs
Wed Aug 29 04:42:11 2007 UTC (17 years, 6 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +56 -21 lines
Make arm11 use the armv6 cpufuncs.

Revision 1.80.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 19:58:03 2007 UTC (17 years, 8 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +438 -456 lines
Sync with head.

Revision 1.80.2.1: download - view: text, markup, annotated - select for diffs
Sun May 27 12:27:06 2007 UTC (17 years, 10 months ago) by ad
Branches: vmlocking
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +438 -456 lines
Sync with head.

Revision 1.78.2.2: download - view: text, markup, annotated - select for diffs
Mon May 7 10:54:53 2007 UTC (17 years, 10 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.78.2.1: preferred, colored; branchpoint 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78.2.1: +438 -456 lines
sync with head.

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sun Apr 15 20:29:21 2007 UTC (17 years, 11 months ago) by matt
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, ppcoea-renovation-base, ppcoea-renovation, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-base, jmcneill-pm-base, jmcneill-pm, jmcneill-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, chris-arm-intr-rework-base2, chris-arm-intr-rework-base, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs2, matt-armv6, keiichi-mipv6, hpcarm-cleanup, chris-arm-intr-rework
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +438 -456 lines
Convert to cpufunc_* to struct initializers.

Revision 1.78.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:47:00 2007 UTC (18 years ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +156 -7 lines
Sync with HEAD.

Revision 1.80: download - view: text, markup, annotated - select for diffs
Thu Mar 8 20:42:48 2007 UTC (18 years ago) by matt
Branches: MAIN
CVS tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -4 lines
Fix inverted test (cputype != 0) and now my shark boots again!

Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun Mar 4 14:47:18 2007 UTC (18 years ago) by bjh21
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +157 -7 lines
Finally make cpufuncs work properly on acorn26, since something seems to be
using it.  This entailed adding support for ARM2 and ARM2as, and allowing
for getting CPU IDs other than from CP15, since ARM2(as) doesn't have CP15.

Revision 1.72.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:05:52 2007 UTC (18 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.72.2.1: preferred, colored
Changes since revision 1.72.2.1: +78 -11 lines
sync with head.

Revision 1.77.12.1: download - view: text, markup, annotated - select for diffs
Wed Feb 21 18:36:03 2007 UTC (18 years, 1 month 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.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +78 -11 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.77.8.1: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:00:41 2007 UTC (18 years, 2 months ago) by ad
Branches: newlock2
Diff to: previous 1.77: preferred, colored; next MAIN 1.78: preferred, colored
Changes since revision 1.77: +78 -11 lines
Sync with head.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Sat Jan 6 00:50:54 2007 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +78 -11 lines
Scott Allan in http://mail-index.netbsd.org/port-arm/2006/07/31/0000.html
Patch to add support for ARM9E

Revision 1.76.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:37:53 2006 UTC (18 years, 6 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +3 -2 lines
sync with head

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

Revision 1.76.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:37:16 2006 UTC (18 years, 11 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +3 -2 lines
Sync with head.

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

Revision 1.76.8.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:06:09 2006 UTC (18 years, 11 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +3 -2 lines
sync with head.

Revision 1.76.12.1: download - view: text, markup, annotated - select for diffs
Tue Mar 28 09:48:28 2006 UTC (18 years, 11 months ago) by tron
Branches: peter-altq
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +3 -2 lines
Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.

Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Mar 26 14:34:30 2006 UTC (19 years ago) by peter
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, 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.76: preferred, colored
Changes since revision 1.76: +3 -2 lines
Report the SA1100 control register state.

From Arnaud Lacombe on port-hpcarm.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Dec 24 22:45:34 2005 UTC (19 years, 3 months ago) by perry
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +4 -4 lines
bare asm -> __asm

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat Dec 24 20:06:47 2005 UTC (19 years, 3 months ago) by perry
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +9 -9 lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:16:41 2005 UTC (19 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -2 lines
merge ktrace-lwp.

Revision 1.60.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:55:09 2005 UTC (19 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.60.2.4: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.2.4: +156 -28 lines
Sync with HEAD. Here we go again...

Revision 1.73: download - view: text, markup, annotated - select for diffs
Wed Jul 20 14:38:11 2005 UTC (19 years, 8 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.72: preferred, colored
Changes since revision 1.72: +4 -3 lines
Added i80219.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Mon Jul 4 00:42:36 2005 UTC (19 years, 8 months ago) by bsh
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +12 -11 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.71: download - view: text, markup, annotated - select for diffs
Fri Jun 3 15:55:55 2005 UTC (19 years, 9 months ago) by rearnsha
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +142 -17 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.70: download - view: text, markup, annotated - select for diffs
Thu Jun 2 17:45:59 2005 UTC (19 years, 9 months ago) by he
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -3 lines
Adapt to shadowing and qualifier-cast warnings.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue May 10 12:59:22 2005 UTC (19 years, 10 months ago) by rearnsha
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -3 lines
Detect arm1026ej-s.

Revision 1.60.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:29:12 2005 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.60.2.3: preferred, colored
Changes since revision 1.60.2.3: +5 -2 lines
Sync with HEAD.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Wed Dec 22 19:18:13 2004 UTC (20 years, 3 months ago) by joff
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
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +5 -2 lines
support high vectors on ARM9

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

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

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

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Apr 3 04:34:40 2004 UTC (20 years, 11 months ago) by bsh
Branches: MAIN
CVS tags: kent-audio1-base, kent-audio1
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +6 -2 lines
add an option to force ARM9 dcache to write-through mode.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Jan 26 15:54:16 2004 UTC (21 years, 2 months ago) by rearnsha
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.65: preferred, colored
Changes since revision 1.65: +22 -17 lines
Switch the ARM9 to using the Dcache in write-back mode.  Avoid an
unknown problem with dcache_inv_range by using a wbinv for now
(similarly for ARM10).

When setting the ARM9 system control register, use the computed
cpuctrlmask value (not 0xffffffff) so that the clocking-mode bits are
not reset to FastBus mode (which isn't very fast).

Revision 1.65: download - view: text, markup, annotated - select for diffs
Wed Nov 5 12:53:15 2003 UTC (21 years, 4 months ago) by scw
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +47 -16 lines
Add "options ARM32_DISABLE_ALIGNMENT_FAULTS" to forcibly disable
alignment fault checking if necessary.

This option gets the acorn32 port working again.

XXX: Richard Earnshaw suggested enabling alignment faults for
XXX: userland only on acorn32. Need to investigate this.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Oct 25 19:44:42 2003 UTC (21 years, 5 months ago) by scw
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +16 -11 lines
Enable alignment faults on arm32 for both kernel and userland.

If COMPAT_15 and EXEC_AOUT are defined, support per-process
alignment checking where AFLTs are always enabled when running
kernel code and userland ELF binaries, and dynamically disabled/
enabled when switching to/from a.out binaries. This is necessary
in order to execute older a.out binaries, where gcc made
deliberate use of misaligned loads under certain circumstances.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Sep 6 09:31:37 2003 UTC (21 years, 6 months ago) by rearnsha
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +143 -3 lines
Support for ARM10.  Extract some additional information about the
dcache so that we can have cache cleaning code that works for any
permitted arm10 cache architecture.

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

Revision 1.61: download - view: text, markup, annotated - select for diffs
Tue Jul 15 00:24:38 2003 UTC (21 years, 8 months ago) by lukem
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +4 -1 lines
__KERNEL_RCSID()

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sun May 25 01:30:52 2003 UTC (21 years, 10 months ago) by ichiro
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +2 -2 lines
About CP14 register, ixp425 does not need xscalereg.h

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

Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Apr 22 00:24:48 2003 UTC (21 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +6 -6 lines
Some ARM32_PMAP_NEW-related cleanup:
* Define a new "MMU type", ARM_MMU_SA1.  While the SA-1's MMU is basically
  compatible with the generic, the SA-1 cache does not have a write-through
  mode, and it is useful to know have an indication of this.
* Add a new PMAP_NEEDS_PTE_SYNC indicator, and try to evaluate it at
  compile time.  We evaluate it like so:
  - If SA-1-style MMU is the only type configured -> 1
  - If SA-1-style MMU is not configured -> 0
  - Otherwise, defer to a run-time variable.
  If PMAP_NEEDS_PTE_SYNC might evaluate to true (SA-1 only or run-time
  check), then we also define PMAP_INCLUDE_PTE_SYNC so that e.g. assembly
  code can include the necessary run-time support.  PMAP_INCLUDE_PTE_SYNC
  largely replaces the ARM32_PMAP_NEEDS_PTE_SYNC manual setting Steve
  included with the original new pmap.
* In the new pmap, make pmap_pte_init_generic() check to see if the CPU
  has a write-back cache.  If so, init the PT cache mode to C=1,B=0 to get
  write-through mode.  Otherwise, init the PT cache mode to C=1,B=1.
* Add a new pmap_pte_init_arm8().  Old pmap, same as generic.  New pmap,
  sets page table cacheability to 0 (ARM8 has a write-back cache, but
  flushing it is quite expensive).
* In the new pmap, make pmap_pte_init_arm9() reset the PT cache mode to
  C=1,B=0, since the write-back check in generic gets it wrong for ARM9,
  since we use write-through mode all the time on ARM9 right now.  (What
  this really tells me is that the test for write-through cache is less
  than perfect, but we can fix that later.)
* Add a new pmap_pte_init_sa1().  Old pmap, same as generic.  New pmap,
  does generic initialization, then resets page table cache mode to
  C=1,B=1, since C=1,B=0 does not produce write-through on the SA-1.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Apr 21 04:33:30 2003 UTC (21 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -2 lines
#ifdef, not #if, for XSCALE_NO_COALESCE_WRITES.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Apr 18 10:45:23 2003 UTC (21 years, 11 months ago) by scw
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +14 -2 lines
- In the various cpu_setup() functions, check if the vector page
  is at ARM_VECTORS_HIGH and set CPU_CONTROL_VECRELOC if so.

- Don't de-ref a NULL args pointer in parse_cpu_options().

Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Mar 18 11:20:56 2003 UTC (22 years ago) by bsh
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +5 -3 lines
simplify CPU ID test for Intel PXA2xx by masking core revision part.

This also allows the kernel to run on pxa255.

Revision 1.44.4.5: download - view: text, markup, annotated - select for diffs
Sat Dec 7 19:40:24 2002 UTC (22 years, 3 months ago) by he
Branches: netbsd-1-6
CVS tags: 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.44.4.4: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.4.4: +11 -2 lines
Pull up revision 1.53 (requested by thorpej in ticket #703):
  Enable branch prediction and write coalescing on XScale.

Revision 1.44.4.4: download - view: text, markup, annotated - select for diffs
Mon Nov 18 02:19:33 2002 UTC (22 years, 4 months ago) by he
Branches: netbsd-1-6
Diff to: previous 1.44.4.3: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.4.3: +37 -10 lines
Pull up revision 1.51 (requested by thorpej in ticket #685):
  If __ARMEB__ is defined, always set CPU_CONTROL_BEND_ENABLE
  in the CPU control register.

Revision 1.11.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:32:12 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.11.2.4: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.4: +198 -13 lines
sync kqueue branch with HEAD

Revision 1.44.2.5: download - view: text, markup, annotated - select for diffs
Fri Aug 30 00:19:01 2002 UTC (22 years, 6 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.44.2.4: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.2.4: +85 -10 lines
catch up with -current.

Revision 1.15.2.11: download - view: text, markup, annotated - select for diffs
Tue Aug 27 06:03:15 2002 UTC (22 years, 7 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.15.2.10: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.10: +15 -2 lines
Sync with -current.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Aug 20 02:30:51 2002 UTC (22 years, 7 months ago) by briggs
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base, bjh21-hydra-base, bjh21-hydra
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +5 -1 lines
Coalesced writes on xscale systems do not always work.  If
XSCALE_NO_COALESCE_WRITES is set, disable.  Otherwise, enable.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Aug 20 02:00:46 2002 UTC (22 years, 7 months ago) by briggs
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +11 -2 lines
Enable branch prediction and write coalescing on XScale.

Revision 1.15.2.10: download - view: text, markup, annotated - select for diffs
Mon Aug 19 21:38:50 2002 UTC (22 years, 7 months ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.15.2.9: preferred, colored
Changes since revision 1.15.2.9: +56 -10 lines
Partial (ARM only) sync with trunk -- significant performance improvements
for XScale-based systems.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Fri Aug 16 15:25:53 2002 UTC (22 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +20 -1 lines
* Add a new machdep.powersave sysctl, which controls the use of
  the CPU's "sleep" function in the idle loop.
* Default all CPUs to not use powersave, except for the PDA processors
  (SA11x0 and PXA2x0).

This significantly reduces inteterrupt latency in high-performance
applications (and was good to squeeze another ~10% out of an XScale
IOP on a Gig-E benchmark).

Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Aug 16 00:06:26 2002 UTC (22 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +37 -10 lines
If __ARMEB__ is defined, always set CPU_CONTROL_BEND_ENABLE in
the CPU control register.

Revision 1.15.2.9: download - view: text, markup, annotated - select for diffs
Tue Aug 13 02:17:48 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.15.2.8: preferred, colored
Changes since revision 1.15.2.8: +16 -1 lines
Catch up to -current.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Aug 7 05:14:56 2002 UTC (22 years, 7 months ago) by briggs
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +16 -1 lines
Implement pmc(9) -- An interface to hardware performance monitoring
counters.  These counters do not exist on all CPUs, but where they
do exist, can be used for counting events such as dcache misses that
would otherwise be difficult or impossible to instrument by code
inspection or hardware simulation.

pmc(9) is meant to be a general interface.  Initially, the Intel XScale
counters are the only ones supported.

Revision 1.15.2.8: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:41:10 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.15.2.7: preferred, colored
Changes since revision 1.15.2.7: +116 -5 lines
Catch up to -current.

Revision 1.44.4.3: download - view: text, markup, annotated - select for diffs
Mon Jul 29 14:41:49 2002 UTC (22 years, 7 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
Diff to: previous 1.44.4.2: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.4.2: +3 -2 lines
Pull up revision 1.49 (requested by thorpej in ticket #549):
Handle i80200 step D0 and i80321 step B0

Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Jul 22 18:17:42 2002 UTC (22 years, 8 months ago) by briggs
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -2 lines
Handle i80200 step D0 and i80321 step B0

Revision 1.44.2.4: download - view: text, markup, annotated - select for diffs
Sun Jul 21 13:00:27 2002 UTC (22 years, 8 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.44.2.3: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.2.3: +112 -3 lines
catch up with -current.

Revision 1.44.2.3: download - view: text, markup, annotated - select for diffs
Tue Jul 16 00:55:20 2002 UTC (22 years, 8 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.44.2.2: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.2.2: +3 -2 lines
catch up with -current.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Mon Jul 15 16:27:15 2002 UTC (22 years, 8 months ago) by ichiro
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +112 -3 lines
add support for ixp12x0

Revision 1.44.2.2: download - view: text, markup, annotated - select for diffs
Sun Jul 14 17:45:52 2002 UTC (22 years, 8 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.44.2.1: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.2.1: +2 -2 lines
catch up with -current.

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

for using many PDA/xscale-core.

Revision 1.11.2.4: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:34:42 2002 UTC (22 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.11.2.3: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.3: +329 -138 lines
catch up with -current on kqueue branch

Revision 1.15.2.7: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:37:59 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.15.2.6: preferred, colored
Changes since revision 1.15.2.6: +157 -28 lines
Catch up to -current.

Revision 1.44.4.2: download - view: text, markup, annotated - select for diffs
Fri Jun 7 18:33:13 2002 UTC (22 years, 9 months ago) by thorpej
Branches: netbsd-1-6
Diff to: previous 1.44.4.1: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.4.1: +2 -2 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.46: download - view: text, markup, annotated - select for diffs
Fri Jun 7 18:25:28 2002 UTC (22 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -2 lines
Add the CPU ID for the 600MHz i80321 part.

Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Thu May 30 15:32:42 2002 UTC (22 years, 9 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -2 lines
Catch up with -current.

Revision 1.44.4.1: download - view: text, markup, annotated - select for diffs
Thu May 23 15:50:52 2002 UTC (22 years, 10 months ago) by tv
Branches: netbsd-1-6
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -2 lines
Pull up revision 1.45 (requested by thorpej):
Back out an unintended change.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed May 22 19:06:23 2002 UTC (22 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +1 -2 lines
Back out an unintended change.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Fri May 3 16:45:22 2002 UTC (22 years, 10 months ago) by rjs
Branches: MAIN
CVS tags: netbsd-1-6-base
Branch point for: netbsd-1-6, gehenna-devsw
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +136 -21 lines
Use processor specific versions of ARM cache control functions for SA1100
and SA1110 instead of using SA110 ones.

Rename common StrongARM functions from sa110_* to sa1_*.

Reviewed by Jason Thorpe.

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

Revision 1.15.2.6: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:02:23 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.15.2.5: preferred, colored
Changes since revision 1.15.2.5: +12 -4 lines
Catch up to -current.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Apr 12 21:52:45 2002 UTC (22 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +2 -2 lines
Default all XScale core processors to the read/write-allocate write-back
cache mode.  Add a new XSCALE_CACHE_WRITE_THROUGH option for people who
are paranoid about the cache-related errata (you *do* have to line up
the planets correctly to trip them, but having the option is useful).

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Apr 12 18:50:31 2002 UTC (22 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2 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.40: download - view: text, markup, annotated - select for diffs
Tue Apr 9 21:00:42 2002 UTC (22 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +9 -3 lines
Define 2 classes of ARM MMUs:
1. Generic (compatible with ARM6)
1. XScale (can be used as generic, but also has certainly nifty extensions).

Define abstract PTE bit defintions for each MMU class.  If only one MMU
class is configured into the kernel (based on CPU_* options), then we
get the constants for that MMU class.  Otherwise we indirect through
varaibles set up via set_cpufuncs().

XXX The XScale bits are currently the same as the generic bits.  Baby steps.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Apr 5 16:58:03 2002 UTC (22 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +5 -3 lines
* Rewrite the 32-bit ARM pte.h based on the ARM architecture manual.
  Significant cleanup, here, including better PTE bit names.
* Add XScale PTE extensions (ECC enable, write-allocate cache mode).
* Mechanical changes everywhere else to update for new pte.h.  While
  doing this, two bugs (as a result of typos) were fixed in

	arm/arm32/bus_dma.c
	evbarm/integrator/int_bus_dma.c

Revision 1.15.2.5: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:39:06 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.15.2.4: preferred, colored
Changes since revision 1.15.2.4: +192 -130 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Mar 28 16:47:49 2002 UTC (23 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -2 lines
Use write-back caching on the Verde.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Mar 27 01:34:47 2002 UTC (23 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +28 -18 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.36: download - view: text, markup, annotated - select for diffs
Tue Mar 26 19:29:44 2002 UTC (23 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +36 -13 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.35: download - view: text, markup, annotated - select for diffs
Sun Mar 24 15:37:46 2002 UTC (23 years ago) by bjh21
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +5 -5 lines
Add ARM610 cache information.  Not yet tested because booting on ARM610s seems
to be broken at present.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Mar 16 18:26:00 2002 UTC (23 years ago) by bjh21
Branches: MAIN
CVS tags: eeh-devprop-base, eeh-devprop
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +43 -60 lines
Get rid of the #ifdef DEBUG_FAULT_CORRECTION #ifdef mess, and use a
couple of conditionally-defined macros instead.  This makes the
fault-correction code almost readable.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Mar 16 18:11:11 2002 UTC (23 years ago) by bjh21
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +1 -3 lines
Kill some unnecessary settings of arm_dcache_align_mask.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Mar 16 18:02:19 2002 UTC (23 years ago) by bjh21
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +72 -12 lines
For those CPUs which don't have a cache-type register, keep the details
of the cache in a static table.  Note that the table isn't complete --
contributions of cache details for CPUs whose data sheets I haven't got are
welcome.

Revision 1.11.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 16 15:56:00 2002 UTC (23 years ago) by jdolecek
Branches: kqueue
Diff to: previous 1.11.2.2: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.2: +22 -14 lines
Catch up with -current.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Mar 16 03:38:28 2002 UTC (23 years ago) by reinoud
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +32 -51 lines
Clean up cpufunc.c so you can really use it for debugging ... the
dependency on DEBUG_PMAP was useless anyway since the PMAP_DEBUG was
printing soooo much garbage cpufunc's debugging stuff was lost anyway.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Mar 9 21:30:57 2002 UTC (23 years ago) by bjh21
Branches: MAIN
CVS tags: newlock-base, newlock
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +22 -14 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.15.2.4: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:07:16 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.15.2.3: preferred, colored
Changes since revision 1.15.2.3: +128 -280 lines
Catch up to -current.

Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:07:16 2002 UTC (23 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.11.2.1: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.1: +128 -280 lines
Sync w/ -current.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Jan 30 00:37:18 2002 UTC (23 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +7 -1 lines
Set the CPU sleep routine to sa11x0_cpu_sleep() on SA-1100 and SA-1110
processors.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Jan 25 21:33:26 2002 UTC (23 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +15 -2 lines
* Default dcache_inv_range to xscale_cache_flushD_rng for XScale
  cores.
* For i80200 Step-A0 and Step-A1, set dcache_inv_range to
  xscale_cache_purgeD_rng to work around a bug where a D$
  "invalidate by address" doesn't properly clear the dirty
  bits on the cache block (i80200 errata item #25).

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Jan 25 19:19:24 2002 UTC (23 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +96 -267 lines
Overhaul of the ARM cache code.  This is mostly a simplification
pass.  Rather than providing a whole slew of cache operations that
aren't ever used, distill them down to some useful primitives:

	icache_sync_all         Synchronize I-cache
	icache_sync_range       Synchronize I-cache range

	dcache_wbinv_all        Write-back and Invalidate D-cache
	dcache_wbinv_range      Write-back and Invalidate D-cache range
	dcache_inv_range        Invalidate D-cache range
	dcache_wb_range         Write-back D-cache range

	idcache_wbinv_all       Write-back and Invalidate D-cache,
				Invalidate I-cache
	idcache_wbinv_range     Write-back and Invalidate D-cache,
				Invalidate I-cache range

Note: This does not yet include an overhaul of the actual asm files
that implement the primitives.  Instead, we've provided a safe default
for each CPU type, and the individual CPU types can now be optimized
one at a time.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Jan 24 04:23:19 2002 UTC (23 years, 2 months ago) by briggs
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +13 -3 lines
Two changes for XScale:
	1) Add defparam XSCALE_CCLKCFG to define a parameter for the
	   CCLKCFG register.  Default it to '9' on the IQ80310.
	2) Add a sleep call to the xscale CPU function vector (replacing
	   the nullop) which should drop the CPU into "idle" mode when
	   cpu_switch finds nothing on the run queues.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Jan 23 21:03:07 2002 UTC (23 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -13 lines
i80200: Call i80200_intr_init() to initialize the ICU, rather than
doing it ourselves.

Revision 1.15.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 11 23:37:59 2002 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.15.2.2: preferred, colored
Changes since revision 1.15.2.2: +5 -1 lines
More catchup.

Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:37:45 2002 UTC (23 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +500 -24 lines
Sync kqueue branch with -current.

Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:23:06 2002 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.15.2.1: preferred, colored
Changes since revision 1.15.2.1: +1722 -0 lines
Catch up to -current.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Jan 5 22:41:46 2002 UTC (23 years, 2 months ago) by chris
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -1 lines
Make some of the arm32 files build with LOOSE_PROTOTYPES not set in the makefile.  Turned up a few mismatched functions.  Note that this isn't all of the arm32 files.  Aim will be to get arm32 kernels built with LOOSE_PROTOTYPES not set.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Dec 8 21:30:04 2001 UTC (23 years, 3 months ago) by chris
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -2 lines
Improve comment on the clockswitching asm code, it doesn't use r0 at all, it just needs it to make valid asm.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Dec 1 23:06:45 2001 UTC (23 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +26 -1 lines
Reset the i80200 ICU and PMU to a pristine state very early.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Dec 1 14:21:18 2001 UTC (23 years, 3 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -1 lines
Don't define get_cachetype() unless it's going to be used.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Dec 1 06:33:40 2001 UTC (23 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +14 -1 lines
On the i80200, disable ECC in the Bus Controller Unit early on; we
don't really have code to deal with ECC errors yet.

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

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Nov 26 22:26:44 2001 UTC (23 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +71 -2 lines
Add code to run the XScale cache in write-though mode, and do so
for now...

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Nov 23 19:17:04 2001 UTC (23 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -4 lines
Disable the BTB by default on the XScale again; there's some early
stepping errata to deal with before we can safely do this.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Nov 19 18:40:15 2001 UTC (23 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +17 -9 lines
Add a "cpwait" cpufunc, currently a nullop on all but XScale.
"cpwait" ensures that all coprocessor operations have completed
before returning.

Revision 1.15.2.1
Wed Nov 14 01:00:05 2001 UTC (23 years, 4 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.15: +0 -1511 lines
file cpufunc.c was added on branch nathanw_sa on 2002-01-08 00:23:06 +0000

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Nov 14 01:00:05 2001 UTC (23 years, 4 months ago) by thorpej
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +7 -3 lines
* Give the XScale its own cpu_control() entry point; we have to flush
  the Branch Target Buffer of the BPRD bit changes.
* Enable Branch Prediction on the XScale by default.
* Don't invalidate the Branch Target Buffer explicitly. the i80200
  manual (section 5.1, Branch Target Buffer Operation) notes that
  manual software management of the BTB is unnecessary; it is flushed
  implicitly when:
     * processor resets
     * FCSE process ID is written
     * I-cache is invalidated

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 12 21:16:25 2001 UTC (23 years, 4 months ago) by thorpej
Branches: thorpej-mips-cache
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +146 -10 lines
Sync the thorpej-mips-cache branch with -current.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Nov 10 23:12:41 2001 UTC (23 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-mips-cache-base
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +11 -11 lines
Fix some whitespace.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Nov 7 00:17:36 2001 UTC (23 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +138 -2 lines
First cut at XScale setup code.  Needs more work.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Oct 18 14:10:07 2001 UTC (23 years, 5 months ago) by rearnsha
Branches: MAIN
Branch point for: thorpej-mips-cache
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +129 -8 lines
Add support calls for ARM9.

Where ARM9, StrongARM and XScale share the same function, rename it
as armv4_XXX.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Jul 9 19:51:14 2001 UTC (23 years, 8 months ago) by reinoud
Branches: MAIN
CVS tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: kqueue
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Changed the variable within the ARM6 late abort section from cpu_ctrl to
cpuctrl ...

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

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Jun 7 21:07:22 2001 UTC (23 years, 9 months ago) by chris
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Checkin fix to ARM7TDMI support.  As per patch from John Fremlin to
port-arm32.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jun 3 18:32:33 2001 UTC (23 years, 9 months ago) by chris
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +126 -12 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.8: download - view: text, markup, annotated - select for diffs
Sun Jun 3 13:38:14 2001 UTC (23 years, 9 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +18 -88 lines
Rather than duplicating the LDM/STM/LDC/STC fixup code between
early_abort_fixup() and late_abort_fixup(), have the latter tail-call the
former.  This saves another 200 bytes, and I've found my ARM710a card now, so
I've even tested it.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jun 2 22:30:07 2001 UTC (23 years, 9 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +28 -56 lines
In {early,late}_abort_fixup(), return ABORT_FIXUP_FAILED, rather than
panic'ing, if we hit an instruction we can't fix up.  This saves 250-odd bytes
of code, and should allow the caller to print a more useful message.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jun 2 22:08:11 2001 UTC (23 years, 9 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +75 -75 lines
late_abort_fixup: Get the indentation right!

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Jun 2 21:03:33 2001 UTC (23 years, 9 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +19 -138 lines
Replace arm6_dataabt_fixup() and arm7_dataabt_fixup() with early_abort_fixup()
and late_abort_fixup(), based on the abort model in use, rather than the CPU
type.  This cleans up the code and makes it smaller.  Only tested on an
ARM6 -- I can't find my ARM710a card right now.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jun 2 19:01:03 2001 UTC (23 years, 9 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +79 -1 lines
Initial cpufunc operations for ARM3.  Not actually used yet.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun May 13 14:41:56 2001 UTC (23 years, 10 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1 lines
Include opt_cputypes.h, since we use CPU_*.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun May 13 13:50:01 2001 UTC (23 years, 10 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -1 lines
Don't include parse_cpu_options() unless we're going to use it.  This fixes
a warning on arm26.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun May 6 18:01:43 2001 UTC (23 years, 10 months ago) by bjh21
Branches: MAIN
Move cpufunc stuff from arm32/arm32 to arm/arm.  The only change involved is
to add recognition of the SA-1100 and SA-1110 for compatibility with hpcarm
(which is now using this code as well).

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>