| #
e9a697bf
|
| 06-Feb-2026 |
John Baldwin <jhb@FreeBSD.org> |
STACKALIGN: Reimplement in terms of __align_down
This changes STACKALIGN to be type-preserving when operating on pointers.
Reviewed by: brooks, kib Effort: CHERI upstreaming Sponsored by: AFRL, DA
STACKALIGN: Reimplement in terms of __align_down
This changes STACKALIGN to be type-preserving when operating on pointers.
Reviewed by: brooks, kib Effort: CHERI upstreaming Sponsored by: AFRL, DARPA Differential Revision: https://reviews.freebsd.org/D54920
show more ...
|
| #
80203a27
|
| 10-Dec-2025 |
Brooks Davis <brooks@FreeBSD.org> |
Add sys/_align.h replacing machine/_align.h
Define _ALIGNBYTES using sizeof(void *) (no functional change on any existing architecture) which will allow it to work with CHERI were we must align thin
Add sys/_align.h replacing machine/_align.h
Define _ALIGNBYTES using sizeof(void *) (no functional change on any existing architecture) which will allow it to work with CHERI were we must align things up to capability alignment.
In _ALIGN, replace integer manipulation which does not preserve pointer provenance with a type and provenance preserving builtin. This requires modest changes in code which assumes _ALIGN returns an integer, but those are relatively rare.
Reviewed by: kib, markj Effort: CHERI upstreaming Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D53947
show more ...
|
| #
42d704bf
|
| 29-Nov-2025 |
Minsoo Choo <minsoochoo0122@proton.me> |
sys: remove comment for armv5/6
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1903
|
| #
a5d9ecfa
|
| 02-May-2025 |
Andrew Turner <andrew@FreeBSD.org> |
subr_devmap: Reduce the use of the static devmap
We only create the static devmap on arm. Stop building this code on other architectures.
Reviewed by: mhorne, imp Sponsored by: Arm Ltd Differential
subr_devmap: Reduce the use of the static devmap
We only create the static devmap on arm. Stop building this code on other architectures.
Reviewed by: mhorne, imp Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D50016
show more ...
|
| #
5884fab4
|
| 20-Jan-2025 |
Mitchell Horne <mhorne@FreeBSD.org> |
pci: cleanup __PCI_REROUTE_INTERRUPTS
This flag was used as a transition for differing pcib implementations. Today it is defined for all supported architectures, and can be removed.
Reviewed by: im
pci: cleanup __PCI_REROUTE_INTERRUPTS
This flag was used as a transition for differing pcib implementations. Today it is defined for all supported architectures, and can be removed.
Reviewed by: imp, jhb Differential Revision: https://reviews.freebsd.org/D48485
show more ...
|
| #
660331da
|
| 14-Jan-2025 |
Brooks Davis <brooks@FreeBSD.org> |
Centralize and simpify implemention of some VM macros
These macros have substantially identical implementations on each platform. Use roundup2/rounddown2 for round_page/trunc_page.
This version st
Centralize and simpify implemention of some VM macros
These macros have substantially identical implementations on each platform. Use roundup2/rounddown2 for round_page/trunc_page.
This version standardizes on not using explicit casts and instead preserving the original type. A couple of tweaks were required to make this work.
Reviewed by: brooks, kib, markj Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D48450
show more ...
|
| #
d29771a7
|
| 12-Jul-2024 |
Andrew Turner <andrew@FreeBSD.org> |
arm: Assume __ARM_ARCH == 7
The only supported 32-bit Arm architecture is Armv7. Remove old checks for earlier architecture revisions.
Sponsored by: Arm Ltd Differential Revision: https://reviews.f
arm: Assume __ARM_ARCH == 7
The only supported 32-bit Arm architecture is Armv7. Remove old checks for earlier architecture revisions.
Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45957
show more ...
|
| #
29363fb4
|
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl s
sys: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script.
Sponsored by: Netflix
show more ...
|
| #
2ff63af9
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .h pattern
Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
|
| #
5647f85a
|
| 01-Sep-2021 |
Kevin Bowling <kbowling@FreeBSD.org> |
Revert "arm: Bump KSTACK_PAGES default to match i386/amd64"
This reverts commit b684d812fcb04b2997fd755405a92c36b9f6e30e.
It causes an issue on a pfsense routing workload where memory fragmentation
Revert "arm: Bump KSTACK_PAGES default to match i386/amd64"
This reverts commit b684d812fcb04b2997fd755405a92c36b9f6e30e.
It causes an issue on a pfsense routing workload where memory fragmentation prevents the necessary consecutive pages from being readily available.
Reported by: pfsense (mjg, scottl) Approved by: ian MFC after: 1 day Differential Revision: https://reviews.freebsd.org/D31244
show more ...
|
| #
b684d812
|
| 21-Jul-2021 |
Kevin Bowling <kbowling@FreeBSD.org> |
arm: Bump KSTACK_PAGES default to match i386/amd64
See 3f6867ef6386 for additional context.
It is also needed for OpenZFS performance and stability.
Reviewed by: ian (arm), imp Differential Revisi
arm: Bump KSTACK_PAGES default to match i386/amd64
See 3f6867ef6386 for additional context.
It is also needed for OpenZFS performance and stability.
Reviewed by: ian (arm), imp Differential Revision: https://reviews.freebsd.org/D31244
show more ...
|
| #
ad54157b
|
| 15-Jun-2020 |
John Baldwin <jhb@FreeBSD.org> |
Simplify MACHINE_ARCH to be a single string.
Big endian and armv4 mean that we are now down to only two supported variants. A future change will use MACHINE_ARCH in assembly which does not support
Simplify MACHINE_ARCH to be a single string.
Big endian and armv4 mean that we are now down to only two supported variants. A future change will use MACHINE_ARCH in assembly which does not support C-style string concatentation and thus needs MACHINE_ARCH defined as a single string.
Reviewed by: imp Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D25211
show more ...
|
| #
bc02c18c
|
| 07-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r357408 through r357661.
|
| #
c3d326fd
|
| 05-Feb-2020 |
Mark Johnston <markj@FreeBSD.org> |
Define MAXCPU consistently between the kernel and KLDs.
This reverts r177661. The change is no longer very useful since out-of-tree KLDs will be built to target SMP kernels anyway. Moveover it bre
Define MAXCPU consistently between the kernel and KLDs.
This reverts r177661. The change is no longer very useful since out-of-tree KLDs will be built to target SMP kernels anyway. Moveover it breaks the KBI in !SMP builds since cpuset_t's layout depends on the value of MAXCPU, and several kernel interfaces, notably smp_rendezvous_cpus(), take a cpuset_t as a parameter.
PR: 243711 Reviewed by: jhb, kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D23512
show more ...
|
| #
80203a27
|
| 10-Dec-2025 |
Brooks Davis <brooks@FreeBSD.org> |
Add sys/_align.h replacing machine/_align.h
Define _ALIGNBYTES using sizeof(void *) (no functional change on any existing architecture) which will allow it to work with CHERI were we must align thin
Add sys/_align.h replacing machine/_align.h
Define _ALIGNBYTES using sizeof(void *) (no functional change on any existing architecture) which will allow it to work with CHERI were we must align things up to capability alignment.
In _ALIGN, replace integer manipulation which does not preserve pointer provenance with a type and provenance preserving builtin. This requires modest changes in code which assumes _ALIGN returns an integer, but those are relatively rare.
Reviewed by: kib, markj Effort: CHERI upstreaming Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D53947
show more ...
|
| #
42d704bf
|
| 29-Nov-2025 |
Minsoo Choo <minsoochoo0122@proton.me> |
sys: remove comment for armv5/6
Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1903
|
| #
a5d9ecfa
|
| 02-May-2025 |
Andrew Turner <andrew@FreeBSD.org> |
subr_devmap: Reduce the use of the static devmap
We only create the static devmap on arm. Stop building this code on other architectures.
Reviewed by: mhorne, imp Sponsored by: Arm Ltd Differential
subr_devmap: Reduce the use of the static devmap
We only create the static devmap on arm. Stop building this code on other architectures.
Reviewed by: mhorne, imp Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D50016
show more ...
|
| #
5884fab4
|
| 20-Jan-2025 |
Mitchell Horne <mhorne@FreeBSD.org> |
pci: cleanup __PCI_REROUTE_INTERRUPTS
This flag was used as a transition for differing pcib implementations. Today it is defined for all supported architectures, and can be removed.
Reviewed by: im
pci: cleanup __PCI_REROUTE_INTERRUPTS
This flag was used as a transition for differing pcib implementations. Today it is defined for all supported architectures, and can be removed.
Reviewed by: imp, jhb Differential Revision: https://reviews.freebsd.org/D48485
show more ...
|
| #
660331da
|
| 14-Jan-2025 |
Brooks Davis <brooks@FreeBSD.org> |
Centralize and simpify implemention of some VM macros
These macros have substantially identical implementations on each platform. Use roundup2/rounddown2 for round_page/trunc_page.
This version st
Centralize and simpify implemention of some VM macros
These macros have substantially identical implementations on each platform. Use roundup2/rounddown2 for round_page/trunc_page.
This version standardizes on not using explicit casts and instead preserving the original type. A couple of tweaks were required to make this work.
Reviewed by: brooks, kib, markj Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D48450
show more ...
|
| #
d29771a7
|
| 12-Jul-2024 |
Andrew Turner <andrew@FreeBSD.org> |
arm: Assume __ARM_ARCH == 7
The only supported 32-bit Arm architecture is Armv7. Remove old checks for earlier architecture revisions.
Sponsored by: Arm Ltd Differential Revision: https://reviews.f
arm: Assume __ARM_ARCH == 7
The only supported 32-bit Arm architecture is Armv7. Remove old checks for earlier architecture revisions.
Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45957
show more ...
|
| #
29363fb4
|
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl s
sys: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script.
Sponsored by: Netflix
show more ...
|
| #
2ff63af9
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .h pattern
Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
|
| #
5647f85a
|
| 01-Sep-2021 |
Kevin Bowling <kbowling@FreeBSD.org> |
Revert "arm: Bump KSTACK_PAGES default to match i386/amd64"
This reverts commit b684d812fcb04b2997fd755405a92c36b9f6e30e.
It causes an issue on a pfsense routing workload where memory fragmentation
Revert "arm: Bump KSTACK_PAGES default to match i386/amd64"
This reverts commit b684d812fcb04b2997fd755405a92c36b9f6e30e.
It causes an issue on a pfsense routing workload where memory fragmentation prevents the necessary consecutive pages from being readily available.
Reported by: pfsense (mjg, scottl) Approved by: ian MFC after: 1 day Differential Revision: https://reviews.freebsd.org/D31244
show more ...
|
| #
b684d812
|
| 21-Jul-2021 |
Kevin Bowling <kbowling@FreeBSD.org> |
arm: Bump KSTACK_PAGES default to match i386/amd64
See 3f6867ef6386 for additional context.
It is also needed for OpenZFS performance and stability.
Reviewed by: ian (arm), imp Differential Revisi
arm: Bump KSTACK_PAGES default to match i386/amd64
See 3f6867ef6386 for additional context.
It is also needed for OpenZFS performance and stability.
Reviewed by: ian (arm), imp Differential Revision: https://reviews.freebsd.org/D31244
show more ...
|
| #
ad54157b
|
| 15-Jun-2020 |
John Baldwin <jhb@FreeBSD.org> |
Simplify MACHINE_ARCH to be a single string.
Big endian and armv4 mean that we are now down to only two supported variants. A future change will use MACHINE_ARCH in assembly which does not support
Simplify MACHINE_ARCH to be a single string.
Big endian and armv4 mean that we are now down to only two supported variants. A future change will use MACHINE_ARCH in assembly which does not support C-style string concatentation and thus needs MACHINE_ARCH defined as a single string.
Reviewed by: imp Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D25211
show more ...
|