[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20060919182220.GD7099@elf.ucw.cz>
Date: Tue, 19 Sep 2006 20:22:20 +0200
From: Pavel Machek <pavel@....cz>
To: "Eugeny S. Mints" <eugeny.mints@...il.com>
Cc: pm list <linux-pm@...ts.osdl.org>,
kernel list <linux-kernel@...r.kernel.org>
Subject: Re: [linux-pm] [PATCH] PowerOP, PowerOP Core, 1/2
Hi!
> >>+struct powerop_driver {
> >>+ char *name;
> >>+ void *(*create_point) (const char *pwr_params, va_list args);
> >>+ int (*set_point) (void *md_opt);
> >>+ int (*get_point) (void *md_opt, const char *pwr_params, va_list
> >>args);
> >>+};
> >
> >We can certainly get better interface than va_list, right?
>
> Please elaborate.
va_list does not provide adequate type checking. I do not think it
suitable in driver<->core interface.
> >>+#
> >>+# powerop
> >>+#
> >>+
> >>+menu "PowerOP (Power Management)"
> >>+
> >>+config POWEROP
> >>+ tristate "PowerOP Core"
> >>+ help
> >
> >Hohum, this is certainly going to be clear to confused user...
>
> please elaborate.
You probably want to include some help text.
> >How is it going to work on 8cpu box? will
> >you have states like cpu1_800MHz_cpu2_1600MHz_cpu3_800MHz_... ?
>
> i do not operate with term 'state' so I don't understand what it means here.
Okay, state here means "operating point". How will operating points
look on 8cpu box? That's 256 states if cpus only support "low" and
"high". How do you name them?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists