The NetBSD Project

CVS log for src/sys/arch/powerpc/include/pmap.h

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.42.4.1: download - view: text, markup, annotated - select for diffs
Fri Dec 29 20:21:39 2023 UTC (11 months 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.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +5 -1 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.43: download - view: text, markup, annotated - select for diffs
Fri Dec 15 09:43:59 2023 UTC (11 months, 2 weeks ago) by rin
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +5 -1 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.42: download - view: text, markup, annotated - select for diffs
Sat May 7 07:10:46 2022 UTC (2 years, 6 months ago) by rin
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.41: preferred, colored
Changes since revision 1.41: +10 -3 lines
Try to fix PV tracking support.

* For oea (with real PV tracking support):

  Define __HAVE_PMAP_PV_TRACK. Otherwise, pmap_pv_init() is not called by
  uvm_init().

* For booke and ibm4xx (without PV tracking support):

  For MODULAR kernel and modules, define __HAVE_PMAP_PV_TRACK together with
  PMAP_PV_TRACK_ONLY_STUBS, so that modules can be shared with oea.

Note that PMAP_PV_TRACK_ONLY_STUBS can be used even for oea,
as a compile-time option to strip real PV tracking support.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Feb 16 23:31:13 2022 UTC (2 years, 9 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -1 lines
powerpc: Implement pv-tracking for unmanaged pages.

Needed for drm.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Jul 6 08:17:01 2020 UTC (4 years, 4 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.39: preferred, colored
Changes since revision 1.39: +2 -2 lines
Fix comments. No binary changes.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Jun 27 02:40:24 2020 UTC (4 years, 5 months ago) by rin
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -1 lines
Fix MODULAR support for ibm4xx by providing __nothing as VM_MDPAGE_INIT().

Revision 1.35.8.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:31 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.35: preferred, colored; next MAIN 1.36: preferred, colored
Changes since revision 1.35: +34 -5 lines
Catchup with rmind-uvmplock merge.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Jun 20 21:45:16 2011 UTC (13 years, 5 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, 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-4-RELEASE, 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-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, 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-pre-base2, 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, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, 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
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2 lines
Readd powerpc/include/vmparam.h to the set lists
Export it to powerpc/include.h
Protect pmap.h and vmparam.h from getting an #error when included
from userland.
Export safe definitions of VM_MAXUSER_ADDRESS, VM_MIN_ADDRESS,
VM_MAX_ADDRESS when _RUMPKERNEL is defined.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Jun 20 20:24:28 2011 UTC (13 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +31 -3 lines
PowerPC now exports a common view of cpu.h, vmparam.h and pmap.h
when building a MODULAR kernel or compiling _MODULE.
It should be noted that MODULAR or _MODULE export a view of the kernel
as being MULTIPROCESSOR (even if isn't).
The shared pmap TLB uses mdpg in places where it used mdpg to avoid
deadly embrance inclusion problems.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Jun 20 08:07:03 2011 UTC (13 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -1 lines
Add #error for unknown PPC variant
Now that oea calls cpu_fixup_stubs, we don't need pmap_fixup_stubs.

Revision 1.33.82.1: download - view: text, markup, annotated - select for diffs
Fri Jan 7 01:58:43 2011 UTC (13 years, 10 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: +3 -1 lines
Add booke support.

Revision 1.34.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:43 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +3 -1 lines
Sync with HEAD.

Revision 1.33.62.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:50 2010 UTC (14 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.33.62.1: preferred, colored; branchpoint 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33.62.1: +3 -1 lines
sync with head

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Mar 9 22:40:06 2010 UTC (14 years, 8 months ago) by matt
Branches: 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, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -1 lines
Include BookE version of pmap.h

Revision 1.33.62.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:11:43 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -4 lines
sync with head.

Revision 1.33.70.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:16:37 2009 UTC (15 years, 10 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: +1 -4 lines
Sync with HEAD.

Revision 1.33.58.1: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:26 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +1 -4 lines
Sync with HEAD.

Revision 1.33.68.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:23 2008 UTC (15 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +1 -4 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Dec 9 20:45:45 2008 UTC (15 years, 11 months ago) by pooka
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, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base
Branch point for: uebayasi-xip
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -4 lines
Make pmap_kernel() a MI macro for struct pmap *kernel_pmap_ptr,
which is now the "API" provided by the pmap module.  pmap_kernel()
remains as the syntactic sugar.

Bonus cosmetics round: move all the pmap_t pointer typedefs into
uvm_pmap.h.

Thanks to Greg Oster for providing cpu muscle for doing test builds.

Revision 1.32.18.1: 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.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +2 -2 lines
sync with head.

Revision 1.32.32.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:42:28 2006 UTC (18 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +2 -2 lines
sync with head

Revision 1.32.36.1: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:42:40 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +2 -2 lines
sync with head

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Aug 5 21:26:49 2006 UTC (18 years, 4 months ago) by sanjayl
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, 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, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, rpaulo-netinet-merge-pcb-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, post-newlock2-merge, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, 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, 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, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, 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-nb4-arm-base, matt-nb4-arm, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-dm-base1, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-nfs-mp, nick-hppapmap, mjf-devfs2, matt-nb5-pq3, haad-dm
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
1st cut of Powermac G5 support (uses bridge mode).

Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Feb 5 01:27:34 2003 UTC (21 years, 10 months ago) by matt
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, 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, 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, ktrace-lwp-base, ktrace-lwp, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-pdpolicy, yamt-lazymbuf, rpaulo-netinet-merge-pcb
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +3 -1 lines
Don't define pmap_t if _LOCORE is defined.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Tue Feb 4 01:31:49 2003 UTC (21 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -1 lines
LKM's need a pmap_t typedef but there's no PPC_xxx to defined which pmap.h
to include.  So just declare the pmap_t and don't do anything else.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Feb 3 17:10:01 2003 UTC (21 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +10 -121 lines
Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).

Revision 1.29
Mon Feb 3 05:15:53 2003 UTC (21 years, 10 months ago) by matt
Branches: MAIN
FILE REMOVED
Changes since revision 1.28: +1 -1 lines
More cleanup for OLDPMAP.

Revision 1.25.4.3: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:02:53 2002 UTC (22 years ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.25.4.2: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.4.2: +4 -4 lines
Catch up to -current

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Nov 3 22:36:23 2002 UTC (22 years, 1 month ago) by matt
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.27: preferred, colored
Changes since revision 1.27: +4 -4 lines
Change _MACHINE_foo_H_ to _POWERPC_foo_H_

Revision 1.25.4.2: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:39:31 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.25.4.1: preferred, colored; branchpoint 1.25: preferred, colored
Changes since revision 1.25.4.1: +122 -0 lines
Catch up to -current.

Revision 1.23.2.3: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:35:20 2002 UTC (22 years, 1 month ago) by jdolecek
Branches: kqueue
Diff to: previous 1.23.2.2: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.2: +7 -1 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Sep 22 07:53:47 2002 UTC (22 years, 2 months ago) by chs
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
it really helps to get the stub right before cutting + pasting it 27 times.
alas, I did not.  doh.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Sep 22 07:17:18 2002 UTC (22 years, 2 months ago) by chs
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +7 -1 lines
add pmap_remove_all() hook (empty on most platforms so far).

Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:48:02 2002 UTC (22 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.23.2.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.1: +2 -1 lines
Sync kqueue branch with -current.

Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:41:41 2001 UTC (23 years, 2 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23: +3 -2 lines
Catch up with -current.

Revision 1.25.4.1
Sun Sep 23 08:12:59 2001 UTC (23 years, 2 months ago) by nathanw
Branches: nathanw_sa
FILE REMOVED
Changes since revision 1.25: +0 -116 lines
file pmap.h was added on branch nathanw_sa on 2002-10-18 02:39:31 +0000

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Sep 23 08:12:59 2001 UTC (23 years, 2 months ago) by chs
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, 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, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -1 lines
implement pmap_wired_count().

Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:14:22 2001 UTC (23 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
Update the kqueue branch to HEAD.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Sep 10 21:19:37 2001 UTC (23 years, 2 months ago) by chris
Branches: MAIN
CVS tags: pre-chs-ubcperf, post-chs-ubcperf
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
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.18.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:32:22 2001 UTC (23 years, 5 months ago) by nathanw
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +3 -1 lines
Catch up to -current.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Jun 10 11:01:27 2001 UTC (23 years, 5 months ago) by tsubai
Branches: MAIN
CVS tags: thorpej-devvp-base
Branch point for: thorpej-devvp, kqueue
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -0 lines
Make the new pmap optional.  Use the old (stable!) pmap by default.

Revision 1.22
Wed Jun 6 17:36:02 2001 UTC (23 years, 6 months ago) by matt
Branches: MAIN
FILE REMOVED
Changes since revision 1.21: +1 -1 lines
Introduce a new & faster pmap for the MPC6xx (60x, 7xx, 7xxx) PPC CPUs.
Move MPC6xx dependent header files to powerpc/include/mpc6xx/

Revision 1.16.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 23 09:42:01 2001 UTC (23 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.16.2.2: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.2: +2 -1 lines
Sync with HEAD.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Apr 22 23:19:29 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
Undo a misguided previous change to the pmap_update() API.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Apr 22 00:34:02 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
Give pmap_update() an argument (a pmap_t) so that it knows which
pmap it should be updating.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Apr 21 23:51:20 2001 UTC (23 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1 lines
#define away pmap_update() in <machine/pmap.h> so that no function
call overhead is incurred as we start sprinkling pmap_update() calls
throughout the source tree (no pmaps currently defer operations, but
we are adding the infrastructure to allow them to do so).

Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:11:35 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.2.1: +2 -1 lines
Sync with HEAD.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Feb 4 17:38:10 2001 UTC (23 years, 10 months ago) by briggs
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -1 lines
Build with -Wall -Wetc.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:31:10 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -1 lines
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.17: download - view: text, markup, annotated - select for diffs
Thu Mar 30 16:18:24 2000 UTC (24 years, 8 months ago) by jdolecek
Branches: MAIN
CVS tags: netbsd-1-5-base, 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, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -1 lines
Prototype vtophys() before defining it. Needed for compilation with
-Wstrict prototypes on macppc.

Problem noted by  Hans-Christian Becker <hcb@phc.chalmers.se> in private mail.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Sep 12 01:17:18 1999 UTC (25 years, 2 months ago) by chs
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: thorpej_scsipi
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -7 lines
eliminate the PMAP_NEW option by making it required for all ports.
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.

Revision 1.11.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 2 20:07:16 1999 UTC (25 years, 4 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.11.4.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.4.1: +3 -3 lines
Update from trunk.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Jul 11 17:44:08 1999 UTC (25 years, 4 months ago) by tsubai
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
Adapt pmap_extract() change.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Jul 8 18:08:58 1999 UTC (25 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
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.11.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:01:04 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +12 -2 lines
Sync w/ -current.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Jun 17 19:23:21 1999 UTC (25 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
pmap_change_wiring() -> pmap_unwire().

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Apr 16 21:45:19 1999 UTC (25 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +11 -1 lines
Use the same hack as pmap_zero_page() and pmap_copy_page() to provide
direct-mapped pool pages.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Mar 5 06:10:48 1999 UTC (25 years, 9 months ago) by tsubai
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -1 lines
Add RSS accounting.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Feb 26 14:40:45 1999 UTC (25 years, 9 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -1 lines
Implement pmap_procwr().
(Not tested.  gdb doesn't work on powerpc yet.)

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Sep 1 16:35:50 1998 UTC (26 years, 3 months ago) by tsubai
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -1 lines
Add some prototypes.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Aug 31 14:43:40 1998 UTC (26 years, 3 months ago) by tsubai
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -5 lines
vm_offset_t --> [pv]addr_t

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jul 25 15:06:28 1998 UTC (26 years, 4 months ago) by tsubai
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +14 -2 lines
Make vtophys() return non-zero even if the addr < end.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Jan 27 09:15:59 1998 UTC (26 years, 10 months ago) by sakamoto
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -1 lines
Import DDB from OpenBSD/powerpc.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Jan 6 08:14:14 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -3 lines
Don't need __VM_PMAP_HACK anymore.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jan 3 01:13:09 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -5 lines
Now that all ports have pmap_activate(), and it has an identical interface,
prototype it in <vm/pmap.h>

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Jan 2 22:17:22 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -1 lines
Implement pmap_activate().

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri May 16 21:35:41 1997 UTC (27 years, 6 months ago) by gwr
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, 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-bp, marc-pcmcia-base, marc-pcmcia, bouyer-scsipi
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -1 lines
Add #define __VM_PMAP_HACK as a temporary measure.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Sep 30 16:34:29 1996 UTC (28 years, 2 months ago) by ws
Branches: MAIN
CVS tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
PowerPC port

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>