HomeFreeBSD

mips/octeon SDK: Fix __cvmx_cmd_queue_lock asm for clang 11

Description

mips/octeon SDK: Fix __cvmx_cmd_queue_lock asm for clang 11

The 'ticket' and 'my_ticket' arguments are both read and written within
the same asm block. Clang is stricter with the constraints than gcc4
was, so accepts the '=r' at face value and will happily overwrite
registers that "should" be preserved.

Mark these operands to not clobber other operands, so they get their own
registers.

This fixes a panic on bringing up the octe interfaces.

Details

Provenance
jhibbitsAuthored on Apr 18 2021, 4:59 PM
Parents
rG8b1a5062e054: jail.conf(5): emphasize where to find jail parameters
Branches
Unknown
Tags
Unknown