[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/3] xen/arm: Sync sysregs and cpuinfo with Linux 5.18-rc3


  • To: Julien Grall <julien@xxxxxxx>
  • From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Date: Wed, 11 May 2022 15:40:58 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=YD2Mg9oNyrBHl1zd8D6rVqji58pl4Mo+sxOO4WGdHn8=; b=Y5KU11NQ9Z0m68tSPmkxi+ZMEwyZiRfaYxRzQPZp0+koVVB2OD3wZBJiAM2PcXiwKUuS3Dzo3H0RKP7i77qWj1+6ck/4j9IzG+Sk49PEnz3uCoDzDC78aKVSD0/UNtrMip9OwqYsGZB6675KiGmESMZ2Ivrml4TUJLMOWETv6jN9XIzzMMEI8YDiWyRX2dtXuEdr3ppxsnsX4xsJgD+JHy/2oOrALwyvOKCED6a4OoSbaNfs1qYoOHw6oPlW9GC91XgibqkAz1oi8syF85lxnbfShZ3chVkQ0rXPJPQuVeiYlfDO/ATuyOw7+DmSvfjzUZSvJhtW9jNDEs1hg+0w/Q==
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=YD2Mg9oNyrBHl1zd8D6rVqji58pl4Mo+sxOO4WGdHn8=; b=A5XPLcZicSRfJ+gpDrBevUl7lgmpYPaQlShMqPvRZhont+9VopP0m7gaif/+Eaywlal2GPKeG/Ci8Y6KGrRqlswAxxDC5nvclsHSiPhcjEDeCWl4Kta1Il4dzmrRVeXXm1psKgftJkA9qMceI32oVhSs8NLstq6+Nj7cnHGKx0HVOe+a3ZZy2CR9sVSXDEAg2+fqZS7wkgIzl/KZPqpjuzfWltEUtOcL1cWd8zoaGjKYOKL4r0B+15TQlf/BGwW5DJUfGhXESSWN6RA6W8WbmdtzLt7ThDSNQLPEgSDHjxDHnh9KH/XmPQ//sqSOZRfniLdi1W/3cE5LgWvQfOQyAA==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=L1I2RsbmcxBrZ3ELjoLibT1Ok2uV1+anMh+m4YzvM+TxbDMd1Vv3fTLA1dIoVqBg7xAmIDlTG4Wr9y9CZ7/hDZWFvrOq/LJ3Aj1poIfxX8LK+J4veK2qCJK4jVOQlq/fTvcYcGh8T4d8ykeSRF46kQOg78LfwxdY8rJv/hP8ycX82gBHx3YEGN6LOyzu9oIZg+RbofSId+sRUGIDBzoQkXP8A4bilBD9a/QAfiea5w4jcj77ACMDeTxxjPdtFsbolyrQ6k9IwR+gAgxLKYwzWWByUgFnuFFXyl1jQYBjHMsDgyB8WrUHyK6VoWBpkBFfakNWRWHf/Np9zp4OU2uMWw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BZEac/waqvnbxOQ+psebciUyd/dIwzTnh3JjB3qgjEr+4X1KHD6/nlEo9rKuO96Kii1OllvYCugoJKv0eTuuyiBa9AUkueIHNb19FqCGeCLBmtc8CZUQzxjYneY8VP48rNzHiMKzZZZrFK3vs1rJ9nktkKGaLC0nbc9+nSVK8jYErkbOnjKKL8aQ6F2dRB3Yrt/bppxJrkEDr3ExU7aDCoATVD/CExSEQp0qC8KZQc3W1GFcpoFpXtmTnZr4B1QUcVstEuDTT82Eel0UlvvccbVn+86Tbw7GtkhToQRTQCyMIXAWwG4Nb37nbKbPMeXoEC1eUKFnOAzeYUjg0ut07g==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxx>
  • Delivery-date: Wed, 11 May 2022 15:41:19 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHYXtGhqgeBKorGIE+S3ZHm07cmGK0Nc+GAgADisYCAAAtXAIAAGQ0AgAAhcYCACMpfgIACZduAgAALAICAAAXAAA==
  • Thread-topic: [PATCH 1/3] xen/arm: Sync sysregs and cpuinfo with Linux 5.18-rc3

Hi Julien,

> On 11 May 2022, at 16:20, Julien Grall <julien@xxxxxxx> wrote:
> 
> Hi,
> 
> On 11/05/2022 15:41, Bertrand Marquis wrote:
>>> On 10 May 2022, at 03:03, Stefano Stabellini <sstabellini@xxxxxxxxxx> wrote:
>>> 
>>> On Wed, 4 May 2022, Julien Grall wrote:
>>>>> Do I understand right that it is ok for you if I push one patch mentioning
>>>>> all the commits done in Linux corresponding to the changes (instead of one
>>>>> patch per commit) ?
>>>> 
>>>> For this case yes.
>>> 
>>> I managed to do a review of the patch by doing a diff of the relevant
>>> portion of Xen cpufeature.c with Linux cpufeature.c (from commit
>>> b2d229d4ddb1), and the relevant portion of Xen sysregs.h with Linux
>>> sysregs.h (diff -E -b -u).
>>> 
>>> Everything checks out.
>>> 
>>> In my opinion, this patch should be split in 2 patches: the changes to
>>> cpufeature.c and sysregs.c that come from the Linux sources; and the
>>> updates to cpufeature.h that do not. If you do that you can add my
>>> reviewed-by to the first patch with the changes from Linux.
>>> 
>>> The list of individual commit IDs would be nice, but thanksfully the two
>>> source files are still "diffable" so in my opinion are not required.
>> I agree with that.
>> Julien: Do you agree if I just put the changes to cpufeature.h in a separate 
>> patch ?
>> I started to list the commit IDs corresponding to the changes in Linux and 
>> this would
>> end up with 5 or more which I do not think would be that useful as the diff 
>> can be easily
>> done as Stefano mentioned.
> 
> It looks like there are some confusion why I asked the list of commit. For 
> this case, this is not about diffing the code (it is easy to do and I have 
> already done that). It is more about authorship and where the patches come 
> from.

This is clear from the commit message as I give the commit in Linux used so the 
history can be easily found from that.
I am a bit lost on the authorship part ...

> 
> Technically, speaking you only copied the code from Linux and therefore you 
> are not the author of some of the changes.
> 
> For such case, our general process is:

Could you tell me where this process is described ?

> 1) Backport the commit as-is (i.e the Author is the original Author)
> 2) Add the tag Origin (recently introduced)
> 3) Add your signed-off-by

So following this theory, if we import a file from Linux we should list all the 
people who contributed to it since it was created ?

> 
> I understand the patch is already written, so I was OK if you simply list of 
> the commits with the authors/tags for this time.

I would like to understand where this requirement is coming from.

@George: is there some kind of legal reason for something like that ?

> 
> If both Stefano and you agree to not keep the authorships, then I will not 
> stand against it. However, I will not get involved in committing and adding 
> my ack.

I want first to clear up this process and understand why you are requesting 
this to know how I should do anything like that in the future.

Cheers
Bertrand

> 
> Cheers,
> 
> -- 
> Julien Grall




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.