All of lore.kernel.org
 help / color / mirror / Atom feed
* 8250 extend OF compatible list ns16550a
@ 2009-11-24  9:21 monstr
  2009-11-24  9:21 ` [PATCH] serial: 8250: Add ns16550a to OF compatible list monstr
  0 siblings, 1 reply; 7+ messages in thread
From: monstr @ 2009-11-24  9:21 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-serial, grant.likely, john.williams, stable, chrisw, greg

Hi,

I need to extend OF compatible list for ns16550a.
I added this patch to microblaze next branch that's why
you can find it in next tree tomorrow.

Please add it to serial tree.

Could you please add this patch to stable tree too?
We would like to start to use stable tree. 

Thanks,
Michal




^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH] serial: 8250: Add ns16550a to OF compatible list
  2009-11-24  9:21 8250 extend OF compatible list ns16550a monstr
@ 2009-11-24  9:21 ` monstr
  2009-11-24  9:53   ` Arnd Bergmann
  0 siblings, 1 reply; 7+ messages in thread
From: monstr @ 2009-11-24  9:21 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-serial, grant.likely, john.williams, stable, chrisw, greg,
	Michal Simek

From: Michal Simek <monstr@monstr.eu>

Signed-off-by: Michal Simek <monstr@monstr.eu>
---
 drivers/serial/of_serial.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/serial/of_serial.c b/drivers/serial/of_serial.c
index 02406ba..b047c38 100644
--- a/drivers/serial/of_serial.c
+++ b/drivers/serial/of_serial.c
@@ -161,6 +161,7 @@ static int of_platform_serial_remove(struct of_device *ofdev)
 static struct of_device_id __devinitdata of_platform_serial_table[] = {
 	{ .type = "serial", .compatible = "ns8250",   .data = (void *)PORT_8250, },
 	{ .type = "serial", .compatible = "ns16450",  .data = (void *)PORT_16450, },
+	{ .type = "serial", .compatible = "ns16550a",  .data = (void *)PORT_16550A, },
 	{ .type = "serial", .compatible = "ns16550",  .data = (void *)PORT_16550, },
 	{ .type = "serial", .compatible = "ns16750",  .data = (void *)PORT_16750, },
 	{ .type = "serial", .compatible = "ns16850",  .data = (void *)PORT_16850, },
-- 
1.5.5.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] serial: 8250: Add ns16550a to OF compatible list
  2009-11-24  9:21 ` [PATCH] serial: 8250: Add ns16550a to OF compatible list monstr
@ 2009-11-24  9:53   ` Arnd Bergmann
  2009-11-24 10:21     ` Michal Simek
  2009-11-24 14:35     ` [stable] " Greg KH
  0 siblings, 2 replies; 7+ messages in thread
From: Arnd Bergmann @ 2009-11-24  9:53 UTC (permalink / raw)
  To: monstr
  Cc: linux-kernel, linux-serial, grant.likely, john.williams, stable,
	chrisw, greg, alonz

On Tuesday 24 November 2009 09:21:42 monstr@monstr.eu wrote:
> From: Michal Simek <monstr@monstr.eu>
> 
> Signed-off-by: Michal Simek <monstr@monstr.eu>

I was holding off on that patch to make sure the discussion had ended,
but this part certainly looks good.

Some points on form though:

* The patch is missing a changelog, which is always required, but especially
important if you're changing code that you want in -stable!

* You did not cc me. Ok, I just noticed I'm missing an entry in the MAINTAINERS
file, but scripts/get_maintainer.pl would have given you a good indication of
who feels responsible. You also didn't cc Alon, who submitted a similar patch
[1] just days ago, which I assume prompted you to send this. If you didn't see
his patch, nevermind.

* Patches go into mainline first, then into stable [2]. Asking for inclusion into
-stable for a patch that is still being discussed for inclusion in -next is
the wrong order, no matter how obvious and trivial the patch is.

Anyway, thanks for the patch. I'll follow up with a new version with a better
changelog for the tty tree. Any suggestions about what to do on 2.6.32?
Should it go in there now, or would this go into a -stable release since
it's not a regression?

Acked-by: Arnd Bergmann <arnd@arndb.de>

[1] http://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg39015.html
[2] http://lkml.indiana.edu/hypermail/linux/kernel/0504.3/1369.html

> ---
>  drivers/serial/of_serial.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/serial/of_serial.c b/drivers/serial/of_serial.c
> index 02406ba..b047c38 100644
> --- a/drivers/serial/of_serial.c
> +++ b/drivers/serial/of_serial.c
> @@ -161,6 +161,7 @@ static int of_platform_serial_remove(struct of_device *ofdev)
>  static struct of_device_id __devinitdata of_platform_serial_table[] = {
>  	{ .type = "serial", .compatible = "ns8250",   .data = (void *)PORT_8250, },
>  	{ .type = "serial", .compatible = "ns16450",  .data = (void *)PORT_16450, },
> +	{ .type = "serial", .compatible = "ns16550a",  .data = (void *)PORT_16550A, },
>  	{ .type = "serial", .compatible = "ns16550",  .data = (void *)PORT_16550, },
>  	{ .type = "serial", .compatible = "ns16750",  .data = (void *)PORT_16750, },
>  	{ .type = "serial", .compatible = "ns16850",  .data = (void *)PORT_16850, },
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] serial: 8250: Add ns16550a to OF compatible list
  2009-11-24  9:53   ` Arnd Bergmann
