Home | History | Annotate | Download | only in pci
History log of /src/sys/arch/alpha/pci/tsp_bus_mem.c
RevisionDateAuthorComments
 1.15  04-Dec-2023  thorpej Convert the Alpha port's bus_space back-end to manage address space
with vmem(9) arenas (using statically-allocated private boundary tags
for very early-in-boot) rather than extent(9).

As a side-effect, there's arguments to some initialization functions
that are no longer required, so garbage-collect those, update all the
call sites.
 1.14  04-Jul-2021  thorpej Remove unnecessary #include <sys/malloc.h>
 1.13  19-Jan-2014  tsutsui branches: 1.13.46;
Set a proper address for PCI memspace to make bus_space_mmap(9) work correctly.

Reported and confirmed with radeonfb(4) by Naruaki Etomi in PR port-48431.
 1.12  06-Feb-2012  matt branches: 1.12.6; 1.12.10;
Do a minor cleanup of alpha (this will make applying pullups post branching
easier).
u_int{8,16,32,64}_t -> uint{*}_t
Change all old-style definitions to C89 prototypes.
Whitespace cleanup.
Constification in db_disasm.c
 1.11  01-Jul-2011  dyoung branches: 1.11.2; 1.11.6;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.10  15-Dec-2010  matt Remove unneeded includes of <uvm/uvm_extern.h>
 1.9  30-Oct-2009  mhitch branches: 1.9.4;
The tsc(4) bus initialization was using a single statically allocated
extent storage for each tsp(4), which caused a LOCKDEBUG kernel to fail
because the extent storage contained a mutex which panics when the second
mutex_init() is attempted. Put the extent storage into the tsp_config
structure so each tsp(4) gets it own. Fixes PR port-alpha/38358.
 1.8  11-Dec-2005  christos branches: 1.8.78; 1.8.88; 1.8.96;
merge ktrace-lwp.
 1.7  14-Jul-2003  lukem add __KERNEL_RCSID() (using 1, for #included .c files)
 1.6  29-Nov-2000  thorpej branches: 1.6.24;
Allocate the DMA windows out of the PCI memory extent map after
DMA is initialized.
 1.5  29-Jun-2000  mrg remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.4  26-Jun-2000  thorpej Garbage-collect CHIP_PHYSADDR().
 1.3  26-Jun-2000  thorpej Because of the Cool sign-extension hack we use to access PCI space,
the `get window' method ends up with the wrong physical address to
pass onto userspace (which wants to mmap the space).

Compensate by adding a CHIP_PHYSADDR() macro which un-hacks the address
suitably for mapping with other-than-KSEG.
 1.2  02-Dec-1999  thorpej branches: 1.2.4;
CIA core logic with BWX enabled appears on EV6. We require at least
EV56 for the assembler to emit BWX opcodes, so set the arch to "ev6".
 1.1  29-Jun-1999  ross branches: 1.1.2; 1.1.4; 1.1.6; 1.1.14;
Support for EV6 Tsunami core logic and system type 6600.
This covers most or all of the presently-available 21264 systems.
 1.1.14.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.6.2  08-Dec-2000  bouyer Sync with HEAD.
 1.1.6.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.1.4.2  29-Jun-1999  ross Support for EV6 Tsunami core logic and system type 6600.
This covers most or all of the presently-available 21264 systems.
 1.1.4.1  29-Jun-1999  ross file tsp_bus_mem.c was added on branch netbsd-1-4 on 1999-06-29 06:46:47 +0000
 1.1.2.2  01-Jul-1999  thorpej Sync w/ -current.
 1.1.2.1  29-Jun-1999  thorpej file tsp_bus_mem.c was added on branch chs-ubc2 on 1999-07-01 23:00:58 +0000
 1.2.4.1  27-Jun-2000  thorpej Update from trunk:
Implement bus_get_window on Tsunami and MCPCIA, and compensate for
the Cool sign-extend hack we use on EV6 when mapping PCI space into
userspace.
 1.6.24.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.24.2  18-Sep-2004  skrll Sync with HEAD.
 1.6.24.1  03-Aug-2004  skrll Sync with HEAD
 1.8.96.1  21-Apr-2010  matt sync to netbsd-5
 1.8.88.1  31-Oct-2009  sborrill Pull up the following revisions(s) (requested by mhitch in ticket #1120):
sys/arch/alpha/pci/tsp_bus_io.c: revision 1.6
sys/arch/alpha/pci/tsp_bus_mem.c: revision 1.9
sys/arch/alpha/pci/tsvar.h: revision 1.7

The tsc(4) bus initialization was using a single statically allocated
extent storage for each tsp(4), which caused a LOCKDEBUG kernel to fail
because the extent storage contained a mutex which panics when the second
mutex_init() is attempted. Put the extent storage into the tsp_config
structure so each tsp(4) gets it own. Fixes PR port-alpha/38358.
 1.8.78.1  11-Mar-2010  yamt sync with head
 1.9.4.1  05-Mar-2011  rmind 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.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.13.46.1  01-Aug-2021  thorpej Sync with HEAD.

RSS XML Feed