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

Commit 7dc40880 authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC64]: SMP trampoline needs to avoid %tick_cmpr on sun4v too.

parent 53140b71
Loading
Loading
Loading
Loading
+3 −4
Original line number Original line Diff line number Diff line
@@ -95,14 +95,13 @@ spitfire_startup:
	membar		#Sync
	membar		#Sync


startup_continue:
startup_continue:
	mov		%o0, %l0
	BRANCH_IF_SUN4V(g1, niagara_lock_tlb)

	sethi		%hi(0x80000000), %g2
	sethi		%hi(0x80000000), %g2
	sllx		%g2, 32, %g2
	sllx		%g2, 32, %g2
	wr		%g2, 0, %tick_cmpr
	wr		%g2, 0, %tick_cmpr


	mov		%o0, %l0

	BRANCH_IF_SUN4V(g1, niagara_lock_tlb)

	/* Call OBP by hand to lock KERNBASE into i/d tlbs.
	/* Call OBP by hand to lock KERNBASE into i/d tlbs.
	 * We lock 2 consequetive entries if we are 'bigkernel'.
	 * We lock 2 consequetive entries if we are 'bigkernel'.
	 */
	 */