Merge branch 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 debug updates from Ingo Molnar:
"The biggest update is the addition of USB3 debug port based
early-console.
Greg was fine with the USB changes and with the routing of these
patches:
https://www.spinics.net/lists/linux-usb/msg155093.html"
* 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
usb/doc: Add document for USB3 debug port usage
usb/serial: Add DBC debug device support to usb_debug
x86/earlyprintk: Add support for earlyprintk via USB3 debug port
usb/early: Add driver for xhci debug capability
x86/timers: Add simple udelay calibration
This commit is contained in:
29
include/linux/usb/xhci-dbgp.h
Normal file
29
include/linux/usb/xhci-dbgp.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* Standalone xHCI debug capability driver
|
||||
*
|
||||
* Copyright (C) 2016 Intel Corporation
|
||||
*
|
||||
* Author: Lu Baolu <baolu.lu@linux.intel.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef __LINUX_XHCI_DBGP_H
|
||||
#define __LINUX_XHCI_DBGP_H
|
||||
|
||||
#ifdef CONFIG_EARLY_PRINTK_USB_XDBC
|
||||
int __init early_xdbc_parse_parameter(char *s);
|
||||
int __init early_xdbc_setup_hardware(void);
|
||||
void __init early_xdbc_register_console(void);
|
||||
#else
|
||||
static inline int __init early_xdbc_setup_hardware(void)
|
||||
{
|
||||
return -ENODEV;
|
||||
}
|
||||
static inline void __init early_xdbc_register_console(void)
|
||||
{
|
||||
}
|
||||
#endif /* CONFIG_EARLY_PRINTK_USB_XDBC */
|
||||
#endif /* __LINUX_XHCI_DBGP_H */
|
||||
Reference in New Issue
Block a user