From patchwork Thu Oct 25 09:57:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12502 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 5DC2423F9B for ; Thu, 25 Oct 2012 09:57:35 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 15BB8A18319 for ; Thu, 25 Oct 2012 09:57:34 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so1862475iej.11 for ; Thu, 25 Oct 2012 02:57:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=ys9w1gtsV2TUMZnmmVxFhBR99OXYqcCY2RfYKvNIUXo=; b=ZWNnKsmWef/LZUwNJsF0XUiXmwu+Fi9KjNddo5h255RhkATh3RnoTOhEPtzaTt9yXR dqSUcNun09rzMBNx5Ihic0ZUQrbEfCX0bqNzh3ekYZE1AjMLiW7Agk7J27gpeFbcQI0x LZUjscXW8/U5Mz7d7JoGjcxowOIlKSg/zDosyNVngIHwvXf07BhpcbuacNsmI5yUeMVb 2CqnRTPAGwn6KhLGJbLZblpu+ZrDqjh95w92nOPy/ruGCkoPRwbCHaygObfgrw3jwud1 v7QD1j2EZVil/9Ss/KFUFChRL/ijN9wHLRdHPvdIP5tb2DbvlwDuv1UN16nQ4rmKjH6e Infw== Received: by 10.42.57.10 with SMTP id b10mr16225534ich.54.1351159054843; Thu, 25 Oct 2012 02:57:34 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp14772igt; Thu, 25 Oct 2012 02:57:34 -0700 (PDT) Received: by 10.180.107.195 with SMTP id he3mr9142399wib.15.1351159053512; Thu, 25 Oct 2012 02:57:33 -0700 (PDT) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx.google.com with ESMTPS id s10si3333107wia.30.2012.10.25.02.57.33 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 25 Oct 2012 02:57:33 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.172; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wi0-f172.google.com with SMTP id hq12so4809415wib.13 for ; Thu, 25 Oct 2012 02:57:33 -0700 (PDT) Received: by 10.216.202.133 with SMTP id d5mr12150255weo.63.1351159053015; Thu, 25 Oct 2012 02:57:33 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id az2sm9125291wib.10.2012.10.25.02.57.31 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 25 Oct 2012 02:57:32 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@stericsson.com, Lee Jones Subject: [PATCH 8/8] ARM: ux500: Convert DT_MACHINE_START to use SMP operations Date: Thu, 25 Oct 2012 10:57:11 +0100 Message-Id: <1351159031-25391-9-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1351159031-25391-1-git-send-email-lee.jones@linaro.org> References: <1351159031-25391-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQnuH+L8pSZl/Q2Sta9+UOephmAuewKQlPFv+xYW1QmR0cW/y0tADqXI2rzCYuIcB4XDBdOt The Device Tree machine description for the ux5x0 was moved recently and as a consequence missed the addition of SMP operations. Without this patch SMP doesn't work and only one CPU is present after booting. Acked-by: Linus Walleij Signed-off-by: Lee Jones --- arch/arm/mach-ux500/cpu-db8500.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index c65e7e3..4a0c40a 100644 --- a/arch/arm/mach-ux500/cpu-db8500.c +++ b/arch/arm/mach-ux500/cpu-db8500.c @@ -339,6 +339,7 @@ static const char * stericsson_dt_platform_compat[] = { }; DT_MACHINE_START(U8500_DT, "ST-Ericsson Ux5x0 platform (Device Tree Support)") + .smp = smp_ops(ux500_smp_ops), .map_io = u8500_map_io, .init_irq = ux500_init_irq, /* we re-use nomadik timer here */