Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2095147ybb; Sat, 11 Apr 2020 20:30:43 -0700 (PDT) X-Google-Smtp-Source: APiQypKoAb8N1jWGxA1f040kP2xJDQL8hppZnIWfNbDQqg9wgDKDL1EWdQPsXRjtGx8VpV2IyClf X-Received: by 2002:a37:793:: with SMTP id 141mr1670492qkh.110.1586662243356; Sat, 11 Apr 2020 20:30:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586662243; cv=none; d=google.com; s=arc-20160816; b=GgaHsf+SjiLDf+bIW7FKNKOqDQGeLFcjCJoyxJdnuXutdcxTQIDrImF4Wea7TvlkS7 wPGzzKydZjiYF9UmFCMpM6/3MnydNZPp+bMcWQiVl1NvdZnWM944tH9nQRcOXsj/Iewb wpHIRg5BQw2V51DqrrHrc5uujgpCW0ghwjRr8oaZ0AsKbKAYTQKb5tLH8PAbteI3Umbm Qc2Wen36z9RLUHVLbq2bDrGS1LniwVvy5GghTJ07x4qmbW8HdZJtI3zvLIU05oudvUTO p3GnDw1Z+RRpgpzvS/f9cEoDTt/0MSr5fg/wvLd/loelbyJxS4GQv9UBFxze+Z33gBf1 PpuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=zaFC1z+FbOa5njYMFMKjFLySrsZy8vxuTZoNVUkHAKs=; b=ddkOwWIBJSNdALkUdSkPLUhX+F7QSunN4efbQFTcwQycveCQREpBpwrdolLXmFjYbC eLRJbjlVj0H9/9YQbmBlnEjGoIyt5TKQkLH6NGcXa02XKWYI0gRrwHsD/EHjbcbJGrqQ dexyRfmscDlzU0qsTVbIeMlYX8cRvFlSOPjI2WgAtI13iDP6a14vDlLqy6YWdCEA7v8c fv6PoK3l/aMEn4f3u9cfJiWf521kqCuI/FjLERLkg7y4NfbHe8FE4Gi6ZqG0NpJE09za y52HCIxUMincaIXiJXZf0KQ9Z6+i+TnuqYiImd2ht04pufKHZeuE94PieKidG1s+xRxh 6L/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=X2NSAqDv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y185si3772734qka.96.2020.04.11.20.30.29; Sat, 11 Apr 2020 20:30:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@flygoat.com header.s=vultr header.b=X2NSAqDv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726897AbgDLD3b (ORCPT + 99 others); Sat, 11 Apr 2020 23:29:31 -0400 Received: from vultr.net.flygoat.com ([149.28.68.211]:54974 "EHLO vultr.net.flygoat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726798AbgDLD3a (ORCPT ); Sat, 11 Apr 2020 23:29:30 -0400 Received: from localhost.localdomain (unknown [IPv6:2001:da8:20f:4430:250:56ff:fe9a:7470]) by vultr.net.flygoat.com (Postfix) with ESMTPSA id B747520D23; Sun, 12 Apr 2020 03:29:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=flygoat.com; s=vultr; t=1586662170; bh=BOc6QgkrNBLeLZl+hvilMEjIegxaLYZEaLH0YSkmRQI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X2NSAqDvYKwfd8rwogqVTj+Je0hAWBgYxpakWNlLoUsDtToRGFZKv/msuqGBGnlLX H1g+Rcbs4Hmlh5Y1nBkP003a7tSdCOYMLbqGZVSAABE5mP91z/GaV+9/mwlMMG6Gri 9yIn4aWtn1bo8riNUEDyA3aZxBchuHVGa1vpjX0ztIOBv/Jrfxd/T0fMv3NKM9qpcZ GklkisndpvtsI8aZCgOukbG6762Tv/9axoZHdGZPcrcLfrjUqGJj54pUlllBky/2h/ FhSrMUGY4/poOr8QkJYpk/TR9tzM/Lrdc4vSPIa2yqVR/HT0QMdf/9Cd/B+UdHDMAQ GhAHxQ4HFzD6w== From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: dietmar.eggemann@arm.com, Jiaxun Yang , Thomas Bogendoerfer , Huacai Chen , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Florian Fainelli , Robert Richter , Sudeep Holla , Greg Kroah-Hartman , "Rafael J. Wysocki" , Daniel Lezcano , Thomas Gleixner , Jason Cooper , Marc Zyngier , Paul Burton , Allison Randal , Kate Stewart , Vladimir Kondratiev , Alexios Zavras , Paul Cercueil , Zhou Yanjie , =?UTF-8?q?=E5=91=A8=E7=90=B0=E6=9D=B0=20=28Zhou=20Yanjie=29?= , YunQiang Su , Arnd Bergmann , Serge Semin , Enrico Weigelt , Matt Redfearn , Richard Fontana , Steve Winslow , Peter Xu , afzal mohammed , Oleksij Rempel , Kamal Dasu , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, oprofile-list@lists.sf.net, linux-pm@vger.kernel.org Subject: [PATCH v2 08/11] irqchip: mips-cpu: Switch to new topology interface Date: Sun, 12 Apr 2020 11:20:38 +0800 Message-Id: <20200412032123.3896114-9-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.26.0.rc2 In-Reply-To: <20200412032123.3896114-1-jiaxun.yang@flygoat.com> References: <20200412032123.3896114-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change the parameter of cpu_vpe_id from cpu_data to cpuid. Signed-off-by: Jiaxun Yang --- drivers/irqchip/irq-mips-cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-mips-cpu.c b/drivers/irqchip/irq-mips-cpu.c index 95d4fd8f7a96..eed3edf8480b 100644 --- a/drivers/irqchip/irq-mips-cpu.c +++ b/drivers/irqchip/irq-mips-cpu.c @@ -100,7 +100,7 @@ static void mips_mt_send_ipi(struct irq_data *d, unsigned int cpu) WARN_ON(!cpus_are_siblings(smp_processor_id(), cpu)); vpflags = dvpe(); - settc(cpu_vpe_id(&cpu_data[cpu])); + settc(cpu_vpe_id(cpu)); write_vpe_c0_cause(read_vpe_c0_cause() | (C_SW0 << hwirq)); evpe(vpflags); -- 2.26.0.rc2