Re: [PATCH V6] serial: msm_geni_serial_console : Add Earlycon support

From: Greg KH
Date: Wed Jul 08 2020 - 11:40:35 EST


On Wed, Jul 08, 2020 at 08:06:52PM +0530, Mukesh, Savaliya wrote:
>
> On 6/24/2020 1:19 AM, Bjorn Andersson wrote:
> > On Mon 22 Jun 03:08 PDT 2020, Akash Asthana wrote:
> >
> > > From: Mukesh Kumar Savaliya <msavaliy@xxxxxxxxxxxxxx>
> > >
> > > This change enables earlyconsole support as static driver for geni
> > > based UART. Kernel space UART console driver will be generic for
> > > console and other usecases of UART.
> > >
> > Is this hardware different from the qcom,geni-debug-uart which we
> > already have EARLYCON support for?
> >
> > Why is this a separate driver?
>
> The Hardware is same, but for the Generic kernel image we are using
> downstream driver which can't be a static compiled driver.

Why not? Why not fix that?

> The same driver file has  1.earlyconsole, 2.kernel console and 3.HSUART
> driver parts.
>
> To make Generic image, 2 and 3 are internal downstream driver and 1st one i
> am trying to get upstreamed, so that can be pulled into the ACK.

That has nothing to do with us, please do it correctly so that everyone
benifits.

> The one with the qcom,genu-debug-uart is not being used for our products.

So we can just delete it from the tree?

thanks,

greg k-h