svn commit: r295050 - head/sys/arm64/arm64

Zbigniew Bodek zbb at FreeBSD.org
Fri Jan 29 18:43:52 UTC 2016


Author: zbb
Date: Fri Jan 29 18:43:51 2016
New Revision: 295050
URL: https://svnweb.freebsd.org/changeset/base/295050

Log:
  Fix sending IPI to all CPUs on ARM64
  
  There is no explanation why IPI ID is incremented here by "16".
  This should have been removed in r285533 but somehow survived.
  
  Reviewed by:   wma
  Obtained from: Semihalf
  Sponsored by:  Cavium
  Differential Revision: https://reviews.freebsd.org/D5120

Modified:
  head/sys/arm64/arm64/intr_machdep.c

Modified: head/sys/arm64/arm64/intr_machdep.c
==============================================================================
--- head/sys/arm64/arm64/intr_machdep.c	Fri Jan 29 17:43:03 2016	(r295049)
+++ head/sys/arm64/arm64/intr_machdep.c	Fri Jan 29 18:43:51 2016	(r295050)
@@ -472,9 +472,6 @@ ipi_all_but_self(u_int ipi)
 	other_cpus = all_cpus;
 	CPU_CLR(PCPU_GET(cpuid), &other_cpus);
 
-	/* ARM64TODO: This will be fixed with arm_intrng */
-	ipi += 16;
-
 	CTR2(KTR_SMP, "%s: ipi: %x", __func__, ipi);
 	PIC_IPI_SEND(root_pic, other_cpus, ipi);
 }


More information about the svn-src-all mailing list