From patchwork Thu Feb 19 01:42:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 5849571 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3E9009F30C for ; Thu, 19 Feb 2015 01:41:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 64A942021F for ; Thu, 19 Feb 2015 01:41:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 86C5B20165 for ; Thu, 19 Feb 2015 01:41:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752186AbbBSBl5 (ORCPT ); Wed, 18 Feb 2015 20:41:57 -0500 Received: from mail-pd0-f176.google.com ([209.85.192.176]:37005 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751973AbbBSBl4 (ORCPT ); Wed, 18 Feb 2015 20:41:56 -0500 Received: by pdbfl12 with SMTP id fl12so5283862pdb.4 for ; Wed, 18 Feb 2015 17:41:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=PShXnKzBt1/DseoEAwp6Tkn0oeucGc399GuCZn9x3gA=; b=CruwfawxvOKBxhXY8ivtlZptBrmOyzKkY8De+IFQc8YfQ+xVigDdYipK3Lj9UgpSdn o2jXy6doBwqBIf12iAGqE6AEVisjd5dTteha91b1L2dK86+LGtLgx/18db35h+PMcMxS m1ERGbHb57NlstCujWtWPyPWBgnSB8qmYlFor7rIMCsywKeFSaeVi0uaGUm1db6oIZ16 lQqWT5J0TgkOG/Rj6tCfCjRyt8NhhSwrByXZ9S1nX3QRPcgSNO4xDABZsyadZhr187cQ RTkBmGGyG8kbM/iKuAAK+HGj1a2a+V7+PtY8zfvqSf+jbRmUPBrJrheVpqMP2cpIhKkB LTDA== X-Received: by 10.68.241.164 with SMTP id wj4mr3311238pbc.53.1424310116232; Wed, 18 Feb 2015 17:41:56 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id in3sm21890910pbb.12.2015.02.18.17.41.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Feb 2015 17:41:55 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm Date: Thu, 19 Feb 2015 10:42:16 +0900 Message-Id: <20150219014216.1795.43121.sendpatchset@little-apple> In-Reply-To: <20150219014207.1795.54467.sendpatchset@little-apple> References: <20150219014207.1795.54467.sendpatchset@little-apple> Subject: [PATCH 01/03] ARM: shmobile: Hack x86_64 to enable OF by default Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 From: Magnus Damm Select OF on x86_64 by default to allow building the OF portion of the R-Car DU driver on a 64-bit architecture. Not for upstream merge. Not-yet-Signed-off-by: Magnus Damm --- arch/x86/Kconfig | 1 + arch/x86/kernel/devicetree.c | 2 ++ 2 files changed, 3 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/arch/x86/Kconfig +++ work/arch/x86/Kconfig 2015-02-19 06:07:13.605531666 +0900 @@ -138,6 +138,7 @@ config X86 select HAVE_ACPI_APEI_NMI if ACPI select ACPI_LEGACY_TABLES_LOOKUP if ACPI select X86_FEATURE_NAMES if PROC_FS + select OF config INSTRUCTION_DECODER def_bool y --- 0001/arch/x86/kernel/devicetree.c +++ work/arch/x86/kernel/devicetree.c 2015-02-19 06:22:34.375528357 +0900 @@ -150,11 +150,13 @@ static void __init dtb_lapic_setup(void) if (WARN_ON(ret)) return; +#ifdef CONFIG_X86_32 /* Did the boot loader setup the local APIC ? */ if (!cpu_has_apic) { if (apic_force_enable(r.start)) return; } +#endif smp_found_config = 1; pic_mode = 1; register_lapic_address(r.start);