freebsd-src/sys
Marius Strobl 7439368f60 o Revamp the sparc64 interrupt code in order to be able to interface
with the INTR_FILTER-enabled MI code. Basically this consists of
  registering an interrupt controller (of which there can be multiple
  and optionally different ones either per host-to-foo bridge or shared
  amongst host-to-foo bridges in any one machine) along with an interrupt
  vector as specific argument for all the interrupt vectors used by a
  given host-to-foo bridge (roughly similar to registering interrupt
  sources on amd64 and i386), providing functions to enable, clear and
  disable the interrupts of the children beneath the bridge.
  This also includes:
  - No longer entering a critical section in tl0_intr() and tl1_intr()
    for executing interrupt handlers but rather let the handlers enter
    it themselves so in the case of intr_event_handle() we don't enter
    a nested critical section.
  - Adding infrastructure for binding delivery of interrupt vectors to
    specific CPUs which later on can be interfaced with the code from
    amd64/i386 for binding interrupts to specific CPUs.
  - Getting rid of the wrapper hack introduced along the lines of the
    API changes for INTR_FILTER which as a side-effect caused interrupts
    associated with ithread handlers only to get the elevated priority
    of those associated with filters ("fast handlers") (this removes the
    hack also in the non-INTR_FILTER case).
  - Disabling (by not clearing) an interrupt in the interrupt controller
    until all associated handlers have been executed, which is crucial
    for the typical locking strategy of NIC drivers in order to work
    correctly in case of shared interrupts. This was a more or less
    theoretical problem on sparc64 though, as shared interrupts are
    rather uncommon there except for the on-board SCCs and UARTs.
  Note that due to the behavior of at least of some of the interrupt
  controllers used on sparc64 an enable+EOI instead of a disable+EOI
  approach (as implied by the INTR_FILTER MI code and implemented on
  other architectures) is used as the latter can cause lost interrupts
  or in the worst case interrupt starvation.
o Correct a typo in sbus_alloc_resource() which caused (pass-through)
  allocations to only work down to the grandchildren of the bus, which
  wasn't a real problem so far as we don't support any devices which are
  great-grandchildren or greater of a U2S bridge, yet.
o In fhc(4) use bus_{read,write}_4() instead of bus_space_{read,write}_4()
  in order to get rid of sc_bh and sc_bt in the fhc_softc. Also get rid
  of some other unneeded members in fhc_softc.

Reviewed by:	marcel (earlier version)
Approved by:	re (kensmith)
2007-09-06 19:16:30 +00:00
..
amd64 Regenerate. 2007-08-28 12:36:23 +00:00
arm There's no need to re-read PCIR_COMMAND once we set it. 2007-09-04 18:45:27 +00:00
boot Don't pass RB_BOOTINFO to the kernel. There's no bootinfo actually 2007-08-17 18:22:31 +00:00
bsm
cam
cddl Use CTLFLAG_RDTUN for tunable sysctls. 2007-09-01 06:23:42 +00:00
compat Rework the routines to convert a 5.x+ statfs structure (with fixed-size 2007-08-28 20:28:12 +00:00
conf Add a driver for the on-die digital thermal sensor found on Intel Core 2007-08-15 19:26:03 +00:00
contrib Use CTLFLAG_RDTUN for tunable sysctls. 2007-09-01 06:23:42 +00:00
crypto
ddb
dev Add missing bg scanning bits; update ic_lastdata and cancel any 2007-09-05 23:40:59 +00:00
fs Fix races in msdosfs_lookup() and msdosfs_readdir(). These functions 2007-08-31 22:29:55 +00:00
gdb
geom Add support for Camellia encryption algorithm. 2007-09-01 06:33:02 +00:00
gnu Some times ago, vfs_getopts() was changed, so that it would set error to 2007-08-20 15:33:22 +00:00
i4b
i386 Fix a kernel panic due to a NULL pointer access on pc98. 2007-09-01 12:18:28 +00:00
ia64
isa
kern In userland_sysctl(), call useracc() with the actual newlen value to be 2007-09-02 09:59:33 +00:00
libkern
modules This is an update to the new Intel 10G 82598 driver. 2007-09-04 02:31:35 +00:00
net Show the ACTIVE flag in ifconfig for the single interface that is actaully 2007-08-30 19:12:10 +00:00
net80211 oops, add missing bit from last change 2007-09-06 00:08:02 +00:00
netatalk
netatm
netgraph Return EADDRNOTAVAIL instead of EDESTADDRREQ error when 2007-08-23 16:55:22 +00:00
netinet Repair ALTQ-tagging rules in IPFW which got broken in the last PF 2007-08-29 19:34:28 +00:00
netinet6 - During shutdown pending, when the last sack came in and 2007-08-27 05:19:48 +00:00
netipsec Remove the now-unused NET_{LOCK,UNLOCK,ASSERT}_GIANT() macros, which 2007-08-06 14:26:03 +00:00
netipx
netnatm
netncp
netsmb
nfs
nfs4client
nfsclient Remove the now-unused NET_{LOCK,UNLOCK,ASSERT}_GIANT() macros, which 2007-08-06 14:26:03 +00:00
nfsserver Remove the now-unused NET_{LOCK,UNLOCK,ASSERT}_GIANT() macros, which 2007-08-06 14:26:03 +00:00
opencrypto
pc98
pccard
pci Remove the now-unused NET_{LOCK,UNLOCK,ASSERT}_GIANT() macros, which 2007-08-06 14:26:03 +00:00
powerpc Revamp the interrupt handling in support of INTR_FILTER. This includes: 2007-08-11 19:25:32 +00:00
rpc Remove the now-unused NET_{LOCK,UNLOCK,ASSERT}_GIANT() macros, which 2007-08-06 14:26:03 +00:00
security Remove the now-unused NET_{LOCK,UNLOCK,ASSERT}_GIANT() macros, which 2007-08-06 14:26:03 +00:00
sparc64 o Revamp the sparc64 interrupt code in order to be able to interface 2007-09-06 19:16:30 +00:00
sun4v
sys Rework the routines to convert a 5.x+ statfs structure (with fixed-size 2007-08-28 20:28:12 +00:00
tools
ufs
vm Do not drop vm_map lock between doing vm_map_remove() and vm_map_insert(). 2007-08-20 12:05:45 +00:00
Makefile