WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [PATCH] Xen watchdog driver

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [PATCH] Xen watchdog driver
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Mon, 4 Oct 2010 10:15:52 +0100
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 04 Oct 2010 02:16:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CA5A2280200007800019E79@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <4CA4B4420200007800019CAB@xxxxxxxxxxxxxxxxxx> <4CA4B7F2.7060606@xxxxxxxx> <4CA5A2280200007800019E79@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2010-10-01 at 07:56 +0100, Jan Beulich wrote: 
> >>> On 30.09.10 at 18:16, Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
> > On 09/30/2010 07:01 AM, Jan Beulich wrote:
> >> While the hypervisor change adding SCHEDOP_watchdog support included a
> >> daemon to make use of the new functionality, having a kernel driver
> >> for /dev/watchdog so that user space code doesn't need to distinguish
> >> non-Xen and Xen seems to be preferable.
> >
> > Looks good.  Are you going to submit this upstream?
> 
> By sending it to you I thought I did.

I think we all need to start trying to move from the mindset that
xen.git is the only target of our development efforts and instead work
much more directly/closely with Linux upstream, in particular with
subsystem maintainers of other areas touched by our patches.

Many Xen patches differ from the norm in that they are cross-subsystem
(e.g. they implement Xen functionality in the context of some other
subsystem such as networking, block, watchdog subsystems) rather than
being obviously single subsystem with the more normal linear progression
through driver maintainer to subsystem maintainers to Linus etc.

I think it should be the responsibility of the patch contributor to get
review and thence an Acked-by from both/all subsystem maintainers (IOW
both Jeremy and the other subsystem's maintainers), regardless of which
tree the patch eventually gets committed to.

For cases where there is no impediment to sending stuff directly
upstream pushing stuff only towards xen.git works against the goal of
having first class Xen support in the upstream kernel. Even in cases
where a patch depends on something which is currently only in xen.git I
think taking it to the relevant subsystem and getting an
in-principle-Acked-by makes sense in many cases and will help with the
eventual upstreaming. 

I could even go so far as to argue that in many cases (especially for
domU stuff) the primary subsystem of interest for a patch is not Xen but
the other one and that only core Xen stuff really needs to go through
xen.git. In other words in most cases the main target of upstreaming
should be the maintainer of the relevant other subsystem, of course with
Jeremy's and/or other Xen community members' Reviewed/Acked/Tested-by.

This sort of model has already worked well for Stefano's pvhvm drivers
and is looking good for Konrad's swiotlb/pcifront stuff too. Although
the above is really intended as a more general comment on our
development practices I do think a watchdog driver is another good
example of a patch which could go via the watchdog subsystem maintainer
rather than xen.git.

Ian.




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>