|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 04/38] arm/p2m: Add first altp2m HVMOP stubs
On 02/09/16 10:26, Sergej Proskurin wrote: Hi Julien, Hello Sergej, On 09/01/2016 06:09 PM, Julien Grall wrote:Hello Sergej, On 16/08/16 23:16, Sergej Proskurin wrote:This commit moves the altp2m-related code from x86 to ARM. Functionss/moves/copies/ However, this is not really true because the code is current patch is not a verbatim copy.Ok, I will adapt the commit msg to "copies and extends" in the next patch.Lastly, what is the status to have x86 and ARM implementation of do_altp2m_op merged? It would allow us to get code clean-up more easily. I have in mind the recent patch [1] from Paul Lai. I am also worry to see the code diverging, for instance the locking is likely needed on x86 too.We believe that (while merging of both code bases definitely does makes sense) it is out of scope in this patch. The changes you are suggesting would further blow up this patch series. The current patch series is already large enough and we really think we should keep focusing on the implementation the ARM architecture in the first place. We agree that a merge of both architectures is necessary but also strongly believe that the merging should be done in a separate patch. That's why you usually have small series to clean-up/move the code beforehand. Some of the patch in this series could have been avoided if you had a series beforehand to move the x86 code in the common code (which is very straight forward). My concern here is this code will never get merged and it will continue to diverge. A lot of locking issue are also present in x86 path, so I don't understand why they should not be fixed now and wait until it get merged. So with the plan suggested, ARM and x86 does not benefit of each others patches. Anyway, I would like to get an action from you to send a series merging the two implementation as soon as possible (i.e before Xen 4.9).
It might be worth to add a TODO here. Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |