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

RE: [PATCH v6 00/11] xen/arm: Add Armv8-R64 MPU support to Xen - Part#1


  • To: Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • From: Wei Chen <Wei.Chen@xxxxxxx>
  • Date: Fri, 11 Nov 2022 10:41:43 +0000
  • Accept-language: 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=ERJWhtGlLPpaSTkzlryZMpTsv33uMWawfDic7zG+PuU=; b=laPH6XOrR+4gBDUwpS4XEpY+RXOeNJHC38NGNYuOAbxjvfcRNU/VIEHc+jRQhgxdDCB/6s9+3Yk4berughyV+fXo/eNkWYHOF7e6A1X48R8BolQ/dU8AqTFUMoy+XWDXNK+W+IyE7n2gMxGi0STyQQuuk5pnZcYyoU3m0cE5BAMZ6tGOmh/rGw0myNcGmD1oz8XmzHubWiwqhO3k4Dq1W5R2luNIfxVmkSBlP+Jqa9/KQ9itznPr/C2M/gBnYkT/gkdugNFwYbbt6HeodC9rsfwxeVKyWXrotueHXBqHo+yPvwCi67zCLnBmOhXRnEcRF8487PjGHDbsw3KQyjTMvw==
  • 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=ERJWhtGlLPpaSTkzlryZMpTsv33uMWawfDic7zG+PuU=; b=fjy3ScPBQW7kp3jLXcZUm8GFRbRFVEuzQs0JUWtO/XsEdMJjzdX/xgIjtTsZSpy2YdSzBBKtBIHX86aIBTqSmZr+r58ft3bbywqSmziaMVLuk7LtXYV6rqhcK4XE6L7uey+Cunh7Aww80LepjK2JnIo3rTVw3rrvy2CXBoMsVmVsK1N7rXISzOaQTvfg5p4bsfGZ0Rv17pauw6iBZxTP7U42tQgLIxvi1t5EXuusAsDWfotHITpDHszooX9YlvQOjiSwJW3xw5do7884TNSWNcXcoTudlYArZw9UtP6KC19IsOorwV0+fWlBmSMkB2VMb3Pf6i/jPc+RTy+BrXrHug==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=nQY9NuMirQm7gMK46psNevGLcifgmC7QHT0wU8AFbCPP7fm/TMG3Ft6Q4MJk5RPZXEw0/nPJu9YRppzxcEpzAseOAiy2MkEkC2AdD7ekuplhMcPknCRnySb/u4cVm1vLGQ+lHFLzhTv2C0emVmtUATnYwV3Yp1Bgs8u7VMA5gTcWL016GMwtYjeAgrQUDZeTAx4hy0UpjaMhBdGApZ9UxBh77rSlIf4DIGvp3S2NrRZV/fTNRh6YrdXro5pEKYdgOyXhVswLZpHAlfdm3N+K/A4QB3L6/gGZZ2j91QQ+DmjtBO2WwnYvvBsIGJEzealm3uQRUxc6nzPV9HFrEoP5EA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wbd/fN5ms09I/JT7luXAAQiPPW7MrvmvExEFYJsAsWx5CfIaMX6zcxLso9sQ/z6JhdGURpLTsuOl9yiNGmxqWLaidTzzYxYoTSjbLH5Uhnd1e18MYaQIFD7KVx6sitjT4fLWUn4jnqIJHe5vcGxMi1NOWXApLsTNHYK8Kyx2jajs/xu4HbrwSOvaXI219Ut7eO7CKIN4OqwiMKqVh/v+PK3xGxLxSdPewsOb/An9CJ8QTWStn+d3e/ERz2FF0XC5OOd/5IUIne/FqOOaQa6J2IArvgdbZt2gDe1xVc36rT1bBTu3aXpgjKUQ+EMCFF/3QzgHbbykYagtPrQorQV8Eg==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Julien Grall <julien@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, nd <nd@xxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Fri, 11 Nov 2022 10:42:12 +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: AQHY8DVcKFNDls96akm0LlhB1cf9B64yRBkAgADyKCCAAA1MAIAAAWqggAWBUQCAAMY1wA==
  • Thread-topic: [PATCH v6 00/11] xen/arm: Add Armv8-R64 MPU support to Xen - Part#1

Hi Stefano, Julien,

