From patchwork Fri Mar 27 13:55:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 46406 Return-Path: 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 E2EB321597 for ; Fri, 27 Mar 2015 13:56:18 +0000 (UTC) Received: by wixm2 with SMTP id m2sf4888932wix.0 for ; Fri, 27 Mar 2015 06:56:18 -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:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=w1rQVsc9S3WDTGYlm+zZqtSWqQXtErxQaj3MyhfJdmQ=; b=FVJHWbSQqRyK5X9B+dEuWFqtNaP9486obNqUpvb1LQg0cs+zbNqRfe4T3ELKqLO9H0 ULm3rg6TCHjzkNr/zptjHYAwomC9z+2SeiSX/w3QqYe8+BKwTri7S23XnSY26WOtd4z/ JSlGcfNsnnB9qya+ExdeLKq73lDqZqvIYyfmLQWDNBvFelsmxdo3x/3/fM+vH6nwXMQa /xxRaG8hy3GFSZKf1En5UkeCK4u4mx1n/0b4SupMAdEx/ocCipmc8IyHTPI8F1QvvBZN DTh2Jhx7hrMC/QO9IObGn28PH+ppOU/BAItzwHTCnjdpiGNslg2yjnoAxsH+CIx/PJKx vPNw== X-Gm-Message-State: ALoCoQmpP8McA2azUZ6/W/AASMnktgyBSbnZY8BiH0/HGcY/RPv+De5mU86aiOXXeM0F1HohG6+U X-Received: by 10.194.221.65 with SMTP id qc1mr4691177wjc.7.1427464578246; Fri, 27 Mar 2015 06:56:18 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.194 with SMTP id a2ls350690lak.88.gmail; Fri, 27 Mar 2015 06:56:18 -0700 (PDT) X-Received: by 10.112.181.231 with SMTP id dz7mr17306899lbc.47.1427464578045; Fri, 27 Mar 2015 06:56:18 -0700 (PDT) Received: from mail-lb0-f172.google.com (mail-lb0-f172.google.com. [209.85.217.172]) by mx.google.com with ESMTPS id j8si1438856lag.163.2015.03.27.06.56.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Mar 2015 06:56:18 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.172 as permitted sender) client-ip=209.85.217.172; Received: by lboc7 with SMTP id c7so7244594lbo.1 for ; Fri, 27 Mar 2015 06:56:18 -0700 (PDT) X-Received: by 10.112.162.232 with SMTP id yd8mr17606825lbb.41.1427464577947; Fri, 27 Mar 2015 06:56:17 -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 k9csp1275837lbq; Fri, 27 Mar 2015 06:56:17 -0700 (PDT) X-Received: by 10.66.118.198 with SMTP id ko6mr36277392pab.16.1427464568987; Fri, 27 Mar 2015 06:56:08 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ee5si2969559pac.139.2015.03.27.06.56.08; Fri, 27 Mar 2015 06:56:08 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-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 S932117AbbC0Nz6 (ORCPT + 27 others); Fri, 27 Mar 2015 09:55:58 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:35514 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753039AbbC0Nzz (ORCPT ); Fri, 27 Mar 2015 09:55:55 -0400 Received: by pacwz10 with SMTP id wz10so45449744pac.2 for ; Fri, 27 Mar 2015 06:55:54 -0700 (PDT) X-Received: by 10.70.54.130 with SMTP id j2mr35625518pdp.122.1427464554608; Fri, 27 Mar 2015 06:55:54 -0700 (PDT) Received: from localhost ([104.207.83.1]) by mx.google.com with ESMTPSA id qr6sm2293944pbc.64.2015.03.27.06.55.53 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 27 Mar 2015 06:55:53 -0700 (PDT) From: Hanjun Guo To: "Rafael J. Wysocki" Cc: Will Deacon , Catalin Marinas , Boris Ostrovsky , Stefano Stabellini , Lorenzo Pieralisi , Sudeep Holla , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linaro-acpi@lists.linaro.org, Hanjun Guo Subject: [PATCH 1/2] ARM64 / ACPI: Ignore the return error value of acpi_map_gic_cpu_interface() Date: Fri, 27 Mar 2015 21:55:06 +0800 Message-Id: <1427464513-14414-3-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1427464513-14414-1-git-send-email-hanjun.guo@linaro.org> References: <1427464513-14414-1-git-send-email-hanjun.guo@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.172 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: , List-Help: , List-Archive: List-Unsubscribe: , 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 --- arch/arm64/kernel/acpi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */