From patchwork Tue Aug 27 00:14:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 172237 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp5051451ily; Mon, 26 Aug 2019 17:15:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxlHGs0dNYjQtoB+Sx/26UWoLLeE9eyrWpj4kj9MPZcECSD3PiusaMVwNYbzzkqec8YFBC X-Received: by 2002:a17:90a:a013:: with SMTP id q19mr22337360pjp.64.1566864928695; Mon, 26 Aug 2019 17:15:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566864928; cv=none; d=google.com; s=arc-20160816; b=z3M/RV9NCbobmdAJ6coDEBlIDwbEpxefFcsSqWKp50I4Dp/f+WVR8FmQ2bopBwS/04 dQF4YDrrRS4P3QeU95K0IggcjAfxZ/kHXOKcy7PQJ/9oE/pUwahKJ01kzhpB+r2hozBK CFw0roF5R/QXKKO/ndFGoSkLDjdeaoC7WZ6JOx+igmYZQd3uRfTDIyLA1C8TrunWr2yF JQEmYBMvnKafqkyPr1RNaB3WQk2gnMhiAM+veCWL/3wO/GjVipzKy4ke8LlaICU0VW4B 9pKUcJZ5FeQC79vkxg6QBMQ+cZsXfpycKmne9/V1nRuT8OOWooMQAAn+NELZ768hVsQ4 msUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=RsMdpRqUalyAi3dA3oqiFcxv5t3kJ8Ef294FTJiip/Y=; b=kXmVGSb2pmja2gqlQPT0tJIamar8IaQ7fqBDrXmWJrECTZ5ttb3JH3ovO6MNMtApVS LSqyiUgTL0nLB6KOKGX+HbxWu0DiXs9wnL2noddxNacQqdrMDXPMwWTORU46IeDhWjTm P+T6mCjNvhBFnTfj+/iafI61iTNutG+0lX4PPdgHESXekt0I8FupAzNLIzh3CgjCcQe/ UgbzmJC0iKyCByhWlRF8unf6NkS0R5v4ECzyLM+MFijsMKDAf3bXiIaw66s0Mv8RzyXT DcwLQ1Lf21jD6gwftNNxtJHO8TRAFXjrVQpo7DC2MecZZtv1AFMj7K3eDZ9Hbq1fG5RC dO6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mtNiy007; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a37si11521127pla.294.2019.08.26.17.15.28; Mon, 26 Aug 2019 17:15:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=mtNiy007; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727857AbfH0AP2 (ORCPT + 5 others); Mon, 26 Aug 2019 20:15:28 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:46436 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727798AbfH0AP1 (ORCPT ); Mon, 26 Aug 2019 20:15:27 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x7R0F94q123270; Mon, 26 Aug 2019 19:15:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1566864909; bh=RsMdpRqUalyAi3dA3oqiFcxv5t3kJ8Ef294FTJiip/Y=; h=From:To:CC:Subject:Date; b=mtNiy007c4c+bjaKOM+VXU0XirUWm3gZ3N7XfEEFwPDQww3FaTEu5Is1few/wZ71k hr3/3ebZBvMX1oM+yWUlSVeltang57drIWNn9v6bvGIaMlOLcY4RgxN9nmWDDcNzIA PFkqNN8A0ogp0fM+Bp+3GDU1fc5FLwlwyRw0xiw8= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x7R0F9UT022283 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 26 Aug 2019 19:15:09 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 26 Aug 2019 19:15:09 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Mon, 26 Aug 2019 19:15:09 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x7R0F9eD004937; Mon, 26 Aug 2019 19:15:09 -0500 Received: from localhost (irmo.dhcp.ti.com [128.247.58.153]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id x7R0F8Z18962; Mon, 26 Aug 2019 19:15:08 -0500 (CDT) From: Suman Anna To: Tony Lindgren CC: Joerg Roedel , Sakari Ailus , Laurent Pinchart , Tero Kristo , , , Suman Anna Subject: [PATCH 0/2] OMAP IOMMU fixes to go with 5.4 OMAP IOMMU changes Date: Mon, 26 Aug 2019 19:14:50 -0500 Message-ID: <20190827001452.31930-1-s-anna@ti.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Hi Tony, The following 2 patches need to go along with the recent "iommu/omap: misc fixes" series [1] that is currently staged [2] for a 5.4 merge and available in linux-next. That series added runtime pm callbacks in preparation for the ti-sysc migration, but without adding the necessary platform data callbacks for the existing functional MMUs on OMAP3, OMAP4 and OMAP5 SoCs. These 2 patches add the same to maintain the functionality (l3_noc errors are the visible symptom while enabling the MMUs without these patches). OMAP4 and OMAP5 would also need another set of fixes related to the breakage caused by the switch to clkctrl clocks as seen in [3]. These patches do have a dependency on the staged patches, so either you submit a pull-request towards 5.4-rc2 using 5.4-rc1 baseline, or let Joerg pick these through the arm/omap IOMMU branch for 5.4-rc1 itself. Sakari/Laurent, Appreciate it if you can check the OMAP3 ISP functionality on latest linux-next with the second patch. I have verified the ISP MMU programming only through an unit-test. Tero, I will be submitting another patch against OMAP IOMMU driver to skip the pdata callbacks for ti-sysc in the next couple of days. regards Suman [1] https://lore.kernel.org/linux-iommu/20190809153730.GF12930@8bytes.org/T/#mec99f8e8ed351689f4fcc76f4f000f9144a02b51 [2] https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git/log/?h=arm/omap [3] https://patchwork.kernel.org/patch/11082125/#22829477 Suman Anna (2): ARM: OMAP2+: Plug in device_enable/idle ops for IOMMUs ARM: OMAP2+: Add pdata for OMAP3 ISP IOMMU arch/arm/mach-omap2/pdata-quirks.c | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.22.0