mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 1/2] x86/platform/intel-mid: enable 64-bit build
@ 2016-01-15 20:11 Andy Shevchenko
  2016-01-15 20:11 ` [PATCH v1 2/2] x86/platform/intel-mid: Join string and fix SoC name Andy Shevchenko
  2016-01-19 13:37 ` [tip:x86/urgent] x86/platform/intel-mid: Enable 64-bit build tip-bot for Andy Shevchenko
  0 siblings, 2 replies; 4+ messages in thread
From: Andy Shevchenko @ 2016-01-15 20:11 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, linux-kernel,
	Mika Westerberg
  Cc: Andy Shevchenko

Intel Tangier SoC is known to have 64-bit dual core CPU. Enable 64-bit build
for it.

The kernel has been tested on Intel Edison board.

Linux buildroot 4.4.0-next-20160115+ #25 SMP Fri Jan 15 22:03:19 EET 2016 x86_64 GNU/Linux

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 74
model name      : Genuine Intel(R) CPU   4000  @  500MHz
stepping        : 8

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 arch/x86/Kconfig         | 3 +--
 arch/x86/kernel/head64.c | 8 ++++++++
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index ebb810f..0ebc19a 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -510,11 +510,10 @@ config X86_INTEL_CE
 
 config X86_INTEL_MID
 	bool "Intel MID platform support"
-	depends on X86_32
 	depends on X86_EXTENDED_PLATFORM
 	depends on X86_PLATFORM_DEVICES
 	depends on PCI
-	depends on PCI_GOANY
+	depends on X86_64 || (PCI_GOANY && X86_32)
 	depends on X86_IO_APIC
 	select SFI
 	select I2C
diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c
index f129a9a..2c0f340 100644
--- a/arch/x86/kernel/head64.c
+++ b/arch/x86/kernel/head64.c
@@ -192,5 +192,13 @@ void __init x86_64_start_reservations(char *real_mode_data)
 
 	reserve_ebda_region();
 
+	switch (boot_params.hdr.hardware_subarch) {
+	case X86_SUBARCH_INTEL_MID:
+		x86_intel_mid_early_setup();
+		break;
+	default:
+		break;
+	}
+
 	start_kernel();
 }
-- 
2.7.0.rc3

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-01-19 13:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-15 20:11 [PATCH v1 1/2] x86/platform/intel-mid: enable 64-bit build Andy Shevchenko
2016-01-15 20:11 ` [PATCH v1 2/2] x86/platform/intel-mid: Join string and fix SoC name Andy Shevchenko
2016-01-19 13:37   ` [tip:x86/urgent] " tip-bot for Andy Shevchenko
2016-01-19 13:37 ` [tip:x86/urgent] x86/platform/intel-mid: Enable 64-bit build tip-bot for Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome