Home | History | Annotate | Download | only in pci
History log of /src/sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c
RevisionDateAuthorComments
 1.30  06-Dec-2023  thorpej bus_space_alloc() -- vmem(9) requires an allocation stragegy flag, so
make sure to pass one.
 1.29  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.28  05-May-2021  thorpej Moar static.
 1.27  15-Jan-2014  tsutsui branches: 1.27.46;
Revert previous. PR/48431 claims ALPHA_PHYS_TO_K0SEG() is necessary.

Actually CHIP_MEM_SYS_START(v) seems a physical address per *_mem_map()
function, but I don't think mmap() function should return K0SEG address
(it should return PA cookie IIUC) so I guess there is something wrong
in Titan's bus space functions. I'll investigate them later.
 1.26  13-Jan-2014  tsutsui bus_space_mmap(9) function should return alpha_btop(PA), not alpha_btop(VA).

Pointed out in PR port-alpha/48431 from nullnilaki.
 1.25  06-Feb-2012  matt 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.24  27-Jan-2012  para converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged
 1.23  25-Sep-2011  chs branches: 1.23.2; 1.23.6;
change inline to static inline to appease gcc 4.5.
 1.22  14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.21  28-Apr-2008  martin branches: 1.21.8; 1.21.14;
Remove clause 3 and 4 from TNF licenses
 1.20  04-Mar-2007  christos branches: 1.20.40; 1.20.42; 1.20.44;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.19  11-Dec-2005  christos branches: 1.19.26;
merge ktrace-lwp.
 1.18  14-Jul-2003  lukem branches: 1.18.16;
add __KERNEL_RCSID() (using 1, for #included .c files)
 1.17  16-Sep-2001  thorpej branches: 1.17.18;
BWX-addressable space is aways linear, so always allow BUS_SPACE_MAP_LINEAR
requests to succeed (and ignore BUS_SPACE_MAP_PREFETCHABLE, since it makes
no difference in BWX-addressable space).
 1.16  04-Sep-2001  thorpej branches: 1.16.2;
Typos, pointed out by Luke Mewburn (gee, I guess I built a kernel
other than GENERIC).
 1.15  04-Sep-2001  thorpej Implement bus_space_mmap().
 1.14  29-Nov-2000  thorpej branches: 1.14.2; 1.14.4;
Revert previous -- we'll do it differently.
 1.13  29-Nov-2000  thorpej Increase the number of static extent descriptors from 8 to 16,
and add a means for calling a chip-specific init hook.
 1.12  26-Jun-2000  thorpej Do the previously slightly differently, to avoid confusing the internal
space extent maps. Pointed out by msaitoh@netbsd.org. (Someone should
send me an EV6 machine!)
 1.11  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.10  17-Apr-2000  drochner branches: 1.10.4;
implement bus_space_vaddr()
 1.9  26-Feb-2000  thorpej - Add a bus space method for getting the translation for a window.
- Add sysarch methods for "get bus window count", "get bus window",
and "pci conf read/write".

These are a hack, but they're what's necessary in order to make
XFree86 work in its current state.
 1.8  25-Feb-2000  thorpej Add an internal bus space method alpha_bus_space_translate(), which
provides a method to translate an address on an I/O bus into a sysBus
address, along with acccess method information.
 1.7  06-Feb-2000  thorpej Changed cacheable -> prefetchable. [sync w/ swiz]
 1.6  02-Dec-1999  thorpej Pull in the BWX inlines. We expect the arch to be set appropriately for
the assembler before these files are pulled in by the chip-sepecific files.
 1.5  30-Aug-1998  cgd branches: 1.5.12; 1.5.18;
use current bus_space interface names for barrier ops
 1.4  31-Jul-1998  thorpej Provide a hook for bypassing space accounting, needed to support ISA PnP
for now.
 1.3  07-Jun-1998  thorpej branches: 1.3.2;
Oops, don't forget to fill in *addrp.
 1.2  06-Jun-1998  thorpej Implement bus_space_{alloc,free}() for BWX bus space.
 1.1  04-Jun-1998  thorpej Add support for using BWX for PCI config space and PCI i/o and mem space
on the ALCOR2 and Pyxis. BWX is enabled iff:
- It hasn't been disabled by the user (patch `cia_use_bwx' or build cia.o
with the option "CIA_USE_BWX=0"),
- it's enabled in CIA_CSR_CNFG,
- we are running on an EV5-family processor,
- BWX is in the processor's capabilities mask.
 1.3.2.1  08-Aug-1998  eeh Revert cdevsw mmap routines to return int.
 1.5.18.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.12.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.10.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.14.4.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.14.4.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.14.2.1  21-Sep-2001  nathanw Catch up to -current.
 1.16.2.1  01-Oct-2001  fvdl Catch up with -current.
 1.17.18.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.17.18.2  18-Sep-2004  skrll Sync with HEAD.
 1.17.18.1  03-Aug-2004  skrll Sync with HEAD
 1.18.16.1  03-Sep-2007  yamt sync with head.
 1.19.26.1  12-Mar-2007  rmind Sync with HEAD.
 1.20.44.2  04-May-2009  yamt sync with head.
 1.20.44.1  16-May-2008  yamt sync with head.
 1.20.42.1  18-May-2008  yamt sync with head.
 1.20.40.1  02-Jun-2008  mjf Sync with HEAD.
 1.21.14.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.21.8.1  28-Apr-2009  skrll Sync with HEAD.
 1.23.6.1  18-Feb-2012  mrg merge to -current.
 1.23.2.1  17-Apr-2012  yamt sync with head
 1.27.46.1  13-May-2021  thorpej Sync with HEAD.

RSS XML Feed