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
F132474598: D52342.id161381.diff
Fri, Oct 17, 5:50 AM
Unknown Object (File)
Sun, Oct 12, 4:55 PM
Unknown Object (File)
Fri, Oct 10, 9:21 PM
Unknown Object (File)
Fri, Oct 10, 9:21 PM
Unknown Object (File)
Fri, Oct 10, 9:21 PM
Unknown Object (File)
Fri, Oct 10, 3:39 PM
Unknown Object (File)
Thu, Oct 9, 4:47 AM
Unknown Object (File)
Fri, Oct 3, 4:29 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, guest-svmhdvn.

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