History log of /freebsd-11-stable/sys/arm/qemu/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
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.


/freebsd-11-stable/sys/arm/allwinner/a10_common.c
/freebsd-11-stable/sys/arm/allwinner/aw_machdep.c
/freebsd-11-stable/sys/arm/allwinner/aw_wdog.c
/freebsd-11-stable/sys/arm/altera/socfpga/socfpga_common.c
/freebsd-11-stable/sys/arm/altera/socfpga/socfpga_machdep.c
/freebsd-11-stable/sys/arm/amlogic/aml8726/aml8726_identsoc.c
/freebsd-11-stable/sys/arm/amlogic/aml8726/aml8726_machdep.c
/freebsd-11-stable/sys/arm/amlogic/aml8726/aml8726_wdt.c
/freebsd-11-stable/sys/arm/annapurna/alpine/alpine_machdep.c
/freebsd-11-stable/sys/arm/annapurna/alpine/common.c
/freebsd-11-stable/sys/arm/arm/busdma_machdep-v6.c
/freebsd-11-stable/sys/arm/arm/cpufunc.c
/freebsd-11-stable/sys/arm/arm/db_trace.c
/freebsd-11-stable/sys/arm/arm/physmem.c
/freebsd-11-stable/sys/arm/arm/platform.c
/freebsd-11-stable/sys/arm/arm/undefined.c
/freebsd-11-stable/sys/arm/at91/at91_common.c
/freebsd-11-stable/sys/arm/broadcom/bcm2835/bcm2835_common.c
/freebsd-11-stable/sys/arm/broadcom/bcm2835/bcm2835_machdep.c
/freebsd-11-stable/sys/arm/broadcom/bcm2835/bcm2835_wdog.c
/freebsd-11-stable/sys/arm/freescale/imx/imx6_anatop.c
/freebsd-11-stable/sys/arm/freescale/imx/imx6_machdep.c
/freebsd-11-stable/sys/arm/freescale/imx/imx6_src.c
/freebsd-11-stable/sys/arm/freescale/imx/imx_common.c
/freebsd-11-stable/sys/arm/freescale/imx/imx_machdep.c
/freebsd-11-stable/sys/arm/freescale/vybrid/vf_common.c
/freebsd-11-stable/sys/arm/freescale/vybrid/vf_machdep.c
/freebsd-11-stable/sys/arm/include/bus_dma.h
/freebsd-11-stable/sys/arm/lpc/lpc_gpio.c
/freebsd-11-stable/sys/arm/lpc/lpc_intc.c
/freebsd-11-stable/sys/arm/mv/mv_machdep.c
/freebsd-11-stable/sys/arm/nvidia/tegra124/tegra124_machdep.c
/freebsd-11-stable/sys/arm/nvidia/tegra_efuse.c
virt_common.c
virt_machdep.c
/freebsd-11-stable/sys/arm/rockchip/rk30xx_common.c
/freebsd-11-stable/sys/arm/rockchip/rk30xx_machdep.c
/freebsd-11-stable/sys/arm/rockchip/rk30xx_wdog.c
/freebsd-11-stable/sys/arm/samsung/exynos/exynos5_common.c
/freebsd-11-stable/sys/arm/samsung/exynos/exynos5_machdep.c
/freebsd-11-stable/sys/arm/ti/am335x/am335x_dmtpps.c
/freebsd-11-stable/sys/arm/ti/ti_common.c
/freebsd-11-stable/sys/arm/ti/ti_machdep.c
/freebsd-11-stable/sys/arm/versatile/versatile_common.c
/freebsd-11-stable/sys/arm/versatile/versatile_machdep.c
/freebsd-11-stable/sys/arm/xilinx/zy7_machdep.c
/freebsd-11-stable/sys/arm/xilinx/zy7_slcr.c
/freebsd-11-stable/sys/arm/xscale/pxa/pxa_gpio.c
/freebsd-11-stable/sys/arm/xscale/pxa/pxa_icu.c
/freebsd-11-stable/sys/arm/xscale/pxa/pxa_space.c
/freebsd-11-stable/sys/arm/xscale/pxa/pxa_timer.c
/freebsd-11-stable/sys/dev/ofw/ofw_fdt.c
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


