The NetBSD Project

CVS log for src/sys/arch/sparc/sparc/iommu.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / sparc / sparc

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.102 / (download) - annotate - [select for diffs], Fri Dec 1 05:22:01 2023 UTC (3 months ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.101: +34 -28 lines
Diff to previous 1.101 (colored)

Use vmem(9) rather than extent(9) to manage DVMA mappings.

Revision 1.101 / (download) - annotate - [select for diffs], Sat Jan 22 11:49:16 2022 UTC (2 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.100: +6 -4 lines
Diff to previous 1.100 (colored)

Change the devhandle_from_*() functions to also take a "super handle",
from which the newly created handle will inherit it's implementation.
The root implementation for a new handle type is used if an invalid
"super handle" is passed.

Revision 1.100 / (download) - annotate - [select for diffs], Mon Aug 9 21:08:06 2021 UTC (2 years, 6 months ago) by andvar
Branch: MAIN
Changes since 1.99: +3 -3 lines
Diff to previous 1.99 (colored)

s/aligment/alignment/ + one more typo fix in comments.

Revision 1.99 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:05 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.98: +4 -6 lines
Diff to previous 1.98 (colored)

Merge thorpej-cfargs2.

Revision 1.98.4.1 / (download) - annotate - [select for diffs], Wed Aug 4 02:57:06 2021 UTC (2 years, 6 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.98: +4 -6 lines
Diff to previous 1.98 (colored) next main 1.99 (colored)

Adapt to CFARGS().

Revision 1.97.4.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:16 2021 UTC (2 years, 9 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.97: +8 -4 lines
Diff to previous 1.97 (colored) next main 1.98 (colored)

sync with head

Revision 1.97.2.1 / (download) - annotate - [select for diffs], Thu May 13 00:47:28 2021 UTC (2 years, 9 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.97: +8 -4 lines
Diff to previous 1.97 (colored) next main 1.98 (colored)

Sync with HEAD.

Revision 1.98 / (download) - annotate - [select for diffs], Mon May 10 23:53:44 2021 UTC (2 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Branch point for: thorpej-cfargs2
Changes since 1.97: +8 -4 lines
Diff to previous 1.97 (colored)

Associate the OpenBoot / OpenFirmware node with attached devices
at config_found() time.

Revision 1.97 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:49 2021 UTC (2 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.96: +4 -4 lines
Diff to previous 1.96 (colored)

Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.96.4.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:09:07 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.96: +4 -4 lines
Diff to previous 1.96 (colored) next main 1.97 (colored)

Give config_found() the same variadic arguments treatment as
config_search().  This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls.  Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.

Revision 1.96 / (download) - annotate - [select for diffs], Sun Jun 14 01:40:05 2020 UTC (3 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.95: +3 -5 lines
Diff to previous 1.95 (colored)

replace EX_NOWAIT with EX_WAITOK in device attach methods.
remove checks for failures that can no longer occur.

Revision 1.94.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:54 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored) next main 1.95 (colored)

sync with head

Revision 1.94.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:13 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored) next main 1.95 (colored)

merge to -current.

Revision 1.95 / (download) - annotate - [select for diffs], Fri Jan 27 18:53:02 2012 UTC (12 years, 1 month ago) by para
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base-20171202, tls-maxphys-base, tls-maxphys, 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, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, 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, nick-nhusb, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, 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, 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-nb8-mediatek-base, matt-nb8-mediatek, 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, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored)

converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged

Revision 1.94 / (download) - annotate - [select for diffs], Sun Jul 17 23:18:23 2011 UTC (12 years, 7 months ago) by mrg
Branch: 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
Changes since 1.93: +10 -11 lines
Diff to previous 1.93 (colored)

convert all the sparc drivers that attach on my ss20 to use device_t,
cfdata_t and CFATTACH_DECL_NEW().

fd/fdc could use better testing, but i'm pretty sure i got it right.

Revision 1.93 / (download) - annotate - [select for diffs], Fri Jul 1 18:51:51 2011 UTC (12 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.92: +3 -3 lines
Diff to previous 1.92 (colored)

#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.89.20.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:58 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.89.20.1: +6 -4 lines
Diff to previous 1.89.20.1 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored)

sync with head

Revision 1.92 / (download) - annotate - [select for diffs], Sat Nov 7 07:27:46 2009 UTC (14 years, 3 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-premerge-20091211, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.91: +6 -4 lines
Diff to previous 1.91 (colored)

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.90.12.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:36 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.90: +4 -4 lines
Diff to previous 1.90 (colored) next main 1.91 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.89.20.1 / (download) - annotate - [select for diffs], Mon May 4 08:11:55 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.89: +7 -7 lines
Diff to previous 1.89 (colored)

sync with head.

Revision 1.90.6.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:41 2009 UTC (14 years, 10 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.90: +4 -4 lines
Diff to previous 1.90 (colored) next main 1.91 (colored)

Sync with HEAD.

Revision 1.91 / (download) - annotate - [select for diffs], Wed Mar 18 16:00:14 2009 UTC (14 years, 11 months ago) by cegger
Branch: 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
Changes since 1.90: +4 -4 lines
Diff to previous 1.90 (colored)

bzero -> memset

Revision 1.89.22.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:43 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.89: +5 -5 lines
Diff to previous 1.89 (colored) next main 1.90 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.89.18.1 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:13 2008 UTC (15 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.89: +5 -5 lines
Diff to previous 1.89 (colored) next main 1.90 (colored)

sync with head.

Revision 1.89.16.1 / (download) - annotate - [select for diffs], Thu Jun 5 19:14:34 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.89: +5 -5 lines
Diff to previous 1.89 (colored) next main 1.90 (colored)

Sync with HEAD.

Also fix build.

Revision 1.90 / (download) - annotate - [select for diffs], Wed Jun 4 12:41:41 2008 UTC (15 years, 9 months ago) by ad
Branch: 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-pq3, 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, jym-xensuspend
Changes since 1.89: +5 -5 lines
Diff to previous 1.89 (colored)

vm_page: put TAILQ_ENTRY into a union with LIST_ENTRY, so we can use both.

Revision 1.88.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:22:31 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.88: +2 -2 lines
Diff to previous 1.88 (colored) next main 1.89 (colored)

sync with HEAD

Revision 1.89 / (download) - annotate - [select for diffs], Wed Oct 17 19:57:14 2007 UTC (16 years, 4 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, mjf-devfs2
Changes since 1.88: +2 -2 lines
Diff to previous 1.88 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.86.4.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:25:16 2007 UTC (16 years, 5 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.86: +4 -3 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

Sync with HEAD

Revision 1.81.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:30:04 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.81.2.2: +10 -9 lines
Diff to previous 1.81.2.2 (colored) to branchpoint 1.81 (colored) next main 1.82 (colored)

sync with head.

Revision 1.85.2.2 / (download) - annotate - [select for diffs], Mon Aug 20 18:38:59 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.85.2.1: +4 -3 lines
Diff to previous 1.85.2.1 (colored) next main 1.86 (colored)

Sync with HEAD.

Revision 1.86.8.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:47:45 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.86: +4 -3 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

Sync with HEAD.

Revision 1.86.6.1 / (download) - annotate - [select for diffs], Tue Aug 7 18:05:47 2007 UTC (16 years, 6 months ago) by matt
Branch: matt-mips64
Changes since 1.86: +4 -3 lines
Diff to previous 1.86 (colored) next main 1.87 (colored)

Sync with HEAD.

Revision 1.88 / (download) - annotate - [select for diffs], Wed Aug 1 00:06:32 2007 UTC (16 years, 7 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, matt-mips64-base, jmcneill-pm, bouyer-xenamd64
Branch point for: matt-armv6
Changes since 1.87: +3 -3 lines
Diff to previous 1.87 (colored)

fix the fix - do not impose all those extra cache ops on all supersparcs,
only those without external cache

Revision 1.87 / (download) - annotate - [select for diffs], Tue Jul 31 05:21:47 2007 UTC (16 years, 7 months ago) by macallan
Branch: MAIN
Changes since 1.86: +4 -3 lines
Diff to previous 1.86 (colored)

SuperSPARCs without cache controller need some extra cache flushs
With this a MULTIPROCESSOR kernel works again with a pair of SM50

Revision 1.85.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:02:26 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored) next main 1.86 (colored)

Sync with head.

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Tue Apr 10 13:23:17 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored)

Sync with head.

Revision 1.84.4.2 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:00 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.84.4.1: +3 -3 lines
Diff to previous 1.84.4.1 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored)

sync with head.

Revision 1.85.6.1 / (download) - annotate - [select for diffs], Sun Mar 18 00:06:33 2007 UTC (16 years, 11 months ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored) next main 1.86 (colored)

First attempt to bring branch in sync with HEAD

Revision 1.86 / (download) - annotate - [select for diffs], Sat Mar 17 13:51:46 2007 UTC (16 years, 11 months ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, nick-csl-alignment-base, mjf-ufs-trans-base, hpcarm-cleanup
Branch point for: ppcoea-renovation, nick-csl-alignment, matt-mips64
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored)

s/intialized/initialized/

Revision 1.84.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:50:42 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.84: +7 -7 lines
Diff to previous 1.84 (colored)

Sync with HEAD.

Revision 1.85 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:45 2007 UTC (17 years ago) by christos
Branch: MAIN
Branch point for: vmlocking, reinoud-bufcleanup, mjf-ufs-trans
Changes since 1.84: +7 -7 lines
Diff to previous 1.84 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.83.20.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:00:59 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored) next main 1.84 (colored)

Sync with head.

Revision 1.81.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:58 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.81.2.1: +3 -3 lines
Diff to previous 1.81.2.1 (colored) to branchpoint 1.81 (colored)

sync with head.

Revision 1.83.22.1 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:35 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored) next main 1.84 (colored)

sync with head.

Revision 1.84 / (download) - annotate - [select for diffs], Fri Nov 24 19:46:58 2006 UTC (17 years, 3 months ago) by christos
Branch: 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
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored)

fix spelling of accommodate; from Zapher.

Revision 1.81.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:56:12 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.81: +57 -108 lines
Diff to previous 1.81 (colored)

sync with head.

Revision 1.75.2.5 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:36 2005 UTC (18 years, 2 months ago) by christos
Branch: ktrace-lwp
Changes since 1.75.2.4: +57 -108 lines
Diff to previous 1.75.2.4 (colored) next main 1.76 (colored)

Sync with head.

Revision 1.82.2.2 / (download) - annotate - [select for diffs], Tue Nov 22 16:08:03 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.82.2.1: +824 -0 lines
Diff to previous 1.82.2.1 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)

sync with head.

Revision 1.83 / (download) - annotate - [select for diffs], Wed Nov 16 03:00:23 2005 UTC (18 years, 3 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-readahead-base3, yamt-readahead-base2, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, ktrace-lwp-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored)

Drop trailing whitespace.

Revision 1.82.2.1, Mon Nov 14 03:30:49 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.82: +0 -824 lines
FILE REMOVED

file iommu.c was added on branch yamt-readahead on 2005-11-22 16:08:03 +0000

Revision 1.82 / (download) - annotate - [select for diffs], Mon Nov 14 03:30:49 2005 UTC (18 years, 3 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base
Branch point for: yamt-readahead
Changes since 1.81: +56 -107 lines
Diff to previous 1.81 (colored)

ANSIify.  Same binary code is produced for GENERIC.MP + KGDB + DDB.

Revision 1.80.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:23 2005 UTC (18 years, 10 months ago) by kent
Branch: kent-audio2
Changes since 1.80: +23 -3 lines
Diff to previous 1.80 (colored) next main 1.81 (colored)

sync with -current

Revision 1.75.2.4 / (download) - annotate - [select for diffs], Fri Apr 1 14:28:21 2005 UTC (18 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.75.2.3: +23 -3 lines
Diff to previous 1.75.2.3 (colored)

Sync with HEAD.

Revision 1.81 / (download) - annotate - [select for diffs], Fri Apr 1 11:59:34 2005 UTC (18 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, thorpej-vnode-attr-base, thorpej-vnode-attr, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.80: +23 -3 lines
Diff to previous 1.80 (colored)

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.80.6.2 / (download) - annotate - [select for diffs], Sat Feb 12 15:16:47 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.80.6.1: +22 -2 lines
Diff to previous 1.80.6.1 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)

- use new apis.
- don't leave page mapped at kva being freed.

Revision 1.80.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 14:35:03 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

use new apis.

Revision 1.75.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:22:33 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.75.2.2: +2 -2 lines
Diff to previous 1.75.2.2 (colored)

Fix the sync with head I botched.

Revision 1.75.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:40:48 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.75.2.1: +0 -0 lines
Diff to previous 1.75.2.1 (colored)

Sync with HEAD.

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:41:07 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.75: +22 -15 lines
Diff to previous 1.75 (colored)

Sync with HEAD

Revision 1.80 / (download) - annotate - [select for diffs], Wed Apr 28 12:38:19 2004 UTC (19 years, 10 months ago) by pk
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, 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, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.79: +10 -10 lines
Diff to previous 1.79 (colored)

Rename `sc_hasiocache' => `sc_cachecoherent'. Avoid the cache flush in
dma_load() if we have coherency.

Revision 1.79 / (download) - annotate - [select for diffs], Sun Mar 28 19:35:13 2004 UTC (19 years, 11 months ago) by pk
Branch: 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
Changes since 1.78: +6 -3 lines
Diff to previous 1.78 (colored)

iommu_dmamap_load: deal with pmap_extract() failing.

Revision 1.78 / (download) - annotate - [select for diffs], Wed Mar 17 17:04:59 2004 UTC (19 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.77: +6 -6 lines
Diff to previous 1.77 (colored)

Rename PROM_getprop*() => prom_getprop*().

Revision 1.77 / (download) - annotate - [select for diffs], Wed Aug 27 15:59:53 2003 UTC (20 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored)

change PROM_getprop() from taking a "void **" for the storage, to a
"void *", and do the extra de-reference directly in the function.  this
avoids having to cast dozens of different types to "void **", which sets
of GCC3's strict-aliasing.  testing by martin@

Revision 1.76 / (download) - annotate - [select for diffs], Tue Jul 15 00:05:05 2003 UTC (20 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.75: +5 -1 lines
Diff to previous 1.75 (colored)

__KERNEL_RCSID()

Revision 1.75 / (download) - annotate - [select for diffs], Wed Apr 2 04:35:24 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.74: +7 -7 lines
Diff to previous 1.74 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.59.4.9 / (download) - annotate - [select for diffs], Fri Jan 3 16:55:26 2003 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.59.4.8: +2 -2 lines
Diff to previous 1.59.4.8 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

Sync with HEAD.

XXX ALT_SWITCH_CODE is not yet LWP'ified.

Revision 1.74 / (download) - annotate - [select for diffs], Wed Jan 1 02:20:48 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

Use aprint_normal() for cfprint routines.

Revision 1.59.4.8 / (download) - annotate - [select for diffs], Thu Dec 19 00:38:02 2002 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.59.4.7: +2 -2 lines
Diff to previous 1.59.4.7 (colored) to branchpoint 1.59 (colored)

Sync with HEAD.

Revision 1.73 / (download) - annotate - [select for diffs], Mon Dec 16 16:59:11 2002 UTC (21 years, 2 months ago) by pk
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored)

The cache flush routines now take a CPU context parameter. This is going
to be necessary in SMP kernels.

Revision 1.63.6.1 / (download) - annotate - [select for diffs], Fri Nov 22 17:37:03 2002 UTC (21 years, 3 months ago) by tron
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Pull up revision 1.66 (requested by martin in ticket #948):
Use the structures defined in bsd_openprom.h for "reg", "range",
and "intr" properties, rather than having identical-except-for-names
sbus_* and iommu_* versions.

Revision 1.59.4.7 / (download) - annotate - [select for diffs], Fri Oct 18 02:39:59 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.59.4.6: +5 -6 lines
Diff to previous 1.59.4.6 (colored) to branchpoint 1.59 (colored)

Catch up to -current.

Revision 1.54.2.6 / (download) - annotate - [select for diffs], Thu Oct 10 18:36:22 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.54.2.5: +5 -6 lines
Diff to previous 1.54.2.5 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.72 / (download) - annotate - [select for diffs], Wed Oct 2 16:02:10 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Oct 1 18:57:49 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.70: +3 -4 lines
Diff to previous 1.70 (colored)

Use CFATTACH_DECL().

Revision 1.70 / (download) - annotate - [select for diffs], Fri Sep 27 20:36:01 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored)

Declare all cfattach structures const.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Sep 27 15:36:47 2002 UTC (21 years, 5 months ago) by provos
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

remove trailing \n in panic().  approved perry.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Sep 27 02:24:24 2002 UTC (21 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored)

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.

Revision 1.54.2.5 / (download) - annotate - [select for diffs], Fri Sep 6 08:41:10 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.54.2.4: +52 -70 lines
Diff to previous 1.54.2.4 (colored) to branchpoint 1.54 (colored)

sync kqueue branch with HEAD

Revision 1.63.4.3 / (download) - annotate - [select for diffs], Sat Aug 31 14:52:22 2002 UTC (21 years, 6 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.63.4.2: +51 -69 lines
Diff to previous 1.63.4.2 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

catch up with -current.

Revision 1.59.4.6 / (download) - annotate - [select for diffs], Tue Aug 27 23:45:41 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.59.4.5: +51 -69 lines
Diff to previous 1.59.4.5 (colored) to branchpoint 1.59 (colored)

Catch up to -current.

Revision 1.67 / (download) - annotate - [select for diffs], Sun Aug 25 16:02:53 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.66: +49 -67 lines
Diff to previous 1.66 (colored)

Move the DMA tag and DVMA map into the iommu_softc, and pass the
iommu_softc in the DMA tag cookie.  This gives us a chance of supporting
systems (such as the Sun4d) which have multiple iommus.

Revision 1.66 / (download) - annotate - [select for diffs], Fri Aug 23 02:53:12 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.65: +3 -3 lines
Diff to previous 1.65 (colored)

Use the structures defined in bsd_openprom.h for "reg", "range",
and "intr" properties, rather than having identical-except-for-names
sbus_* and iommu_* versions.

Revision 1.59.4.5 / (download) - annotate - [select for diffs], Thu Aug 1 02:43:28 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.59.4.4: +2 -2 lines
Diff to previous 1.59.4.4 (colored) to branchpoint 1.59 (colored)

Catch up to -current.

Revision 1.63.4.2 / (download) - annotate - [select for diffs], Sun Jul 21 13:00:53 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.63.4.1: +2 -2 lines
Diff to previous 1.63.4.1 (colored) to branchpoint 1.63 (colored)

catch up with -current.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Jul 17 04:55:57 2002 UTC (21 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored)

Remote CPU_ISSUN4OR4C and CPU_ISSUN4COR4M, and instead express them
as (CPU_ISSUN4 || CPU_ISSUN4C) and (CPU_ISSUN4C || CPU_ISSUN4M),
respectively.  The compiler can still optimize as desired by expressing
them this way, and it simplifies adding new tests.

While here, just remove CPU_ISSUN4MOR4U; it's not used by anything.

Revision 1.63.4.1 / (download) - annotate - [select for diffs], Mon Jul 15 01:21:20 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.63: +1 -2 lines
Diff to previous 1.63 (colored)

catch up with -current.

Revision 1.54.2.4 / (download) - annotate - [select for diffs], Sun Jun 23 17:41:50 2002 UTC (21 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.54.2.3: +1 -2 lines
Diff to previous 1.54.2.3 (colored) to branchpoint 1.54 (colored)

catch up with -current on kqueue branch

Revision 1.59.4.4 / (download) - annotate - [select for diffs], Thu Jun 20 03:41:06 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.59.4.3: +1 -2 lines
Diff to previous 1.59.4.3 (colored) to branchpoint 1.59 (colored)

Catch up to -current.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Jun 2 14:44:39 2002 UTC (21 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.63: +1 -2 lines
Diff to previous 1.63 (colored)

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.59.4.3 / (download) - annotate - [select for diffs], Mon Apr 1 07:42:50 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.59.4.2: +2 -4 lines
Diff to previous 1.59.4.2 (colored) to branchpoint 1.59 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.54.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 15:59:51 2002 UTC (21 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.54.2.2: +2 -4 lines
Diff to previous 1.54.2.2 (colored) to branchpoint 1.54 (colored)

Catch up with -current.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Mar 11 16:27:03 2002 UTC (21 years, 11 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, eeh-devprop-base, eeh-devprop
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.62: +2 -4 lines
Diff to previous 1.62 (colored)

* `bus_type_t' is gone.
* Use BUS_ADDR() where appropriate to encode I/O space and physical
  address offset into a `bus_addr_t' value.
* Drop obio_bus_map() since it's now completely equivalent to bus_space_map()
* Use bus_space_map2() to map device space at a fixed virtual address.
* Remove the virtual address argument from sbus_sbus_addr()

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:48:59 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.54.2.1: +16 -13 lines
Diff to previous 1.54.2.1 (colored) to branchpoint 1.54 (colored)

Sync kqueue branch with -current.

Revision 1.59.4.2 / (download) - annotate - [select for diffs], Tue Jan 8 00:27:45 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.59.4.1: +870 -0 lines
Diff to previous 1.59.4.1 (colored) to branchpoint 1.59 (colored)

Catch up to -current.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Dec 4 00:05:07 2001 UTC (22 years, 3 months ago) by darrenr
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
Changes since 1.61: +2 -1 lines
Diff to previous 1.61 (colored)

defopt "options SUN4*", put #define for each of SUN4, SUN4C, SUN4M and SUN4U
into opt_arch_sparc.h and include this wherever they are used.

Revision 1.61 / (download) - annotate - [select for diffs], Tue Nov 13 03:04:50 2001 UTC (22 years, 3 months ago) by uwe
Branch: MAIN
Changes since 1.60: +1 -2 lines
Diff to previous 1.60 (colored)

Move dvma_cachealign to cache.c where it belongs and declare it in
cache.h, so that kernel can be linked without iommu support (for the
sake of microSPARC-IIep that has a very different iotlb).

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:17:32 2001 UTC (22 years, 3 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.59: +5 -1 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.60 / (download) - annotate - [select for diffs], Sat Oct 27 17:44:18 2001 UTC (22 years, 4 months ago) by darrenr
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.59: +5 -1 lines
Diff to previous 1.59 (colored)

fix so it compiles on a system without 'options SUN4M'

Revision 1.54.4.2 / (download) - annotate - [select for diffs], Thu Oct 11 00:01:52 2001 UTC (22 years, 4 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.54.4.1: +3 -5 lines
Diff to previous 1.54.4.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.

Revision 1.59.4.1, Wed Oct 3 09:40:12 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.59: +0 -866 lines
FILE REMOVED

file iommu.c was added on branch nathanw_sa on 2002-01-08 00:27:45 +0000

Revision 1.59 / (download) - annotate - [select for diffs], Wed Oct 3 09:40:12 2001 UTC (22 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base3
Branch point for: thorpej-mips-cache, nathanw_sa
Changes since 1.58: +3 -5 lines
Diff to previous 1.58 (colored)

use pmap_k{enter_pa,remove}() where appropriate.

Revision 1.54.4.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:42:09 2001 UTC (22 years, 5 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.54: +11 -10 lines
Diff to previous 1.54 (colored)

Catch up with -current.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Sep 28 11:59:53 2001 UTC (22 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base2
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored)

don't depend on other headers to include sys/proc.h for us.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Sep 26 20:53:08 2001 UTC (22 years, 5 months ago) by eeh
Branch: MAIN
Changes since 1.56: +5 -5 lines
Diff to previous 1.56 (colored)

getprop* -> PROM_getprop*

Revision 1.56 / (download) - annotate - [select for diffs], Wed Sep 26 15:05:49 2001 UTC (22 years, 5 months ago) by eeh
Branch: MAIN
Changes since 1.55: +4 -4 lines
Diff to previous 1.55 (colored)

*NEVER* cast a reference parameter to a different type.

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:14:36 2001 UTC (22 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

Update the kqueue branch to HEAD.

Revision 1.55 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:24 2001 UTC (22 years, 5 months ago) by chris
Branch: MAIN
CVS Tags: pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

Currently this is a no-op on most platforms, so they should see no difference.

Reviewed by Jason.

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 19:35:02 2001 UTC (22 years, 8 months ago) by nathanw
Changes since 1.51: +47 -7 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Catch up to -current.

Revision 1.54 / (download) - annotate - [select for diffs], Sat May 26 21:27:15 2001 UTC (22 years, 9 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp, kqueue
Changes since 1.53: +4 -4 lines
Diff to previous 1.53 (colored)

replace vm_page_t with struct vm_page *.

Revision 1.53 / (download) - annotate - [select for diffs], Mon May 21 22:44:08 2001 UTC (22 years, 9 months ago) by uwe
Branch: MAIN
Changes since 1.52: +42 -4 lines
Diff to previous 1.52 (colored)

There is no iommu prom node on JavaStation 1 and sbus node is directly
under root.  If /sbus is encountered on sun4m - attach implied iommu
first and attach /sbus under it.  Adjust bootpath accordingly to match
the attachment.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Apr 24 04:31:11 2001 UTC (22 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.51: +3 -1 lines
Diff to previous 1.51 (colored)

Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).

These calls are relatively conservative.  It may be possible to
optimize these a little more.

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 13:29:22 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.35.2.1: +3 -5 lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

Sync with HEAD.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Mar 5 16:43:34 2001 UTC (23 years ago) by pk
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Changes since 1.50: +3 -5 lines
Diff to previous 1.50 (colored)

Fix `flags' argument to pmap_enter().

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:25:44 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.35: +311 -274 lines
Diff to previous 1.35 (colored)

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.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Jul 22 21:23:05 2000 UTC (23 years, 7 months ago) by pk
Branch: MAIN
Changes since 1.49: +3 -6 lines
Diff to previous 1.49 (colored)

Minor comment update; remove unused code.

Revision 1.44.2.2 / (download) - annotate - [select for diffs], Sat Jul 22 21:18:57 2000 UTC (23 years, 7 months ago) by pk
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.44.2.1: +41 -15 lines
Diff to previous 1.44.2.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

Pull up revisions 1.45,1.49.

revision 1.45
Maintain the DVMA map extent subregion boundaries in the bus_dma map
structure.

revision 1.49
GC dead code.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jul 4 14:05:34 2000 UTC (23 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.48: +1 -12 lines
Diff to previous 1.48 (colored)

GC dead code.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Fri Jun 30 16:27:39 2000 UTC (23 years, 8 months ago) by simonb
Branch: netbsd-1-5
Changes since 1.44: +7 -5 lines
Diff to previous 1.44 (colored)

Pull up mmap paddr_t/off_t changes from trunk.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Jun 29 07:40:10 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.47: +1 -2 lines
Diff to previous 1.47 (colored)

remove include of <vm/vm.h> and <machine/pmap.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.47 / (download) - annotate - [select for diffs], Mon Jun 26 14:20:57 2000 UTC (23 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.46: +1 -3 lines
Diff to previous 1.46 (colored)

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.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Jun 26 04:56:06 2000 UTC (23 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.45: +7 -5 lines
Diff to previous 1.45 (colored)

Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Jun 24 22:47:45 2000 UTC (23 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.44: +44 -4 lines
Diff to previous 1.44 (colored)

Maintain the DVMA map extent subregion boundaries in the bus_dma map
structure.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:04:09 2000 UTC (23 years, 8 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.41: +112 -72 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.44 / (download) - annotate - [select for diffs], Tue May 30 03:26:34 2000 UTC (23 years, 9 months ago) by cjs
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

Fix typo in DEBUG code.

Revision 1.43 / (download) - annotate - [select for diffs], Mon May 29 20:41:10 2000 UTC (23 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.42: +38 -21 lines
Diff to previous 1.42 (colored)

Use uvm_pglistalloc() to allocate memory for the I/O PTEs; modelled after
a similar change by Art Grabowski in Openbsd.

Revision 1.42 / (download) - annotate - [select for diffs], Sun May 28 20:55:54 2000 UTC (23 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.41: +76 -53 lines
Diff to previous 1.41 (colored)

Cleanup iommu_attach().

Revision 1.41 / (download) - annotate - [select for diffs], Tue May 23 11:39:58 2000 UTC (23 years, 9 months ago) by pk
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.40: +22 -31 lines
Diff to previous 1.40 (colored)

Simplify the bus_dma(9) implementation:

- the `alignment' and `boundary' arguments in bus_dmamem_alloc() only
  serve as hints on how to break up a DMA transaction into chunks
  when necessary; it is not necessary on sparc DVMA hardware.

- exclusively use the VM page size (i.e. PAGE_SIZE et.al.) when computing
  resource allocations.

- remember the size of DVMA resource allocations in the private `_ds_sgsize'
  field in a dma segment descriptor.

Revision 1.40 / (download) - annotate - [select for diffs], Wed May 10 11:17:50 2000 UTC (23 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.39: +10 -7 lines
Diff to previous 1.39 (colored)

* Fix thinko in offset computations.
* Add DIAGNOSTIC checks.

Revision 1.39 / (download) - annotate - [select for diffs], Tue May 9 22:39:35 2000 UTC (23 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.38: +147 -187 lines
Diff to previous 1.38 (colored)

The bus_dma(9) implementation now allocates DVMA addresses in
bus_dmamap_load_*() routines only. Note that DMA memory buffers
allocated with bus_dmamem_alloc() _must_ be loaded by bus_dmamap_load_raw().

Revision 1.32.2.2 / (download) - annotate - [select for diffs], Sat Jan 15 16:56:13 2000 UTC (24 years, 1 month ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Changes since 1.32.2.1: +33 -7 lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Pull up revision 1.37 (requested by pk):
  Allow old sbus cards with 24-bit devices (e.g. lance) to be
  configured correctly on sun4m machines.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Jan 11 13:01:52 2000 UTC (24 years, 1 month ago) by pk
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.37: +1 -9 lines
Diff to previous 1.37 (colored)

Remove old-style boot device recognition.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jan 7 10:54:11 2000 UTC (24 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.36: +33 -7 lines
Diff to previous 1.36 (colored)

Deal with `24 bit' devices which can still be plugged into an Sbus slot.

Revision 1.35.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:33:50 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Pull up to last week's -current.

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:39:18 1999 UTC (24 years, 3 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Sync with -current

Revision 1.36 / (download) - annotate - [select for diffs], Sat Nov 13 00:32:14 1999 UTC (24 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

Update for pmap_enter() API change.  No functional difference.

Revision 1.32.2.1.2.2 / (download) - annotate - [select for diffs], Mon Aug 2 20:09:14 1999 UTC (24 years, 7 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.32.2.1.2.1: +6 -4 lines
Diff to previous 1.32.2.1.2.1 (colored) to branchpoint 1.32.2.1 (colored) next main 1.32.2.2 (colored)

Update from trunk.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Jul 8 18:08:58 1999 UTC (24 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.34: +6 -4 lines
Diff to previous 1.34 (colored)

Change the pmap_extract() interface to:
	boolean_t pmap_extract(pmap_t, vaddr_t, paddr_t *);
This makes it possible for the pmap to map physical address 0.

Revision 1.32.2.1.2.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:01:47 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.32.2.1: +3 -2 lines
Diff to previous 1.32.2.1 (colored)

Sync w/ -current.

Revision 1.34 / (download) - annotate - [select for diffs], Tue May 25 23:14:07 1999 UTC (24 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored)

bus_dmamem_map() maps DMA safe memory, which is usually one or more
managed pages, into KVA space.  Since the pages are managed, we should
use pmap_enter(), not pmap_kenter_pa().

Also, when entering the mappings, enter with an access_type of
VM_PROT_READ | VM_PROT_WRITE.  We do this for a couple of reasons:

	(1) On systems that have H/W mod/ref attributes, the hardware
	    may not be able to track mod/ref done by a bus master.

	(2) On systems that have to do mod/ref emulation, this prevents
	    a mod/ref page fault from potentially happening while in an
	    interrupt context, which can be problematic.

This latter change is fairly important if we ever want to be able to
transfer DMA-safe memory pages to anonymous memory objects; we will need
to know that the pages are modified, or else data could be lost!

Note that while the pages are unowned (i.e. "just DMA-safe memory pages"),
they won't consume any swap resources, as the mappings are wired, and
the pages aren't on the active or inactive queues.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Fri Apr 23 15:12:24 1999 UTC (24 years, 10 months ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.32: +33 -11 lines
Diff to previous 1.32 (colored)

pullup 1.32->1.33 (pk)

Revision 1.33 / (download) - annotate - [select for diffs], Tue Apr 20 20:15:48 1999 UTC (24 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.32: +33 -11 lines
Diff to previous 1.32 (colored)

Protect extent(9) ops with splhigh().

Revision 1.32 / (download) - annotate - [select for diffs], Fri Mar 26 23:41:35 1999 UTC (24 years, 11 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

Changes for modified pmap_enter() API:
* Map the message buffer with access_type = VM_PROT_READ|VM_PROT_WRITE `just
  because'.
* Map the file system buffers with access_type = VM_PROT_READ|VM_PROT_WRITE to
  avoid possible problems with pagemove().
* Do not use VM_PROT_EXEC with either of the above.
* Map pages for /dev/mem with access_type = prot.  Also, DO NOT use
  pmap_kenter() for this, as we DO NOT want to lose modification information.
* Map pages in dumpsys() with VM_PROT_READ.
* Map pages in m68k mappedcopyin()/mappedcopyout() and writeback() with
  access_type = prot.
* For now, bus_dma*(), pmap_map(), vmapbuf(), and similar functions still use
  access_type = 0.  This should probably be revisited.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Mar 25 22:13:40 1999 UTC (24 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.30: +2 -1 lines
Diff to previous 1.30 (colored)

Put back <uvm/uvm.h>

Revision 1.30 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:11 1999 UTC (24 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.29: +2 -7 lines
Diff to previous 1.29 (colored)

completely remove Mach VM support.  all that is left is the all the
header files as UVM still uses (most of) these.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Oct 18 16:02:34 1998 UTC (25 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

PR/6311: By me... There was a bug unloading the dmamap:

	addr = map->dm_segs[0].ds_addr & ~PGOFSET;
	len = map->dm_segs[0].ds_len;
	len = ((addr & PGOFSET) + len + PGOFSET) & ~PGOFSET;
	addr &= ~PGOFSET;

Notice that the & ~PGOFSET in the first line should be gone. This fixes
the newfs large disk panic.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Oct 11 23:21:02 1998 UTC (25 years, 4 months ago) by chuck
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

remove unused share map code from UVM:
 - update calls to uvm_unmap_remove/uvm_unmap (mainonly boolean arg
        has been removed)

Revision 1.27 / (download) - annotate - [select for diffs], Sat Sep 19 15:47:19 1998 UTC (25 years, 5 months ago) by pk
Branch: MAIN
Changes since 1.26: +9 -1 lines
Diff to previous 1.26 (colored)

Pass the children register space in the attach arguments.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Sep 10 21:08:39 1998 UTC (25 years, 5 months ago) by pk
Branch: MAIN
Changes since 1.25: +8 -36 lines
Diff to previous 1.25 (colored)

Use our brand new extent_alloc1() function to allocate cache-aligned
DVMA addresses.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Sep 1 18:05:27 1998 UTC (25 years, 6 months ago) by pk
Branch: MAIN
Changes since 1.24: +7 -1 lines
Diff to previous 1.24 (colored)

Hang on to `old VM' a little while longer..

Revision 1.24 / (download) - annotate - [select for diffs], Mon Aug 31 20:00:22 1998 UTC (25 years, 6 months ago) by pk
Branch: MAIN
Changes since 1.23: +62 -29 lines
Diff to previous 1.23 (colored)

Implement cache alignment in bus_dmamem_load().

Revision 1.23 / (download) - annotate - [select for diffs], Fri Aug 28 20:02:19 1998 UTC (25 years, 6 months ago) by pk
Branch: MAIN
Changes since 1.22: +3 -9 lines
Diff to previous 1.22 (colored)

Pass on bus_dma*() aligment and boundary arguments.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Aug 23 09:53:47 1998 UTC (25 years, 6 months ago) by pk
Branch: MAIN
Changes since 1.21: +10 -7 lines
Diff to previous 1.21 (colored)

Rename DVMA constants.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Aug 21 14:13:54 1998 UTC (25 years, 6 months ago) by pk
Branch: MAIN
Changes since 1.20: +31 -27 lines
Diff to previous 1.20 (colored)

Convert to [pv]addr_t & [pv]size_t.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Aug 20 20:49:33 1998 UTC (25 years, 6 months ago) by pk
Branch: MAIN
Changes since 1.19: +4 -3 lines
Diff to previous 1.19 (colored)

Pass on `NOWAIT' and `boundary' args to extent_alloc().

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sat Aug 8 03:06:41 1998 UTC (25 years, 7 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.17: +385 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Revert cdevsw mmap routines to return int.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jul 31 22:23:30 1998 UTC (25 years, 7 months ago) by pk
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Move `dvma_cachealign' here from vm_machdep.c

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jul 30 22:28:44 1998 UTC (25 years, 7 months ago) by pk
Branch: MAIN
Changes since 1.17: +384 -3 lines
Diff to previous 1.17 (colored)

The IOMMU now has its own dma bus tag and associated functions.
machdep.c retains the `mainbus' (i.e. sun4/sun4c) bus_dma* versions for now.
Create a DVMA map specifically for 24-bit devices (le,ie), which has a
more room than previous DVMA map which should be reserved for sun4 VME.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Mar 30 14:21:39 1998 UTC (25 years, 11 months ago) by pk
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Replace direct `sparc_bus_map()' calls with bus space map method.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Mar 21 12:21:18 1998 UTC (25 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.15: +37 -20 lines
Diff to previous 1.15 (colored)

The iommu "bus" now presents its own attach arguments to its children.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jan 12 20:24:08 1998 UTC (26 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.14: +1 -5 lines
Diff to previous 1.14 (colored)

Update for changes to config.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Mon Sep 22 06:32:31 1997 UTC (26 years, 5 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Sep 18 20:44:43 1997 UTC (26 years, 5 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Fix viking/MXCC botch similar to pmap.c.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jul 29 09:42:04 1997 UTC (26 years, 7 months ago) by fair
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp
Branch point for: marc-pcmcia
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

%x -> 0x%x

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jul 2 14:39:24 1997 UTC (26 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (colored)

Remove a bogon.

Revision 1.11 / (download) - annotate - [select for diffs], Sat May 24 20:16:01 1997 UTC (26 years, 9 months ago) by pk
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Remove `bustype' argument from map[io]dev().

Revision 1.10 / (download) - annotate - [select for diffs], Sat Mar 22 19:17:06 1997 UTC (26 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.9: +10 -9 lines
Diff to previous 1.9 (colored)

For each major "module", define a separate set of MMU control register bits.

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Wed Mar 12 13:55:30 1997 UTC (26 years, 11 months ago) by is
Branch: is-newarp
Changes since 1.8: +4 -1 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Merge in changes from The Trunk

Revision 1.9 / (download) - annotate - [select for diffs], Mon Mar 10 23:13:59 1997 UTC (26 years, 11 months ago) by pk
Branch: MAIN
CVS Tags: is-newarp-before-merge
Changes since 1.8: +4 -1 lines
Diff to previous 1.8 (colored)

Leave `has_iocache' unset if cache not enabled.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Dec 10 23:17:44 1996 UTC (27 years, 2 months ago) by pk
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-base
Branch point for: is-newarp
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored)

Comply with recent autoconfiguration changes. Diffs graciously
supplied by Chris Demetriou.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Oct 13 03:00:35 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.6: +6 -6 lines
Diff to previous 1.6 (colored)

backout previous kprintf change

Revision 1.6 / (download) - annotate - [select for diffs], Fri Oct 11 00:47:20 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.5: +6 -6 lines
Diff to previous 1.5 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.5 / (download) - annotate - [select for diffs], Tue Aug 27 21:57:31 1996 UTC (27 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

change cfprint_t type definition to take a const char *, rather than
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).

Revision 1.4 / (download) - annotate - [select for diffs], Tue May 21 07:25:07 1996 UTC (27 years, 9 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

Protect body of iommuattach() to be more resilient against configuration
file oddities.

Revision 1.3 / (download) - annotate - [select for diffs], Thu May 16 15:57:16 1996 UTC (27 years, 9 months ago) by abrown
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Copyright police (s/Harvard University/Harvard College/).

Revision 1.2 / (download) - annotate - [select for diffs], Thu Apr 4 23:05:22 1996 UTC (27 years, 11 months ago) by abrown
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Add back support for cached DVMA on SuperSPARC (sun4m) machines that was lost
during merge

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 31 23:09:32 1996 UTC (27 years, 11 months ago) by pk
Branch: MAIN

The sun4m IOMMU "device".

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>