[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 06/11] vpci/header: Handle p2m range sets per BAR
- To: Oleksandr Andrushchenko <Oleksandr_Andrushchenko@xxxxxxxx>
- From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Date: Tue, 26 Oct 2021 11:40:06 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- 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=1H/PNyAPUuwUIhadN1jEiq6UwFgPl+4vKP8Y6Be51EE=; b=FxHBa8PWnvtNkNPBVZzAoE7ldUjMVBuNKuyDHGGsno+G42jRDttNhJOhCvMpdvCmtSXD7abYgOPues/w/tL/wRdLueRURTiPsB4BzRnqXEt1MY0L9HlCHhp/KWcXWXY20tgQugyBLYWtXR51uivAT/4u8yCEjTSo9+WZov7cFVoU4+QN6uj2ytMLWA0NazRceJ0rp9z5LCDlkostLo72GFVpIeZCxsnbx5D7HUYOR8+Zeea9mGHSe6Vp/+PnnWgG6xLrpQHTCUTSdqOXgzrpNnt3QOgVhJEVuAO7hbjjClFD6ahCBeV2+7p8kfv5b7XFwSxEyxrjU5xJwwrzGWCwRA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SM7u+P7Iv9TI40ypVgAj6MHMIOh1i4TUbWhrIsJQt/bA8iOlGoNABDObnDU+syIWK9uLdxjR1WkehvZHz47y+bNOExwJGZh5uMOoTHXddhDI6Qmybnlmc8Z2F3rZ9Cf/cs+ir1+WQrCnlses5cKPA9VG32IRGRQapYN10NDx68RVNLD9v5Ap1nB7mHU6yzlfl7vC7bJoFRNM4FLJJm+yxPgUGP/bvB3CerHxCRz1uoiO/38w9jRrDGti7BDhdFKZUyMCEYziC/5SRkUmIQrLx3CJeKzNsq6pyJMt9ZWu2AlW2iOFjAjq+SNybwVZ5qFKK6pViHh9briThmrWplzpZg==
- Authentication-results: esa4.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
- Cc: "julien@xxxxxxx" <julien@xxxxxxx>, "sstabellini@xxxxxxxxxx" <sstabellini@xxxxxxxxxx>, Oleksandr Tyshchenko <Oleksandr_Tyshchenko@xxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Artem Mygaiev <Artem_Mygaiev@xxxxxxxx>, "jbeulich@xxxxxxxx" <jbeulich@xxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Rahul Singh <rahul.singh@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Tue, 26 Oct 2021 09:40:25 +0000
- Ironport-data: A9a23:i2VOw6MANeQbkFzvrR2zkcFynXyQoLVcMsEvi/4bfWQNrUp012EDm mMXDWiBaP+JamT2eo1wb4ngph4Hu8TUyoJmHQto+SlhQUwRpJueD7x1DKtR0wB+jCHnZBg6h ynLQoCYdKjYdpJYz/uUGuCJQUNUjMlkfZKhTr6bUsxNbVU8En540Ug9w7RRbrNA2rBVPSvc4 bsenOWHULOV82Yc3rU8sv/rRLtH5ZweiRtA1rAMTakjUGz2zhH5OKk3N6CpR0YUd6EPdgKMq 0Qv+5nilo/R109F5tpICd8XeGVSKlLZFVDmZna7x8FOK/WNz8A/+v9TCRYSVatYoxWlwMFsz dNtjLaXTC0HALfwivgiUzANRkmSPYUekFPGCX22sMjVxEzaaXr8hf5pCSnaP6VBpLwxWzsXs 6VFdnZdNXhvhMrvqF6/YvNrick5atHiIasUu216zCGfBvEjKXzGa/iVtI8Dhmho7ixINa3nP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BwfUA2vTgKDVzMpPR3Fsu19+GSp v+QScEyVxpHjdwRbA4GHF/Ypp7BYWx7GgWEYAjRsDhJ1v8xIfyuE8fTbpeEVX1xX2cnkbBsW3o CwYUPmPQ7aLvrPkfvy2ujpEdWTA9HJRXeDVwHX8chwxkQO3jir7PlJX+8E5XnKOVBny2Ic3j5D /ra2sgW7Az6vvb2rMzPXhriZ
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Mon, Oct 25, 2021 at 11:51:57AM +0000, Oleksandr Andrushchenko wrote:
> Hi, Roger!
> Could you please take a look at the below?
> Jan was questioning the per BAR range set approach, so it
> is crucial for the maintainer (you) to answer here.
I'm open to suggestions to using something different than a rangeset
per BAR, but lacking any concrete proposal I think using rangesets is
fine.
One possible way might be to extend rangesets so that private data
could be stored for each rangeset range, but that would then make
merging operations impossible, likewise splitting ranges would be
troublesome.
We could then store the physical BAR address in that private data and
use the rangeset addresses as guest physical address space. It's
unclear however that this approach would be any better than just using
a rangeset per BAR.
Thanks, Roger.
|