/freebsd-11-stable/MAINTAINERS
/freebsd-11-stable/cddl
/freebsd-11-stable/cddl/contrib/opensolaris
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/print
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zfs
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs
/freebsd-11-stable/contrib/amd
/freebsd-11-stable/contrib/apr
/freebsd-11-stable/contrib/apr-util
/freebsd-11-stable/contrib/atf
/freebsd-11-stable/contrib/binutils
/freebsd-11-stable/contrib/bmake
/freebsd-11-stable/contrib/byacc
/freebsd-11-stable/contrib/bzip2
/freebsd-11-stable/contrib/com_err
/freebsd-11-stable/contrib/compiler-rt
/freebsd-11-stable/contrib/dialog
/freebsd-11-stable/contrib/dma
/freebsd-11-stable/contrib/dtc
/freebsd-11-stable/contrib/ee
/freebsd-11-stable/contrib/elftoolchain
/freebsd-11-stable/contrib/elftoolchain/ar
/freebsd-11-stable/contrib/elftoolchain/brandelf
/freebsd-11-stable/contrib/elftoolchain/elfdump
/freebsd-11-stable/contrib/expat
/freebsd-11-stable/contrib/file
/freebsd-11-stable/contrib/gcc
/freebsd-11-stable/contrib/gcclibs/libgomp
/freebsd-11-stable/contrib/gdb
/freebsd-11-stable/contrib/gdtoa
/freebsd-11-stable/contrib/groff
/freebsd-11-stable/contrib/ipfilter
/freebsd-11-stable/contrib/ldns
/freebsd-11-stable/contrib/ldns-host
/freebsd-11-stable/contrib/less
/freebsd-11-stable/contrib/libarchive
/freebsd-11-stable/contrib/libarchive/cpio
/freebsd-11-stable/contrib/libarchive/libarchive
/freebsd-11-stable/contrib/libarchive/libarchive_fe
/freebsd-11-stable/contrib/libarchive/tar
/freebsd-11-stable/contrib/libc++
/freebsd-11-stable/contrib/libc-vis
/freebsd-11-stable/contrib/libcxxrt
/freebsd-11-stable/contrib/libexecinfo
/freebsd-11-stable/contrib/libpcap
/freebsd-11-stable/contrib/libstdc++
/freebsd-11-stable/contrib/libucl
/freebsd-11-stable/contrib/libxo
/freebsd-11-stable/contrib/llvm
/freebsd-11-stable/contrib/llvm/projects/libunwind
/freebsd-11-stable/contrib/llvm/tools/clang
/freebsd-11-stable/contrib/llvm/tools/lldb
/freebsd-11-stable/contrib/llvm/tools/llvm-dwarfdump
/freebsd-11-stable/contrib/llvm/tools/llvm-lto
/freebsd-11-stable/contrib/mdocml
/freebsd-11-stable/contrib/mtree
/freebsd-11-stable/contrib/ncurses
/freebsd-11-stable/contrib/netcat
/freebsd-11-stable/contrib/ntp
/freebsd-11-stable/contrib/nvi
/freebsd-11-stable/contrib/one-true-awk
/freebsd-11-stable/contrib/openbsm
/freebsd-11-stable/contrib/openpam
/freebsd-11-stable/contrib/openresolv
/freebsd-11-stable/contrib/pf
/freebsd-11-stable/contrib/sendmail
/freebsd-11-stable/contrib/serf
/freebsd-11-stable/contrib/sqlite3
/freebsd-11-stable/contrib/subversion
/freebsd-11-stable/contrib/tcpdump
/freebsd-11-stable/contrib/tcsh
/freebsd-11-stable/contrib/tnftp
/freebsd-11-stable/contrib/top
/freebsd-11-stable/contrib/top/install-sh
/freebsd-11-stable/contrib/tzcode/stdtime
/freebsd-11-stable/contrib/tzcode/zic
/freebsd-11-stable/contrib/tzdata
/freebsd-11-stable/contrib/unbound
/freebsd-11-stable/contrib/vis
/freebsd-11-stable/contrib/wpa
/freebsd-11-stable/contrib/xz
/freebsd-11-stable/crypto/heimdal
/freebsd-11-stable/crypto/openssh
/freebsd-11-stable/crypto/openssl
/freebsd-11-stable/gnu/lib
/freebsd-11-stable/gnu/usr.bin/binutils
/freebsd-11-stable/gnu/usr.bin/cc/cc_tools
/freebsd-11-stable/gnu/usr.bin/gdb
/freebsd-11-stable/lib/libc/locale/ascii.c
/freebsd-11-stable/sys/cddl/contrib/opensolaris
/freebsd-11-stable/sys/contrib/dev/acpica
/freebsd-11-stable/sys/contrib/ipfilter
/freebsd-11-stable/sys/contrib/libfdt
/freebsd-11-stable/sys/contrib/octeon-sdk
/freebsd-11-stable/sys/contrib/x86emu
/freebsd-11-stable/sys/contrib/xz-embedded
/freebsd-11-stable/usr.sbin/bhyve/atkbdc.h
/freebsd-11-stable/usr.sbin/bhyve/bhyvegc.c
/freebsd-11-stable/usr.sbin/bhyve/bhyvegc.h
/freebsd-11-stable/usr.sbin/bhyve/console.c
/freebsd-11-stable/usr.sbin/bhyve/console.h
/freebsd-11-stable/usr.sbin/bhyve/pci_fbuf.c
/freebsd-11-stable/usr.sbin/bhyve/pci_xhci.c
/freebsd-11-stable/usr.sbin/bhyve/pci_xhci.h
/freebsd-11-stable/usr.sbin/bhyve/ps2kbd.c
/freebsd-11-stable/usr.sbin/bhyve/ps2kbd.h
/freebsd-11-stable/usr.sbin/bhyve/ps2mouse.c
/freebsd-11-stable/usr.sbin/bhyve/ps2mouse.h
/freebsd-11-stable/usr.sbin/bhyve/rfb.c
/freebsd-11-stable/usr.sbin/bhyve/rfb.h
/freebsd-11-stable/usr.sbin/bhyve/sockstream.c
/freebsd-11-stable/usr.sbin/bhyve/sockstream.h
/freebsd-11-stable/usr.sbin/bhyve/usb_emul.c
/freebsd-11-stable/usr.sbin/bhyve/usb_emul.h
/freebsd-11-stable/usr.sbin/bhyve/usb_mouse.c
/freebsd-11-stable/usr.sbin/bhyve/vga.c
/freebsd-11-stable/usr.sbin/bhyve/vga.h
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