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)
Tue, Jul 28, 9:46 AM
Unknown Object (File)
Mon, Jul 27, 1:07 AM
Unknown Object (File)
Sun, Jul 26, 6:31 PM
Unknown Object (File)
Sat, Jul 25, 4:41 AM
Unknown Object (File)
Sat, Jul 25, 4:40 AM
Unknown Object (File)
Jul 5 2026, 1:45 AM
Unknown Object (File)
Jul 3 2026, 5:35 AM
Unknown Object (File)
Jul 2 2026, 8:17 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