Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4828983pxj; Tue, 22 Jun 2021 08:54:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztQVZrm98t16TQ/rryHooePQ2VopiRu14gHlufF+Y3o5LiHbDv3aMajG/Ir+JrQPCQuic9 X-Received: by 2002:a5d:9059:: with SMTP id v25mr3356023ioq.113.1624377292788; Tue, 22 Jun 2021 08:54:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624377292; cv=none; d=google.com; s=arc-20160816; b=ItMUSmVlLNte4aBZVEEcpQb0EKUCc5rhiPeE9b+S1LbWWQrDU2VyQinx0LEwLp/tBi dyRBWLrtN7TX3xsj6YP7EYP/4seWEsJ6tzzR6DeEi76Hn9OIfT3QO7LAF4dTBB1BmM/K 7obGj3G5TIynwmmcLg6JhVma6IdxqRAXZ7FwbJKDwif3dElcu8c10ss62H4dBchAToMV QEfQmHQh+Qdjis/YpgzSiOfMiceeU45lxrhrmVJOK8lAdku4eukzU+qJf3H4lnTtjJ56 oIZrlc6TywKwuLR23co4s3r/DLWrGjAu/+NiDrePgUQhEsbweeMGTRljKK44AT2KV/4v 8H9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Umc4sWsDnV3E9dkp2D6Lf7jpm4wZpHbawbe0BbsfyjQ=; b=y1IWkZPS2X0HPQdIxH8RH8hzwtmK6kWU96yWpXARAoFVrRg1aS+PJ1uukv2SkAxzyR OiCNHckJT485skzZESje/qcuQdJCZ/ufne3sRhOlpju6SNvhHlSFnqWU8wZc3tJMc8qp l8zD5NpUJAeeCmaNPPt9k3UUPX98k49K0vfg2SfeqB9ehqIkfEx1qevjuU4iOu4llYN3 LD1nTYUMThIzo34d6H4W5S727Kwu/sd3s0Bh+frjH1lVQv3WVO1vb5hTO3hgBePQB2QL YMb43c5yiRpg8uzReoUa5xhEFcsVGkPlg8ZymwH8dTzC29BNyELLUxcW+tIXAu22cMhv uSkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=a9yJqt2B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i13si15505842ils.127.2021.06.22.08.54.38; Tue, 22 Jun 2021 08:54:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=a9yJqt2B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232180AbhFVP4P (ORCPT + 99 others); Tue, 22 Jun 2021 11:56:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231936AbhFVP4O (ORCPT ); Tue, 22 Jun 2021 11:56:14 -0400 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1148C061574 for ; Tue, 22 Jun 2021 08:53:57 -0700 (PDT) Received: by mail-io1-xd35.google.com with SMTP id v3so14833818ioq.9 for ; Tue, 22 Jun 2021 08:53:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Umc4sWsDnV3E9dkp2D6Lf7jpm4wZpHbawbe0BbsfyjQ=; b=a9yJqt2BZ2t2MDO4kGRIpXsAEVZWE7vIE7Nt2dJ/XNwLsYRGxh5Nh4LT4oHH3mWMIE SU71pitQAq11v0g54LT52FbEu4dg3VU6asksFLM4KWS1WV5VaTzcv0zuhBaoXWSiwFU4 GSJ8j3RTvTN554gm0k21flTX6WubLgTYDwB2hDFVXRILHCZsWTaIpgk+HFeuhLuDsBrm 3zdH71YWvJRudeZ4PUUkvFnilzObWTaB2qUjWs464a2qJny09dM1mTTLOeHKGbaM7MLQ hudnPSND/ilGhN/jiHUgRtintah/IIfY2RQxxQ4c++Aw4KcwuG6s4DXroUqjr98iJ1Mh 8pmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Umc4sWsDnV3E9dkp2D6Lf7jpm4wZpHbawbe0BbsfyjQ=; b=Ei+r8DdOQZDJ2g0NJa0VYXJGdI82M2V8P0vEkUL/lRPeZDZbFr7osJ7eIG0sl7+EVI U8+ZxAQl+ZTX5NHVx01qH3S836Q2DNaAVxaE1RbVxZtVXS7y0bdR0ek54vQnH0aFINNZ L6a639QJmIZCpGvMs5XWv1zPfGbr++WRZ9EoWhOMrbdS46AfH+LKv1r2yaqJy0RyJLI9 7mXmWKt5GOZYz5rmoZZmACZahMPIlBPAdt1LepKdOnpEaYDlOfxbviTmf+l7WY3xpQbv kHUg2ARfymfM6tZTW+BI4aKEAgsNkRxXy9PwyHjkNBmi2ERNhzm4tg3JiypkAY0Q65vM ciDw== X-Gm-Message-State: AOAM531ByCmTSHCyItAGIVeF9xANV0DTD+R4b8EExNsgR9e6zZDWIPOW 1cglmd24k3XBX+PWIEBVl24= X-Received: by 2002:a5d:9414:: with SMTP id v20mr3477008ion.66.1624377237182; Tue, 22 Jun 2021 08:53:57 -0700 (PDT) Received: from auth2-smtp.messagingengine.com (auth2-smtp.messagingengine.com. [66.111.4.228]) by smtp.gmail.com with ESMTPSA id z3sm11951776ior.14.2021.06.22.08.53.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Jun 2021 08:53:56 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailauth.nyi.internal (Postfix) with ESMTP id 6A5A427C0054; Tue, 22 Jun 2021 11:53:55 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 22 Jun 2021 11:53:55 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeeguddgleefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpeeuohhquhhnucfh vghnghcuoegsohhquhhnrdhfvghnghesghhmrghilhdrtghomheqnecuggftrfgrthhtvg hrnhepieejhfelvddtgeduhfffueegteevleeugfekvefhueduuedugfevvefhtedvuedv necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepsghoqh hunhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqieelvdeghedtieegqddu jeejkeehheehvddqsghoqhhunhdrfhgvnhhgpeepghhmrghilhdrtghomhesfhhigihmvg drnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 22 Jun 2021 11:53:53 -0400 (EDT) From: Boqun Feng To: Marc Zyngier Cc: Thomas Gleixner , linux-kernel@vger.kernel.org, Arnd Bergmann , Bjorn Helgaas , Linux ARM , Catalin Marinas , Will Deacon , Boqun Feng Subject: [RFC 0/2] irqchip/gic-v3-its: Introduce virtual ITS Date: Tue, 22 Jun 2021 23:53:11 +0800 Message-Id: <20210622155313.3819952-1-boqun.feng@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Marc, Here is an RFC for supporting platforms having LPI supported but without ITS. And this is for the virtual PCI support for ARM64 Hyper-V guests. We currently choose this approach (LPI w/o ITS) because a) it's allowed for GICv3 and b) ITS may not be a more efficient way to configure LPIs compared to hypercalls, but we'd like to get feedbacks from the community. Besides, patch #1 fixes a bug which I found while I was at it. Looking forwards to any comment and suggestion! Regards, Boqun Boqun Feng (2): irqchip/gic-v3-its: Free collections if its domain initialization fails irqchip/gic-v3-its: Introduce virtual ITS drivers/irqchip/irq-gic-v3-its.c | 124 ++++++++++++++++++++++++++++--- 1 file changed, 115 insertions(+), 9 deletions(-) -- 2.30.2