[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 4/4] xen/arm: its: handle dma-noncoherent on GIC and ITS nodes
- To: Mykola Kvach <mykola_kvach@xxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: "Orzel, Michal" <michal.orzel@xxxxxxx>
- Date: Fri, 23 Oct 2026 12:52:21 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=epam.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
- 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=Qcl2BdQpoSnalRbRZ10lzxEsEcEU0/DYvXRdD0A2BB4=; b=Joxi2wKegYdC5Swi+zj2WqxBtPy2SCPZfjMBRFLcH7/mo7p3belQuUam7O4LEOTAvKUWUrDxbbtwaplaJ30cXzqakVGzuXRbDckLH5c7RmtfnScx/4stYVoJ2qV4OPrjZkCcInWclFBs9klw8+38QbZ4twvIaW4X1NsF1zpoAiTG84rKJTmYVtp3eKjQwJKR2yF4Q7FzDkXkNQZYYtxFAzt+lDFIrUh/ZD4klddw9lw9Judag8JLk1euMpmoaRwXvD+GLlF7LnBKVwzR+wbC4amZLpEXKTKRBAqAz4W5u5ASTlejXyjdcOpy+UWikCIQ+8UBCx/LyYzfHaKmbKDhmg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wLtp25724RDupFnBEsAKypbrjEA/pXhoVRUlHD3pUJBkRSF118uY689/3cLJtO/TRjICOqVsuNCUKVWjd5SuUx6jlDdP1IIJlRfKg2Hnx2QUy4Es1EdKixO6MjqirLqroQMq1eZZ/0JXLQU6WisxVHBUS+B5G29Qsbgw5YXGR5/JAj5+wEJMbxjVRi5NaJQd7WwmkEzx7B1TGWivHt6QjCAdi1Cb0GMingorNMGpol6lNN6KkgBL5Z2XiIhSDLpql0f6TaJeoWVIbTaKzLVIHJ5ZJhCb9A0eo/OzZZdkUjwqM5szABYZ55umMvJXM7G5TiZAWq5KUS+fnavJJjkS4w==
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=amd.com header.i="@amd.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"
- Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Fri, 23 Oct 2026 10:52:36 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 29-Sep-26 21:02, Mykola Kvach wrote:
> The DT dma-noncoherent property describes the bus coherency of the
> device represented by the node. On an ITS subnode, that is memory
> accessed by that ITS. Add GICV3_QUIRK_MEM_NC_NS to the corresponding
> host_its and use it when programming GITS_CBASER and GITS_BASER<n>.
>
> On the top-level GIC node, the property describes the Redistributor side
> of the LPI path. Collect it in gicv3_lpi_init_host_lpis() and apply it
> only to the host LPI policy used when allocating the property and
> pending tables and when programming GICR_PROPBASER and GICR_PENDBASER.
> Mark the function init-only because firmware attributes are collected
> only during boot.
>
> Do not inherit the property between parent and child nodes: ITS-node
> non-coherency does not change the global host LPI policy, and GIC-node
> non-coherency does not change per-ITS quirk_flags.
>
> ACPI is unchanged; this patch only consumes the DT dma-noncoherent
> property.
>
> Signed-off-by: Mykola Kvach <mykola_kvach@xxxxxxxx>
> Reviewed-by: Volodymyr Babchuk <volodymyr_babchuk@xxxxxxxx
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>
~Michal
|