Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp625735ybb; Wed, 8 Apr 2020 06:49:26 -0700 (PDT) X-Google-Smtp-Source: APiQypKMze7xNrj5g0AR8PCQ8agphspCD/o18JVBH/i/4U2E6Tk0LkfVpOeW6u8L6eEUAQ2/8Lwx X-Received: by 2002:a9d:7452:: with SMTP id p18mr5461974otk.122.1586353766247; Wed, 08 Apr 2020 06:49:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1586353766; cv=pass; d=google.com; s=arc-20160816; b=bnJtVwMLsbBfUpvjrCZo4DYbgn99/NUaUH7S5FBM20mmGhthk/rghbhZLytT4Jd/Cs uphEC55axpTCGY2FxiYswg0VL4mKO4wNiEmtIWvnpMnwPNo1iY0iuOQGSPp7WpUfo3Hz gnoZYe7N79AZnEddDc8JiS6zngOP4iVkOkldjd8/Q8Ygicd8bQhS4pLu3Gdib/zXXeBS 85Ie0d2CYbJO46tqj2+25jd+AsGMMtYqz+ws0cclN9RUyEWoTABC6KxfWFR+lGlF4fA5 y35RUrfoC17FC4FIgtKsdrtiiRD+O0lVLdum8+rFdUYvrv35zAaCR+8qCc/x8afw9WBB kG5w== ARC-Message-Signature: i=2; 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:date:subject:message-id:cc:to:from :dkim-signature; bh=kpT3Sx2KtSOShM1hd/8JsXKK/dHnee+iUIp6sZjfLes=; b=RcwokK0fB6AsuPjj8Rd+r+gzrJMpA7pjic0ZX1Vp39Lv+hc0wNmpE3aBsYFyIFqpD2 rFQyenlUx5A7PRprwzSyiJlb3iqGccNzQMOyx1VFicDItnEy519n2q+I7vF7Kdsb94pP 9bB0YQr/vcR7zpchD85DNsGH36ctshgwChPvo9byGv7br9b9HoF0+U/723a7rTRwYqG7 sO2TO/SgZU4A5pS8K11UyhHj6NjY8vt2VixD8K4D/al755XL+g1k61p/MZLgKQLZrrAl GHLQZJ9bHESW7g485vCVRnK908lxDvavQU/WgPfRTRCr3rpeq9HMab9tnZMHzPSzhQed OldA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b=M4E3W43c; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dmarc=pass fromdomain=flygoat.com>); 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=pass (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 k185si2406462oif.13.2020.04.08.06.49.12; Wed, 08 Apr 2020 06:49:26 -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=pass header.i=@flygoat.com header.s=mail header.b=M4E3W43c; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dmarc=pass fromdomain=flygoat.com>); 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=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728896AbgDHNDi (ORCPT + 99 others); Wed, 8 Apr 2020 09:03:38 -0400 Received: from sender3-op-o12.zoho.com.cn ([124.251.121.243]:17871 "EHLO sender3-op-o12.zoho.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728280AbgDHNDh (ORCPT ); Wed, 8 Apr 2020 09:03:37 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1586350900; cv=none; d=zoho.com.cn; s=zohoarc; b=TaXGFSpYXyuuJSm3U8C/zKL8TGBOgJF5LxoQwHZT2PzjIN94ENJUr+osNf3w570MRHtdNoOgW48bwiJruaiW8Ob8zS3qleqZLvmJ6dbaN2ChI04TAWgrglLvYIMusNS0Zqr6gSQRd21PaDM0jf4A4GoMnK2dYyAgorb2ClK9a8U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com.cn; s=zohoarc; t=1586350900; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=kpT3Sx2KtSOShM1hd/8JsXKK/dHnee+iUIp6sZjfLes=; b=evEAXbOiTc4PrZ9WASM24WJtBXE/rtdNezFIWbkoE0PwSgKZTXaqawc/ucnyNLCXXG9vJHO9mllvlm2OIY/rIx9W7aY0qLR7DvTa/0tdOQKe/+KDDVsySiD9ywoMFLbn4U+krQcP7zg2YXjZ9JI5qtrBrMgc6HWCB17coPK60w8= ARC-Authentication-Results: i=1; mx.zoho.com.cn; dkim=pass header.i=flygoat.com; spf=pass smtp.mailfrom=jiaxun.yang@flygoat.com; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1586350900; s=mail; d=flygoat.com; i=jiaxun.yang@flygoat.com; h=From:To:Cc:Message-ID:Subject:Date:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type; bh=kpT3Sx2KtSOShM1hd/8JsXKK/dHnee+iUIp6sZjfLes=; b=M4E3W43cO8oW+eV1OO4dyXbsE0pM/+a1tK+IvEAjD5VX+rGDNdDtaGmXTSe4jnF4 ROJNHGyBFcGtRcqUZ1KH/Fbm7DnYbecoMhIGXNPorF9melzhFbqjojo2qrQ2St6XaU5 0d9Pq4vDoAxygfLbKJ5DlYG0CkeeNR2kazsdS1Pw= Received: from localhost.localdomain (39.155.141.144 [39.155.141.144]) by mx.zoho.com.cn with SMTPS id 1586350899485242.73492025223356; Wed, 8 Apr 2020 21:01:39 +0800 (CST) From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: 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 , Thomas Gleixner , Jason Cooper , Marc Zyngier , Paul Burton , Allison Randal , Greg Kroah-Hartman , Vladimir Kondratiev , Richard Fontana , Arnd Bergmann , Serge Semin , Matt Redfearn , Steve Winslow , Alexios Zavras , Kamal Dasu , Mike Rapoport , Oleksij Rempel , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, oprofile-list@lists.sf.net Message-ID: <20200408130024.2529220-3-jiaxun.yang@flygoat.com> Subject: [PATCH 08/12] irqchip: mips-cpu: Switch to new topology interface Date: Wed, 8 Apr 2020 20:59:50 +0800 X-Mailer: git-send-email 2.26.0.rc2 In-Reply-To: <20200408113505.2528103-1-jiaxun.yang@flygoat.com> References: <20200408113505.2528103-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoCNMailClient: External Content-Type: text/plain; charset=utf8 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, unsign= ed int cpu) =09WARN_ON(!cpus_are_siblings(smp_processor_id(), cpu)); =20 =09vpflags =3D dvpe(); -=09settc(cpu_vpe_id(&cpu_data[cpu])); +=09settc(cpu_vpe_id(cpu)); =09write_vpe_c0_cause(read_vpe_c0_cause() | (C_SW0 << hwirq)); =09evpe(vpflags); =20 --=20 2.26.0.rc2