#
da76d349 |
| 03-May-2024 |
Bojan Novković <bnovkov@FreeBSD.org> |
uma: Deduplicate uma_small_alloc
This commit refactors the UMA small alloc code and removes most UMA machine-dependent code. The existing machine-dependent uma_small_alloc code is almost identical a
uma: Deduplicate uma_small_alloc
This commit refactors the UMA small alloc code and removes most UMA machine-dependent code. The existing machine-dependent uma_small_alloc code is almost identical across all architectures, except for powerpc where using the direct map addresses involved extra steps in some cases.
The MI/MD split was replaced by a default uma_small_alloc implementation that can be overridden by architecture-specific code by defining the UMA_MD_SMALL_ALLOC symbol. Furthermore, UMA_USE_DMAP was introduced to replace most UMA_MD_SMALL_ALLOC uses.
Reviewed by: markj, kib Approved by: markj (mentor) Differential Revision: https://reviews.freebsd.org/D45084
show more ...
|
#
b91f2954 |
| 30-Apr-2024 |
Andrew Turner <andrew@FreeBSD.org> |
arm64: Check for virtio for scmi_virtio.c
scmi_virtio.c depends on virtio. Check for this before including it in the kernel.
Reported by: Isaac Cilia Attard (via cperciva) Sponsored by: Arm Ltd
|
#
52f3d650 |
| 10-Apr-2024 |
Mark Johnston <markj@FreeBSD.org> |
arm64/vmm: Define a dummy _start symbol in vmm_hyp_blob.elf
To silence a linker warning about _start being missing. This blob contains code executed at EL2 and is only meant to be entered via excep
arm64/vmm: Define a dummy _start symbol in vmm_hyp_blob.elf
To silence a linker warning about _start being missing. This blob contains code executed at EL2 and is only meant to be entered via exception handlers.
Reviewed by: bz, emaste Fixes: 47e073941f4e ("Import the kernel parts of bhyve/arm64") Differential Revision: https://reviews.freebsd.org/D44735
show more ...
|
#
a87dd741 |
| 23-Oct-2023 |
Cristian Marussi <cristian.marussi@arm.com> |
scmi: Add an SCMI VirtIO transport driver
Add an SCMI transport driver based on the virtio-scmi backend.
Reviewed by: andrew, bryanv Sponsored by: Arm Ltd Differential Revision: https://reviews.fre
scmi: Add an SCMI VirtIO transport driver
Add an SCMI transport driver based on the virtio-scmi backend.
Reviewed by: andrew, bryanv Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D43048
show more ...
|
#
5ea251c4 |
| 04-Oct-2023 |
Andrew Turner <andrew@FreeBSD.org> |
scmi: Add an SCMI SMC transport driver
Using the SCMI transport interface add a new SMC transport to the SCMI stack.
Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D43040
|
#
d46f01fd |
| 04-Oct-2023 |
Andrew Turner <andrew@FreeBSD.org> |
scmi: Split out the SCMI mailbox to a new file
Add a new SCMI interface file to allow for multiple kind of transports and move the mailbox transport to its own file, using the new interface.
Sponso
scmi: Split out the SCMI mailbox to a new file
Add a new SCMI interface file to allow for multiple kind of transports and move the mailbox transport to its own file, using the new interface.
Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D43039
show more ...
|
#
61e482f2 |
| 07-Apr-2024 |
Dimitry Andric <dim@FreeBSD.org> |
Fix arm64 build after llvm 18.1.3 upgrade (take 2)
Instead of compiling the whole sys/arm64/arm64/vfp.c file without -mgeneral-regs-only, which might have unwanted side effects, add ".arch_extension
Fix arm64 build after llvm 18.1.3 upgrade (take 2)
Instead of compiling the whole sys/arm64/arm64/vfp.c file without -mgeneral-regs-only, which might have unwanted side effects, add ".arch_extension fp" / ".arch_extension nofp" pairs to the inline assembly.
PR: 276104 Suggested by: andrew MFC after: 1 month
show more ...
|
#
f4d93b67 |
| 07-Apr-2024 |
Dimitry Andric <dim@FreeBSD.org> |
Fix arm64 build after llvm 18.1.3 upgrade
Apparently clang 18 has become more strict about using floating point registers in inline assembly when -mgeneral-regs-only is used. This causes sys/arm64/a
Fix arm64 build after llvm 18.1.3 upgrade
Apparently clang 18 has become more strict about using floating point registers in inline assembly when -mgeneral-regs-only is used. This causes sys/arm64/arm64/vfp.c to fail to compile, with "error: instruction requires: fp-armv8", and "error: expected readable system register".
To fix it, similar to other files compiled for arm64, disable -mgeneral-regs-only for this particular file.
PR: 276104 MFC after: 1 month
show more ...
|
#
5ca8e326 |
| 22-Mar-2024 |
Pierre-Luc Drouin <pldrouin@pldrouin.net> |
vf_i2c: split up and add ACPI attachments in addition to FDT
Move the code from the arm specific to the iicbus controller directory. Split up between general logic and bus attachment code. Add suppo
vf_i2c: split up and add ACPI attachments in addition to FDT
Move the code from the arm specific to the iicbus controller directory. Split up between general logic and bus attachment code. Add support for ACPI attachment in addition to FDT.
MFC after: 7 days Tested by: bz (LS1088a FDT), Pierre-Luc Drouin (Honeycomb, ACPI) Based on: D24917 by Val Packett (initial early version) Differential Revision: https://reviews.freebsd.org/D44020
show more ...
|
#
26173a91 |
| 22-Mar-2024 |
Mark Johnston <markj@FreeBSD.org> |
arm64/vmm: Exclude more sanitizer compiler flags from certain files
Reported by: rscheff Fixes: 47e073941f4e ("Import the kernel parts of bhyve/arm64")
|
#
f84e9df6 |
| 27-Feb-2024 |
Mitchell Horne <mhorne@FreeBSD.org> |
conf: deduplicate dwmmc config logic
The core of this driver is supported by multiple architectures. Move the config entries to the MI conf/files.
This hardware is found on several available/emergi
conf: deduplicate dwmmc config logic
The core of this driver is supported by multiple architectures. Move the config entries to the MI conf/files.
This hardware is found on several available/emerging RISC-V SoCs, so we will soon need it on this architecture.
Reviewed by: manu MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44104
show more ...
|
#
a01dc140 |
| 27-Feb-2024 |
Mitchell Horne <mhorne@FreeBSD.org> |
conf: deduplicate dwc config logic
Move the core dwc(4) file entries to the MI conf/files. Platform-specific versions e.g. rk_dwc are retained in their current position. On arm64 this necessitates a
conf: deduplicate dwc config logic
Move the core dwc(4) file entries to the MI conf/files. Platform-specific versions e.g. rk_dwc are retained in their current position. On arm64 this necessitates adding an additional 'device dwc' option.
This hardware is found on several available/emerging RISC-V SoCs, so we will soon need it on this architecture.
Reviewed by: manu MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D44103
show more ...
|
#
47e07394 |
| 09-Jan-2024 |
Andrew Turner <andrew@FreeBSD.org> |
Import the kernel parts of bhyve/arm64
To support virtual machines on arm64 add the vmm code. This is based on earlier work by Mihai Carabas and Alexandru Elisei at University Politehnica of Buchare
Import the kernel parts of bhyve/arm64
To support virtual machines on arm64 add the vmm code. This is based on earlier work by Mihai Carabas and Alexandru Elisei at University Politehnica of Bucharest, with further work by myself and Mark Johnston.
All AArch64 CPUs should work, however only the GICv3 interrupt controller is supported. There is initial support to allow the GICv2 to be supported in the future. Only pure Armv8.0 virtualisation is supported, the Virtualization Host Extensions are not currently used.
With a separate userspace patch and U-Boot port FreeBSD guests are able to boot to multiuser mode, and the hypervisor can be tested with the kvm unit tests. Linux partially boots, but hangs before entering userspace. Other operating systems are untested.
Sponsored by: Arm Ltd Sponsored by: Innovate UK Sponsored by: The FreeBSD Foundation Sponsored by: University Politehnica of Bucharest Differential Revision: https://reviews.freebsd.org/D37428
show more ...
|
#
76832996 |
| 13-Feb-2024 |
Eric Joyner <erj@FreeBSD.org> |
ice_ddp: Update package to 1.3.36.0
This is intended to be used with the upcoming ice 1.39.13-k driver update, but is still backwards compatible with previous versions of the driver.
Signed-off-by:
ice_ddp: Update package to 1.3.36.0
This is intended to be used with the upcoming ice 1.39.13-k driver update, but is still backwards compatible with previous versions of the driver.
Signed-off-by: Eric Joyner <erj@FreeBSD.org>
MFC after: 3 days Sponsored by: Intel Corporation
show more ...
|
#
e04a75a4 |
| 08-Feb-2024 |
Mark Johnston <markj@FreeBSD.org> |
arm64: Fix the unwind.c build when sanitizers are enabled
The presence of -fno-sanitize-memory-param-retval without an accompanying -fsanitize=kernel-memory triggers a compiler error.
MFC after: 2
arm64: Fix the unwind.c build when sanitizers are enabled
The presence of -fno-sanitize-memory-param-retval without an accompanying -fsanitize=kernel-memory triggers a compiler error.
MFC after: 2 weeks Sponsored by: Klara, Inc. Sponsored by: Juniper Networks, Inc.
show more ...
|
#
fe75646a |
| 25-Dec-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
usb: dwc3: Move driver under a subdirectory
dwc3 is big enough to have its own subdirectory. While here only make it depend on kernel option dwc3 and rk_dwc3 without any SOC options.
Sponsored by:
usb: dwc3: Move driver under a subdirectory
dwc3 is big enough to have its own subdirectory. While here only make it depend on kernel option dwc3 and rk_dwc3 without any SOC options.
Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D43190
show more ...
|
#
77f22241 |
| 25-Dec-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
clk: Move rockchip driver into the common directory
No need to keep it under sys/arm64/rockchip/clk It's easier to find which controller we support by looking under one directory.
Sponsored by: B
clk: Move rockchip driver into the common directory
No need to keep it under sys/arm64/rockchip/clk It's easier to find which controller we support by looking under one directory.
Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D43189
show more ...
|
#
e37e8677 |
| 25-Dec-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
clk: Move allwinner driver into the common directory
No need to keep it under sys/arm/allwinner/clkng It's easier to find which controller we support by looking under one directory. It will also be
clk: Move allwinner driver into the common directory
No need to keep it under sys/arm/allwinner/clkng It's easier to find which controller we support by looking under one directory. It will also be shared with Allwinner RiscV SoC.
Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D43188
show more ...
|
#
02e91208 |
| 25-Dec-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
pwm: Move allwinner driver into the common directory
No need to keep it under sys/arm/allwinner It's easier to find which controller we support by looking under one directory.
Sponsored by: Beckh
pwm: Move allwinner driver into the common directory
No need to keep it under sys/arm/allwinner It's easier to find which controller we support by looking under one directory.
Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D43187
show more ...
|
#
2e3507c2 |
| 25-Dec-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
pwm: Move rockchip driver into the common directory
No need to keep it under sys/arm64/rockchip It's easier to find which controller we support by looking under one directory.
Sponsored by: Beckh
pwm: Move rockchip driver into the common directory
No need to keep it under sys/arm64/rockchip It's easier to find which controller we support by looking under one directory.
Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D43186
show more ...
|
#
ec2b0ccd |
| 25-Dec-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
spibus: Move allwinner driver into the common directory
No need to keep it under sys/arm/allwinner It's easier to find which controller we support by looking under one directory.
Sponsored by: Be
spibus: Move allwinner driver into the common directory
No need to keep it under sys/arm/allwinner It's easier to find which controller we support by looking under one directory.
Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D43185
show more ...
|
#
994c943a |
| 25-Dec-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
spibus: Move rockchip driver into the common directory
No need to keep it under sys/arm64/rockchip It's easier to find which controller we support by looking under one directory.
Sponsored by: Be
spibus: Move rockchip driver into the common directory
No need to keep it under sys/arm64/rockchip It's easier to find which controller we support by looking under one directory.
Sponsored by: Beckhoff Automation GmbH & Co. KG
show more ...
|
#
3c2b2a28 |
| 25-Dec-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
iicbus: Move rockchip driver into the common directory
No need to keep it under sys/arm64/rockchip It's easier to find which controller we support by looking under one directory. While here remove t
iicbus: Move rockchip driver into the common directory
No need to keep it under sys/arm64/rockchip It's easier to find which controller we support by looking under one directory. While here remove the condition on SOC option, device rk_i2c is enough as all Rockchip SoC that we support have this controller.
Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D43184
show more ...
|
#
d2ce3d89 |
| 06-Dec-2023 |
Mark Johnston <markj@FreeBSD.org> |
conf: Expand the include path for more openssl files
Fixes: e655cc70dfcd ("ossl: Move arm_arch.h to a common subdirectory") Reported by: Jenkins
|
#
e655cc70 |
| 04-Dec-2023 |
Mark Johnston <markj@FreeBSD.org> |
ossl: Move arm_arch.h to a common subdirectory
OpenSSL itself keeps only a single copy of this header. Do the same in sys/crypto/openssl to avoid the extra maintenance burden. This requires adjust
ossl: Move arm_arch.h to a common subdirectory
OpenSSL itself keeps only a single copy of this header. Do the same in sys/crypto/openssl to avoid the extra maintenance burden. This requires adjusting the include paths for generated asm files.
No functional change intended.
Reported by: jrtc27 Reviewed by: jhb MFC after: 3 months Differential Revision: https://reviews.freebsd.org/D42866
show more ...
|