linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lv Zheng <lv.zheng@intel.com>
To: Linux ACPI <linux-acpi@vger.kernel.org>
Cc: Len Brown <len.brown@intel.com>,
	Robert Moore <robert.moore@intel.com>,
	Ying Huang <ying.huang@intel.com>,
	Rui Zhang <rui.zhang@intel.com>, Lv Zheng <lv.zheng@intel.com>
Subject: [PATCH v3 0/2] ACPI: DBGP/DBG2 early console support for LPIA.
Date: Thu, 27 Sep 2012 16:40:47 +0800	[thread overview]
Message-ID: <cover.1348652044.git.lv.zheng@intel.com> (raw)
In-Reply-To: <cover.1347453194.git.zetalog@gmail.com>

Microsoft Debug Port Table (DBGP or DBG2) is used by the Windows SoC
platforms to describe their debugging facilities.
Recent Low Power Intel Architecture (LPIA) platforms have utilized
this for the SPI UART debug ports that are resident on their debug
boards.

This patch set enables the DBGP/DBG2 debug ports as an Linux early
console launcher.
The SPI UART debug ports support is also refined to co-exist with this
new usage model.

To use this facility on LPIA platforms, you need to enable the following
kernel configurations:
  CONFIG_EARLY_PRINTK_ACPI=y
  CONFIG_EARLY_PRINTK_INTEL_MID_SPI=y
Then you need to append the following kernel parameter to the kernel
command line in your the boot loader configuration file:
  earlyprintk=acpi

Version 3 of this patch set is the first version that will be published
in the Linux community.  Earlier versions are reviewed internally in
Intel.  This patch set keeps the version number to track the history
that is known to Intel internal developers.

Lv Zheng (2):
  ACPI: Add early console framework for DBGP/DBG2.
  ACPI: Add Intel MID SPI early console support.

 Documentation/kernel-parameters.txt        |    1 +
 arch/x86/Kconfig.debug                     |   25 ++++
 arch/x86/include/asm/mrst.h                |    2 +-
 arch/x86/kernel/acpi/boot.c                |    1 +
 arch/x86/kernel/early_printk.c             |   25 +++-
 arch/x86/platform/mrst/early_printk_mrst.c |  186 +----------------------
 drivers/acpi/Makefile                      |    2 +
 drivers/acpi/early_printk.c                |  201 +++++++++++++++++++++++++
 drivers/platform/x86/Makefile              |    2 +
 drivers/platform/x86/early/Makefile        |    5 +
 drivers/platform/x86/early/intel_mid_spi.c |  220 ++++++++++++++++++++++++++++
 include/acpi/actbl2.h                      |    1 +
 include/linux/acpi.h                       |   24 +++
 include/linux/intel_mid_early.h            |   12 ++
 14 files changed, 526 insertions(+), 181 deletions(-)
 create mode 100644 drivers/acpi/early_printk.c
 create mode 100644 drivers/platform/x86/early/Makefile
 create mode 100644 drivers/platform/x86/early/intel_mid_spi.c
 create mode 100644 include/linux/intel_mid_early.h

-- 
1.7.10


       reply	other threads:[~2012-09-27  0:41 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1347453194.git.zetalog@gmail.com>
2012-09-27  8:40 ` Lv Zheng [this message]
2012-09-27  8:41   ` [PATCH v3 1/2] ACPI: Add early console framework for DBGP/DBG2 Lv Zheng
2012-09-28 18:41     ` Konrad Rzeszutek Wilk
2012-10-08  3:24       ` Zheng, Lv
2012-10-09 16:48         ` Konrad Rzeszutek Wilk
2012-09-27  8:41   ` [PATCH v3 2/2] ACPI: Add Intel MID SPI early console support Lv Zheng
2012-09-28  5:24   ` [PATCH v4 0/2] ACPI: DBGP/DBG2 early console support for LPIA Zheng, Lv
2012-09-28  6:36   ` [RESEND PATCH " H. Peter Anvin
2012-10-06 18:42     ` Len Brown
2012-10-07 15:41       ` H. Peter Anvin
2012-10-08  0:51       ` Zheng, Lv
2012-10-10  3:23   ` [PATCH v6 1/2] ACPI: Add early console framework for DBGP/DBG2 Lv Zheng
2012-10-10 14:10     ` Konrad Rzeszutek Wilk
2012-10-10 23:39       ` Zheng, Lv
2012-10-10 17:44     ` Matthew Garrett
2012-10-12 19:24       ` Khalid Aziz
2013-06-04 10:53         ` Grant Likely
2013-06-04 13:23           ` Matthew Garrett
2013-06-04 13:35             ` Grant Likely
2012-10-10  3:23   ` [PATCH v6 2/2] ACPI: Add Intel MID SPI early console support Lv Zheng
2012-10-09  2:36 ` [PATCH v5 1/2] ACPI: Add early console framework for DBGP/DBG2 Lv Zheng
2012-10-09 17:02   ` Konrad Rzeszutek Wilk
2012-10-10  1:31     ` Zheng, Lv
2012-10-10 14:06       ` Konrad Rzeszutek Wilk
2012-10-10  1:40     ` Zheng, Lv
2012-10-09  2:37 ` [PATCH v5 2/2] ACPI: Add Intel MID SPI early console support Lv Zheng
2012-10-09 17:06   ` Konrad Rzeszutek Wilk
2012-10-10  1:33     ` Zheng, Lv
2012-10-10  3:10     ` Zheng, Lv

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=cover.1348652044.git.lv.zheng@intel.com \
    --to=lv.zheng@intel.com \
    --cc=len.brown@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=robert.moore@intel.com \
    --cc=rui.zhang@intel.com \
    --cc=ying.huang@intel.com \
    /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;
as well as URLs for NNTP newsgroup(s).