331893 |
02-Apr-2018 |
gonzo |
MFC r306263, r306268
r306263 by andrew: Move cpu_reset to be a platform method to allow multiple implementations.
Reviewed by: mmel Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D8010
r306268 by andrew: Also implement platform_cpu_reset on bcm2836 |
314506 |
01-Mar-2017 |
ian |
MFC r306262, r306267, r310021: (needed to avoid conflicts on later merges)
Remove bus_dma_get_range and bus_dma_get_range_nb on armv6. We only need this on a few earlier arm SoCs.
Restrict where we need to define fdt_fixup_table to just PowerPC and Marvell.
Add the missing void to function signatures in much of the arm code. |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
299073 |
04-May-2016 |
bz |
While gem5 is not qemu, we treat it as "simulators" or "virtual environments". Add the needed hardcoded gem5 attachments for the UART there, re-using all the other bits.
In collaboration with: andrew Sponsored by: DARPA/AFRL Reviewed by: andrew MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D6204
|
298854 |
30-Apr-2016 |
andrew |
Add a MULTIDELAY option to allow the ARM kernel to have multiple DELAY implementations. Early in the boot the kernel will use an approximate, however after the timer has been probed it will switch to a more accurate implementation.
Reviewed by: manu Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D5762
|
298627 |
26-Apr-2016 |
br |
Move arm's devmap to some generic place, so it can be used by other architectures.
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D6091 Sponsored by: DARPA, AFRL Sponsored by: HEIF5
|
298068 |
15-Apr-2016 |
andrew |
Rename ARM_INTRNG and MIPS_INTRNG to INTRNG. This will help with machine independent code that needs to know about INTRNG such as PCI drivers.
Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
|
296158 |
28-Feb-2016 |
andrew |
Add SMP support to the ARM PLATFORM code. This will allow us to have different methods to start the secondary cores in a kernel built for multiple SoCs, e.g. with the Allwinner A20 and A31.
Sponsored by: ABT systems Ltd Differential Revision: https://reviews.freebsd.org/D5466
|
296155 |
28-Feb-2016 |
andrew |
Build ofw_cpu.c on all ARM configs using FDT. As we mve towards using the Linux dts files these are more likely to have cpu nodes we can attach to.
Sponsored by: ABT Systems Ltd
|
296100 |
26-Feb-2016 |
andrew |
Almost all copies of platform_mp_init_secondary just called intr_pic_init_secondary. Replace them with a direct call. On BCM2836 and ARMADA XP we need to add this function, but it can be empty.
Reviewed by: ian, imp Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D5460
|
296098 |
26-Feb-2016 |
andrew |
Remove platform_mp_probe as it's almost identical on most ARM SoCs, and slightly wrong on the others. We should just check if mp_ncpus is set to more than one CPU as we may wish to run on a single core even when SMP is available.
Reviewed by: ian Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D5458
|
296070 |
25-Feb-2016 |
andrew |
Fix a mistake that crept in when moving between git and svn, pic_ipi_send should not be called from platform_mp_init_secondary.
Sponsored by: ABT Systems Ltd
|
296066 |
25-Feb-2016 |
andrew |
Remove platform_ipi_send, it's an unneeded as all implementations are identical.
Sponsored by: ABT Systems Ltd
|
295885 |
22-Feb-2016 |
skra |
Move ARM_L2_PIPT option to std.armv6 for all armv6 platforms. Only L2 PIPT cache is supported for __ARM_ARCH >= 6.
In fact, this is just a pure proclamation as this option is used only in armv4 specific files now.
|
295473 |
10-Feb-2016 |
andrew |
Fix a logic inversion when checking for ARM_INTRNG
Pointy hat to: andrew
|
295472 |
10-Feb-2016 |
andrew |
Only use fdt_pic_table when not using ARM_INTRNG
|
292426 |
18-Dec-2015 |
adrian |
[intrng] Migrate the intrng code from sys/arm/arm to sys/kern/subr_intr.c.
The ci20 port (by kan@) is going to reuse almost all of the intrng code since the SoC in question looks suspiciously like someone took an ARM SoC design and replaced the ARM core with a MIPS core.
* migrate out the code; * rename ARM_ -> INTR_; * rename arm_ -> intr_; * move the interrupt flush routine from intr.c / intrng.c into arm/machdep_intr.c - removing the code duplication and removing the ARM specific bits from here.
Thanks to the Star Wars: The Force Awakens premiere line for allowing me a couple hours of quiet time to finish the universe builds.
Tested:
* make universe
TODO:
* The structure definitions in subr_intr.c still includes machine/intr.h which requires one duplicates all of the intrng definitions in the platform code (which kan has done, and I think we don't have to.)
Instead I should break out the generic things (function declarations, common intr structures, etc) into a separate header.
* Kan has requested I make the PIC based IPI stuff optional.
|
291135 |
21-Nov-2015 |
andrew |
Create device options for the two common ARM timers.
Sponsored by: ABT Systems Ltd
|
291133 |
21-Nov-2015 |
andrew |
Move more bus_space_* files to be built by files.arm. This leaves the definition in a file.* file under sys/arm/arm in the few cases we need it for non-fdt platforms.
Sponsored by: ABT Systems Ltd
|
291110 |
20-Nov-2015 |
imp |
Makeoption ARM_LITLE_ENDIAN does nothing. Remove it since it isn't consistently used. It was a carry over from NetBSD that FreeBSD doesn't use.
|
290621 |
09-Nov-2015 |
tijl |
Fix typo (s/ncpus/mp_ncpus/)
Reported by: bz
|
290547 |
08-Nov-2015 |
tijl |
Since r289279 bufinit() uses mp_ncpus, but some architectures set this variable during mp_start() which is too late. Move this to mp_setmaxid() where other architectures set it and move x86 assertions to MI code.
Reviewed by: kib (x86 part)
|
289547 |
18-Oct-2015 |
ian |
Include "opt_platform.h" early so that the FDT option is visible as needed.
|
289522 |
18-Oct-2015 |
ian |
Rename arm_init_secondary_ic() -> arm_pic_init_secondary(). The latter is the name the function will have when the new ARM_INTRNG code is integrated, and doing this rename first will make it easier to toggle the new interrupt handling code on/off with a config option for debugging.
|
283367 |
24-May-2015 |
andrew |
Enable SMP on the qemu virt platform. We use the device tree to find which cpus to enable, and PSCI to start them.
|
283362 |
24-May-2015 |
andrew |
Include the ofw cpu driver. This allows us to get a list of cpus enabled by qemu, however we may not be running on them.
|
282717 |
10-May-2015 |
andrew |
Use the new gic option. While here remove extra whitespace from the ned of a few lines.
|
281443 |
11-Apr-2015 |
andrew |
Change the virtual address used to not be 0xc0000000, the arm loader doesn't handle this address.
|
281439 |
11-Apr-2015 |
andrew |
Add support for the QEMU virt SoC. This is a SoC built depending on the command line arguments passed in. It will then generate a dtb on the fly, as such no dts will be added as it may be incorrect.
Relnotes: yes
|