Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp316495lqp; Mon, 10 Jun 2024 05:19:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWUTAAX5Cpm5xdwpA/3utjSsJXx63cwfOZUDwm3hHSmr93Fhd8vsI5e/pSRkd5MFBaG65KmgUEUGAK6iIVO8jxp1Wxjk9cZR1HuIW4FZQ== X-Google-Smtp-Source: AGHT+IHZXp+jDAVyDUcllfo5/YAe/DkEMz3MhUUlj95sRzmspdN4Ln59lDam1/luMp7ZXG/otbui X-Received: by 2002:a05:6a00:2ea2:b0:705:995c:3e30 with SMTP id d2e1a72fcca58-705995c4668mr3105793b3a.17.1718021983793; Mon, 10 Jun 2024 05:19:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718021983; cv=pass; d=google.com; s=arc-20160816; b=Yj5RVSdMyHAiRje2+HrFPgpZuSsx9XuLa4f19yWaIbkdV7A+Cy6T8/18IInmc90qQy PseI00GAJcfCWZ+RzND9a/EqrkiM37nQ3L+iqQiXvLHkS7SAN2g5HA83v5/fmlvV/bmi 6Ohm99HdgidiRnBYEo92q/5qK29jCiLBYFoJ9ZZP9sDR81Pgawh7iYHk9KHT0jAj1YWA Y2ucYlFYig5j8PzoBwdrVRpgHWZ7z8WDjRJh/mnBmZHRizrf9Gl0ZkR+MLAiNsskR2vH V+EG3PBS9Ul9bE6SBQFQprhIRhm67RJqKUoR1eSU5tTbEFNjGuj6vj35PhO364npb1fb ExGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=T5yU8hNkR56NKgvXwA0gCmT66FtTqUKEN41ElkQ7/X8=; fh=M2VYh5EQA6y+fe0WwpRBy28Qhmn/wvf7ZDl318K4GAs=; b=DiaQ2m/4yqr0ya0EAahAGdkeTJ+xmLA34i6N7uI3GIkMfkK/TjdQbVqoKWNmmp6X5Q tut1Od7SxQCnuXPHWiCY7o2eatPiLj/Wpg50rSP9pV0+vu/E3ZjYZqdo4dd3wkPj+RJd no/CIXYWP5PMpsr3ykN9lJT1cd0tJm8FUSvWJB2+S/w+fJe5N2Ss5HksnD4eGtuqHZI2 jBZbS5J1iIBMvw3hqlPTXL1oLHUbNszPMgB6Btq5LheCDLyITMgzaV857ysWwF6tAJyf BsdiGtauOt9B6v+6ZVxrjCU2uJQdElk48YjXiau+Dzx2RFcrqkVH+jHQHikG7/Mk33DK XEmQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="Pct1v/i0"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-208147-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208147-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microchip.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-70434a5671csi2606540b3a.400.2024.06.10.05.19.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 05:19:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208147-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b="Pct1v/i0"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-208147-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208147-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microchip.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 63E92281199 for ; Mon, 10 Jun 2024 12:19:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4D18880BF7; Mon, 10 Jun 2024 12:19:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="Pct1v/i0" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 F2DB98004A; Mon, 10 Jun 2024 12:19:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718021949; cv=none; b=KtONH0hcthwCItqaOe/GgwqyJdwfm7LFclWQM3WwqBkONKPvvwolE1Ej2LPLxLXVYa/hdxwPqAt/MvDa9O7zOnrEBZNhY4qtDyKU5btXhRVQX8YWtlmb608+Yvy1VMIwB68IZCELgK1B7UVzFt3PoR6689B9C6Ezm+cshSpOCug= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718021949; c=relaxed/simple; bh=Qb9Up+t11DzcZW8H2Jjuu7ECFDelJkgS8AlOnO1SlWE=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=C5ECk+TccB2LXf+tmBOygMYXcjkrb+bXUj9StbTFhe0Gchy3buyqsTEAfIxos2f5Gs0rf+WmchGFFp8SOrYFTJKMkaCL9xn63yN84hjtHEQmpWvLCIHJsCw9oN/jVmNLWhs1oinmWmRzJnEuQ+ts1Pks/jzhZHYxaY7mOFpDLDU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=Pct1v/i0; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1718021948; x=1749557948; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Qb9Up+t11DzcZW8H2Jjuu7ECFDelJkgS8AlOnO1SlWE=; b=Pct1v/i0QSycSw3VrPzjiY4lS/WAWQbL1vL4fFsV/jgZBwrJyH6AfO1I Mg4AtPq4QsSYGMwxbs+FmgWqlM4QFv/PGlPUYJngkRlk40+wmf0NHGUU/ WRm7qh5qkEcxs//MYRdA5l9e1me1KRYrJetFVNY7L29dIuUd5iqTSo5VW BR+3Ns9nGVuXBGejQGA0AVPIQPKYyW5+UCs2sDIcooANtOxlWrTTjKn2z yqsPJ6N7HRWKbYNA6Sm1j6hIp8WMr9d9fSmsXwPyKVTVpl9ZG1C5OStYL s3hqpq3oXuJSBx3xfuMgvXQR28l9qjg+HaJALz29XaZoC0PV9dIQVChHm w==; X-CSE-ConnectionGUID: nZYSrxyTSBy6GiOz7aIYFw== X-CSE-MsgGUID: gcpetgnSQTuJ3BvErvJgGQ== X-IronPort-AV: E=Sophos;i="6.08,227,1712646000"; d="scan'208";a="258056938" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa5.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 10 Jun 2024 05:19:05 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 10 Jun 2024 05:18:34 -0700 Received: from daire-X570.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Mon, 10 Jun 2024 05:18:32 -0700 From: To: CC: , , , , , , , Subject: [PATCH v2 3/3] dt-bindings: PCI: microchip,pcie-host: allow dma-noncoherent Date: Mon, 10 Jun 2024 13:18:22 +0100 Message-ID: <20240610121822.2636971-4-daire.mcnamara@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240610121822.2636971-1-daire.mcnamara@microchip.com> References: <20240610121822.2636971-1-daire.mcnamara@microchip.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 Content-Type: text/plain From: Conor Dooley PolarFire SoC may be configured in a way that requires non-coherent DMA handling. On RISC-V, buses are coherent by default & the dma-noncoherent property is required to denote buses or devices that are non-coherent. Signed-off-by: Conor Dooley --- Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml b/Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml index f7a3c2636355..c84e1ae20532 100644 --- a/Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml +++ b/Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml @@ -52,6 +52,8 @@ properties: items: pattern: '^fic[0-3]$' + dma-noncoherent: true + interrupts: minItems: 1 items: -- 2.34.1