The NetBSD Project

CVS log for src/sys/arch/arm/include/cpufunc.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.90 / (download) - annotate - [select for diffs], Thu Apr 28 10:05:47 2022 UTC (9 months ago) by skrll
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.89: +0 -4 lines
Diff to previous 1.89 (colored)

G/C

Revision 1.89 / (download) - annotate - [select for diffs], Mon Nov 1 14:45:24 2021 UTC (15 months ago) by skrll
Branch: MAIN
Changes since 1.88: +0 -29 lines
Diff to previous 1.88 (colored)

Move arm_cache_info from cpufunc.h to cpu.h

Revision 1.85.2.2 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:17 2021 UTC (21 months, 4 weeks ago) by thorpej
Branch: thorpej-futex
Changes since 1.85.2.1: +4 -0 lines
Diff to previous 1.85.2.1 (colored) next main 1.86 (colored)

Sync with HEAD.

Revision 1.88 / (download) - annotate - [select for diffs], Mon Mar 1 11:29:14 2021 UTC (23 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.87: +3 -2 lines
Diff to previous 1.87 (colored)

Add DISABLE_INTERRUPT_SAVE(), like DISABLE_INTERRUPT() but also returns
the previous state.

Use DISABLE_INTERRUPT_SAVE()/ENABLE_INTERRUPT() in pic_splfuncs instead
of cpsid()/cpsie(). The difference here is the caller no longer specifies
which bits to disable and enable; on arm32 we continue to use I32_bit and
on aarch64 we now consistently toggle both IRQ and FIQ state.

Revision 1.87 / (download) - annotate - [select for diffs], Sun Feb 7 21:15:40 2021 UTC (23 months, 3 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.86: +3 -0 lines
Diff to previous 1.86 (colored)

Add ENABLE_INTERRUPT() / DISABLE_INTERRUPT() macros for compatibility
with aarch64.

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:37:49 2020 UTC (2 years, 1 month ago) by thorpej
Branch: thorpej-futex
Changes since 1.85: +2 -0 lines
Diff to previous 1.85 (colored)

Sync w/ HEAD.

Revision 1.86 / (download) - annotate - [select for diffs], Thu Dec 3 07:45:52 2020 UTC (2 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.85: +2 -0 lines
Diff to previous 1.85 (colored)

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

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

Revision 1.85 / (download) - annotate - [select for diffs], Sat Oct 31 13:58:22 2020 UTC (2 years, 3 months ago) by skrll
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.84: +4 -2 lines
Diff to previous 1.84 (colored)

Fix armv6 builds by providing an armv6 is macro

Revision 1.84 / (download) - annotate - [select for diffs], Tue Sep 29 18:13:29 2020 UTC (2 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.83: +9 -0 lines
Diff to previous 1.83 (colored)

Fix RPI (armv6) build

Revision 1.83 / (download) - annotate - [select for diffs], Sat Sep 26 12:58:22 2020 UTC (2 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.82: +20 -0 lines
Diff to previous 1.82 (colored)

Define isb(), dsb(option), and dmb(option)

Catch up with vchiq upstream to allow this.

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:54 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.79: +2 -4 lines
Diff to previous 1.79 (colored) next main 1.80 (colored)

Sync with HEAD

Revision 1.78.2.4 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:33 2018 UTC (4 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.78.2.3: +0 -4 lines
Diff to previous 1.78.2.3 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.82 / (download) - annotate - [select for diffs], Tue Dec 11 19:38:42 2018 UTC (4 years, 1 month ago) by alnsn
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.81: +0 -4 lines
Diff to previous 1.81 (colored)

Don't exclude code from rump kernel build.

Revision 1.78.2.3 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:19 2018 UTC (4 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.78.2.2: +2 -0 lines
Diff to previous 1.78.2.2 (colored) to branchpoint 1.78 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.81 / (download) - annotate - [select for diffs], Sat Oct 20 06:35:34 2018 UTC (4 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-1126
Changes since 1.80: +2 -0 lines
Diff to previous 1.80 (colored)

Clean up around cpu_ttb and fix a bunch of builds

Revision 1.78.2.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:26 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.78.2.1: +1 -1 lines
Diff to previous 1.78.2.1 (colored) to branchpoint 1.78 (colored)

Sync with HEAD

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

Revision 1.80 / (download) - annotate - [select for diffs], Wed Aug 29 11:29:27 2018 UTC (4 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.79: +1 -1 lines
Diff to previous 1.79 (colored)

Whitespace

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Sat Apr 7 04:12:12 2018 UTC (4 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.78: +18 -1 lines
Diff to previous 1.78 (colored)

Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.79 / (download) - annotate - [select for diffs], Sun Apr 1 04:35:04 2018 UTC (4 years, 10 months ago) by ryo
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407
Branch point for: phil-wifi
Changes since 1.78: +18 -1 lines
Diff to previous 1.78 (colored)

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.78 / (download) - annotate - [select for diffs], Wed Jan 24 09:04:45 2018 UTC (5 years ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.77: +0 -19 lines
Diff to previous 1.77 (colored)

Remove port-acorn26

OK core@

Revision 1.59.2.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:53 2017 UTC (5 years, 1 month ago) by jdolecek
Branch: tls-maxphys
Changes since 1.59.2.3: +3 -2 lines
Diff to previous 1.59.2.3 (colored) next main 1.60 (colored)

update from HEAD

Revision 1.74.4.3 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:25 2016 UTC (6 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.74.4.2: +2 -0 lines
Diff to previous 1.74.4.2 (colored) to branchpoint 1.74 (colored) next main 1.75 (colored)

Sync with HEAD

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Tue Jul 26 03:24:16 2016 UTC (6 years, 6 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.76: +2 -0 lines
Diff to previous 1.76 (colored) next main 1.77 (colored)

Sync with HEAD

Revision 1.77 / (download) - annotate - [select for diffs], Sat Jul 16 01:49:42 2016 UTC (6 years, 6 months ago) by mrg
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.76: +2 -0 lines
Diff to previous 1.76 (colored)

apply some #if (ARM_MMU_V6 + ARM_MMU_V7) != 0.
now this builds on pre v6-only.

Revision 1.74.4.2 / (download) - annotate - [select for diffs], Sat Mar 19 11:29:56 2016 UTC (6 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.74.4.1: +1 -1 lines
Diff to previous 1.74.4.1 (colored) to branchpoint 1.74 (colored)

Sync with HEAD

Revision 1.76 / (download) - annotate - [select for diffs], Sat Jan 23 21:39:18 2016 UTC (7 years ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319
Branch point for: pgoyette-localcount
Changes since 1.75: +1 -1 lines
Diff to previous 1.75 (colored)

Rename the cpu_id() define to cpu_idnum() so that it does not conflict with
dtrace and friends.

Revision 1.74.4.1 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:30 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.74: +0 -1 lines
Diff to previous 1.74 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.75 / (download) - annotate - [select for diffs], Sat Oct 17 16:34:43 2015 UTC (7 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.74: +0 -1 lines
Diff to previous 1.74 (colored)

remove tlb_flush define and change callers to use cpu_tlb_flushID directly, ok matt@

Revision 1.59.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:46 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.59.2.2: +53 -387 lines
Diff to previous 1.59.2.2 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:53:51 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.70: +5 -391 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

Rebase.

Revision 1.53.4.4 / (download) - annotate - [select for diffs], Thu May 22 11:39:32 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.53.4.3: +53 -362 lines
Diff to previous 1.53.4.3 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

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.64.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:44:58 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.64: +53 -387 lines
Diff to previous 1.64 (colored) next main 1.65 (colored)

sync with head

Revision 1.74 / (download) - annotate - [select for diffs], Sun Apr 20 16:06:05 2014 UTC (8 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, 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, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.73: +1 -0 lines
Diff to previous 1.73 (colored)

include cpufunc_proto.h since things need it.

Revision 1.73 / (download) - annotate - [select for diffs], Sat Apr 19 00:33:24 2014 UTC (8 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.72: +5 -0 lines
Diff to previous 1.72 (colored)

Move xscale cpu_cpwait back from cpufunc_proto.ht to cpufunc.h

Revision 1.72 / (download) - annotate - [select for diffs], Mon Apr 14 20:50:47 2014 UTC (8 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.71: +0 -390 lines
Diff to previous 1.71 (colored)

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.71 / (download) - annotate - [select for diffs], Mon Apr 7 20:38:52 2014 UTC (8 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.70: +8 -10 lines
Diff to previous 1.70 (colored)

Declare armv7 routines if CPU_ARMV7 is defined.
Rearrange in less random manner.

Revision 1.70 / (download) - annotate - [select for diffs], Sat Mar 29 23:44:37 2014 UTC (8 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.69: +4 -6 lines
Diff to previous 1.69 (colored)

cortex doesn't need xscale_setup
use arm11_setttb for arm11x6.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Mar 28 21:47:48 2014 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.68: +51 -13 lines
Diff to previous 1.68 (colored)

Use cpsie/cpsid if possible.
change cache_type to uint8_t
more ARM_MMU_EXTENDED support (ASID)

Revision 1.68 / (download) - annotate - [select for diffs], Sat Feb 22 20:50:46 2014 UTC (8 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.67: +3 -1 lines
Diff to previous 1.67 (colored)

Add way_size to arm_cache_info
Fix arm67_tlb_purge prototype

Revision 1.67 / (download) - annotate - [select for diffs], Thu Feb 20 23:24:54 2014 UTC (8 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.66: +7 -0 lines
Diff to previous 1.66 (colored)

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.66 / (download) - annotate - [select for diffs], Thu Feb 20 17:19:55 2014 UTC (8 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.65: +28 -21 lines
Diff to previous 1.65 (colored)

Make the tlb_flush*SE take a vaddr_t, not a u_int.

Revision 1.49.12.1 / (download) - annotate - [select for diffs], Sat Feb 15 16:18:36 2014 UTC (8 years, 11 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.49: +141 -56 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Merge armv7 support from HEAD, specifically support for the BCM5301X
and BCM56340 evbarm kernels.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Jan 29 00:42:15 2014 UTC (9 years ago) by matt
Branch: MAIN
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

Make multiple inclusion symbols always start with _ARM_ (not _ARM32_ or
_MACHINE_).

Revision 1.59.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:00 2013 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.59.2.1: +27 -2 lines
Diff to previous 1.59.2.1 (colored)

resync from head

Revision 1.64 / (download) - annotate - [select for diffs], Wed Jun 12 01:16:48 2013 UTC (9 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.63: +0 -2 lines
Diff to previous 1.63 (colored)

Nuke cpu_pfr, just use the armreg_pfr?_read inlines

Revision 1.63 / (download) - annotate - [select for diffs], Sun May 19 15:51:10 2013 UTC (9 years, 8 months ago) by rkujawa
Branch: MAIN
Changes since 1.62: +29 -2 lines
Diff to previous 1.62 (colored)

Make PJ4B support code compilable.

Obtained from Marvell, Semihalf.

Revision 1.53.4.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:32:48 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.53.4.2: +3 -3 lines
Diff to previous 1.53.4.2 (colored) to branchpoint 1.53 (colored)

sync with (a bit old) head

Revision 1.54.2.1.2.1 / (download) - annotate - [select for diffs], Wed Nov 28 22:40:28 2012 UTC (10 years, 2 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.54.2.1: +64 -43 lines
Diff to previous 1.54.2.1 (colored) next main 1.55 (colored)

Merge improved arm support (especially Cortex) from HEAD
including OMAP and BCM53xx support.

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:05 2012 UTC (10 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.59: +20 -19 lines
Diff to previous 1.59 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.62 / (download) - annotate - [select for diffs], Mon Nov 12 18:00:37 2012 UTC (10 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, khorben-n900, agc-symver-base, agc-symver
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

C99 types

Revision 1.53.4.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:19:04 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.53.4.1: +55 -36 lines
Diff to previous 1.53.4.1 (colored) to branchpoint 1.53 (colored)

sync with head

Revision 1.61 / (download) - annotate - [select for diffs], Fri Oct 19 13:47:03 2012 UTC (10 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.60: +2 -1 lines
Diff to previous 1.60 (colored)

Add armv7_drain_writebuf (which is just a dsb).

Revision 1.60 / (download) - annotate - [select for diffs], Sat Sep 22 00:33:37 2012 UTC (10 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.59: +15 -15 lines
Diff to previous 1.59 (colored)

Don't use an asm in pmap_activate to update the TTBR, use cpu_setttb instead
but add a second argument to it to indicate whether the TLB/caches need to be
flushed.  Default cortex to pmap_needs_fixup = 1.  But check the MMFR3 field
to see if the fixed can be skipped.
Use a cf_flag bit 0 to indicate whether the A9 L2 cache should disable (bit 0 = 1)
or enabeld (bit = 0).

With these changes, the A9 MMU can use traverse caches to do MMU tablewalks
Also, make sure all memory has the shareable bit for the A9.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Sep 11 17:51:38 2012 UTC (10 years, 4 months ago) by matt
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.58: +8 -0 lines
Diff to previous 1.58 (colored)

Add secondary cache range ops

Revision 1.58 / (download) - annotate - [select for diffs], Fri Sep 7 11:48:59 2012 UTC (10 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.57: +21 -15 lines
Diff to previous 1.57 (colored)

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.54.2.1 / (download) - annotate - [select for diffs], Thu Aug 9 06:36:47 2012 UTC (10 years, 5 months ago) by jdc
Branch: 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, 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
Changes since 1.54: +11 -8 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

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.57 / (download) - annotate - [select for diffs], Sat Jul 21 12:19:15 2012 UTC (10 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.56: +11 -8 lines
Diff to previous 1.56 (colored)

Add support for the ARM1176JZS

Revision 1.56 / (download) - annotate - [select for diffs], Sat Jul 14 12:59:55 2012 UTC (10 years, 6 months ago) by hans
Branch: MAIN
Changes since 1.55: +1 -0 lines
Diff to previous 1.55 (colored)

Support cpu_sleep() on Sheeva CPUs.

Revision 1.53.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:05 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.53: +22 -14 lines
Diff to previous 1.53 (colored)

sync with head

Revision 1.53.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:31:27 2012 UTC (10 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.53: +22 -14 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

merge to -current.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Feb 16 02:29:25 2012 UTC (10 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10
Changes since 1.54: +18 -13 lines
Diff to previous 1.54 (colored)

expose functions needed to compute stack traces to kmemuser

Revision 1.54 / (download) - annotate - [select for diffs], Sun Dec 11 03:30:23 2011 UTC (11 years, 1 month ago) by kiyohara
Branch: MAIN
CVS Tags: netbsd-6-base
Branch point for: netbsd-6
Changes since 1.53: +4 -1 lines
Diff to previous 1.53 (colored)

Require arm3_cache_flush for ARM2/ARM250.

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:03 2011 UTC (11 years, 7 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.52: +5 -1 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Sync with HEAD.

Revision 1.49.16.3 / (download) - annotate - [select for diffs], Thu Apr 21 01:40:52 2011 UTC (11 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.49.16.2: +5 -1 lines
Diff to previous 1.49.16.2 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

sync with head

Revision 1.53 / (download) - annotate - [select for diffs], Thu Mar 10 07:47:15 2011 UTC (11 years, 10 months ago) by bsh
Branch: 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
Changes since 1.52: +5 -1 lines
Diff to previous 1.52 (colored)

Preliminary ARM11 MPCore support.

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

Revision 1.49.16.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:49:35 2011 UTC (11 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.49.16.1: +11 -3 lines
Diff to previous 1.49.16.1 (colored) to branchpoint 1.49 (colored)

sync with head

Revision 1.49.14.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:21:02 2010 UTC (12 years, 3 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.49.14.1: +11 -3 lines
Diff to previous 1.49.14.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

Sync with HEAD (-D20101022).

Revision 1.44.4.4 / (download) - annotate - [select for diffs], Sat Oct 9 03:31:39 2010 UTC (12 years, 3 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44.4.3: +11 -3 lines
Diff to previous 1.44.4.3 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

sync with head

Revision 1.52 / (download) - annotate - [select for diffs], Sat Oct 2 05:37:58 2010 UTC (12 years, 4 months ago) by kiyohara
Branch: 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
Changes since 1.51: +11 -3 lines
Diff to previous 1.51 (colored)

Add support Marvell Sheeva Core and SoC. (Orion/Kirkwood)
  Discovery Innovation not yet.

Revision 1.49.14.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:44:04 2010 UTC (12 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.49: +25 -4 lines
Diff to previous 1.49 (colored)

Sync with HEAD.

Revision 1.44.4.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:51:41 2010 UTC (12 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44.4.2: +25 -4 lines
Diff to previous 1.44.4.2 (colored) to branchpoint 1.44 (colored)

sync with head.

Revision 1.49.16.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:14 2010 UTC (12 years, 7 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.49: +25 -4 lines
Diff to previous 1.49 (colored)

sync with head

Revision 1.51 / (download) - annotate - [select for diffs], Sat Jun 19 19:44:58 2010 UTC (12 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.50: +6 -5 lines
Diff to previous 1.50 (colored)

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.50 / (download) - annotate - [select for diffs], Wed Jun 16 22:06:53 2010 UTC (12 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.49: +24 -4 lines
Diff to previous 1.49 (colored)

PR port-arm/43299: Support added for igepv2/cortexa8/omap3530

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

Revision 1.44.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:10:42 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44.4.1: +29 -0 lines
Diff to previous 1.44.4.1 (colored) to branchpoint 1.44 (colored)

sync with head.

Revision 1.42.16.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:27:53 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.42.16.2: +29 -0 lines
Diff to previous 1.42.16.2 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

Sync with HEAD.

Revision 1.45.6.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:02 2008 UTC (14 years, 1 month ago) by haad
Branch: haad-dm
Changes since 1.45.6.1: +2 -2 lines
Diff to previous 1.45.6.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Oct 21 19:01:54 2008 UTC (14 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, uebayasi-xip-base1, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: uebayasi-xip, rmind-uvmplock, matt-nb5-mips64
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

Use #ifdef, not #if

Revision 1.45.6.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:15:41 2008 UTC (14 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.45: +29 -0 lines
Diff to previous 1.45 (colored)

Sync with HEAD.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Oct 17 20:03:24 2008 UTC (14 years, 3 months ago) by cliff
Branch: MAIN
CVS Tags: haad-dm-base1
Changes since 1.47: +8 -0 lines
Diff to previous 1.47 (colored)

use generic enable_interrupts() and disable_interrupts() instead of
armv6-specific interrupt control ops when _ARM_ARCH_6 not defined

Revision 1.47 / (download) - annotate - [select for diffs], Wed Oct 15 16:56:49 2008 UTC (14 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.46: +1 -0 lines
Diff to previous 1.46 (colored)

Add fa526_flush_prefetchbuf

Revision 1.46 / (download) - annotate - [select for diffs], Tue Oct 14 16:01:22 2008 UTC (14 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.45: +20 -0 lines
Diff to previous 1.45 (colored)

Add FA526 support (compile tested only)

Revision 1.42.16.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:54 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.42.16.1: +86 -19 lines
Diff to previous 1.42.16.1 (colored) to branchpoint 1.42 (colored)

Sync with HEAD.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:36 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.44: +86 -19 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync with head.

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:21:56 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44: +86 -19 lines
Diff to previous 1.44 (colored)

sync with head.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Apr 27 18:58:44 2008 UTC (14 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: haad-dm
Changes since 1.44: +86 -19 lines
Diff to previous 1.44 (colored)

Merge kernel changes in matt-armv6 to HEAD.

Revision 1.42.16.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:12 2008 UTC (14 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.42: +46 -11 lines
Diff to previous 1.42 (colored)

Sync with HEAD.

Revision 1.42.12.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:53 2008 UTC (14 years, 10 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.42: +46 -11 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

sync with head.

Revision 1.40.22.5 / (download) - annotate - [select for diffs], Sun Mar 23 02:03:55 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.40.22.4: +46 -11 lines
Diff to previous 1.40.22.4 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync with HEAD

Revision 1.40.20.3 / (download) - annotate - [select for diffs], Fri Mar 21 13:34:41 2008 UTC (14 years, 10 months ago) by chris
Branch: chris-arm-intr-rework
Changes since 1.40.20.2: +41 -11 lines
Diff to previous 1.40.20.2 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Sync with head.

Revision 1.40.16.2 / (download) - annotate - [select for diffs], Thu Feb 28 21:47:43 2008 UTC (14 years, 11 months ago) by rjs
Branch: hpcarm-cleanup
Changes since 1.40.16.1: +46 -11 lines
Diff to previous 1.40.16.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Sync with HEAD.

Revision 1.34.2.5 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:18 2008 UTC (14 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34.2.4: +46 -11 lines
Diff to previous 1.34.2.4 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

sync with head.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Feb 25 06:32:29 2008 UTC (14 years, 11 months ago) by dogcow
Branch: 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, hpcarm-cleanup-base, chris-arm-intr-rework-base7, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.43: +2 -1 lines
Diff to previous 1.43 (colored)

we need I32_bit, so #include <arm/armreg.h>

Revision 1.43 / (download) - annotate - [select for diffs], Sun Feb 24 14:00:04 2008 UTC (14 years, 11 months ago) by chris
Branch: MAIN
Changes since 1.42: +45 -11 lines
Diff to previous 1.42 (colored)

Micro-optimizations for arm.

Make enable and disable interrupts one instruction shorter.

Make cpu_cpwait() do nothing on anything other than an xscale, where it
will still call via the cpufuncs table.

This avoids loading a function from cpufuncs and then branching into it. On
older hardware the function does nothing, so this is just a waste of CPU
cycles.

Revision 1.40.20.2 / (download) - annotate - [select for diffs], Sun Jan 20 16:04:00 2008 UTC (15 years ago) by chris
Branch: chris-arm-intr-rework
Changes since 1.40.20.1: +7 -2 lines
Diff to previous 1.40.20.1 (colored) to branchpoint 1.40 (colored)

Sync to HEAD.

Revision 1.40.20.1 / (download) - annotate - [select for diffs], Tue Jan 1 15:39:29 2008 UTC (15 years, 1 month ago) by chris
Branch: chris-arm-intr-rework
Changes since 1.40: +13 -12 lines
Diff to previous 1.40 (colored)

Sync with HEAD.

Revision 1.37.24.1.4.1 / (download) - annotate - [select for diffs], Sat Nov 10 02:56:42 2007 UTC (15 years, 2 months ago) by matt
Branch: matt-nb4-arm
Changes since 1.37.24.1: +36 -3 lines
Diff to previous 1.37.24.1 (colored) next main 1.38 (colored)

Add AT91 support from Sami Kantoluoto
Add TI OMAP2430 support from Marty Fouts @ Danger Inc

Revision 1.40.22.4 / (download) - annotate - [select for diffs], Thu Nov 8 10:59:33 2007 UTC (15 years, 2 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.40.22.3: +2 -1 lines
Diff to previous 1.40.22.3 (colored) to branchpoint 1.40 (colored)

sync with -HEAD

Revision 1.40.22.3 / (download) - annotate - [select for diffs], Tue Nov 6 23:15:03 2007 UTC (15 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.40.22.2: +13 -12 lines
Diff to previous 1.40.22.2 (colored) to branchpoint 1.40 (colored)

sync with HEAD

Revision 1.40.16.1 / (download) - annotate - [select for diffs], Thu Nov 1 16:06:49 2007 UTC (15 years, 3 months ago) by rjs
Branch: hpcarm-cleanup
Changes since 1.40: +13 -12 lines
Diff to previous 1.40 (colored)

Sync with HEAD.

Revision 1.34.2.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:25:24 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34.2.3: +13 -12 lines
Diff to previous 1.34.2.3 (colored) to branchpoint 1.34 (colored)

sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Oct 17 19:53:41 2007 UTC (15 years, 3 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, chris-arm-intr-rework-base6, chris-arm-intr-rework-base5, chris-arm-intr-rework-base4, chris-arm-intr-rework-base3, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.41: +1 -1 lines
Diff to previous 1.41 (colored)

Merge the ppcoea-renovation branch to HEAD.

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

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

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

Revision 1.40.22.2 / (download) - annotate - [select for diffs], Fri Oct 12 02:22:23 2007 UTC (15 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.40.22.1: +33 -21 lines
Diff to previous 1.40.22.1 (colored) to branchpoint 1.40 (colored)

Import TI OMAP 2430 and ARM11/ARMv6 support.  Now on ARMv6, the cache is
no longer purged on context switches.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Tue Oct 9 13:37:31 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.40: +13 -12 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Sync with head.

Revision 1.40.10.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:22:42 2007 UTC (15 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.40: +13 -12 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Sync with HEAD

Revision 1.40.18.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:26:54 2007 UTC (15 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.40: +13 -12 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Sync with HEAD.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Sep 15 09:25:22 2007 UTC (15 years, 4 months ago) by scw
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, bouyer-xenamd64
Changes since 1.40: +13 -12 lines
Diff to previous 1.40 (colored)

ARM cpu_switchto() has been partially broken since yamt-idlelwp was merged
as its cache/tlb management smarts relied too heavily on pre-merge context-
switch behaviour. See PR kern/36548 for one manifestation of the breakage.

To address this:
 - Ditch the shadow pmap variables in the PCB (pagedir, l1vec, dacr, cstate)
   as it was too easy for them to get out of sync with the pmap.
 - Re-write (and fix) the convoluted cpuswitch.S cache/tlb ASM code in C.
   It's only slightly less efficient, but is much more readable/maintainable.
 - Document cpufuncs.cf_context_switch() as being C-callable.
 - pmap_activate() becomes a no-op if the lwp's vmspace is already active.
   (Good performance win, since pmap_activate() is now invoked on every
   context-switch, even though ARM's cpu_switchto() already does all the
   grunt work)

XXX: Some CPU-specific armXX_context_switch() implementations (arm67,
arm7tdmi, arm8) always flush the I+D caches. This should not be necessary.
Someone with access to hardware (acorn32?) needs to deal with this.

Revision 1.34.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:23:19 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34.2.2: +195 -186 lines
Diff to previous 1.34.2.2 (colored) to branchpoint 1.34 (colored)

sync with head.

Revision 1.40.22.1 / (download) - annotate - [select for diffs], Wed Aug 29 04:42:10 2007 UTC (15 years, 5 months ago) by matt
Branch: matt-armv6
Changes since 1.40: +57 -3 lines
Diff to previous 1.40 (colored)

Make arm11 use the armv6 cpufuncs.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:47:04 2007 UTC (15 years, 10 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.38: +195 -186 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Mar 4 14:47:18 2007 UTC (15 years, 11 months ago) by bjh21
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, chris-arm-intr-rework-base2, chris-arm-intr-rework-base
Branch point for: vmlocking, ppcoea-renovation, matt-armv6, jmcneill-pm, hpcarm-cleanup, chris-arm-intr-rework
Changes since 1.39: +10 -1 lines
Diff to previous 1.39 (colored)

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.39 / (download) - annotate - [select for diffs], Sun Mar 4 13:42:51 2007 UTC (15 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.38: +186 -186 lines
Diff to previous 1.38 (colored)

Un-__P.

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:05:58 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34.2.1: +21 -6 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored)

sync with head.

Revision 1.37.24.1 / (download) - annotate - [select for diffs], Wed Feb 21 18:36:02 2007 UTC (15 years, 11 months ago) by snj
Branch: 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
Changes since 1.37: +21 -6 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

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.37.20.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:00:42 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.37: +21 -6 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Jan 6 00:50:54 2007 UTC (16 years ago) by christos
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.37: +21 -6 lines
Diff to previous 1.37 (colored)

Scott Allan in http://mail-index.netbsd.org/port-arm/2006/07/31/0000.html
Patch to add support for ARM9E

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:49:16 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Dec 28 19:09:29 2005 UTC (17 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, 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, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, netbsd-4-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2, netbsd-4
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

inline -> __inline

Revision 1.36 / (download) - annotate - [select for diffs], Sat Dec 24 20:06:52 2005 UTC (17 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Dec 11 12:16:46 2005 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34 (colored)

merge ktrace-lwp.

Revision 1.27.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 13:55:16 2005 UTC (17 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.4: +109 -90 lines
Diff to previous 1.27.2.4 (colored) next main 1.28 (colored)

Sync with HEAD. Here we go again...

Revision 1.34 / (download) - annotate - [select for diffs], Mon Jul 4 00:42:37 2005 UTC (17 years, 7 months ago) by bsh
Branch: 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
Branch point for: yamt-lazymbuf
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

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.33 / (download) - annotate - [select for diffs], Fri Jun 3 15:55:56 2005 UTC (17 years, 8 months ago) by rearnsha
Branch: MAIN
Changes since 1.32: +34 -15 lines
Diff to previous 1.32 (colored)

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.32 / (download) - annotate - [select for diffs], Thu Jun 2 19:32:03 2005 UTC (17 years, 8 months ago) by uwe
Branch: MAIN
Changes since 1.31: +74 -74 lines
Diff to previous 1.31 (colored)

Drop parameter names from prototypes to avoid shadowing warnings.

Revision 1.27.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:13:19 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.3: +1 -1 lines
Diff to previous 1.27.2.3 (colored)

Fix the sync with head I botched.

Revision 1.27.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:32:24 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.2: +1 -1 lines
Diff to previous 1.27.2.2 (colored)

Sync with HEAD.

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Thu Aug 12 11:41:03 2004 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27.2.1: +2 -2 lines
Diff to previous 1.27.2.1 (colored)

Sync with HEAD.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Aug 7 11:47:58 2004 UTC (18 years, 5 months ago) by rearnsha
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Changing the interrupt mask is a scheduling barrier.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:32:37 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.27: +58 -29 lines
Diff to previous 1.27 (colored)

Sync with HEAD

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jan 26 15:54:16 2004 UTC (19 years ago) by rearnsha
Branch: 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
Changes since 1.29: +16 -14 lines
Diff to previous 1.29 (colored)

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.29 / (download) - annotate - [select for diffs], Sat Sep 6 09:08:35 2003 UTC (19 years, 5 months ago) by rearnsha
Branch: MAIN
Changes since 1.28: +32 -5 lines
Diff to previous 1.28 (colored)

Add processor-specific declarations for ARM10 class processors.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Sep 6 09:04:52 2003 UTC (19 years, 5 months ago) by rearnsha
Branch: MAIN
Changes since 1.27: +12 -12 lines
Diff to previous 1.27 (colored)

Fix declarations of primary cache variables, so that they are
declarations, not definitions.

Revision 1.27 / (download) - annotate - [select for diffs], Fri May 23 00:57:24 2003 UTC (19 years, 8 months ago) by ichiro
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.26: +5 -4 lines
Diff to previous 1.26 (colored)

support IXP425 Intel Network Processor
 running on BigEndian

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Mon Nov 18 02:14:55 2002 UTC (20 years, 2 months ago) by he
Branch: 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
Changes since 1.23: +1 -5 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Pull up revision 1.26 (requested by thorpej in ticket #682):
  Garbage-collect some unused routines.

Revision 1.6.2.6 / (download) - annotate - [select for diffs], Fri Sep 6 08:32:37 2002 UTC (20 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.6.2.5: +29 -8 lines
Diff to previous 1.6.2.5 (colored) next main 1.7 (colored)

sync kqueue branch with HEAD

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Fri Aug 30 00:19:12 2002 UTC (20 years, 5 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.23.2.1: +23 -8 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

catch up with -current.

Revision 1.11.2.8 / (download) - annotate - [select for diffs], Mon Aug 19 21:39:15 2002 UTC (20 years, 5 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.11.2.7: +23 -8 lines
Diff to previous 1.11.2.7 (colored) next main 1.12 (colored)

Partial (ARM only) sync with trunk -- significant performance improvements
for XScale-based systems.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Aug 14 23:24:46 2002 UTC (20 years, 5 months ago) by thorpej
Branch: 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
Changes since 1.25: +1 -5 lines
Diff to previous 1.25 (colored)

Garbage-collect some unused routines.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Aug 14 21:55:52 2002 UTC (20 years, 5 months ago) by briggs
Branch: MAIN
Changes since 1.24: +23 -4 lines
Diff to previous 1.24 (colored)

Inline SetCPSR calls where it seems prudent to do so.  This avoids two
branches and allows the compiler to better utilize registers around
calls to disable/enable/restore_interrupts().

Revision 1.11.2.7 / (download) - annotate - [select for diffs], Thu Aug 1 02:41:16 2002 UTC (20 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.6: +7 -1 lines
Diff to previous 1.11.2.6 (colored)

Catch up to -current.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Sun Jul 21 13:00:28 2002 UTC (20 years, 6 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.23: +7 -1 lines
Diff to previous 1.23 (colored)

catch up with -current.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jul 15 16:27:16 2002 UTC (20 years, 6 months ago) by ichiro
Branch: MAIN
Changes since 1.23: +7 -1 lines
Diff to previous 1.23 (colored)

add support for ixp12x0

Revision 1.6.2.5 / (download) - annotate - [select for diffs], Sun Jun 23 17:34:51 2002 UTC (20 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.6.2.4: +55 -42 lines
Diff to previous 1.6.2.4 (colored)

catch up with -current on kqueue branch

Revision 1.11.2.6 / (download) - annotate - [select for diffs], Thu Jun 20 03:38:09 2002 UTC (20 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.5: +50 -38 lines
Diff to previous 1.11.2.5 (colored)

Catch up to -current.

Revision 1.23 / (download) - annotate - [select for diffs], Fri May 3 16:45:22 2002 UTC (20 years, 9 months ago) by rjs
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.22: +46 -35 lines
Diff to previous 1.22 (colored)

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.22 / (download) - annotate - [select for diffs], Fri May 3 03:28:49 2002 UTC (20 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +5 -4 lines
Diff to previous 1.21 (colored)

Add support for the Intel PXA210 and PXA250.  From Hiroyuki Bessho, PR 16617.

Revision 1.11.2.5 / (download) - annotate - [select for diffs], Wed Apr 17 00:02:30 2002 UTC (20 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.4: +6 -6 lines
Diff to previous 1.11.2.4 (colored)

Catch up to -current.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Apr 12 18:50:29 2002 UTC (20 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +4 -6 lines
Diff to previous 1.20 (colored)

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.20 / (download) - annotate - [select for diffs], Tue Apr 9 23:44:02 2002 UTC (20 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)

* Move the code that cleans the XScale mini-data cache into its
  own function.
* Add a new function which sets up the mini-data cache clean area
  properly.

Revision 1.11.2.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:39:10 2002 UTC (20 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.3: +5 -4 lines
Diff to previous 1.11.2.3 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.19 / (download) - annotate - [select for diffs], Tue Mar 26 19:29:45 2002 UTC (20 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +5 -4 lines
Diff to previous 1.18 (colored)

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.11.2.3 / (download) - annotate - [select for diffs], Thu Feb 28 04:07:32 2002 UTC (20 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.2: +95 -70 lines
Diff to previous 1.11.2.2 (colored)

Catch up to -current.

Revision 1.6.2.4 / (download) - annotate - [select for diffs], Mon Feb 11 20:07:20 2002 UTC (20 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.6.2.3: +95 -70 lines
Diff to previous 1.6.2.3 (colored)

Sync w/ -current.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jan 30 00:36:32 2002 UTC (21 years ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Changes since 1.17: +3 -1 lines
Diff to previous 1.17 (colored)

Add prototype for sa11x0_cpu_sleep().

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jan 25 19:19:26 2002 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.16: +91 -70 lines
Diff to previous 1.16 (colored)

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.16 / (download) - annotate - [select for diffs], Thu Jan 24 04:23:19 2002 UTC (21 years ago) by briggs
Branch: MAIN
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 (colored)

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.6.2.3 / (download) - annotate - [select for diffs], Thu Jan 10 19:37:53 2002 UTC (21 years ago) by thorpej
Branch: kqueue
Changes since 1.6.2.2: +93 -26 lines
Diff to previous 1.6.2.2 (colored)

Sync kqueue branch with -current.

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Tue Jan 8 00:23:11 2002 UTC (21 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.11.2.1: +435 -0 lines
Diff to previous 1.11.2.1 (colored)

Catch up to -current.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Dec 20 01:20:23 2001 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.14: +27 -13 lines
Diff to previous 1.14 (colored)

* Share a common vector page between arm26 and arm32.
* Use a common set of exception handlers for all arm32 platforms.
* New FIQ framework based on discussions with Ben Harris, shared
  between arm26 and arm32.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Nov 29 02:24:59 2001 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +20 -1 lines
Diff to previous 1.13 (colored)

Fetch cache info from the Cache Type register on ARM7TDMI and "greater"
processors.  Report this when the processor is attached.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Nov 28 00:18:46 2001 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +6 -1 lines
Diff to previous 1.12 (colored)

Add prototypes for new XScale write-through cache routines.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 19 18:40:15 2001 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +5 -1 lines
Diff to previous 1.11 (colored)

Add a "cpwait" cpufunc, currently a nullop on all but XScale.
"cpwait" ensures that all coprocessor operations have completed
before returning.

Revision 1.11.2.1, Wed Nov 14 01:00:06 2001 UTC (21 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11: +0 -393 lines
FILE REMOVED

file cpufunc.h was added on branch nathanw_sa on 2002-01-08 00:23:11 +0000

Revision 1.11 / (download) - annotate - [select for diffs], Wed Nov 14 01:00:06 2001 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.10: +3 -1 lines
Diff to previous 1.10 (colored)

* 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.10 / (download) - annotate - [select for diffs], Thu Oct 18 14:10:07 2001 UTC (21 years, 3 months ago) by rearnsha
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache
Changes since 1.9: +36 -13 lines
Diff to previous 1.9 (colored)

Add support calls for ARM9.

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

Revision 1.9 / (download) - annotate - [select for diffs], Sun Oct 14 00:17:26 2001 UTC (21 years, 3 months ago) by bjh21
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Make the declaration of get_pc_str_offset() into a prototype.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Thu Sep 13 01:13:09 2001 UTC (21 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.6.2.1: +39 -3 lines
Diff to previous 1.6.2.1 (colored)

Update the kqueue branch to HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Aug 26 19:41:57 2001 UTC (21 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.7: +39 -3 lines
Diff to previous 1.7 (colored)

Add xscale cpu functions

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Sat Aug 25 06:15:10 2001 UTC (21 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Merge Aug 24 -current into the kqueue branch.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Aug 20 11:49:11 2001 UTC (21 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Fix typo in comment (suceed).

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 19:18:56 2001 UTC (21 years, 7 months ago) by nathanw
Changes since 1.1.2.1: +24 -3 lines
Diff to previous 1.1.2.1 (colored) next main 1.2 (colored)

Catch up to -current.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 5 09:19:33 2001 UTC (21 years, 8 months ago) by bjh21
Branch: MAIN
Branch point for: kqueue
Changes since 1.5: +7 -1 lines
Diff to previous 1.5 (colored)

Add get_pc_str_offset(), which returns the offset between the address of an
instruction that stores the program counter and the value of PC that's stored.
This can vary between ARM implementations, but is guaranteed to be constant on
a given one.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 3 18:32:34 2001 UTC (21 years, 8 months ago) by chris
Branch: MAIN
Changes since 1.4: +11 -1 lines
Diff to previous 1.4 (colored)

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.4 / (download) - annotate - [select for diffs], Sat Jun 2 21:03:32 2001 UTC (21 years, 8 months ago) by bjh21
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

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.3 / (download) - annotate - [select for diffs], Sat Jun 2 19:01:03 2001 UTC (21 years, 8 months ago) by bjh21
Branch: MAIN
Changes since 1.2: +6 -1 lines
Diff to previous 1.2 (colored)

Initial cpufunc operations for ARM3.  Not actually used yet.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:50:48 2001 UTC (21 years, 9 months ago) by nathanw
Changes since 1.1: +2 -9 lines
Diff to previous 1.1 (colored)

Catch up with -current.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 13:27:21 2001 UTC (21 years, 10 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.2.2.1: +311 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD.

Revision 1.2.2.1, Tue Mar 6 22:29:13 2001 UTC (21 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.2: +0 -311 lines
FILE REMOVED

file cpufunc.h was added on branch thorpej_scsipi on 2001-03-12 13:27:21 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Tue Mar 6 22:29:13 2001 UTC (21 years, 11 months ago) by bjh21
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: thorpej_scsipi
Changes since 1.1: +2 -9 lines
Diff to previous 1.1 (colored)

Create cpufunc_null_fixup() to replace all the CPU-specific abort-fixup
routines that did nothing.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Feb 23 21:23:47 2001 UTC (21 years, 11 months ago) by reinoud
Branch: MAIN

Big patch for merging common include files of the new hpcarm tree and the old arm32
tree into the new arm substree. All moved files are relinked with a stub that included
the file from the new location; this might be done better later.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>