The NetBSD Project

CVS log for src/sys/arch/x86/include/intr.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.66 / (download) - annotate - [select for diffs], Wed Sep 7 00:40:18 2022 UTC (19 months, 1 week ago) by knakahara
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.65: +1 -4 lines
Diff to previous 1.65 (colored) to selected 1.21.4.1 (colored)

NetBSD/x86: Raise the number of interrupt sources per CPU from 32 to 56.

There has been no objection for three years.
    https://mail-index.netbsd.org/port-amd64/2019/09/22/msg003012.html
Implemented by nonaka@n.o, updated by me.

Revision 1.65 / (download) - annotate - [select for diffs], Tue May 24 15:55:19 2022 UTC (22 months, 3 weeks ago) by bouyer
Branch: MAIN
Changes since 1.64: +2 -1 lines
Diff to previous 1.64 (colored) to selected 1.21.4.1 (colored)

Some devices (e.g. ixg in MSI-X mode) don't to have their handlers called
when no interrupt are pending. So add an extra ih_pending field
to struct intrhand, which is incremeted when the handler is not called because
of IPL level and reset to 0 when called. Check this in Xen's resume
assembly to call only handlers that are really pending.

Revision 1.64 / (download) - annotate - [select for diffs], Mon Apr 4 19:33:45 2022 UTC (2 years ago) by andvar
Branch: MAIN
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored) to selected 1.21.4.1 (colored)

fix various typos, mainly in comments.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Mar 12 15:50:44 2022 UTC (2 years, 1 month ago) by riastradh
Branch: MAIN
Changes since 1.62: +2 -1 lines
Diff to previous 1.62 (colored) to selected 1.21.4.1 (colored)

x86: Check for biglock leakage in interrupt handlers.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Apr 25 15:26:18 2020 UTC (3 years, 11 months ago) by bouyer
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-futex, 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.61: +15 -16 lines
Diff to previous 1.61 (colored) to selected 1.21.4.1 (colored)

Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM
guests in GENERIC.
Xen support can be disabled at runtime with
boot -c
disable hypervisor

Revision 1.61.6.5 / (download) - annotate - [select for diffs], Sun Apr 19 19:39:10 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.61.6.4: +6 -1 lines
Diff to previous 1.61.6.4 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored) to selected 1.21.4.1 (colored)

Add per-PIC callbacks for interrupt_get_devname(), interrupt_get_assigned()
and interrupt_get_count(). Implement Xen-specific callbacks for
PIC_XEN and use the x86 one for others.
In event_set_handler(), call intr_allocate_io_intrsource() so that
events appears in interrupt list (intrctl list).

Revision 1.61.6.4 / (download) - annotate - [select for diffs], Sun Apr 19 11:40:30 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.61.6.3: +2 -14 lines
Diff to previous 1.61.6.3 (colored) to branchpoint 1.61 (colored) to selected 1.21.4.1 (colored)

Add a struct pic * member to struct intrhand.
This will be used for interrupt_get_count()
For Xen remplace pic_type with a pointer to the pic, and add a pointer
to intrhand, in struct pintrhand
Make event_set_handler return the pointer to struct intrhand.
Don't allocate a fake intrhand in xen_intr_establish_xname(), use the
one returned by event_set_handler().

