Home | History | Annotate | Download | only in jazz
History log of /src/sys/arch/arc/jazz/bus_dma_jazz.c
RevisionDateAuthorComments
 1.18  18-Nov-2020  thorpej malloc(9) -> kmem(9)
 1.17  01-Jul-2011  dyoung branches: 1.17.66;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.16  15-Nov-2010  uebayasi struct proc * deref.
 1.15  14-May-2008  tsutsui branches: 1.15.20;
Normalize my licenses.
 1.14  15-Jun-2006  tsutsui branches: 1.14.58; 1.14.60; 1.14.62; 1.14.64;
- don't forget to set _dm_vmspace in BUS_DMA_ALLOCNOW case
- also set ARC_DMAMAP_COHERENT hint in the case if buf is in KSEG1
(I'm not sure if ALLOCNOW is worth for linear buffer, i.e. nsegs=1 case)
 1.13  01-Mar-2006  yamt branches: 1.13.2; 1.13.8; 1.13.10;
merge yamt-uio_vmspace branch.

- use vmspace rather than proc or lwp where appropriate.
the latter is more natural to specify an address space.
(and less likely to be abused for random purposes.)
- fix a swdmover race.
 1.12  11-Dec-2005  christos branches: 1.12.2; 1.12.4; 1.12.6;
merge ktrace-lwp.
 1.11  09-Mar-2005  matt branches: 1.11.4;
Add a dm_maxsegsz public member to bus_dmamap_t. This allows a user of the API
to select the maximum segment size for each bus_dmamap_load (up to the maxsegsz
supplied to bus_dmamap_create). dm_maxsegsz is reset to the value supplied to
bus_dmamap_create when the dmamap is unloaded.
 1.10  22-Jan-2005  tsutsui branches: 1.10.2;
- remove __P()
- use ANSI function decls
- u_intNN_t -> uintNN_t
- some KNF
 1.9  14-Aug-2003  tsutsui branches: 1.9.8;
If BUS_DMA_ALLOCNOW is specified with nsegments > 1
in jazz_bus_dmamap_create() disable BUS_DMA_ALLOCNOW for now
rather than return ENOMEM. Required by some PCI devices (like pciide(4)).
XXX needs re-think how BUS_DMA_ALLOCNOW should be handled.
XXX (we should use another flag for the jazz internal DMAC?)
 1.8  15-Jul-2003  lukem __KERNEL_RCSID()
 1.7  29-Jun-2003  fvdl branches: 1.7.2;
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
 1.6  28-Jun-2003  darrenr Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
 1.5  10-Feb-2003  tsutsui Changes needed to bus_dma'fy fdc_jazzio.c and asc.c:
Modify jazz_bus_dmamap_create() to allocate jazz dmatlb
if BUS_DMA_ALLOCNOW flag is specified and nsegment is 1.
In this case, jazz_bus_dmamap_load() just call
jazz_dmatlb_map_va() to map CPU VA space into jazzio
VA space with pre-allocated TLB entries (like dma.c does).
bus_dmamap_load_{mbuf,uio,raw} functions are not allowed
if dmamap is created with BUS_DMA_ALLOCNOW flag.
(i.e. ALLOCNOW is valid only for linear buffers.)
 1.4  14-Nov-2001  thorpej branches: 1.4.2;
Merge the thorpej-mips-cache branch onto the trunk. This is an
overhaul of how caches are handled for NetBSD's MIPS ports.
 1.3  29-Jun-2000  mrg branches: 1.3.2; 1.3.6; 1.3.8;
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.2  26-Jun-2000  mrg remove/move more mach vm header files:

<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
 1.1  09-Jun-2000  soda branches: 1.1.4;
bus_dma implementation for jazz dma tlb,
contributed by Shuichiro URATA <ur@a-r.org>
 1.1.4.2  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.1.4.1  09-Jun-2000  minoura file bus_dma_jazz.c was added on branch minoura-xpg4dl on 2000-06-22 16:59:16 +0000
 1.3.8.1  24-Oct-2001  thorpej Update for the new cache code. bus_dmamap_sync is now optimized
for a virtually-indexed, write-back cache.
 1.3.6.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.2.2  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.3.2.1  29-Jun-2000  bouyer file bus_dma_jazz.c was added on branch thorpej_scsipi on 2000-11-20 20:00:40 +0000
 1.4.2.2  14-Nov-2001  thorpej Merge the thorpej-mips-cache branch onto the trunk. This is an
overhaul of how caches are handled for NetBSD's MIPS ports.
 1.4.2.1  14-Nov-2001  thorpej file bus_dma_jazz.c was added on branch nathanw_sa on 2001-11-14 18:15:16 +0000
 1.7.2.6  01-Apr-2005  skrll Sync with HEAD.
 1.7.2.5  24-Jan-2005  skrll Sync with HEAD.
 1.7.2.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.2.3  18-Sep-2004  skrll Sync with HEAD.
 1.7.2.2  03-Aug-2004  skrll Sync with HEAD
 1.7.2.1  02-Jul-2003  darrenr Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
 1.9.8.1  29-Apr-2005  kent sync with -current
 1.10.2.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.11.4.1  21-Jun-2006  yamt sync with head.
 1.12.6.1  22-Apr-2006  simonb Sync with head.
 1.12.4.1  09-Sep-2006  rpaulo sync with head
 1.12.2.1  18-Feb-2006  yamt adapt bus_dma implementations.
 1.13.10.1  13-Jul-2006  gdamore Merge from HEAD.
 1.13.8.1  19-Jun-2006  chap Sync with head.
 1.13.2.1  26-Jun-2006  yamt sync with head.
 1.14.64.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.14.62.1  16-May-2008  yamt sync with head.
 1.14.60.1  18-May-2008  yamt sync with head.
 1.14.58.1  02-Jun-2008  mjf Sync with HEAD.
 1.15.20.1  05-Mar-2011  rmind sync with head
 1.17.66.1  14-Dec-2020  thorpej Sync w/ HEAD.

RSS XML Feed