| 
    
 [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
 On 04/05/2022 08:39, Bertrand Marquis wrote: Hi Julien, Hi, On 3 May 2022, at 19:08, Julien Grall <julien@xxxxxxx> wrote: Hi Bertrand, On 03/05/2022 10:38, Bertrand Marquis wrote:Sync arm64 sysreg bit shift definitions with status of Linux kernel as of 5.18-rc3 version (linux commit b2d229d4ddb1). Sync ID registers sanitization with the status of Linux 5.18-rc3 and add sanitization of ISAR2 registers.Please outline which specific commits you are actually backported. This would help to know what changed, why and also keep track of the autorships. When possible, the changes should be separated to match each Linux commit we backport.As those are exactly identical to the linux tree, one can easily use git blame on the linux source tree to find those information if it is needed Well... that's possible at the cost of everyone going through Linux to understand why the changes were made. This is not very scalable. I checked a bit and this is not something that was required before (for example when the cpufeature was introduced). If we import the full file, then we will generally don't log all the commits. However, for smaller changes, we will always mention the commit backported. There are several examples on the ML: 
 - 0435784cc75d ("xen/arm: smmuv1: Intelligent SMR allocation")
 - 9c432b876bf5 ("x86/mwait-idle: add SPR support")
We also recently introduced a tag "Origin:" to keep track of which 
commit was backported. If you want to understand the rationale, you can 
read this long thread:
https://lore.kernel.org/xen-devel/0ed245fa-58a7-a5f6-b82e-48f9ed0b6970@xxxxxxxx/ Complete AA64ISAR2 and AA64MMFR1 with more fields. While there add a comment for MMFR bitfields as for other registers in the cpuinfo structure definition.AFAICT, this patch is doing 3 different things that are somewhat related: - Sync cpufeature.c - Update the headers with unused defines - Complete the structure cpufeature.h All those changes seem to be independent, so I think they should be done separately. This would help to keep the authorship right (your code vs Linux code).This and the previous request to split using linux commit will actually end up in 10 patches or more. I think we need to differentiate the two request. The previous request is about logging which commits you backported. I would be open to have all of them in one patch so long we account the authors/tags properly. For this request, this is mostly about avoid to mix multiple things together. Your commit message describes 3 distinct parts and therefore they should be split. 
 I am OK with that. Cheers, -- Julien Grall 
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |