The NetBSD Project

CVS log for src/sys/arch/aarch64/include/pte.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / aarch64 / include

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Aug 19 08:17:32 2022 UTC (2 years, 3 months ago) by ryo
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, 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, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1 lines
Fixed a bug that pte's __BIT(63,48) could be set when accessing addresses above 0x0001000000000000 in /dev/mem with mmap().

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Oct 10 07:15:25 2021 UTC (3 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -4 lines
Use sys/uvm/pmap/pmap_tlb.c on Aarch64 in the same way that some Arm, MIPS,
and some PPC kernels do.  This removes the limitation of 256 processes on
CPUs with 8bit ASID field, e.g. Apple M1.

Additionally the following changes have been made

- removed a couple of unnecessary aarch64_tlbi_all calls
- removed any invalidation after freeing page tables due to
  _pmap_sweep_pdp. This was never necessary afaict.
- all kernel mappings are marked global and userland mapping not-global.

Performance testing hasn't show a significant difference.  The data here
is from building a kernel on an lx2k system with nvme.

before
1489.6u 400.4s 2:40.65 1176.5% 228+224k 0+32289io 57pf+0w
1482.6u 403.2s 2:38.49 1189.9% 228+222k 0+32274io 46pf+0w
1485.4u 402.2s 2:37.27 1200.2% 228+222k 0+32275io 12pf+0w

after
1493.9u 404.6s 2:37.50 1205.4% 227+221k 0+32265io 48pf+0w
1485.0u 408.0s 2:38.54 1194.0% 227+222k 0+32272io 36pf+0w
1484.3u 407.0s 2:35.88 1213.3% 228+224k 0+32268io 14pf+0w

>>> stats.ttest_ind([160.65,158.49,157.27], [157.5,158.54,155.88])
Ttest_indResult(statistic=1.1923622711296888, pvalue=0.2990182944606766)
>>>

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:27 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +25 -79 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Feb 29 21:34:37 2020 UTC (4 years, 9 months ago) by ryo
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-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -3 lines
Fix pmap to work correctly with tagged addresses

- when fault, untag from address before passing to uvm/pmap functions
- pmap_extract() checks more strictly and consider the address tag

Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:15 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +2 -1 lines
Sync with head.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Jan 31 09:23:58 2020 UTC (4 years, 10 months ago) by maxv
Branches: MAIN
CVS tags: ad-namecache-base3
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -1 lines
BTI definitions.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Sep 11 18:23:31 2019 UTC (5 years, 2 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20191119, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -1 lines
Define PRIxPTE

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Sep 11 18:19:35 2019 UTC (5 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -62 lines
Move the TCR and TTBR defines into armreg.h where they below.  NFCI.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Sep 11 11:43:15 2019 UTC (5 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +7 -6 lines
- Fix TCR_TG0 field definitions to match Armv8 ARM
- Rename TCR_IPS_64TB to TCR_IPS_16TB, add TCR_IPS_4PB
- Whitespace fixes

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Aug 15 09:07:34 2019 UTC (5 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +68 -68 lines
Indent the field value defines.  NFCI.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Aug 13 08:27:42 2019 UTC (5 years, 3 months ago) by skrll
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1 lines
Add DBM

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:43 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -1 lines
Sync with HEAD

Revision 1.2.12.3: download - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:24 2018 UTC (6 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.2.12.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.12.2: +3 -1 lines
Sync with head

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Oct 4 09:09:29 2018 UTC (6 years, 2 months ago) by ryo
Branches: MAIN
CVS tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, 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
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -1 lines
* define LX_BLKPAG_{OS,ATTR}_* for OS dependent PTE attributes in pmap.h
* cleanup macros

Revision 1.2.12.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:26 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.2.12.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.12.1: +5 -1 lines
Sync with HEAD

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jul 17 10:01:59 2018 UTC (6 years, 4 months ago) by ryo
Branches: MAIN
CVS tags: pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -1 lines
fix build with aarch64 gcc/gas

Revision 1.2.12.1: download - view: text, markup, annotated - select for diffs
Sat Apr 7 04:12:11 2018 UTC (6 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +146 -78 lines
Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Apr 1 04:35:03 2018 UTC (6 years, 8 months ago) by ryo
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407
Branch point for: phil-wifi
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +146 -78 lines
Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)

Revision 1.1.4.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:44 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.1.4.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.2: +2 -2 lines
update from HEAD

Revision 1.1.14.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:21 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +3 -3 lines
Sync with HEAD

Revision 1.1.10.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:08 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +3 -3 lines
Sync with HEAD

Revision 1.1.6.1: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:00 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +3 -3 lines
Sync with HEAD

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Jan 16 10:15:42 2017 UTC (7 years, 10 months ago) by maya
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, 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
Branch point for: pgoyette-compat
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -3 lines
Correct definitions for TCR.

Values from ARM Cortex A-53 MPCore Processor Technical Reference Manual
4.3.48. Translation Control Register, EL1

Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:02:39 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.1: +124 -0 lines
Rebase to HEAD as of a few days ago.

Revision 1.1.4.1
Sun Aug 10 05:47:38 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.1: +0 -124 lines
file pte.h was added on branch tls-maxphys on 2014-08-20 00:02:39 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 05:47:38 2014 UTC (10 years, 4 months ago) by matt
Branches: MAIN
CVS tags: tls-maxphys-base, pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, 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, localcount-20160914, bouyer-socketcan-base
Branch point for: tls-maxphys, pgoyette-localcount, nick-nhusb, bouyer-socketcan
Preliminary files for AARCH64 (64-bit ARM) support.
Enough for a distribution build.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>