Revision 1.61.6.3 / (download) - annotate - [select for diffs], Thu Apr 16 08:46:35 2020 UTC (4 years ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.61.6.2: +6 -1 lines
Diff to previous 1.61.6.2 (colored) to branchpoint 1.61 (colored) to selected 1.21.4.1 (colored)

Reorganise sources to make it possible to include Xen PVHVM support in
native kernels. Among others:
- move xen/include/amd64/hypercall.h to amd64/include/xen and
  xen/include/i386/hypercall.h to i386/include/xen
- exclude some native files from the build for xenpv
- add xen to "machine" config statement for amd64 and i386
- split arch/xen/conf/files.xen to arch/xen/conf/files.xen (for pv drivers)
  and arch/xen/conf/files.xen.pv (for full pv support)
- add GENERIC_XENHVM kernel config which includes GENERIC and add Xen PV
  drivers.

Revision 1.61.6.2 / (download) - annotate - [select for diffs], Sat Apr 11 18:26:07 2020 UTC (4 years ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.61.6.1: +4 -3 lines
Diff to previous 1.61.6.1 (colored) to branchpoint 1.61 (colored) to selected 1.21.4.1 (colored)

Move softint and preemtion-related functions out of x86/x86/intr.c to
  its own file, x86/x86/x86_softintr.c
Add x86/x86/x86_softintr.c for native and XenPV
Make sure XenPV also check ci_ioending, which is used for softints.
Switch XenPV to fast softints and allow kernel preemption.
kpreempt_disable() before calling pmap_changeprot_local()
run  xen_wallclock_time() and xen_global_systime_ns() at splshed() to
  avoid being interrupted.

XXX amd64 lock stubs are racy for XPENDING

Revision 1.61.6.1 / (download) - annotate - [select for diffs], Fri Apr 10 14:42:00 2020 UTC (4 years ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored) to selected 1.21.4.1 (colored)

spllower(): Also check Xen pending events
hypervisor_pvhvm_callback(): exit via Xdoreti, so that pending interrupts
are checked.
disable __HAVE_FAST_SOFTINTS only for XENPV, it now works for PVHVM.
We still have to disable PREEMPTION, until we support MULTIPROCESSOR

Revision 1.56.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:58 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.56.2.1: +14 -2 lines
Diff to previous 1.56.2.1 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored) to selected 1.21.4.1 (colored)

Merge changes from current as of 20200406

Revision 1.61 / (download) - annotate - [select for diffs], Sun Dec 22 15:09:39 2019 UTC (4 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Changes since 1.60: +14 -2 lines
Diff to previous 1.60 (colored) to selected 1.21.4.1 (colored)

Add intr_mask() and corresponding intr_unmask() calls that allow specific
interrupt lines / sources to be masked as needed (rather than making a
set of sources by IPL as with spl*()).

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:53 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.56: +5 -4 lines
Diff to previous 1.56 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD

Revision 1.60 / (download) - annotate - [select for diffs], Thu Feb 14 08:18:25 2019 UTC (5 years, 2 months ago) by cherry
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, 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
Changes since 1.59: +3 -2 lines
Diff to previous 1.59 (colored) to selected 1.21.4.1 (colored)

Welcome XENPVHVM mode.

It is UP only, has xbd(4) and xennet(4) as PV drivers.

The console is com0 at isa and the native portion is very
rudimentary AT architecture, so is probably suboptimal to
run without PV support.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Feb 13 05:28:50 2019 UTC (5 years, 2 months ago) by cherry
Branch: MAIN
Changes since 1.58: +1 -3 lines
Diff to previous 1.58 (colored) to selected 1.21.4.1 (colored)

Missed the crucial header file in previous commit.

struct intrstub; is now uniform across native and XEN

This should fix the XEN builds.

Revision 1.58 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:32 2019 UTC (5 years, 2 months ago) by cherry
Branch: MAIN
Changes since 1.57: +4 -4 lines
Diff to previous 1.57 (colored) to selected 1.21.4.1 (colored)

We reorganise definitions for XEN source support as follows:

XEN - common sources required for baseline XEN support.
XENPV - sources required for support of XEN in PV mode.
XENPVHVM - sources required for support for XEN in HVM mode.
XENPVH - sources required for support for XEN in PVH mode.

Revision 1.54.2.3 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:45 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.54.2.2: +3 -1 lines
Diff to previous 1.54.2.2 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.57 / (download) - annotate - [select for diffs], Thu Dec 13 16:16:51 2018 UTC (5 years, 4 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226
Changes since 1.56: +3 -1 lines
Diff to previous 1.56 (colored) to selected 1.21.4.1 (colored)

Allow x86 builds to have the opportunity to not have pre-emption
enabled by default. This can be effected by having a:

"options	NO_PREEMPTION"

line in the kernel configuration file.

While it was tempting to tie __HAVE_PREEMPTION to MULTIPROCESSOR,
as is currently assumed in sys/kern/kern_stub.c ,

having MULTIPROCESSOR without __HAVE_PREEMPTION
and not having either are valid configuration options which users
could have choice of. We thus err on the side of configurability.

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:47 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.54.2.1: +1 -3 lines
Diff to previous 1.54.2.1 (colored) to branchpoint 1.54 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD

Revision 1.56 / (download) - annotate - [select for diffs], Sun Jun 24 13:35:33 2018 UTC (5 years, 9 months ago) by jdolecek
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.55: +1 -3 lines
Diff to previous 1.55 (colored) to selected 1.21.4.1 (colored)

add support for kern.intr.list aka intrctl(8) 'list' for xen

event_set_handler() and pirq_establish() now have extra intrname
parameter; shared intr_create_intrid() is used to provide the value

xen drivers were changed to pass the specific driver instance
name as the xname, e.g.  'vcpu0 clock' instead just 'clock', or
'xencons0' instead of 'xencons'

associated evcnt is now changed to use intrname - this matches native x86

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Sat Apr 7 04:12:14 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored) to selected 1.21.4.1 (colored)

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

Revision 1.50.2.2 / (download) - annotate - [select for diffs], Thu Apr 5 18:15:02 2018 UTC (6 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.50.2.1: +3 -3 lines
Diff to previous 1.50.2.1 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored) to selected 1.21.4.1 (colored)

Pull up following revision(s) (requested by christos in ticket #696):

	sys/arch/amd64/amd64/vector.S: revision 1.62 (patch)
	sys/arch/x86/include/intr.h: revision 1.55
	sys/arch/i386/i386/vector.S: revision 1.77
	sys/arch/i386/i386/db_interface.c: revision 1.82 (patch)
	sys/arch/amd64/amd64/spl.S: revision 1.34 (patch)
	sys/arch/amd64/amd64/db_interface.c: revision 1.33 (patch)
	sys/arch/x86/x86/intr.c: revision 1.125
	sys/arch/i386/i386/spl.S: revision 1.43 (patch)
	sys/arch/i386/i386/machdep.c: revision 1.805 (patch)
	sys/arch/x86/x86/lapic.c: revision 1.66 (patch)

Rename the DDB IPI IDT vectors for consistency. ok maxv@

Rename Xpreempt{recurse,resume} -> X{recurse,resume}_preempt so that
they fit the pattern. Also the debugger trap sniffer matches them
without adding special entries...

XXX: pullup-8.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Apr 4 22:52:58 2018 UTC (6 years ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored) to selected 1.21.4.1 (colored)

Rename Xpreempt{recurse,resume} -> X{recurse,resume}_preempt so that
they fit the pattern. Also the debugger trap sniffer matches them
without adding special entries...
XXX: pullup-8.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Feb 17 18:51:53 2018 UTC (6 years, 2 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored) to selected 1.21.4.1 (colored)

Rename i8259_stubs -> legacy_stubs. We will want the entries to have the
same name, eg:

	legacy_stubs
		-> Xintr_legacy0, Xrecurse_legacy0, Xresume_legacy0
		-> Xintr_legacy1, Xrecurse_legacy1, Xresume_legacy1
		...

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Sat Jan 13 21:50:31 2018 UTC (6 years, 3 months ago) by snj
Branch: netbsd-8
Changes since 1.50: +4 -1 lines
Diff to previous 1.50 (colored) to selected 1.21.4.1 (colored)

Pull up following revision(s) (requested by knakahara in ticket #493):
	sys/arch/x86/include/intr.h: revision 1.53
	sys/arch/x86/pci/pci_intr_machdep.c: revision 1.42
	sys/arch/x86/x86/intr.c: revision 1.114 via patch
fix "intrctl list" panic when ACPI is disabled.
reviewed by cherry@n.o and tested by msaitoh@n.o, thanks.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Jan 4 01:01:59 2018 UTC (6 years, 3 months ago) by knakahara
Branch: MAIN
Changes since 1.52: +4 -1 lines
Diff to previous 1.52 (colored) to selected 1.21.4.1 (colored)

fix "intrctl list" panic when ACPI is disabled.

reviewed by cherry@n.o and tested by msaitoh@n.o, thanks.

Revision 1.43.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:50 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.43.12.1: +49 -4 lines
Diff to previous 1.43.12.1 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored) to selected 1.21.4.1 (colored)

update from HEAD

Revision 1.52 / (download) - annotate - [select for diffs], Sat Nov 4 14:56:48 2017 UTC (6 years, 5 months ago) by cherry
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.51: +14 -3 lines
Diff to previous 1.51 (colored) to selected 1.21.4.1 (colored)

Retire xen/x86/intr.c and use the new xen specific glue in x86/x86/intr.c

The purpose of this change is to expose the x86/include/intr.h API
to drivers. Specifically the following functions:

   void *intr_establish_xname(...);
   void *intr_establish(...);
   void intr_disestablish(...);

while maintaining the old API from xen/include/evtchn.h, specifically
the following functions:

    int event_set_handler(...);
    int event_remove_handler(...);

This is so that if things break, we can keep using the old API until
everything stabilises. This is a stepping stone towards getting the
actual XEN event callback path rework code in place - which can be
done opaquely behind the intr.h API - NetBSD/XEN specific drivers that
have been ported to the intr.h API should then work without
significant further modifications.

Revision 1.45.4.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:56 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.45.4.2: +17 -1 lines
Diff to previous 1.45.4.2 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Sun Jul 16 14:02:49 2017 UTC (6 years, 9 months ago) by cherry
Branch: perseant-stdc-iso10646
Changes since 1.51.2.1: +229 -0 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored) to selected 1.21.4.1 (colored)

2302677

Revision 1.51.2.1, Sun Jul 16 14:02:48 2017 UTC (6 years, 9 months ago) by cherry
Branch: perseant-stdc-iso10646
Changes since 1.51: +0 -229 lines
FILE REMOVED

file intr.h was added on branch perseant-stdc-iso10646 on 2017-07-16 14:02:49 +0000

Revision 1.51 / (download) - annotate - [select for diffs], Sun Jul 16 14:02:48 2017 UTC (6 years, 9 months ago) by cherry
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, nick-nhusb-base-20170825
Branch point for: perseant-stdc-iso10646
Changes since 1.50: +15 -1 lines
Diff to previous 1.50 (colored) to selected 1.21.4.1 (colored)

Unify the xen and native x86/ interrupt setup functions and
spl traversal data structures.

This is towards PVHVM.

Revision 1.50 / (download) - annotate - [select for diffs], Tue May 23 08:54:39 2017 UTC (6 years, 10 months ago) by nonaka
Branch: MAIN
CVS Tags: netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: netbsd-8
Changes since 1.49: +3 -1 lines
Diff to previous 1.49 (colored) to selected 1.21.4.1 (colored)

x86: Add preliminary x2APIC support.

x2APIC is used only when x2APIC is enabled in BIOS/UEFI.
LAPIC ID is not supported above 256.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jul 7 06:55:39 2016 UTC (7 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored) to selected 1.21.4.1 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.45.4.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:54 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.45.4.1: +6 -3 lines
Diff to previous 1.45.4.1 (colored) to branchpoint 1.45 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD

Revision 1.48 / (download) - annotate - [select for diffs], Mon Aug 17 06:16:02 2015 UTC (8 years, 8 months ago) by knakahara
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Changes since 1.47: +5 -2 lines
Diff to previous 1.47 (colored) to selected 1.21.4.1 (colored)

Add kernel code to support intrctl(8).

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:04 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.45: +18 -3 lines
Diff to previous 1.45 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD

Revision 1.47 / (download) - annotate - [select for diffs], Mon Apr 27 06:51:40 2015 UTC (8 years, 11 months ago) by knakahara
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.46: +5 -3 lines
Diff to previous 1.46 (colored) to selected 1.21.4.1 (colored)

add intr_handle_t and let pci_intr_handle_t use it.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Apr 27 06:42:52 2015 UTC (8 years, 11 months ago) by knakahara
Branch: MAIN
Changes since 1.45: +14 -1 lines
Diff to previous 1.45 (colored) to selected 1.21.4.1 (colored)

add pci_intr_distribute(9) for x86.

Revision 1.43.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:29 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored) to selected 1.21.4.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:11 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored) next main 1.45 (colored) to selected 1.21.4.1 (colored)

