public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: Paulo Zanoni <przanoni@gmail.com>
Cc: Jani Nikula <jani.nikula@intel.com>,
	Intel Graphics Development <intel-gfx@lists.freedesktop.org>,
	Paulo Zanoni <paulo.r.zanoni@intel.com>
Subject: Re: [PATCH] drm/i915: increase the SWSCI DSLP default timeout to 50ms
Date: Fri, 11 Oct 2013 23:21:24 +0200	[thread overview]
Message-ID: <20131011212124.GG8303@phenom.ffwll.local> (raw)
In-Reply-To: <CA+gsUGRyFXCd=NiMB6Gau9dC3M0p3gC7XgPc-io3xZz7juzmxw@mail.gmail.com>

On Fri, Oct 11, 2013 at 05:29:17PM -0300, Paulo Zanoni wrote:
> 2013/10/10 Jani Nikula <jani.nikula@intel.com>:
> > On Wed, 09 Oct 2013, Paulo Zanoni <przanoni@gmail.com> wrote:
> >> From: Paulo Zanoni <paulo.r.zanoni@intel.com>
> >>
> >> The spec says the default timeout should be 2ms, but on my machine
> >> this doesn't seem to be enough. Sometimes it works, sometimes I get
> >> these messages when booting:
> >>   - SWSCI request timed out
> >
> > BTW if this happens, and BIOS missed our call, will anyone clear
> > SWSCI_SCIC_INDICATOR? If not, we're bound to keep hitting:
> >
> >>   - SWSCI request already in progress
> >
> > So maybe we should just clear SWSCI_SCIC_INDICATOR ourselves on timeout?
> > Would that help?
> >
> 
> We definitely should do something in case we get a timeout. I don't
> really know the best solution here, I need to study the problem. I
> just tried to solve the immediate problem of "make my machine work" :)
> I also think we should be careful to not mess with someone else's operation.
> 
> Also, I think this problem is kinda "orthogonal" to increasing the
> timeout (although increasing the timeout hides it, hopefully forever).
> I added this to my TODO list, but I don't guarantee I will fix it in
> the next weeks.
> 
> 
> > In any case, this patch is
> >
> > Reviewed-by: Jani Nikula <jani.nikula@intel.com>
> 
> 
> Thanks for the review :)

Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

      reply	other threads:[~2013-10-11 21:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-09 19:39 [PATCH] drm/i915: increase the SWSCI DSLP default timeout to 50ms Paulo Zanoni
2013-10-10  4:13 ` Jani Nikula
2013-10-11 20:29   ` Paulo Zanoni
2013-10-11 21:21     ` Daniel Vetter [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=20131011212124.GG8303@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=paulo.r.zanoni@intel.com \
    --cc=przanoni@gmail.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