Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1614298
| From | Benjamin Herrenschmidt <benh@kernel.crashing.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] drivers/serial: Add driver for Aspeed virtual UART |
| Date | 2017-03-31 23:40 +0200 |
| Message-ID | <trcr0-1C9-15@gated-at.bofh.it> (permalink) |
| References | <tpSaZ-332-3@gated-at.bofh.it> <tpSaZ-332-1@gated-at.bofh.it> <tr4Wu-5cZ-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, 2017-03-31 at 15:31 +0200, Greg Kroah-Hartman wrote: > DEVICE_ATTR_RW()? > > And why random sysfs files for a uart? Where have you documented > these? We should stick a file somewhere in Documentation I suppose or at least put that in a comment blob at the head of the file. FYI: The VUART is basically two UART 'front ends' connected by their FIFO (no actual serial line in between). One is on the BMC side (management controller) and one is on the host CPU side. It allows the BMC to provide to the host a "UART" that pipes into the BMC itself and can then be turned by the BMC into a network console of some sort for example. This driver is for the BMC side. The sysfs files allow the BMC userspace which owns the system configuration policy, to specify at what IO port and interrupt number the host side will appear to the host on the Host <-> BMC LPC bus. It could be different on a different system (though most of them use 3f8/4). Cheers, Ben.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 2/2] drivers/serial: Add driver for Aspeed virtual UART Joel Stanley <joel@jms.id.au> - 2017-03-28 07:50 +0200
Re: [PATCH 2/2] drivers/serial: Add driver for Aspeed virtual UART Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-03-31 15:40 +0200
Re: [PATCH 2/2] drivers/serial: Add driver for Aspeed virtual UART Benjamin Herrenschmidt <benh@kernel.crashing.org> - 2017-03-31 23:40 +0200
Re: [PATCH 2/2] drivers/serial: Add driver for Aspeed virtual UART Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-04-02 15:10 +0200
Re: [PATCH 2/2] drivers/serial: Add driver for Aspeed virtual UART Benjamin Herrenschmidt <benh@kernel.crashing.org> - 2017-04-02 23:20 +0200
Re: [PATCH 2/2] drivers/serial: Add driver for Aspeed virtual UART Joel Stanley <joel@jms.id.au> - 2017-04-03 09:20 +0200
Re: [PATCH 2/2] drivers/serial: Add driver for Aspeed virtual UART Rob Herring <robh@kernel.org> - 2017-04-03 16:30 +0200
csiph-web