The NetBSD Project

CVS log for src/sys/arch/aarch64/include/types.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.21: download - view: text, markup, annotated - select for diffs
Thu Nov 3 09:04:56 2022 UTC (2 years, 1 month 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, 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, HEAD
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +10 -1 lines
Provide MI PMAP support on AARCH64

Revision 1.20: 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
CVS tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -2 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.19: download - view: text, markup, annotated - select for diffs
Thu Sep 30 18:33:28 2021 UTC (3 years, 2 months ago) by skrll
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Make tlb_asid_t unsigned int as pmap_tlb.c expects tlb_asid_t to be able to
hold ASID_MAX + 1.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:13 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +4 -3 lines
Sync with HEAD.

Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 21:44:40 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +3 -3 lines
Sync with HEAD.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Mar 24 05:00:24 2021 UTC (3 years, 8 months ago) by simonb
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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +3 -3 lines
s/depreciated/deprecated/g

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Jan 23 22:24:49 2021 UTC (3 years, 10 months ago) by jmcneill
Branches: MAIN
Branch point for: thorpej-cfargs
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -1 lines
Add __HAVE_BUS_SPACE_8

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Sep 14 10:06:35 2020 UTC (4 years, 2 months ago) by ryo
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -1 lines
PID_MAX is just an initial value (soft maximum). Don't use it for CTASSERT.
defined __HAVE_CPU_MAXPROC to use function cpu_maxproc().

pointed out by mrg@, thanks.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Aug 3 06:30:00 2020 UTC (4 years, 4 months ago) by ryo
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -1 lines
Implement MD ucas(9) (__HAVE_UCAS_FULL)

Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:24 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +9 -10 lines
Merge changes from current as of 20200406

Revision 1.13.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.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +9 -9 lines
Sync with head.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Feb 14 07:21:02 2020 UTC (4 years, 9 months ago) by skrll
Branches: 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
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +9 -9 lines
sort __HAVE_* defines.  NFCI

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Dec 6 18:16:22 2019 UTC (5 years ago) by kamil
Branches: MAIN
CVS tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +1 -2 lines
Remove __HAVE_CPU_LWP_SETPRIVATE from aarch64

aarch64 specific cpu_lwp_setprivate() is redundant with its caller
lwp_setprivate() and there are no MD bits.

Revision 1.8.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.8: preferred, colored
Changes since revision 1.8: +8 -10 lines
Sync with HEAD

Revision 1.5.16.4: 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.5.16.3: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.16.3: +2 -1 lines
Sync with head

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Oct 13 08:32:36 2018 UTC (6 years, 1 month ago) by ryo
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, 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.11: preferred, colored
Changes since revision 1.11: +2 -1 lines
- define PMAP_{MAP,UNMAP}_POOLPAGE for performance
- define __HAVE_MM_MD_KERNACC and add mm_md_kernacc()

Revision 1.5.16.3: 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.5.16.2: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.16.2: +7 -10 lines
Sync with HEAD

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Jul 17 11:55:55 2018 UTC (6 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
Be consistent and explicitly size register32_t too.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jul 17 00:34:11 2018 UTC (6 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -5 lines
match declaration types for registers from reg.h

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Jul 12 10:46:41 2018 UTC (6 years, 5 months ago) by maxv
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -4 lines
Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

 * Removes "options PERFCTRS", the associated includes, and the associated
   ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is
   good.

 * Removes the PMC code of ARM XSCALE.

 * Removes all the pmc.h files. They were all empty, except for ARM XSCALE.

 * Reorders the x86 PMC code not to rely on the legacy pmc.h file. The
   definitions are put in sysarch.h.

 * Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control
   and sys_pmc_get_info syscalls. They are marked as OBSOL in kern,
   netbsd32 and rump.

 * Removes the pmc_evid_t and pmc_ctr_t types.

 * Removes all the associated man pages. The sets are marked as obsolete.

Revision 1.5.16.2: download - view: text, markup, annotated - select for diffs
Wed May 2 07:20:02 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.5.16.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.16.1: +3 -1 lines
Synch with HEAD

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Apr 28 12:33:17 2018 UTC (6 years, 7 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502
Branch point for: phil-wifi
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -1 lines
Define __HAVE_OLD_DISKLABEL for compatibility with the arm32 port.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Apr 27 06:23:34 2018 UTC (6 years, 7 months ago) by ryo
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
define __HAVE_ATOMIC64_OPS
pointed out by nonaka@, thanks

Revision 1.5.16.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.5: preferred, colored
Changes since revision 1.5: +21 -5 lines
Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.6: 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: pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +21 -5 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: +5 -4 lines
update from HEAD

Revision 1.1.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:29:54 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.1.6.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.6.1: +5 -4 lines
Sync with HEAD

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Feb 28 22:19:01 2016 UTC (8 years, 9 months ago) by joerg
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -7 lines
Reorder using register_t to the point where it is defined.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jan 23 22:31:19 2016 UTC (8 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
expose the kernel types for standalone code.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jan 23 21:22:13 2016 UTC (8 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +9 -8 lines
Hide {p,v}{addr,size}_t and register_t (and a couple more types that
are machine-specific) from userland unless _KERNEL/_KMEMUSER and a
new _KERNTYPES variables is defined. The _KERNTYPES should be fixed
for many subsystems that should not be using it (rump)...

Revision 1.1.6.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:34 2015 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Sync with HEAD

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Aug 27 12:30:50 2015 UTC (9 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: nick-nhusb-base-20151226, nick-nhusb-base-20150921
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Fix PTHREAD_FOO_INITIALIZER for C++ by not using volatile in the relevant
pthread types in C++ builds, attempt 2.

The problem with attempt 1 was making assumptions of what the MD
__cpu_simple_lock_t (declared volatile) looks like.  To get a same type
except non-volatile, we change the MD type to __cpu_simple_lock_nv_t
and typedef __cpu_simple_lock_t as a volatile __cpu_simple_lock_nv_t.
IMO, __cpu_simple_lock_t should not be volatile at all, but changing it
now is too risky.

Fixes at least Rumprun w/ gcc 5.1/5.2.  Furthermore, the mpd application
(and possibly others) will no longer require NetBSD-specific patches.

Tested: build.sh for i386, Rumprun for x86_64 w/ gcc 5.2.

Based on the patch from Christos in lib/49989.

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: +108 -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 -108 lines
file types.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, 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
Branch point for: tls-maxphys, nick-nhusb
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>