The NetBSD Project

CVS log for src/sys/uvm/pmap/pmap.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / uvm / pmap

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.26 / (download) - annotate - [select for diffs], Thu Nov 3 18:55:07 2022 UTC (15 months, 4 weeks ago) by skrll
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, HEAD
Changes since 1.25: +3 -1 lines
Diff to previous 1.25 (colored)

_KERNEL_OPT protection

Revision 1.25 / (download) - annotate - [select for diffs], Thu Nov 3 09:04:57 2022 UTC (16 months ago) by skrll
Branch: MAIN
Changes since 1.24: +3 -1 lines
Diff to previous 1.24 (colored)

Provide MI PMAP support on AARCH64

Revision 1.24 / (download) - annotate - [select for diffs], Thu Oct 27 06:19:56 2022 UTC (16 months, 1 week ago) by skrll
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Rename pm_count to pm_refcnt

Revision 1.23 / (download) - annotate - [select for diffs], Thu Oct 27 05:33:37 2022 UTC (16 months, 1 week ago) by skrll
Branch: MAIN
Changes since 1.22: +3 -2 lines
Diff to previous 1.22 (colored)

Fix the crash(1) build for mips platforms

Revision 1.22 / (download) - annotate - [select for diffs], Wed Oct 26 07:35:20 2022 UTC (16 months, 1 week ago) by skrll
Branch: MAIN
Changes since 1.21: +124 -19 lines
Diff to previous 1.21 (colored)

MI PMAP hardware page table walker support.

This is based on code given to me by Matt Thomas a long time ago with
many updates and bugs fixes from me.

Revision 1.21 / (download) - annotate - [select for diffs], Sat May 7 06:53:16 2022 UTC (21 months, 4 weeks ago) by rin
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

Introduce PMAP_PV_TRACK_ONLY_STUBS option, by which only empty stubs for
global functions in pmap_pvt.h are provided, instead of real support for
PV tracking.

Necessary for powerpc: Only one sub-arch (oea) has PV tracking support.
Others (booke/ibm4xx) do not at the moment (probably never for ibm4xx),
but __HAVE_PMAP_PV_TRACK is necessary, so that modules can be shared by
all of sub-archs.

Revision 1.17.2.2 / (download) - annotate - [select for diffs], Sat Apr 3 22:29:03 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.17.2.1: +6 -1 lines
Diff to previous 1.17.2.1 (colored) next main 1.18 (colored)

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Mar 19 07:51:33 2021 UTC (2 years, 11 months ago) by skrll
Branch: 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-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
Changes since 1.19: +6 -1 lines
Diff to previous 1.19 (colored)

Support pmap_growkernel and KASAN shadow mapping of the new KVA.

Neither mips nor ppc booke actually use pmap_growkernel (at present).

Thanks to rin@ for testing a similar patch on ppc booke.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sun Jan 3 16:35:05 2021 UTC (3 years, 1 month ago) by thorpej
Branch: thorpej-futex
Changes since 1.17: +5 -2 lines
Diff to previous 1.17 (colored)

