mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joerg Roedel <joerg.roedel@amd.com>
To: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: <linux-pci@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	Joerg Roedel <joerg.roedel@amd.com>
Subject: [PATCH 2/4] PCI: Export ATS functions to modules
Date: Thu, 22 Sep 2011 17:49:09 +0200	[thread overview]
Message-ID: <1316706551-16138-3-git-send-email-joerg.roedel@amd.com> (raw)
In-Reply-To: <1316706551-16138-1-git-send-email-joerg.roedel@amd.com>

This patch makes the ATS function usable for modules. This
will be used by a modules implementing some advanced
AMD IOMMU features.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
---
 drivers/pci/ats.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/pci/ats.c b/drivers/pci/ats.c
index ae4bf87..5ceff3e 100644
--- a/drivers/pci/ats.c
+++ b/drivers/pci/ats.c
@@ -90,6 +90,7 @@ int pci_enable_ats(struct pci_dev *dev, int ps)
 
 	return 0;
 }
+EXPORT_SYMBOL_GPL(pci_enable_ats);
 
 /**
  * pci_disable_ats - disable the ATS capability
@@ -120,6 +121,7 @@ void pci_disable_ats(struct pci_dev *dev)
 	if (!dev->is_physfn)
 		ats_free_one(dev);
 }
+EXPORT_SYMBOL_GPL(pci_disable_ats);
 
 /**
  * pci_ats_queue_depth - query the ATS Invalidate Queue Depth
@@ -153,3 +155,4 @@ int pci_ats_queue_depth(struct pci_dev *dev)
 	return PCI_ATS_CAP_QDEP(cap) ? PCI_ATS_CAP_QDEP(cap) :
 				       PCI_ATS_MAX_QDEP;
 }
+EXPORT_SYMBOL_GPL(pci_ats_queue_depth);
-- 
1.7.4.1



  parent reply	other threads:[~2011-09-22 15:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-22 15:49 [PATCH 0/4] Support for PRI and PASID capability Joerg Roedel
2011-09-22 15:49 ` [PATCH 1/4] PCI: Move ATS implementation into own file Joerg Roedel
2011-09-22 15:49 ` Joerg Roedel [this message]
2011-09-22 15:49 ` [PATCH 3/4] PCI: Add implementation for PRI capability Joerg Roedel
2011-09-22 15:49 ` [PATCH 4/4] PCI: Add support for PASID capability Joerg Roedel
2011-09-26 20:58   ` Bjorn Helgaas
2011-09-26 22:15     ` Joerg Roedel
2011-09-28 19:18       ` Valdis.Kletnieks
2011-09-29  9:26         ` Roedel, Joerg
2011-09-26 14:26 ` [PATCH 0/4] Support for PRI and " Joerg Roedel
2011-09-26 20:42   ` Bjorn Helgaas
2011-09-26 20:59     ` Joerg Roedel
2011-09-27 13:57 [PATCH 0/4 v2] PCI: Add support for " Joerg Roedel
2011-09-27 13:57 ` [PATCH 2/4] PCI: Export ATS functions to modules Joerg Roedel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1316706551-16138-3-git-send-email-joerg.roedel@amd.com \
    --to=joerg.roedel@amd.com \
    --cc=jbarnes@virtuousgeek.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®