The NetBSD Project

CVS log for src/sys/arch/hp700/dev/cpu.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.30 / (download) - annotate - [select for diffs], Thu Feb 21 15:16:02 2013 UTC (2 months, 4 weeks ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-nbase, tls-maxphys-base, khorben-n900, agc-symver-base, agc-symver, HEAD
Changes since 1.29: +11 -9 lines
Diff to previous 1.29 (colored)

Fixup the cpu_{match,attach} functions to not allow more that HPPA_MAXCPUs
to be used.

Fixes problem booting on a dual-cpu j6700 with GENERIC (which doesn't
define MULTIPROCESSOR) reported by KIYOHARA Takashi on port-hp700.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Oct 10 15:46:34 2012 UTC (7 months, 1 week ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Changes since 1.28: +5 -5 lines
Diff to previous 1.28 (colored)

Use device_xname.

From chuq

Revision 1.28 / (download) - annotate - [select for diffs], Wed May 23 21:11:34 2012 UTC (11 months, 4 weeks ago) by skrll
Branch: MAIN
CVS Tags: jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.27: +8 -2 lines
Diff to previous 1.27 (colored)

Enable IPIs for MULTIPROCESSOR kernels

Revision 1.27 / (download) - annotate - [select for diffs], Wed May 23 16:11:37 2012 UTC (11 months, 4 weeks ago) by skrll
Branch: MAIN
Changes since 1.26: +27 -24 lines
Diff to previous 1.26 (colored)

Rework the hp700 interrupt code to

	- note chip restictions on interrupt in the kernel config
	- allocate interrupts at attach time
	- track per CPU interrupts
	- remove a funciton written in assembly

Revision 1.26 / (download) - annotate - [select for diffs], Wed May 23 09:49:56 2012 UTC (11 months, 4 weeks ago) by skrll
Branch: MAIN
Changes since 1.25: +3 -2 lines
Diff to previous 1.25 (colored)

Add a KASSERT.

Revision 1.25 / (download) - annotate - [select for diffs], Wed May 23 07:06:02 2012 UTC (11 months, 4 weeks ago) by skrll
Branch: MAIN
Changes since 1.24: +3 -6 lines
Diff to previous 1.24 (colored)

Count the cpus as they attach so that CPU_INFO_FOREACH works before
hatching the secondary cpus.

Revision 1.24 / (download) - annotate - [select for diffs], Mon May 21 21:15:39 2012 UTC (12 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base5
Changes since 1.23: +3 -4 lines
Diff to previous 1.23 (colored)

Unwrap a line.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Apr 6 12:21:58 2012 UTC (13 months, 2 weeks ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base4, jmcneill-usbmp-base9
Changes since 1.22: +6 -15 lines
Diff to previous 1.22 (colored)

unifdef FPEMUL. All our supported systems have an FPU.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Apr 5 21:00:29 2012 UTC (13 months, 2 weeks ago) by skrll
Branch: MAIN
CVS Tags: jmcneill-usbmp-base8
Changes since 1.21: +4 -9 lines
Diff to previous 1.21 (colored)

Split out cpu_softc into cpuvar.h

Split out the interrupt definitions into intrdefs.h and add the IPI
definitions

Add the required field to cpu_info for the IPI functions.

Makes a MULTIPROCESSOR kernel compiles.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Apr 3 11:44:32 2012 UTC (13 months, 2 weeks ago) by skrll
Branch: MAIN
Changes since 1.20: +3 -2 lines
Diff to previous 1.20 (colored)

Make MULTIPROCESSOR compile.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Feb 26 08:44:12 2012 UTC (14 months, 3 weeks ago) by skrll
Branch: MAIN
CVS Tags: jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Rename a field to match PDC documentation.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Feb 1 18:33:24 2011 UTC (2 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

Change some structure and structure member names to better suit my eye.

No functional change.

Same code before and after.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jan 31 14:11:02 2011 UTC (2 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.17: +8 -3 lines
Diff to previous 1.17 (colored)

Rename hppa_ncpus hppa_ncpu.

Increment for primary CPU only for now.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jan 23 21:53:39 2011 UTC (2 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.16: +135 -14 lines
Diff to previous 1.16 (colored)

Detect and spin up non-boot CPUs.

Mostly from OpenBSD.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Dec 8 09:48:27 2010 UTC (2 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.15: +4 -5 lines
Diff to previous 1.15 (colored)

Update hp700_intr_establish call. Missed in previous.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jun 6 12:13:35 2010 UTC (2 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.14: +6 -2 lines
Diff to previous 1.14 (colored)

MULTIPROCESSOR fixes

- provide curcpu in a control register instead of curlwp
- define {GET,SET}_CURLWP and GET_CURCPU and use whereever possible.
- define a cpu count and use it in CPU_INFO_FOREACH

XXX hppa_ncpus isn't valid yet.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 30 07:58:02 2010 UTC (3 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Correct comment.

Revision 1.13 / (download) - annotate - [select for diffs], Fri May 8 09:33:57 2009 UTC (4 years ago) by skrll
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, uebayasi-xip-base, matt-premerge-20091211, jymxensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Whitespace.

Revision 1.12 / (download) - annotate - [select for diffs], Thu May 7 15:34:49 2009 UTC (4 years ago) by skrll
Branch: MAIN
Changes since 1.11: +29 -30 lines
Diff to previous 1.11 (colored)

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

There are a couple of MI drivers with MD attachments left.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Apr 30 07:01:26 2009 UTC (4 years ago) by skrll
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3
Changes since 1.10: +36 -49 lines
Diff to previous 1.10 (colored)

Merge nick-hppapmap.

This is a port of the OpenBSD pmap and trap handling code to get us

        - Performance boost on some/all machines.
        - Well on the way to PA2.0 (in 32bit mode) support. Several
          machines probe hardware, but fail sometime after interrupts
          are enabled.

Other things changed / fixed on the branch are

        - update autoconf to use the OpenBSD code.
        - com @ dino is very close to being supported.
        - HPPA_REDZONE has been replaced with a working redzone which
          is enabled with DIAGNOSTIC.
        - UPAGES has been halved in size.
        - power(4) from OpenBSD to fix a few bugs.
        - updated list of modules from OpenBSD.
	- initial ports of uturn(4), astro(4) and elroy(4).
	- update some copyrights (remove advertising clause, etc.)

Thanks to mjf for some of the above, testing and listening.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 11 12:17:24 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, 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-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, 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, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, post-newlock2-merge, peter-altq-base, peter-altq, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, 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-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, netbsd-4-base, 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, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, 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-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, cube-autoconf-base, cube-autoconf, chap-midi-nbase, chap-midi-base, chap-midi, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-nfs-mp, nick-hppapmap, jym-xensuspend
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

merge ktrace-lwp.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Dec 13 02:14:13 2004 UTC (8 years, 5 months ago) by chs
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, yamt-lazymbuf, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, matt-timespec, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge
Changes since 1.8: +7 -3 lines
Diff to previous 1.8 (colored)

for drivers that support only one instance, use a global variable to ensure
that only one instance is configured rather than requiring that its
unit number be zero.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jul 25 21:52:56 2004 UTC (8 years, 9 months ago) by jkunz
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Bring the WAX GSC to GSC bus adapter + interrupt controller and the
GSC bus inside the WAX chip to live with some bits from lasi.c and
the OpenBSD wax.c.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Nov 23 17:09:29 2003 UTC (9 years, 5 months ago) by chs
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.6: +8 -14 lines
Diff to previous 1.6 (colored)

de-__P, remove register, ansify.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jul 15 02:29:24 2003 UTC (9 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.5: +4 -1 lines
Diff to previous 1.5 (colored)

__KERNEL_RCSID()

Revision 1.5 / (download) - annotate - [select for diffs], Wed Oct 2 05:17:47 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Branch point for: ktrace-lwp
Changes since 1.4: +3 -4 lines
Diff to previous 1.4 (colored)

Use CFATTACH_DECL().

Revision 1.4 / (download) - annotate - [select for diffs], Fri Sep 27 20:31:58 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Declare all cfattach structures const.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Aug 16 15:02:40 2002 UTC (10 years, 9 months ago) by fredette
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.2: +11 -1 lines
Diff to previous 1.2 (colored)

This cleans up interrupts with respect to GSC bus chips and the devices
they contain.  IRQ information for these has been removed from the
kernel configuration file.  GSC bus chips now choose an available CPU
IRQ for themselves, and know IRQ information for all of the devices
they may contain.  Minor autoconfiguration changes support this.

Renamed the old-style vmstat interrupt counters to say "ipl" and not
"irq", since they've been disconnected from irq numbers.  Also provide
a function to allocate an irq bit from an interrupt register, and a
function to report the next ipl bit that will be allocated.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Aug 5 20:58:36 2002 UTC (10 years, 9 months ago) by fredette
Branch: MAIN
Changes since 1.1: +20 -36 lines
Diff to previous 1.1 (colored)

Made changes in where/how the kernel is linked, and how the pmap
maps it with BTLB entries, to minimize the number of BTLB entries
needed.

Because the CPU type was often guessed incorrectly, the mapping of
HP board number to system name now includes information about the
expected CPU type.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jun 6 19:48:03 2002 UTC (10 years, 11 months ago) by fredette
Branch: MAIN
Branch point for: kqueue, gehenna-devsw

Added hp700-specific files.  Still a work in progress.

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>