[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: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 2 Nov 2021 12:13:32 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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=BsNPAs0wDljFlhgzJ81dflGL8hhCM7MSPduQKSA/N/A=; b=lqTykdTv57tvuB5c1GXeIzo53ADEgY5s9+6t8H+H5F8eOOew8ok/6k6HQ+TVxmrwkAwaDKLy7Msi2IQQTd6VH297+c5S1XULKY3CN7GRYhWeKr2nAh5tXZoFYNkEpDs94LX0oAGw+1E7RG80mMIqDZ84WyOkfNGAVWM6fCxM9NAH9kwfdY4I5uuz/Koy50mOwZ1pE0OiOskWveILMNjL3CQiF4tXafpsBQ2T6H4y5RQUhHFWLMGDI2RY5fb3g98rqrTHc6NcgVVYv2B0xQX8qjjyRURalWGQmF5k5IzBWi9L/w3UjoG+HeGMegWo/l4h51FdW/F5J50K+m5LC1NWAg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SYO9QX/QviqZIYgt/gXVXUxICf6g80LZJDNz05b5q5rWhjZ6/w6c53AMs6NFZh6QEuuWpytRepc/Lt/4h/LzKvw7Jht+9M1JL4pqIhEqnPCP+lOa97gwmBxlIO80/l0s1/tP722aqTx+3sXZE73eTBcIHnf9IP17oj0vfSYhFPQ+CWY3+eD5ivg8FUD/Q9taOzOFkiZQn1CSHaKDMHufio0YygPp2B8tx2SBWt2Hb+GYJFMzs9G8PcaxrMichZWgNqd51BWMjrhUUATuFQhAEz4Pg9GrP43c8jxrpHRKafe1lggQt9aOpZoi+lOMstJw07MIrYgodWFZY9NSRSQadg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.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>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Rahul Singh <rahul.singh@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Oleksandr Andrushchenko <Oleksandr_Andrushchenko@xxxxxxxx>
  • Delivery-date: Tue, 02 Nov 2021 11:13:47 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 26.10.2021 11:40, Roger Pau Monné wrote:
> 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.

The main reason for my objection is that for the average BAR the
rangeset will hold exactly one range. That's not an efficient way
to express a single range.

> 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.

Indeed, so I don't view this as an option.

Jan




 


Rackspace

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