mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Cohen <david.a.cohen@linux.intel.com>
To: hpa@zytor.com, mingo@redhat.com, tglx@linutronix.de, x86@kernel.org
Cc: linux-kernel@vger.kernel.org,
	David Cohen <david.a.cohen@linux.intel.com>
Subject: [PATCH v4 11/12] x86: intel-mid: add section for sfi device table
Date: Tue, 15 Oct 2013 16:42:47 -0700	[thread overview]
Message-ID: <1381880568-20730-12-git-send-email-david.a.cohen@linux.intel.com> (raw)
In-Reply-To: <1381880568-20730-1-git-send-email-david.a.cohen@linux.intel.com>

When Intel mid uses SFI table to enumerate devices, it requires an extra
device table with further information about how to probe such devices.

This patch creates a section where the device table will stay if
CONFIG_X86_INTEL_MID is selected.

Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
---
 arch/x86/kernel/vmlinux.lds.S | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
index 10c4f30..da6b35a 100644
--- a/arch/x86/kernel/vmlinux.lds.S
+++ b/arch/x86/kernel/vmlinux.lds.S
@@ -199,6 +199,15 @@ SECTIONS
 		__x86_cpu_dev_end = .;
 	}
 
+#ifdef CONFIG_X86_INTEL_MID
+	.x86_intel_mid_dev.init : AT(ADDR(.x86_intel_mid_dev.init) - \
+								LOAD_OFFSET) {
+		__x86_intel_mid_dev_start = .;
+		*(.x86_intel_mid_dev.init)
+		__x86_intel_mid_dev_end = .;
+	}
+#endif
+
 	/*
 	 * start address and size of operations which during runtime
 	 * can be patched with virtualization friendly instructions or
-- 
1.8.4.rc3


  parent reply	other threads:[~2013-10-15 23:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-15 23:42 [PATCH v4 00/12] rework arch/x86/platform/[mrst => intel-mid] David Cohen
2013-10-15 23:42 ` [PATCH v4 01/12] mrst: Fixed printk/pr_* related issues David Cohen
2013-10-15 23:42 ` [PATCH v4 02/12] mrst: Fixed indentation issues David Cohen
2013-10-15 23:42 ` [PATCH v4 03/12] mrst: Fixed checkpatch warnings David Cohen
2013-10-15 23:42 ` [PATCH v4 04/12] intel_mid: Renamed *mrst* to *intel_mid* David Cohen
2013-10-15 23:42 ` [PATCH v4 05/12] " David Cohen
2013-10-15 23:42 ` [PATCH v4 06/12] intel_mid: Refactored sfi_parse_devs() function David Cohen
2013-10-15 23:42 ` [PATCH v4 07/12] intel_mid: Added custom device_handler support David Cohen
2013-10-15 23:42 ` [PATCH v4 08/12] intel_mid: Added custom handler for ipc devices David Cohen
2013-10-15 23:42 ` [PATCH v4 09/12] intel_mid: Moved SFI related code to sfi.c David Cohen
2013-10-15 23:42 ` [PATCH v4 10/12] intel-mid: sfi: allow struct devs_id.get_platform_data to be NULL David Cohen
2013-10-15 23:42 ` David Cohen [this message]
2013-10-15 23:42 ` [PATCH v4 12/12] intel_mid: Moved board related code to a new file David Cohen
2013-10-15 23:44   ` H. Peter Anvin
2013-10-15 23:53     ` David Cohen
2013-10-16  0:45       ` H. Peter Anvin
2013-10-16  3:59         ` David Cohen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1381880568-20730-12-git-send-email-david.a.cohen@linux.intel.com \
    --to=david.a.cohen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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