CVS log for src/sys/arch/powerpc/booke/booke_pmap.c
Up to [cvs.NetBSD.org] / src / sys / arch / powerpc / booke
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Sep 24 07:29:55 2024 UTC (2 months, 2 weeks ago) by skrll
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +17 -13
lines
Partially fix PMAP_MINIMALTLB compilation. From andvar@
Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Apr 17 06:46:53 2023 UTC (19 months, 4 weeks ago) by skrll
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -3
lines
KNF.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Apr 7 12:09:13 2023 UTC (20 months, 1 week ago) by skrll
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -3
lines
Spaces to TAB
Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Oct 26 07:35:20 2022 UTC (2 years, 1 month ago) by skrll
Branches: 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
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +14 -12
lines
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 - view: text, markup, annotated - select for diffs
Sun Sep 25 06:21:58 2022 UTC (2 years, 2 months ago) by skrll
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +6 -6
lines
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 - view: text, markup, annotated - select for diffs
Sat Oct 2 14:28:04 2021 UTC (3 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -3
lines
Pass the pmap in tlb_set_asid for the benefit of aarch64.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Oct 2 13:41:50 2021 UTC (3 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -3
lines
Use KERNEL_PID instead of 0. NFC.
Revision 1.29.2.2: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:34 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.29.2.1: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.2.1: +8 -5
lines
Sync with HEAD.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Mar 19 07:51:33 2021 UTC (3 years, 8 months ago) by skrll
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-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.31: preferred, colored
Changes since revision 1.31: +5 -2
lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 6 07:56:19 2021 UTC (3 years, 11 months ago) by rin
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +5 -5
lines
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 - view: text, markup, annotated - select for diffs
Sun Jan 3 16:34:55 2021 UTC (3 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +7 -3
lines
Sync w/ HEAD.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Dec 20 16:38:25 2020 UTC (3 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +7 -3
lines
Support __HAVE_PMAP_PV_TRACK in sys/uvm/pmap based pmaps (aka common pmap)
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Jul 6 10:09:23 2020 UTC (4 years, 5 months ago) by rin
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +6 -1
lines
Include missing opt_multiprocessor.h and opt_pmap.h.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Jul 6 09:34:16 2020 UTC (4 years, 5 months ago) by rin
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -3
lines
Style and cosmetic changes. No binary changes intended.
Revision 1.25.16.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:48 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.25.16.1: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.16.1: +5 -24
lines
Merge changes from current as of 20200406
Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Mar 11 13:30:31 2020 UTC (4 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -24
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:38 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3
lines
Sync with HEAD
Revision 1.25.14.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:39 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25: +3 -3
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:26 2018 UTC (6 years, 3 months ago) by riastradh
Branches: 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-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,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:36 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.1: +36 -28
lines
update from HEAD
Revision 1.18.6.4: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:18 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.18.6.3: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.6.3: +4 -4
lines
Sync with HEAD
Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:23 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +4 -4
lines
Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Dec 24 18:34:31 2016 UTC (7 years, 11 months ago) by cherry
Branches: 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-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,
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
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -4
lines
Tell mpc85xx about uvm_hotplug(9)
Should fix the evbppc build breakage.
Revision 1.18.6.3: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:34 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.18.6.2: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.6.2: +9 -20
lines
Sync with HEAD
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Jul 11 16:06:52 2016 UTC (8 years, 5 months ago) by matt
Branches: 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
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +9 -20
lines
Adapt to common pmap changes.
Revision 1.18.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 27 12:09:40 2015 UTC (8 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.18.6.1: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.6.1: +2 -5
lines
Sync with HEAD (as of 26th Dec)
Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Nov 5 06:26:15 2015 UTC (9 years, 1 month ago) by pgoyette
Branches: MAIN
CVS tags: nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -5
lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:00 2015 UTC (9 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +30 -8
lines
Sync with HEAD
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Jan 26 04:47:53 2015 UTC (9 years, 10 months ago) by nonaka
Branches: MAIN
CVS tags: nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +25 -2
lines
Avoid race condition between PTE update and TLB miss walk.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Jan 23 06:39:41 2015 UTC (9 years, 10 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -6
lines
When pmap_bootstrap is called, kcpuset_running has not been created yet.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Fri Jan 9 11:45:11 2015 UTC (9 years, 11 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -4
lines
Use correct register for next cacheline address.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Jan 5 07:40:05 2015 UTC (9 years, 11 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +5 -2
lines
Initialize lock objects.
Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:19 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +8 -4
lines
Rebase to HEAD as of a few days ago.
Revision 1.10.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:03 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.10.2.2: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.2: +8 -4
lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 18 18:20:41 2014 UTC (10 years, 8 months ago) by riastradh
Branches: 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
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
Merge riastradh-drm2 to HEAD.
Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 28 23:59:20 2013 UTC (11 years, 3 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +8 -4
lines
sync with head
Revision 1.16.10.1: download - view: text, markup, annotated - select for diffs
Tue Jul 23 21:07:34 2013 UTC (11 years, 4 months ago) by riastradh
Branches: riastradh-drm2
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +8 -4
lines
sync with HEAD
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Jul 17 23:27:02 2013 UTC (11 years, 4 months ago) by matt
Branches: MAIN
CVS tags: riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +8 -4
lines
kcpuset_t changes for the pmap and removal of __cpuset_t
Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:09 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.10.2.1: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.1: +16 -12
lines
sync with head
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Sep 7 18:05:11 2012 UTC (12 years, 3 months ago) by matt
Branches: 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
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +11 -7
lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 9 17:45:22 2012 UTC (12 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +10 -10
lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 5 17:25:36 2012 UTC (12 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -5
lines
s/seg_tab/seg_ptr/
Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Wed May 9 22:42:32 2012 UTC (12 years, 7 months ago) by riz
Branches: 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
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +146 -63
lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:45 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +147 -64
lines
sync with head
Revision 1.10.6.2: download - view: text, markup, annotated - select for diffs
Thu Apr 5 21:33:17 2012 UTC (12 years, 8 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.10.6.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.6.1: +146 -63
lines
sync to latest -current.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Mar 29 15:48:20 2012 UTC (12 years, 8 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base10
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +146 -63
lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 18 07:32:52 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3
lines
merge to -current.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Feb 2 18:59:44 2012 UTC (12 years, 10 months ago) by para
Branches: 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
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +8 -3
lines
- 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 - view: text, markup, annotated - select for diffs
Fri Jan 27 19:48:39 2012 UTC (12 years, 10 months ago) by para
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -8
lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 14 17:21:25 2011 UTC (13 years, 2 months ago) by matt
Branches: matt-nb5-pq3
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +46 -5
lines
Sync with current pulling P2020 and other newer processor support.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Sep 27 01:02:35 2011 UTC (13 years, 2 months ago) by jym
Branches: 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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4
lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 29 21:53:10 2011 UTC (13 years, 5 months ago) by dholland
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -1
lines
Add missing $NetBSD$ and/or __KERNEL_RCSID.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:05:38 2011 UTC (13 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +9 -1
lines
Add an empty pmap_md_tlb_info_init.
Revision 1.3.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:27 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +15 -5
lines
Catchup with rmind-uvmplock merge.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Jun 23 02:33:44 2011 UTC (13 years, 5 months ago) by matt
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +22 -1
lines
Move some MD parts back to the booke pmap.c. Cleanup initialization a bit.
Revision 1.6: 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.5: preferred, colored
Changes since revision 1.5: +4 -4
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.5: download - view: text, markup, annotated - select for diffs
Sun Jun 12 05:32:38 2011 UTC (13 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -2
lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 12 00:24:03 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.2: +9 -2
lines
sync with head
Revision 1.1.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:06:25 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +307 -0
lines
Sync with HEAD.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Jun 5 16:52:24 2011 UTC (13 years, 6 months ago) by matt
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +10 -3
lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 5 20:51:33 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +300 -0
lines
sync with head
Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:09:58 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +2 -0
lines
Sync with HEAD
Revision 1.3.2.1
Thu Feb 17 13:55:44 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
FILE REMOVED
Changes since revision 1.3: +0 -300
lines
file booke_pmap.c was added on branch rmind-uvmplock on 2011-03-05 20:51:33 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Feb 17 13:55:44 2011 UTC (13 years, 9 months ago) by matt
Branches: MAIN
CVS tags: jym-xensuspend-nbase,
jym-xensuspend-base,
cherry-xenmp-base,
bouyer-quota2-nbase
Branch point for: rmind-uvmplock,
cherry-xenmp
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -1
lines
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 - view: text, markup, annotated - select for diffs
Tue Jan 18 01:02:52 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
CVS tags: uebayasi-xip-base7,
bouyer-quota2-base
Branch point for: bouyer-quota2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +298 -0
lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 7 01:26:19 2011 UTC (13 years, 11 months ago) by matt
Branches: matt-nb5-pq3
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +299 -0
lines
Add mpc85xx support for netbsd-5 (with some incompatible kernel changes).
Revision 1.1
Fri Jan 7 01:26:19 2011 UTC (13 years, 11 months ago) by matt
Branches: 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.
CVSweb <webmaster@jp.NetBSD.org>