[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v16 5/6] tools/xl/libxl: wire up SCMI SMC multi-agent configuration
- To: Anthony PERARD <anthony.perard@xxxxxxxxxx>
- From: Oleksii Moisieiev <Oleksii_Moisieiev@xxxxxxxx>
- Date: Mon, 30 Nov 2026 09:37:26 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.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=C2nVvtxtu3M8aMUj++9X0DPP779rDEizjwRcqnyOK4Q=; b=WGhpRivBvGl3KyguHeF8ybuAxOP5x0KEbYJ4wx8pRv5JU5rI5RwBB7mCwf8pR54BnNvKQVf46E77JpPgYV8hTfAOG+sh2x86o3soieo637K7/7E33RLHbITupqwz6cv7NZQVfay+UU8vmmCoeBhF0cPmTl9tmY6Zwd2pqrKaTDARYxJVoeayXll0eQIa4YTSxpvoruXXZdX8hlahWAir3r8wEJkKCLAOFKGMFN2NDDPKQPnCgg+eJwZTCG2BAYpvEJN8HUDjEKX76qNrQrQq9DtE4JP5S34n73Vtz+Fai1YMjgfrvcYHXi9CUab5jzG0eDewWc3FYzlTx2CFSy79Sw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=cB1qQvZ7QUySLkIkqN+XBlAF05ufZNtf9yz0lO/czr8sAEKrCXYpU9gJ+PJlKSjtpNXyOX/Xs5pVdfl7Zl6gnoGOLpJK11Ejac1tLsn6VZXbIceHDIO4keTxIGAbcogYNp9gqnwKdujQZcZIiRjC8fT23/JyanVMjPITdhxJAVdE3Dzyb07MJcuJDsYTFyoMDFzVw++I6zm/EunzuS1TSzb0W8U0XlEH+6bjXmXopZkV0nqGKTQkra5z++vykBvs+kFPiGZxHQmUMSPF8geYHQmJIReekUYPmyUubPjQImA+eXEE55osVNCFNWXdKdNmyzQNDyBdjM3QrESGwJZxHQ==
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=epam.com header.i="@epam.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:x-ms-exchange-senderadcheck"
- Authentication-results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
- Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Grygorii Strashko <grygorii_strashko@xxxxxxxx>
- Client-request-id: 0deedf53-7b3d-45c1-929f-309821a656ed
- Delivery-date: Mon, 30 Nov 2026 09:37:32 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Request-id: 12fd5f9b-60ba-494b-dcb4-08df4ec58b36
- Thread-index: AQHdddiX8LH/GhthO0m5LuxgjklNCrdCJICAgARMjQA=
- Thread-topic: [PATCH v16 5/6] tools/xl/libxl: wire up SCMI SMC multi-agent configuration
Hi Anthony,
Thank you for the review.
On 27/11/2026 17:58, Anthony PERARD wrote:
> Hi Oleksii,
>
>> Series-changes 12:
>> - reject agent_id in xl.cfg when the ARM_SCI type is not
>> scmi_smc_multiagent, instead of parsing it and discarding it
>> - perform the check after the option loop, as type and agent_id may be
>> given in either order
> The patch changelog could be removed from the commit message (and moved
> after the --- on repost).
Sorry. Messed up with format. I use u-boot patch generator which parses
these tags.
Will fix on the respin.
>> diff --git a/tools/xl/xl_parse.c b/tools/xl/xl_parse.c
>> index 0ccece3e8a18..97a35ef16987 100644
>> --- a/tools/xl/xl_parse.c
>> +++ b/tools/xl/xl_parse.c
>> @@ -1308,9 +1309,35 @@ static int parse_arm_sci_config(XLU_Config *cfg,
>> libxl_arm_sci *arm_sci,
>> }
>> }
>>
>> + if (MATCH_OPTION("agent_id", ptr, oparg)) {
>> + unsigned long val = parse_ulong(oparg);
>> +
>> + if ( val >= UINT8_MAX ) {
> Nit, coding style: We don't have space within the parenthesis in
> conditions.
Got it. The main driver is still in the review so I think I will have a
chance to fix this as well.
>
> Patch looks fine to me as is:
>
> Reviewed-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
>
> Something to not forget on commit (or even respin) is to regen the go
> binding, due to the IDL change. (`make -C tools/golang/xenlight
> types.gen.go helpers.gen.go` if you don't have go installed should do
> the trick)
>
> Thanks,
>
>
|