devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tomasz Figa <tomasz.figa@gmail.com>
To: "luke.leighton" <luke.leighton@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
	linux-arm-kernel@lists.infradead.org,
	devicetree-discuss <devicetree-discuss@ozlabs.org>,
	Stephen Warren <swarren@wwwdotorg.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	debian-arm@lists.debian.org,
	"jonsmirl@gmail.com" <jonsmirl@gmail.com>,
	Linux on small ARM machines <arm-netbook@lists.phcomp.co.uk>,
	debian-kernel@lists.debian.org,
	Maxime Ripard <maxime.ripard@free-electrons.com>
Subject: Re: [Arm-netbook] getting allwinner SoC support upstream (was Re: Uploading linux (3.9.4-1))
Date: Sat, 08 Jun 2013 10:28:38 +0200	[thread overview]
Message-ID: <4247099.i8S79t0Pua@flatron> (raw)
In-Reply-To: <CAPweEDxtC+OamcpVEQ3BULbN88hSJzKoi0fkNLBAdZD04LQCNQ@mail.gmail.com>

Luke,

On Friday 07 of June 2013 22:29:34 luke.leighton wrote:
> On Fri, Jun 7, 2013 at 7:59 PM, Thomas Petazzoni
> 
> <thomas.petazzoni@free-electrons.com> wrote:
> > Maxime will reply to this in more details, but I believe the status 
is:
> >  * Interrupt controller is working.
> >  * Clock drivers are working.
> >  * Pinctrl is working.
> >  * GPIO is working.
> >  * Timer is working.
> >  * UART is working
> >  * Watchdog is on its way (patches posted)
> >  * Ethernet is on its way (patches posted)
> >  * I2C is on its way (patches posted)
> 
>  ok so i've got this now in
> http://hands.com/~lkcl/allwinner_linux_proposal.txt - that leaves...
> well there's quite a bit: usb, sd/mmc (both variants: they changed the
> data structures around sun5i), nand (probably both - the allwinner one
> and the mtd one being done, reminds me: we need full documentation on
> the NAND chip), scsi, g2d - cedarx and more.
> 
>  what else should be raised, and to what benefit?

Now that the discussion went off from "you stupid kernel developers 
adopted DeviceTree without even asking a closed company about their 
proprietary solution, which does the same" to something a bit more 
constructive, let me point some of the benefits.

First let me remind you the proposals from one of my previous posts:

 - let Allwinner engineers join the relevant mailing lists - mostly linux-
arm-kernel, but also all the topic-specific ones, like linux-mmc, linux-
usb, linux-pm, devicetree-discuss, etc.

 - adjust their workflow to comply with rules of Linux kernel open 
source community (i.e. sending RFCs of things in development, getting code 
reviewed, addressing comments)

 - rework existing code to use widely-accepted, standard solutions 
available in upstream Linux kernel (although this is already mostly done 
by sunxi community) to avoid reinventing wheels - this is not only about 
DeviceTree, which you mentioned already in your proposal list, but also 
all the generic frameworks present in the kernel

Now the benefits of cooperation with Linux kernel community:

 - access to big knowledge base of all the Linux kernel developers 
participating in discussions on the mailing lists; any technical (and 
maybe non-technical?) problems related to the kernel can be discussed on 
the lists at any time; also this would be a good form of communication 
between Allwinner engineers and sunxi community

 - in-depth code review by experienced kernel developers that allows early 
spotting of issues and finding possible improvements of design and 
implementation; having this would avoid things like you mentioned with 
their usb driver

 - extended testing coverage - anyone can access the patches in 
development (through the ML or linux-next integration tree), test them on 
their board with Allwinner SoC and report any issues on respective mailing 
lists

 - ability to participate in development of the whole Linux kernel, 
including any existing and new generic frameworks, drivers, etc., in terms 
of discussion, sending patches, reviewing patches of other developers;

	this is very important to make sure that the part being developed
	suits the needs of everyone (or at least most of the parties)
	- you can't know that without enough discussion;

	this is also important to avoid reinventing wheels - there might
	be a useful part of code available in some internal tree of some
	company or developer, which could be just extended (or even used
	as is), without the need to reinvent it, but people must know
	about it first

That's all I can think of at the moment (+ all the proposals and benefits 
you have in your file already).

Best regards,
Tomasz

  reply	other threads:[~2013-06-08  8:28 UTC|newest]

Thread overview: 109+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAPweEDx3mAy40BZrzrKPRbvg7vKMj7KevDQ3m_v4p6Yo50eSGg@mail.gmail.com>
     [not found] ` <CAPweEDx3mAy40BZrzrKPRbvg7vKMj7KevDQ3m_v4p6Yo50eSGg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-05 20:46   ` getting allwinner SoC support upstream (was Re: Uploading linux (3.9.4-1)) jonsmirl-Re5JQEeQqe8AvxtiuMwx3w