Sync w/ HEAD.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Dec 21 08:41:38 2020 UTC (3 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Remove variable in function declaration argument

Revision 1.18 / (download) - annotate - [select for diffs], Sun Dec 20 16:38:26 2020 UTC (3 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.17: +5 -2 lines
Diff to previous 1.17 (colored)

Support __HAVE_PMAP_PV_TRACK in sys/uvm/pmap based pmaps (aka common pmap)

Revision 1.17 / (download) - annotate - [select for diffs], Thu Aug 20 05:54:32 2020 UTC (3 years, 6 months ago) by mrg
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

move pmap segtab history into a new history of only 1000 entries,
but will overflow much slower than the main pmap history.

move various debug info into kernhist.  make pte array checker
into an array and use it in pmap_segtab_release() and
pmap_pte_reserve().  move check before MD callback(), incase it
wants to change ptes for some reason (they're passed in, but
this callback is currently always NULL.)

clean up some history logs to reduce the number of lines required.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Aug 7 07:19:45 2020 UTC (3 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

Provide a pmap_segtab_deactivate for symmetry with pmap_segtab_activate
and use it in pmap_deactivate

Call pmap_md_xtab_{,de}activate from pmap_segtab_{,de}activate to be used
for PMAP_HWPAGEWALKER and any caches ops that might be required.

Provide empty (for now) pmap_md_xtab_{,de}activate functions on the
platforms that use sys/uvm/pmap

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jul 8 12:12:16 2020 UTC (3 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.14: +6 -4 lines
Diff to previous 1.14 (colored)

Comment updates

Revision 1.9.8.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:05 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.9.8.1: +3 -2 lines
Diff to previous 1.9.8.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Merge changes from current as of 20200406

Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 15 11:36:24 2020 UTC (3 years, 11 months ago) by rin
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Fix build for ports using uvm/pmap; pmap_remove_all() returns a boolean.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Mar 11 13:30:31 2020 UTC (3 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

With DEBUG defined, it's possible to execute a TLB-vs-segmap consistency
check from a (soft) interrupt handler.  But if a platform does not otherwise
require the pmap_tlb_miss_lock, then where will be a brief window of
inconsistency that, while harmless, will still fire an assertion in the
consistency check.

Fix this with the following changes:
1- Refactor the pmap_tlb_miss_lock into MI code and rename it from
   pmap_tlb_miss_lock_{enter,exit}() to pmap_tlb_miss_lock_{enter,exit}().
   MD code can still define the "md" hooks as necessary, and if so, will
   override the common implementation.
2- Provde a pmap_bootstrap_common() function to perform common pmap bootstrap
   operations, namely initializing the pmap_tlb_miss_lock if it's needed.
   If MD code overrides the implementation, it's responsible for initializing
   its own lock.
3- Call pmap_bootstrap_common() from the mips, powerpc booke, and riscv
   pmap_bootstrap() routines.  (This required adding one for riscv.)
4- Switch powerpc booke to the common pmap_tlb_miss_lock.
5- Enable pmap_tlb_miss_lock if DEBUG is defined, even if it's not otherwise
   required.

PR port-mips/55062 (Failed assertion in pmap_md_tlb_check_entry())

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:58 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.9: +8 -5 lines
Diff to previous 1.9 (colored)

Sync with HEAD

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jun 1 12:42:28 2019 UTC (4 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, 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, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.11: +4 -1 lines
Diff to previous 1.11 (colored)

Misc changes in RISC-V. Start changing the memory layout, too.

Revision 1.11 / (download) - annotate - [select for diffs], Mon May 20 17:00:57 2019 UTC (4 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Usee __BIT()

Revision 1.10 / (download) - annotate - [select for diffs], Mon May 20 16:58:49 2019 UTC (4 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Trailing whitespace

Revision 1.9.4.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:23 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.9.4.1: +221 -0 lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

update from HEAD

Revision 1.4.6.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:18 2017 UTC (6 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.4.6.3: +4 -4 lines
Diff to previous 1.4.6.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with HEAD

Revision 1.9.4.1, Sat Jun 24 05:49:50 2017 UTC (6 years, 8 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.9: +0 -221 lines
FILE REMOVED

file pmap.h was added on branch tls-maxphys on 2017-12-03 11:39:23 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 24 05:49:50 2017 UTC (6 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, 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, isaki-audio2-base, isaki-audio2
Branch point for: tls-maxphys, phil-wifi
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Trailing whitespace

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jun 24 05:31:03 2017 UTC (6 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

Multiple inclusion protection define consistency

Revision 1.4.6.3 / (download) - annotate - [select for diffs], Wed Oct 5 20:56:12 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.4.6.2: +27 -3 lines
Diff to previous 1.4.6.2 (colored) to branchpoint 1.4 (colored)

Sync with HEAD

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jul 11 16:06:09 2016 UTC (7 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.6: +26 -2 lines
Diff to previous 1.6 (colored)

Changes so that MIPS can use the common pmap.
Change/augment the virtual cache alias callbacks.

Revision 1.4.6.2 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:25 2016 UTC (7 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.4.6.1: +2 -2 lines
Diff to previous 1.4.6.1 (colored) to branchpoint 1.4 (colored)

Sync with HEAD

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jul 7 06:55:44 2016 UTC (7 years, 7 months ago) by msaitoh
Branch: MAIN
CVS Tags: nick-nhusb-base-20160907
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:18 2015 UTC (8 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

Sync with HEAD

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jun 11 05:27:07 2015 UTC (8 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

Add virtual_start to pmap_limits.  This allows MD to steal address space
before pmap_bootstrap.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:41:19 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.1.2.2: +9 -84 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.4 / (download) - annotate - [select for diffs], Tue Mar 18 18:20:44 2014 UTC (9 years, 11 months ago) by riastradh
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored)

Merge riastradh-drm2 to HEAD.

Revision 1.1.4.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:38 2013 UTC (10 years, 6 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.1: +9 -84 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

sync with head

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Tue Jul 23 21:07:38 2013 UTC (10 years, 7 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.2: +8 -5 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

sync with HEAD

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jul 17 23:15:20 2013 UTC (10 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1
Changes since 1.2: +8 -5 lines
Diff to previous 1.2 (colored)

Make this kcpuset_t instead of the private __cpuset_t
Add improvements for single TLB implementation (PPC, ARM).

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jul 2 09:35:48 2013 UTC (10 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base
Branch point for: riastradh-drm2
Changes since 1.1: +2 -80 lines
Diff to previous 1.1 (colored)

Split tlb related stuff into pmap_tlb.h so that can be used for ASID mgmt
for non-soft TLB pmaps.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:23:03 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.1.2.1: +271 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

sync with head

Revision 1.1.2.1, Wed Oct 3 00:51:46 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.1: +0 -271 lines
FILE REMOVED

file pmap.h was added on branch yamt-pagecache on 2012-10-30 17:23:03 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 3 00:51:46 2012 UTC (11 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, khorben-n900, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, rmind-smpnet

move from common/pmap/tlb -> uvm/pmap

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>