Rebase.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Jul 20 15:46:34 2014 UTC (9 years, 9 months ago) by uebayasi
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, 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.44: +2 -2 lines
Diff to previous 1.44 (colored) to selected 1.21.4.1 (colored)

ipifunc[]: Comment IPI constant names for grep'ability.  Constify.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:40:13 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored) next main 1.44 (colored) to selected 1.21.4.1 (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.43.16.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:30 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored) next main 1.44 (colored) to selected 1.21.4.1 (colored)

sync with head

Revision 1.44 / (download) - annotate - [select for diffs], Sat Mar 29 19:28:30 2014 UTC (10 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored) to selected 1.21.4.1 (colored)

make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.

Revision 1.35.12.5 / (download) - annotate - [select for diffs], Sat Aug 27 15:37:29 2011 UTC (12 years, 7 months ago) by jym
Branch: jym-xensuspend
Changes since 1.35.12.4: +3 -2 lines
Diff to previous 1.35.12.4 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD. Most notably: uvm/pmap work done by rmind@, and MP Xen
work of cherry@.

No regression observed on suspend/restore.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Aug 1 10:42:23 2011 UTC (12 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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-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, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.42: +3 -2 lines
Diff to previous 1.42 (colored) to selected 1.21.4.1 (colored)

if checking whether an interrupt is shared, don't compare pin numbers
if it is "-1" -- this is a hack to allow MSIs which don't have a concept
of pin numbers, and are generally not shared
(This doesn't give us sensible event names for statistics display. The
whole abstraction has more exceptions than regular cases, it should
be redesigned imho.)

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:06 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) next main 1.42 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD.

