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

Re: [PATCH v6 1/4] xen/arm: add generic SCI subsystem


  • To: Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • From: Oleksii Moisieiev <Oleksii_Moisieiev@xxxxxxxx>
  • Date: Fri, 29 Aug 2025 06:18:16 +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=bvAAQieeTnBYz2+lYycL7ANgGUaAnx6N6TaTbtEdqcE=; b=c2aHAQi8oY4VkJW7sHrhYPy5Pi7pULhZ0IJxmqhItQ3evTcHpIJUfd95UiMOWFXSDt067Au9bRCXG+YlBgCb82Qoc8YEkeNhXWVKy8+r9eFdDMAbNwdC1ts9iYtFSOZPpx5oPFQvdnKWJSB1OzL6zij401k3JcKOVi71ZCsJaej2s9LXllRRgJvQbpfypSNvKpUZ1WWASBho4/IeYTkZtBhXPMJIthTGhMAN26QekdIg1L2uSdU9pbN8ocBU1Iq3Sa+0BwUYOf4fCHRIoyLB71qoacO09419Hi/QZtXWjhd65oygkOqCGzxpyh3B6Qx4wGrkonppzVlU/zR9N7zCQA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=VAbbupIZnzM7SsLFHiqquIHkJJYAhq4GZLNLfMM9TsJO7vhJuLps3SR2EgqpwYvsc94wNdLJzdCFnge3uOMwYN05lB8xwJAiUlfnZyoijx9G4HIrIBogZg2mqSZuE27jAH8Id8Gp6JBhzs0KD5UiZJiYvAcsy5PyFba7ZQDirOzLlg1U7rRUP27le8i0S56PH3hhCukYKWFBJ58a3ajGJIaJdwvR5Vs5urrgsuKXE55/ge7/TPtkU1cSYCwBZ4WaCaIo3/xemyRde5DDx6bJ+OmBAZsoQj+SWYFFdT1kKjrCeNFUQQ5kGU+NQmrK3z1eq8D61/d44qg+dK/C2HiBDw==
  • Authentication-results: 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>, Anthony PERARD <anthony.perard@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>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Grygorii Strashko <grygorii_strashko@xxxxxxxx>
  • Delivery-date: Fri, 29 Aug 2025 06:18:28 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHcGDp0HddMWoIUiESW9wlppK7VcrR4ldUAgACTHQA=
  • Thread-topic: [PATCH v6 1/4] xen/arm: add generic SCI subsystem


On 29/08/2025 00:31, Stefano Stabellini wrote:
> On Thu, 28 Aug 2025, Oleksii Moisieiev wrote:
>> This patch adds the basic framework for ARM SCI mediator. SCI is System
>> Control Interface, which is designed to redirect requests from the Domains
>> to ARM specific Firmware (for example SCMI). This will allow the devices,
>> passed-through to the different Domains, to access to the System resources
>> (such as clocks/resets etc) by sending requests to the firmware.
>>
>> ARM SCI subsystem allows to implement different SCI drivers to handle
>> specific ARM firmware interfaces (like ARM SCMI) and mediate requests
>> -between the Domains and the Firmware. Also it allows SCI drivers to perform
>> proper action during Domain creation/destruction which is vital for
>> handling use cases like Domain reboot.
>>
>> This patch introduces new DEVICE_FIRMWARE device subclass for probing SCI
>> drivers basing on device tree, SCI drivers register itself with
>> DT_DEVICE_START/END macro. On init - the SCI drivers should register its
>> SCI ops with sci_register(). Only one SCI driver can be supported.
>>
>> At run-time, the following SCI API calls are introduced:
>>
>> - sci_domain_sanitise_config() called from arch_sanitise_domain_config()
>> - sci_domain_init() called from arch_domain_create()
>> - sci_relinquish_resources() called from domain_relinquish_resources()
>> - sci_domain_destroy() called from arch_domain_destroy()
>> - sci_handle_call() called from vsmccc_handle_call()
>> - sci_dt_handle_node()
>> - sci_dt_finalize() called from handle_node() (Dom0 DT)
>>
>> Signed-off-by: Oleksii Moisieiev <oleksii_moisieiev@xxxxxxxx>
>> Signed-off-by: Grygorii Strashko <grygorii_strashko@xxxxxxxx>
>> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
> I just want to say that R-b from me is OK
Oh sorry. My bad.

 


Rackspace

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