mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Eugeni Dodonov <eugeni.dodonov@intel.com>
Cc: intel-gfx@lists.freedesktop.org,
	Daniel Vetter <daniel.vetter@ffwll.ch>,
	linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH] iommu: export no_iommu and dmar_disabled symbols
Date: Wed, 23 Nov 2011 20:36:00 +0000	[thread overview]
Message-ID: <1322080560.15493.206.camel@shinybook.infradead.org> (raw)
In-Reply-To: <1322073734-26840-1-git-send-email-eugeni.dodonov@intel.com>

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

On Wed, 2011-11-23 at 16:42 -0200, Eugeni Dodonov wrote:
> Those are needed by the rc6 and semaphores support in i915 driver.
> 
> In i915 driver, we do not enable either rc6 or semaphores on SNB when dmar
> is enabled. So we use those variables to check the io remapping and iommu
> status.

This is horrid. In the general case, drivers have no business knowing
this. We need to properly identify what is wrong with this hardware, and
put in a quirk for it — perhaps refusing to enable the IOMMU at all on
the broken chipsets.

-- 
dwmw2

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5818 bytes --]

  reply	other threads:[~2011-11-23 20:36 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-19  6:41 [PATCH] drm/i915: By default, enable RC6 on IVB and SNB when reasonable Keith Packard
2011-11-19  7:37 ` [Intel-gfx] " Kenneth Graunke
2011-11-19  9:25 ` Eugeni Dodonov
2011-11-19 18:32   ` Keith Packard
2011-11-20 21:19     ` Eugeni Dodonov
2011-11-22 20:15 ` Matthew Garrett
     [not found]   ` <CAC7Lmnts+QwZ2XTvbTQa=aa3XO5_Sna0vk3KHWJJ6oi6+D5BXw@mail.gmail.com>
2011-11-22 20:51     ` Matthew Garrett
2011-11-23  3:31   ` Keith Packard
2011-11-23 10:26     ` Daniel Vetter
2011-11-23 14:01       ` David Woodhouse
2011-11-23 14:39         ` Daniel Vetter
2011-11-23 15:03           ` David Woodhouse
2011-11-23 15:31             ` Daniel Vetter
2011-11-23 15:36               ` David Woodhouse
2011-11-23 15:46               ` Daniel Vetter
2011-11-23 15:41             ` Daniel Vetter
2011-11-23 15:43               ` David Woodhouse
2011-11-23 20:35                 ` Daniel Vetter
2011-11-23 18:42 ` [PATCH] iommu: export no_iommu and dmar_disabled symbols Eugeni Dodonov
2011-11-23 20:36   ` David Woodhouse [this message]
2011-11-23 20:48     ` [Intel-gfx] " Keith Packard
     [not found] ` <1322526298-2746-1-git-send-email-eugeni.dodonov@intel.com>
2011-12-09 23:53   ` drm/i915: Enabling RC6 where possible Keith Packard
2011-12-09 23:53     ` [PATCH 1/2] iommu: Export intel_iommu_enabled to signal when iommu is in use Keith Packard
2011-12-09 23:53     ` [PATCH 2/2] drm/i915: By default, enable RC6 on IVB and SNB when reasonable Keith Packard
2011-12-13  3:45       ` Matthew Garrett

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=1322080560.15493.206.camel@shinybook.infradead.org \
    --to=dwmw2@infradead.org \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=eugeni.dodonov@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=linux-kernel@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®