Revision 1.35.12.4 / (download) - annotate - [select for diffs], Mon May 2 22:49:57 2011 UTC (12 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.35.12.3: +2 -2 lines
Diff to previous 1.35.12.3 (colored) to branchpoint 1.35 (colored) to selected 1.21.4.1 (colored)

Sync with head.

Revision 1.39.4.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:32 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.39.4.1: +2 -2 lines
Diff to previous 1.39.4.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored) to selected 1.21.4.1 (colored)

sync with head

Revision 1.42 / (download) - annotate - [select for diffs], Sun Apr 3 22:29:27 2011 UTC (13 years ago) by dyoung
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) to selected 1.21.4.1 (colored)

Clean up excessive #ifdef'age of NMI trap handling for amd64/i386/xen.
Handle NMI in all Xen kernels.

Revision 1.35.12.3 / (download) - annotate - [select for diffs], Sun Oct 24 22:48:16 2010 UTC (13 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.35.12.2: +5 -2 lines
Diff to previous 1.35.12.2 (colored) to branchpoint 1.35 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:45:31 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.39.2.1: +4 -0 lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD.

Revision 1.31.10.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:55 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.31.10.2: +5 -2 lines
Diff to previous 1.31.10.2 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored) to selected 1.21.4.1 (colored)

sync with head.

Revision 1.39.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:12 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.39: +5 -2 lines
Diff to previous 1.39 (colored) to selected 1.21.4.1 (colored)

sync with head

