Page MenuHomeFreeBSD

arm64: enable bloating kernel with ext errors strings
ClosedPublic

Authored by emaste on Sep 2 2025, 4:45 PM.
Tags
None
Referenced Files
F145747698: D52342.id.diff
Mon, Feb 23, 9:57 PM
F145747693: D52342.id161390.diff
Mon, Feb 23, 9:57 PM
Unknown Object (File)
Wed, Feb 18, 10:40 AM
Unknown Object (File)
Tue, Feb 17, 3:17 PM
Unknown Object (File)
Sun, Feb 15, 3:35 PM
Unknown Object (File)
Sat, Feb 7, 6:40 PM
Unknown Object (File)
Sat, Feb 7, 4:35 PM
Unknown Object (File)
Sat, Jan 31, 1:27 AM

Details

Summary
Chase commit 8e8d3068dcbe ("amd64 GENERIC: enable bloating kernel with
ext errors strings") from amd64.  In general we would like to keep
GENERIC kernel options in sync between the Tier-1 architectures.

Ref: rG:8e8d3068dcbe

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste requested review of this revision.Sep 2 2025, 4:45 PM
emaste added subscribers: asomers, kib, siva.

As an aside, I compared non-device-specific options in sys/amd64/conf/GENERIC and sys/arm64/conf/std.arm64. Aside from this BLOAT_KERNEL_WITH_EXTERR the following differences exist:

arm64 only

  • CC_CUBIC
  • VFP
  • LINUX_BOOT_ABI
  • PERTHREAD_SSP
  • Commented-out sanitizer support e.g. KCOV

amd64 only

  • COMPAT_FREEBSD4 through COMPAT_FREEBSD10
  • NETGDB
  • IOMMU
  • COMPAT_LINUXKPI

As an aside, I compared non-device-specific options in sys/amd64/conf/GENERIC and sys/arm64/conf/std.arm64. Aside from this BLOAT_KERNEL_WITH_EXTERR the following differences exist:

arm64 only

  • CC_CUBIC
  • VFP
  • LINUX_BOOT_ABI
  • PERTHREAD_SSP

These 3 are arm64 specific

  • Commented-out sanitizer support e.g. KCOV

amd64 only

  • COMPAT_FREEBSD4 through COMPAT_FREEBSD10

No need for these as neither arm64 nor armv7 were supported until 11.0 and 12.0 respectively.

  • NETGDB
  • IOMMU

IOMMU needs work before we can enable it by default on arm64.

  • COMPAT_LINUXKPI
This revision is now accepted and ready to land.Sep 2 2025, 7:23 PM