From patchwork Wed Aug 21 13:02:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daire McNamara X-Patchwork-Id: 13771419 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 A2DBB199942; Wed, 21 Aug 2024 13:02:56 +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=1724245378; cv=none; b=bmKg8mmdN4LtS4gg+Mu+LNVjAGAprLG59vGgWyqKjHp9u60IKldxymfzgs4xbk4kBCJAIhaSjh1TLYF1k/rons5l52Y45CAoXaOKzYl8Qgyr9SkYFumcH9Jl9/I0ls+UxLB0LgBExuZlDOAHPuOhs7MO0OydxjbqYp8hcNEITSQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724245378; c=relaxed/simple; bh=AAJU18OBl8o8+iDmdG41Ki05MWpShLtTzqE+u3kWNwI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ifvoKFiqadZCUMjcgddI3RN0bd/vL4gO2rm/QUZ7s6bgPy/kpYx99s5lA95Ocdn03+su0J+blweUAyXlVY9Cd1I+3HNxDkqCJxoLTI+0mqlaXFjyaC4gmBwFR30Jxss5XRULuXQlw2JMpmnazuYDmhlfDh01xUtW2cccE5K5Luc= 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=J7wL/N1H; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="J7wL/N1H" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1724245377; x=1755781377; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AAJU18OBl8o8+iDmdG41Ki05MWpShLtTzqE+u3kWNwI=; b=J7wL/N1HWM5vEpitBr7Wvq6eBMFqiX+jkwglIPubJyNwWYtlttVstm0G W9GjL6x9yhr7S81JVdsQEjhSQ6r/yKKEfqj0/cSvuuiIfST0sPfKzxzQO TK6v4Yve/l2OhrY2oPJrV+P1oR5nsrODQI0PhkrJOcuasvUPQ0QzvqVpG HZm4Vu+0BIH4ftZvdHiOV79iJ1FnnAjCZSMEN5Iusiy69iEmYV7wNi6b9 YbSZ7yroOb+3kWZmudurtffM+miwcKTW/q0MPmBTIyR/tjb9lkn39jxPL oLlF5FwSVStMshqGKvNnYpzrYlnMDZLReyWxWtZvEp8BITxl8kOSX7QyD g==; X-CSE-ConnectionGUID: hYt9Btb/Rtq04w/yiOUfIw== X-CSE-MsgGUID: lyWViQzjSR+R7G3o33eTUg== X-IronPort-AV: E=Sophos;i="6.10,164,1719903600"; d="scan'208";a="30743856" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 21 Aug 2024 06:02:53 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 21 Aug 2024 06:02:38 -0700 Received: from daire-X570.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Wed, 21 Aug 2024 06:02:35 -0700 From: To: , CC: , , , , , , , , , , Subject: [PATCH v8 3/3] dt-bindings: PCI: microchip,pcie-host: allow dma-noncoherent Date: Wed, 21 Aug 2024 14:02:17 +0100 Message-ID: <20240821130217.957424-4-daire.mcnamara@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240821130217.957424-1-daire.mcnamara@microchip.com> References: <20240821130217.957424-1-daire.mcnamara@microchip.com> Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 Signed-off-by: Daire McNamara Acked-by: Rob Herring --- 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 612633ba59e2..5f5f2b25d797 100644 --- a/Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml +++ b/Documentation/devicetree/bindings/pci/microchip,pcie-host.yaml @@ -44,6 +44,8 @@ properties: items: pattern: '^fic[0-3]$' + dma-coherent: true + ranges: minItems: 1 maxItems: 3