From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756571Ab3LEEel (ORCPT ); Wed, 4 Dec 2013 23:34:41 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:37934 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751663Ab3LEEei (ORCPT ); Wed, 4 Dec 2013 23:34:38 -0500 Date: Wed, 4 Dec 2013 20:35:44 -0800 From: Greg Kroah-Hartman To: Sergei Ianovich Cc: Heikki Krogerus , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jiri Slaby , "open list:SERIAL DRIVERS" Subject: Re: [PATCH 01/11] resolve PXA<->8250 serial device address conflict Message-ID: <20131205043544.GA28580@kroah.com> References: <1385879185-22455-1-git-send-email-ynvich@gmail.com> <1385879185-22455-2-git-send-email-ynvich@gmail.com> <20131202090253.GE3942@xps8300> <1385976238.12531.8.camel@host5.omatika.ru> <20131202094932.GF3942@xps8300> <1385980005.12531.21.camel@host5.omatika.ru> <20131202141033.GK3942@xps8300> <20131205041251.GA24906@kroah.com> <1386217896.7152.8.camel@host5.omatika.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1386217896.7152.8.camel@host5.omatika.ru> User-Agent: Mutt/1.5.22 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 05, 2013 at 08:31:36AM +0400, Sergei Ianovich wrote: > On Wed, 2013-12-04 at 20:12 -0800, Greg Kroah-Hartman wrote: > > On Mon, Dec 02, 2013 at 04:10:33PM +0200, Heikki Krogerus wrote: > > > On Mon, Dec 02, 2013 at 02:26:45PM +0400, Sergei Ianovich wrote: > > > > Who makes the decision which way to go? > > > > > > Greg and Russel make this decision. By having the pxa driver simply > > > register 8250 ports would probable reduce the code. Thats about the > > > biggest benefit from it. > > > > > > It would still be something nice to have IMO. Ideally all the > > > 8250/16x50 UARTs should register the ports with 8250_core.c, and not > > > create complete uart driver on their own. > > > > I agree, this is the best way to resolve this, having a separate uart > > driver isn't that good at all to be doing, if at all possible. > > I'm reading the last message as a confirmation that > drivers/tty/serial/pxa.c needs to be rewritten using 8250_core.c. Yes, how much work is this really? thanks, greg k-h