@ 2009-11-24 10:21     ` Michal Simek
  2009-11-24 10:33       ` Arnd Bergmann
  2009-11-24 14:35     ` [stable] " Greg KH
  1 sibling, 1 reply; 7+ messages in thread
From: Michal Simek @ 2009-11-24 10:21 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: linux-kernel, linux-serial, grant.likely, john.williams, stable,
	chrisw, greg, alonz

Arnd Bergmann wrote:
> On Tuesday 24 November 2009 09:21:42 monstr@monstr.eu wrote:
>> From: Michal Simek <monstr@monstr.eu>
>>
>> Signed-off-by: Michal Simek <monstr@monstr.eu>
> 
> I was holding off on that patch to make sure the discussion had ended,
> but this part certainly looks good.

:-) it is my next branch - I don't want to propose this patch through my 
tree.

> 
> Some points on form though:
> 
> * The patch is missing a changelog, which is always required, but especially
> important if you're changing code that you want in -stable!

it is simple almost trivial patch but if you like I can write there some 
background.

> 
> * You did not cc me. Ok, I just noticed I'm missing an entry in the MAINTAINERS
> file, but scripts/get_maintainer.pl would have given you a good indication of
> who feels responsible. You also didn't cc Alon, who submitted a similar patch
> [1] just days ago, which I assume prompted you to send this. If you didn't see
> his patch, nevermind.

you are not there. I have never used get_maintainer.pl script - will do.

I haven't seen his patch in LKML. Which subject?

$ ./scripts/get_maintainer.pl -f drivers/serial/8250.c
Alan Cox <alan@linux.intel.com>
Andrew Morton <akpm@linux-foundation.org>
David Daney <ddaney@caviumnetworks.com>
Tomaso Paoletti <tpaoletti@caviumnetworks.com>
Greg Kroah-Hartman <gregkh@suse.de>
linux-serial@vger.kernel.org
linux-kernel@vger.kernel.org


> 
> * Patches go into mainline first, then into stable [2]. Asking for inclusion into
> -stable for a patch that is still being discussed for inclusion in -next is
> the wrong order, no matter how obvious and trivial the patch is.

ok - sorry.

> 
> Anyway, thanks for the patch. I'll follow up with a new version with a better
> changelog for the tty tree. Any suggestions about what to do on 2.6.32?
> Should it go in there now, or would this go into a -stable release since
> it's not a regression?

cool thanks.

Michal

> 
> Acked-by: Arnd Bergmann <arnd@arndb.de>
> 
> [1] http://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg39015.html
> [2] http://lkml.indiana.edu/hypermail/linux/kernel/0504.3/1369.html
> 
>> ---
>>  drivers/serial/of_serial.c |    1 +
>>  1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/drivers/serial/of_serial.c b/drivers/serial/of_serial.c
>> index 02406ba..b047c38 100644
>> --- a/drivers/serial/of_serial.c
>> +++ b/drivers/serial/of_serial.c
>> @@ -161,6 +161,7 @@ static int of_platform_serial_remove(struct of_device *ofdev)
>>  static struct of_device_id __devinitdata of_platform_serial_table[] = {
>>  	{ .type = "serial", .compatible = "ns8250",   .data = (void *)PORT_8250, },
>>  	{ .type = "serial", .compatible = "ns16450",  .data = (void *)PORT_16450, },
>> +	{ .type = "serial", .compatible = "ns16550a",  .data = (void *)PORT_16550A, },
>>  	{ .type = "serial", .compatible = "ns16550",  .data = (void *)PORT_16550, },
>>  	{ .type = "serial", .compatible = "ns16750",  .data = (void *)PORT_16750, },
>>  	{ .type = "serial", .compatible = "ns16850",  .data = (void *)PORT_16850, },
>>


-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] serial: 8250: Add ns16550a to OF compatible list
  2009-11-24 10:21     ` Michal Simek
