From patchwork Mon May 30 06:18:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rashmica Gupta X-Patchwork-Id: 627614 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rJ66x3XMrz9s9Z for ; Mon, 30 May 2016 16:25:13 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=jEPLPX3X; dkim-atps=neutral Received: from ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3rJ66x2Tn8zDqk3 for ; Mon, 30 May 2016 16:25:13 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=jEPLPX3X; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mail-pa0-x243.google.com (mail-pa0-x243.google.com [IPv6:2607:f8b0:400e:c03::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3rJ5zk6kB2zDqX1 for ; Mon, 30 May 2016 16:18:58 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=jEPLPX3X; dkim-atps=neutral Received: by mail-pa0-x243.google.com with SMTP id f8so20582953pag.0 for ; Sun, 29 May 2016 23:18:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Zyq4ABdFAz/Sj+hqgttudJZF3WRoTtiFE/AQgicaChk=; b=jEPLPX3X24Vmq7R5NY5BUNCEVKoPqqEzC1UMxJvzyDdz7lCIbRbVLPISR0sp4fwkDc 4HCC6hoeaW/oGAxsjyAzJGPAF26iqDj4GlotuoOxhmY0d6WmjPe/w7HYh03is+YG7L+L QQX7z3nSwd4ZECfCOUuJJqZbrslKChEtYZ67maD1hlI6qOkuzC+3WX22mchnHFogjnaU AozkcrCoTMG4Ld1lJHrgEF75OZuI0BfhxEsA92ztTa4OJ5W7sHFqgzwI2doDM/sUcoP9 Kij4AxGvwdFdxIDQi9qlv4D8stADjgX0yAaDblS91YgNoKV9fxX386i9eU65U5+jTYpB /avw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Zyq4ABdFAz/Sj+hqgttudJZF3WRoTtiFE/AQgicaChk=; b=AVWcjMFd00R9Td67piDcya+XM27nGHN8XCBDQ40sv2UEUKUU9GCyHFBRLSnYEG9u31 luNC5KVHwvj42XqwMg8RZsZ++dbPqMJvkhQ3VUpckEAPe05AiBiSJXzf/uK/Nw+BDt07 0WtwwvJZnjjAJu5JbJNp5xFVMZiDB0oJVdbDG3NoakgEe8nALBT0sh82zIk0b0ao8mFK tMpoLd5lLClzMCtyB6sayxCdiGu0axSK75vUIIewJBVqGUmvCjUxHDhkzktne6b7yF+2 HQB6KRVa+xe82vEocSIdG7Y9iZfTCsNwO/tvD1iKfVYl5s4sgPUCeAyZXJwKv0Uhc2YM OLyQ== X-Gm-Message-State: ALyK8tLv2GWBuY3E0nt8tbr2Wt1z1rsg3wU+voAHI1xIOGDkY/vbbNoG3wiI2jvcpTPu5A== X-Received: by 10.66.191.100 with SMTP id gx4mr44637686pac.128.1464589137158; Sun, 29 May 2016 23:18:57 -0700 (PDT) Received: from circle.ozlabs.ibm.com ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id m81sm16432256pfi.51.2016.05.29.23.18.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 29 May 2016 23:18:56 -0700 (PDT) From: Rashmica Gupta To: mpe@ellerman.id.au, benh@kernel.crashing.org, paulus@samba.org, nfont@linux.vnet.ibm.com Subject: [PATCH 4/5] powerpc/pseries: Remove MPIC from pseries cpu hotplug Date: Mon, 30 May 2016 16:18:14 +1000 Message-Id: <1464589095-442-4-git-send-email-rashmicy@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1464589095-442-1-git-send-email-rashmicy@gmail.com> References: <1464589095-442-1-git-send-email-rashmicy@gmail.com> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" MPIC was only used by Power3 which is now unsupported, so remove MPIC code. Signed-off-by: Rashmica Gupta --- arch/powerpc/platforms/pseries/hotplug-cpu.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/arch/powerpc/platforms/pseries/hotplug-cpu.c b/arch/powerpc/platforms/pseries/hotplug-cpu.c index 282837a1d74b..a1b63e00b2f7 100644 --- a/arch/powerpc/platforms/pseries/hotplug-cpu.c +++ b/arch/powerpc/platforms/pseries/hotplug-cpu.c @@ -903,8 +903,6 @@ static int parse_cede_parameters(void) static int __init pseries_cpu_hotplug_init(void) { - struct device_node *np; - const char *typep; int cpu; int qcss_tok; @@ -913,17 +911,6 @@ static int __init pseries_cpu_hotplug_init(void) ppc_md.cpu_release = dlpar_cpu_release; #endif /* CONFIG_ARCH_CPU_PROBE_RELEASE */ - for_each_node_by_name(np, "interrupt-controller") { - typep = of_get_property(np, "compatible", NULL); - if (strstr(typep, "open-pic")) { - of_node_put(np); - - printk(KERN_INFO "CPU Hotplug not supported on " - "systems using MPIC\n"); - return 0; - } - } - rtas_stop_self_token = rtas_token("stop-self"); qcss_tok = rtas_token("query-cpu-stopped-state");