iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: "Jörg Rödel" <joro@8bytes.org>
To: Paul Menzel <pmenzel+linux-iommu@molgen.mpg.de>
Cc: iommu@lists.linux-foundation.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: AMD-Vi: Decrease time of enabling lazy IO/TLB flushing
Date: Fri, 20 Jul 2018 14:34:50 +0200	[thread overview]
Message-ID: <20180720123450.GD18541@8bytes.org> (raw)
In-Reply-To: <f7edc791-7e30-6fce-02ff-a5d2b52d2a69@molgen.mpg.de>

On Tue, Jul 17, 2018 at 06:07:07PM +0200, Paul Menzel wrote:
> On a MSI B350M MORTAR with AMD Ryzen 3 2200g (Raven) with Linux 4.18-rc5+
> and Debian Sid/unstable `pci_iommu_init` takes 40 ms according to
> `initcall_debug`.

40ms is a lot indeed, but IOMMU initialization is also a complex process
which includes scanning ACPI tables, allocating memory, flushing
hardware caches (which probably accounts for a fair amount of the time
needed).

Would be good if someone can come up with patches to improve the
situation here, as I don't know when I will find the time to look into
that.


Thanks,

	Joerg

      reply	other threads:[~2018-07-20 12:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-17 16:07 AMD-Vi: Decrease time of enabling lazy IO/TLB flushing Paul Menzel
2018-07-20 12:34 ` Jörg Rödel [this message]

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=20180720123450.GD18541@8bytes.org \
    --to=joro@8bytes.org \
    --cc=iommu@lists.linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmenzel+linux-iommu@molgen.mpg.de \
    /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;
as well as URLs for NNTP newsgroup(s).