Revision 1.41 / (download) - annotate - [select for diffs], Sun May 2 18:03:31 2010 UTC (13 years, 11 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.40: +5 -1 lines
Diff to previous 1.40 (colored) to selected 1.21.4.1 (colored)

The spl inline functions refer to external symbols that are only
defined in the kernel.

Wrap kernel-specific declarations in #ifdef _KERNEL to avoid unresolved
references when including from userland.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:57 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.39: +1 -2 lines
Diff to previous 1.39 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Apr 25 16:10:51 2010 UTC (13 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.39: +1 -2 lines
Diff to previous 1.39 (colored) to selected 1.21.4.1 (colored)

Nothing uses x86_multicast_ipi() right now and it complicates many
CPU support, so remove it.

Revision 1.35.12.2 / (download) - annotate - [select for diffs], Sun Nov 1 13:58:16 2009 UTC (14 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.35.12.1: +0 -0 lines
Diff to previous 1.35.12.1 (colored) to branchpoint 1.35 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD.

Revision 1.35.12.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:44 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.35: +9 -6 lines
Diff to previous 1.35 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD.

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

Revision 1.31.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:09 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.31.10.1: +10 -7 lines
Diff to previous 1.31.10.1 (colored) to branchpoint 1.31 (colored) to selected 1.21.4.1 (colored)

sync with head.

Revision 1.35.6.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:56 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.35.6.1: +9 -3 lines
Diff to previous 1.35.6.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Apr 19 14:11:37 2009 UTC (15 years ago) by ad
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-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.38: +2 -3 lines
Diff to previous 1.38 (colored) to selected 1.21.4.1 (colored)

cpuctl:

- Add interrupt shielding (direct hardware interrupts away from the
  specified CPUs). Not documented just yet but will be soon.

- Redo /dev/cpu time_t compat so no kernel changes are needed.

x86:

- Make intr_establish, intr_disestablish safe to use when !cold.

- Distribute hardware interrupts among the CPUs, instead of directing
  everything to the boot CPU.

- Add MD code for interrupt sheilding. This works in most cases but there is
  a bug where delivery is not accepted by an LAPIC after redistribution. It
  also needs re-balancing to make things fair after interrupts are turned
  back on for a CPU.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Mar 27 16:09:24 2009 UTC (15 years ago) by dyoung
Branch: MAIN
Changes since 1.37: +7 -1 lines
Diff to previous 1.37 (colored) to selected 1.21.4.1 (colored)

If defined(_KERNEL), #include <sys/types.h>, otherwise #include
<stdbool.h>, for the bool definition that we need. intr.h only got the
definition by chance, before.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Mar 25 22:54:56 2009 UTC (15 years ago) by dyoung
Branch: MAIN
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored) to selected 1.21.4.1 (colored)

It is only by accident that this gets the definitions it needs from
<sys/evcnt.h>, so explicitly #include <sys/evcnt.h>.

Revision 1.35.6.1 / (download) - annotate - [select for diffs], Tue Mar 3 18:29:37 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.35: +1 -4 lines
Diff to previous 1.35 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Feb 24 06:03:54 2009 UTC (15 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.35: +1 -4 lines
Diff to previous 1.35 (colored) to selected 1.21.4.1 (colored)

- rewrite x86 nmi dispatcher so that establish and disesablish are safe
  on a running system.
- adapt existing users of the api.  (elan)
- adapt tprof_pmi driver to use the api.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:50 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored) next main 1.35 (colored) to selected 1.21.4.1 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.31.8.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:04:58 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.31.8.1: +2 -2 lines
Diff to previous 1.31.8.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored) to selected 1.21.4.1 (colored)

sync with head

Revision 1.31.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:50 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.31: +6 -14 lines
Diff to previous 1.31 (colored) next main 1.32 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD.

Revision 1.35 / (download) - annotate - [select for diffs], Fri May 30 19:03:10 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, 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-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-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, jym-xensuspend
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored) to selected 1.21.4.1 (colored)

Add a 'known_mpsafe' argument to intr_establish().

Revision 1.31.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:01 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.31: +5 -13 lines
Diff to previous 1.31 (colored) to selected 1.21.4.1 (colored)

sync with head.

Revision 1.31.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:28 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.31: +5 -13 lines
Diff to previous 1.31 (colored) to selected 1.21.4.1 (colored)

sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Wed May 7 07:00:16 2008 UTC (15 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.33: +1 -5 lines
Diff to previous 1.33 (colored) to selected 1.21.4.1 (colored)

Remove some prototypes that are not implemented. Make some functions
static that are only used in intr.c.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Apr 28 22:47:37 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.32: +5 -2 lines
Diff to previous 1.32 (colored) to selected 1.21.4.1 (colored)

Add support for kernel preeemption to the i386 and amd64 ports. Notes:

- I have seen one isolated panic in the x86 pmap, but otherwise i386
  seems stable with preemption enabled.

- amd64 is missing the FPU handling changes and it's not yet safe to
  enable it there.

- The usual level for kern.sched.kpreempt_pri will be 128 once enabled
  by default. For testing, setting it to 0 helps to shake out bugs.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:40 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.31: +1 -8 lines
Diff to previous 1.31 (colored) to selected 1.21.4.1 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.27.10.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:28 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.27.10.2: +4 -1 lines
Diff to previous 1.27.10.2 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored) to selected 1.21.4.1 (colored)

sync with HEAD

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:16 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.28.2.1: +4 -3 lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD.

Revision 1.29.6.2 / (download) - annotate - [select for diffs], Wed Jan 23 19:27:28 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.29.6.1: +3 -0 lines
Diff to previous 1.29.6.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD.

Revision 1.15.12.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:40:07 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.12.5: +4 -3 lines
Diff to previous 1.15.12.5 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.21.4.1 (colored)

sync with head

