All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Joerg Roedel <joro@8bytes.org>
Cc: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org,
	joerg.roedel@amd.com, jbarnes@virtuousgeek.org
Subject: Re: [PATCH] pci: Reenable the AMD IOMMU if it's mysteriously vanished over suspend
Date: Thu, 30 Sep 2010 20:05:36 +0100	[thread overview]
Message-ID: <20100930190536.GA18845@srcf.ucam.org> (raw)
In-Reply-To: <20100930184301.GP15338@8bytes.org>

On Thu, Sep 30, 2010 at 08:43:01PM +0200, Joerg Roedel wrote:

> Enabling the IOMMU device is only part of what the BIOS is supposed to
> do to get the IOMMU ready for the OS. A handful of registers in the
> config space of the device and the IOMMU MMIO region must also be
> restored. Thats the simple part. The IOMMU device also spans two
> indirect register spaces to configure the IOMMU caches. I have no idea
> yet how this need to be configured. The plan is definitly to
> work-around a missing IOMMU device in the IOMMU driver. But I am still
> talking to some people to find out what exactly must be done, especially
> with the indirect register spaces.

Chapter 8 of the register setup guide seems to have something on this - 
I'll try saving and restoring all of the setup it performs to see if it 
improves things.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

  reply	other threads:[~2010-09-30 19:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 15:38 [PATCH] pci: Reenable the AMD IOMMU if it's mysteriously vanished over suspend Matthew Garrett
2010-09-30 17:39 ` Matthew Garrett
2010-09-30 18:43   ` Joerg Roedel
2010-09-30 19:05     ` Matthew Garrett [this message]
2010-10-01 17:58 ` Bjorn Helgaas

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=20100930190536.GA18845@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=jbarnes@virtuousgeek.org \
    --cc=joerg.roedel@amd.com \
    --cc=joro@8bytes.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.