CVS log for src/sys/arch/powerpc/powerpc/bus_dma.c
Up to [cvs.NetBSD.org] / src / sys / arch / powerpc / powerpc
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.55.4.1: download - view: text, markup, annotated - select for diffs
Fri Dec 29 20:21:40 2023 UTC (11 months, 1 week ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +6 -4
lines
Additionally pull up following revision(s) (requested by rin in ticket #400):
sys/arch/powerpc/include/oea/pmap.h: revision 1.39
sys/arch/powerpc/include/pmap.h: revision 1.43
sys/arch/powerpc/oea/pmap_kernel.c: revision 1.14
sys/arch/powerpc/oea/pmap.c: revision 1.117
sys/arch/powerpc/oea/pmap.c: revision 1.118
sys/arch/powerpc/oea/pmap.c: revision 1.119
sys/arch/powerpc/include/vmparam.h: revision 1.27
sys/arch/powerpc/powerpc/trap.c: revision 1.165
sys/arch/powerpc/oea/pmap.c: revision 1.120
sys/arch/powerpc/oea/pmap.c: revision 1.121
sys/arch/powerpc/powerpc/vm_machdep.c: revision 1.106
sys/arch/powerpc/powerpc/bus_dma.c: revision 1.56
powerpc/oea: trap: pmap_{pte,ste}_spill() even in the interrupt context
Page table for oea is something like L2 TLB on memory; kernel and
processes share its entries, and process entries can be spilled out.
As done for MMU based on software-managed TLB, we need to restore
such entries even in the interrupt context.
Note that pmap_pte_spill() require no resouce to restore entries.
Still-not-implemented pmap_ste_spill() for OEA64 should also.
Part of PR kern/57621
powerpc/oea: pmap: Drop unused argument for pmap_pvo_reclaim(), NFC
Part of PR kern/57621
powerpc/oea: pmap: Rework pmap_pte_spill()
It was broken in many ways... Now, it gets working stable both for
OEA and OEA64_BRIDGE, as far as I can see.
Part of PR kern/57621
powerpc/oea: pmap: Fix mostly-pointless overhead of pmap_pvo_pool
(1) Drop __aligned(32) from struct pvo_entry; otherwise,
sizeof(struct pvo_entry) is round-up'ed to a multiple of 32.
(2) Do not set sizeof(struct pvo_entry) to `align` argument for
pool_init(9); it must be power of 2.
(3) Align pvo_entry to 32-byte boundary only if reasonably possible,
i.e., OEA without DIAGNOSTIC (--> POOL_REDZONE) for now.
Part of PR kern/57621
powerpc/oea: pmap_create: Use PR_ZERO and drop memset(9), NFC
Part of PR kern/57621
powerpc: oea: For OEA64_BRIDGE, 1:1 map up to 3GiB memory
As done for OEA. Note that kva over 3GiB is reserved.
Provide PMAP_MAP_POOLPAGE for OEA64_BRIDGE at the same time, by
which direct-mapped memory is utilized in order to work around
starvation of 512MiB kernel virtual space.
PR kern/57621
powerpc: Make sure direct-mapped buffer fits within correct range
For OEA and OEA64_BRIDGE, only first 3GiB memory is direct-mapped.
Part of PR kern/57621
Revision 1.56: download - view: text, markup, annotated - select for diffs
Fri Dec 15 09:43:59 2023 UTC (11 months, 3 weeks ago) by rin
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +6 -4
lines
powerpc: Make sure direct-mapped buffer fits within correct range
For OEA and OEA64_BRIDGE, only first 3GiB memory is direct-mapped.
Part of PR kern/57621
Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue Jul 26 20:08:56 2022 UTC (2 years, 4 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
netbsd-10-base,
netbsd-10-0-RC1,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -3
lines
s/functin/function/ in copy pasted comment.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Feb 16 23:49:27 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +10 -10
lines
powerpc: Sprinkle "memory" clobbers on eieio and nearby asm blocks.
Otherwise the compiler may reorder these around loads and stores,
which mostly defeats the purpose. `asm volatile' just ensures the
instruction isn't _deleted_; it may still move around.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Wed Feb 16 23:30:52 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +90 -4
lines
powerpc: Implement bus_dmamap_load_raw.
Can probably delete some of the round-trips between bus addresses and
physical addresses -- did these only to copy the logic already in
_bus_dmamap_load_buffer.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon Jul 6 10:31:24 2020 UTC (4 years, 5 months ago) by rin
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +6 -2
lines
Include missing opt_ppcarch.h.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Jul 6 09:34:18 2020 UTC (4 years, 5 months ago) by rin
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -2
lines
Style and cosmetic changes. No binary changes intended.
Revision 1.48.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:50 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.48.2.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.2.1: +7 -3
lines
Merge changes from current as of 20200406
Revision 1.49.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:30 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +7 -3
lines
Sync with head.
Revision 1.49.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 25 20:22:14 2020 UTC (4 years, 9 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +7 -3
lines
Pull up following revision(s) (requested by rin in ticket #730):
sys/arch/powerpc/conf/files.powerpc: revision 1.93
sys/arch/powerpc/include/pio.h: revision 1.8
sys/arch/powerpc/pic/intr.c: revision 1.27
sys/arch/powerpc/powerpc/bus_dma.c: revision 1.50
sys/arch/powerpc/powerpc/pio_subr.S: revision 1.17
Add PPC_IBM440 flag as 440 is significantly different from 40x processors.
(It may be more easily supported by booke than by ibm4xx.)
-
eieio is implemented as sync on 40x. Therefore, "sync; eieio" and
"eieio; sync" can be replaced by a single sync.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Feb 20 05:10:02 2020 UTC (4 years, 9 months ago) by rin
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +7 -3
lines
eieio is implemented as sync on 40x. Therefore, "sync; eieio" and
"eieio; sync" can be replaced by a single sync.
Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:39 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3
lines
Sync with HEAD
Revision 1.47.14.2: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:39 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.47.14.1: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.14.1: +3 -3
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.49: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:26 2018 UTC (6 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
netbsd-9-base,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
isaki-audio2-base,
isaki-audio2,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: netbsd-9,
ad-namecache
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3
lines
Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.
To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
Revision 1.47.14.1: download - view: text, markup, annotated - select for diffs
Wed May 2 07:20:05 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -4
lines
Synch with HEAD
Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Apr 27 07:53:07 2018 UTC (6 years, 7 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502
Branch point for: phil-wifi
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -4
lines
M_CLUSTER -> M_EXT_CLUSTER
Revision 1.46.6.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:38 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +11 -8
lines
update from HEAD
Revision 1.46.24.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:19 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +11 -8
lines
Sync with HEAD
Revision 1.46.28.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:24 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46: +11 -8
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Dec 23 07:15:28 2016 UTC (7 years, 11 months ago) by cherry
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-compat-base,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: pgoyette-compat
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +11 -8
lines
"Make NetBSD great again!"
Introduce uvm_hotplug(9) to the kernel.
Many thanks, in no particular order to:
TNF, for funding the project.
Chuck Silvers - for multiple API reviews and feedback.
Nick Hudson - for testing on multiple architectures and bugfix patches.
Everyone who helped with boot testing.
KeK (http://www.kek.org.in) for hosting the primary developers.
Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:48 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +20 -18
lines
sync with head
Revision 1.44.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:32:59 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +20 -18
lines
merge to -current.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed Feb 1 09:54:03 2012 UTC (12 years, 10 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
pgoyette-localcount-base,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
localcount-20160914,
khorben-n900,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
pgoyette-localcount,
nick-nhusb
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +9 -8
lines
Use kmem instead of malloc. Remove unneeded <sys/malloc.h> includes.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Jan 30 23:34:15 2012 UTC (12 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +13 -12
lines
Use ANSI prototype for _bus_dmamem_alloc_range.
Caught when compiling with -Wold-style-definition
Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Jul 19 19:55:23 2011 UTC (13 years, 4 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -3
lines
Fix missed change of BUS_DMA_NOCACHE to BUS_DMA_DONTCACHE.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Jul 17 23:23:54 2011 UTC (13 years, 4 months ago) by dyoung
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -4
lines
Enable new-style <sys/bus.h> on several PowerPC ports supporting PCI
buses. Make non-inline implementations of bus_space(9) and bus_dma(9)
routines and move them to appropriate .c files.
This may leave amigappc in a bad state, sorry. Fortunately, it will be
easy to repair by imitating the bus.h -> bus_{defs,funcs}.h split in
some other PowerPC port.
Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Jun 30 00:53:00 2011 UTC (13 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3
lines
Modify mapiodev to take a third argument indicating whether the space
should be prefetchable (true) or not (false).
Revision 1.38.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:34 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +28 -14
lines
Catchup with rmind-uvmplock merge.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sat Jun 18 06:41:44 2011 UTC (13 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -5
lines
Use <sys/foo.h> instead of <machine/foo.h> if such a file exists.
Don't assume <sys/cpu.h> includes <powerpc/subarch/cpu*.h>. Include it
explicitly.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Jun 13 21:19:38 2011 UTC (13 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +6 -6
lines
Use ptoa(x) instead of x << PGSHIFT
Revision 1.35.4.2: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:24:05 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.35.4.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.4.1: +20 -5
lines
sync with head
Revision 1.39: download - view: text, markup, annotated - select for diffs
Wed Jun 8 15:19:57 2011 UTC (13 years, 6 months ago) by matt
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +22 -7
lines
A small speedup, when mapping memory in bus_dmamem_map, if the memory is
cacheable and is in a single segment (physically contiguous) don't bother
allocating KVA for it, just use the physical address as the VA.
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:06:30 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +29 -14
lines
Sync with HEAD.
Revision 1.35.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:51:40 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +30 -15
lines
sync with head
Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Jan 18 01:02:55 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
CVS tags: uebayasi-xip-base7,
jym-xensuspend-nbase,
jym-xensuspend-base,
cherry-xenmp-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: cherry-xenmp
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +29 -14
lines
Add support for BookE Freescale MPC85xx (e500 core) processors.
Add fast softint support for PowerPC (though only booke uses it).
Redo FPU/VEC support and add e500 SPE support.
Rework trap/intrs to use a common trapframe format.
Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.
Revision 1.33.20.1: download - view: text, markup, annotated - select for diffs
Fri Jan 7 02:00:21 2011 UTC (13 years, 11 months ago) by matt
Branches: matt-nb5-pq3
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +28 -13
lines
Add booke support.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Nov 10 09:27:24 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: MAIN
CVS tags: uebayasi-xip-base6,
matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: jruoho-x86intr
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -4
lines
Use more VM_PHYSMEM_*() accessors. No functional changes.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Nov 6 11:46:01 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: MAIN
CVS tags: uebayasi-xip-base5
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3
lines
Machine dependent code is considered as part of UVM. Include
internal API header.
Revision 1.35.2.2: download - view: text, markup, annotated - select for diffs
Thu May 27 14:47:29 2010 UTC (14 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.35.2.1: preferred, colored; branchpoint 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35.2.1: +1 -1
lines
Fix build.
Revision 1.35.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 28 08:31:07 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +6 -6
lines
Always use struct vm_physseg *vm_physmem_ptrs[] in MD code.
Revision 1.31.10.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:51 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.31.10.2: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.10.2: +3 -3
lines
sync with head
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Nov 7 07:27:46 2009 UTC (15 years, 1 month ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
matt-premerge-20091211
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3
lines
Add a flags argument to pmap_kenter_pa(9).
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.
Revision 1.33.12.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:18:15 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +18 -90
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.31.10.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:11:44 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.31.10.1: preferred, colored; branchpoint 1.31: preferred, colored
Changes since revision 1.31.10.1: +21 -93
lines
sync with head.
Revision 1.33.6.1: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:34:35 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +18 -90
lines
Sync with HEAD.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Sat Mar 14 21:04:14 2009 UTC (15 years, 9 months ago) by dsl
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jymxensuspend-base
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +18 -90
lines
ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:38 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +5 -5
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.31.8.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:14:05 2008 UTC (16 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.31.8.1: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.8.1: +5 -5
lines
sync with head.
Revision 1.31.6.2: download - view: text, markup, annotated - select for diffs
Thu Jun 5 19:14:34 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.31.6.1: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.6.1: +3 -3
lines
Sync with HEAD.
Also fix build.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Jun 4 12:41:41 2008 UTC (16 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
nick-hppapmap-base2,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
matt-nb5-pq3-base,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap,
matt-nb5-pq3,
jym-xensuspend
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +5 -5
lines
vm_page: put TAILQ_ENTRY into a union with LIST_ENTRY, so we can use both.
Revision 1.31.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:33 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -9
lines
Sync with HEAD.
Revision 1.31.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:32:38 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -9
lines
sync with head.
Revision 1.31.10.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:23:02 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -9
lines
sync with head.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:32 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.30.20.1: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:18 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +5 -5
lines
sync with HEAD
Revision 1.30.26.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:58 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30: +5 -5
lines
Sync with HEAD.
Revision 1.22.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:22:24 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.22.2.3: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.3: +5 -5
lines
sync with head.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Jan 29 23:46:21 2008 UTC (16 years, 10 months ago) by mrg
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
mjf-devfs2
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +5 -5
lines
initialise "paddr_t lastaddr" to 0 in the cases it is not otherwise
set. previously, if the stack garbage happened to match the
"curaddr" in _bus_dmamap_load_buffer(), the wrong thing may have
happened.
Revision 1.22.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:29:01 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.22.2.2: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.2: +7 -7
lines
sync with head.
Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:50:07 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +7 -7
lines
Sync with HEAD.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:00:37 2007 UTC (17 years, 9 months ago) by christos
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
yamt-idlelwp-base8,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
vmlocking-base,
vmlocking,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
reinoud-bufcleanup,
ppcoea-renovation-base,
ppcoea-renovation,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-base,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: mjf-devfs,
matt-armv6
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +7 -7
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.22.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:46:44 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.1: +4 -4
lines
sync with head.
Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:31 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +3 -3
lines
sync with head.
Revision 1.27.10.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:29 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27: +4 -4
lines
Sync with head.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Oct 27 19:36:15 2006 UTC (18 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3
lines
Change an instance of curaddr to PHYS_TO_BUS_MEM(t, curaddr) in
_bus_dmamap_load_buffer, otherwise when attempting to DMA a buffer larger
than PAGE_SIZE on an arch where PHYS != BUS it will allways fail.
Revision 1.26.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:16 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.26.2.1: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.2.1: +3 -3
lines
sync with head.
Revision 1.25.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:42:34 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +18 -20
lines
sync with head
Revision 1.28: download - view: text, markup, annotated - select for diffs
Thu Sep 7 19:13:11 2006 UTC (18 years, 3 months ago) by garbled
Branches: MAIN
CVS tags: yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-pdpolicy-base9,
rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3
lines
Apply the patch found in PR/28512 and PR/23801. Ok'd by a few people.
From the PR:
The cache is flushed using the bus address where the phys address
is required. Errors would be seen only on ports where address
translation is done between the bus and physical memory.
Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:55:11 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +29 -29
lines
sync with head.
Revision 1.25.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:37:53 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +17 -19
lines
Sync with head.
Revision 1.26.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 02:33:33 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +3 -3
lines
sync with head - hopefully this will work
Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 13 09:06:59 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3
lines
sync with head.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Mar 12 22:44:27 2006 UTC (18 years, 9 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
simonb-timecounters-base,
peter-altq-base,
peter-altq,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: newlock2
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3
lines
fix mistakes in yamt-uio_vmspace changes.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Mar 1 12:38:12 2006 UTC (18 years, 9 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pdpolicy-base
Branch point for: yamt-pdpolicy,
elad-kernelauth
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +17 -19
lines
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.
Revision 1.25.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 14:26:06 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +17 -19
lines
adapt the rest of MD code.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Dec 24 20:07:28 2005 UTC (18 years, 11 months ago) by perry
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +11 -11
lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:18:46 2005 UTC (19 years ago) by christos
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3
lines
merge ktrace-lwp.
Revision 1.15.2.9: download - view: text, markup, annotated - select for diffs
Sun Dec 11 10:28:25 2005 UTC (19 years ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.15.2.8: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.8: +5 -3
lines
Sync with head.
Revision 1.22.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 29 21:23:03 2005 UTC (19 years ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +5 -3
lines
sync with head.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Nov 24 13:08:34 2005 UTC (19 years ago) by yamt
Branches: MAIN
CVS tags: yamt-readahead-base3,
ktrace-lwp-base
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -3
lines
bus_dmamem_map: honour BUS_DMA_NOWAIT. noted by Manuel Bouyer.
bus_space_map: always do NOWAIT allocation as it used to be before yamt-km.
we have too many copies!
Revision 1.20.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:20 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +13 -7
lines
sync with -current
Revision 1.15.2.8: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:28:04 2005 UTC (19 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.15.2.7: preferred, colored
Changes since revision 1.15.2.7: +13 -7
lines
Sync with HEAD.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Apr 1 11:59:34 2005 UTC (19 years, 8 months ago) by yamt
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base2,
yamt-readahead-base,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
kent-audio2-base
Branch point for: yamt-readahead,
yamt-lazymbuf
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -4
lines
merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
save some resources like pv_entry. also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.
Revision 1.20.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:12 2005 UTC (19 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.20.6.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.6.1: +10 -5
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Mar 9 19:04:45 2005 UTC (19 years, 9 months ago) by matt
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +10 -5
lines
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.
Revision 1.15.2.7: download - view: text, markup, annotated - select for diffs
Sat Feb 19 13:18:15 2005 UTC (19 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.15.2.6: preferred, colored
Changes since revision 1.15.2.6: +3 -3
lines
Don't deref a NULL struct lwp *. This shouldn't happen, but...
Revision 1.20.6.1: download - view: text, markup, annotated - select for diffs
Fri Jan 28 13:40:26 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -4
lines
- don't leave page mapping at kva which is being freed.
- convert to new apis.
Revision 1.15.2.6: download - view: text, markup, annotated - select for diffs
Sat Dec 18 09:31:26 2004 UTC (19 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.15.2.5: preferred, colored
Changes since revision 1.15.2.5: +4 -2
lines
Sync with HEAD.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Nov 28 17:34:46 2004 UTC (20 years ago) by thorpej
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -2
lines
bus_dmamap_load_mbuf(): Skip zero-length mbufs.
kern/24811
Revision 1.15.2.5: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:20:49 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.15.2.4: preferred, colored
Changes since revision 1.15.2.4: +3 -3
lines
Fix the sync with head I botched.
Revision 1.15.2.4: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:39:19 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.15.2.3: preferred, colored
Changes since revision 1.15.2.3: +3 -3
lines
Sync with HEAD.
Revision 1.15.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 25 06:57:20 2004 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.15.2.2: preferred, colored
Changes since revision 1.15.2.2: +4 -3
lines
Sync with HEAD.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Aug 17 08:35:43 2004 UTC (20 years, 3 months ago) by scw
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -2
lines
In _bus_dmamap_load_buffer(), honour the maximum segment size specified
when the DMA map was created.
The previous behaviour honoured the maximum segment size only when
coalescing adjacent segments.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Aug 16 10:12:40 2004 UTC (20 years, 4 months ago) by aymeric
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3
lines
fix typo in comment
Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:39:37 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.15.2.1: preferred, colored
Changes since revision 1.15.2.1: +28 -1
lines
Sync with HEAD
Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Jul 25 10:12:46 2003 UTC (21 years, 4 months ago) by scw
Branches: MAIN
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +26 -2
lines
Switch ibm4xx over to using the more flexible powerpc bus_space/bus_dma code.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Jul 15 02:54:47 2003 UTC (21 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -1
lines
__KERNEL_RCSID()
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:25:30 2003 UTC (21 years, 5 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2
lines
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.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:28:49 2003 UTC (21 years, 5 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -1
lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:05 2003 UTC (21 years, 5 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2
lines
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
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Jun 12 08:30:41 2003 UTC (21 years, 6 months ago) by scw
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3
lines
Back out the last change after consultation with Matt Thomas. It hurts
platforms with fully functional bus snooping.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Jun 12 07:32:28 2003 UTC (21 years, 6 months ago) by scw
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -4
lines
In _bus_dmamem_map(), make BUS_DMA_COHERENT behave the same way as
BUS_DMA_NOCACHE.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Apr 18 09:16:05 2003 UTC (21 years, 7 months ago) by scw
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -2
lines
Make sure _bus_dmamap_load_mbuf() converts cpu-relative addresses
to bus-relative addresses.
Spotted by John Gordon, on port-powerpc@.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Apr 9 22:28:56 2003 UTC (21 years, 8 months ago) by matt
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +75 -15
lines
Cleanup dmamap_sync a bit and add a few more comments. Add support for
cached physaddr's in mbufs.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Apr 2 02:47:19 2003 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +4 -4
lines
Use PAGE_SIZE rather than NBPG.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Mar 16 05:37:37 2003 UTC (21 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +15 -14
lines
Fix bus_dmamap_sync (add offset to ds->ds_addr when needed).
Add a set of parenthesis to PMAP_NC so it evaluates properly.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Mar 15 07:25:20 2003 UTC (21 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +8 -1
lines
When mapping a page with BUS_SPACE_NOCACHE, make sure to flush the
physical page from the data cache.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Mar 5 22:08:29 2003 UTC (21 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +11 -11
lines
Add preliminary support Marvell (Galileo) Discovery System Controllers.
This code was contributed by Allegro Networks.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Feb 6 23:03:54 2003 UTC (21 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +102 -5
lines
Add a _bus_dmamap_sync which supports cache-incoherent implementations.
Support BUS_DMA_NOCACHE.
Revision 1.2.10.3: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:11:44 2002 UTC (22 years ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.2.10.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.10.2: +2 -2
lines
Sync with HEAD.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Nov 25 05:37:00 2002 UTC (22 years ago) by thorpej
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2
lines
Avoid strict-alias warnings.
Revision 1.2.18.1: download - view: text, markup, annotated - select for diffs
Mon Jul 15 00:33:12 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +1 -2
lines
catch up with -current.
Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:39:46 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +1 -2
lines
catch up with -current on kqueue branch
Revision 1.2.10.2: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:40:34 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.2.10.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.10.1: +632 -0
lines
Catch up to -current.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Jun 2 14:44:38 2002 UTC (22 years, 6 months ago) by drochner
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gehenna-devsw-base
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +1 -2
lines
move initialization of the "struct pglist" returned by uvm_pglistalloc()
from the calling code into uvm_pglistalloc() itself for consistency
and easier error handling
Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:32:27 2001 UTC (23 years, 5 months ago) by nathanw
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +1 -1
lines
Catch up to -current.
Revision 1.2.10.1
Sun Jun 10 02:31:25 2001 UTC (23 years, 6 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.2: +0 -633
lines
file bus_dma.c was added on branch nathanw_sa on 2002-06-20 03:40:34 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jun 10 02:31:25 2001 UTC (23 years, 6 months ago) by briggs
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf,
newlock-base,
newlock,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Branch point for: nathanw_sa,
kqueue,
gehenna-devsw
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +9 -4
lines
Pull avail_start/avail_end logic for bus_dmamem_alloc() from macppc port,
as suggested by matt@netbsd.org--the vm_physmem array may not be in order.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jun 6 17:37:37 2001 UTC (23 years, 6 months ago) by matt
Branches: MAIN
Include a common bus.h and bus_dma.c that powerpc ports can use
if they so choose.
CVSweb <webmaster@jp.NetBSD.org>