All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars Kurth <lars.kurth@citrix.com>
To: Jan Beulich <JBeulich@suse.com>,
	Stefano Stabellini <sstabellini@kernel.org>,
	Julien Grall <julien.grall@arm.com>
Cc: Wei Liu <wei.liu2@citrix.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	Andrew Cooper <Andrew.Cooper3@citrix.com>,
	"Tim \(Xen.org\)" <tim@xen.org>,
	George Dunlap <George.Dunlap@citrix.com>,
	"committers@xenproject.org" <committers@xenproject.org>,
	Ian Jackson <Ian.Jackson@citrix.com>,
	xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [Xen-devel] [PATCH v3] Add TRACKING.IMPORTS to xen.git to more easily manage imported files that need to be kept in sync with an upstream
Date: Thu, 20 Jun 2019 14:18:06 +0000	[thread overview]
Message-ID: <EFBDC501-4BF5-49FA-B313-111DBF30CE9C@citrix.com> (raw)
In-Reply-To: <5CEBB0A30200007800232BBE@prv1-mh.provo.novell.com>



On 27/05/2019, 10:41, "Jan Beulich" <JBeulich@suse.com> wrote:

    >>> On 24.05.19 at 19:44, <lars.kurth@citrix.com> wrote:
    > Following the recent discussion, we had on IRC and the action I had in 
    > the March community call, this file provides a file format that 
    > enables writing an automated test to check whether files are out of sync. 
    > 
    > An example, what file content may look like is embedded below
    > repo: linux-torvalds git 
    > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
    > file: xen/drivers/passthrough/arm/smmu.c linux-torvalds 
    > linux/drivers/iommu/arm-smmu.c b77cf11f094136
    > 
    > Once the file format is agree, I will write a test or script.
    > 
    > I also need some more correct test data, aka entries in the file from
    > committers looking after the following files
    > [Jan]
    > xen/arch/x86/cpu/mwait-idle.c 
    > [Stefano, Julien - this has to be finalized]
    > xen/drivers/passthrough/arm/smmu.c
    > xen/arch/arm/vgic/*
    > xen/include/asm-arm/div64.h
    > xen/drivers/char/meson-uart.c
    > xen/arch/arm/arm32/lib/*
    > xen/arch/arm/arm64/lib/*
    > xen/arch/arm/arm64/cache.S
    > xen/arch/arm/arm64/bpi.S
    > xen/include/asm-arm/system.h
    > xen/arch/arm/arm64/insn.c
    > [Others?]
    > xen/common/rbtree.c
    > 
    > Note that in some cases Linux has diverged and some Linux files have disappeared. 
    > Julien also raised the point, that in some cases only a subset of code from 
    > Linux Xen files was applied or that only some functions get moved across to 
    > Xen.
    > 
    > I believe that is entirely OK. The workflow would be in most cases that:
    > - We use a Linux (source) commit as a benchmark and record the commit ID
    > - If there is a change in Linux the test will fail
    > - The committer looks at the diff and either
    >   - Decides to ignore it and bumps the commit ID in this file
    >   - Decides the change is needed, integrates it into Xen and then 
    >     bumps the commit ID in this file
    
    With this ...
    
    > Changes since v1
    > * Require a colon after repo:, file:, ... keywords
    > * Replace manual:|auto: with file: as there auto: use-case was invalid
    > * Added more verbose description of format
    > 
    > Changes since v2
    > * Changed some formatting
    > * Removed examples
    > * Removed references to https
    
    ... move past the first --- separator ...
    
    > Signed-off-by: Lars Kurth <lars.kurth@citrix.com>
    
    Acked-by: Jan Beulich <jbeulich@suse.com>
    
Are any extra ACKs needed?  
Also, I would be willing to write a script which helps checking the file, but it does require some test data (aka Jan, Julien and Stefano) to populate the file
Regards
Lars
    

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2019-06-20 14:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-24 17:44 [PATCH v3] Add TRACKING.IMPORTS to xen.git to more easily manage imported files that need to be kept in sync with an upstream Lars Kurth
2019-05-24 17:44 ` [Xen-devel] " Lars Kurth
2019-05-27  9:40 ` Jan Beulich
2019-05-27  9:40   ` [Xen-devel] " Jan Beulich
2019-06-20 14:18   ` Lars Kurth [this message]
2019-06-21  6:14     ` Jan Beulich
2019-06-21 12:07       ` Lars Kurth

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=EFBDC501-4BF5-49FA-B313-111DBF30CE9C@citrix.com \
    --to=lars.kurth@citrix.com \
    --cc=Andrew.Cooper3@citrix.com \
    --cc=George.Dunlap@citrix.com \
    --cc=Ian.Jackson@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=committers@xenproject.org \
    --cc=julien.grall@arm.com \
    --cc=konrad.wilk@oracle.com \
    --cc=sstabellini@kernel.org \
    --cc=tim@xen.org \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /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 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.