Author: andrew
Date: Thu Jan 10 16:31:07 2019
New Revision: 342919
URL: https://svnweb.freebsd.org/changeset/base/342919
Log:
Fix a comment, pushed onto is two words.
While here make the comments sentences.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm64/include/frame.h
Author: andrew
Date: Thu Dec 27 14:14:41 2018
New Revision: 342552
URL: https://svnweb.freebsd.org/changeset/base/342552
Log:
Pass VM_PROT_EXECUTE to vm_fault for instruction faults.
We need to tell vm_fault the reason for the fault was because we tried to
execute from the memory
Author: andrew
Date: Tue Dec 11 11:13:11 2018
New Revision: 341814
URL: https://svnweb.freebsd.org/changeset/base/341814
Log:
Only read the ACPI proximity tabled on arm64 when we are booting from
ACPI.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm64/acpica/acpi_machdep.c
Modified:
Author: andrew
Date: Tue Dec 4 18:51:28 2018
New Revision: 341489
URL: https://svnweb.freebsd.org/changeset/base/341489
Log:
Only gnu/lib/csu when MK_BSD_CRTBEGIN is off.
We were still building it from Makefile.inc1. Disable it there so we don't
try to build the GNU crtbegin/crtend when
> On 3 Dec 2018, at 03:32, Sean Bruno wrote:
>
> I just had to disable this on the PowerPC64 build in the FreeBSD
> Cluster. It led to the following error during linking:
>
> cc -O2 -pipe -g -MD -MF.depend.enhash.o -MTenhash.o -std=gnu99
> -fstack-protector-strong -c enhash.c -o
Author: andrew
Date: Mon Dec 3 09:40:37 2018
New Revision: 341424
URL: https://svnweb.freebsd.org/changeset/base/341424
Log:
Disable the BSD CRT code on powerpc and sparc64, they need extra crt*.o
files that haven't been implemented.
Reported by: sbruno
MFC with: r339738
Author: andrew
Date: Sat Nov 24 18:25:00 2018
New Revision: 340911
URL: https://svnweb.freebsd.org/changeset/base/340911
Log:
Re-enable the dynamiclib tests. These should be fixed by r340910.
Modified:
head/lib/csu/tests/Makefile
Modified: head/lib/csu/tests/Makefile
Author: andrew
Date: Sat Nov 24 18:23:53 2018
New Revision: 340910
URL: https://svnweb.freebsd.org/changeset/base/340910
Log:
Add the missing 0 at the end of the .jcr section.
Without this the dynamic library test was failing as it was calling
_Jv_RegisterClasses multiple times.
Author: andrew
Date: Sat Nov 24 16:05:40 2018
New Revision: 340881
URL: https://svnweb.freebsd.org/changeset/base/340881
Log:
Disable the dynamiclib test until a failure can be debugged
Modified:
head/lib/csu/tests/Makefile
Modified: head/lib/csu/tests/Makefile
Author: andrew
Date: Fri Nov 23 16:45:07 2018
New Revision: 340841
URL: https://svnweb.freebsd.org/changeset/base/340841
Log:
Enable the BSD crtbegin/crtend by default.
It has passed an exp run on amd64 and i386, and has testing on arm64. On
other architectures it is expected to run,
Author: andrew
Date: Fri Nov 23 16:33:03 2018
New Revision: 340840
URL: https://svnweb.freebsd.org/changeset/base/340840
Log:
Mark the function called by the MIPS .init/.fini sequence with .local.
As with r328939 we need to mark local symbols as such. Without this the
assembly parser
Author: andrew
Date: Tue Nov 13 15:28:27 2018
New Revision: 340395
URL: https://svnweb.freebsd.org/changeset/base/340395
Log:
Run __cxa_finalize in shared objects in the destructor path.
When we have .dtors call them before .dtor handling, otherwise call from
a destructor.
PR:
Author: andrew
Date: Wed Nov 7 09:49:25 2018
New Revision: 340213
URL: https://svnweb.freebsd.org/changeset/base/340213
Log:
Add the (untested) mips and sparc64 .init call sequences.
The BSD crtbegin/crtend code now builds on all architectures, however
further work is needed to check if
Author: andrew
Date: Tue Nov 6 17:47:58 2018
New Revision: 340193
URL: https://svnweb.freebsd.org/changeset/base/340193
Log:
Add the KUBSAN options to the arm64 and amd64 GENERIC kernel config files.
As the kernel file size may be too large to run with a stock loader comment
them out for
Author: andrew
Date: Tue Nov 6 17:32:07 2018
New Revision: 340191
URL: https://svnweb.freebsd.org/changeset/base/340191
Log:
Port the NetBSD ubsan runtime to the FreeBSD kernel.
This allows us to build the ubsan code added in r340189 into the kernel
with the KUBSAN option. This will
Author: andrew
Date: Tue Nov 6 16:56:49 2018
New Revision: 340189
URL: https://svnweb.freebsd.org/changeset/base/340189
Log:
Import the NetBSD micro ubsan code for the kernel.
This imports revision 1.3 of common/lib/libc/misc/ubsan.c from NetBSD, the
micro-ubsan code. It is an
Author: andrew
Date: Thu Nov 1 17:43:28 2018
New Revision: 340013
URL: https://svnweb.freebsd.org/changeset/base/340013
Log:
Add the ARMv8.3 SCTLR_EL1 fields.
While here tag which architecture release fields were added and remove a
field that only existed in very early releases of the
Author: andrew
Date: Thu Nov 1 17:05:10 2018
New Revision: 340008
URL: https://svnweb.freebsd.org/changeset/base/340008
Log:
Add the ARMv8.3 HCR_EL2 register fields.
MFC after:1 month
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm64/include/hypervisor.h
Modified:
Author: andrew
Date: Thu Nov 1 10:25:22 2018
New Revision: 339988
URL: https://svnweb.freebsd.org/changeset/base/339988
Log:
Use the correct offsets for the trap frame in fork_trampoline.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm64/arm64/swtch.S
Modified:
Author: andrew
Date: Wed Oct 31 17:41:53 2018
New Revision: 339961
URL: https://svnweb.freebsd.org/changeset/base/339961
Log:
Always set the MP_QUIRK_CPULIST quirk under ACPI. This needs a run time
check to only set it for emulators as the CPU list may be changed when
the emulator starts.
Author: andrew
Date: Wed Oct 31 12:00:35 2018
New Revision: 339948
URL: https://svnweb.freebsd.org/changeset/base/339948
Log:
Use pmap_invalidate_all rather than invalidating 512 level 2 entries in
the early pmap_mapbios/unmapbios code. It is even worse when there are
multiple L2 entries to
Author: andrew
Date: Wed Oct 31 10:30:19 2018
New Revision: 339945
URL: https://svnweb.freebsd.org/changeset/base/339945
Log:
Remove function prototypes for functions removed in r339943.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm64/arm64/mp_machdep.c
Modified:
Author: andrew
Date: Wed Oct 31 09:39:38 2018
New Revision: 339944
URL: https://svnweb.freebsd.org/changeset/base/339944
Log:
Fix some style(9) issues in the arm64 pmap_mapbios/unmapbios. Split lines
when they are too long.
Sponsored by: DARPA, AFRL
Modified:
Author: andrew
Date: Wed Oct 31 09:25:17 2018
New Revision: 339943
URL: https://svnweb.freebsd.org/changeset/base/339943
Log:
Remove the unused arm64_cpu driver.
This was previously used for CPU initilisation, however this hasn't been
the case in a long time.
Sponsored by: DARPA,
le is newly added)
+++ head/lib/csu/mips/crt.h Tue Oct 30 14:44:12 2018(r339916)
@@ -0,0 +1,31 @@
+/*-
+ * SPDX-License-Identifier: BSD-1-Clause
+ *
+ * Copyright 2018 Andrew Turner
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitte
Author: andrew
Date: Tue Oct 30 11:19:47 2018
New Revision: 339913
URL: https://svnweb.freebsd.org/changeset/base/339913
Log:
Disable the .preinit_array test in DSOs, ld.bfd fails to link objects with
the section.
MFC with: r339738
Sponsored by: DARPA, AFRL
Modified:
Author: andrew
Date: Tue Oct 30 10:16:21 2018
New Revision: 339912
URL: https://svnweb.freebsd.org/changeset/base/339912
Log:
Fix the location of the static keyword.
MFC with: r339738
Sponsored by: DARPA, AFRL
Modified:
head/lib/csu/tests/init_test.c
Modified:
Author: andrew
Date: Tue Oct 30 09:43:26 2018
New Revision: 339908
URL: https://svnweb.freebsd.org/changeset/base/339908
Log:
Run the csu tests on a DSO. This builds the tests into a shared library,
then runs these from the base test programs. With this we can check
crtbeginS.o and
Author: andrew
Date: Tue Oct 30 09:36:31 2018
New Revision: 339907
URL: https://svnweb.freebsd.org/changeset/base/339907
Log:
The jcr argument to _Jv_RegisterClasses is used, stop marking it otherwise.
MFC with: r339738
Sponsored by: DARPA, AFRL
Modified:
Author: andrew
Date: Mon Oct 29 17:55:26 2018
New Revision: 339866
URL: https://svnweb.freebsd.org/changeset/base/339866
Log:
Make the .ctors, .dtors, and .jcr markers as static. They shouldn't be
accessible from out of the files they are defined in.
MFC with: r339738
Sponsored by:
Author: andrew
Date: Mon Oct 29 17:13:12 2018
New Revision: 339865
URL: https://svnweb.freebsd.org/changeset/base/339865
Log:
Include the csu test directories in BSD.tests.dist
MFC with: r339738
Sponsored by: DARPA, AFRL
Modified:
head/etc/mtree/BSD.tests.dist
Modified:
Author: andrew
Date: Mon Oct 29 17:03:20 2018
New Revision: 339864
URL: https://svnweb.freebsd.org/changeset/base/339864
Log:
Check __dso_handle is NULL in non-DSO objects. It should only be non-NULL
when accessed from a shared object.
MFC with: r339738
Sponsored by: DARPA, AFRL
Author: andrew
Date: Fri Oct 26 11:53:20 2018
New Revision: 339773
URL: https://svnweb.freebsd.org/changeset/base/339773
Log:
Add __dso_handle to the BSD crtbegin. This is used to identify shared
objects.
MFC with: r339738
Sponsored by: DARPA, AFRL
Modified:
> On 26 Oct 2018, at 03:40, Kyle Evans wrote:
>
> On Thu, Oct 25, 2018 at 12:40 PM Andrew Turner <mailto:and...@freebsd.org>> wrote:
>>
>> Author: andrew
>> Date: Thu Oct 25 17:39:41 2018
>> New Revision: 339738
>> URL: https://svn
Author: andrew
Date: Fri Oct 26 08:12:28 2018
New Revision: 339770
URL: https://svnweb.freebsd.org/changeset/base/339770
Log:
Drop the csu tests WARNS to 5 to fix the powerpc64 build.
MFC with: r339738
Sponsored by: DARPA, AFRL
Modified:
head/lib/csu/tests/Makefile.tests
Author: andrew
Date: Thu Oct 25 21:08:15 2018
New Revision: 339744
URL: https://svnweb.freebsd.org/changeset/base/339744
Log:
Add a missing include for src.opts.mk. Without it MK_TESTS isn't defined.
MFC with: r339738
Sponsored by: DARPA, AFRL
Modified:
head/lib/csu/Makefile
Author: andrew
Date: Thu Oct 25 17:42:43 2018
New Revision: 339739
URL: https://svnweb.freebsd.org/changeset/base/339739
Log:
Regen src.conf.5 to add WITH_BSD_CRTBEGIN
Sponsored by: DARPA, AFRL
Modified:
head/share/man/man5/src.conf.5
Modified: head/share/man/man5/src.conf.5
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/csu/amd64/crt.hThu Oct 25 17:39:41 2018(r339738)
@@ -0,0 +1,32 @@
+/*-
+ * SPDX-License-Identifier: BSD-1-Clause
+ *
+ * Copyright 2018 Andrew Turn
Author: andrew
Date: Mon Oct 22 15:18:49 2018
New Revision: 339594
URL: https://svnweb.freebsd.org/changeset/base/339594
Log:
Stop advertising ARMv8.3 Pointer Authentication
This needs firmware and kernel support before userspace can use it. Until
then don't advertise it's available.
Author: andrew
Date: Mon Oct 22 15:06:14 2018
New Revision: 339593
URL: https://svnweb.freebsd.org/changeset/base/339593
Log:
Fix the ID_AA64ISAR0_EL1 dot product field shift.
It's 44 in the documentation, use this correct value.
MFC after:3 days
Modified:
Author: andrew
Date: Mon Oct 22 14:58:59 2018
New Revision: 339592
URL: https://svnweb.freebsd.org/changeset/base/339592
Log:
Correctly set the DAIF bits in new threads
We should only unmask interrupts when creating a new thread and leave the
other exceptions in teh same state as before
y SRI International and the University of
+ * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
+ * ("CTSRD"), as part of the DARPA CRASH research programme.
+ *
+ * Portions of this software were developed by Andrew Turner
+ * under sponsorship from the FreeBSD Foun
Author: andrew
Date: Mon Oct 1 18:51:08 2018
New Revision: 339074
URL: https://svnweb.freebsd.org/changeset/base/339074
Log:
Add kernel ifunc support on arm64.
Tested with ifunc resolvers in the kernel and module with calls from
kernel to kernel, module to kernel, and module to module.
Author: andrew
Date: Mon Oct 1 14:02:29 2018
New Revision: 339041
URL: https://svnweb.freebsd.org/changeset/base/339041
Log:
Add STT_GNU_IFUNC and R_AARCH64_IRELATIVE support on arm64.
This is based on the amd64 implementation. Support for both PLT and
non-PLT (e.g. a global variable
Author: andrew
Date: Fri Sep 28 11:57:40 2018
New Revision: 338994
URL: https://svnweb.freebsd.org/changeset/base/338994
Log:
Export ID_AA64ISAR{0,1}_EL1 to userland.
As with r338962 also export the instruction set attribute register. This
will allow userland to identify optional
Author: andrew
Date: Thu Sep 27 13:54:09 2018
New Revision: 338962
URL: https://svnweb.freebsd.org/changeset/base/338962
Log:
Export ID_AA64PFR0_EL1 to userland
Create a user view of the ID_AA64PFR0_EL1 register with values common
across all CPUs.
Approved by: re (kib)
Sponsored
Author: andrew
Date: Thu Sep 27 13:50:57 2018
New Revision: 338961
URL: https://svnweb.freebsd.org/changeset/base/338961
Log:
Move the undefined instruction handler to identcpu.c so we have access
to the registers from boot.
Approved by: re (kib)
Sponsored by: ABT Systems Ltd
Author: andrew
Date: Thu Sep 27 11:16:19 2018
New Revision: 338957
URL: https://svnweb.freebsd.org/changeset/base/338957
Log:
Handle a guest executing a vm instruction by trapping and raising an
undefined instruction exception. Previously we would exit the guest,
however an unprivileged
Author: andrew
Date: Thu Sep 6 17:25:50 2018
New Revision: 338502
URL: https://svnweb.freebsd.org/changeset/base/338502
Log:
Fix the GIC ACPI cross reference value.
To support INTRNG with ACPI we need to set a non-zero cross reference value
for the interrupt controller. The GICv3 driver
Author: andrew
Date: Thu Sep 6 17:25:01 2018
New Revision: 338501
URL: https://svnweb.freebsd.org/changeset/base/338501
Log:
Remove the check that the Arm generic interrupt controller variant is
non-zero. This is the case on qemu, so remove it to allow us to boot there.
This change is
Author: andrew
Date: Mon Aug 27 11:14:49 2018
New Revision: 338337
URL: https://svnweb.freebsd.org/changeset/base/338337
Log:
Ensure we have a large enough stack for the lua loader
Lua has a few places where it allocates a large buffer on the stack. This
is normally fine, except there
Author: andrew
Date: Mon Aug 27 10:08:27 2018
New Revision: 338336
URL: https://svnweb.freebsd.org/changeset/base/338336
Log:
Use the correct register when storing the arm VFP state.
Previously we have been lucky where the state was already in r0, however
this is not guaranteed. Use the
Author: andrew
Date: Thu Aug 16 10:00:51 2018
New Revision: 337903
URL: https://svnweb.freebsd.org/changeset/base/337903
Log:
Remove the L1 and L2 xscale page defines and rename the generic macros to
the common name. While here move the macros to check these into pmap-v4.c
as they're only
Author: andrew
Date: Wed Aug 15 14:57:34 2018
New Revision: 337853
URL: https://svnweb.freebsd.org/changeset/base/337853
Log:
Remove pmap_kenter_section from the arm pmap. It's unused.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm/arm/pmap-v4.c
head/sys/arm/include/pmap-v4.h
Author: andrew
Date: Wed Aug 15 14:52:56 2018
New Revision: 337851
URL: https://svnweb.freebsd.org/changeset/base/337851
Log:
Remove ARM_HAVE_SUPERSECTIONS. It was only supported on some XScale CPUs.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm/arm/pmap-v4.c
Author: andrew
Date: Wed Aug 15 14:45:01 2018
New Revision: 337850
URL: https://svnweb.freebsd.org/changeset/base/337850
Log:
Make code and data only used within the arm pmap code as static.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm/arm/pmap-v4.c
head/sys/arm/include/pmap-v4.h
Author: andrew
Date: Wed Aug 15 14:29:04 2018
New Revision: 337848
URL: https://svnweb.freebsd.org/changeset/base/337848
Log:
Remove arm pmap variables that are only ever set and never read.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm/arm/pmap-v4.c
head/sys/arm/include/pmap-v4.h
Author: andrew
Date: Wed Aug 15 14:19:07 2018
New Revision: 337847
URL: https://svnweb.freebsd.org/changeset/base/337847
Log:
Remove ARM_MMU_GENERIC, it's the only ARMV4/v5 MMU we support.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm/arm/pmap-v4.c
head/sys/arm/include/pmap-v4.h
Author: andrew
Date: Wed Aug 15 13:52:31 2018
New Revision: 337846
URL: https://svnweb.freebsd.org/changeset/base/337846
Log:
Remove the ARMv5 pmap function pointers. These were to support XScale so
are now unused.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm/arm/pmap-v4.c
Author: andrew
Date: Wed Aug 15 13:48:59 2018
New Revision: 337845
URL: https://svnweb.freebsd.org/changeset/base/337845
Log:
Remove checks for now unsupported CPU_* values in arm headers.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm/include/intr.h
head/sys/arm/include/pmap-v4.h
Author: andrew
Date: Wed Aug 15 13:40:16 2018
New Revision: 337843
URL: https://svnweb.freebsd.org/changeset/base/337843
Log:
Start to remove XScale support from the ARMv4/v5 pmap. Support for XScale
has been removed from the kernel so we can remove it from here to help
simplify the code.
Author: andrew
Date: Wed Aug 15 13:19:15 2018
New Revision: 337842
URL: https://svnweb.freebsd.org/changeset/base/337842
Log:
Set the Execute Never flags in EFI device memory as required by the ARMv8
spec.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm64/arm64/efirt_machdep.c
Author: andrew
Date: Wed Aug 15 13:13:19 2018
New Revision: 337841
URL: https://svnweb.freebsd.org/changeset/base/337841
Log:
Remove PHYSADDR from kernel configurations that don't need it. The only
place we need to set it is when we also have FLASHADDR set.
Sponsored by: DARPA, AFRL
Author: andrew
Date: Wed Aug 15 13:03:01 2018
New Revision: 337839
URL: https://svnweb.freebsd.org/changeset/base/337839
Log:
Remove the VIRT armv7 kernel config. It is supported by GENERIC.
Sponsored by: DARPA, AFRL
Deleted:
head/sys/arm/conf/VIRT
Author: andrew
Date: Tue Aug 14 16:01:25 2018
New Revision: 337762
URL: https://svnweb.freebsd.org/changeset/base/337762
Log:
Remove cpu_pfr from arm. It's unused.
Modified:
head/sys/arm/arm/identcpu-v4.c
head/sys/arm/include/cpufunc.h
Modified: head/sys/arm/arm/identcpu-v4.c
Author: andrew
Date: Tue Aug 14 15:48:13 2018
New Revision: 337761
URL: https://svnweb.freebsd.org/changeset/base/337761
Log:
Remove an old comment now the code it references has been removed.
Modified:
head/sys/arm/arm/cpufunc_asm.S
Modified: head/sys/arm/arm/cpufunc_asm.S
Author: andrew
Date: Tue Aug 14 15:42:27 2018
New Revision: 337760
URL: https://svnweb.freebsd.org/changeset/base/337760
Log:
Fix the spelling of armv4_idcache_inv_all in an END macro.
Modified:
head/sys/arm/arm/cpufunc_asm_armv4.S
Modified: head/sys/arm/arm/cpufunc_asm_armv4.S
Author: andrew
Date: Tue Aug 14 11:00:54 2018
New Revision: 337739
URL: https://svnweb.freebsd.org/changeset/base/337739
Log:
Support reading from the arm64 ID registers from userspace.
Trap reads to the arm64 ID registers and write a safe value into them. This
will allow us to put more
> On 6 Aug 2018, at 15:40, Andrew Turner wrote:
>
> Author: andrew
> Date: Mon Aug 6 14:40:45 2018
> New Revision: 337379
> URL: https://svnweb.freebsd.org/changeset/base/337379
>
> Log:
> Default to armv5te in LINT on arm. This should fix building LINT there
Author: andrew
Date: Mon Aug 6 14:40:45 2018
New Revision: 337379
URL: https://svnweb.freebsd.org/changeset/base/337379
Log:
Default to armv5te in LINT on arm. This should fix building LINT there.
Modified:
head/sys/arm/conf/NOTES
Modified: head/sys/arm/conf/NOTES
Author: andrew
Date: Tue Jul 31 15:08:02 2018
New Revision: 336971
URL: https://svnweb.freebsd.org/changeset/base/336971
Log:
Use int for the pcpu_ssbd argument. This is included from userland and may
not include the needed headers to get the bool definition.
Reported by: manu
Pointy
Author: andrew
Date: Tue Jul 31 12:53:27 2018
New Revision: 336967
URL: https://svnweb.freebsd.org/changeset/base/336967
Log:
Implement the SSBD (CVE-2018-3639) workaround on arm64
This calls into the Arm Trusted Firmware to enable and disable the
workaround for the Speculative Store
Author: andrew
Date: Mon Jul 30 15:57:58 2018
New Revision: 336915
URL: https://svnweb.freebsd.org/changeset/base/336915
Log:
Enable VIMAGE on arm64 again. A workaround for modules with static VNET
variables has been committed so these should work now.
PR: 223670
Sponsored
Author: andrew
Date: Mon Jul 30 15:05:07 2018
New Revision: 336909
URL: https://svnweb.freebsd.org/changeset/base/336909
Log:
As with DPCPU_DEFINE_STATIC make VNET_DEFINE_STATIC non-static on arm64 in
modules. It also fails in the same way, we are unable to relocate static
variables as the
Author: andrew
Date: Mon Jul 30 14:25:17 2018
New Revision: 336906
URL: https://svnweb.freebsd.org/changeset/base/336906
Log:
Ensure the DPCPU and VNET module spaces are aligned to hold a pointer.
Previously they may have been aligned to a char, leading to misaligned
DPCPU and VNET
Author: andrew
Date: Mon Jul 30 12:44:44 2018
New Revision: 336902
URL: https://svnweb.freebsd.org/changeset/base/336902
Log:
As with DPCPU_DEFINE make it a compile error to use static with VNET_DEFINE.
There is the VNET_DEFINE_STATIC macro for that.
Modified:
head/sys/net/vnet.h
Author: andrew
Date: Mon Jul 30 10:55:02 2018
New Revision: 336894
URL: https://svnweb.freebsd.org/changeset/base/336894
Log:
Remove teh non-INTRNG code from the ARM GIC interrupt controller driver.
We don't build for the non-INTRNG case and it was makeing the code harder
to read.
Author: andrew
Date: Mon Jul 30 09:50:26 2018
New Revision: 336892
URL: https://svnweb.freebsd.org/changeset/base/336892
Log:
Require ARMv5 for arm. All current kernels are for ARMv5 or later, and it
will allow us to clean out old ARMv4 (and earlier) specific assembly.
Relnotes: yes
Author: andrew
Date: Sat Jul 28 17:21:34 2018
New Revision: 336834
URL: https://svnweb.freebsd.org/changeset/base/336834
Log:
Use the cp15 functions to read cp15 registers rather than using assembly
functions. The former are static inline functions so will compile to a
single instruction.
Author: andrew
Date: Sat Jul 28 16:56:46 2018
New Revision: 336833
URL: https://svnweb.freebsd.org/changeset/base/336833
Log:
Remove an unneeded cpu_ident() prototype.
Modified:
head/sys/arm/arm/elf_trampoline.c
Modified: head/sys/arm/arm/elf_trampoline.c
Author: andrew
Date: Sat Jul 28 12:53:10 2018
New Revision: 336831
URL: https://svnweb.freebsd.org/changeset/base/336831
Log:
Remove some write only global values from the arm cpufunc code.
Modified:
head/sys/arm/arm/cpufunc.c
Modified: head/sys/arm/arm/cpufunc.c
Author: andrew
Date: Sat Jul 28 12:52:03 2018
New Revision: 336830
URL: https://svnweb.freebsd.org/changeset/base/336830
Log:
Remove an unused function from the arm ELF trampoline. It tries to find
properties about the CPU caches, however we never use these values.
Modified:
Author: andrew
Date: Sat Jul 28 12:50:09 2018
New Revision: 336829
URL: https://svnweb.freebsd.org/changeset/base/336829
Log:
Only build the cache handling code we need when building the arm ELF
trampoline.
Modified:
head/sys/arm/arm/cpufunc_asm_armv5_ec.S
Author: andrew
Date: Sat Jul 28 12:20:42 2018
New Revision: 336828
URL: https://svnweb.freebsd.org/changeset/base/336828
Log:
Make the arm cpu setup functions static. Any other place that needs these
functions will use the function pointer we create for them.
Modified:
Author: andrew
Date: Sat Jul 28 12:16:57 2018
New Revision: 336827
URL: https://svnweb.freebsd.org/changeset/base/336827
Log:
Remove an unneeded check for CPU_XSCALE_81342
Modified:
head/sys/arm/arm/identcpu-v4.c
Modified: head/sys/arm/arm/identcpu-v4.c
Author: andrew
Date: Sat Jul 28 12:00:32 2018
New Revision: 336826
URL: https://svnweb.freebsd.org/changeset/base/336826
Log:
Remove old CPU_ values from the arm cpufunc code. These have been removed.
Modified:
head/sys/arm/arm/cpufunc.c
head/sys/arm/arm/cpufunc_asm_arm9.S
Author: andrew
Date: Sat Jul 28 11:58:43 2018
New Revision: 336825
URL: https://svnweb.freebsd.org/changeset/base/336825
Log:
Remove the old CPU_ values from the arm kernel trampoline. These options
are gone so we can remove them from the code.
Modified:
head/sys/arm/arm/elf_trampoline.c
> On 28 Jul 2018, at 12:00, Andrew Turner wrote:
>
> Author: andrew
> Date: Sat Jul 28 11:00:45 2018
> New Revision: 336813
> URL: https://svnweb.freebsd.org/changeset/base/336813
>
> Log:
> Remove now the cow unused CPU_ARM9 and CPU_FA526 options.
Author: andrew
Date: Sat Jul 28 11:00:45 2018
New Revision: 336813
URL: https://svnweb.freebsd.org/changeset/base/336813
Log:
Remove now the cow unused CPU_ARM9 and CPU_FA526 options. These are for
ARMv4 CPUs that are no longer supported.
Deleted:
head/sys/arm/arm/cpufunc_asm_fa526.S
Author: andrew
Date: Sat Jul 28 10:48:41 2018
New Revision: 336807
URL: https://svnweb.freebsd.org/changeset/base/336807
Log:
The RT1310 is an ARM926EJ-S, fix the config to mark it as such.
Modified:
head/sys/arm/ralink/std.ralink
Modified: head/sys/arm/ralink/std.ralink
Author: andrew
Date: Sat Jul 28 07:54:21 2018
New Revision: 336806
URL: https://svnweb.freebsd.org/changeset/base/336806
Log:
Only support INTRNG in the SMP code on arm. We already require INTRNG on
anything that could be multicore on arm.
Modified:
head/sys/arm/arm/mp_machdep.c
Author: andrew
Date: Sat Jul 28 06:46:10 2018
New Revision: 336804
URL: https://svnweb.freebsd.org/changeset/base/336804
Log:
Remove IPI_IRQ_START and IPI_IRQ_END from the arm kernel config files.
These are unneeded with INTRNG.
Modified:
head/sys/arm/allwinner/std.allwinner
Author: andrew
Date: Tue Jul 24 16:45:01 2018
New Revision: 336677
URL: https://svnweb.freebsd.org/changeset/base/336677
Log:
icmp_quotelen was accidentially changes in r336676, undo this.
Sponsored by: DARPA, AFRL
Modified:
head/sys/netinet/ip_icmp.c
Modified:
Author: andrew
Date: Tue Jul 24 16:35:52 2018
New Revision: 336676
URL: https://svnweb.freebsd.org/changeset/base/336676
Log:
Use the new VNET_DEFINE_STATIC macro when we are defining static VNET
variables.
Reviewed by: bz
Sponsored by: DARPA, AFRL
Differential Revision:
Author: andrew
Date: Tue Jul 24 16:31:16 2018
New Revision: 336674
URL: https://svnweb.freebsd.org/changeset/base/336674
Log:
As with DPCPU create VNET_DEFINE_STATIC for when a variable needs to be
declaired static. This will allow us to change the definition on arm64
as it has the same
Author: andrew
Date: Thu Jul 19 17:13:46 2018
New Revision: 336492
URL: https://svnweb.freebsd.org/changeset/base/336492
Log:
Stop writing past the end of the buffer in the msgget_limit test. The value
in i is already correct to write to the last item in the buf array.
Obtained from:
Author: andrew
Date: Wed Jul 18 09:17:37 2018
New Revision: 336447
URL: https://svnweb.freebsd.org/changeset/base/336447
Log:
Also check if __ARM_ARCH_6KZ__ is defined when detecting when to use ARMv6
instructions. There is some code that still uses the _ARM_ARCH_* macros.
Sponsored by:
Author: andrew
Date: Mon Jul 16 18:21:29 2018
New Revision: 336349
URL: https://svnweb.freebsd.org/changeset/base/336349
Log:
Don't use the static keyword with DPCPU defines in arm64 modules.
On arm64 compiler will create PC-relative loads and stores for static data.
This means it
Author: andrew
Date: Mon Jul 16 15:39:33 2018
New Revision: 336348
URL: https://svnweb.freebsd.org/changeset/base/336348
Log:
Create an empty stdint.h for arm_neon.h to include.
The armv8crypto module includes arm_neon.h for the compiler intrinsic
functions. This includes the userland
This breaks at least armv7. Please either fix, or revert this.
I have some comments below I was planning on adding to the review, but you
committed before I had the time to do so.
> On 9 Jul 2018, at 10:00, Wojciech Macek wrote:
>
> Author: wma
> Date: Mon Jul 9 09:00:16 2018
> New Revision:
201 - 300 of 1739 matches
Mail list logo