From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 08C13C433FE for ; Fri, 14 Oct 2022 13:47:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nW/2j052kVGUQ+5Mzmlufu5MuycsUF1urBeBgbFjOlQ=; b=Q5lmrl/KJBY0mU nlUbXkXMmnNfxS+tP5+UxVwyLJrY/9FecQGuXT3aycW5uQbZzf8edE0CPJKVqu/iMvwL/acQnxuam 7/YGd4KjVnv5E6TuH2VfjyI/XFVgC6TmxdwUAjzPlSuGeCrKA1uK4iA539icGnjsbczVPpXpZENs2 q8WQ8+1a1w2EbVESnq0FB1f0aMr5FPuk2pSIHOCI2ZVtFqH/g34SmqRDA4zky6j+0i08Oa7H6pMoL dYTkwYssGwmmwPaFFNqY+ofZ48X5lakzbqHjGVQxUClNWovfTHHcJreOCqfCPIZ/7BT4hq6PPdnSo 2xuSoziV0ZYSOYacvzaw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojL0s-00EpRJ-3U; Fri, 14 Oct 2022 13:46:10 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ojL0m-00EpOL-RW for linux-arm-kernel@lists.infradead.org; Fri, 14 Oct 2022 13:46:08 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3B2EC61B29; Fri, 14 Oct 2022 13:46:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A4D1C433B5; Fri, 14 Oct 2022 13:46:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1665755163; bh=wg2Q52DIyrXZbMal2LNh2YUioMr1oyz8EPIe0so6DII=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JMkcLOQ1ZRGy8a24GpAGR03dm712NHH9RJ0YtVi5V84pp5M+qfIvJ3lpvIfcABJPc LazO9V6dvyU+l+B+FT4j6Qepq0WNUuLiMbYNOQpaLHc/VJp0uElaY3WXmEivOmFhSf MQhMJq5/knJLi2nVZeCEgC6+JUI3wv89Zf0bKXxI= Date: Fri, 14 Oct 2022 15:46:48 +0200 From: "gregkh@linuxfoundation.org" To: "Radovanovic, Aleksandar" Cc: Jason Gunthorpe , "Gupta, Nipun" , Marc Zyngier , Robin Murphy , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "rafael@kernel.org" , "eric.auger@redhat.com" , "alex.williamson@redhat.com" , "cohuck@redhat.com" , "Gupta, Puneet (DCG-ENG)" , "song.bao.hua@hisilicon.com" , "mchehab+huawei@kernel.org" , "f.fainelli@gmail.com" , "jeffrey.l.hugo@gmail.com" , "saravanak@google.com" , "Michael.Srba@seznam.cz" , "mani@kernel.org" , "yishaih@nvidia.com" , "will@kernel.org" , "joro@8bytes.org" , "masahiroy@kernel.org" , "ndesaulniers@google.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kbuild@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "kvm@vger.kernel.org" , "okaya@kernel.org" , "Anand, Harpreet" , "Agarwal, Nikhil" , "Simek, Michal" , "git (AMD-Xilinx)" Subject: Re: [RFC PATCH v3 4/7] bus/cdx: add cdx-MSI domain with gic-its domain as parent Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221014_064605_041828_2432C778 X-CRM114-Status: GOOD ( 24.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Oct 14, 2022 at 12:13:45PM +0000, Radovanovic, Aleksandar wrote: > [AMD Official Use Only - General] > > > > > -----Original Message----- > > From: gregkh@linuxfoundation.org > > Sent: 14 October 2022 12:55 > > To: Radovanovic, Aleksandar > > Cc: Jason Gunthorpe ; Gupta, Nipun > > ; Marc Zyngier ; Robin Murphy > > ; robh+dt@kernel.org; > > krzysztof.kozlowski+dt@linaro.org; rafael@kernel.org; > > eric.auger@redhat.com; alex.williamson@redhat.com; cohuck@redhat.com; > > Gupta, Puneet (DCG-ENG) ; > > song.bao.hua@hisilicon.com; mchehab+huawei@kernel.org; > > f.fainelli@gmail.com; jeffrey.l.hugo@gmail.com; saravanak@google.com; > > Michael.Srba@seznam.cz; mani@kernel.org; yishaih@nvidia.com; > > will@kernel.org; joro@8bytes.org; masahiroy@kernel.org; > > ndesaulniers@google.com; linux-arm-kernel@lists.infradead.org; linux- > > kbuild@vger.kernel.org; linux-kernel@vger.kernel.org; > > devicetree@vger.kernel.org; kvm@vger.kernel.org; okaya@kernel.org; > > Anand, Harpreet ; Agarwal, Nikhil > > ; Simek, Michal ; git > > (AMD-Xilinx) > > Subject: Re: [RFC PATCH v3 4/7] bus/cdx: add cdx-MSI domain with gic-its > > domain as parent > > > > Caution: This message originated from an External Source. Use proper > > caution when opening attachments, clicking links, or responding. > > > > > > On Fri, Oct 14, 2022 at 11:18:36AM +0000, Radovanovic, Aleksandar wrote: > > > Anyway, I think we're straying off topic here, none of this is visible to the > > kernel anyway. The question that we still need to answer is, are you OK with > > the limitations I listed originally? > > > > What original limitations? > > Limitations with regards to MSI message configuration of a CDX device: > > 1) MSI write value is at most 16 useable bits > > 2) MSI address value must be the same across all vectors of a single CDX device > This would be the (potentially IOMMU translated) I/O address of > GITS_TRANSLATER. As long as that IOMMU translation is consistent across a > single device, I think we should be OK. It's been a while since I read the PCI spec, but this feels like it does not follow what MSI is supposed to allow. Is the "CDX" spec anywhere that mentions any of this as to what is supposed to be allowed and supported? And what is a "single device" here in how the kernel knows about it? Is it a PCI device, or some other new structure that is handed to the kernel from the BIOS? thanks, greg k-h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel