Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1265427

[PATCH v3 02/12] x86: fixmap: add permanent fixmap for xhci debug port

From Lu Baolu <baolu.lu@linux.intel.com>
Newsgroups linux.kernel
Subject [PATCH v3 02/12] x86: fixmap: add permanent fixmap for xhci debug port
Date 2015-11-09 08:50 +0100
Message-ID <qsPnc-3rE-21@gated-at.bofh.it> (permalink)
References <qsPnb-3rE-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


xHCI compatible USB3 host controller may provide debug capability
which enables low-level system debug over USB. In order to probing
this debug capability, Linux kernel needs to map and access the
mmio of the host controller during early boot.

This patch adds permenent fixmap pages in fixed_addresses table for
xHCI mmio access.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
---
 arch/x86/include/asm/fixmap.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/x86/include/asm/fixmap.h b/arch/x86/include/asm/fixmap.h
index f80d700..fbf452f 100644
--- a/arch/x86/include/asm/fixmap.h
+++ b/arch/x86/include/asm/fixmap.h
@@ -82,6 +82,10 @@ enum fixed_addresses {
 #ifdef CONFIG_PROVIDE_OHCI1394_DMA_INIT
 	FIX_OHCI1394_BASE,
 #endif
+#ifdef CONFIG_EARLY_PRINTK_XDBC
+	FIX_XDBC_BASE,
+	FIX_XDBC_END = FIX_XDBC_BASE + 15,
+#endif
 #ifdef CONFIG_X86_LOCAL_APIC
 	FIX_APIC_BASE,	/* local (CPU) APIC) -- required for SMP or not */
 #endif
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 00/12] usb: early: add support for early printk through USB3 debug port Lu Baolu <baolu.lu@linux.intel.com> - 2015-11-09 08:50 +0100
  [PATCH v3 11/12] usb: serial: usb_debug: add support for dbc debug device Lu Baolu <baolu.lu@linux.intel.com> - 2015-11-09 08:50 +0100
  [PATCH v3 09/12] x86: early_printk: add USB3 debug port earlyprintk support Lu Baolu <baolu.lu@linux.intel.com> - 2015-11-09 08:50 +0100
  [PATCH v3 04/12] usb: xhci: dbc: add support for Intel xHCI dbc quirk Lu Baolu <baolu.lu@linux.intel.com> - 2015-11-09 08:50 +0100
  [PATCH v3 02/12] x86: fixmap: add permanent fixmap for xhci debug port Lu Baolu <baolu.lu@linux.intel.com> - 2015-11-09 08:50 +0100
  [PATCH v3 10/12] usb: xhci: dbc: add handshake between debug target and host Lu Baolu <baolu.lu@linux.intel.com> - 2015-11-09 08:50 +0100
  [PATCH v3 07/12] usb: xhci: dbc: handle dbc-configured exit Lu Baolu <baolu.lu@linux.intel.com> - 2015-11-09 08:50 +0100
  [PATCH v3 01/12] usb: xhci: add sysfs file for xHCI debug port Lu Baolu <baolu.lu@linux.intel.com> - 2015-11-09 08:50 +0100
    Re: [PATCH v3 01/12] usb: xhci: add sysfs file for xHCI debug port Dave Young <dyoung@redhat.com> - 2015-11-10 10:40 +0100
      Re: [PATCH v3 01/12] usb: xhci: add sysfs file for xHCI debug port "Lu, Baolu" <baolu.lu@linux.intel.com> - 2015-11-11 03:10 +0100
  Re: [PATCH v3 00/12] usb: early: add support for early printk  through USB3 debug port Dave Young <dyoung@redhat.com> - 2015-11-10 10:50 +0100
    Re: [PATCH v3 00/12] usb: early: add support for early printk through  USB3 debug port "Lu, Baolu" <baolu.lu@linux.intel.com> - 2015-11-11 02:40 +0100
      Re: [PATCH v3 00/12] usb: early: add support for early printk  through USB3 debug port Dave Young <dyoung@redhat.com> - 2015-11-11 03:30 +0100
        Re: [PATCH v3 00/12] usb: early: add support for early printk through  USB3 debug port "Lu, Baolu" <baolu.lu@linux.intel.com> - 2015-11-11 03:50 +0100
        Re: [PATCH v3 00/12] usb: early: add support for early printk through  USB3 debug port "Lu, Baolu" <baolu.lu@linux.intel.com> - 2015-11-11 07:00 +0100
        Re: [PATCH v3 00/12] usb: early: add support for early printk through  USB3 debug port "Lu, Baolu" <baolu.lu@linux.intel.com> - 2015-11-12 03:50 +0100
          Re: [PATCH v3 00/12] usb: early: add support for early printk  through USB3 debug port Dave Young <dyoung@redhat.com> - 2015-11-12 07:10 +0100
            Re: [PATCH v3 00/12] usb: early: add support for early printk through  USB3 debug port "Lu, Baolu" <baolu.lu@linux.intel.com> - 2015-11-13 03:10 +0100
              Re: [PATCH v3 00/12] usb: early: add support for early printk  through USB3 debug port Dave Young <dyoung@redhat.com> - 2015-11-13 03:30 +0100
                Re: [PATCH v3 00/12] usb: early: add support for early printk through  USB3 debug port Lu Baolu <baolu.lu@linux.intel.com> - 2015-11-13 07:30 +0100

csiph-web