From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
To: Paul Bolle <pebolle@tiscali.nl>
Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com,
x86@kernel.org, linux-kernel@vger.kernel.org,
Kumar P Mahesh <mahesh.kumar.p@intel.com>
Subject: Re: [PATCH] x86: punit_atom: punit device state debug driver
Date: Wed, 29 Apr 2015 16:33:47 -0700 [thread overview]
Message-ID: <1430350427.5506.9.camel@spandruv-DESK3.jf.intel.com> (raw)
In-Reply-To: <1429954999.2927.117.camel@x220>
On Sat, 2015-04-25 at 11:43 +0200, Paul Bolle wrote:
> On Fri, 2015-04-24 at 14:42 -0700, Srinivas Pandruvada wrote:
> > --- a/arch/x86/Kconfig
> > +++ b/arch/x86/Kconfig
> >
> > +config PUNIT_ATOM
> > + bool "ATOM Punit debug driver"
> > + def_bool n
>
> The kconfig tools will do what you mean here. But just
> default n
>
> is neater. And, moreover, even that is probably not needed, as n is the
> default anyway.
>
> > + depends on DEBUG_FS
> > + select IOSF_MBI
> > + ---help---
> > + This is a debug driver, which gets the power states
> > + of all Punit North Complex devices.The power states of
> > + each IP is exposed as part of the debugfs interface.
>
> (This menu will show up in menuconfig's main menu. Shouldn't this be put
> in some debug related menu?)
The initial intention is to make a debug driver only, but there is
possibility that some register setting be allowed from user space for PM
decision. So leaving open this possibility to keep out of debug menus.
<snip>
> And these three macros will be effectively preprocessed away for
> built-in only code.
>
> But, on the other hand, changing PUNIT_ATOM to tristate allows it to be
> built as a module (I just did that). So perhaps that was your intention?
Making tristate makes sense. So I will send an update with this.
Thanks,
Srinivas
>
>
> Paul Bolle
>
prev parent reply other threads:[~2015-04-29 23:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-24 21:42 Srinivas Pandruvada
2015-04-25 9:43 ` Paul Bolle
2015-04-29 23:33 ` Srinivas Pandruvada [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=1430350427.5506.9.camel@spandruv-DESK3.jf.intel.com \
--to=srinivas.pandruvada@linux.intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mahesh.kumar.p@intel.com \
--cc=mingo@redhat.com \
--cc=pebolle@tiscali.nl \
--cc=tglx@linutronix.de \
--cc=x86@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®