Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1732108rdb; Tue, 20 Feb 2024 05:35:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVj3W8kn3P7J0L+DxHx2OgxbnSPqU26xc/AfJrVWZBwf4v4Q4Pawpw8XA7q4gNzohOH2gLjxP9q6leg8oeBLZRud/7p0+qTTVdcFzJGrg== X-Google-Smtp-Source: AGHT+IGQEp2MwCirv555rkvC2A/2NKgPWdq6ESxV4k5kNrxNMBrvD/CBTgCBNu197gfxmugAt8LB X-Received: by 2002:aa7:c397:0:b0:564:726b:3200 with SMTP id k23-20020aa7c397000000b00564726b3200mr4530525edq.7.1708436148345; Tue, 20 Feb 2024 05:35:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708436148; cv=pass; d=google.com; s=arc-20160816; b=sPfAzRQePl6rAmS/rB9/hoLXT8ZWamV8lreDhfMuUSVzHBWadnt9Qi9V5LeGhfFJSg GtAnEf9YNWCqGuajtmVNzwvnml1dyUiSXUuFwdXpIJL8Rr7sar/Kk2gMRdpcZHZHajN8 66CgsHUcrEFHgnlsj6LF+5S8wclxXgmnTDevwlh+CaXlR4J6ovQ+0Sv1ireIziAICVl1 hkH3Ikb2PK3ij7zjqyoXgO282MztSMJEhByJUyWBquOxSPVIiUAgJy4foKGFAHEH2KvB MWuEx1l7QRutqLdFHQF26hUQnr6MeqJBmogK5QRJhfY71Aua1z5DxdKMdSFMWnnMxavF WvWw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=LxDrWUoqTF4UCOljm+/CQR8VV7wFryZe0gkav5P0KMk=; fh=rCriQtwhQmVS08jLZJl9ivITmgScFIQvSeqDaPufk2o=; b=KJPnj1sFibWjjn+SCQloYwEgcpU+EkVJt3Htenn3MRE4qqMs/6fwBHsX8pmXTBMik6 ZihE+F/7A8zNCUuwxHPrAd75FF6MpLJfAHTSPZlAH1weKwj2Pt05W6fiRBGOtbz0MGeP 3B8M3meSE2xJ4RN/Rzg7YUDFT8II6f28p7HHWEYeuFlesZ+FUImA3Vz5VFRFsfeOOsSJ 4saltfWakgXAeQJEu8RK0r0bfHxf+OkFqoshCijS77GcS3AAEcM1gb8oNQFygEs1LPVN M96OlXYXHILJSNGTopl2z0mQJYTds5Ot4G+CkE+O//WczLIFj04dRgo/5ZYFIfD17Zt0 4Juw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=aVVHgztb; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-73079-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73079-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r21-20020aa7d155000000b00563cc313c70si3495006edo.214.2024.02.20.05.35.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 05:35:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73079-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=aVVHgztb; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-73079-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73079-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1FE6C1F2300F for ; Tue, 20 Feb 2024 13:35:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5CECA6A33E; Tue, 20 Feb 2024 13:35:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="aVVHgztb"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="5gi5BJKH" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A1DC6A03B; Tue, 20 Feb 2024 13:35:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708436140; cv=none; b=EaDBMMTdBK/zNSWghN6CaFL3hOFr/uFfz7Gu4c8Vpqmpz94yfSDNI1+2WrS3ofFSTjOhfWJ/P4jfDG+k9uE3JXzabumYw/ZjyWucnaLsmM1Sr9aQR55jDf5By/DUBKd57Jd2S2sji9HbVngvj6tYv14gHL09vNBEbxqJk03C0rI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708436140; c=relaxed/simple; bh=abTPl2u526Jg1CsFRDvVGDsu86nkuIcHywwC1yofwjI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=hN47zeA827Gr13XOFdB0nELZWkQAa03CDv5eo5ZrKtScsbAUoGr6IB5vq5Jezd+RWNFPASHAw4Mz67Q65sO/HWbs6efVX58CNaxry2pixxkjEpubhX4y98rT23AdhwSPB91isUnbbapNNJAIo7HTLD/Vv6dH9Q4pWq9rhFj1SjM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=aVVHgztb; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=5gi5BJKH; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1708436137; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LxDrWUoqTF4UCOljm+/CQR8VV7wFryZe0gkav5P0KMk=; b=aVVHgztb0p2AuL7Y//VQvDZYfGZpXQN5XWAcU8UBDLmGuuETChzmXxLmq5h5ScgwFHze7S Qrbsh+puub63PQj4UbpCR45FNa6xbU4Htl+DfH8tEgeaP7w7kXFOMM+RfLgQ6e4+PNFGaB Q3KaF1ce77yqiwkNitCdX/QZSHpUOhWKeeGFnpV/K1p+kEB2Jz+P8N0ni980o9883Wp7bm qWzLleftZ7h+m920QAYEEuWBD3wTd2m8qpRTNrrVe7whar0/kLfTzf68DS+lRE7j0+hf3o uTpC+D08M49/FMfib/WWMXMz73OUCnDvjoQQlyJnygpS7/Pehj0sYTqxx7Rrew== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708436137; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LxDrWUoqTF4UCOljm+/CQR8VV7wFryZe0gkav5P0KMk=; b=5gi5BJKHwq+Hpu0n4anP6RYba/28i4acUk2Iqiwo1Rx6puv3PfE5WN6+88/uq/aFjix3jx geSB/GUV9HTRSGAQ== To: Anup Patel , Palmer Dabbelt , Paul Walmsley , Rob Herring , Krzysztof Kozlowski , Frank Rowand , Conor Dooley Cc: Marc Zyngier , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , Atish Patra , Andrew Jones , Sunil V L , Saravana Kannan , Anup Patel , linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Anup Patel Subject: Re: [PATCH v13 08/13] irqchip/riscv-imsic: Add device MSI domain support for PCI devices In-Reply-To: <20240220060718.823229-9-apatel@ventanamicro.com> References: <20240220060718.823229-1-apatel@ventanamicro.com> <20240220060718.823229-9-apatel@ventanamicro.com> Date: Tue, 20 Feb 2024 14:35:36 +0100 Message-ID: <8734tni7h3.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Tue, Feb 20 2024 at 11:37, Anup Patel wrote: > static bool imsic_init_dev_msi_info(struct device *dev, > struct irq_domain *domain, > struct irq_domain *real_parent, > @@ -218,6 +241,7 @@ static bool imsic_init_dev_msi_info(struct device *dev, > > /* MSI parent domain specific settings */ > switch (real_parent->bus_token) { > + case DOMAIN_BUS_PCI_MSI: case DOMAIN_BUS_PCI_DEVICE_MSIX: ? Thanks, tglx