The NetBSD Project

CVS log for src/sys/uvm/pmap/pmap_segtab.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.33 / (download) - annotate - [select for diffs], Sun Jul 23 07:25:36 2023 UTC (8 months, 3 weeks ago) by skrll
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.32: +6 -3 lines
Diff to previous 1.32 (colored)

KASSERT -> KASSERTMSG

Revision 1.32 / (download) - annotate - [select for diffs], Sat Jul 1 07:10:13 2023 UTC (9 months, 2 weeks ago) by skrll
Branch: MAIN
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored)

Fix build when KERNHIST defined, but not UVMHIST

Revision 1.31 / (download) - annotate - [select for diffs], Wed Dec 21 11:39:46 2022 UTC (15 months, 3 weeks ago) by skrll
Branch: MAIN
Changes since 1.30: +3 -2 lines
Diff to previous 1.30 (colored)

Rename pmap_md_pdetab_destroy to pmap_md_pdetab_fini to match
pmap_md_pdetab_init.

Call pmap_md_pdetab_fini from pmap_segtab_destroy.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Oct 27 06:49:51 2022 UTC (17 months, 3 weeks ago) by skrll
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.29: +3 -4 lines
Diff to previous 1.29 (colored)

In pmap_pte_reserve ensure we're atomically swapping out an invalid entry
otherwise concurrent updates might both think they've updated the entry.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Oct 26 07:35:20 2022 UTC (17 months, 3 weeks ago) by skrll
Branch: MAIN
Changes since 1.28: +817 -209 lines
Diff to previous 1.28 (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.28 / (download) - annotate - [select for diffs], Sun Sep 25 06:21:58 2022 UTC (18 months, 3 weeks ago) by skrll
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.27: +66 -66 lines
Diff to previous 1.27 (colored)

Rename pmap_segtab_t *stp to stb for consistency with a future
pmap_pdetab_t *ptb. pmap_pdetab_t *ptp would be far too confusing.

NFC. Same code before and after.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Mar 13 15:29:55 2021 UTC (3 years, 1 month 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.26: +3 -3 lines
Diff to previous 1.26 (colored)

Consistently use %#jx instead of 0x%jx or just %jx in UVMHIST_LOG formats

Revision 1.26 / (download) - annotate - [select for diffs], Thu Oct 8 14:02:40 2020 UTC (3 years, 6 months ago) by skrll
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored)

%#jx vs %jx consistency in UVMHIST_LOG

Revision 1.25 / (download) - annotate - [select for diffs], Thu Sep 24 06:45:58 2020 UTC (3 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Whitespace

Revision 1.24 / (download) - annotate - [select for diffs], Thu Sep 10 02:12:57 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.23: +8 -6 lines
Diff to previous 1.23 (colored)

Cast pointer arguments of UVMHIST_CALLARGS() into uintptr_t.

Appease GCC9 -Wpointer-to-int-cast on ILP32 environments.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Aug 22 15:34:51 2020 UTC (3 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

Remove pte_zero_p and simply check against 0.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Aug 22 15:32:36 2020 UTC (3 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.21: +9 -13 lines
Diff to previous 1.21 (colored)

Remove the #if defined(__mips_n64) && PAGE_SIZE == 8192 and make the
check MI - all PTs are PAGE_SIZE aligned

Revision 1.21 / (download) - annotate - [select for diffs], Sat Aug 22 13:59:16 2020 UTC (3 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.20: +5 -5 lines
Diff to previous 1.20 (colored)

Trailing whitespace

Revision 1.20 / (download) - annotate - [select for diffs], Thu Aug 20 23:36:45 2020 UTC (3 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

fix hpcmips and evbppc builds (wrong type in panic()).

Revision 1.19 / (download) - annotate - [select for diffs], Thu Aug 20 05:54:32 2020 UTC (3 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.18: +78 -31 lines
Diff to previous 1.18 (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.18 / (download) - annotate - [select for diffs], Tue Aug 18 11:48:21 2020 UTC (3 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Fix small tyop in a comment.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Aug 18 07:25:46 2020 UTC (3 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

Improve a panic message ever so slightly

Revision 1.16 / (download) - annotate - [select for diffs], Mon Aug 17 08:56:27 2020 UTC (3 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.15: +15 -2 lines
Diff to previous 1.15 (colored)

add pmaphist calls around seg_tab[] manipulation.  hopefully will
help find what causes this:

panic: pmap_segtab_alloc: pm_segtab.seg_tab[1010] != 0 (0x980000004eeb6068): from free list

Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 7 07:19:45 2020 UTC (3 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.14: +17 -2 lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Mon Feb 24 12:20:30 2020 UTC (4 years, 1 month ago) by rin
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

0x%p --> %p for non-external codes.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Dec 18 11:27:56 2019 UTC (4 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.12: +6 -5 lines
Diff to previous 1.12 (colored)

KNF

Revision 1.12 / (download) - annotate - [select for diffs], Sat Dec 14 14:46:11 2019 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored)

Use pageq.list instead of listq.list.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Oct 20 07:22:51 2019 UTC (4 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

Whitespace

Revision 1.10 / (download) - annotate - [select for diffs], Mon Sep 23 18:20:07 2019 UTC (4 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Use "segmap" for uvm_wait message in pmap_segtab_alloc

Revision 1.9 / (download) - annotate - [select for diffs], Wed Sep 18 18:29:58 2019 UTC (4 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

s/pte/ptep/ in pmap_pte_process for consistency with other code.  NFCI.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Sep 18 18:18:44 2019 UTC (4 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Whitespace

Revision 1.7 / (download) - annotate - [select for diffs], Fri Mar 8 08:12:40 2019 UTC (5 years, 1 month ago) by msaitoh
Branch: MAIN
CVS Tags: 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, isaki-audio2-base, isaki-audio2
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

s/ the the / the /

Revision 1.6 / (download) - annotate - [select for diffs], Fri May 12 12:18:37 2017 UTC (6 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, 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, 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
Branch point for: tls-maxphys, phil-wifi
Changes since 1.5: +4 -3 lines
Diff to previous 1.5 (colored)

KASSERT -> KASSERTMSG

Revision 1.5 / (download) - annotate - [select for diffs], Fri May 12 12:18:07 2017 UTC (6 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Trailing whitespace

Revision 1.4 / (download) - annotate - [select for diffs], Wed Nov 23 03:30:53 2016 UTC (7 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, nick-nhusb-base-20170204, nick-nhusb-base-20161204, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2
Changes since 1.3: +31 -9 lines
Diff to previous 1.3 (colored)

fix the start index generation in pmap_segtab_release() to
ensure it fits in the actual array.  fixes N64 binaries from
triggering later panic.  move the panic check itself into a
common function that is called from a couple of new places too.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jul 11 16:06:09 2016 UTC (7 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.2: +7 -6 lines
Diff to previous 1.2 (colored)

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

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jun 11 08:04:44 2015 UTC (8 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Changes since 1.1: +17 -15 lines
Diff to previous 1.1 (colored)

Use PMAP_MAP_POOLPAGE instead of POOL_PHYSTOV since we use PMAP_UNMAP_POOLPAGE.
Use PMAP_ALLOC_POOLPAGE instead of pmap_md_alloc_poolpage.
Cleanup some panic messages.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 3 00:51:46 2012 UTC (11 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base, netbsd-7-base, 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, khorben-n900, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, nick-nhusb, netbsd-7-nhusb, netbsd-7-0, netbsd-7

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>