The NetBSD Project

CVS log for src/sys/arch/powerpc/booke/booke_pmap.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.38 / (download) - annotate - [select for diffs], Mon Apr 17 06:46:53 2023 UTC (10 months, 1 week ago) by skrll
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

KNF.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Apr 7 12:09:13 2023 UTC (10 months, 2 weeks ago) by skrll
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Spaces to TAB

Revision 1.36 / (download) - annotate - [select for diffs], Wed Oct 26 07:35:20 2022 UTC (16 months ago) by skrll
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.35: +14 -12 lines
Diff to previous 1.35 (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.35 / (download) - annotate - [select for diffs], Sun Sep 25 06:21:58 2022 UTC (17 months ago) by skrll
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.34: +6 -6 lines
Diff to previous 1.34 (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.34 / (download) - annotate - [select for diffs], Sat Oct 2 14:28:04 2021 UTC (2 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Pass the pmap in tlb_set_asid for the benefit of aarch64.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Oct 2 13:41:50 2021 UTC (2 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

Use KERNEL_PID instead of 0. NFC.

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:34 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.29.2.1: +8 -5 lines
Diff to previous 1.29.2.1 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.32 / (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.31: +5 -2 lines
Diff to previous 1.31 (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.31 / (download) - annotate - [select for diffs], Wed Jan 6 07:56:19 2021 UTC (3 years, 1 month ago) by rin
Branch: MAIN
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored)

Fix pmap_procwr() for powerpc/booke:

- Use PAGE_MASK, not PAGE_SIZE, to calculate page offset.
- Do not drop page offset of target address.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Sun Jan 3 16:34:55 2021 UTC (3 years, 1 month ago) by thorpej
Branch: thorpej-futex
Changes since 1.29: +7 -3 lines
Diff to previous 1.29 (colored)

Sync w/ HEAD.

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

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

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jul 6 10:09:23 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.28: +6 -1 lines
Diff to previous 1.28 (colored)

Include missing opt_multiprocessor.h and opt_pmap.h.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jul 6 09:34:16 2020 UTC (3 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.27: +2 -3 lines
Diff to previous 1.27 (colored)

Style and cosmetic changes. No binary changes intended.

Revision 1.25.16.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:48 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.25.16.1: +5 -24 lines
Diff to previous 1.25.16.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Merge changes from current as of 20200406

Revision 1.27 / (download) - annotate - [select for diffs], Wed Mar 11 13:30:31 2020 UTC (3 years, 11 months ago) by thorpej
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.26: +5 -24 lines
Diff to previous 1.26 (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.25.16.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:38 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Sync with HEAD

Revision 1.25.14.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:39 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.26 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:26 2018 UTC (5 years, 5 months ago) by riastradh
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, netbsd-9-base, netbsd-9-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, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:36 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.16.2.1: +36 -28 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

update from HEAD

Revision 1.18.6.4 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:18 2017 UTC (7 years ago) by skrll
Branch: nick-nhusb
Changes since 1.18.6.3: +4 -4 lines
Diff to previous 1.18.6.3 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Sync with HEAD

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:23 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.25 / (download) - annotate - [select for diffs], Sat Dec 24 18:34:31 2016 UTC (7 years, 2 months ago) by cherry
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-base, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, 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, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

Tell mpc85xx about uvm_hotplug(9)

Should fix the evbppc build breakage.

Revision 1.18.6.3 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:34 2016 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.18.6.2: +9 -20 lines
Diff to previous 1.18.6.2 (colored) to branchpoint 1.18 (colored)

Sync with HEAD

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

Adapt to common pmap changes.

Revision 1.18.6.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:40 2015 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.18.6.1: +2 -5 lines
Diff to previous 1.18.6.1 (colored) to branchpoint 1.18 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.23 / (download) - annotate - [select for diffs], Thu Nov 5 06:26:15 2015 UTC (8 years, 3 months ago) by pgoyette
Branch: MAIN
CVS Tags: nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Changes since 1.22: +2 -5 lines
Diff to previous 1.22 (colored)

Remove SYSVSHM-specific code.  The value of shminfo.shmall is zero at
the time this pmap initialization code is called, so the increment is
a no-op.  (Thanks christos@ for pointing it out.)

Revision 1.18.6.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:00 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.18: +30 -8 lines
Diff to previous 1.18 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Mon Jan 26 04:47:53 2015 UTC (9 years, 1 month ago) by nonaka
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.21: +25 -2 lines
Diff to previous 1.21 (colored)

Avoid race condition between PTE update and TLB miss walk.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jan 23 06:39:41 2015 UTC (9 years, 1 month ago) by nonaka
Branch: MAIN
Changes since 1.20: +2 -6 lines
Diff to previous 1.20 (colored)

When pmap_bootstrap is called, kcpuset_running has not been created yet.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jan 9 11:45:11 2015 UTC (9 years, 1 month ago) by nonaka
Branch: MAIN
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

Use correct register for next cacheline address.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 5 07:40:05 2015 UTC (9 years, 1 month ago) by nonaka
Branch: MAIN
Changes since 1.18: +5 -2 lines
Diff to previous 1.18 (colored)

Initialize lock objects.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:19 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.16: +8 -4 lines
Diff to previous 1.16 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:03 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.10.2.2: +8 -4 lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored) next main 1.11 (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.18 / (download) - annotate - [select for diffs], Tue Mar 18 18:20:41 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, 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.17: +2 -2 lines
Diff to previous 1.17 (colored)

Merge riastradh-drm2 to HEAD.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:20 2013 UTC (10 years, 6 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.16: +8 -4 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head

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

sync with HEAD

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jul 17 23:27:02 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.16: +8 -4 lines
Diff to previous 1.16 (colored)

kcpuset_t changes for the pmap and removal of __cpuset_t

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:09 2012 UTC (11 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.10.2.1: +16 -12 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored)

sync with head

Revision 1.16 / (download) - annotate - [select for diffs], Fri Sep 7 18:05:11 2012 UTC (11 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet, riastradh-drm2
Changes since 1.15: +11 -7 lines
Diff to previous 1.15 (colored)

Fool gcc into thinking we aren't using r31.  We do use it but we don't
clobber it since it save and restore it from a temporary register.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jul 9 17:45:22 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.14: +10 -10 lines
Diff to previous 1.14 (colored)

More cleanup.  Use a union (pmap_segtab) and a typedef (pmap_segtab_t).  Add
more functionality from the mips pmap and try to make it more common to ease
the transition for mips in the future.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jul 5 17:25:36 2012 UTC (11 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored)

s/seg_tab/seg_ptr/

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Wed May 9 22:42:32 2012 UTC (11 years, 9 months ago) by riz
Branch: netbsd-6
CVS Tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.12: +146 -63 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Pull up following revision(s) (requested by matt in ticket #241):
	sys/arch/powerpc/conf/kern-mb.ldscript: revision 1.1
	sys/arch/powerpc/include/booke/pmap.h: revision 1.9
	sys/arch/powerpc/booke/e500_tlb.c: revision 1.8
	sys/arch/powerpc/conf/files.powerpc: revision 1.83
	sys/arch/powerpc/booke/booke_pmap.c: revision 1.13
	sys/arch/powerpc/include/booke/e500var.h: revision 1.5
	sys/arch/evbppc/mpc85xx/machdep.c: revision 1.23
Add ldscript which aligns .data to a 1MB boundary. (used for testing)
Add PMAP_MINIMALTLB defflag
Add vsize_t to pmap_md_{un,}map_poolpage.
Add pmap_kvptefill prototype.
Slightly change pmap_bootstrap prototype.
Add e500_tlb_minimize prototype.
Add support PMAP_MINIMALTLB option.  This changes the default use of TLB1
entries to map all of physical memory to using two TLB1 entries, one for
mapping text and one for data.  The rest of memory is mapped using the
page table which is updated as needed.  This is used to trap memory
corruption issues.
Add support for PMAP_MINIMALTLB.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:45 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.10: +147 -64 lines
Diff to previous 1.10 (colored)

sync with head

Revision 1.10.6.2 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:17 2012 UTC (11 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.10.6.1: +146 -63 lines
Diff to previous 1.10.6.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

sync to latest -current.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 29 15:48:20 2012 UTC (11 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10
Changes since 1.12: +146 -63 lines
Diff to previous 1.12 (colored)

Add support PMAP_MINIMALTLB option.  This changes the default use of TLB1
entries to map all of physical memory to using two TLB1 entries, one for
mapping text and one for data.  The rest of memory is mapped using the
page table which is updated as needed.  This is used to trap memory
corruption issues.

Revision 1.10.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:32:52 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

merge to -current.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Feb 2 18:59:44 2012 UTC (12 years ago) by para
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.11: +8 -3 lines
Diff to previous 1.11 (colored)

- bringing kmeminit_nkmempages back and revert pmaps that called this early
- use nkmempages to scale the kmem_arena
- reducing diff to pre kmem/vmem change
   (NKMEMPAGES_MAX_DEFAULT will need adjusting on some archs)

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jan 27 19:48:39 2012 UTC (12 years, 1 month ago) by para
Branch: MAIN
Changes since 1.10: +3 -8 lines
Diff to previous 1.10 (colored)

extending vmem(9) to be able to allocated resources for it's own needs.
simplifying uvm_map handling (no special kernel entries anymore no relocking)
make malloc(9) a thin wrapper around kmem(9)
(with private interface for interrupt safety reasons)

releng@ acknowledged

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Fri Oct 14 17:21:25 2011 UTC (12 years, 4 months ago) by matt
Branch: matt-nb5-pq3
Changes since 1.1.2.1: +46 -5 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with current pulling P2020 and other newer processor support.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Sep 27 01:02:35 2011 UTC (12 years, 5 months ago) by jym
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.9: +4 -4 lines
Diff to previous 1.9 (colored)

Modify *ASSERTMSG() so they are now used as variadic macros. The main goal
is to provide routines that do as KASSERT(9) says: append a message
to the panic format string when the assertion triggers, with optional
arguments.

Fix call sites to reflect the new definition.

Discussed on tech-kern@. See
http://mail-index.netbsd.org/tech-kern/2011/09/07/msg011427.html

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 29 21:53:10 2011 UTC (12 years, 8 months ago) by dholland
Branch: MAIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

Add missing $NetBSD$ and/or __KERNEL_RCSID.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jun 29 06:05:38 2011 UTC (12 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.7: +9 -1 lines
Diff to previous 1.7 (colored)

Add an empty pmap_md_tlb_info_init.

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:27 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.3: +15 -5 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jun 23 02:33:44 2011 UTC (12 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.6: +22 -1 lines
Diff to previous 1.6 (colored)

Move some MD parts back to the booke pmap.c.  Cleanup initialization a bit.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jun 20 20:24:28 2011 UTC (12 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored)

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.5 / (download) - annotate - [select for diffs], Sun Jun 12 05:32:38 2011 UTC (12 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.4: +5 -2 lines
Diff to previous 1.4 (colored)

For debugging, use UVMHIST to create kernel histories pmaphist and
pmapexechist.  This replaces the old pmapdebug/PDB stuff.
In ddb, you can just use kernhist_dump(pmaphist) to view the history
or vmstat -H from userland.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:03 2011 UTC (12 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.3.2.2: +9 -2 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync with head

Revision 1.1.4.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:06:25 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.1: +307 -0 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jun 5 16:52:24 2011 UTC (12 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.3: +10 -3 lines
Diff to previous 1.3 (colored)

Remove <machine/atomic.h>; use <sys/atomic.h> instead.
Add <powerpc/cpuset.h> (for mpc85xx pmap).
Add some initial MP code for mpc85xx
Rework ipi code to be common across all ppcs
Change PPC to keep curlwp in %r13 while in the kernel.
Move astpending from cpu_info to mdlwp
Improve cpu_need_resched to be more MP friendly.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:51:33 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.3.2.1: +300 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

sync with head

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:09:58 2011 UTC (12 years, 11 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.2: +2 -0 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.3.2.1, Thu Feb 17 13:55:44 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.3: +0 -300 lines
FILE REMOVED

file booke_pmap.c was added on branch rmind-uvmplock on 2011-03-05 20:51:33 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 17 13:55:44 2011 UTC (13 years ago) by matt
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, bouyer-quota2-nbase
Branch point for: rmind-uvmplock, cherry-xenmp
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

Use _PMAP_PRIVATE to control the inclusion of <powerpc/booke/cpuvar.h>.
This prevents most of the MI files from depending on it.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jan 18 01:02:52 2011 UTC (13 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-base
Branch point for: bouyer-quota2
Changes since 1.1: +298 -0 lines
Diff to previous 1.1 (colored)

Add support for BookE Freescale MPC85xx (e500 core) processors.
Add fast softint support for PowerPC (though only booke uses it).
Redo FPU/VEC support and add e500 SPE support.
Rework trap/intrs to use a common trapframe format.
Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Fri Jan 7 01:26:19 2011 UTC (13 years, 1 month ago) by matt
Branch: matt-nb5-pq3
Changes since 1.1: +299 -0 lines
Diff to previous 1.1 (colored)

Add mpc85xx support for netbsd-5 (with some incompatible kernel changes).

Revision 1.1, Fri Jan 7 01:26:19 2011 UTC (13 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: matt-nb5-pq3, jruoho-x86intr
FILE REMOVED

file booke_pmap.c was initially added on branch matt-nb5-pq3.

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>