Home | History | Annotate | Download | only in sableio
History log of /src/sys/arch/alpha/sableio/fdc_sableio.c
RevisionDateAuthorComments
 1.17  07-May-2021  thorpej Liberally sprinkle static around to get more symbols out of the
global namespace. A small bit of const poisoning in the TC code.
 1.16  22-Sep-2020  thorpej branches: 1.16.6;
Changes to make MPSAFE interrupts work on Alpha:

- Remove the ipl argument to scb_set() and the associated array of
"mpsafe" booleans initialized based on the ipl. It was bogus
anyway; all IPL_{BIO,NET,TTY}, etc. values are aliases of IPL_VM,
and for all practical purposes, there is really only one device
interrrupt level on Alpha anyway. Intead, we now treat all dispatches
from the SCB vector table as MP-safe, and it is now the handler for
that vector who is responsible for acquiring the KERNEL_LOCK if needed.

- Update the direct interrupt vector handlers in jensenio and TURBOchannel
to acquire the KERNEL_LOCK.

- Introduce a new ALPHA_INTR_MPSAFE flag, and add a flags argument to
alpha_shared_intr_establish(). When it is set, indicate that the
handler is MP-safe. Update alpha_shared_intr_dispatch() to pay
attention and acquire the KERNEL_LOCK (or not) as indicated.

- Re-factor all of the PCI interrupt handling, providing "generic PCI"
"PCI interrupts through ISA IRQs" implementations to significantly
reduce code duplication. Supplement the PCI chipset tag with more
info to facilitate this, and make the PCI interrupt-related routines
take a pci_chipset_tag_t argument rather than a void * argument.

- Because PCI interrupts on KN8AE are dispatched directly from the
SCB, provide a wrapper for non-MPSAFE interrupt handlers that
acquires the KERNEL_LOCK.

- Change the pci_intr_handle_t type to be a struct rather than an
integer type in order to catch any direct use of it as a value.
Add a set of functions to interact with pci_intr_handle_t, including
setting interrupt flags.

- Implement pci_intr_setattr() so that the PCI_INTR_MPSAFE attribute
can be set on a pci_intr_handle_t.

- While I'm here, make all of the MI PCI back-end operations call
through real functions rather than hopping directly through function
pointers in the chipset tag.

This change looks a lot bigger than it really is because of the re-factor
in the plethora of model-specific PCI interrupt back-ends. The KN8AE,
KN300, and T2/T3/T4 (Sable) are largely un-changed.
 1.15  13-Apr-2015  riastradh MD rnd.h cleanups. Please let me know if I broke anything!
 1.14  29-Mar-2014  christos branches: 1.14.6;
make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.13  21-Mar-2014  christos gc sprintf; reduce local static usage of interrupt strings that are only
used once for autoconf printing.
 1.12  02-Feb-2012  tls branches: 1.12.6; 1.12.10;
Entropy-pool implementation move and cleanup.

1) Move core entropy-pool code and source/sink/sample management code
to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
avoid expensive operations on disabled entropy sources; make the
rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
system events, and skew between clocks, with a sample implementation
for each.

ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files). Tested with release
builds on amd64 and evbarm and live testing on amd64.
 1.11  01-Jul-2011  dyoung branches: 1.11.2; 1.11.6;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.10  04-Dec-2009  njoly Cleanup interrupt establish error messages. Do not mix
aprint_error/aprint_normal/printf calls for a single line.
 1.9  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.8  16-Mar-2008  cube branches: 1.8.2; 1.8.4;
Split device_t and softc for the ... wait for it ... [air quotes] MI
variant of fdc(4)/fd(4). Other cosmetic changes as appropriate.
 1.7  11-Dec-2005  christos branches: 1.7.50; 1.7.70; 1.7.74;
merge ktrace-lwp.
 1.6  25-Sep-2003  mycroft branches: 1.6.16;
Modify the fdcattach() interface again, splitting it into two parts, so that
DRQ allocation is done earlier.
 1.5  25-Sep-2003  mycroft Update for new attach method.
 1.4  02-Oct-2002  thorpej branches: 1.4.6;
Use CFATTACH_DECL().
 1.3  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.2  27-Sep-2002  thorpej Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
 1.1  21-Dec-2000  thorpej branches: 1.1.2; 1.1.4; 1.1.6;
Add support for the AlphaServer 2100 (Sable) and the AlphaServer 2100A
(Lynx), written from scratch by me over a year ago, but never committed
to the tree because there was a bug I could never quite find. I have
fixed a few problems in the code, but still don't know if that bug is
quite fixed. Since I don't have access to the hardware directly, I'll
have to call for testers again.
 1.1.6.1  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.1.4.1  18-Oct-2002  nathanw Catch up to -current.
 1.1.2.2  08-Jan-2001  bouyer Files added on trunk.
 1.1.2.1  21-Dec-2000  bouyer file fdc_sableio.c was added on branch thorpej_scsipi on 2001-01-08 14:56:10 +0000
 1.4.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.4.6.1  03-Aug-2004  skrll Sync with HEAD
 1.6.16.1  17-Mar-2008  yamt sync with head.
 1.7.74.2  02-Jun-2008  mjf Sync with HEAD.
 1.7.74.1  03-Apr-2008  mjf Sync with HEAD.
 1.7.70.1  24-Mar-2008  keiichi sync with head.
 1.7.50.1  23-Mar-2008  matt sync with HEAD
 1.8.4.2  11-Mar-2010  yamt sync with head
 1.8.4.1  16-May-2008  yamt sync with head.
 1.8.2.1  18-May-2008  yamt sync with head.
 1.11.6.1  18-Feb-2012  mrg merge to -current.
 1.11.2.2  22-May-2014  yamt 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")
 1.11.2.1  17-Apr-2012  yamt sync with head
 1.12.10.1  18-May-2014  rmind sync with head
 1.12.6.2  03-Dec-2017  jdolecek update from HEAD
 1.12.6.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.14.6.1  06-Jun-2015  skrll Sync with HEAD
 1.16.6.1  13-May-2021  thorpej Sync with HEAD.

RSS XML Feed