From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH v3 0/9] Add PCI ATS support to Arm SMMUv3 Date: Tue, 23 Apr 2019 12:21:38 +0100 Message-ID: <20190423112138.GC3439@fuggles.cambridge.arm.com> References: <20190417182448.12382-1-jean-philippe.brucker@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20190417182448.12382-1-jean-philippe.brucker@arm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Jean-Philippe Brucker Cc: lorenzo.pieralisi@arm.com, eric.auger@redhat.com, zhongmiao@hisilicon.com, okaya@kernel.org, joro@8bytes.org, rjw@rjwysocki.net, linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, iommu@lists.linux-foundation.org, hanjun.guo@linaro.org, sudeep.holla@arm.com, bhelgaas@google.com, robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org, lenb@kernel.org List-Id: linux-acpi@vger.kernel.org On Wed, Apr 17, 2019 at 07:24:39PM +0100, Jean-Philippe Brucker wrote: > This series enables PCI ATS in SMMUv3. Changes since v2 [1]: > > * Fix build failure when building arm-smmu-v3 without CONFIG_PCI > Patches 1 and 2 are new. > > * Only enable ATS if the root complex supports it. For the moment, only > IORT provides this information. I have patches for devicetree but > they are less mature and I'd rather make it a separate series. > > * Tried to address most comments. I'll see if I can improve the firmware > code when adding devicetree support (see [2]). > > Note that there is a small conflict with the SVA API. This series > applies on top of Joerg's api-features branch for v5.2. I'll pick this up via the SMMU queue, since the conflict with api-features is trivial to resolve. Will From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 32ACFC282E1 for ; Tue, 23 Apr 2019 11:21:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0572820811 for ; Tue, 23 Apr 2019 11:21:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726934AbfDWLVn (ORCPT ); Tue, 23 Apr 2019 07:21:43 -0400 Received: from foss.arm.com ([217.140.101.70]:54756 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726150AbfDWLVn (ORCPT ); Tue, 23 Apr 2019 07:21:43 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1E91D374; Tue, 23 Apr 2019 04:21:43 -0700 (PDT) Received: from fuggles.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 710193F557; Tue, 23 Apr 2019 04:21:40 -0700 (PDT) Date: Tue, 23 Apr 2019 12:21:38 +0100 From: Will Deacon To: Jean-Philippe Brucker Cc: lorenzo.pieralisi@arm.com, bhelgaas@google.com, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, robin.murphy@arm.com, joro@8bytes.org, hanjun.guo@linaro.org, sudeep.holla@arm.com, rjw@rjwysocki.net, lenb@kernel.org, okaya@kernel.org, zhongmiao@hisilicon.com, eric.auger@redhat.com, linux-pci@vger.kernel.org Subject: Re: [PATCH v3 0/9] Add PCI ATS support to Arm SMMUv3 Message-ID: <20190423112138.GC3439@fuggles.cambridge.arm.com> References: <20190417182448.12382-1-jean-philippe.brucker@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline In-Reply-To: <20190417182448.12382-1-jean-philippe.brucker@arm.com> User-Agent: Mutt/1.11.1+86 (6f28e57d73f2) () Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Message-ID: <20190423112138.aTeUYvykx6IZHkFSjKvVx7n4xOuwYFieqWadarvnTzE@z> On Wed, Apr 17, 2019 at 07:24:39PM +0100, Jean-Philippe Brucker wrote: > This series enables PCI ATS in SMMUv3. Changes since v2 [1]: > > * Fix build failure when building arm-smmu-v3 without CONFIG_PCI > Patches 1 and 2 are new. > > * Only enable ATS if the root complex supports it. For the moment, only > IORT provides this information. I have patches for devicetree but > they are less mature and I'd rather make it a separate series. > > * Tried to address most comments. I'll see if I can improve the firmware > code when adding devicetree support (see [2]). > > Note that there is a small conflict with the SVA API. This series > applies on top of Joerg's api-features branch for v5.2. I'll pick this up via the SMMU queue, since the conflict with api-features is trivial to resolve. Will From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E148C10F14 for ; Tue, 23 Apr 2019 11:21:45 +0000 (UTC) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EC243204EC for ; Tue, 23 Apr 2019 11:21:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EC243204EC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id C46D4102A; Tue, 23 Apr 2019 11:21:44 +0000 (UTC) Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 95434101A for ; Tue, 23 Apr 2019 11:21:43 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by smtp1.linuxfoundation.org (Postfix) with ESMTP id 562F882E for ; Tue, 23 Apr 2019 11:21:43 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1E91D374; Tue, 23 Apr 2019 04:21:43 -0700 (PDT) Received: from fuggles.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 710193F557; Tue, 23 Apr 2019 04:21:40 -0700 (PDT) Date: Tue, 23 Apr 2019 12:21:38 +0100 From: Will Deacon To: Jean-Philippe Brucker Subject: Re: [PATCH v3 0/9] Add PCI ATS support to Arm SMMUv3 Message-ID: <20190423112138.GC3439@fuggles.cambridge.arm.com> References: <20190417182448.12382-1-jean-philippe.brucker@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190417182448.12382-1-jean-philippe.brucker@arm.com> User-Agent: Mutt/1.11.1+86 (6f28e57d73f2) () Cc: zhongmiao@hisilicon.com, okaya@kernel.org, rjw@rjwysocki.net, linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, iommu@lists.linux-foundation.org, sudeep.holla@arm.com, bhelgaas@google.com, robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org, lenb@kernel.org X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Sender: iommu-bounces@lists.linux-foundation.org Errors-To: iommu-bounces@lists.linux-foundation.org Message-ID: <20190423112138.c9mfRJYWsDawyJ-wl-OkMwb3r_7Lz8mW0_xIstLQhfw@z> On Wed, Apr 17, 2019 at 07:24:39PM +0100, Jean-Philippe Brucker wrote: > This series enables PCI ATS in SMMUv3. Changes since v2 [1]: > > * Fix build failure when building arm-smmu-v3 without CONFIG_PCI > Patches 1 and 2 are new. > > * Only enable ATS if the root complex supports it. For the moment, only > IORT provides this information. I have patches for devicetree but > they are less mature and I'd rather make it a separate series. > > * Tried to address most comments. I'll see if I can improve the firmware > code when adding devicetree support (see [2]). > > Note that there is a small conflict with the SVA API. This series > applies on top of Joerg's api-features branch for v5.2. I'll pick this up via the SMMU queue, since the conflict with api-features is trivial to resolve. Will _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E78EC10F14 for ; Tue, 23 Apr 2019 11:21:57 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F368E204EC for ; Tue, 23 Apr 2019 11:21:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="sLOO3rpL" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F368E204EC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Tcs7j1o9hbVGd+o9zZkIn4rlWnwmeA0guEFMXZD0Ll8=; b=sLOO3rpLgR2Z78 vw+Y+zMAz4a3xoGNLhF00tx2tSRIPouRgD2qoHuAiWRRKhSK65gzbXl5a51k5qpRSFyTpnL3EkjtS 5nDJbzYHSDrEsHI5acYE42YB8TAsq/2S6lmVS8XJmWc1DB2BS0eCScQma4paI2WHlJ2h4dDPwFAbz coPtoxw1iFoXKVjXyOgzU0MoWibm+hgJn9yiWpE6LH9BAru1SFRKjY2h7iADjsqtnYmqXCiOr/Ea0 rn4eGfqxeJvLYrdNPfGYClYUkw/9rLFgrgIQM/cc5BdOz2ZKSFbtYC5V/3x5S3PtJ8DfReVcJOL16 iS5PTbhHMQ9TO0fERMyw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hItUg-0000Il-3o; Tue, 23 Apr 2019 11:21:46 +0000 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hItUd-0000IO-Ed for linux-arm-kernel@lists.infradead.org; Tue, 23 Apr 2019 11:21:44 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1E91D374; Tue, 23 Apr 2019 04:21:43 -0700 (PDT) Received: from fuggles.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 710193F557; Tue, 23 Apr 2019 04:21:40 -0700 (PDT) Date: Tue, 23 Apr 2019 12:21:38 +0100 From: Will Deacon To: Jean-Philippe Brucker Subject: Re: [PATCH v3 0/9] Add PCI ATS support to Arm SMMUv3 Message-ID: <20190423112138.GC3439@fuggles.cambridge.arm.com> References: <20190417182448.12382-1-jean-philippe.brucker@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190417182448.12382-1-jean-philippe.brucker@arm.com> User-Agent: Mutt/1.11.1+86 (6f28e57d73f2) () X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190423_042143_491508_E76AF484 X-CRM114-Status: GOOD ( 13.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lorenzo.pieralisi@arm.com, eric.auger@redhat.com, zhongmiao@hisilicon.com, okaya@kernel.org, joro@8bytes.org, rjw@rjwysocki.net, linux-pci@vger.kernel.org, linux-acpi@vger.kernel.org, iommu@lists.linux-foundation.org, hanjun.guo@linaro.org, sudeep.holla@arm.com, bhelgaas@google.com, robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org, lenb@kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Apr 17, 2019 at 07:24:39PM +0100, Jean-Philippe Brucker wrote: > This series enables PCI ATS in SMMUv3. Changes since v2 [1]: > > * Fix build failure when building arm-smmu-v3 without CONFIG_PCI > Patches 1 and 2 are new. > > * Only enable ATS if the root complex supports it. For the moment, only > IORT provides this information. I have patches for devicetree but > they are less mature and I'd rather make it a separate series. > > * Tried to address most comments. I'll see if I can improve the firmware > code when adding devicetree support (see [2]). > > Note that there is a small conflict with the SVA API. This series > applies on top of Joerg's api-features branch for v5.2. I'll pick this up via the SMMU queue, since the conflict with api-features is trivial to resolve. Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel