Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0fb411ab authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: GICv3: Add isb() before mb() per GICv3 requirement"

parents f1e59701 f1db3f7f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -123,6 +123,7 @@ static u64 __maybe_unused gic_read_iar(void)

	asm volatile("mrs_s %0, " __stringify(ICC_IAR1_EL1) : "=r" (irqstat));
	/* As per the architecture specification */
	isb();
	mb();
	return irqstat;
}
@@ -131,6 +132,7 @@ static void __maybe_unused gic_write_pmr(u64 val)
{
	asm volatile("msr_s " __stringify(ICC_PMR_EL1) ", %0" : : "r" (val));
	/* As per the architecture specification */
	isb();
	mb();
}

@@ -150,6 +152,7 @@ static void __maybe_unused gic_write_sgi1r(u64 val)
{
	asm volatile("msr_s " __stringify(ICC_SGI1R_EL1) ", %0" : : "r" (val));
	/* As per the architecture specification */
	isb();
	mb();
}