The NetBSD Project

CVS log for src/sys/arch/aarch64/aarch64/aarch32_syscall.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.9 / (download) - annotate - [select for diffs], Wed Feb 7 04:20:26 2024 UTC (13 days, 17 hours ago) by msaitoh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Remove ryo@'s mail addresses.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 5 19:41:03 2023 UTC (4 months, 2 weeks ago) by ad
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.7: +2 -4 lines
Diff to previous 1.7 (colored)

Arrange to update cached LWP credentials in userret() rather than during
syscall/trap entry, eliminating a test+branch on every syscall/trap.

This wasn't possible in the 3.99.x timeframe when l->l_cred came about
because there wasn't a reliable/timely way to force an ONPROC LWP running on
a remote CPU into the kernel (which is just about the only new thing in
this scheme).

Revision 1.7 / (download) - annotate - [select for diffs], Sat Feb 25 00:40:22 2023 UTC (11 months, 3 weeks ago) by riastradh
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

aarch64: curcpu() audit.

Sprinkle KASSERT (or KDASSERT in hot paths) for kpreempt_disabled()
when we use curcpu() and it's not immediately obvious that the caller
has preemption disabled but closer scrutiny suggests the caller has.

Note unsafe curcpu()s for syscall event counting.  Not sure this is
worth changing.

Possible bugs fixed:

- cpu_irq and cpu_fiq could be preempted while trying to run softints
  on this CPU.

- data_abort_handler might incorrectly think it was invoked in
  interrupt context when it was only preempted and migrated to
  another CPU.

- pmap_fault_fixup might report the wrong CPU logs.

(However, we don't currently run with kpreemption on aarch64, so
these are not yet real bugs fixed except if you patch it to build
with __HAVE_PREEMPTION.)

Revision 1.6 / (download) - annotate - [select for diffs], Thu Nov 25 03:08:04 2021 UTC (2 years, 2 months ago) by ryo
Branch: MAIN
CVS Tags: netbsd-10-base, 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
Changes since 1.5: +36 -7 lines
Diff to previous 1.5 (colored)

add support COMPAT_LINUX32 for aarch64

Revision 1.3.18.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:16 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.3: +22 -6 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync w/ HEAD.

Revision 1.3.20.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:09 2021 UTC (2 years, 8 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.3: +22 -6 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

sync with head

Revision 1.5 / (download) - annotate - [select for diffs], Sat May 15 11:39:20 2021 UTC (2 years, 9 months ago) by rin
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Changes since 1.4: +4 -3 lines
Diff to previous 1.4 (colored)

Wrap long line. No binary changes.

Revision 1.4 / (download) - annotate - [select for diffs], Sat May 15 11:38:26 2021 UTC (2 years, 9 months ago) by rin
Branch: MAIN
Changes since 1.3: +20 -5 lines
Diff to previous 1.3 (colored)

Fix __syscall(2) for COMPAT_NETBSD32 on aarch64{,eb}.

The 1st argument for __syscall(2) is quad_t, which is stored in r0 and r1.

Now, tests/lib/libc/t_syscall:mmap___syscall passes for COMPAT_NETBSD32.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:42 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.3.4.1: +193 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD

Revision 1.3.4.1, Fri Apr 12 09:29:26 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.3: +0 -193 lines
FILE REMOVED

file aarch32_syscall.c was added on branch phil-wifi on 2019-06-10 22:05:42 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Fri Apr 12 09:29:26 2019 UTC (4 years, 10 months ago) by ryo
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, 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, is-mlppp-base, is-mlppp, cjep_staticlib_x-base, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-i2c-spi-conf, phil-wifi, cjep_staticlib_x
Changes since 1.2: +21 -17 lines
Diff to previous 1.2 (colored)

COMPAT_NETBSD32 to work on also thumbmode

Revision 1.2 / (download) - annotate - [select for diffs], Fri Mar 1 02:40:01 2019 UTC (4 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.1: +2 -4 lines
Diff to previous 1.1 (colored)

no need to include opt_multiprocessor.h here.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:23 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.1.2.1: +191 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with head

Revision 1.1.2.1, Fri Oct 12 01:28:57 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.1: +0 -191 lines
FILE REMOVED

file aarch32_syscall.c was added on branch pgoyette-compat on 2018-10-20 06:58:23 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Fri Oct 12 01:28:57 2018 UTC (5 years, 4 months ago) by ryo
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020
Branch point for: pgoyette-compat

add initial support of COMPAT_NETBSD32 on AArch64.
arm ELF32 EABI binaries could be execute in AArch32 state on AArch64. A32 THUMB mode is not supported yet.

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>