Query regarding ERRATUM_1418040

Marc Zyngier maz at kernel.org
Mon Jul 6 12:05:52 EDT 2020


On 2020-07-06 16:16, Will Deacon wrote:
> On Mon, Jul 06, 2020 at 01:27:16PM +0100, Marc Zyngier wrote:
>> On 2020-07-06 13:09, Will Deacon wrote:
>> > On Thu, Jul 02, 2020 at 09:19:04AM +0100, Marc Zyngier wrote:
>> > > +	mrs	x1, cntkctl_el1
>> > > +	bfi	x1, xzr, #1, #1	// ARCH_TIMER_USR_VCT_ACCESS_EN
>> >
>> > Can you use BIC here?
>> 
>> You wish. Turns out that BIC is labelled as a v8.2 instruction, even
>> if is just yet another alias for BFM, and gas sends me packing
>> if I dare using it.
>> 
>> So the above BFI is a poor man's version of BIC. Which objdump happily
>> disassembles as... BIC! Yes, this is all braindead.
> 
> Wha.. really? What about all our other uses of the BIC alias? Are you 
> sure
> you're not mixing it up with BFC?

Of course I am. BIC is absolutely fine. I blame the lack of coffee,
or something else.

Thanks,

         M.
-- 
Jazz is not dead. It just smells funny...



More information about the linux-arm-kernel mailing list