> -----Original Message-----
> From: Stefano Stabellini <sstabellini@xxxxxxxxxx>
> Sent: 2022年11月11日 6:26
> To: Wei Chen <Wei.Chen@xxxxxxx>
> Cc: Julien Grall <julien@xxxxxxx>; xen-devel@xxxxxxxxxxxxxxxxxxxx; nd
> <nd@xxxxxxx>; Stefano Stabellini <sstabellini@xxxxxxxxxx>; Bertrand
> Marquis <Bertrand.Marquis@xxxxxxx>; Volodymyr Babchuk
> <Volodymyr_Babchuk@xxxxxxxx>
> Subject: RE: [PATCH v6 00/11] xen/arm: Add Armv8-R64 MPU support to Xen -
> Part#1
> 
> On Mon, 7 Nov 2022, Wei Chen wrote:
> > Hi Julien,
> >
> > > -----Original Message-----
> > > From: Julien Grall <julien@xxxxxxx>
> > > Sent: 2022年11月7日 18:16
> > > To: Wei Chen <Wei.Chen@xxxxxxx>; xen-devel@xxxxxxxxxxxxxxxxxxxx
> > > Cc: nd <nd@xxxxxxx>; Stefano Stabellini <sstabellini@xxxxxxxxxx>;
> Bertrand
> > > Marquis <Bertrand.Marquis@xxxxxxx>; Volodymyr Babchuk
> > > <Volodymyr_Babchuk@xxxxxxxx>
> > > Subject: Re: [PATCH v6 00/11] xen/arm: Add Armv8-R64 MPU support to
> Xen -
> > > Part#1
> > >
> > >
> > >
> > > On 07/11/2022 09:52, Wei Chen wrote:
> > > > Hi Julien,
> > >
> > > Hi,
> > >
> > > >
> > > >>>    - Supports only a single Security state - Secure.
> > > >>>    - MPU in EL1 & EL2 is configurable, MMU in EL1 is configurable.
> > > >>>
> > > >>> These patch series are implementing the Armv8-R64 MPU support
> > > >>> for Xen, which are based on the discussion of
> > > >>> "Proposal for Porting Xen to Armv8-R64 - DraftC" [1].
> > > >>>
> > > >>> We will implement the Armv8-R64 and MPU support in three stages:
> > > >>> 1. Boot Xen itself to idle thread, do not create any guests on it.
> > > >>
> > > >> I read this as I can build Xen and see it boots (not creating
> domain).
> > > >> However... HAS_MPU is not defined and I was expecting mm.c to be
> > > >> modified to cater the MPU support. So I am a bit ensure what the
> series
> > > >> is actually doing.
> > > >>
> > > >
> > > > These 11 patches are part#1 of stage#1, the full stage#1 has about
> 30
> > > > patches. We have some concerns if we send so many patches at once,
> the
> > > > review pressure of maintainers may be very high, so we only choose
> about
> > > > 10 to send as part of it. But this also means that we can't do a
> > > relatively
> > > > complete thing in this part#1 series.
> > > >
> > > > We want to hear some suggestions from you to make so many patches
> can be
> > > > Reviewed efficiently. Can we send the patches by stages, even the
> > > stage#1
> > > > will have about 30 patches?
> > >
> > > 30 patches in a go is no too bad. I would personally prefer that
> because
> > > at least I have better idea of the shape of the code after stage#1 and
> > > also possibly test it (I need to check if I have access for the ARMv8-
> R
> > > model).
> > >
> >
> > I also prefer to this way. After we have addressed the comments in
> > this series, we will send the full stage#1 patches together in v2.
> 
> 
> One suggestion to make things easier to review and to commit is to
> organize the series in a way so that the first 10 patches can still be
> committed first independently, even if all 30 patches are sent together.
> 

I think this is foreseeable, and we have done in this way internally.
Every patch can be built and will not broken other architectures.

> Or alternatively only send 10 patches but also add a link to a
> github/gitlab tree with all the 30+ patches so that maintainers can have
> a look how the whole work fit together.
> 

In this series we have linked the gitlab branch with the full patches.

> I think we are all on the same page -- I just wanted to highlight that
> we don't have to finish the review of all 30 patches before we can start
> committing some of the initial patches in the series.
> 

Yes, I agree with it. And above solutions are ok for us. There will not
be much difference in efforts for these two ways for us, so if you guys
think which method is the most efficient, I will follow it.

Cheers,
Wei Chen

> Cheers,
> 
> Stefano

 


Rackspace

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