mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Yian Chen <yian.chen@intel.com>
To: David Woodhouse <dwmw2@infradead.org>,
	Lu Baolu <baolu.lu@linux.intel.com>,
	Ashok Raj <ashok.raj@intel.com>,
	Sohil Mehta <sohil.mehta@intel.com>,
	Jacob jun Pan <jacob.jun.pan@intel.com>,
	iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org,
	Yian Chen <yian.chen@intel.com>
Subject: [PATCH v2 0/2] Enable ATS for the devices in SATC table
Date: Tue, 22 Feb 2022 10:54:14 -0800	[thread overview]
Message-ID: <20220222185416.1722611-1-yian.chen@intel.com> (raw)

The devices in BIOS SATC (SoC integrated Address Translation Cache)
table are all trusted devices to use ATS. This patch set enables
ATS for them.

---
v2:
  - Use dmar_find_matched_satc_unit() to avoid hard coded
    return value.
  - add static declaration for dmar_ats_supported()
    (the function modified from 
     dmar_find_matched_atsr_unit())
---

Yian Chen (2):
  iommu/vt-d: Enable ATS for the devices in SATC table
  iommu/vt-d: Declare dmar_ats_supported() as static function

 drivers/iommu/intel/iommu.c | 128 +++++++++++++++++++++++-------------
 include/linux/intel-iommu.h |   1 -
 2 files changed, 83 insertions(+), 46 deletions(-)

-- 
2.25.1


             reply	other threads:[~2022-02-22 18:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-22 18:54 Yian Chen [this message]
2022-02-22 18:54 ` [PATCH v2 1/2] iommu/vt-d: " Yian Chen
2022-02-22 18:54 ` [PATCH v2 2/2] iommu/vt-d: Declare dmar_ats_supported() as static function Yian Chen

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=20220222185416.1722611-1-yian.chen@intel.com \
    --to=yian.chen@intel.com \
    --cc=ashok.raj@intel.com \
    --cc=baolu.lu@linux.intel.com \
    --cc=dwmw2@infradead.org \
    --cc=iommu@lists.linux-foundation.org \
    --cc=jacob.jun.pan@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sohil.mehta@intel.com \
    /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®