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 X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B263C433E0 for ; Wed, 15 Jul 2020 13:06:41 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 45EDC20657 for ; Wed, 15 Jul 2020 13:06:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uNBjdrsQ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="11WLdv3z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 45EDC20657 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:Subject:To:From: Date:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=py+ZToyLUGUPLWlYSHIaUnMcmE32zI56i++t0MgrR3Q=; b=uNBjdrsQziRvRaCbO8IILP2me l+oRgqcUMZc/MEz4xDm0l2uBY2N5VDwazcbsIvESAS1waoPA4WCI9XHiMEqQgDqhsTVYydqTCtJUf lUiy7+HQqF1Cr7nw7IM42oHma1n+CGM9YfXW2Qs9JswES1smTLMdwvuNmyO2p4BA97nuqhO+VAwIo T6157tVOZWOz1VBBlcvuNRnTN0ix9oT7vWqk5er0FBqQiJXGnlNe3mmY1VcZg8gqTN0DPdSgdwkud OrDTHQHRLqx4UTrtyzC0kzsqCvAJDwvrAB+WzoC1Iyw/jfDVBD+jWcLwTRL9RE3DpibEyveP/Exly SHptED55g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvh61-0006LM-Ir; Wed, 15 Jul 2020 13:05:13 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvh5y-0006Kh-AK for linux-arm-kernel@lists.infradead.org; Wed, 15 Jul 2020 13:05:11 +0000 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 659CC20657; Wed, 15 Jul 2020 13:05:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594818309; bh=/JbnkKca9isth2Byqb4RT/WZLJphSaAVAFp0XT01uu0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=11WLdv3zamDVHmM6A7sD3vIrgCjWwh2+roNC+ngAh1r1bKzwRyZN5Hv+dK7odXwI5 Z96N6IXf1vw98heHULxcTXjVl85NZfzyR30Aywy25KKdwDK5SlEJumKgoTpN0pRPd3 3TcKkQHsxLcEAqtcWXhh1ufg29KGZjgEkTtjUSf0= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jvh5v-00BzoN-VJ; Wed, 15 Jul 2020 14:05:08 +0100 MIME-Version: 1.0 Date: Wed, 15 Jul 2020 14:05:07 +0100 From: Marc Zyngier To: Lorenzo Pieralisi Subject: Re: [PATCH v2 11/12] bus/fsl-mc: Refactor the MSI domain creation in the DPRC driver In-Reply-To: <20200619082013.13661-12-lorenzo.pieralisi@arm.com> References: <20200521130008.8266-1-lorenzo.pieralisi@arm.com> <20200619082013.13661-1-lorenzo.pieralisi@arm.com> <20200619082013.13661-12-lorenzo.pieralisi@arm.com> User-Agent: Roundcube Webmail/1.4.5 Message-ID: X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: lorenzo.pieralisi@arm.com, linux-arm-kernel@lists.infradead.org, diana.craciun@oss.nxp.com, iommu@lists.linux-foundation.org, linux-acpi@vger.kernel.org, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, robh+dt@kernel.org, rjw@rjwysocki.net, joro@8bytes.org, guohanjun@huawei.com, bhelgaas@google.com, sudeep.holla@arm.com, robin.murphy@arm.com, catalin.marinas@arm.com, will@kernel.org, makarand.pawagi@nxp.com, laurentiu.tudor@nxp.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200715_090510_544595_66150619 X-CRM114-Status: GOOD ( 16.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Sudeep Holla , Catalin Marinas , Will Deacon , linux-pci@vger.kernel.org, Joerg Roedel , Hanjun Guo , "Rafael J. Wysocki" , Makarand Pawagi , linux-acpi@vger.kernel.org, iommu@lists.linux-foundation.org, Rob Herring , Diana Craciun , Bjorn Helgaas , Robin Murphy , linux-arm-kernel@lists.infradead.org, Laurentiu Tudor Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2020-06-19 09:20, Lorenzo Pieralisi wrote: > From: Diana Craciun > > The DPRC driver is not taking into account the msi-map property > and assumes that the icid is the same as the stream ID. Although > this assumption is correct, generalize the code to include a > translation between icid and streamID. > > Furthermore do not just copy the MSI domain from parent (for child > containers), but use the information provided by the msi-map property. > > If the msi-map property is missing from the device tree retain the old > behaviour for backward compatibility ie the child DPRC objects > inherit the MSI domain from the parent. > > Signed-off-by: Diana Craciun > --- > drivers/bus/fsl-mc/dprc-driver.c | 31 ++++++--------------- > drivers/bus/fsl-mc/fsl-mc-bus.c | 4 +-- > drivers/bus/fsl-mc/fsl-mc-msi.c | 31 +++++++++++++-------- > drivers/bus/fsl-mc/fsl-mc-private.h | 6 ++-- > drivers/irqchip/irq-gic-v3-its-fsl-mc-msi.c | 15 +++++++++- > 5 files changed, 47 insertions(+), 40 deletions(-) For this patch and the following one: Acked-by: Marc Zyngier M. -- Jazz is not dead. It just smells funny... _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel