Query regarding ERRATUM_1418040

Will Deacon will at kernel.org
Mon Jul 6 11:16:52 EDT 2020


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?

Will



More information about the linux-arm-kernel mailing list