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

Re: [PATCH v4 07/10] vpci: Refactor vpci_remove_register to remove matched registers


  • To: Jan Beulich <jbeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • From: "Chen, Jiqian" <Jiqian.Chen@xxxxxxx>
  • Date: Mon, 19 May 2025 07:44:28 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=JxaQ6PtlbYk8raRyt3q373mOAZKq4W/vMpTGipk7u8c=; b=V2Y2UiLaaywemwHvQj8y/RcujjvGFRlcR0F7N7B9+xhjdjnhU5MJq0by/dfotEyCbs0UiIyScycmuytECFllUv1n+1pY1w45wJmmKd9L4ZE6EWA1zPTT3QB0KkcXTV367ogn2o/jaXHpmoEuyDIoeMw1QNcA83dej6Kd6wORhdujUvo395DiQqi2HZ9YyDp+LgHs3UF8s7Xe8cgE7IoMeuHVFFjrGJOJa5Eb6apyADcnlQriK3ozdmEdiZEg3Yw/H5D0eFQS9ZqcpQzv2srQvYmUkBQSG6Q/ISuSb3QlqmEeiEZ1155QvNEitAl2/wc/1KMQ4gRcVv+CNYDjBxMhBw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WXY6/nrTwXdwCs3Vg8N/aQp9ZKAZkxXWcEYgitPFqsb595+1FdiCy3CA7rUL2tqSf2WkVkBctfKoEgnRvl+jGmy0pMv36E7wIh/MmjFlEgb8mJ9PKDZWIxQdLbw8qOEpSVJMpSgWffTYjKinZHXDHYkOmTw9icwGhH21CZmqk4Uy+ZD3RaNOszF67HPZ3PVuPyw5eZ2ss9P0lKJrQaD5N07+QG5DSHGQVna7JX2mK9qAZ75UfJJszJTUDVBiZb76TVSKvIK6IUT4LUwF2zmNiob+edaz29aPCRdOD4fceunbDIoQ2di0rE+OZ3dDLKi3Em4ndzu9Xv/WcBvlxNTnPw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, "Huang, Ray" <Ray.Huang@xxxxxxx>, "Chen, Jiqian" <Jiqian.Chen@xxxxxxx>
  • Delivery-date: Mon, 19 May 2025 07:44:36 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHbwMGiFe8O5wuIW0u6gzvdFdA3jrPZjXsAgACaRgA=
  • Thread-topic: [PATCH v4 07/10] vpci: Refactor vpci_remove_register to remove matched registers

On 2025/5/19 14:30, Jan Beulich wrote:
> On 09.05.2025 11:05, Jiqian Chen wrote:
>> vpci_remove_register() only supports removing a register in a time,
>> but the follow-on changes need to remove all registers within a range.
>> So, refactor it to support removing all matched registers in a calling
>> time.
> 
> Generally I'm a little wary of changing behavior for existing callers,
> but I guess Roger already did signal he's okay taking that route?
Yes, this is suggested by Roger.
vpci_remove_register() is just used for test without my series.

> 
> Jan

-- 
Best regards,
Jiqian Chen.

 


Rackspace

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