@ 2009-11-24 10:33       ` Arnd Bergmann
  2009-11-24 10:38         ` Michal Simek
  0 siblings, 1 reply; 7+ messages in thread
From: Arnd Bergmann @ 2009-11-24 10:33 UTC (permalink / raw)
  To: monstr
  Cc: linux-kernel, linux-serial, grant.likely, john.williams, stable,
	chrisw, greg, alonz

On Tuesday 24 November 2009 10:21:07 Michal Simek wrote:
> Arnd Bergmann wrote:
> 
> it is simple almost trivial patch but if you like I can write there some 
> background.

Already submitted again with some text
 
> > 
> > * You did not cc me. Ok, I just noticed I'm missing an entry in the MAINTAINERS
> > file, but scripts/get_maintainer.pl would have given you a good indication of
> > who feels responsible. You also didn't cc Alon, who submitted a similar patch
> > [1] just days ago, which I assume prompted you to send this. If you didn't see
> > his patch, nevermind.
> 
> you are not there. I have never used get_maintainer.pl script - will do.
> 
> I haven't seen his patch in LKML. Which subject?

see the link at the bottom of my mail, referenced through "[1]" above.
It was cross-posted on some mailing lists, but unfortunately not on lkml.

> $ ./scripts/get_maintainer.pl -f drivers/serial/8250.c
> Alan Cox <alan@linux.intel.com>
> Andrew Morton <akpm@linux-foundation.org>
> David Daney <ddaney@caviumnetworks.com>
> Tomaso Paoletti <tpaoletti@caviumnetworks.com>
> Greg Kroah-Hartman <gregkh@suse.de>
> linux-serial@vger.kernel.org
> linux-kernel@vger.kernel.org
 
wrong file: 
./scripts/get_maintainer.pl -f drivers/serial/of_serial.c
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Arnd Bergmann <arnd@arndb.de>
Matthias Fuchs <mfuchs@ma-fu.de>
Dave Mitchell <dmitchell@amcc.com>
Andrew Morton <akpm@linux-foundation.org>
Grant Likely <grant.likely@secretlab.ca>
linux-kernel@vger.kernel.org
devicetree-discuss@lists.ozlabs.org

> > [1] http://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg39015.html
> > [2] http://lkml.indiana.edu/hypermail/linux/kernel/0504.3/1369.html

	Arnd <>< 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] serial: 8250: Add ns16550a to OF compatible list
  2009-11-24 10:33       ` Arnd Bergmann
@ 2009-11-24 10:38         ` Michal Simek
  0 siblings, 0 replies; 7+ messages in thread
From: Michal Simek @ 2009-11-24 10:38 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: linux-kernel, linux-serial, grant.likely, john.williams, stable,
	chrisw, greg, alonz

