Message ID | 1435757843-13236-1-git-send-email-hanjun.guo@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDWLZTMOWUARBQG2Z6WAKGQEFARUK2I@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 70C06229DF for <linaro@patches.linaro.org>; Wed, 1 Jul 2015 13:38:09 +0000 (UTC) Received: by wiwz6 with SMTP id z6sf16174032wiw.0 for <linaro@patches.linaro.org>; Wed, 01 Jul 2015 06:38:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=NQx9Uz3X+kBSHcibBnJDVzR+vVmKeImpE1eYZ54E3zw=; b=AccMZngOcFMcF7hHxGW8/U0eLnEpCNDcAzXTmJd4PV15WuqflxloJhnMhabIt6BE6b I4p3jDp4pTKohsO6bpVmsaWxOXgUF+WYdeKmY8xDPImv/uVdMYjJW3xoMEgvuFZUdTgk 3oTk14hCbqy8cNUrtEcDhG1bxf4unQkPItO1RxQOJbE+zQgiTQPQmpTyIsqb0Yohehoq sbVnNv6t6T+va2rILhIcd8Vzh5KmgFVi4kDTCJIKgdG/2XACHKJ8Lg+0lUkeNZG1QCBb 45RIYiN7Cjoc8ZF/h+R3TzXvatN/v9jie8S/vX+ZikTVNzqPreSzzbcmV/kZbiOIuo94 wmDA== X-Gm-Message-State: ALoCoQl5phqRp0yfle2md2l93avYVBBc0ymAcOcd4vIrX0vcYTwp0rjCq4HjnHnVUb2wYgTFHRBP X-Received: by 10.152.2.196 with SMTP id 4mr17194719law.10.1435757888675; Wed, 01 Jul 2015 06:38:08 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.1.73 with SMTP id 9ls165384lak.17.gmail; Wed, 01 Jul 2015 06:38:08 -0700 (PDT) X-Received: by 10.112.156.70 with SMTP id wc6mr20445366lbb.97.1435757888302; Wed, 01 Jul 2015 06:38:08 -0700 (PDT) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com. [209.85.215.47]) by mx.google.com with ESMTPS id ql5si1724281lbb.165.2015.07.01.06.38.08 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Jul 2015 06:38:08 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) client-ip=209.85.215.47; Received: by laar3 with SMTP id r3so41019003laa.0 for <patchwork-forward@linaro.org>; Wed, 01 Jul 2015 06:38:08 -0700 (PDT) X-Received: by 10.152.1.40 with SMTP id 8mr25828279laj.56.1435757888130; Wed, 01 Jul 2015 06:38:08 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp617104lbb; Wed, 1 Jul 2015 06:38:07 -0700 (PDT) X-Received: by 10.69.31.171 with SMTP id kn11mr54466113pbd.119.1435757886382; Wed, 01 Jul 2015 06:38:06 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10si3509229pas.176.2015.07.01.06.38.05; Wed, 01 Jul 2015 06:38:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754147AbbGANhl (ORCPT <rfc822;fu.wei@linaro.org> + 6 others); Wed, 1 Jul 2015 09:37:41 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:35784 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754214AbbGANhi (ORCPT <rfc822; linux-acpi@vger.kernel.org>); Wed, 1 Jul 2015 09:37:38 -0400 Received: by pdbci14 with SMTP id ci14so26042027pdb.2 for <linux-acpi@vger.kernel.org>; Wed, 01 Jul 2015 06:37:37 -0700 (PDT) X-Received: by 10.68.169.34 with SMTP id ab2mr54540850pbc.120.1435757857153; Wed, 01 Jul 2015 06:37:37 -0700 (PDT) Received: from localhost ([180.150.153.56]) by mx.google.com with ESMTPSA id a10sm2377584pdn.57.2015.07.01.06.37.35 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 01 Jul 2015 06:37:35 -0700 (PDT) From: Hanjun Guo <hanjun.guo@linaro.org> To: Will Deacon <will.deacon@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Lorenzo Pieralisi <Lorenzo.Pieralisi@arm.com> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, Hanjun Guo <hanjun.guo@linaro.org> Subject: [PATCH] ARM64 / SMP: Switch pr_err() to pr_debug() for disabled GICC entry Date: Wed, 1 Jul 2015 21:37:23 +0800 Message-Id: <1435757843-13236-1-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-acpi-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-acpi@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: hanjun.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.47 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index 4b2121b..5caf04a 100644 --- a/arch/arm64/kernel/smp.c +++ b/arch/arm64/kernel/smp.c @@ -402,7 +402,7 @@ acpi_map_gic_cpu_interface(struct acpi_madt_generic_interrupt *processor) } if (!(processor->flags & ACPI_MADT_ENABLED)) { - pr_err("skipping disabled CPU entry with 0x%llx MPIDR\n", hwid); + pr_debug("skipping disabled CPU entry with 0x%llx MPIDR\n", hwid); return; }
It is normal that firmware presents GICC entry or entries (processors) with disabled flag in ACPI MADT, taking a system of 16 cpus for example, ACPI firmware may present 8 enabled first with another 8 cpus disabled in MADT, the disabled cpus can be hot-added later. Firmware may also present more cpus than the hardware actually has, but disabled the unused ones, and easily enable it when the hardware has such cpus to make the firmware code scalable. So that's not an error for disabled cpus in MADT, we can switch pr_err() to pr_debug() instead. Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> --- arch/arm64/kernel/smp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)