Page MenuHomeFreeBSD

make arm64 identcpu use an sbuf
ClosedPublic

Authored by jmg on Aug 12 2018, 2:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 16, 7:26 AM
Unknown Object (File)
Sep 20 2025, 8:28 PM
Unknown Object (File)
Sep 20 2025, 4:20 PM
Unknown Object (File)
Sep 19 2025, 11:14 PM
Unknown Object (File)
Sep 19 2025, 5:44 AM
Unknown Object (File)
Sep 18 2025, 10:48 PM
Unknown Object (File)
Sep 18 2025, 1:04 PM
Unknown Object (File)
Aug 14 2025, 9:58 PM
Subscribers

Details

Summary

On my A64-LTS, I get interleaved output w/ other console messages, using an sbuf
will ensure that lines are printed together, and not intermixed...

Previously:

CPU  0: ARM Cortex-A53 r0p4mmc0: Trying to mount root from ufs:/dev/ufs/rootfs [rw]...
 affinity:ACMD42 failed, RESULT: 4
  0mmc0: 
 Instruction Set Attributes 0 = <Card at relative address 43690 failed to set bus width
AES+PMULL,SHA1,SHA2,CRC32>

After:

CPU  0: ARM Cortex-A53 r0p4 affinity:  0
Trying to mount root from ufs:/dev/ufs/rootfs [rw]...
mmc0:  Instruction Set Attributes 0 = <AES+PMULL,SHA1,SHA2,CRC32>
ACMD42 failed, RESULT: 4

Notice how affinity: 0, and the attributes are now all on the same line, where previously
they had other console messages in the middle of them.

the mmc0: broken lines are due to device_printf not using sbuf, and I will create another rev w/ that change.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable