Commit Graph

27 Commits

Author SHA1 Message Date
matt
eabbabd2c3 Update multiple inclusion macro 2015-09-21 15:50:19 +00:00
matt
9861f869d0 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.
2015-06-11 08:04:44 +00:00
matt
f7b8434b14 Don't call kcpuset_intersecting_p and then kcpuset_ffs_intersecting since
that the last will tell use what we need to know.
2015-06-11 05:28:42 +00:00
matt
b9c0826d5d Add virtual_start to pmap_limits. This allows MD to steal address space
before pmap_bootstrap.
2015-06-11 05:27:07 +00:00
joerg
7c4334f760 pmap_tlb_intersecting_active_p is not used in some combinations of
platform options as seen by recent ARM changes.
2015-04-18 16:58:31 +00:00
matt
4dc165175b include <sys/evcnt.h> 2015-04-02 06:17:52 +00:00
nonaka
78531cbdd7 Disable pmap_md_tlb_check_entry, when MP. 2015-02-03 10:25:53 +00:00
nonaka
3012a05a13 Avoid race condition between PTE update and TLB miss walk. 2015-01-26 04:47:53 +00:00
nonaka
038a27157d Use PMAP_TLB_MAX instead of MAXCPUS. 2015-01-05 05:35:18 +00:00
nonaka
1383a653f7 fix build failure when UVMHIST is defined. 2014-12-25 08:11:09 +00:00
nonaka
c08471032a fix compile failure. 2014-12-24 04:03:02 +00:00
nonaka
58634b7e37 pmap->pm_active and pmap->pm_onproc must be destroyed. 2014-12-22 11:11:34 +00:00
nonaka
1a8ba8658c Initialize pmap->pm_active and pmap->pm_onproc.
Avoid "panic: kernel diagnostic assertion "!pmap_tlb_intersecting_onproc_p(pm, ti)" failed: file "/usr/src/sys/uvm/pmap/pmap_tlb.c", line 762".
2014-12-19 04:25:52 +00:00
skrll
c304f8b6cf s/0/KERNEL_PID/ for correctness 2014-10-29 10:53:41 +00:00
skrll
a0e8e968e5 Minor comment update. 2014-10-18 09:54:19 +00:00
matt
21b604c9f8 Change cpu_tlb_info definition based on PMAP_TLB_MAX instead of MULTIPROCESSOR 2014-04-03 14:46:25 +00:00
matt
18fc7d3f42 Compare ASIDs, not pmaps. 2014-04-03 14:23:38 +00:00
matt
ad2de1daa9 Make this compile on booke again. 2014-04-03 13:54:59 +00:00
matt
1627c0ae4a Allow this to handle H/W tlbs. Some ARM allow for a cheap way to flush all
entries using an ASID from the TLB.  Add support for taking advantage of it.
Most ARMs don't have an easy way to find out what's in the TLB so make
record_asids can just say all ASIDs are in use.  Fix some off by 1 errors.
2014-03-30 15:26:15 +00:00
riastradh
6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
matt
89e28d04a5 use _KERNEL_OPT around #include 2014-03-04 06:14:53 +00:00
martin
b59de6cf0c Mark a potentially unused variable 2014-02-25 15:20:29 +00:00
matt
418abeab42 In the non-MP case, just initialize onproc to NULL. 2013-07-22 03:40:36 +00:00
matt
283b482b24 If not MULTIPROCESSOR, just make cpu_tlb_info(ci) return &pmap_tlb0_info 2013-07-22 03:39:55 +00:00
matt
fe1b443aac Make this kcpuset_t instead of the private __cpuset_t
Add improvements for single TLB implementation (PPC, ARM).
2013-07-17 23:15:20 +00:00
matt
42a7dfa302 Split tlb related stuff into pmap_tlb.h so that can be used for ASID mgmt
for non-soft TLB pmaps.
2013-07-02 09:35:48 +00:00
christos
b1425120c0 move from common/pmap/tlb -> uvm/pmap 2012-10-03 00:51:45 +00:00