Arnd Bergmann wrote:
> On Tuesday 24 November 2009 10:21:07 Michal Simek wrote:
>> Arnd Bergmann wrote:
>>
>> it is simple almost trivial patch but if you like I can write there some 
>> background.
> 
> Already submitted again with some text
>  
>>> * You did not cc me. Ok, I just noticed I'm missing an entry in the MAINTAINERS
>>> file, but scripts/get_maintainer.pl would have given you a good indication of
>>> who feels responsible. You also didn't cc Alon, who submitted a similar patch
>>> [1] just days ago, which I assume prompted you to send this. If you didn't see
>>> his patch, nevermind.
>> you are not there. I have never used get_maintainer.pl script - will do.
>>
>> I haven't seen his patch in LKML. Which subject?
> 
> see the link at the bottom of my mail, referenced through "[1]" above.
> It was cross-posted on some mailing lists, but unfortunately not on lkml.

:-)

> 
>> $ ./scripts/get_maintainer.pl -f drivers/serial/8250.c
>> Alan Cox <alan@linux.intel.com>
>> Andrew Morton <akpm@linux-foundation.org>
>> David Daney <ddaney@caviumnetworks.com>
>> Tomaso Paoletti <tpaoletti@caviumnetworks.com>
>> Greg Kroah-Hartman <gregkh@suse.de>
>> linux-serial@vger.kernel.org
>> linux-kernel@vger.kernel.org
>  
> wrong file: 
> ./scripts/get_maintainer.pl -f drivers/serial/of_serial.c
> Benjamin Herrenschmidt <benh@kernel.crashing.org>
> Arnd Bergmann <arnd@arndb.de>
> Matthias Fuchs <mfuchs@ma-fu.de>
> Dave Mitchell <dmitchell@amcc.com>
> Andrew Morton <akpm@linux-foundation.org>
> Grant Likely <grant.likely@secretlab.ca>
> linux-kernel@vger.kernel.org
> devicetree-discuss@lists.ozlabs.org

aaa. Anyway - you forget cc me. :-)

Michal

> 
>>> [1] http://www.mail-archive.com/linuxppc-dev@lists.ozlabs.org/msg39015.html
>>> [2] http://lkml.indiana.edu/hypermail/linux/kernel/0504.3/1369.html
> 
> 	Arnd <>< 


-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [stable] [PATCH] serial: 8250: Add ns16550a to OF compatible list
  2009-11-24  9:53   ` Arnd Bergmann
  2009-11-24 10:21     ` Michal Simek
@ 2009-11-24 14:35     ` Greg KH
  1 sibling, 0 replies; 7+ messages in thread
From: Greg KH @ 2009-11-24 14:35 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: monstr, chrisw, linux-kernel, grant.likely, alonz, linux-serial,
	stable, john.williams

On Tue, Nov 24, 2009 at 09:53:52AM +0000, Arnd Bergmann wrote:
> On Tuesday 24 November 2009 09:21:42 monstr@monstr.eu wrote:
> > From: Michal Simek <monstr@monstr.eu>
> > 
> > Signed-off-by: Michal Simek <monstr@monstr.eu>
> 
> I was holding off on that patch to make sure the discussion had ended,
> but this part certainly looks good.
> 
> Some points on form though:
> 
> * The patch is missing a changelog, which is always required, but especially
> important if you're changing code that you want in -stable!
> 
> * You did not cc me. Ok, I just noticed I'm missing an entry in the MAINTAINERS
> file, but scripts/get_maintainer.pl would have given you a good indication of
> who feels responsible. You also didn't cc Alon, who submitted a similar patch
> [1] just days ago, which I assume prompted you to send this. If you didn't see
> his patch, nevermind.
> 
> * Patches go into mainline first, then into stable [2]. Asking for inclusion into
> -stable for a patch that is still being discussed for inclusion in -next is
> the wrong order, no matter how obvious and trivial the patch is.

The easiest way to do this is to add:
	cc: stable <stable@kernel.org>
to the signed-off-by area of the patch.  Then, when it goes into Linus's
tree the stable developers will be automatically notified of it and suck
it into their tree as well, no additional work needs to be done by you
at all.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-11-24 14:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-24  9:21 8250 extend OF compatible list ns16550a monstr
2009-11-24  9:21 ` [PATCH] serial: 8250: Add ns16550a to OF compatible list monstr
2009-11-24  9:53   ` Arnd Bergmann
2009-11-24 10:21     ` Michal Simek
2009-11-24 10:33       ` Arnd Bergmann
2009-11-24 10:38         ` Michal Simek
2009-11-24 14:35     ` [stable] " Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.