Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp829169ybi; Thu, 30 May 2019 07:23:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqzuWfKVsfp+iAyzq1m+DE8Q1n5pA46MRgrwJgaFJ9wRl6YeOIryRhpxf/vHmvXVeq8OYiHZ X-Received: by 2002:a63:a08:: with SMTP id 8mr3987637pgk.46.1559226237713; Thu, 30 May 2019 07:23:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559226237; cv=none; d=google.com; s=arc-20160816; b=q4m14+qq3N8N4pkT1tYb+AZkYa0m7OnhL7N3Re3Yp02Br8PYnyx3I/7VS/qLlwNgLn Xq5BKpHC2wUx9StDvNY6UjRtZ7UeBxF2tpRgUjuxcHAfEbuqXAn1PzmZmzog09TzCji2 vDPHuawhHe1hBPxtAli8RAzgmyNrtigaxBwnpXBVNr3R4PuklhE8JiD3hgy/PP0sH4rp QuhGQQwaWD2EcAY3vwXombDZCLLpsFCAzwiS66jT9AgfEVKOVhofP0XinkBlyR2mG6jV x31nxvHVMyXOs83YacGzw7keUIjKs5ZNNQyB9tH/v7+RjRQ9lVDcYkXF9/oGUFDJLhhZ in8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=ifm9m7Hy+QZpAlqw+lNb7EdNX4R7ATHDZChBEFseOVs=; b=j00VeTrq0aRxueSlhLb1OokfXfoBdCBvuNXOtpI9736rBRnkH4ZgHbQO1ta8TeDhL0 nYhE90qYTRCEP6gcyYxFjfCjha6bTtn0RZvtMxnFUrDV7VrwxyYxHvtqG3/oeNGl1cZ3 prZbCX/+a/83a6Y+GBva+pEc5E6Aw1x/sY+ptce4M7d42d+e3S8l9bNTDNqrSQAaZKo0 teezrYq7LUEqA8YNbwurlMuy+ehlRa3mN5Djj5cGwDZci9BSKBAxgj1A0EdtLNUOJpEt /X0E1m5TaXTsM8757RbL96Vv7Bi8ZhTo2V1k9Bximc3NhSCF62ZXX8BvekCWpecQZiNG AKfQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u21si2854459pjx.58.2019.05.30.07.23.39; Thu, 30 May 2019 07:23:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726779AbfE3OT4 (ORCPT + 99 others); Thu, 30 May 2019 10:19:56 -0400 Received: from inva020.nxp.com ([92.121.34.13]:48906 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725870AbfE3OTz (ORCPT ); Thu, 30 May 2019 10:19:55 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 85AE61A064E; Thu, 30 May 2019 16:19:53 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 790631A0179; Thu, 30 May 2019 16:19:53 +0200 (CEST) Received: from fsr-ub1864-101.ea.freescale.net (fsr-ub1864-101.ea.freescale.net [10.171.82.13]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id E3D262026B; Thu, 30 May 2019 16:19:52 +0200 (CEST) From: laurentiu.tudor@nxp.com To: netdev@vger.kernel.org, madalin.bucur@nxp.com, roy.pledge@nxp.com, camelia.groza@nxp.com, leoyang.li@nxp.com Cc: Joakim.Tjernlund@infinera.com, davem@davemloft.net, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Laurentiu Tudor Subject: [PATCH v3 0/6] Prerequisites for NXP LS104xA SMMU enablement Date: Thu, 30 May 2019 17:19:45 +0300 Message-Id: <20190530141951.6704-1-laurentiu.tudor@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Laurentiu Tudor This patch series contains several fixes in preparation for SMMU support on NXP LS1043A and LS1046A chips. Once these get picked up, I'll submit the actual SMMU enablement patches consisting in the required device tree changes. This patch series contains only part of the previously submitted one, (including also the device tree changes) available here: https://patchwork.kernel.org/cover/10634443/ There are a couple of changes/fixes since then: - for consistency, renamed mmu node to smmu - new patch page aligning the sizes of the qbman reserved memory - rebased on 5.1.0-rc2 Depends on this pull request: http://lists.infradead.org/pipermail/linux-arm-kernel/2019-May/653554.html Changes in v3: - cache iommu domain in driver's private data - rebased on v5.2.0-rc2 - rework to get rid of #ifdef spaghetti (David) Changes in v2: - dropped patches dealing with mapping reserved memory in iommu - changed logic for qman portal probe status (Leo) - moved "#ifdef CONFIG_PAMU" in header file (Leo) - rebased on v5.1.0-rc5 Laurentiu Tudor (6): fsl/fman: don't touch liodn base regs reserved on non-PAMU SoCs fsl/fman: add API to get the device behind a fman port dpaa_eth: defer probing after qbman dpaa_eth: base dma mappings on the fman rx port dpaa_eth: fix iova handling for contiguous frames dpaa_eth: fix iova handling for sg frames .../net/ethernet/freescale/dpaa/dpaa_eth.c | 131 ++++++++++++------ .../net/ethernet/freescale/dpaa/dpaa_eth.h | 2 + drivers/net/ethernet/freescale/fman/fman.c | 6 +- .../net/ethernet/freescale/fman/fman_port.c | 14 ++ .../net/ethernet/freescale/fman/fman_port.h | 2 + 5 files changed, 108 insertions(+), 47 deletions(-) -- 2.17.1