From patchwork Tue Jun 25 20:24:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 2780031 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A25439F751 for ; Tue, 25 Jun 2013 20:26:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D39C92031A for ; Tue, 25 Jun 2013 20:26:54 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C004F20317 for ; Tue, 25 Jun 2013 20:26:53 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UrZoS-0004fp-NE; Tue, 25 Jun 2013 20:26:05 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UrZoE-0002kG-VF; Tue, 25 Jun 2013 20:25:50 +0000 Received: from mail-wi0-f174.google.com ([209.85.212.174]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UrZnm-0002fq-Hh for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2013 20:25:23 +0000 Received: by mail-wi0-f174.google.com with SMTP id k10so1245342wiv.13 for ; Tue, 25 Jun 2013 13:25:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=9vZS9jU8WGE5p+XqDkrJAYShrQ9oXYLsbT4GNv09q2M=; b=cBDNi0wZhKlumrr0mr0pa0lCF1pVDloK55UBiWWzxaRw4eAgd9JwZ+Cn48lxOAmnZk cBYK4Mmtz/iPlXa/eroj3kai5RLulRAGizmeQmk9bYQ5XTg4chGkuuQfEWPVx5fBIm40 V0Cy9dVSnXtQ0bYFLVLR0OELwQGKkYaZ9Z/OII6IpTb8hVlcOdEBUeH99LiKAeEbHVCs Ohz/ojc+si1285FhQiPaDSi1ncBiHtZvijHVI7ynA82form9tXCCoHm9ky8jAHRRPJgC 8u26iR2dUXRBI+J3LKS6kQIxPxJHnNm2dYOVMLMWhNbJ2WhyQkQ00vJs0MJi+CQYlPAx TAWQ== X-Received: by 10.180.99.67 with SMTP id eo3mr457816wib.35.1372191900918; Tue, 25 Jun 2013 13:25:00 -0700 (PDT) Received: from ards-mac-mini.fritz.box (cust-03-55bf5db2.adsl.scarlet.nl. [85.191.93.178]) by mx.google.com with ESMTPSA id fb9sm6558550wid.2.2013.06.25.13.24.59 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Jun 2013 13:25:00 -0700 (PDT) From: Ard Biesheuvel To: linux@arm.linux.org.uk Subject: [PATCH v2 1/5] ARM: move VFP init to an earlier boot stage Date: Tue, 25 Jun 2013 22:24:47 +0200 Message-Id: <1372191891-24574-2-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1372191891-24574-1-git-send-email-ard.biesheuvel@linaro.org> References: <1372191891-24574-1-git-send-email-ard.biesheuvel@linaro.org> X-Gm-Message-State: ALoCoQlvxs4P6GJU7jN90CjrG6d/hoB8HF8kE3OMsAHGooTSPBMzDZDAh7x4ppJchDJMa3kerIG2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130625_162522_731184_717BB1D5 X-CRM114-Status: GOOD ( 11.58 ) X-Spam-Score: -2.6 (--) Cc: Ard Biesheuvel , will.deacon@arm.com, linux-arm-kernel@lists.infradead.org, nico@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In order to use the NEON unit in the kernel, we should initialize it a bit earlier in the boot process so NEON users that like to do a quick benchmark at load time (like the xor_blocks or RAID-6 code) find the NEON/VFP unit already enabled. Replaced late_initcall() with core_initcall(). Signed-off-by: Ard Biesheuvel Acked-by: Nicolas Pitre --- arch/arm/vfp/vfpmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c index 5dfbb0b..791993a 100644 --- a/arch/arm/vfp/vfpmodule.c +++ b/arch/arm/vfp/vfpmodule.c @@ -731,4 +731,4 @@ static int __init vfp_init(void) return 0; } -late_initcall(vfp_init); +core_initcall(vfp_init);