#
13d00a43 |
| 20-Jun-2024 |
Emmanuel Vadot <manu@FreeBSD.org> |
conf: Add usbhid and hidbus to GENERIC* kernel configs
Include the new unified HID stack by default in generic. This will allow us to migrate to the multi-stack hkbd and hms instead of relying on th
conf: Add usbhid and hidbus to GENERIC* kernel configs
Include the new unified HID stack by default in generic. This will allow us to migrate to the multi-stack hkbd and hms instead of relying on the older ukbd and ums which only work with USB. To test those drivers just add hw.usb.usbhid.enable=1 in loader.conf
Differential Revision: https://reviews.freebsd.org/D45658 Reviewed by: emaste, imp, wulf (all older version) Sponsored by: Beckhoff Automation GmbH & Co. KG
show more ...
|
#
3465f14d |
| 21-Jun-2024 |
Shawn Anastasio <sanatasio@raptorengineering.com> |
ossl: Add support for powerpc64/powerpc64le
Summary: Add support for building ossl(4) on powerpc64* by implementing ossl_cpuid and other support functions for powerpc. The required assembly files fo
ossl: Add support for powerpc64/powerpc64le
Summary: Add support for building ossl(4) on powerpc64* by implementing ossl_cpuid and other support functions for powerpc. The required assembly files for ppc were already present in-tree.
Test Plan: The changes were tested using the in-tree tools/tools/crypto/cryptocheck.c tool on both powerpc64 and powerpc64le on a POWER9 system.
Reviewed by: #powerpc, jhibbits, jhb Differential Revision: https://reviews.freebsd.org/D41837
show more ...
|
Revision tags: release/14.1.0 |
|
#
c733dc7a |
| 10-May-2024 |
HP van Braam <hp@tmm.cx> |
ahc(4): Default to memory mapped IO
When this driver was written it made sense to make this default to off, but these days almost all BIOSses will do the right thing. Furthermore non-mmio communicat
ahc(4): Default to memory mapped IO
When this driver was written it made sense to make this default to off, but these days almost all BIOSses will do the right thing. Furthermore non-mmio communication only works on Intel architectures.
So lets default to allowing mmio, but not change the semantics of the AHC_ALLOW_MEMIO flag to not break existing installs. Also document the already existing hint.ahc.<unit>.allow_memio.
Signed-off-by: HP van Braam <hp@tmm.cx> Reviewed by: imp (small style tweak) Pull Request: https://github.com/freebsd/freebsd-src/pull/1219
show more ...
|
#
8a8daeaf |
| 23-Apr-2024 |
Lexi Winter <lexi@le-Fay.ORG> |
sys/*/conf: do not use "../../conf/" when including std.*
Since config(8) searches sys/conf by default, there's no need to specify the full relative path here; replace it by the filename alone.
Rev
sys/*/conf: do not use "../../conf/" when including std.*
Since config(8) searches sys/conf by default, there's no need to specify the full relative path here; replace it by the filename alone.
Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1124
show more ...
|
#
4f8f9d70 |
| 23-Apr-2024 |
Lexi Winter <lexi@le-Fay.ORG> |
sys: add conf/std.debug, generic debugging options
The new sys/conf/std.debug contains the list of debugging options enabled by default in -CURRENT, so they don't need to be listed individually in e
sys: add conf/std.debug, generic debugging options
The new sys/conf/std.debug contains the list of debugging options enabled by default in -CURRENT, so they don't need to be listed individually in every kernel config.
The enabled options are the set of all debug options which were enabled for the GENERIC kernel on any platform. This means some architectures now have debugging options enabled in GENERIC which weren't previously enabled:
- amd64: [1] - arm64: [2] - arm: [2]. [3] - i386: [1], [2] - powerpc: [1], [2], [3] - riscv: [2]
[1] ALT_BREAK_TO_DEBUGGER is now enabled. [2] BUF_TRACKING, FULL_BUF_TRACKING, and QUEUE_MACRO_DEBUG_TRASH are now enabled. [3] DEADLKRES is now enabled.
While here, move the documentation for the (commented out) K*SAN options for amd64 from GENERIC to NOTES.
Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1124
show more ...
|
Revision tags: release/13.3.0 |
|
#
89c1e54a |
| 18-Feb-2024 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
ath(4): always enable 11n
Enabling 11n for ath(4) so far was handled by a kernel option, which was only enabled for certain kernel configurations. In order to allow loading ath(4) as a module with 1
ath(4): always enable 11n
Enabling 11n for ath(4) so far was handled by a kernel option, which was only enabled for certain kernel configurations. In order to allow loading ath(4) as a module with 11n support on all platforms, remove the kernel option and unconditionally enable 11n in ath(4).
Reported by: pkubaj Discussed with: adrian in D43549. Reviewed by: adrian, imp Differential Revision: https://reviews.freebsd.org/D43964
show more ...
|
Revision tags: release/14.0.0 |
|
#
84d12f88 |
| 06-Oct-2023 |
Kristof Provost <kp@FreeBSD.org> |
Add a COMPAT_FREEBSD14 kernel option
Use it wherever COMPAT_FREEBSD13 is currently specified.
Reviewed by: brooks, zlei Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision:
Add a COMPAT_FREEBSD14 kernel option
Use it wherever COMPAT_FREEBSD13 is currently specified.
Reviewed by: brooks, zlei Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D42100
show more ...
|
#
031beb4e |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
#
37c8ee88 |
| 07-Aug-2023 |
Marius Strobl <marius@FreeBSD.org> |
ath(4): Remove MIPS AHB frontend and join PCI one w/ main support again
Following the removal of general MIPS support, there's no longer a need to have the AHB bus-frontend in place, which according
ath(4): Remove MIPS AHB frontend and join PCI one w/ main support again
Following the removal of general MIPS support, there's no longer a need to have the AHB bus-frontend in place, which according to Linux sources also isn't used with any non-MIPS SoCs. For simplicity, PCI bus support is only made conditional on the main one again, i. e. device ath_pci is removed, and built into the main module, i. e. if_ath_pci.ko obsoleted, respectively. Effectively, this reverts the following commits and associated changes: dba9c8597747c6c9bf3d2ec68f7eb90552878dc7 e849bb3ecbb1963344a22ae77fc96f89fbebf40c
Approved by: adrian Relnotes: yes Differential Revision: https://reviews.freebsd.org/D41354
show more ...
|
Revision tags: release/13.2.0 |
|
#
e552cac3 |
| 25-Feb-2023 |
Piotr Kubaj <pkubaj@FreeBSD.org> |
powerpc64*: port mlx5, OFED, KTLS and krping
Summary: This review ports mlx5 driver, kernel's OFED stack (userland is already enabled), KTLS and krping to powerpc64 and powerpc64le.
krping requires
powerpc64*: port mlx5, OFED, KTLS and krping
Summary: This review ports mlx5 driver, kernel's OFED stack (userland is already enabled), KTLS and krping to powerpc64 and powerpc64le.
krping requires a small change since it uses assembly for amd64 / i386.
NOTE: On powerpc64le RDMA works fine in the userspace with libmlx5, but on powerpc64 it does not. The problem is that contrib/ofed/libmlx5/doorbell.h checks for SIZEOF_LONG but this macro exists on neither powerpc64* nor amd64. Thus, the file silently goes to the fallback function written for 32-bit architectures. It works fine on little-endian architectures, but causes a hard fail on big-endian. It's possible it may also cause some runtime issues on little-endian. Thus, on powerpc64 I verified that RDMA works with krping.
Reviewers: #powerpc, hselasky
Subscribers: bdrewery, imp, emaste, jhibbits
Differential Revision: https://reviews.freebsd.org/D38786
show more ...
|
#
f5a1c871 |
| 26-Feb-2023 |
Piotr Kubaj <pkubaj@FreeBSD.org> |
Revert "powerpc64*: port mlx5, OFED, KTLS and krping"
Wrong push, another commit was supposed to be pushed.
This reverts commit 83d6d8877ef7dad4f4e8f409a01c9f28139cd026.
|
#
83d6d887 |
| 25-Feb-2023 |
Piotr Kubaj <pkubaj@FreeBSD.org> |
powerpc64*: port mlx5, OFED, KTLS and krping
Summary: This review ports mlx5 driver, kernel's OFED stack (userland is already enabled), KTLS and krping to powerpc64 and powerpc64le.
krping requires
powerpc64*: port mlx5, OFED, KTLS and krping
Summary: This review ports mlx5 driver, kernel's OFED stack (userland is already enabled), KTLS and krping to powerpc64 and powerpc64le.
krping requires a small change since it uses assembly for amd64 / i386.
NOTE: On powerpc64le RDMA works fine in the userspace with libmlx5, but on powerpc64 it does not. The problem is that contrib/ofed/libmlx5/doorbell.h checks for SIZEOF_LONG but this macro exists on neither powerpc64* nor amd64. Thus, the file silently goes to the fallback function written for 32-bit architectures. It works fine on little-endian architectures, but causes a hard fail on big-endian. It's possible it may also cause some runtime issues on little-endian. Thus, on powerpc64 I verified that RDMA works with krping.
Reviewers: #powerpc, hselasky
Subscribers: bdrewery, imp, emaste, jhibbits
Differential Revision: https://reviews.freebsd.org/D38786
show more ...
|
#
8995b96f |
| 23-Feb-2023 |
Mike Karels <karels@FreeBSD.org> |
powerpc kernel config: clean up whitespace
Most options in kernel config files use "options<space><tab>OPTION". This allows the option to be commented out without shifting columns. A few options had
powerpc kernel config: clean up whitespace
Most options in kernel config files use "options<space><tab>OPTION". This allows the option to be commented out without shifting columns. A few options had two tabs, and some had spaces. Make them consistent.
show more ...
|
Revision tags: release/12.4.0, release/13.1.0 |
|
#
25768526 |
| 28-Apr-2022 |
Piotr Kubaj <pkubaj@FreeBSD.org> |
powerpc: enable wlan and ath modules in GENERIC64*
Reviewed by: jhibbits (src) Differential Revision: https://reviews.freebsd.org/D35089
|
#
c3b6408e |
| 07-Mar-2022 |
Alfredo Dal'Ava Junior <alfredo@FreeBSD.org> |
powerpc: FreeBSD kernel compatibility cleanup
Adjust FreeBSD kernel backward compatibility list
Reviewed by: jhibbits, pkubaj Sponsored by: Instituto de Pesquisas Eldorado (eldorado.org.br) Differe
powerpc: FreeBSD kernel compatibility cleanup
Adjust FreeBSD kernel backward compatibility list
Reviewed by: jhibbits, pkubaj Sponsored by: Instituto de Pesquisas Eldorado (eldorado.org.br) Differential Revision: https://reviews.freebsd.org/D33421
show more ...
|
#
a0f3abb0 |
| 20-Jan-2022 |
Piotr Kubaj <pkubaj@FreeBSD.org> |
powerpc: enable ice in GENERIC64LE
Approved by: erj Differential Revision: https://reviews.freebsd.org/D33974
|
#
48736535 |
| 14-Jan-2022 |
Justin Hibbits <jhibbits@FreeBSD.org> |
powerpc64le: enable ISA_206_ATOMICS option
powerpc64le requires at minimum POWER8 hardware, so ISA 2.06 atomic instructions are always available.
This isn't so for powerpc64 (BE), so isn't enabled
powerpc64le: enable ISA_206_ATOMICS option
powerpc64le requires at minimum POWER8 hardware, so ISA 2.06 atomic instructions are always available.
This isn't so for powerpc64 (BE), so isn't enabled by default there.
show more ...
|
#
8d1ab5ad |
| 15-Dec-2021 |
Alfredo Dal'Ava Junior <alfredo@FreeBSD.org> |
powerpc: kernel config style
Sponsored by: Instituto de Pesquisas Eldorado (eldorado.org.br) Reviewed by: imp
|
Revision tags: release/12.3.0 |
|
#
4e85b648 |
| 15-Nov-2021 |
Kristof Provost <kp@FreeBSD.org> |
Add a COMPAT_FREEBSD13 kernel option
Use it wherever COMPAT_FREEBSD11 is currently specified.
Reviewed by: jhb (previous version) Sponsored by: Rubicon Communications, LLC ("Netgate") Differential
Add a COMPAT_FREEBSD13 kernel option
Use it wherever COMPAT_FREEBSD11 is currently specified.
Reviewed by: jhb (previous version) Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D33005
show more ...
|
#
c1a14887 |
| 20-May-2021 |
Ceri Davies <ceri@FreeBSD.org> |
sys/*/conf/*, docs: fix links to handbook
While here, fix all links to older en_US.ISO8859-1 documentation in the src/ tree.
PR: 255026 Reported by: Michael Büker <freebsd@michael-bu
sys/*/conf/*, docs: fix links to handbook
While here, fix all links to older en_US.ISO8859-1 documentation in the src/ tree.
PR: 255026 Reported by: Michael Büker <freebsd@michael-bueker.de> Reviewed by: dbaio Approved by: blackend (mentor), re (gjb) MFC after: 10 days Differential Revision: https://reviews.freebsd.org/D30265
show more ...
|
Revision tags: release/13.0.0 |
|
#
231633a2 |
| 02-Mar-2021 |
Alfredo Dal'Ava Junior <alfredo@FreeBSD.org> |
[PowerPC64] add mpr to GENERIC64 and GENERIC64LE
Submitted by: Andre Fernando da Silva <andre.silva@eldorado.org.br> Reviewed by: luporl, alfredo, Sreekanth Reddy <sreekanth.reddy@broadcom.com> (by
[PowerPC64] add mpr to GENERIC64 and GENERIC64LE
Submitted by: Andre Fernando da Silva <andre.silva@eldorado.org.br> Reviewed by: luporl, alfredo, Sreekanth Reddy <sreekanth.reddy@broadcom.com> (by email) Sponsored by: Eldorado Research Institute (eldorado.org.br) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D25785
show more ...
|
#
8b804ee6 |
| 06-Feb-2021 |
Piotr Kubaj <pkubaj@FreeBSD.org> |
powerpc64le: readd COMPAT_FREEBSD11 and COMPAT_FREEBSD12
lang/rust needs COMPAT_FREEBSD11 to build, even though powerpc64le itself is supported only since 13.0. I also corrected a comment, because i
powerpc64le: readd COMPAT_FREEBSD11 and COMPAT_FREEBSD12
lang/rust needs COMPAT_FREEBSD11 to build, even though powerpc64le itself is supported only since 13.0. I also corrected a comment, because if we ever have lib32 for powerpc64le, it will be for powerpcle.
Reviewed by: bdragon (on IRC)
show more ...
|
#
eaffd270 |
| 04-Feb-2021 |
Alfredo Dal'Ava Junior <alfredo@FreeBSD.org> |
[POWERPC64LE] add mrsas to GENERIC64LE
Reviewed by: bdragon Sponsored by: Eldorado Research Institute (eldorado.org.br) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D28475
|
#
c0a9a0cb |
| 22-Jan-2021 |
Piotr Kubaj <pkubaj@FreeBSD.org> |
powerpc64le: don't enable COMPAT_* options in GENERIC64LE
Support for powerpc64le appeared in 13, so there's no point to enable COMPAT_* for older releases.
Also disable COMPAT_FREEBSD32, since the
powerpc64le: don't enable COMPAT_* options in GENERIC64LE
Support for powerpc64le appeared in 13, so there's no point to enable COMPAT_* for older releases.
Also disable COMPAT_FREEBSD32, since there's no powerpcle. Since that may change in the future, leave the option commented out.
Approved by: bdragon, jhibbits (on IRC)
show more ...
|
Revision tags: release/12.2.0 |
|
#
19758786 |
| 05-Oct-2020 |
Vladimir Kondratyev <wulf@FreeBSD.org> |
hid: Import functions and constants required by new subsystem
This does an import of quirk stubs, debugging macros from USB code and numerous usage constants used by dependent drivers.
Besides, thi
hid: Import functions and constants required by new subsystem
This does an import of quirk stubs, debugging macros from USB code and numerous usage constants used by dependent drivers.
Besides, this change renames some functions to get a better matching with userland library and NetBSD/OpenBSD HID code. Namely:
- Old hid_report_size() renamed to hid_report_size_max() - New hid_report_size() calculates size of given report rather than maximum size of all reports. - hid_get_data_unsigned() renamed to hid_get_udata() - hid_put_data_unsigned() renamed to hid_put_udata()
Compat shim functions are provided in usbhid.h to make possible compile of legacy code unmodified after this change.
Reviewed by: manu, hselasky Differential revision: https://reviews.freebsd.org/D27887
show more ...
|