Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1261350
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Dave Young <dyoung@redhat.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 00/12] usb: early: add support for early printk through USB3 debug port |
| Date | Tue, 03 Nov 2015 10:50:04 +0100 |
| Message-ID | <qqGo4-WT-49@gated-at.bofh.it> (permalink) |
| References | <qotXY-8vm-19@gated-at.bofh.it> |
| X-Original-To | Lu Baolu <baolu.lu@linux.intel.com> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.22.1-rc1 (2013-10-16) |
| X-Scanned-By | MIMEDefang 2.68 on 10.5.11.26 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 34 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Mathias Nyman <mathias.nyman@intel.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Alan Stern <stern@rowland.harvard.edu>, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org |
| X-Original-Date | Tue, 3 Nov 2015 17:42:39 +0800 |
| X-Original-Message-ID | <20151103094239.GA6143@dhcp-128-100.nay.redhat.com> |
| X-Original-References | <1446019243-5565-1-git-send-email-baolu.lu@linux.intel.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1261350 |
Show key headers only | View raw
On 10/28/15 at 04:00pm, Lu Baolu wrote: > This patch series adds support for early printk through USB3 debug port. > USB3 debug port is described in xHCI specification as an optional extended > capability. > > The first patch adds a file in debugfs, through which users can check > whether the debug capability is supported by a specific host controller. > > Patch 2 to 10 add the driver for xHCI debug capability. It interfaces with > the register set and provides the required ops (read/write/control) to upper > layers. Early printk is one consumer of these ops. The hooks for early printk > are introduced in patch 9. This design is similar to what we have done in > drivers/usb/early/ehci-dbgp.c. > > Patch 11 is a minor change to usb_debug module. This change is required to > bind usb_debug with the USB3 debug device. > > Patch 12 is the design document and user guide. > Nice work, I want to try your patches. But I have only one machine with debug capability, I think I can use it as debug target. Can I use another machine with usb 3.0 but no debug capability as the debug host? BTW, I hacked a cable according to usb 3 spec, cut vbus/d+/d-, cross wired ss pins. Thanks Dave -- 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 | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH 00/12] usb: early: add support for early printk through USB3 debug port Dave Young <dyoung@redhat.com> - 2015-11-03 10:50 +0100 Re: [PATCH 00/12] usb: early: add support for early printk through USB3 debug port "Lu, Baolu" <baolu.lu@linux.intel.com> - 2015-11-04 01:50 +0100
csiph-web