The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.60 / (download) - annotate - [select for diffs], Wed Sep 7 00:40:19 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.59: +2 -2 lines
Diff to previous 1.59 (colored) to selected 1.53.6.3 (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.59 / (download) - annotate - [select for diffs], Mon May 23 15:03:05 2022 UTC (22 months, 3 weeks ago) by bouyer
Branch: MAIN
Changes since 1.58: +4 -2 lines
Diff to previous 1.58 (colored) to selected 1.53.6.3 (colored)

Work in progress on MSI/MSI-X on Xen (MSI works on my hardware, more work
needed for MSI-X):
- Xen silently rejects 32 bits writes to MSI configuration registers
  (especially when setting PCI_MSI_CTL_MSI_ENABLE/PCI_MSIX_CTL_ENABLE),
  it expects 16 bits writes. So introduce a pci_conf_write16(),
  only available on XENPV (and working only for mode 1 without
  PCI_OVERRIDE_CONF_WRITE) and use it to enable MSI or MSI-X on XENPV.
- for multi-MSI vectors, Xen allocates all of them in a single hypercall,
  so it's not convenient to do it at intr_establish() time.
  So do it at alloc() time and register the pirqs in the msipic structure.
  xen_pic_to_gsi() now just returns the values cached in the msipic.
  As a bonus, if the PHYSDEVOP_map_pirq hypercall fails we can fail
  the alloc() and we don't need the xen_pci_msi*_probe() hacks.

options NO_PCI_MSI_MSIX still on by default for XEN3_DOM0.

Revision 1.58 / (download) - annotate - [select for diffs], Sun Jul 19 14:27:07 2020 UTC (3 years, 9 months ago) by jdolecek
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.57: +2 -1 lines
Diff to previous 1.57 (colored) to selected 1.53.6.3 (colored)

for Xen MSI, fallback to INTx when PHYSDEVOP_map_pirq fails for the device

apparently Xen requires VT-d to be enabled in BIOS for PHYSDEVOP_map_pirq
to work, this change makes it work on systems with VT-d disabled or missing

adresses the panic part of PR port-xen/55285 by Patrick Welche

Revision 1.57 / (download) - annotate - [select for diffs], Fri May 15 07:42:58 2020 UTC (3 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored) to selected 1.53.6.3 (colored)

use short for irq2port[] to save memory (4KB), it only needs to store
numbers <= NR_EVENT_CHANNELS (2048)

Revision 1.56 / (download) - annotate - [select for diffs], Thu May 14 19:36:02 2020 UTC (3 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.55: +1 -2 lines
Diff to previous 1.55 (colored) to selected 1.53.6.3 (colored)

xen_vec_alloc() is no more

Revision 1.55 / (download) - annotate - [select for diffs], Sat Apr 25 15:26:17 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.54: +5 -7 lines
Diff to previous 1.54 (colored) to selected 1.53.6.3 (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.53.6.4 / (download) - annotate - [select for diffs], Sat Apr 25 11:23:57 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.53.6.3: +4 -1 lines
Diff to previous 1.53.6.3 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

Sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.54 / (download) - annotate - [select for diffs], Tue Apr 21 19:03:51 2020 UTC (3 years, 11 months ago) by jdolecek
Branch: MAIN
CVS Tags: bouyer-xenpvh-base2
Changes since 1.53: +4 -1 lines
Diff to previous 1.53 (colored) to selected 1.53.6.3 (colored)

adjust so that this at least compiles and links with __HAVE_PCI_MSI_MSIX

Revision 1.53.6.3 / (download) - annotate - [selected], Sun Apr 19 19:39:10 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.53.6.2: +4 -3 lines
Diff to previous 1.53.6.2 (colored) to branchpoint 1.53 (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.53.6.2 / (download) - annotate - [select for diffs], Thu Apr 16 08:46:35 2020 UTC (4 years ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.53.6.1: +2 -2 lines
Diff to previous 1.53.6.1 (colored) to branchpoint 1.53 (colored) to selected 1.53.6.3 (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.53.6.1 / (download) - annotate - [select for diffs], Sun Apr 12 17:25:52 2020 UTC (4 years ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.53: +1 -4 lines
Diff to previous 1.53 (colored) to selected 1.53.6.3 (colored)

Get rid of xen-specific ci_x* interrupt handling:
- use the general SIR mechanism, reserving 3 more slots for IPL_VM, IPL_SCHED
  and IPL_HIGH
- remove specific handling from C sources, or change to ipending
- convert IPL number to SIR number in various places
- Remove XUNMASK/XPENDING in assembly or change to IUNMASK/IPENDING
- remove Xen-specific ci_xsources, ci_xmask, ci_xunmask, ci_xpending from
  struct cpu_info
- for now remove a KASSERT that there are no pending interrupts in
  idle_block(). We can get there with some software interrupts pending
  in autoconf XXX needs to be looked at.

Revision 1.46.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:59 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.46.2.1: +3 -1 lines
Diff to previous 1.46.2.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored) to selected 1.53.6.3 (colored)

Merge changes from current as of 20200406

Revision 1.53 / (download) - annotate - [select for diffs], Mon Dec 23 13:35:37 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-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.52: +3 -1 lines
Diff to previous 1.52 (colored) to selected 1.53.6.3 (colored)

Provide XEN stubs for intr_mask() / intr_unmask().

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

Sync with HEAD

Revision 1.52 / (download) - annotate - [select for diffs], Sat Feb 2 12:32:55 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.51: +3 -2 lines
Diff to previous 1.51 (colored) to selected 1.53.6.3 (colored)

Switch NetBSD/xen to use XEN api tag RELEASE-4.11.1

The headers for this api are in sys/external/mit/xen-include-public/dist/

Revision 1.45.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.45.2.2: +11 -1 lines
Diff to previous 1.45.2.2 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.51 / (download) - annotate - [select for diffs], Tue Dec 25 06:50:12 2018 UTC (5 years, 3 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226
Changes since 1.50: +4 -1 lines
Diff to previous 1.50 (colored) to selected 1.53.6.3 (colored)

Excise XEN specific code out of x86/x86/intr.c into xen/x86/xen_intr.c

While at it, separate the source function tracking so that the interrupt
paths are truly independant.

Use weak symbol exporting to provision for future PVHVM co-existence
of both files, but with independant paths. Introduce assembler code
such that in a unified scenario, native interrupts get first priority
in spllower(), followed by XEN event callbacks. IPL management and
semantics are unchanged - native handlers and xen callbacks are
expected to maintain their ipl related semantics.

In summary, after this commit, native and XEN now have completely
unrelated interrupt handling mechanisms, including
intr_establish_xname() and assembler stubs and intr handler
management.

Happy Christmas!

Revision 1.50 / (download) - annotate - [select for diffs], Mon Dec 24 14:55:42 2018 UTC (5 years, 3 months ago) by cherry
Branch: MAIN
Changes since 1.49: +8 -1 lines
Diff to previous 1.49 (colored) to selected 1.53.6.3 (colored)

Bifurcate the interrupt establish functions between XEN and non-XEN

Thus intr_establish_xname() becomes xen_intr_establish_xname() etc.

One consequence of this is that dom0 devices expect the native
function calls to be available and we thus provide weak aliasing for
dom0 builds to succeed. XEN and non-XEN devices are distinguished by
the PIC they are established on. XEN interrupts are exclusively
established on xen_pic, while dom0 interrupts are established on
natively available PICs.

This allows us an orthogonal path to xen device management (eg:
xenstore events) in XENPVHVM, without having to worry about unifying
the vector entry paths, etc., which is quite challenging.

Revision 1.45.2.2 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:30 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.45.2.1: +3 -4 lines
Diff to previous 1.45.2.1 (colored) to branchpoint 1.45 (colored) to selected 1.53.6.3 (colored)

Sync with head

Revision 1.49 / (download) - annotate - [select for diffs], Wed Oct 10 02:34:08 2018 UTC (5 years, 6 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-1126, pgoyette-compat-1020
Changes since 1.48: +1 -3 lines
Diff to previous 1.48 (colored) to selected 1.53.6.3 (colored)

Do not export the 'irq<->vector' abstraction outside of pintr.c
anymore. We now think of them as a unified thing called 'gsi',
which is generated by mpacpi/mpbios

Revision 1.48 / (download) - annotate - [select for diffs], Sun Oct 7 05:23:01 2018 UTC (5 years, 6 months ago) by cherry
Branch: MAIN
Changes since 1.47: +3 -2 lines
Diff to previous 1.47 (colored) to selected 1.53.6.3 (colored)

Switch over to a "GSI" concept for guest irqs.

On XEN there is a namespace called GSI which includes:

i) legacy_irq (0 - 16)
ii) "gsi" (16-nr_irqs_gsi)
iii) msi

We try to mirror this in guest space, but are mindful that legacy_irq
is 1:1 bound to actual hardware legacy_irq. Apart from this, XEN doesn't
really care what number scheme we use, as long as it doesn't encroach
on the MSI space, which is TBD for us.

Thus we trust the mpbios.c/mpacpi.c code to correctly map the pic,pin
tuples into the correct global gsi space, which we then register with
xen. As we now do, we allow for duplicate gsi registrations, in case
any hardware shares the same (pic,pin);

This enables us to now use the (pic,pin) tuple as the canonical reference
for device interrupt addresses, and leave any global mappings to specific
code. Thus xen_pic_to_gsi().

Note that this requires separate support for MSI, which I will get around to
once things stabilise - however the API change facilitates this nicely.

I note that the msi addroute() function does not use the "pin" parameter.
This can be made use of, to encode the gsi number, for XEN. This is however
TBD.

We further tweak the xen_vec_alloc() code to be uniform for the NIOAPICS
and other cases, and ensure that i8259.c DTRT wrt to route().

This will allow us to use pic->pic_addroute() without needing to worry about
pic specific issues.

The next step is to consolidate the pic_addroute() XEN related #ifdefs into
a -DXEN specific file, so that we don't clutter x86/ code with #ifdef XENs.

This change has functional implications, and there is likely breakage coming
especially on bespoke platforms that I haven't been able to test yet.

I am especially interested in bug reports from platforms with legacy (esp. i386)
and with multiple ioapics.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Oct 6 16:49:54 2018 UTC (5 years, 6 months ago) by cherry
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored) to selected 1.53.6.3 (colored)

Change the name of xen_pirq_alloc() to xen_vec_alloc() to reflect
its actual job.

The idea is that we will strip this down until it is as close to
idt_vec_alloc() as possible.

Revision 1.45.2.1 / (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.45: +3 -2 lines
Diff to previous 1.45 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD

Revision 1.46 / (download) - annotate - [select for diffs], Sun Jun 24 13:35:32 2018 UTC (5 years, 9 months ago) by jdolecek
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.45: +3 -2 lines
Diff to previous 1.45 (colored) to selected 1.53.6.3 (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.45 / (download) - annotate - [select for diffs], Wed Dec 13 16:30:18 2017 UTC (6 years, 4 months ago) by bouyer
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored) to selected 1.53.6.3 (colored)

Fixes for physical interrupts on Xen:
- do not cast int * to intr_handle_t *, they're not the same size
- legacy_irq is not always -1 for ioapic interrupts, test pic_type instead
- change irq2port[] to hold (port + 1) so that 0 is an invalid value
- add KASSERTs to make sure vect, port or irq values extracted from arrays are
  valid (or that they are invalid before write)
- for the !ioapic case, we still need to do PHYSDEVOP_ASSIGN_VECTOR and
  bind_pirq_to_evtch().

now XEN3_DOM0 boots again

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:51 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.34.2.1: +10 -111 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored) to selected 1.53.6.3 (colored)

update from HEAD

Revision 1.44 / (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.43: +1 -4 lines
Diff to previous 1.43 (colored) to selected 1.53.6.3 (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.43 / (download) - annotate - [select for diffs], Sat Nov 4 09:22:16 2017 UTC (6 years, 5 months ago) by cherry
Branch: MAIN
Changes since 1.42: +7 -2 lines
Diff to previous 1.42 (colored) to selected 1.53.6.3 (colored)

On XEN dom0, the function xen/x86/intr.c:xen_intr_map() is used to map
hardware interrupts to XEN callbacks called 'events'. This function
combines both the allocation and the binding.

This change is the first part of breaking up that combination into
xen_pirq_alloc() and the binding will happen as part of the
pic_addroute() callback of a new pseudo PIC_XEN

This code will be added later on.

Revision 1.35.14.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:57 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.35.14.3: +4 -110 lines
Diff to previous 1.35.14.3 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD

Revision 1.42.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.42.2.1: +85 -0 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored) to selected 1.53.6.3 (colored)

2302677

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

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

Revision 1.42 / (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.41: +4 -112 lines
Diff to previous 1.41 (colored) to selected 1.53.6.3 (colored)

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

This is towards PVHVM.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Jul 16 06:14:24 2017 UTC (6 years, 9 months ago) by cherry
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) to selected 1.53.6.3 (colored)

Remove the xen specific interrupt type for the x86 intr_handle_t
For this to work, we use the evtchn.c:get_pirq_to_evtchn() glue
function to make things easier.

Revision 1.40 / (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, 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
Changes since 1.39: +3 -1 lines
Diff to previous 1.39 (colored) to selected 1.53.6.3 (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.35.14.3 / (download) - annotate - [select for diffs], Mon Dec 5 10:54:59 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.35.14.2: +4 -3 lines
Diff to previous 1.35.14.2 (colored) to branchpoint 1.35 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:07 2016 UTC (7 years, 5 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.37: +3 -2 lines
Diff to previous 1.37 (colored) next main 1.38 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD

Revision 1.39 / (download) - annotate - [select for diffs], Mon Oct 17 18:23:50 2016 UTC (7 years, 6 months ago) by jdolecek
Branch: MAIN
CVS Tags: 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, nick-nhusb-base-20170204, nick-nhusb-base-20161204, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.38: +3 -10 lines
Diff to previous 1.38 (colored) to selected 1.53.6.3 (colored)

provide stub intr xname establish for xen

Revision 1.38 / (download) - annotate - [select for diffs], Sun Oct 16 06:40:43 2016 UTC (7 years, 6 months ago) by kre
Branch: MAIN
Changes since 1.37: +9 -1 lines
Diff to previous 1.37 (colored) to selected 1.53.6.3 (colored)


This should return the amd64 build to a working state (and hopefully
i386 as well) - but this is a hideous hack, and should be reverted
as soon as a better (which means any) alternative is available.

Revision 1.35.14.2 / (download) - annotate - [select for diffs], Sat Jul 9 20:24:59 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.35.14.1: +2 -2 lines
Diff to previous 1.35.14.1 (colored) to branchpoint 1.35 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jul 7 06:55:40 2016 UTC (7 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored) to selected 1.53.6.3 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.35.14.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:05 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.35: +4 -2 lines
Diff to previous 1.35 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD

Revision 1.36 / (download) - annotate - [select for diffs], Mon Apr 27 07:03:58 2015 UTC (8 years, 11 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, nick-nhusb-base-20150606
Changes since 1.35: +4 -2 lines
Diff to previous 1.35 (colored) to selected 1.53.6.3 (colored)

add x86 MD MSI/MSI-X support code.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:06 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.34: +1 -2 lines
Diff to previous 1.34 (colored) to selected 1.53.6.3 (colored)

resync with head

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:01 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.33.2.1: +1 -2 lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored) to selected 1.53.6.3 (colored)

sync with head

Revision 1.35 / (download) - annotate - [select for diffs], Thu Dec 27 06:42:14 2012 UTC (11 years, 3 months ago) by cherry
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, khorben-n900, agc-symver-base, agc-symver
Branch point for: nick-nhusb
Changes since 1.34: +1 -2 lines
Diff to previous 1.34 (colored) to selected 1.53.6.3 (colored)

Remove unused header evtchn.h from intr.h

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:07 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.33: +3 -4 lines
Diff to previous 1.33 (colored) to selected 1.53.6.3 (colored)

sync with head

Revision 1.33.8.1 / (download) - annotate - [select for diffs], Wed Feb 22 18:56:46 2012 UTC (12 years, 1 month ago) by riz
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, matt-nb6-plus
Changes since 1.33: +3 -4 lines
Diff to previous 1.33 (colored) next main 1.34 (colored) to selected 1.53.6.3 (colored)

Pull up following revision(s) (requested by bouyer in ticket #29):
	sys/arch/xen/x86/x86_xpmap.c: revision 1.39
	sys/arch/xen/include/hypervisor.h: revision 1.37
	sys/arch/xen/include/intr.h: revision 1.34
	sys/arch/xen/x86/xen_ipi.c: revision 1.10
	sys/arch/x86/x86/cpu.c: revision 1.97
	sys/arch/x86/include/cpu.h: revision 1.48
	sys/uvm/uvm_map.c: revision 1.315
	sys/arch/x86/x86/pmap.c: revision 1.165
	sys/arch/xen/x86/cpu.c: revision 1.81
	sys/arch/x86/x86/pmap.c: revision 1.167
	sys/arch/xen/x86/cpu.c: revision 1.82
	sys/arch/x86/x86/pmap.c: revision 1.168
	sys/arch/xen/x86/xen_pmap.c: revision 1.17
	sys/uvm/uvm_km.c: revision 1.122
	sys/uvm/uvm_kmguard.c: revision 1.10
	sys/arch/x86/include/pmap.h: revision 1.50
Apply patch proposed in PR port-xen/45975 (this does not solve the exact
problem reported here but is part of the solution):
xen_kpm_sync() is not working as expected,
leading to races between CPUs.
1 the check (xpq_cpu != &x86_curcpu) is always false because we
  have different x86_curcpu symbols with different addresses in the kernel.
  Fortunably, all addresses dissaemble to the same code.
  Because of this we always use the code intended for bootstrap, which doesn't
  use cross-calls or lock.
2 once 1 above is fixed, xen_kpm_sync() will use xcalls to sync other CPUs,
  which cause it to sleep and pmap.c doesn't like that. It triggers this
  KASSERT() in pmap_unmap_ptes():
  KASSERT(pmap->pm_ncsw == curlwp->l_ncsw);
3 pmap->pm_cpus is not safe for the purpose of xen_kpm_sync(), which
  needs to know on which CPU a pmap is loaded *now*:
  pmap->pm_cpus is cleared before cpu_load_pmap() is called to switch
  to a new pmap, leaving a window where a pmap is still in a CPU's
  ci_kpm_pdir but not in pm_cpus. As a virtual CPU may be preempted
  by the hypervisor at any time, it can be large enough to let another
  CPU free the PTP and reuse it as a normal page.
To fix 2), avoid cross-calls and IPIs completely, and instead
use a mutex to update all CPU's ci_kpm_pdir from the local CPU.
It's safe because we just need to update the table page, a tlbflush IPI will
happen later. As a side effect, we don't need a different code for bootstrap,
fixing 1). The mutex added to struct cpu needs a small headers reorganisation.
to fix 3), introduce a pm_xen_ptp_cpus which is updated from
cpu_pmap_load(), whith the ci_kpm_mtx mutex held. Checking it with
ci_kpm_mtx held will avoid overwriting the wrong pmap's ci_kpm_pdir.
While there I removed the unused pmap_is_active() function;
and added some more details to DIAGNOSTIC panics.
When using uvm_km_pgremove_intrsafe() make sure mappings are removed
before returning the pages to the free pool. Otherwise, under Xen,
a page which still has a writable mapping could be allocated for
a PDP by another CPU and the hypervisor would refuse it (this is
PR port-xen/45975).
For this, move the pmap_kremove() calls inside uvm_km_pgremove_intrsafe(),
and do pmap_kremove()/uvm_pagefree() in batch of (at most) 16 entries
(as suggested by Chuck Silvers on tech-kern@, see also
http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012727.html and
followups).
Avoid early use of xen_kpm_sync(); locks are not available at this time.
Don't call cpu_init() twice.
Makes LOCKDEBUG kernels boot again
Revert pmap_pte_flush() -> xpq_flush_queue() in previous.

Revision 1.33.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:38 2012 UTC (12 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.33: +3 -4 lines
Diff to previous 1.33 (colored) next main 1.34 (colored) to selected 1.53.6.3 (colored)

merge to -current.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Feb 17 18:40:19 2012 UTC (12 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, 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
Branch point for: tls-maxphys
Changes since 1.33: +3 -4 lines
Diff to previous 1.33 (colored) to selected 1.53.6.3 (colored)

Apply patch proposed in PR port-xen/45975 (this does not solve the exact
problem reported here but is part of the solution):
xen_kpm_sync() is not working as expected,
leading to races between CPUs.
1 the check (xpq_cpu != &x86_curcpu) is always false because we
  have different x86_curcpu symbols with different addresses in the kernel.
  Fortunably, all addresses dissaemble to the same code.
  Because of this we always use the code intended for bootstrap, which doesn't
  use cross-calls or lock.

2 once 1 above is fixed, xen_kpm_sync() will use xcalls to sync other CPUs,
  which cause it to sleep and pmap.c doesn't like that. It triggers this
  KASSERT() in pmap_unmap_ptes():
  KASSERT(pmap->pm_ncsw == curlwp->l_ncsw);
3 pmap->pm_cpus is not safe for the purpose of xen_kpm_sync(), which
  needs to know on which CPU a pmap is loaded *now*:
  pmap->pm_cpus is cleared before cpu_load_pmap() is called to switch
  to a new pmap, leaving a window where a pmap is still in a CPU's
  ci_kpm_pdir but not in pm_cpus. As a virtual CPU may be preempted
  by the hypervisor at any time, it can be large enough to let another
  CPU free the PTP and reuse it as a normal page.

To fix 2), avoid cross-calls and IPIs completely, and instead
use a mutex to update all CPU's ci_kpm_pdir from the local CPU.
It's safe because we just need to update the table page, a tlbflush IPI will
happen later. As a side effect, we don't need a different code for bootstrap,
fixing 1). The mutex added to struct cpu needs a small headers reorganisation.

to fix 3), introduce a pm_xen_ptp_cpus which is updated from
cpu_pmap_load(), whith the ci_kpm_mtx mutex held. Checking it with
ci_kpm_mtx held will avoid overwriting the wrong pmap's ci_kpm_pdir.

While there I removed the unused pmap_is_active() function;
and added some more details to DIAGNOSTIC panics.

Revision 1.29.12.3 / (download) - annotate - [select for diffs], Sat Aug 27 15:37:31 2011 UTC (12 years, 7 months ago) by jym
Branch: jym-xensuspend
Changes since 1.29.12.2: +11 -5 lines
Diff to previous 1.29.12.2 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored) to selected 1.53.6.3 (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.31.10.4 / (download) - annotate - [select for diffs], Wed Aug 17 09:40:39 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.31.10.3: +9 -14 lines
Diff to previous 1.31.10.3 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored) to selected 1.53.6.3 (colored)

Pullup relevant changes from -current

Revision 1.33 / (download) - annotate - [select for diffs], Thu Aug 11 17:58:59 2011 UTC (12 years, 8 months ago) by cherry
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, netbsd-6, jmcneill-usbmp
Changes since 1.32: +5 -5 lines
Diff to previous 1.32 (colored) to selected 1.53.6.3 (colored)

Make event/interrupt handling MP aware

Revision 1.32 / (download) - annotate - [select for diffs], Wed Aug 10 11:39:45 2011 UTC (12 years, 8 months ago) by cherry
Branch: MAIN
Changes since 1.31: +10 -4 lines
Diff to previous 1.31 (colored) to selected 1.53.6.3 (colored)

xen ipi infrastructure

Revision 1.31.10.3 / (download) - annotate - [select for diffs], Thu Aug 4 09:07:46 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.31.10.2: +2 -7 lines
Diff to previous 1.31.10.2 (colored) to branchpoint 1.31 (colored) to selected 1.53.6.3 (colored)

first cut at per-cpu event handling

Revision 1.31.10.2 / (download) - annotate - [select for diffs], Sun Jun 26 12:56:32 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.31.10.1: +7 -1 lines
Diff to previous 1.31.10.1 (colored) to branchpoint 1.31 (colored) to selected 1.53.6.3 (colored)

Unbreak uniprocessor build

Revision 1.31.10.1 / (download) - annotate - [select for diffs], Fri Jun 3 13:27:40 2011 UTC (12 years, 10 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.31: +18 -8 lines
Diff to previous 1.31 (colored) to selected 1.53.6.3 (colored)

Initial import of xen MP sources, with kernel and userspace tests.
 - this is a source priview.
 - boots to single user.
 - spurious interrupt and pmap related panics are normal

Revision 1.29.12.2 / (download) - annotate - [select for diffs], Sun Nov 1 13:58:45 2009 UTC (14 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.29.12.1: +1 -3 lines
Diff to previous 1.29.12.1 (colored) to branchpoint 1.29 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD.

Revision 1.26.2.3 / (download) - annotate - [select for diffs], Wed Aug 19 18:46:53 2009 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.26.2.2: +1 -3 lines
Diff to previous 1.26.2.2 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored) to selected 1.53.6.3 (colored)

sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jul 29 12:02:06 2009 UTC (14 years, 8 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, 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, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-premerge-20091211, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.30: +1 -3 lines
Diff to previous 1.30 (colored) to selected 1.53.6.3 (colored)

remove Xen2 support.
ok bouyer@

Revision 1.29.12.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:50 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD.

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

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:12 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.26.2.1: +3 -10 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored) to selected 1.53.6.3 (colored)

sync with head.

Revision 1.29.6.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:01 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Mar 27 15:47:33 2009 UTC (15 years ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base
Changes since 1.29: +2 -1 lines
Diff to previous 1.29 (colored) to selected 1.53.6.3 (colored)

Explicitly #include <sys/device.h> and <sys/evcnt.h>.  These files only
got the definitions they needed by chance, before.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:51 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.27: +2 -10 lines
Diff to previous 1.27 (colored) next main 1.28 (colored) to selected 1.53.6.3 (colored)

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

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:04 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.24.2.1: +2 -10 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored) to selected 1.53.6.3 (colored)

sync with head

Revision 1.23.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:53 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.23: +13 -18 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD.

Revision 1.29 / (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, nick-hppapmap-base2, 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.28: +2 -2 lines
Diff to previous 1.28 (colored) to selected 1.53.6.3 (colored)

Add a 'known_mpsafe' argument to intr_establish().

Revision 1.28 / (download) - annotate - [select for diffs], Sat May 24 15:10:50 2008 UTC (15 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.27: +1 -9 lines
Diff to previous 1.27 (colored) to selected 1.53.6.3 (colored)

G/C dead code: remove now-unused softintr-related code.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:05 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.24: +11 -8 lines
Diff to previous 1.24 (colored) to selected 1.53.6.3 (colored)

sync with head.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:29 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.26: +1 -8 lines
Diff to previous 1.26 (colored) to selected 1.53.6.3 (colored)

sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:40 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.26: +1 -8 lines
Diff to previous 1.26 (colored) to selected 1.53.6.3 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.26 / (download) - annotate - [select for diffs], Fri Apr 25 13:26:27 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.25: +5 -1 lines
Diff to previous 1.25 (colored) to selected 1.53.6.3 (colored)

Include null IPI functions if !MULTIPROCESSOR.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Apr 19 13:46:12 2008 UTC (16 years ago) by cegger
Branch: MAIN
Changes since 1.24: +7 -1 lines
Diff to previous 1.24 (colored) to selected 1.53.6.3 (colored)

Use interrupt biglock wrapper as in x86/x86/intr.c
This change is based on http://mail-index.netbsd.org/port-amd64/2004/02/22/0000.html
OK bouyer

Revision 1.24 / (download) - annotate - [select for diffs], Mon Apr 14 13:38:03 2008 UTC (16 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored) to selected 1.53.6.3 (colored)

- use POSIX integer types
- ansify functions

Revision 1.16.10.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:29 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.16.10.2: +4 -9 lines
Diff to previous 1.16.10.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored) to selected 1.53.6.3 (colored)

sync with HEAD

Revision 1.3.2.8 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:29 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.7: +3 -3 lines
Diff to previous 1.3.2.7 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.53.6.3 (colored)

sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Feb 19 19:50:53 2008 UTC (16 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) to selected 1.53.6.3 (colored)

The event bitmasks provided by the hypervisor are unsigned long (so 64bits
on amd64). Make sure to use the right type to store and manipulate them.
This fixes amd64, where basically any event channel > 31 was not working
(and you get there after starting/stopping a domU a few times). Things
would occasionally unwedge though the spllower() callbacks.

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:20 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.18.2.1: +2 -9 lines
Diff to previous 1.18.2.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD.

Revision 1.3.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:40:25 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.6: +2 -9 lines
Diff to previous 1.3.2.6 (colored) to branchpoint 1.3 (colored) to selected 1.53.6.3 (colored)

sync with head

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jan 11 20:00:34 2008 UTC (16 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: mjf-devfs-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.21: +1 -6 lines
Diff to previous 1.21 (colored) to selected 1.53.6.3 (colored)

Merge the bouyer-xeni386 branch to head, at tag bouyer-xeni386-merge1 (the
branch is still active and will see i386PAE support developement).
Sumary of changes:
- switch xeni386 to the x86/x86/pmap.c, and the xen/x86/x86_xpmap.c
  pmap bootstrap.
- merge back most of xen/i386/ to i386/i386
- change the build to reduce diffs between i386 and amd64 in file locations
- remove include files that were identical to the i386/amd64 counterparts,
  the build will find them via the xen-ma/machine link.

Revision 1.16.10.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:50:07 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.16.10.1: +7 -59 lines
Diff to previous 1.16.10.1 (colored) to branchpoint 1.16 (colored) to selected 1.53.6.3 (colored)

sync with HEAD

Revision 1.20.6.3 / (download) - annotate - [select for diffs], Sun Jan 6 18:27:56 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.20.6.2: +0 -5 lines
Diff to previous 1.20.6.2 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored) to selected 1.53.6.3 (colored)

Remove unused splsoftxenevt()

Revision 1.20.6.2 / (download) - annotate - [select for diffs], Sat Jan 5 23:39:48 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.20.6.1: +1 -1 lines
Diff to previous 1.20.6.1 (colored) to branchpoint 1.20 (colored) to selected 1.53.6.3 (colored)

Remove files that just include the x86 counterpart.

Revision 1.20.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:51:31 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.20: +1 -3 lines
Diff to previous 1.20 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:43:00 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.20: +1 -3 lines
Diff to previous 1.20 (colored) next main 1.21 (colored) to selected 1.53.6.3 (colored)

Sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Dec 26 11:51:13 2007 UTC (16 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: vmlocking2-base3, matt-armv6-base
Changes since 1.20: +1 -3 lines
Diff to previous 1.20 (colored) to selected 1.53.6.3 (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.16.8.3 / (download) - annotate - [select for diffs], Sun Dec 9 19:36:31 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.16.8.2: +3 -53 lines
Diff to previous 1.16.8.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:18:21 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.18: +7 -57 lines
Diff to previous 1.18 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD.

Revision 1.3.2.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:27:10 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.5: +7 -57 lines
Diff to previous 1.3.2.5 (colored) to branchpoint 1.3 (colored) to selected 1.53.6.3 (colored)

sync with head

Revision 1.15.6.3 / (download) - annotate - [select for diffs], Mon Dec 3 18:40:35 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.15.6.2: +7 -57 lines
Diff to previous 1.15.6.2 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Dec 3 15:34:29 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, cube-autoconf
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.19: +3 -53 lines
Diff to previous 1.19 (colored) to selected 1.53.6.3 (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.16.8.2 / (download) - annotate - [select for diffs], Tue Nov 27 19:36:07 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.16.8.1: +5 -5 lines
Diff to previous 1.16.8.1 (colored) to branchpoint 1.16 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Nov 22 16:16:57 2007 UTC (16 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 (colored) to selected 1.53.6.3 (colored)

Pull up the bouyer-xenamd64 branch to HEAD. This brings in amd64 support
to NetBSD/Xen, both Dom0 and DomU.

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

sync with HEAD

Revision 1.3.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:29:12 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.4: +4 -1 lines
Diff to previous 1.3.2.4 (colored) to branchpoint 1.3 (colored) to selected 1.53.6.3 (colored)

sync with head.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Wed Oct 17 21:08:18 2007 UTC (16 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.53.6.3 (colored)

Prepare for xenamd64:
- kill xen/i386/identcpu.c, use i386/i386/identcpu.c instead (with a few
  #ifndef XEN)
- move some files that can be shared between i386 and amd64 from
  xen/i386 to xen/x86 (or to xen/xen for non-cpu-specific code)
- split assembly out of xen/include/hypervisor.h to xen/include/hypercalls.h
- use <xen/...> instead of <machine/...> for cpu-independant include files.

more work needed here, i386-specific files should got out of arch/xen to
arch/xeni386, and more code shared with arch/i386.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Oct 17 19:58:29 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.17: +1 -1 lines
Diff to previous 1.17 (colored) to selected 1.53.6.3 (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.15.6.2 / (download) - annotate - [select for diffs], Tue Oct 9 13:38:52 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.15.6.1: +4 -1 lines
Diff to previous 1.15.6.1 (colored) to branchpoint 1.15 (colored) to selected 1.53.6.3 (colored)

Sync with head.

Revision 1.16.12.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:33:47 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.16: +4 -1 lines
Diff to previous 1.16 (colored) next main 1.17 (colored) to selected 1.53.6.3 (colored)

sync with head.

Revision 1.15.14.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:26:04 2007 UTC (16 years, 6 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.15.14.1: +4 -1 lines
Diff to previous 1.15.14.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD

Revision 1.16.8.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:27:58 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.16: +4 -1 lines
Diff to previous 1.16 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Sep 26 19:48:44 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, ppcoea-renovation-base
Branch point for: bouyer-xenamd64
Changes since 1.16: +4 -1 lines
Diff to previous 1.16 (colored) to selected 1.53.6.3 (colored)

x86 changes for pcc and LKMs.

- Replace most inline assembly with proper functions. As a side effect
  this reduces the size of amd64 GENERIC by about 120kB, and i386 by a
  smaller amount. Nearly all of the inlines did something slow, or something
  that does not need to be fast.
- Make curcpu() and curlwp functions proper, unless __GNUC__ && _KERNEL.
  In that case make them inlines. Makes curlwp LKM and preemption safe.
- Make bus_space and bus_dma more LKM friendly.
- Share a few more files between the ports.
- Other minor changes.

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:31:35 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.3: +5 -75 lines
Diff to previous 1.3.2.3 (colored) to branchpoint 1.3 (colored) to selected 1.53.6.3 (colored)

sync with head.

Revision 1.15.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:03:34 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.15: +5 -75 lines
Diff to previous 1.15 (colored) next main 1.16 (colored) to selected 1.53.6.3 (colored)

Sync with head.

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Sun May 27 14:27:09 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.15: +5 -75 lines
Diff to previous 1.15 (colored) to selected 1.53.6.3 (colored)

Sync with head.

Revision 1.15.14.1 / (download) - annotate - [select for diffs], Tue May 22 17:27:53 2007 UTC (16 years, 11 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.15: +5 -75 lines
Diff to previous 1.15 (colored) to selected 1.53.6.3 (colored)

Update to HEAD.

Revision 1.16 / (download) - annotate - [select for diffs], Thu May 17 14:51:36 2007 UTC (16 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Changes since 1.15: +5 -75 lines
Diff to previous 1.15 (colored) to selected 1.53.6.3 (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.15.2.1 / (download) - annotate - [select for diffs], Mon Mar 26 09:51:33 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.15: +5 -75 lines
Diff to previous 1.15 (colored) next main 1.16 (colored) to selected 1.53.6.3 (colored)

adapt xen.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:55 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.2: +1 -6 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored) to selected 1.53.6.3 (colored)

sync with head.

Revision 1.15 / (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.14: +1 -6 lines
Diff to previous 1.14 (colored) to selected 1.53.6.3 (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.11.8.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:01:02 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.11.8.1: +20 -2 lines
Diff to previous 1.11.8.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.53.6.3 (colored)

Sync with head.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:25 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.2.1: +30 -3 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) to selected 1.53.6.3 (colored)

sync with head.

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

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

Revision 1.13 / (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.12: +20 -2 lines
Diff to previous 1.12 (colored) to selected 1.53.6.3 (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.11.8.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:39 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.11: +11 -2 lines
Diff to previous 1.11 (colored) to selected 1.53.6.3 (colored)

Sync with head.

Revision 1.11.10.3 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:20 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.11.10.2: +11 -2 lines
Diff to previous 1.11.10.2 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored) to selected 1.53.6.3 (colored)

sync with head

Revision 1.12 / (download) - annotate - [select for diffs], Thu Sep 28 18:53:15 2006 UTC (17 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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
Changes since 1.11: +11 -2 lines
Diff to previous 1.11 (colored) to selected 1.53.6.3 (colored)

Add Xen3 support for ACPI and/or MPBIOS + IOAPIC. To help with this, physical
CPUs are now configured on mainbus only in dom0, and only to know about
their APIC id. virtual CPUs are attached to hypervisor as:
vcpu* at hypervisor?
and this is what's used as curcpu(). The kernel config files needs to be
updated for this, see XEN3_DOM0 or XEN3_DOMU for examples.
XEN3_DOM0 now has acpi, MPBIOS and ioapic by default.
Note that a Xen dom0 kernel doens't have access to the lapic.

Revision 1.11.10.2 / (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.11.10.1: +2 -2 lines
Diff to previous 1.11.10.1 (colored) to branchpoint 1.11 (colored) to selected 1.53.6.3 (colored)

rename splraiseipl argument to match with the rest of ports.

Revision 1.11.10.1 / (download) - annotate - [select for diffs], Mon Sep 18 10:03:31 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.11: +20 -2 lines
Diff to previous 1.11 (colored) to selected 1.53.6.3 (colored)

implement new api for xen.

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:44:56 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.8: +16 -7 lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.53.6.3 (colored)

sync with head

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:58:15 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3: +14 -27 lines
Diff to previous 1.3 (colored) to selected 1.53.6.3 (colored)

sync with head.

Revision 1.8.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:35:36 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.8.6.1: +6 -6 lines
Diff to previous 1.8.6.1 (colored) next main 1.9 (colored) to selected 1.53.6.3 (colored)

Sync with head.

Revision 1.9.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:48:25 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.9: +10 -1 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.53.6.3 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Wed May 24 10:57:20 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.9.2.1: +6 -6 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.53.6.3 (colored)

sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Mon May 15 20:57:53 2006 UTC (17 years, 11 months ago) by dogcow
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.10: +6 -6 lines
Diff to previous 1.10 (colored) to selected 1.53.6.3 (colored)

For whatever reason, GCC4 really really wants extern struct decls to be
after the struct is defined.

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:11 2006 UTC (18 years ago) by simonb
Branch: simonb-timecounters
Changes since 1.8: +16 -7 lines
Diff to previous 1.8 (colored) to selected 1.53.6.3 (colored)

Sync with head.

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 02:34:03 2006 UTC (18 years ago) by elad
Branch: elad-kernelauth
Changes since 1.9: +10 -1 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.53.6.3 (colored)

sync with head - hopefully this will work

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Tue Apr 11 11:53:48 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.9: +10 -1 lines
Diff to previous 1.9 (colored) to selected 1.53.6.3 (colored)

sync with head

Revision 1.10 / (download) - annotate - [select for diffs], Sun Apr 9 19:28:01 2006 UTC (18 years ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, elad-kernelauth-base
Changes since 1.9: +10 -1 lines
Diff to previous 1.9 (colored) to selected 1.53.6.3 (colored)

Add support for ACPI in xen-3 dom0 support. We can now boot a xen-3 dom0
kernel with a default xen comamnd line.

Revision 1.8.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.8: +7 -7 lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.53.6.3 (colored)

sync with head.

Revision 1.9 / (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-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.8: +7 -7 lines
Diff to previous 1.8 (colored) to selected 1.53.6.3 (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.8 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:48 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.7: +8 -8 lines
Diff to previous 1.7 (colored) to selected 1.53.6.3 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:48 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored) to selected 1.53.6.3 (colored)

merge ktrace-lwp.

Revision 1.1.4.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:00:34 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.4.4: +269 -4 lines
Diff to previous 1.1.4.4 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD. Here we go again...

Revision 1.6 / (download) - annotate - [select for diffs], Thu Nov 3 13:06:07 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.5: +2 -22 lines
Diff to previous 1.5 (colored) to selected 1.53.6.3 (colored)

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

Revision 1.3.4.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.3: +3 -4 lines
Diff to previous 1.3 (colored) next main 1.4 (colored) to selected 1.53.6.3 (colored)

sync with head.

Revision 1.5 / (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.4: +2 -1 lines
Diff to previous 1.4 (colored) to selected 1.53.6.3 (colored)

add splraiseipl().

Revision 1.4 / (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.3: +2 -4 lines
Diff to previous 1.3 (colored) to selected 1.53.6.3 (colored)

remove duplicated spllpt().

Revision 1.1.12.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:29 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.1: +291 -4 lines
Diff to previous 1.1 (colored) next main 1.2 (colored) to selected 1.53.6.3 (colored)

sync with -current

Revision 1.1.18.2 / (download) - annotate - [select for diffs], Thu Apr 28 10:18:56 2005 UTC (18 years, 11 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.1.18.1: +289 -9 lines
Diff to previous 1.1.18.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.53.6.3 (colored)

Pull up revision 1.3 (requested by bouyer in ticket #192):
Get rid of the event to pseudo-irq mapping. We are limited to 32 pseudo-irq,
including soft interrupt, and this is way too low in some use (lots of domains,
or domains with lots of xennet, or even hardware with lots of devices at
different interrupts).
Based on idea from YAMAMOTO Takashi, keep one list of handler per-event and
one per-IPL (so the same handler is now in 2 lists). In the common case were
an event is received at low IPL, we can call the handlers quickly (there
is usually only one handler per event, unless the event is mapped to a
physical interrupt and this interrupt is shared by different devices).
Deffered events and software interrupts are handled by a bitmask (as before)
with one bit per IPL. When one IPL has an event pending all handlers for
this IPL will be called.
With this change, it is now possible to have all the 1024 events active.
While here, handle debug event in a special way: the handler is always called,
regardless of the current IPL. Make the handler print usefull informations
about events and IPL states.
Also remove code not used on Xen in files inherited from the x86 port.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Apr 16 22:49:37 2005 UTC (19 years ago) by bouyer
Branch: MAIN
CVS Tags: yamt-vop-base2, yamt-vop-base, thorpej-vnode-attr-base, thorpej-vnode-attr, kent-audio2-base
Branch point for: yamt-vop, yamt-lazymbuf
Changes since 1.2: +290 -10 lines
Diff to previous 1.2 (colored) to selected 1.53.6.3 (colored)

Get rid of the event to pseudo-irq mapping. We are limited to 32 pseudo-irq,
including soft interrupt, and this is way too low in some use (lots of domains,
or domains with lots of xennet, or even hardware with lots of devices at
different interrupts).
Based on idea from YAMAMOTO Takashi, keep one list of handler per-event and
one per-IPL (so the same handler is now in 2 lists). In the common case were
an event is received at low IPL, we can call the handlers quickly (there
is usually only one handler per event, unless the event is mapped to a
physical interrupt and this interrupt is shared by different devices).
Deffered events and software interrupts are handled by a bitmask (as before)
with one bit per IPL. When one IPL has an event pending all handlers for
this IPL will be called.
With this change, it is now possible to have all the 1024 events active.

While here, handle debug event in a special way: the handler is always called,
regardless of the current IPL. Make the handler print usefull informations
about events and IPL states.
Also remove code not used on Xen in files inherited from the x86 port.

Revision 1.1.18.1 / (download) - annotate - [select for diffs], Wed Apr 13 21:38:38 2005 UTC (19 years ago) by tron
Branch: netbsd-3
Changes since 1.1: +8 -1 lines
Diff to previous 1.1 (colored) to selected 1.53.6.3 (colored)

Pull up revision 1.2 (requested by yamt in ticket #146):
fix a bug which corrupts runqueue.
when dealing with events, which are handed to xenevt pseudo device,
don't call wakeup(9)/selnotify(9) at too high IPL.  PR/29792.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Apr 11 12:10:31 2005 UTC (19 years ago) by yamt
Branch: MAIN
Changes since 1.1: +8 -1 lines
Diff to previous 1.1 (colored) to selected 1.53.6.3 (colored)

fix a bug which corrupts runqueue.
when dealing with events, which are handed to xenevt pseudo device,
don't call wakeup(9)/selnotify(9) at too high IPL.  PR/29792.

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

Fix the sync with head I botched.

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:42:53 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.4.2: +1 -1 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:43:11 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.4.1: +18 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) to selected 1.53.6.3 (colored)

Sync with HEAD

Revision 1.1.4.1, Thu Mar 11 21:44:08 2004 UTC (20 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.1: +0 -18 lines
FILE REMOVED

file intr.h was added on branch ktrace-lwp on 2004-08-03 10:43:11 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Thu Mar 11 21:44:08 2004 UTC (20 years, 1 month ago) by cl
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, 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, kent-audio1-beforemerge, kent-audio1-base, kent-audio1, bouyer-xen2-base, bouyer-xen2
Branch point for: netbsd-3, ktrace-lwp, kent-audio2
Diff to selected 1.53.6.3 (colored)

Add port to the Xen virtual machine monitor.
(see http://www.cl.cam.ac.uk/Research/SRG/netos/xen/)

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>