[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 0/3] ARM: ITS: implement TODO and fix issues with cache
- To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Date: Tue, 19 Sep 2023 11:28:53 +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=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=C0H3frrl9g13QRlBhjKELhzhQ8gNK15RDH5chBknLJ4=; b=jGFn51KWeALqbshjBrRyz5R3d9rhS6xwy/2wo8bB6Dk4GNJYwvMOeOzzKAcDcpDdR1KPiuHQg0iF5oekJ+eIcoO3jy58AYADd4O2K6tQ6ydYn1Rk+MYC7PwaQEb8jmMfOxeH5ouKbPwniWHYA8WO6/eXGOUbuuCOaWkRj5HLKHs3dc1lwzfA1+JQCuHHWzn/7bnnLkVFt45cNObReY28hTVCwWs256QBgjWAyPXtRWQEHZnkLesxk3Y2y5I8qOGQxPIXvku7yHa5HlmiKtXeYICxmV2/eiZIksHglIvoV8GLczJ4euForNdhGK+1YkL+Op5/ChK0YnUShZTlt9LiEg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ieJ4QmfS1xy2WTpNRc9b54WaSU4GHuzJkW9od/a4IzOXoOBV7VM5spjm/wgCT4nHQL2toJb+7tA/Boy76HDDUxcyzY/kVMQCuE8NQWma5A4yibmuWjwfYnBvfcttFRQM+IEVZRygcuUsLdDEd2I9k4CxDb92u133aiuJbqwUoeNMc25h0T+EapGc3aPuB1jQP1goGCjVzlLlr4Nr/J+/4yzH0/JaLJ6MoHG6NEXzK6k8lcqyzBx+qCrMmiVj3RErSbLclThWsxZryNYpjJTjZsoYtN46kKJIrPgWCPXVqrKB1B/r71hML5sEtFg7FDqQMCH+m6jA91xwufzoUV34ew==
- Cc: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Tue, 19 Sep 2023 11:29:17 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHZ6ux4FORtu5j2eU+vaSYICEUQjA==
- Thread-topic: [PATCH v1 0/3] ARM: ITS: implement TODO and fix issues with cache
Hello,
There were a couple of issues with GICv3 ITS implementation in
Xen. From user perspective it looks like no interrupts are
delivered. I observed those issues when experimented with SR-IOV on
Renesas S4 board. In my case it wasn't a 100% reproducible issue, so
it took some time and couple of tries to fix it. I wasn't sure if my
fix addressed some hardware quirks of S4 board or it was a generic
solution, so I postponed publishing of it.
Later, Stewart Hildebrand had very simmilar issues with his setup. I
shared those 3 patches with him and they fixed his issue as well. So,
I believe we need those changes in Xen mainline.
Second patch ("ARM: GICv3 ITS: do not invalidate memory while sending
a command") is not strictly required, as it just provides a small
optimization, but I believe it would be nice to have it in the code
base.
Volodymyr Babchuk (3):
ARM: GICv3 ITS: issue INVALL command after mapping host events
ARM: GICv3 ITS: do not invalidate memory while sending a command
ARM: GICv3 ITS: flush all buffers, not just command queue
xen/arch/arm/gic-v3-its.c | 27 ++++++++++++++++++++++-----
xen/arch/arm/include/asm/gic_v3_its.h | 2 +-
2 files changed, 23 insertions(+), 6 deletions(-)
--
2.42.0
|