Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jan 2016 18:43:51 +0000 (UTC)
From:      Zbigniew Bodek <zbb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r295050 - head/sys/arm64/arm64
Message-ID:  <201601291843.u0TIhpm8001769@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601291843.u0TIhpm8001769>