Message ID | 1427458476-20140-1-git-send-email-hanjun.guo@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDWLZTMOWUARBUMT2WUAKGQEEVF36HA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D5E9521585 for <linaro@patches.linaro.org>; Fri, 27 Mar 2015 12:15:14 +0000 (UTC) Received: by wibfv9 with SMTP id fv9sf4255902wib.1 for <linaro@patches.linaro.org>; Fri, 27 Mar 2015 05:15:14 -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=yjhH83AJnXkrkoGL6QwWLAw1CSy3TsE/hYrTCCrofE0=; b=LaVNF7vTsQdsPr/eCZHImkbxC6tLGZk8hkKliVFxHBbDROG8FiXew7Ht2P8hsZ/GuG iZGk0QdbmChtrmHkXaeny61kig+sYXi2dopjrmunT56Z7PVXPF/KE1KS7b9Go9oCwVB7 CIhF+puRVcEzBrk3BDWlTNKhmdDtwtTIN7ns4g5L+shaFmrmxZPvcRuK+6lL9gQ/jgxE kUssKFx9jLjxiubTqGON9DqLDBczLrmwcFxvpvGuRd52ljU1BeZr+paKTidZIdcBNotC ij6D5WJbMiy77wgXO/YtaiO+eJjXNak07BJOR4cKzKMXi3BMECcNkv81O23UltaQUCrB 7M+Q== X-Gm-Message-State: ALoCoQkOHvGpnhMftpLD8SA2X0bF6RF7GxYY/SbRn4lsFrI3XgTh3R4HGMfKsCt7nxJV7by+gD+k X-Received: by 10.194.161.194 with SMTP id xu2mr4593552wjb.1.1427458514138; Fri, 27 Mar 2015 05:15:14 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.205.33 with SMTP id ld1ls382339lac.11.gmail; Fri, 27 Mar 2015 05:15:13 -0700 (PDT) X-Received: by 10.112.235.38 with SMTP id uj6mr17854591lbc.9.1427458513753; Fri, 27 Mar 2015 05:15:13 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id da4si1299661lac.31.2015.03.27.05.15.13 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Mar 2015 05:15:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by lbbug6 with SMTP id ug6so62095053lbb.3 for <patchwork-forward@linaro.org>; Fri, 27 Mar 2015 05:15:13 -0700 (PDT) X-Received: by 10.152.19.199 with SMTP id h7mr18148185lae.32.1427458513311; Fri, 27 Mar 2015 05:15:13 -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.57.201 with SMTP id k9csp1220060lbq; Fri, 27 Mar 2015 05:15:12 -0700 (PDT) X-Received: by 10.70.118.134 with SMTP id km6mr35326596pdb.162.1427458512361; Fri, 27 Mar 2015 05:15:12 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id jo4si2604996pbb.255.2015.03.27.05.15.11; Fri, 27 Mar 2015 05:15:12 -0700 (PDT) Received-SPF: none (google.com: linux-acpi-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752736AbbC0MPJ (ORCPT <rfc822; roy.franz@linaro.org> + 7 others); Fri, 27 Mar 2015 08:15:09 -0400 Received: from mail-pd0-f181.google.com ([209.85.192.181]:35146 "EHLO mail-pd0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752483AbbC0MPI (ORCPT <rfc822; linux-acpi@vger.kernel.org>); Fri, 27 Mar 2015 08:15:08 -0400 Received: by pdbop1 with SMTP id op1so94909113pdb.2 for <linux-acpi@vger.kernel.org>; Fri, 27 Mar 2015 05:15:07 -0700 (PDT) X-Received: by 10.69.16.199 with SMTP id fy7mr34867688pbd.147.1427458507671; Fri, 27 Mar 2015 05:15:07 -0700 (PDT) Received: from localhost ([104.207.83.1]) by mx.google.com with ESMTPSA id k9sm2039578pbq.46.2015.03.27.05.15.06 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 27 Mar 2015 05:15:06 -0700 (PDT) From: Hanjun Guo <hanjun.guo@linaro.org> To: Will Deacon <will.deacon@arm.com>, Catalin Marinas <catalin.marinas@arm.com> Cc: Lorenzo Pieralisi <Lorenzo.Pieralisi@arm.com>, Mark Rutland <mark.rutland@arm.com>, Sudeep Holla <Sudeep.Holla@arm.com>, "Rafael J. Wysocki" <rjw@rjwysocki.net>, linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linaro-acpi@lists.linaro.org, Hanjun Guo <hanjun.guo@linaro.org> Subject: [PATCH 1/2] ARM64 / ACPI: Ignore the return error value of acpi_map_gic_cpu_interface() Date: Fri, 27 Mar 2015 20:14:35 +0800 Message-Id: <1427458476-20140-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.217.181 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/acpi.c b/arch/arm64/kernel/acpi.c index 07649e4..c263cba 100644 --- a/arch/arm64/kernel/acpi.c +++ b/arch/arm64/kernel/acpi.c @@ -181,7 +181,8 @@ acpi_parse_gic_cpu_interface(struct acpi_subtable_header *header, return -EINVAL; acpi_table_print_madt_entry(header); - return acpi_map_gic_cpu_interface(processor); + acpi_map_gic_cpu_interface(processor); + return 0; } /* Parse GIC cpu interface entries in MADT for SMP init */
MADT table scannig will stopped once it gets the errors returned by the handler, which is acpi_map_gic_cpu_interface() in for ARM64, so Ignore the return error value to search for all enabled CPUs for SMP init. Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org> --- arch/arm64/kernel/acpi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)