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


Groups > linux.kernel > #1515265

Re: [PATCH v3] console: use first console if stdout-path device doesn't appear

From Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3] console: use first console if stdout-path device doesn't appear
Date 2016-11-04 16:50 +0100
Message-ID <szOUF-3Dx-15@gated-at.bofh.it> (permalink)
References <syulk-EP-9@gated-at.bofh.it> <szpWi-4jL-33@gated-at.bofh.it> <szujf-70x-11@gated-at.bofh.it> <szxAu-NU-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Paul,

On (11/03/16 21:17), Paul Burton wrote:
> > [..]
> > > +			 * The device tree stdout-path chosen node property was
> > > +			 * specified so we don't want to enable the first
> > > +			 * registered console just now in order to give the
> > > +			 * device indicated by stdout-path a chance to be
> > > +			 * registered first. Do however keep track of the
> > > +			 * first console we see so that we can fall back to
> > > +			 * using it if we don't see the desired device, either
> > > +			 * because stdout-path isn't valid, or because we have
> > > +			 * no driver for the device or our driver doesn't call
> > > +			 * of_console_check(). See printk_late_init() for this
> > > +			 * fallback.
> > 
> > if the path is not valid then correct the path. no?
> 
> ...but what if the path is valid and we simply don't have a driver for the 
> device it references? As I said in that comment we may not have a driver at 
> all.

well, I suppose, in this case normally one would go and enable the
missing .config option. no?

	-ss

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


Thread

Re: [PATCH] console: use first console if stdout-path device doesn't appear Andreas Schwab <schwab@linux-m68k.org> - 2016-10-30 10:50 +0100
  Re: [PATCH] console: use first console if stdout-path device doesn't appear Michael Ellerman <mpe@ellerman.id.au> - 2016-10-31 06:30 +0100
    [PATCH v2] console: use first console if stdout-path device doesn't appear Paul Burton <paul.burton@imgtec.com> - 2016-10-31 13:20 +0100
      Re: [PATCH v2] console: use first console if stdout-path device  doesn't appear Larry Finger <Larry.Finger@lwfinger.net> - 2016-10-31 17:00 +0100
      Re: [PATCH v2] console: use first console if stdout-path device doesn't appear Paul Burton <paul.burton@imgtec.com> - 2016-10-31 17:00 +0100
        Re: [PATCH v2] console: use first console if stdout-path device  doesn't appear Larry Finger <Larry.Finger@lwfinger.net> - 2016-10-31 20:30 +0100
        Re: [PATCH v2] console: use first console if stdout-path device  doesn't appear Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-11-01 00:20 +0100
          Re: [PATCH v2] console: use first console if stdout-path device  doesn't appear Larry Finger <Larry.Finger@lwfinger.net> - 2016-11-01 00:40 +0100
            [PATCH v3] console: use first console if stdout-path device doesn't appear Paul Burton <paul.burton@imgtec.com> - 2016-11-03 14:10 +0100
              Re: [PATCH v3] console: use first console if stdout-path device  doesn't appear Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-11-03 18:50 +0100
                Re: [PATCH v3] console: use first console if stdout-path device doesn't appear Paul Burton <paul.burton@imgtec.com> - 2016-11-03 22:20 +0100
                Re: [PATCH v3] console: use first console if stdout-path device  doesn't appear Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-11-04 16:50 +0100
              Re: [PATCH v3] console: use first console if stdout-path device doesn't appear Andreas Schwab <schwab@linux-m68k.org> - 2016-11-04 09:10 +0100
              Re: [PATCH v3] console: use first console if stdout-path device doesn't appear Paul Burton <paul.burton@imgtec.com> - 2016-11-07 10:20 +0100
                Re: [PATCH v3] console: use first console if stdout-path device  doesn't appear Larry Finger <Larry.Finger@lwfinger.net> - 2016-11-07 16:30 +0100
                Re: [PATCH v3] console: use first console if stdout-path device doesn't appear Paul Burton <paul.burton@imgtec.com> - 2016-11-07 18:30 +0100
                Re: [PATCH v3] console: use first console if stdout-path device  doesn't appear Larry Finger <Larry.Finger@lwfinger.net> - 2016-11-07 19:30 +0100
                revert 05fd007e46296afb (was: [PATCH v3] console: use first console  if stdout-path device doesn't appear) Sergey Senozhatsky <sergey.senozhatsky@gmail.com> - 2016-11-08 14:30 +0100
            Re: [PATCH v2] console: use first console if stdout-path device doesn't appear Paul Burton <paul.burton@imgtec.com> - 2016-11-03 14:10 +0100
          Re: [PATCH v2] console: use first console if stdout-path device doesn't appear Michael Ellerman <mpe@ellerman.id.au> - 2016-11-01 05:40 +0100
    Re: [PATCH] console: use first console if stdout-path device doesn't appear Paul Burton <paul.burton@imgtec.com> - 2016-10-31 13:30 +0100

csiph-web