2013-06-05 21:00     ` Stephen Warren
2013-06-05 21:16       ` Russell King - ARM Linux
2013-06-05 22:07         ` Luke Kenneth Casson Leighton
2013-06-06  8:16           ` Jean-Christophe PLAGNIOL-VILLARD
2013-06-05 22:22         ` Tomasz Figa
2013-06-05 21:24       ` Luke Kenneth Casson Leighton
2013-06-05 21:38         ` Lennart Sorensen
2013-06-05 22:10           ` Russell King - ARM Linux
2013-06-05 21:59         ` Henrik Nordström
2013-06-05 22:47           ` [Arm-netbook] " luke.leighton
     [not found]             ` <CAPweEDxMpeJc-w=Yd7d2OT=UisRBp2rxf-MPMDUCOG3EyJz1GQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-05 23:07               ` jonsmirl-Re5JQEeQqe8AvxtiuMwx3w
2013-06-05 23:26                 ` luke.leighton
2013-06-05 23:28                   ` [Arm-netbook] " jonsmirl
2013-06-05 23:40                   ` Henrik Nordström
2013-06-05 23:54                     ` luke.leighton
2013-06-06  0:01                       ` [Arm-netbook] " Tomasz Figa
2013-06-06  9:27                         ` Thomas Petazzoni
2013-06-06 10:02                           ` Tomasz Figa
2013-06-07 18:26                           ` luke.leighton
2013-06-07 18:59                             ` Thomas Petazzoni
2013-06-07 19:14                               ` luke.leighton
2013-06-07 21:29                               ` luke.leighton
2013-06-08  8:28                                 ` Tomasz Figa [this message]
2013-06-08  9:08                                   ` luke.leighton
2013-06-09 22:09                                     ` luke.leighton
2013-06-09 22:31                                       ` Russell King - ARM Linux
2013-06-09 23:30                                         ` luke.leighton
2013-06-07 22:08                             ` Maxime Ripard
2013-06-07 23:07                               ` luke.leighton
     [not found]                                 ` <CAPweEDwFHY_AbBxjspm7BvfdFHsxL5H594cFN4ZVC6QFpu4QGA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-07 23:09                                   ` Dennis Lan (dlan)
2013-06-07 23:17                                     ` luke.leighton
2013-06-06  9:49                         ` Mark Brown
2013-06-06 12:24                         ` luke.leighton
     [not found]                           ` <CAPweEDzYLDzh_-OWU61dtVhajZ40QpQgZKHFYDsh3FgF=r9_ag-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-06 12:43                             ` [Arm-netbook] " Tomasz Figa
2013-06-06 12:49                               ` luke.leighton
2013-06-06 13:02                                 ` [Arm-netbook] " Tomasz Figa
2013-06-07  7:52                                   ` luke.leighton
2013-06-07  8:40                                     ` Vladimir Pantelic
     [not found]                                       ` <51B19C85.9090407-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-06-07  9:08                                         ` [Arm-netbook] " Russell King - ARM Linux
     [not found]                                     ` <CAPweEDx_1fvAv9sROtPreoyyj_yDAuYb040fM2zPc+tf22d=YA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-07  8:57                                       ` Tomasz Figa
2013-06-07 10:32                                         ` Bjørn Mork
2013-06-07 19:02                                         ` luke.leighton
2013-06-07 19:16                                           ` Tomasz Figa
     [not found]                                           ` <CAPweEDwmgr2JbH+txDDjR_gDA2R2C1v=AuVCUVTs7RriMhZNiA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-07 19:30                                             ` Russell King - ARM Linux
2013-06-07 21:34                                               ` luke.leighton
2013-06-07 14:30                                     ` Lennart Sorensen
2013-06-06 13:10                           ` Russell King - ARM Linux
2013-06-07  8:02                             ` luke.leighton
     [not found]                               ` <CAPweEDyYt+pN+UaFuqWL5RrHpyuq_4So-tArmx3dr=0wLS+hwQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-07  8:49                                 ` Russell King - ARM Linux
2013-06-07 10:26                               ` Henrik Nordström
2013-06-07 17:30                               ` Stephen Warren
2013-06-06 14:02                           ` Theodore Ts'o
     [not found]                             ` <20130606140250.GA4839-AKGzg7BKzIDYtjvyW6yDsg@public.gmane.org>
