From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 98CC0477E4B for ; Mon, 7 Sep 2026 11:26:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788780409; cv=none; b=duxioKFxxZgFvJXYM75J+yWRYTKUTJJ5b7YzDpuMD3E0Vzr0DO9XicM+eejFZw9NFyu+P1jQobQdpWyM6dPYmOHD6mF856LFEFwyvL6jTadER2Bla1jzQjvv7BOsSmFb2E4eoEtDfGg77we8ROhxw9spQ9DACuY+NvgXgn5J6fQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788780409; c=relaxed/simple; bh=L3fsKyGi5rpLNg8G/ROz7kxtpDKTfFUi8q+A7hQ20Dk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=YRUdLuySLMu60g7J7iyEleS2qsABg46o0r3kwyt7UF6JeR9EIHToRrLDBBE8kB05YPRWfpguhVe69UomLyaqEEAtnbXwGJYwr5MTxsI+ZKaVg9TpjuLfe22hAK2YIXQM6XcykAAGzABEFZWst1AUt0IMdKIq5xo0hP6tqiG3Jfo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mR+NHtXX; arc=none smtp.client-ip=209.85.210.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mR+NHtXX" Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-851cbd64814so1237280b3a.1 for ; Mon, 07 Sep 2026 04:26:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788780407; x=1789385207; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=7AEeGlWy9uXP/q/PPr93GfqgOECgNHQd0LWMUmr1tVw=; b=mR+NHtXXZNgFzM27AhG2MF6G4HOtaLwfdm84EUEECwn5sJ7fFhnLdZTEAHKJeUuK2J V0q6tP1iDPwTVq9R2KrCpr70/qNf35QYsxIv7ghP/c6KLl/j0blnWOiOCVdb3besR39A W0HBh+U4aMzVE7yKdgL1htRWncl4cWetRukrks6P7jhTaF9GGlkKs5Ds+hluvk2ra42p Pf3gwPeWYLrXqKJL5mCuw9Q4uXJZlXTJMVq5EXBaCb0EW1Ki+WBcqrMb9gSHWnaEYGHh NW/nA5b3o3poax4mvarzaxndiPpTfvg8nliKK7t7TjbQ2BE+N9VV8tXOdGajeGhJ5yhG a8GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788780407; x=1789385207; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=7AEeGlWy9uXP/q/PPr93GfqgOECgNHQd0LWMUmr1tVw=; b=GExaLXBfzwUup0g26e4zAVKXMD/PIFjStglU5dk+LCOZ5M9u++WlQL/cYXDPFEmqAk 1waUlExvVOtlDmtKEljzeDL4Hwyz2uRZB+9CYIGehGUMv23G/nzI2SKgbG1bIlMY1N7v R5bCc35BVl6WATeZ+OexPhj8FqANpESCTiDa7Bzfl2LcHnaBMZ/vlDEA1Yzrr5BfTV23 glso9HxNaqH9r7NizdUe6/IZ05Thj4hbDchdci2MeIckHbT5ntXrvQssu44o83SkWLjO TonN9Ppxq6WX6psv8euGblAVEBBOK8SPN7ytb2/crXYHx9KtumYC9APakQdqsRMhe1S/ +3Cw== X-Forwarded-Encrypted: i=1; AKwUvBy536fcEl8mftLz8wxeLWTnXKdsZxLGbF57eAZt2oWMUqMZtXWSMdhJmPqPox20ywT7DACQaCVqI26mylA=@vger.kernel.org X-Gm-Message-State: AFuF++n3RBUuP1vIpLeOpfqYqR6sb8WNXYkZzBxXS5ZfGw6l62gOUcVk Q7OXJK8y4UP3ET/eBnnH89hwVTSeKhMvUI1pcSC/zDgkUbASlp6kypRB X-Gm-Gg: AYBFou245Fio6sUcBBnROPW9//vlqgaLdT2vrr+7iNlBDtlCdrsjEPOOgoVrVoF7Nbi OpA/+kj1VfOG4O7E5DPvHqzARjSMCTfZLWw00jLLJfcD4u5eMuN8ptj3LGsYwTNUmyqLk0e5P45 ezhBBUuONXjk+eNM/lPHEYAmBVgNVDLYyIaku/Gwi5aoT8Y48t4mr476e5WV8zXx6ho1/8kWo8R wgiBgHMr5oIPP9B/ciTrLDJkFJnMFxq7l1eaU4FUZqE3U8dnFEI8N/GUHiQZf/hF9Bm+v84i1Xc p10+EGFoBGD3E2e6HiUCoZDFT8G2j54LPYlGvCLi9QgrowOvBIv8oWx4Lm5NOOJw0XalBiXc8/a +N2xNxgjFYRqRX/hAUv+zEOhkS6oNWhqrn/rgxWc7btUV79Q8M2ptvCym0vyHX+BQZr0Mxf+jG4 rlDtsALEmTHuQyPkpo6rXRxwLvHyBtotobVsxZ X-Received: by 2002:a05:6a00:32c4:b0:857:73e2:9107 with SMTP id d2e1a72fcca58-8616c8498dfmr29556641b3a.23.1788780406647; Mon, 07 Sep 2026 04:26:46 -0700 (PDT) Received: from localhost ([2001:da8:7001:11::cb]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-86152045f67sm4265654b3a.18.2026.09.07.04.26.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2026 04:26:46 -0700 (PDT) From: Inochi Amaoto To: Jingoo Han , Manivannan Sadhasivam , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Conor Dooley , Yixun Lan , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Frank Li , Niklas Cassel , Sherry Sun , Arnd Bergmann , Christian Bruel , Krishna Chaitanya Chundru , Senchuan Zhang , Inochi Amaoto , Alex Elder , Xincheng Zhang , Randolph Lin , Siddharth Vadapalli , Andy Shevchenko , Vidya Sagar , Neil Armstrong , Danilo Krummrich , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig=20=28The=20Capable=20Hub=29?= , Pengpeng Hou , Anirudh Srinivasan , Gustavo Pimentel Cc: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, Yixun Lan , Longbin Li Subject: [PATCH v5 4/6] dt-bindings: PCI: snps,dw-pcie: Add msi-parent for MSI handle check Date: Mon, 7 Sep 2026 19:26:03 +0800 Message-ID: <20260907112606.465778-5-inochiama@gmail.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260907112606.465778-1-inochiama@gmail.com> References: <20260907112606.465778-1-inochiama@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The IMSIC device on RISC-V based system does not require ID remapping for MSI. So this device only needs "msi-parent" property for IMSIC-based SoC, and the "msi-map" is not a necessary property. Add new condition for MSI handling on IMSIC based SoC. Signed-off-by: Inochi Amaoto Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml b/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml index b3216141881c..91bbbc8924f6 100644 --- a/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml @@ -27,8 +27,11 @@ allOf: - $ref: /schemas/pci/snps,dw-pcie-common.yaml# - if: not: - required: - - msi-map + anyOf: + - required: + - msi-map + - required: + - msi-parent then: properties: interrupt-names: -- 2.55.0