Re: [PATCH 0/3] minitty: a minimal TTY layer alternative for embedded systems

2017-03-24 Thread Ard Biesheuvel
On 24 March 2017 at 13:53, Greg Kroah-Hartman wrote: > On Fri, Mar 24, 2017 at 08:31:45AM -0400, Nicolas Pitre wrote: >> On Fri, 24 Mar 2017, Greg Kroah-Hartman wrote: >> >> > meta-comment, any reason you didn't cc: linux-serial@vger as well? >> >> I didn't realize such a list even existed. I look

Re: [PATCH 0/3] minitty: a minimal TTY layer alternative for embedded systems

2017-03-24 Thread Nicolas Pitre
On Fri, 24 Mar 2017, Greg Kroah-Hartman wrote: > On Fri, Mar 24, 2017 at 08:31:45AM -0400, Nicolas Pitre wrote: > > That's the crux of the argument: touching the current TTY layer is NOT > > going to help keeping it stable. Here, not only I did remove features, > > but the ones I kept were reimp

Re: [PATCH 0/3] minitty: a minimal TTY layer alternative for embedded systems

2017-03-24 Thread Greg Kroah-Hartman
On Fri, Mar 24, 2017 at 08:31:45AM -0400, Nicolas Pitre wrote: > On Fri, 24 Mar 2017, Greg Kroah-Hartman wrote: > > > meta-comment, any reason you didn't cc: linux-serial@vger as well? > > I didn't realize such a list even existed. I looked up "TTY LAYER" in > the maintainer file. Ah, didn't no

Re: [PATCH 0/3] minitty: a minimal TTY layer alternative for embedded systems

2017-03-24 Thread Nicolas Pitre
On Fri, 24 Mar 2017, Greg Kroah-Hartman wrote: > meta-comment, any reason you didn't cc: linux-serial@vger as well? I didn't realize such a list even existed. I looked up "TTY LAYER" in the maintainer file. > On Thu, Mar 23, 2017 at 05:03:01PM -0400, Nicolas Pitre wrote: > > Many embedded syste

Re: [PATCH 0/3] minitty: a minimal TTY layer alternative for embedded systems

2017-03-24 Thread Nicolas Pitre
On Fri, 24 Mar 2017, Baruch Siach wrote: > Hi Nicolas, > > On Thu, Mar 23, 2017 at 05:03:01PM -0400, Nicolas Pitre wrote: > > Here's some numbers using a minimal ARM config. > > > > When CONFIG_TTY=y, the following files are linked into the kernel: > > > >textdata bss dec he

Re: [PATCH 0/3] minitty: a minimal TTY layer alternative for embedded systems

2017-03-23 Thread Greg Kroah-Hartman
meta-comment, any reason you didn't cc: linux-serial@vger as well? On Thu, Mar 23, 2017 at 05:03:01PM -0400, Nicolas Pitre wrote: > Many embedded systems don't need the full TTY layer support. Most of the > time, the TTY layer is only a conduit for outputting debugging messages > over a serial por

Re: [PATCH 0/3] minitty: a minimal TTY layer alternative for embedded systems

2017-03-23 Thread Baruch Siach
Hi Nicolas, On Thu, Mar 23, 2017 at 05:03:01PM -0400, Nicolas Pitre wrote: > Here's some numbers using a minimal ARM config. > > When CONFIG_TTY=y, the following files are linked into the kernel: > >textdata bss dec hex filename >8796 128 0892422dc drive

[PATCH 0/3] minitty: a minimal TTY layer alternative for embedded systems

2017-03-23 Thread Nicolas Pitre
Many embedded systems don't need the full TTY layer support. Most of the time, the TTY layer is only a conduit for outputting debugging messages over a serial port. The TTY layer also implements many features that are very unlikely to ever be used in such a setup. There is great potential for both