Revision 1.31 / (download) - annotate - [select for diffs], Mon Jan 21 02:56:14 2008 UTC (16 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.30: +4 -1 lines
Diff to previous 1.30 (colored) to selected 1.21.4.1 (colored)

Add primitive routines to establish NMI handlers on i386.

TBD: synchronize (dis)establishment of handlers.

Revision 1.27.10.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:49:47 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.27.10.1: +6 -63 lines
Diff to previous 1.27.10.1 (colored) to branchpoint 1.27 (colored) to selected 1.21.4.1 (colored)

sync with HEAD

Revision 1.29.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:51:19 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.29: +1 -3 lines
Diff to previous 1.29 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:42:54 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.29: +1 -3 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.21.4.1 (colored)

Sync with head.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Dec 26 11:51:12 2007 UTC (16 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: vmlocking2-base3, matt-armv6-base, bouyer-xeni386-base
Changes since 1.29: +1 -3 lines
Diff to previous 1.29 (colored) to selected 1.21.4.1 (colored)

- share idt entry allocation code among x86.
- introduce a function to reserve an idt entry and use it instead of
  manipulating idt_allocmap directly.
- rename idt to xen_idt for amd64 xen.  add missing #ifdef XEN.

Revision 1.29.8.1 / (download) - annotate - [select for diffs], Sun Dec 16 18:54:04 2007 UTC (16 years, 4 months ago) by cube
Branch: cube-autoconf
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.21.4.1 (colored)

Split off device-specific stuff out of subr_autconf.c, and split off
autoconf-specific stuff out of device.h.

The only functional change is the removal of the unused evcnt.h include in
device.h which (*sigh*) has side-effects in x86's intr.h, and probably some
other in the rest of the tree but I'm only compiling i386's QEMU for the
time being.

Revision 1.27.8.1 / (download) - annotate - [select for diffs], Sun Dec 9 19:36:26 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.27: +6 -61 lines
Diff to previous 1.27 (colored) next main 1.28 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:18:09 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.28: +6 -61 lines
Diff to previous 1.28 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD.

Revision 1.15.12.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:26:56 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.12.4: +6 -61 lines
Diff to previous 1.15.12.4 (colored) to branchpoint 1.15 (colored) to selected 1.21.4.1 (colored)

sync with head

Revision 1.25.6.4 / (download) - annotate - [select for diffs], Mon Dec 3 19:04:23 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.25.6.3: +1 -3 lines
Diff to previous 1.25.6.3 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD.

Revision 1.25.6.3 / (download) - annotate - [select for diffs], Mon Dec 3 18:40:06 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.25.6.2: +3 -1 lines
Diff to previous 1.25.6.2 (colored) to branchpoint 1.25 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Dec 3 15:34:27 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base
Branch point for: vmlocking2, cube-autoconf, bouyer-xeni386
Changes since 1.28: +6 -61 lines
Diff to previous 1.28 (colored) to selected 1.21.4.1 (colored)

Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.

Revision 1.27.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:23:35 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.27: +1 -1 lines
Diff to previous 1.27 (colored) to selected 1.21.4.1 (colored)

sync with HEAD

Revision 1.28 / (download) - annotate - [select for diffs], Wed Oct 17 19:58:15 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.27: +1 -1 lines
Diff to previous 1.27 (colored) to selected 1.21.4.1 (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.25.14.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:25:49 2007 UTC (16 years, 6 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.25.14.1: +1 -3 lines
Diff to previous 1.25.14.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD

Revision 1.15.12.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:31:20 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.12.3: +13 -67 lines
Diff to previous 1.15.12.3 (colored) to branchpoint 1.15 (colored) to selected 1.21.4.1 (colored)

sync with head.

Revision 1.25.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:03:14 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.25: +13 -67 lines
Diff to previous 1.25 (colored) next main 1.26 (colored) to selected 1.21.4.1 (colored)

Sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jul 9 20:52:37 2007 UTC (16 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6, jmcneill-pm
Changes since 1.26: +1 -3 lines
Diff to previous 1.26 (colored) to selected 1.21.4.1 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.25.6.2 / (download) - annotate - [select for diffs], Sun Jun 17 21:30:41 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.25.6.1: +6 -61 lines
Diff to previous 1.25.6.1 (colored) to branchpoint 1.25 (colored) to selected 1.21.4.1 (colored)

- Increase the number of thread priorities from 128 to 256. How the space
  is set up is to be revisited.
- Implement soft interrupts as kernel threads. A generic implementation
  is provided, with hooks for fast-path MD code that can run the interrupt
  threads over the top of other threads executing in the kernel.
- Split vnode::v_flag into three fields, depending on how the flag is
  locked (by the interlock, by the vnode lock, by the file system).
- Miscellaneous locking fixes and improvements.

Revision 1.25.6.1 / (download) - annotate - [select for diffs], Sun May 27 14:27:05 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.25: +13 -67 lines
Diff to previous 1.25 (colored) to selected 1.21.4.1 (colored)

Sync with head.

Revision 1.25.14.1 / (download) - annotate - [select for diffs], Tue May 22 17:27:49 2007 UTC (16 years, 11 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.25: +13 -65 lines
Diff to previous 1.25 (colored) to selected 1.21.4.1 (colored)

Update to HEAD.

Revision 1.26 / (download) - annotate - [select for diffs], Thu May 17 14:51:34 2007 UTC (16 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.25: +13 -65 lines
Diff to previous 1.25 (colored) to selected 1.21.4.1 (colored)

merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

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

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Fri Mar 23 14:06:06 2007 UTC (17 years, 1 month ago) by ad
Branch: yamt-idlelwp
Changes since 1.25: +13 -65 lines
Diff to previous 1.25 (colored) next main 1.26 (colored) to selected 1.21.4.1 (colored)

- Decouple intr.h from cpu.h.
- Define splraise in spl.S. As a side effect it becomes "preemption safe".
- Make softintr_schedule a function in softintr.c.
- Make softintr a function in spl.S, and remove the unneeded lock prefix.

Revision 1.15.12.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:47 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.12.2: +2 -35 lines
Diff to previous 1.15.12.2 (colored) to branchpoint 1.15 (colored) to selected 1.21.4.1 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Feb 16 02:53:52 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.24: +1 -9 lines
Diff to previous 1.24 (colored) to selected 1.21.4.1 (colored)

Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
via a soft interrupt. In the near future, softclock will be run from process
context.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:14 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.23: +2 -27 lines
Diff to previous 1.23 (colored) to selected 1.21.4.1 (colored)

Merge newlock2 to head.

Revision 1.21.4.2 / (download) - annotate - [select for diffs], Sat Jan 27 07:09:02 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.21.4.1: +2 -27 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

If running on a PPro or later, at boot patch in versions of spllower() and
similar that use cmpxchg8b instead of cli/sti. Cuts the clock cycles for
splx() by a factor of ~6 on the P4, and ~3 on the PIII when bracketed by
serializing instructions (and hopefully more when not).

Revision 1.21.4.1 / (download) - annotate - [selected], Fri Jan 12 01:01:01 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.21: +20 -2 lines
Diff to previous 1.21 (colored)

Sync with head.

Revision 1.15.12.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:22 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15.12.1: +21 -2 lines
Diff to previous 1.15.12.1 (colored) to branchpoint 1.15 (colored) to selected 1.21.4.1 (colored)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Dec 26 15:22:44 2006 UTC (17 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: newlock2-nbase, newlock2-base
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored) to selected 1.21.4.1 (colored)

Define ipl_t as uint8_t so that it can be packed into a word with a lock
byte. Ok yamt@.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Dec 21 15:55:25 2006 UTC (17 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.21: +20 -2 lines
Diff to previous 1.21 (colored) to selected 1.21.4.1 (colored)

merge yamt-splraiseipl branch.

	- finish implementing splraiseipl (and makeiplcookie).
	  http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
	- complete workqueue(9) and fix its ipl problem, which is reported
	  to cause audio skipping.
	- fix netbt (at least compilation problems) for some ports.
	- fix PR/33218.

Revision 1.21.6.3 / (download) - annotate - [select for diffs], Thu Sep 21 12:01:43 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.21.6.2: +2 -2 lines
Diff to previous 1.21.6.2 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored) to selected 1.21.4.1 (colored)

rename splraiseipl argument to match with the rest of ports.

Revision 1.21.6.2 / (download) - annotate - [select for diffs], Mon Sep 18 10:01:24 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.21.6.1: +1 -1 lines
Diff to previous 1.21.6.1 (colored) to branchpoint 1.21 (colored) to selected 1.21.4.1 (colored)

correct a header.

Revision 1.21.6.1 / (download) - annotate - [select for diffs], Mon Sep 18 10:00:46 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.21: +21 -3 lines
Diff to previous 1.21 (colored) to selected 1.21.4.1 (colored)

implement new api for i386 and amd64.

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:44:36 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.19: +8 -7 lines
Diff to previous 1.19 (colored) next main 1.20 (colored) to selected 1.21.4.1 (colored)

sync with head

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:16 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.21.4.1 (colored)

sync with head

Revision 1.20.10.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:06 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.21.4.1 (colored)

Merge from HEAD.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jul 4 00:30:22 2006 UTC (17 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-base, 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, matt-nb4-arm-base, matt-nb4-arm, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored) to selected 1.21.4.1 (colored)

Apply fvdl's acpi pci interrupt configuration code.
- MPACPI is no more.
- MPACPI_SCANPCI -> ACPI_SCANPCI

Revision 1.15.12.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:57:56 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.15: +5 -25 lines
Diff to previous 1.15 (colored) to selected 1.21.4.1 (colored)

sync with head.

Revision 1.19.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:09 2006 UTC (18 years ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.19: +7 -7 lines
Diff to previous 1.19 (colored) next main 1.20 (colored) to selected 1.21.4.1 (colored)

Sync with head.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:38:54 2006 UTC (18 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.19: +7 -7 lines
Diff to previous 1.19 (colored) next main 1.20 (colored) to selected 1.21.4.1 (colored)

sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Feb 16 20:17:15 2006 UTC (18 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, peter-altq-base, peter-altq, gdamore-uart-base, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-pdpolicy, gdamore-uart
Changes since 1.19: +7 -7 lines
Diff to previous 1.19 (colored) to selected 1.21.4.1 (colored)

Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:42 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.18: +8 -8 lines
Diff to previous 1.18 (colored) to selected 1.21.4.1 (colored)

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

Revision 1.5.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:00:20 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.4: +4 -24 lines
Diff to previous 1.5.2.4 (colored) next main 1.6 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD. Here we go again...

Revision 1.18 / (download) - annotate - [select for diffs], Thu Nov 3 13:06:06 2005 UTC (18 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, ktrace-lwp-base
Changes since 1.17: +3 -22 lines
Diff to previous 1.17 (colored) to selected 1.21.4.1 (colored)

- use sys/spl.h.
- add some IPL_ definitions.

Revision 1.15.14.1 / (download) - annotate - [select for diffs], Wed Nov 2 11:57:56 2005 UTC (18 years, 5 months ago) by yamt
Branch: yamt-vop
Changes since 1.15: +3 -4 lines
Diff to previous 1.15 (colored) next main 1.16 (colored) to selected 1.21.4.1 (colored)

sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Oct 29 11:07:45 2005 UTC (18 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base3
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored) to selected 1.21.4.1 (colored)

add splraiseipl().

Revision 1.16 / (download) - annotate - [select for diffs], Fri Oct 28 10:34:18 2005 UTC (18 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.15: +2 -4 lines
Diff to previous 1.15 (colored) to selected 1.21.4.1 (colored)

remove duplicated spllpt().

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Tue Nov 2 07:50:57 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.3: +5 -13 lines
Diff to previous 1.5.2.3 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Oct 31 10:39:34 2004 UTC (19 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base2, yamt-vop-base, 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, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-vop, yamt-lazymbuf
Changes since 1.14: +3 -13 lines
Diff to previous 1.14 (colored) to selected 1.21.4.1 (colored)

use __insn_barrier rather than homegrown equivalents.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Oct 23 21:24:05 2004 UTC (19 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.13: +3 -1 lines
Diff to previous 1.13 (colored) to selected 1.21.4.1 (colored)

to determine if an interrupt needs to grab the kernel lock or not,
check interrupt's own ipl rather than cpu's current ipl.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:24:30 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.2: +1 -1 lines
Diff to previous 1.5.2.2 (colored) to selected 1.21.4.1 (colored)

Fix the sync with head I botched.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:42:37 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5.2.1: +0 -0 lines
Diff to previous 1.5.2.1 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:43:04 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.5: +24 -16 lines
Diff to previous 1.5 (colored) to selected 1.21.4.1 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jun 28 09:13:12 2004 UTC (19 years, 9 months ago) by fvdl
Branch: MAIN
Changes since 1.12: +13 -8 lines
Diff to previous 1.12 (colored) to selected 1.21.4.1 (colored)

Updaing ci_ilevel and testing ci_ipending must be done with all interrupts
off, or priority inversion can occur, which can lead to IPI deadlocks.
Leaves interrupts off for a bit longer, sadly, but with no noticeable
effects on the systems I tested on.

From YAMAMOTO Takashi.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 4 19:10:10 2004 UTC (20 years, 1 month ago) by dbj
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.11: +2 -2 lines
Diff to previous 1.11 (colored) to selected 1.21.4.1 (colored)

fix comment about spllowersoftclock

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 14 11:41:27 2004 UTC (20 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.10: +2 -3 lines
Diff to previous 1.10 (colored) to selected 1.21.4.1 (colored)

spllower: lower spl before checking pending interrupts.
otherwise, interrupts happened immediately after the check might be left
pending for a while. (until the next tick in the worse case.)

Revision 1.10 / (download) - annotate - [select for diffs], Thu Oct 30 21:19:54 2003 UTC (20 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.9: +5 -2 lines
Diff to previous 1.9 (colored) to selected 1.21.4.1 (colored)

* keep track of PCI buses that aren't known by firmware, but are found
  by NetBSD
* use this info in in intr_find_mpmapping
* get rid of the last argument to intr_find_mpmapping, it was redundant

Revision 1.9 / (download) - annotate - [select for diffs], Mon Oct 27 13:43:48 2003 UTC (20 years, 5 months ago) by junyoung
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored) to selected 1.21.4.1 (colored)

Nuke __P().

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 16 22:56:29 2003 UTC (20 years, 6 months ago) by fvdl
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored) to selected 1.21.4.1 (colored)

Add hooks and structures to allow the MP table intr mapping code a
better shot at finding a mapping. For PCI interrupts, if a bus
has no mappings, try its parent, with the swizzled pin, and the
bridge's device number.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Sep 6 17:44:39 2003 UTC (20 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored) to selected 1.21.4.1 (colored)

Move the bulk of pci_intr_string into a seperate intr_string function. Use
that new function to print the pciide compat interrupt in pciide_machdep.c.
Share pciide_machdep.c between amd64 and i386.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Aug 20 21:48:46 2003 UTC (20 years, 8 months ago) by fvdl
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) to selected 1.21.4.1 (colored)

Pass pointers to frames from assembly, do not use the 'frame on stack
as argument passed by value' trick, as gcc 3.3.x makes (valid) assumptions
about the stack that will not be true. Costs 2 instructions per trap/syscall
on i386, 4 per interrupt for MP. One instruction per trap/syscall on amd64,
2 per interrupt for MP. I expect gcc 3.3.1 to make up for this by better
optimization (it'd better..)

While here, make amd64 compile again by using subr_mbr_disk.c

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jun 23 14:59:21 2003 UTC (20 years, 10 months ago) by martin
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.4: +4 -1 lines
Diff to previous 1.4 (colored) to selected 1.21.4.1 (colored)

#ifdef _KERNEL_OPT police

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jun 23 11:01:52 2003 UTC (20 years, 10 months ago) by martin
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored) to selected 1.21.4.1 (colored)

Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 16 20:01:06 2003 UTC (20 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.21.4.1 (colored)

Rename IPL_IMP -> IPL_VM.

Revision 1.2 / (download) - annotate - [select for diffs], Sun May 4 22:01:56 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored) to selected 1.21.4.1 (colored)

Block level-triggered interrupts at the ioapic if they are deferred.
Avoids interrupt storms seen on some systems. Many thanks to
Stoned Elipot for testing.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 26 21:26:10 2003 UTC (21 years, 1 month ago) by fvdl
Branch: MAIN
Diff to selected 1.21.4.1 (colored)

Move some files out of i386 into x86, so that they can be shared with
other ports.

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>