2013-06-06 15:05                               ` Olof Johansson
2013-06-06  0:19                       ` Henrik Nordström
2013-06-06 12:22                         ` luke.leighton
2013-06-06 12:51                           ` Vladimir Pantelic
2013-06-07  7:40                             ` [Arm-netbook] " luke.leighton
2013-06-07  7:48                               ` Vladimir Pantelic
2013-06-07  8:06                                 ` luke.leighton
2013-06-07  8:18                                   ` [Arm-netbook] " Alexandre Belloni
2013-06-07 18:15                                     ` luke.leighton
2013-06-07 14:49                                   ` joem
2013-06-07 18:26                                     ` [Arm-netbook] " Russell King - ARM Linux
2013-06-07 19:18                                       ` Luke Kenneth Casson Leighton
2013-06-07 19:31                                         ` Ben Hutchings
     [not found]                                         ` <CAPweEDxXnRWYK4GhSkN-PzM1hLOZPiD1MUne1Q-4FT6PJRJUtw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-07 19:35                                           ` Russell King - ARM Linux
2013-06-07 21:41                                             ` Luke Kenneth Casson Leighton
2013-06-07 20:00                                       ` joem
2013-06-07  9:14                                 ` [Arm-netbook] " Russell King - ARM Linux
     [not found]                           ` <CAPweEDyPffcN9cNJ10ZHt+AZJHTRdU0LMfCGM_756uAbf+NEBQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-06 13:15                             ` Russell King - ARM Linux
2013-06-06 18:51                           ` Henrik Nordström
2013-06-06 15:13                       ` [Arm-netbook] " jonsmirl
2013-06-06 16:00                         ` Olof Johansson
2013-06-06 17:28                           ` Maxime Ripard
2013-06-06 18:55                             ` Lennart Sorensen
2013-06-06 20:22                             ` Arnd Bergmann
2013-06-07 18:56                               ` luke.leighton
2013-06-07 18:50                             ` luke.leighton
2013-06-07 18:57                             ` Wookey
2013-06-07 19:08                               ` luke.leighton
2013-06-07 21:13                                 ` luke.leighton
2013-06-07  9:17                           ` Barry Song
2013-06-07 18:45                           ` luke.leighton
2013-06-07 18:54                             ` Olof Johansson
2013-06-07 19:04                               ` luke.leighton
     [not found]                                 ` <CAPweEDzeyJh+DKX=8tzrT9AnG9NqLp8nWkWFmB2Wy+JnBkqEdg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-07 19:31                                   ` Russell King - ARM Linux
     [not found]                   ` <CAPweEDw1BabE0cmT5fxZ3Z9p9EH508M3Nzcqk2VcO0oz-qYsvg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-05 23:40                     ` jonsmirl-Re5JQEeQqe8AvxtiuMwx3w
2013-06-05 23:52                       ` luke.leighton
2013-06-06  0:15                         ` Henrik Nordström
2013-06-06 12:19                           ` [Arm-netbook] " luke.leighton
2013-06-06 18:44                             ` Henrik Nordström
2013-06-05 22:54           ` Stephen Warren
2013-06-05 23:15             ` Henrik Nordström
2013-06-06  1:56         ` Stefan Monnier
2013-06-05 21:15     ` Luke Kenneth Casson Leighton
2013-06-05 21:47       ` Henrik Nordström
2013-06-05 22:20         ` [Arm-netbook] " luke.leighton
2013-06-06  0:23           ` Henrik Nordström
2013-06-05 21:52       ` Tomasz Figa
2013-06-05 22:38         ` Luke Kenneth Casson Leighton
2013-06-05 23:27           ` Tomasz Figa
2013-06-05 23:46             ` Luke Kenneth Casson Leighton
2013-06-06 15:30           ` Lennart Sorensen
2013-06-05 20:48 ` jonsmirl
2013-06-05 22:11   ` Tomasz Figa
2013-06-05 22:56     ` Luke Kenneth Casson Leighton
     [not found]       ` <CAPweEDwyX4=Sme9kyDU64k9h3SPUHuErD8gEqfdYLGwBOocZDQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-06  0:35         ` Greg KH
     [not found]   ` <CAKON4OyyRF4Z46RyJFDWUwo4L52Z8bgSH0CzDr2gDerw4iDwcw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-06  9:29     ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4247099.i8S79t0Pua@flatron \
    --to=tomasz.figa@gmail.com \
    --cc=arm-netbook@lists.phcomp.co.uk \
    --cc=debian-arm@lists.debian.org \
    --cc=debian-kernel@lists.debian.org \
    --cc=devicetree-discuss@ozlabs.org \
    --cc=jonsmirl@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luke.leighton@gmail.com \
    --cc=maxime.ripard@free-electrons.com \
    --cc=swarren@wwwdotorg.org \
    --cc=thomas.petazzoni@free-electrons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).