[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEN PATCH v6 0/7] FF-A notifications
- To: Jens Wiklander <jens.wiklander@xxxxxxxxxx>
- From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
- Date: Mon, 10 Jun 2024 15:54:18 +0000
- Accept-language: en-GB, en-US
- Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
- Arc-message-signature: i=2; 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=gTWnI8wwauVsQUR9yslO8/Uj3sbFNoZs/LAgkpZb6Dg=; b=T2MsZHZJfWVGDE4OztDKzoZj12vrFRLPbxfkXdJm368b3rUPKaHUZsxmEaprvChD9h8ygI+r4FoicMVSvmiR09uTd4C4WBpBIQCMYML4caXEzUjlXlgNPogQkM2fMiy+U6OsEYtAip1G6U/KiMlikx0OjjPv54r1YTlxh0Li8rpypwSwGPW8NuStrKQA214Am08VTkOL31IUC2vO3F3n05Om4/TgwFpnjaFT9uMsOnOYij5POggkVZVgp4lJULbKw6zRS30fKMOnTFHjt1ahCH959FwulLjZki3+l/Syp5IrbgLBKevijRpudu+lY5KvN5N3E5ra5SzPC7qQ3bl19w==
- 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=gTWnI8wwauVsQUR9yslO8/Uj3sbFNoZs/LAgkpZb6Dg=; b=STBMQJoKvwe17y8k66S4XRUjshNoBODBoSWdxctsrMDfttxfRNmZjgsSNnqYanUZa3XJwnI60wT1H08oaWFpDaUssc/brI8Zs4Bd5bxdL0noP83uKt8XrYk1cCmEPuIA+rG9+h08x0YG4Cha+RZEZ/nMUyVMqSKyOYec6ACX5cWaawmcvRNwJw/NWbvTYMDrDEquNR46Xkdd3d2y2lV+2/v7aeisCUtf3u2KEM3k75Y9u9zxYR+05et8SPreD0/CBIZfQs1omWS9BlU/nkEOwjCIztoovXtUzVYeJMcYgiGz8d6355PyGYVgSxSH3nu2X8ZMe7AMlEMYlCDsFVUBJQ==
- Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=VW2LiGdnb2XUJRJdWgE0e9OwVnilmxnDZGjOtAKlH8vzo+W37hKgK/zcuZNKGGviNPvJ50BbHgeVIlw/JiFyP8DrjXP4I6U4dpqoKa2cDD10m85C1DN8a17XeSGROyC+bnWw0CP5NgSHoQjdgkloySkm4g7rcrVUG0t+plLKZH92qF22VUVjjzy+szht1ZHUCFYuwh+R4JUA8YMvCJZgs4MhH7TZz6I+7M1ELcSW19YyPyQZOPHh1cGltpOXGUpVFrT1Icy2caRDKto1pKVZ9TS4cs2odfPNyRWpq32GCF9ndQWGYcccHHCXB6YX9NO1k92LonxhRrIrsr1VqX734Q==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bKMTZ68IDMYQsxnbzykjWI6Y2NN/WXXiGHqWpCQdDtku2Addweoy8u6ZZDd6YgBhd7HjZWz5TZ5dRi+mQJv1IYr0eLSvAG0AvqnF5PMQpzFrJoh4hfEeuq5VwMJZimdLYkZXXSzUYPtC/jevSHO1/VDz/sF2DvOfVevqasa3ROPqrCtwACLKvFAC8CVuH7uY2+1rlQb3f1SPT5s1TmE159RtM/unyP2fKWOC/r0o93X4By6VQ+QVN8BLp0jwuY+V+vVoaV6Yt5oQPOw7hZ6pUlUr59ahENx7M3yExOCYLsxtmT3Wala2s3u2Tww4Ki1cRcdKhFYHEYzViH6QMUUCRA==
- Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "patches@xxxxxxxxxx" <patches@xxxxxxxxxx>, Volodymyr Babchuk <volodymyr_babchuk@xxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>
- Delivery-date: Mon, 10 Jun 2024 15:54:39 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Nodisclaimer: true
- Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Thread-index: AQHauwL3zf/sfUoleE2hXc1GLXTtIrHBJtUA
- Thread-topic: [XEN PATCH v6 0/7] FF-A notifications
Hi Jens,
> On 10 Jun 2024, at 08:53, Jens Wiklander <jens.wiklander@xxxxxxxxxx> wrote:
>
> Hi,
>
> This patch set adds support for FF-A notifications. We only support
> global notifications, per vCPU notifications remain unsupported.
>
> The first three patches are further cleanup and can be merged before the
> rest if desired.
>
> A physical SGI is used to make Xen aware of pending FF-A notifications. The
> physical SGI is selected by the SPMC in the secure world. Since it must not
> already be used by Xen the SPMC is in practice forced to donate one of the
> secure SGIs, but that's normally not a problem. The SGI handling in Xen is
> updated to support registration of handlers for SGIs that aren't statically
> assigned, that is, SGI IDs above GIC_SGI_MAX.
>
> The patch "xen/arm: add and call init_tee_secondary()" provides a hook for
> register the needed per-cpu interrupt handler in "xen/arm: ffa: support
> notification".
>
> The patch "xen/arm: add and call tee_free_domain_ctx()" provides a hook for
> later freeing of the TEE context. This hook is used in "xen/arm: ffa:
> support notification" and avoids the problem with TEE context being freed
> while we need to access it when handling a Schedule Receiver interrupt. It
> was suggested as an alternative in [1] that the TEE context could be freed
> from complete_domain_destroy().
>
> [1]
> https://lore.kernel.org/all/CAHUa44H4YpoxYT7e6WNH5XJFpitZQjqP9Ng4SmTy4eWhyN+F+w@xxxxxxxxxxxxxx/
>
> Thanks,
> Jens
All patches are now reviewed and/or acked so I think they can get in for the
release.
Regards
Bertrand
|