From patchwork Wed Oct 24 14:45:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12482 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 ED87123F58 for ; Wed, 24 Oct 2012 14:45:58 +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 A1FBAA18C6A for ; Wed, 24 Oct 2012 14:45:58 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so731028iej.11 for ; Wed, 24 Oct 2012 07:45:58 -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=MXLkuvlBnYeCIck0dZMX7bgz4pRq/2WfoFCSzJQMqH0=; b=hvmL3lp5eL2YYjaZ5/5UJr4JZTSk+cNtU4SadoJWmz5SuooYonU2wbTQqDN4nmgSr/ 56Uhntig6VV0qdmvrYIcg41CGq6odpLlmgzyqRKyCyAd2gq87/wZnNjCdYIChcwjnXiM 0R85SzdEiS+Ztj/z+t/zHuhXMwqN5bVjgnr2fFShZdD6BCEKnBeIX38iXgo0vmJVMLe2 SKTpanCkhdciNvrsqyYEpOEcAlJdyTLYCeYfeHzk5W6kemHDP3E+2YvIY8YUhmCjcGny 6JK4vJeYRzP+QEJjg0wc0xWUOVS+UcrJEQLg1bjylCPMRC0r+FangLuHCMCAPeI4BqqJ nNdA== Received: by 10.42.145.66 with SMTP id e2mr13822868icv.18.1351089958407; Wed, 24 Oct 2012 07:45:58 -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 n20csp625516igt; Wed, 24 Oct 2012 07:45:57 -0700 (PDT) Received: by 10.180.84.41 with SMTP id v9mr6495540wiy.8.1351089957011; Wed, 24 Oct 2012 07:45:57 -0700 (PDT) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id d9si15983457weq.156.2012.10.24.07.45.56 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Oct 2012 07:45:57 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.178 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-we0-f178.google.com with SMTP id r6so385536wey.37 for ; Wed, 24 Oct 2012 07:45:56 -0700 (PDT) Received: by 10.180.107.195 with SMTP id he3mr3059493wib.15.1351089956541; Wed, 24 Oct 2012 07:45:56 -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 bn7sm5295273wib.8.2012.10.24.07.45.54 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Oct 2012 07:45:55 -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 6/6] ARM: ux500: Convert DT_MACHINE_START to use SMP operations Date: Wed, 24 Oct 2012 15:45:26 +0100 Message-Id: <1351089926-32161-7-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1351089926-32161-1-git-send-email-lee.jones@linaro.org> References: <1351089926-32161-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkleAQ5E2x/OhT/L9fdV7l1U2BDdSZ1dGGo9bh3mnTISk1HfjE87R5lkHKpNpgrf/UXoZ2e 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. 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 */