Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp5090925img; Wed, 27 Mar 2019 01:45:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxehCDfbitatLGQ+66SLDMcvbeQVju49INMfyeA55Nw00DxyJIlhqhKJdycB87aWoFLm0C4 X-Received: by 2002:a63:2015:: with SMTP id g21mr10230868pgg.226.1553676325196; Wed, 27 Mar 2019 01:45:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553676325; cv=none; d=google.com; s=arc-20160816; b=utCp/4EFO4FJUQSWiXO28KGHCySnFtn6J4Xl4IQTBvDroSzdHB/E/MQcZKujm+28+R v0m7s598CJ6zcY4uj1qDPOnvc0lbIEytzW++5sUxGNo80qfu3+nKZmY+4gTU8WOQwRHb manFtW62CxECAXhIltA0r47YCp4PSBxek+MQ4sLWxY2EqTdd7i05E7HHc2Z3Be92r2Rm 2ERkb32PKGFV8jnFUgEnAqftTqWTInYdw/oeEkTbcoQFlkyTckiBaYybvI+bzW1X1dvH /qD4PZbp+aHGAF8k3trUHutfQcpyyKwASr0/8ZkUhXVHNvyGAhyKn/YxTbw+pqUw1uOY iPiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=SR8OMb+UAUrcn8HwqSynLhn9aEhG5yowsV6vWX9jKok=; b=ZT+HV2LbAwQbT2abdOgckApfEsdqb+pQ40P6TG0eEi05osnWmOZQZt7u3tIO5paDTy o3o8omuL7Q3wZYRFUH/pWeWT5/mq+jyqKqBkl+DS4b9pd8ND5Vq0ks1Cl7nxQqBDIFhp ZjcYHfcCjqSH5PsVmOrQCtqpmaQROTPmRmg7vqZisvMStnb1ksYgUzs6VF6f2YvD9aBe TdloFWEZhXuQiDK2wb0rYlnXGsY2Uf6K9L0TqmKFYMUKMgzOXx0isor5L+KgVW3qSeZx fOWDcOs089jZe/4c95AhFAuvQ8lHv72IZ3ZwKZD/wxAeuOHAV+LQv9Gdi1EZrk47OnVO CHrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="e/3thYEz"; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p66si18966367pfp.231.2019.03.27.01.45.09; Wed, 27 Mar 2019 01:45:25 -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; dkim=pass header.i=@broadcom.com header.s=google header.b="e/3thYEz"; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726355AbfC0Ioe (ORCPT + 99 others); Wed, 27 Mar 2019 04:44:34 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:45896 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725786AbfC0Iod (ORCPT ); Wed, 27 Mar 2019 04:44:33 -0400 Received: by mail-wr1-f66.google.com with SMTP id s15so17444490wra.12 for ; Wed, 27 Mar 2019 01:44:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SR8OMb+UAUrcn8HwqSynLhn9aEhG5yowsV6vWX9jKok=; b=e/3thYEzcTFJAzj17ujOlqBfDVI03m65VG/zWHofex3e2sExQK71fgw0V2gPy8o9Dy 5RT3HOgDgVmtyNn/a2PzUeFqPDKf/w/WQTls68CczcBLouuYOWZF38zEMirWr2dKUGFb KP6+QjGZ42eXxeh0uRlvc8XL59OW+PA4GTRyE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SR8OMb+UAUrcn8HwqSynLhn9aEhG5yowsV6vWX9jKok=; b=ukcv3W6axnbiyiSAG66UGwLRtxebG/Ucvwp8hHQyzMH33ROb96lg4+mguhEtveCIKL 8ZmqpFvCjFkl3IZlKBASYQv517IX+vGoalBvpTajPEjn4T29sOFYcWFqVAg6GRRKrKXk 1aZbhwoR94uDfpt24kUflEn51Vru8GbCupUage/5OwqmUzkWqECaWhLYLaSf4jVV2qMj B4UnJMWI9OOIvgH+r+bbJyxAz8rb8HjVQa4goeVE5FaiQi77a3e3YDSFRlyXRln3qzcf Q7tdnbmcYhrr0o44uVC963piqZMVbcWVuKgSGXP7GaBJIdeTtC0LO5F8/1VXyju6NVwY 1oXA== X-Gm-Message-State: APjAAAX7xMDPB4ehvrm0GgyCza2YcRO9M/OcPJ+jUygRMlf2yl/sgT6Z Oq5V2zU2apNd2HkjkPInmdOUL0W7c1zs5C1P+gFavw== X-Received: by 2002:a5d:494c:: with SMTP id r12mr11555769wrs.250.1553676272048; Wed, 27 Mar 2019 01:44:32 -0700 (PDT) MIME-Version: 1.0 References: <1548411231-27549-1-git-send-email-srinath.mannam@broadcom.com> In-Reply-To: From: Srinath Mannam Date: Wed, 27 Mar 2019 14:14:20 +0530 Message-ID: Subject: Re: [PATCH v3 0/3] PCIe Host request to reserve IOVA To: Bjorn Helgaas , Robin Murphy , Joerg Roedel , Lorenzo Pieralisi , poza@codeaurora.org, Ray Jui Cc: BCM Kernel Feedback , linux-pci@vger.kernel.org, iommu@lists.linux-foundation.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bjorn, Could you please help to review the patch series below? Thanks, Srinath. On Thu, Feb 21, 2019 at 2:29 PM Srinath Mannam wrote: > > Hi Bjorn, > > Please help to review this patch series. > Thank you. > > Regards, > Srinath. > On Fri, Jan 25, 2019 at 3:44 PM Srinath Mannam > wrote: > > > > Few SOCs have limitation that their PCIe host can't allow few inbound > > address ranges. Allowed inbound address ranges are listed in dma-ranges > > DT property and this address ranges are required to do IOVA mapping. > > Remaining address ranges have to be reserved in IOVA mapping. > > > > PCIe Host driver of those SOCs has to list all address ranges which have > > to reserve their IOVA address into PCIe host bridge resource entry list. > > IOMMU framework will reserve these IOVAs while initializing IOMMU domain. > > > > This patch set is based on Linux-5.0-rc2. > > > > Changes from v2: > > - Patch set rebased to Linux-5.0-rc2 > > > > Changes from v1: > > - Addressed Oza review comments. > > > > Srinath Mannam (3): > > PCI: Add dma-resv window list > > iommu/dma: Reserve IOVA for PCI host reserve address list > > PCI: iproc: Add dma reserve resources to host > > > > drivers/iommu/dma-iommu.c | 8 ++++++ > > drivers/pci/controller/pcie-iproc.c | 51 ++++++++++++++++++++++++++++++++++++- > > drivers/pci/probe.c | 3 +++ > > include/linux/pci.h | 1 + > > 4 files changed, 62 insertions(+), 1 deletion(-) > > > > -- > > 2.7.4 > >