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)
Dec 22 2023, 9:43 PM
Unknown Object (File)
Sep 18 2023, 6:33 PM
Unknown Object (File)
Sep 18 2023, 6:32 PM
Unknown Object (File)
Sep 18 2023, 6:25 PM
Unknown Object (File)
Sep 3 2023, 9:22 AM
Unknown Object (File)
Jun 9 2023, 2:39 AM
Unknown Object (File)
Mar 21 2023, 12:04 PM
Unknown Object (File)
Mar 3 2023, 11:48 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