Author: andrew
Date: Tue May 15 16:44:35 2018
New Revision: 333636
URL: https://svnweb.freebsd.org/changeset/base/333636
Log:
Increase the number of pages we allocate in the arm64 early boot. We are
already close to the limit so increasing the kernel size may cause it to
fail to boot when it
Author: andrew
Date: Fri May 18 11:32:48 2018
New Revision: 333786
URL: https://svnweb.freebsd.org/changeset/base/333786
Log:
Enable the Qualcomm MSM UART driver. This is needed for some Qualcomm
Snapdragon SoCs.
Obtained from:ABT Systems Ltd
Sponsored by: Turing Robotic Industr
> On 21 May 2018, at 04:58, Eitan Adler wrote:
>
> Author: eadler
> Date: Mon May 21 03:58:15 2018
> New Revision: 333959
> URL: https://svnweb.freebsd.org/changeset/base/333959
>
> Log:
> top(1): build with WARNS=3
>
> This fixes everything but
> -Wincompatible-pointer-types-discards-qual
Author: andrew
Date: Mon May 21 16:14:53 2018
New Revision: 333985
URL: https://svnweb.freebsd.org/changeset/base/333985
Log:
Restrict the faulting addresses we call pmap_fault from to just those that
may fault due to superpage mappings being changed.
Sponsored by: DARPA, AFRL
Modified:
Author: andrew
Date: Tue May 22 10:14:20 2018
New Revision: 334028
URL: https://svnweb.freebsd.org/changeset/base/334028
Log:
Coalesce adjacent physical mappings.
This reduces the overhead when we have many small mappings, e.g. on some
EFI systems. This is to help use this code on arm64 w
Author: andrew
Date: Tue May 22 10:31:06 2018
New Revision: 334030
URL: https://svnweb.freebsd.org/changeset/base/334030
Log:
Allow the 32-bit arm physmem code to work on arm64.
This will help simplify the arm64 code and allow us to properly exclude
memory that should never be mapped.
Author: andrew
Date: Tue May 22 11:07:04 2018
New Revision: 334032
URL: https://svnweb.freebsd.org/changeset/base/334032
Log:
Switch arm64 to use the same physmem code as 32-bit arm.
The main advantage of this is to allow us to exclude memory from being
used by the kernel. This may be fro
Author: andrew
Date: Tue May 22 11:16:45 2018
New Revision: 334033
URL: https://svnweb.freebsd.org/changeset/base/334033
Log:
Stop using the DMAP region to map ACPI memory.
On some arm64 boards we need to access memory in ACPI tables that is not
mapped in the DMAP region. To handle this c
Author: andrew
Date: Tue May 22 11:26:41 2018
New Revision: 334035
URL: https://svnweb.freebsd.org/changeset/base/334035
Log:
On ThunderX2 we need to be careful to only map the memory the firmware
lists in the EFI memory map. As such we need to reduce the mappings to
restrict them to not be
Author: andrew
Date: Tue May 22 13:21:44 2018
New Revision: 334037
URL: https://svnweb.freebsd.org/changeset/base/334037
Log:
Only set realmem based on memory where the EXFLAG_NOALLOC is unset. This
will allow us to query the maps at any time without disturbing this value.
Obtained from:
Author: andrew
Date: Tue May 22 14:26:58 2018
New Revision: 334045
URL: https://svnweb.freebsd.org/changeset/base/334045
Log:
Pass the array length into regions_to_avail.
On arm64 we will need to get the phys_avail array from before the kernel
is excluded to create teh DMAP region. In pre
Author: andrew
Date: Tue May 22 15:52:11 2018
New Revision: 334052
URL: https://svnweb.freebsd.org/changeset/base/334052
Log:
Revert r334035 for now. It breaks the boot on some boards as er expect to
be able to read UEFI RuntimeData memory via the DMAP region.
Modified:
head/sys/arm64/arm64
> On 22 May 2018, at 16:52, Andrew Turner wrote:
>
> Author: andrew
> Date: Tue May 22 15:52:11 2018
> New Revision: 334052
> URL: https://svnweb.freebsd.org/changeset/base/334052
>
> Log:
> Revert r334035 for now. It breaks the boot on some boards as er expect
Author: andrew
Date: Tue May 22 16:03:41 2018
New Revision: 334056
URL: https://svnweb.freebsd.org/changeset/base/334056
Log:
Handle reserved memory with the no-map property.
We shouldn't be mapping this memory, so we need to find it so it
can be excluded from the phys_avail map.
Rev
Author: andrew
Date: Thu May 24 14:55:50 2018
New Revision: 334155
URL: https://svnweb.freebsd.org/changeset/base/334155
Log:
Exclude memory from the /reserved-memory mappings with the no-map property
set. This memory must not be mapped by the operating system other than
under control of the
Author: andrew
Date: Thu May 24 15:07:53 2018
New Revision: 334157
URL: https://svnweb.freebsd.org/changeset/base/334157
Log:
Print the physmem tables under a verbose boot.
Obtained from:ABT Systems Ltd
Sponsored by: Turing Robotic Industries
Modified:
head/sys/arm64/arm64/mach
Author: andrew
Date: Thu May 24 15:32:49 2018
New Revision: 334162
URL: https://svnweb.freebsd.org/changeset/base/334162
Log:
Allow us to read the physmap data into our own array and use this to build
the DMAP region on arm64.
We already have the needed information to build these tables,
Author: andrew
Date: Thu May 24 16:07:47 2018
New Revision: 334164
URL: https://svnweb.freebsd.org/changeset/base/334164
Log:
Remove physmap from the arm64 machdep.h. This was missed in r334162.
Modified:
head/sys/arm64/include/machdep.h
Modified: head/sys/arm64/include/machdep.h
===
> On 27 May 2018, at 23:15, Maxim Sobolev wrote:
>
> Well, strip extra 32 bits, use slower memory and busses (extra decoding logic
> etc). Voila, you suddenly have platform that can run 99% of code in wild
> today with just few hundred mW of power. Try that with arm32, you would be
> surpris
Author: andrew
Date: Mon May 28 17:09:29 2018
New Revision: 334289
URL: https://svnweb.freebsd.org/changeset/base/334289
Log:
Create a new function to walk the EFI memory table & run a callback for
each entry. We can then use this to ensure the RunTime data is mapped in
the DMAP, but not in
Author: andrew
Date: Tue May 29 13:52:25 2018
New Revision: 334329
URL: https://svnweb.freebsd.org/changeset/base/334329
Log:
On ThunderX2 we need to be careful to only map the memory the firmware
lists in the EFI memory map. As such we need to reduce the mappings to
restrict them to not be
Author: andrew
Date: Tue May 29 17:44:40 2018
New Revision: 334341
URL: https://svnweb.freebsd.org/changeset/base/334341
Log:
Increase the number of fdt memory regions we support to 16. Some SoCs have
many excluded regions causing a buffer overflow in the early boot code if
this value is too
Author: andrew
Date: Wed May 30 14:18:19 2018
New Revision: 334382
URL: https://svnweb.freebsd.org/changeset/base/334382
Log:
Push down the locking in pmap_fault to just be around the calls to
arm64_address_translate_*. There is no need to lock around the switch
statement as we only care abo
Author: andrew
Date: Wed May 30 15:25:48 2018
New Revision: 334385
URL: https://svnweb.freebsd.org/changeset/base/334385
Log:
Further limit when we call pmap_fault.
We should only call pmap_fault in the kernel when accessing a userspace
address. As this should always happen through specif
Author: andrew
Date: Wed May 30 15:37:09 2018
New Revision: 334387
URL: https://svnweb.freebsd.org/changeset/base/334387
Log:
Remove max_pa, it's unused.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm64/arm64/pmap.c
Modified: head/sys/arm64/arm64/pmap.c
===
Author: andrew
Date: Thu May 31 11:11:23 2018
New Revision: 334420
URL: https://svnweb.freebsd.org/changeset/base/334420
Log:
Fix the memory attribute for EFI_MD_ATTR_UC on arm64.
This is defined as Device-nGnRnE in the UEFI spec (UEFI 2.4, section
2.3.6.1). This is the VM_MEMATTR_DEVICE
Author: andrew
Date: Thu May 31 11:53:46 2018
New Revision: 334421
URL: https://svnweb.freebsd.org/changeset/base/334421
Log:
Fix the early spelling of bootverbose.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm64/arm64/machdep.c
Modified: head/sys/arm64/arm64/machdep.c
==
Author: andrew
Date: Thu May 31 12:37:34 2018
New Revision: 334424
URL: https://svnweb.freebsd.org/changeset/base/334424
Log:
Move the code to print the EFI memory table to a new function and call it
in teh bootverbose path after cninit().
This allows users to see these tables when bootin
Author: andrew
Date: Sat Jun 9 14:47:49 2018
New Revision: 334880
URL: https://svnweb.freebsd.org/changeset/base/334880
Log:
In the ThunderX BGX network driver we were skipping the NULL terminator
when parsing the phy type, however this is included in the length returned
by OF_getprop. To f
Author: andrew
Date: Sun Jun 10 16:21:21 2018
New Revision: 334926
URL: https://svnweb.freebsd.org/changeset/base/334926
Log:
Clean up handling of unexpected exceptions. Previously we would issue a
breakpoint instruction, however this would lose information that may be
useful for debugging.
Author: andrew
Date: Sun Jun 10 19:42:44 2018
New Revision: 334932
URL: https://svnweb.freebsd.org/changeset/base/334932
Log:
Remove the psci option from arm64. It is now a standard option as it is
required to boot correctly.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm64/arm64/cpu
Author: andrew
Date: Tue Jun 12 14:54:17 2018
New Revision: 334999
URL: https://svnweb.freebsd.org/changeset/base/334999
Log:
Rework PSCI so it only searches for the call function once.
This is in preperation for supporting newer smccc functions that also use
the same call method.
Re
Author: andrew
Date: Wed Jun 13 11:58:41 2018
New Revision: 335051
URL: https://svnweb.freebsd.org/changeset/base/335051
Log:
Add more Cavium CPU part numbers.
While here split the lists by vendor.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm64/include/cpu.h
Modified: head/sys/
Author: andrew
Date: Wed Jun 13 12:17:11 2018
New Revision: 335052
URL: https://svnweb.freebsd.org/changeset/base/335052
Log:
Rename the ThunderX CPU identification macros to include the X. This is the
name people know the product by, and is consistent with the later SoC ID
macros.
Spon
Author: andrew
Date: Wed Jun 13 12:26:37 2018
New Revision: 335054
URL: https://svnweb.freebsd.org/changeset/base/335054
Log:
Add the PSCI_FEATURES function ID. This is found in PSCI 1.0 and is used
to query if a given function is implemented and its features.
Sponsored by: DARPA, AFRL
M
Author: andrew
Date: Wed Jun 13 12:32:04 2018
New Revision: 335055
URL: https://svnweb.freebsd.org/changeset/base/335055
Log:
Find and cache the PSCI version on driver attach.
Sponsored by: DARPA, AFRL
Modified:
head/sys/dev/psci/psci.c
Modified: head/sys/dev/psci/psci.c
===
Author: andrew
Date: Wed Jun 13 12:33:47 2018
New Revision: 335056
URL: https://svnweb.freebsd.org/changeset/base/335056
Log:
Add a handler for the PSCI_FEATURES function. This needs PSCI 1.0, so
check for this, returning an error if the version is too old.
Sponsored by: DARPA, AFRL
Modi
Author: andrew
Date: Wed Jun 13 15:24:07 2018
New Revision: 335061
URL: https://svnweb.freebsd.org/changeset/base/335061
Log:
Move psci_call to a header file so we can use it in other files to
communicate with the firmware.
Sponsored by: DARPA, AFRL
Modified:
head/sys/dev/psci/psci.c
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/dev/psci/smccc.c Wed Jun 13 15:32:00 2018(r335062)
@@ -0,0 +1,93 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright (c) 2018 Andrew Turner
+ *
+ * This software was developed by
Author: andrew
Date: Wed Jun 13 15:41:22 2018
New Revision: 335063
URL: https://svnweb.freebsd.org/changeset/base/335063
Log:
Add the SMCCC return codes from ARM DEN 0070A.
While here add a comment with the document the function IDs come from.
Sponsored by: DARPA, AFRL
Modified:
hea
Author: andrew
Date: Wed Jun 13 15:56:24 2018
New Revision: 335064
URL: https://svnweb.freebsd.org/changeset/base/335064
Log:
Switch to the SMCCC function for branch predictor hardening. The previous
method may not have worked as the firmware checks for the ARCH_WORKAROUND_1
function ID.
Author: andrew
Date: Wed Jun 13 15:58:33 2018
New Revision: 335065
URL: https://svnweb.freebsd.org/changeset/base/335065
Log:
Add ThunderX2 to the list of CPUs we need to apply the branch predictor
hardening to.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm64/arm64/cpu_errata.c
Mod
Author: andrew
Date: Tue Jun 19 16:14:23 2018
New Revision: 335373
URL: https://svnweb.freebsd.org/changeset/base/335373
Log:
Move common GIC interrupt numbers to the common header. These are the same
across the GICv2 and GICv3 drivers so we only need a single copy of them.
Sponsored by:
Author: andrew
Date: Wed Jun 20 10:02:50 2018
New Revision: 335438
URL: https://svnweb.freebsd.org/changeset/base/335438
Log:
Fix the SMCCC signatures, they are all 32-bit calls. This fixes SMCCC
version detection.
Sponsored by: DARPA, AFRL
Modified:
head/sys/dev/psci/smccc.h
Modified
Author: andrew
Date: Wed Jun 20 10:57:29 2018
New Revision: 335439
URL: https://svnweb.freebsd.org/changeset/base/335439
Log:
Move the SMCCC SYSINIT later in the boot so the psci driver has attached.
Sponsored by: DARPA, AFRL
Modified:
head/sys/dev/psci/smccc.c
Modified: head/sys/dev/ps
Author: andrew
Date: Wed Jun 20 11:13:10 2018
New Revision: 335440
URL: https://svnweb.freebsd.org/changeset/base/335440
Log:
Move the SYSINIT to allow userspace access to the ARM generic timer later
in the boot. It doesn't need to be early, so move it to the SI_ORDER_ANY
stage of SI_SUB_SMP
Author: andrew
Date: Tue Nov 28 11:04:47 2017
New Revision: 326312
URL: https://svnweb.freebsd.org/changeset/base/326312
Log:
When we exit the kernel debugger having entered because of a breakpoint
instruction we need to jump over the instruction. Without this we will
execute the same instru
Author: andrew
Date: Tue Nov 28 16:26:56 2017
New Revision: 326318
URL: https://svnweb.freebsd.org/changeset/base/326318
Log:
Fix the direction we move the instruction to retuirn to after exiting the
kernel debugger. We should skip the breakpoint instruction, not execute the
instruction befo
Author: andrew
Date: Mon Dec 4 11:16:51 2017
New Revision: 326524
URL: https://svnweb.freebsd.org/changeset/base/326524
Log:
Print the correct value when freelist is out of range.
Security: :
Sponsored by: DARPA, AFRL
Modified:
head/sys/vm/vm_phys.c
Modified: head/sys/vm/vm_phys.
Author: andrew
Date: Mon Dec 4 11:25:34 2017
New Revision: 326525
URL: https://svnweb.freebsd.org/changeset/base/326525
Log:
Use the module pointer to find the address we need to map to in the early
arm64 boot sequence. This will be a virtual address in the kernel space
after the kernel and
> On 4 Dec 2017, at 11:16, Andrew Turner wrote:
>
> Author: andrew
> Date: Mon Dec 4 11:16:51 2017
> New Revision: 326524
> URL: https://svnweb.freebsd.org/changeset/base/326524
>
> Log:
> Print the correct value when freelist is out of range.
>
> Securit
Author: andrew
Date: Fri Dec 8 10:05:23 2017
New Revision: 326683
URL: https://svnweb.freebsd.org/changeset/base/326683
Log:
Set the io width when using an ACPI uart. Previously it would only ever be
set when finding the uart from the device tree.
Sponsored by: DARPA, AFRL
Modified:
h
> On 12 Dec 2017, at 20:15, Fedor Uporov wrote:
>
> Author: fsu
> Date: Tue Dec 12 20:15:57 2017
> New Revision: 326808
> URL: https://svnweb.freebsd.org/changeset/base/326808
>
> Log:
> Move buffer size checks outside of the vnode locks.
>
> Reviewed by:kib, cem, pfg (mentor)
> Approve
Author: andrew
Date: Thu Dec 14 13:19:43 2017
New Revision: 326850
URL: https://svnweb.freebsd.org/changeset/base/326850
Log:
Add the virtualisation special register definitions.
Submitted by: Mihai Carabas
Reviewed by: mmel
Differential Revision:https://reviews.freebsd.org/D1
> On 7 Jan 2018, at 22:38, Ed Schouten wrote:
>
> Author: ed
> Date: Sun Jan 7 22:38:45 2018
> New Revision: 327684
> URL: https://svnweb.freebsd.org/changeset/base/327684
>
> Log:
> Use mallocarray(9) in CloudABI kernel code where possible.
>
> Submitted by:pfg@
>
> Modified:
> h
Author: andrew
Date: Mon Jan 8 10:23:31 2018
New Revision: 327690
URL: https://svnweb.freebsd.org/changeset/base/327690
Log:
Move some of the common thread switching code into C. This will help with
future optimisations, e.g. using Address Space IDs (asid).
MFC after:1 week
Sponsor
Author: andrew
Date: Mon Jan 8 11:08:45 2018
New Revision: 327691
URL: https://svnweb.freebsd.org/changeset/base/327691
Log:
Only install the new pagetable pointer into ttbr0_el1 when it differs from
the existing value.
MFC after:1 week
Sponsored by: DARPA, AFRL
Modified:
head/s
)
+++ head/sys/arm64/arm64/cpu_errata.c Tue Jan 9 14:33:05 2018
(r327727)
@@ -0,0 +1,68 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright (c) 2018 Andrew Turner
+ * All rights reserved.
+ *
+ * This software was developed by SRI International and the University of
Author: andrew
Date: Tue Jan 9 15:57:09 2018
New Revision: 327728
URL: https://svnweb.freebsd.org/changeset/base/327728
Log:
Add a function to find the PSCI version the firmware implements from
outside the PSCI driver.
MFC after:1 week
Sponsored by: DARPA, AFRL
Modified:
head/sy
cpica/acpi_bus_if.m Thu Jan 11 17:09:12 2018
(r327835)
@@ -0,0 +1,67 @@
+#-
+# Copyright (c) 2016 The FreeBSD Foundation
+# All rights reserved.
+#
+# This software was developed by Andrew Turner under
+# sponsorship from the FreeBSD Foundation.
+#
+# Redistribution and use in source a
because file is newly added)
+++ head/sys/arm/arm/gic_acpi.c Thu Jan 11 17:23:24 2018(r327836)
@@ -0,0 +1,346 @@
+/*-
+ * Copyright (c) 2011,2016 The FreeBSD Foundation
+ * All rights reserved.
+ *
+ * This software was developed by Andrew Turner under
+ * sponsorship from the FreeBSD Found
Author: andrew
Date: Fri Jan 12 14:01:38 2018
New Revision: 327876
URL: https://svnweb.freebsd.org/changeset/base/327876
Log:
Workaround Spectre Variant 2 on arm64.
We need to handle two cases:
1. One process attacking another process.
2. A process attacking the kernel.
For the
> On 12 Jan 2018, at 14:10, Marcin Wojtas wrote:
>
> Hi Andrew,
>
>
>
> 2018-01-12 15:01 GMT+01:00 Andrew Turner <mailto:and...@freebsd.org>>:
>> Author: andrew
>> Date: Fri Jan 12 14:01:38 2018
>> New Revision: 327876
>> URL: https
> On 12 Jan 2018, at 14:37, Warner Losh wrote:
>
>
>
> On Fri, Jan 12, 2018 at 7:15 AM, Andrew Turner <mailto:and...@freebsd.org>> wrote:
>
>
>> On 12 Jan 2018, at 14:10, Marcin Wojtas > <mailto:m...@semihalf.com>> wrote:
>>
>>
Author: andrew
Date: Mon Jan 15 16:58:07 2018
New Revision: 328007
URL: https://svnweb.freebsd.org/changeset/base/328007
Log:
Fix booting on some arm64 systems after r327879 by fixing the call to
utf8_to_ucs2 in boot1.efi. We need to initialise the ucs2 output string
so it will allocate spac
Author: andrew
Date: Thu Jan 18 10:52:31 2018
New Revision: 328115
URL: https://svnweb.freebsd.org/changeset/base/328115
Log:
Add a pmap invalidate that doesn't call sched_pin.
When demoting DMAP pages curthread may be pointing to data within the
page we are demoting. Create a new invalid
> On 25 Jan 2018, at 17:43, Warner Losh wrote:
>
>
>
> On Thu, Jan 25, 2018 at 9:51 AM, Rodney W. Grimes
> mailto:free...@pdx.rh.cn85.dnsmgr.net>>
> wrote:
> [ Charset UTF-8 unsupported, converting... ]
> > Author: lwhsu (ports committer)
> > Date: Thu Jan 25 05:15:44 2018
> > New Revision:
> On 21 Mar 2018, at 15:37, Hans Petter Selasky wrote:
>
> On 03/21/18 16:24, Kyle Evans wrote:
>>> + {
>>> + .ep_end = 7,
>>> + .ep_fifosz_shift = 9,
>>> + .ep_fifosz_reg = MUSB2_VAL_FIFOSZ_512 | MUSB2_MASK_FIFODB,
>>> + },
>> I'm afraid I'
> On 21 Mar 2018, at 21:54, Hans Petter Selasky wrote:
>
> On 03/21/18 17:45, Andrew Turner wrote:
>>> On 21 Mar 2018, at 15:37, Hans Petter Selasky wrote:
>>>
>>> On 03/21/18 16:24, Kyle Evans wrote:
>>>>> + {
>>>>> +
Author: andrew
Date: Thu Mar 22 15:24:26 2018
New Revision: 331360
URL: https://svnweb.freebsd.org/changeset/base/331360
Log:
Increase the size of the endpoint buffers. They are double buffered so
need to be twice the size.
Sponsored by: DARPA, AFRL
Modified:
head/sys/dev/usb/controlle
Author: andrew
Date: Thu Mar 22 15:32:57 2018
New Revision: 331361
URL: https://svnweb.freebsd.org/changeset/base/331361
Log:
Enter into the EFI environment before dereferencing the runtime services
pointer. This may be within the EFI address space and not the FreeBSD
kernel address space.
Author: andrew
Date: Fri Mar 23 11:08:59 2018
New Revision: 331421
URL: https://svnweb.freebsd.org/changeset/base/331421
Log:
If sc->sc_ep_max is already set use it to find the number of RX and TX
endpoints. The Allwinner driver will need to set this as the EPINFO
register isn't useful there
Author: andrew
Date: Mon Apr 2 13:36:48 2018
New Revision: 331877
URL: https://svnweb.freebsd.org/changeset/base/331877
Log:
Add the missing header for malloc(9). It was pulled in through header
pollution that doesn't seem to exist in some configurations.
Modified:
head/sys/arm/arm/gic_acp
Author: andrew
Date: Tue Apr 3 11:01:50 2018
New Revision: 331924
URL: https://svnweb.freebsd.org/changeset/base/331924
Log:
Switch users of fdt_is_enabled to use ofw_bus_node_status_okay. These are
equivalent, so to prepare to remove the former move users to call the
latter.
Sponsored
Author: andrew
Date: Tue Apr 3 13:30:40 2018
New Revision: 331925
URL: https://svnweb.freebsd.org/changeset/base/331925
Log:
Remove fdt_is_enabled, fdt_reg_to_rl, and fdt_get_unit. These are not used
by anything in the tree.
Sponsored by: DARPA, AFRL
Modified:
head/sys/dev/fdt/fdt_com
Author: andrew
Date: Wed Apr 4 13:37:59 2018
New Revision: 332026
URL: https://svnweb.freebsd.org/changeset/base/332026
Log:
Remove fdt_pm_is_enabled as it's Marvell specific. Replace the only call to
it with a call to the helper function fdt_pm_is_enabled would call.
Sponsored by: DARPA
Author: andrew
Date: Sun Apr 8 12:20:06 2018
New Revision: 332274
URL: https://svnweb.freebsd.org/changeset/base/332274
Log:
Move fdt_is_type to be a Marvell specific function. It's not used by any
other SoCs.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm/mv/armv5_machdep.c
head/
Author: andrew
Date: Sun Apr 8 15:12:36 2018
New Revision: 332277
URL: https://svnweb.freebsd.org/changeset/base/332277
Log:
Replace calls to fdt_is_compatible with ofw_bus_node_is_compatible. These
are almost identical so there is no need to keep the former around.
Sponsored by: DARPA,
Author: andrew
Date: Sun Apr 8 15:21:12 2018
New Revision: 332278
URL: https://svnweb.freebsd.org/changeset/base/332278
Log:
Revert r332277, it contained an unintended extra change
Modified:
head/sys/dev/fdt/fdt_common.c
Modified: head/sys/dev/fdt/fdt_common.c
==
Author: andrew
Date: Sun Apr 8 22:07:06 2018
New Revision: 332309
URL: https://svnweb.freebsd.org/changeset/base/332309
Log:
Replace calls to fdt_is_compatible with ofw_bus_node_is_compatible. These
are almost identical so there is no need to keep the former around.
Sponsored by: DARPA,
> On 11 May 2018, at 19:37, Matt Macy wrote:
>
> Author: mmacy
> Date: Fri May 11 18:37:14 2018
> New Revision: 333500
> URL: https://svnweb.freebsd.org/changeset/base/333500
>
> Log:
> epoch(9): always set inited in epoch_init
I don’t see a man page for epoch in the tree indicating calling i
Author: andrew
Date: Sat May 13 13:01:15 2017
New Revision: 318252
URL: https://svnweb.freebsd.org/changeset/base/318252
Log:
Add the VM_MEMATTR_WRITE_THROUGH memory type to arm64 and use it to support
VM_MEMATTR_WRITE_COMBINING in the kernel. This fixes a bug where Xorg would
use write back
Author: andrew
Date: Sat May 13 13:03:20 2017
New Revision: 318253
URL: https://svnweb.freebsd.org/changeset/base/318253
Log:
Allocate a cacheline when reading or writing to write through memory. The
hardware will still write to memory, however following reads will be from
the cache.
MF
> On 9 Dec 2016, at 18:54, Mark Johnston wrote:
>
> Author: markj
> Date: Fri Dec 9 18:54:12 2016
> New Revision: 309749
> URL: https://svnweb.freebsd.org/changeset/base/309749
>
> Log:
> Add a COMPAT_FREEBSD11 kernel option.
>
> Use it wherever COMPAT_FREEBSD10 is currently specified.
Why
Author: andrew
Date: Fri Jun 2 14:01:17 2017
New Revision: 319494
URL: https://svnweb.freebsd.org/changeset/base/319494
Log:
Fix device lookup of for the stdout-path chosen property.
The stdout-path chosen property may include the serial connection details,
e.g. the baud rate. When passi
Author: andrew
Date: Sat Jun 3 10:38:41 2017
New Revision: 319514
URL: https://svnweb.freebsd.org/changeset/base/319514
Log:
Mark the non-INTRNG armv6 configs with NO_UNIVERSE to prepare for INTRNG
being always enabled on armv6.
Modified:
head/sys/arm/conf/AML8726
head/sys/arm/conf/ARMAD
Author: andrew
Date: Sat Jun 3 10:40:45 2017
New Revision: 319515
URL: https://svnweb.freebsd.org/changeset/base/319515
Log:
Make it an error to build armv6 without INTRNG enabled. Most kernel configs
have been updated for this, with the exception of the two marked as
NO_UNIVERSE in r319514
Author: andrew
Date: Sat Jun 3 14:45:46 2017
New Revision: 319522
URL: https://svnweb.freebsd.org/changeset/base/319522
Log:
Remove RT1310 from universe as it fails to build.
Modified:
head/sys/arm/conf/RT1310
Modified: head/sys/arm/conf/RT1310
==
Author: andrew
Date: Sat Jun 3 15:39:23 2017
New Revision: 319535
URL: https://svnweb.freebsd.org/changeset/base/319535
Log:
Enable MULTIDELAY in the i.MX5 kernel configs. This will help adding them
to GENERIC.
Modified:
head/sys/arm/conf/EFIKA_MX
head/sys/arm/conf/IMX53
head/sys/arm/f
Author: andrew
Date: Sat Jun 3 15:40:34 2017
New Revision: 319536
URL: https://svnweb.freebsd.org/changeset/base/319536
Log:
Add MULTIDELAY to the Beaglebone kenrel config to help moving it to GENERIC.
Modified:
head/sys/arm/conf/BEAGLEBONE
Modified: head/sys/arm/conf/BEAGLEBONE
===
Author: andrew
Date: Sat Jun 3 15:48:03 2017
New Revision: 319537
URL: https://svnweb.freebsd.org/changeset/base/319537
Log:
Add MULTIDELAY support to the sp804 driver.
Modified:
head/sys/arm/versatile/sp804.c
Modified: head/sys/arm/versatile/sp804.c
Author: andrew
Date: Sat Jun 3 15:56:54 2017
New Revision: 319538
URL: https://svnweb.freebsd.org/changeset/base/319538
Log:
Add MULTIDELAY support to the mpcore timer driver. This is needed when
using this with GENERIC.
While here remove the weak symbol, it doesn't seem to be needed any
Author: andrew
Date: Sat Jun 3 16:24:17 2017
New Revision: 319541
URL: https://svnweb.freebsd.org/changeset/base/319541
Log:
Stop making cpu_initclocks weak when using event timers. A weak symbol
could be overridden in the SoC specific code, but this would break GENERIC
as it is likely to b
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/arm/xilinx/zy7_mp.hSat Jun 3 19:11:32 2017
(r319552)
@@ -0,0 +1,34 @@
+/*-
+ * Copyright (c) 2017 Andrew Turner
+ * All rights reserved.
+ *
+ * Redistribution and use in sour
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/arm/samsung/exynos/exynos5_mp.hSat Jun 3 20:02:12 2017
(r319553)
@@ -0,0 +1,34 @@
+/*-
+ * Copyright (c) 2017 Andrew Turner
+ * All rights reserved.
+ *
+ * Redistribution and use
Author: andrew
Date: Sat Jun 3 20:14:46 2017
New Revision: 319554
URL: https://svnweb.freebsd.org/changeset/base/319554
Log:
Port the Vybrid code to PLATFORM to help move it into GENERIC.
Deleted:
head/sys/arm/freescale/vybrid/vf_common.c
Modified:
head/sys/arm/conf/VYBRID
head/sys/arm/f
Author: andrew
Date: Sun Jun 4 09:11:14 2017
New Revision: 319569
URL: https://svnweb.freebsd.org/changeset/base/319569
Log:
Start to rename files with common or generic names to be SoC specific. The
build system doesn't handle two files with the same name.
Added:
head/sys/arm/allwinner/aw
Author: andrew
Date: Fri Jun 9 15:37:17 2017
New Revision: 319752
URL: https://svnweb.freebsd.org/changeset/base/319752
Log:
Store the read-only thread pointer when scheduling a new thread. This is
not currently set, however we may wish to set it later.
Modified:
head/sys/arm64/arm64/genas
Author: andrew
Date: Fri Jun 9 15:47:14 2017
New Revision: 319753
URL: https://svnweb.freebsd.org/changeset/base/319753
Log:
Allow the arm64 machine/vfp.h to be included without first including
machine/pcb.h. It he latter is only needed for struct pcb.
Modified:
head/sys/arm64/include/vfp.
> On 13 Jun 2017, at 19:53, Zbigniew Bodek wrote:
>
> Author: zbb
> Date: Tue Jun 13 18:53:56 2017
> New Revision: 319913
> URL: https://svnweb.freebsd.org/changeset/base/319913
>
> Log:
> Fix INVARIANTS debug code in HWPMC
>
> When HWPMC stops sampling, ps_pmc may be freed before samples
>
1 - 100 of 1798 matches
Mail list logo