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


Default branch: MAIN


Revision 1.21 / (download) - annotate - [select for diffs], Thu Nov 3 09:04:56 2022 UTC (16 months ago) by skrll
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.20: +10 -1 lines
Diff to previous 1.20 (colored)

Provide MI PMAP support on AARCH64

Revision 1.20 / (download) - annotate - [select for diffs], Sun Oct 10 07:15:25 2021 UTC (2 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.19: +1 -2 lines
Diff to previous 1.19 (colored)

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) - annotate - [select for diffs], Thu Sep 30 18:33:28 2021 UTC (2 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

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) - annotate - [select for diffs], Sat Apr 3 22:28:13 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.16: +4 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with HEAD.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 21:44:40 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with HEAD.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Mar 24 05:00:24 2021 UTC (2 years, 11 months ago) by simonb
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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

s/depreciated/deprecated/g

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jan 23 22:24:49 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Branch point for: thorpej-cfargs
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

Add __HAVE_BUS_SPACE_8

Revision 1.16 / (download) - annotate - [select for diffs], Mon Sep 14 10:06:35 2020 UTC (3 years, 5 months ago) by ryo
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

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) - annotate - [select for diffs], Mon Aug 3 06:30:00 2020 UTC (3 years, 7 months ago) by ryo
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Implement MD ucas(9) (__HAVE_UCAS_FULL)

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:24 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.8.2.1: +9 -10 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Merge changes from current as of 20200406

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:15 2020 UTC (4 years ago) by ad
Branch: ad-namecache
Changes since 1.13: +9 -9 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Feb 14 07:21:02 2020 UTC (4 years ago) by skrll
Branch: 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
Changes since 1.13: +9 -9 lines
Diff to previous 1.13 (colored)

sort __HAVE_* defines.  NFCI

Revision 1.13 / (download) - annotate - [select for diffs], Fri Dec 6 18:16:22 2019 UTC (4 years, 2 months ago) by kamil
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.12: +1 -2 lines
Diff to previous 1.12 (colored)

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) - annotate - [select for diffs], Mon Jun 10 22:05:43 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.8: +8 -10 lines
Diff to previous 1.8 (colored)

Sync with HEAD

Revision 1.5.16.4 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:24 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.5.16.3: +2 -1 lines
Diff to previous 1.5.16.3 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with head

Revision 1.12 / (download) - annotate - [select for diffs], Sat Oct 13 08:32:36 2018 UTC (5 years, 4 months ago) by ryo
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, 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
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

- define PMAP_{MAP,UNMAP}_POOLPAGE for performance
- define __HAVE_MM_MD_KERNACC and add mm_md_kernacc()

Revision 1.5.16.3 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:26 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.5.16.2: +7 -10 lines
Diff to previous 1.5.16.2 (colored) to branchpoint 1.5 (colored)

Sync with HEAD

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jul 17 11:55:55 2018 UTC (5 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Be consistent and explicitly size register32_t too.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 17 00:34:11 2018 UTC (5 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)

match declaration types for registers from reg.h

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jul 12 10:46:41 2018 UTC (5 years, 7 months ago) by maxv
Branch: MAIN
Changes since 1.8: +1 -4 lines
Diff to previous 1.8 (colored)

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) - annotate - [select for diffs], Wed May 2 07:20:02 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.5.16.1: +3 -1 lines
Diff to previous 1.5.16.1 (colored) to branchpoint 1.5 (colored)

Synch with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Sat Apr 28 12:33:17 2018 UTC (5 years, 10 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502
Branch point for: phil-wifi
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Define __HAVE_OLD_DISKLABEL for compatibility with the arm32 port.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Apr 27 06:23:34 2018 UTC (5 years, 10 months ago) by ryo
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

define __HAVE_ATOMIC64_OPS
pointed out by nonaka@, thanks

Revision 1.5.16.1 / (download) - annotate - [select for diffs], Sat Apr 7 04:12:11 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.5: +21 -5 lines
Diff to previous 1.5 (colored)

Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.6 / (download) - annotate - [select for diffs], Sun Apr 1 04:35:03 2018 UTC (5 years, 11 months ago) by ryo
Branch: MAIN
CVS Tags: pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407
Changes since 1.5: +21 -5 lines
Diff to previous 1.5 (colored)

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) - annotate - [select for diffs], Sun Dec 3 11:35:44 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.1.4.2: +5 -4 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

update from HEAD

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 11:29:54 2016 UTC (7 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1.6.1: +5 -4 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD

Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 28 22:19:01 2016 UTC (8 years ago) by joerg
Branch: 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-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
Changes since 1.4: +7 -7 lines
Diff to previous 1.4 (colored)

Reorder using register_t to the point where it is defined.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jan 23 22:31:19 2016 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

expose the kernel types for standalone code.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jan 23 21:22:13 2016 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.2: +9 -8 lines
Diff to previous 1.2 (colored)

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) - annotate - [select for diffs], Tue Sep 22 12:05:34 2015 UTC (8 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Sync with HEAD

Revision 1.2 / (download) - annotate - [select for diffs], Thu Aug 27 12:30:50 2015 UTC (8 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226, nick-nhusb-base-20150921
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

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) - annotate - [select for diffs], Wed Aug 20 00:02:39 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.1.4.1: +108 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.1.4.1, Sun Aug 10 05:47:38 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.1: +0 -108 lines
FILE REMOVED

file types.h was added on branch tls-maxphys on 2014-08-20 00:02:39 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Aug 10 05:47:38 2014 UTC (9 years, 6 months ago) by matt
Branch: 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.

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>