linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shubhrajyoti Datta <omaplinuxkernel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Alan Cox <alan-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Cc: jun.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
	ken.k.mills-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
	sylvain.centelles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org,
	chao bi <chao.bi-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [PATCH] SPI: SSP SPI Controller driver
Date: Thu, 22 Nov 2012 12:31:38 +0530	[thread overview]
Message-ID: <CAM=Q2cuCZni2DyzDux-E5H4-djgNrUURTYJ+f=_oMBeJE7eGMw@mail.gmail.com> (raw)
In-Reply-To: <20121121122630.13fc2087-Z/y2cZnRghHXmaaqVzeoHQ@public.gmane.org>

On Wed, Nov 21, 2012 at 5:56 PM, Alan Cox <alan-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> wrote:

> On Wed, 21 Nov 2012 17:44:21 +0530
> Shubhrajyoti Datta <omaplinuxkernel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> > On Wed, Nov 21, 2012 at 7:46 AM, chao bi <chao.bi-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
> >
> > > +       /* Create the PM_QOS request */
> > > +       if (drv_context->quirks & QUIRKS_USE_PM_QOS)
> > > +               pm_qos_add_request(&drv_context->pm_qos_req,
> > > +               PM_QOS_CPU_DMA_LATENCY,
> > > +               PM_QOS_DEFAULT_VALUE);
> > >
> >
> > What happens if the flag is not set if it is absolutely necessary for
> > the driver it should not be a
> > configurable option
>
> If you read through the code it's set only when the device is
> Moorestown/Oaktrail based and only in slave mode. It is not necessary
> in other configurations.
>

Thats what I was trying to understand.

If I am not wrong the latency is time related.
Why only some platforms / modes need it also the value is not speed
dependent.


My doubt is that the time taken for the dma will be more in lower speed so
the
latency constraint could be relaxed.

Also the spi core today doesnt have slave mode support thats a different
discussion altogether may be we can leave it for now.




>
> Alan
>
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov

  parent reply	other threads:[~2012-11-22  7:01 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-21  2:16 [PATCH] SPI: SSP SPI Controller driver chao bi
2012-11-21 12:08 ` Shubhrajyoti Datta
     [not found]   ` <CAM=Q2cvoEMScnCmfrhoAueZ8bfPCX90TxZmsSigfeRbGeXbzMA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-22  3:26     ` Bi, Chao
     [not found]       ` <253F3AA5ECB4EC43A2CA0147545F67F2102B5D40-0J0gbvR4kTiiAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2012-11-22  6:54         ` Shubhrajyoti Datta
     [not found]           ` <CAM=Q2cszn_OoTyYiUVSj3NvpxJq+wSUnMJVcwWOdV2EzDviLVw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-22  8:13             ` Bi, Chao
2012-11-21 12:14 ` Shubhrajyoti Datta
     [not found]   ` <CAM=Q2cu6ReS-6sJxdacnw=FYGdoFed9bM1gA6yFEtmVjs8KQTA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-21 12:26     ` Alan Cox
     [not found]       ` <20121121122630.13fc2087-Z/y2cZnRghHXmaaqVzeoHQ@public.gmane.org>
2012-11-22  7:01         ` Shubhrajyoti Datta [this message]
     [not found]           ` <CAM=Q2cuCZni2DyzDux-E5H4-djgNrUURTYJ+f=_oMBeJE7eGMw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-22 11:04             ` Alan Cox
2012-12-06 12:38 ` Grant Likely
2012-12-06 14:19   ` Alan Cox
     [not found]     ` <20121206141938.0100f06f-Z/y2cZnRghHXmaaqVzeoHQ@public.gmane.org>
2012-12-11 14:30       ` Jun Chen
2012-12-11  2:00   ` chao bi
2012-12-11 16:36     ` Grant Likely
2012-12-11  8:58   ` chao bi
2012-12-11 16:46     ` Grant Likely
2012-12-13  9:09       ` chao bi
2012-12-16 21:32         ` Grant Likely
2012-12-17  8:24           ` chao bi
2012-12-17  8:58     ` Linus Walleij
2012-12-17 11:23 ` Linus Walleij
     [not found]   ` <CACRpkdad3fHxWRpRqD-eP8-sKKexN+s-JZCT6XLggv92Q=5kMA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-12-18  5:47     ` chao bi
2012-12-20 15:32       ` Linus Walleij
2013-01-09  4:25       ` Vinod Koul
     [not found]         ` <20130109042535.GL19691-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2013-01-10 11:52           ` Linus Walleij
  -- strict thread matches above, loose matches on Subject: below --
2012-11-06  9:11 chao bi

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='CAM=Q2cuCZni2DyzDux-E5H4-djgNrUURTYJ+f=_oMBeJE7eGMw@mail.gmail.com' \
    --to=omaplinuxkernel-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=alan-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
    --cc=chao.bi-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=jun.d.chen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=ken.k.mills-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=sylvain.centelles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.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;
as well as URLs for NNTP newsgroup(s).