mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: james_p_freyensee@linux.intel.com
Cc: gregkh@suse.de, linux-kernel@vger.kernel.org, suhail.ahmed@intel.com
Subject: Re: [PATCH 06/12] PTI header file.
Date: Thu, 17 Feb 2011 11:20:06 -0800	[thread overview]
Message-ID: <20110217192006.GA29448@kroah.com> (raw)
In-Reply-To: <1297193697-5417-7-git-send-email-james_p_freyensee@linux.intel.com>

On Tue, Feb 08, 2011 at 11:34:51AM -0800, james_p_freyensee@linux.intel.com wrote:
> From: J Freyensee <james_p_freyensee@linux.intel.com>
> 
> This adds PTI header information for the PTI project.
> 
> Signed-off-by: J Freyensee <james_p_freyensee@linux.intel.com>
> ---
>  include/linux/pti.h |   38 ++++++++++++++++++++++++++++++++++++++

Why does this have to be in include/linux/?  What other files use it?

>  1 files changed, 38 insertions(+), 0 deletions(-)
>  create mode 100644 include/linux/pti.h
> 
> diff --git a/include/linux/pti.h b/include/linux/pti.h
> new file mode 100644
> index 0000000..4b1c9f6
> --- /dev/null
> +++ b/include/linux/pti.h
> @@ -0,0 +1,38 @@
> +/*
> + *  Copyright (C) Intel 2010
> + *  Ken Mills <ken.k.mills@intel.com>

That's nice, where is Ken's signed-off-by?  We need that please.

> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> + * GNU General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License
> + * along with this program; if not, write to the Free Software
> + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
> + * USA

This paragraph is not needed, please remove it unless you are willing to
keep up with the FSF's office moves for the next 40+ years.

Same goes for this paragraph on other files in this patchset, please
remove it.

> + *
> + */
> +
> +#ifndef PTI_H_
> +#define PTI_H_
> +
> +/* basic structure used as a write address to the PTI HW */
> +struct masterchannel {

Pretty generic structure name, please prefix it with "pti_"

> +	u8 master;
> +	u8 channel;
> +};
> +
> +/* the following functions are defined in misc/pti.c */
> +void mipi_pti_writedata(struct masterchannel *mc, u8 *cp, int count);

"cp"?

> +struct masterchannel *mipi_request_masterchannel(u8 kerneluser);

kerneluser?

> +void mipi_release_masterchannel(struct masterchannel *mc);

"Mipi"?  What's that?

> +
> +#define APERTURE_14 0x3800000
> +#define APERTURE_LEN 0x400000

What are these for?

> +
> +#endif /*PTI_H_*/
> -- 
> 1.6.6.1

  parent reply	other threads:[~2011-02-17 19:28 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-08 19:34 Resend: Request for review and addition of PTI implementation into kernel james_p_freyensee
2011-02-08 19:34 ` [PATCH 01/12] export kernel call get_task_comm() james_p_freyensee
2011-02-08 19:34   ` [PATCH 02/12] Kernel documentation for the PTI feature james_p_freyensee
2011-02-08 19:34     ` [PATCH 03/12] Intel PTI implementaiton of 1149 james_p_freyensee
2011-02-08 19:34       ` [PATCH 04/12] PTI Kconfig change in misc james_p_freyensee
2011-02-08 19:34         ` [PATCH 05/12] PTI misc Makefile addition james_p_freyensee
2011-02-08 19:34           ` [PATCH 06/12] PTI header file james_p_freyensee
2011-02-08 19:34             ` [PATCH 07/12] n_tracerouter and n_tracesink additions james_p_freyensee
2011-02-08 19:34               ` [PATCH 08/12] n_tracesink ldisc addition james_p_freyensee
2011-02-08 19:34                 ` [PATCH 09/12] n_tracesink header file james_p_freyensee
2011-02-08 19:34                   ` [PATCH 10/12] n_tracerouter ldisc driver james_p_freyensee
2011-02-08 19:34                     ` [PATCH 11/12] n_tracerouter and n_tracesink Kconfig james_p_freyensee
2011-02-08 19:34                       ` [PATCH 12/12] n_tracerouter and n_tracesink Makefile addition james_p_freyensee
2011-02-08 21:03                       ` [PATCH 11/12] n_tracerouter and n_tracesink Kconfig Randy Dunlap
2011-02-17 19:23                   ` [PATCH 09/12] n_tracesink header file Greg KH
2011-02-17 19:45                     ` J Freyensee
2011-02-17 19:54                       ` Greg KH
2011-02-17 20:10                         ` J Freyensee
2011-02-17 21:43                           ` Greg KH
2011-02-22 20:22                             ` J Freyensee
2011-02-22 20:26                               ` Greg KH
2011-02-22 22:55                                 ` J Freyensee
2011-02-17 19:21               ` [PATCH 07/12] n_tracerouter and n_tracesink additions Greg KH
2011-02-17 19:43                 ` J Freyensee
2011-02-17 19:54                   ` Greg KH
2011-02-17 20:11                     ` J Freyensee
2011-02-24 11:52                   ` Alan Cox
2011-02-17 19:20             ` Greg KH [this message]
2011-02-17 19:41               ` [PATCH 06/12] PTI header file J Freyensee
2011-02-17 19:55                 ` Greg KH
2011-02-17 20:13                   ` J Freyensee
2011-02-17 19:20         ` [PATCH 04/12] PTI Kconfig change in misc Greg KH
2011-02-17 19:35           ` J Freyensee
2011-02-17 19:45             ` Greg KH
2011-02-08 20:55     ` [PATCH 02/12] Kernel documentation for the PTI feature Randy Dunlap
2011-02-08 19:38   ` [PATCH 01/12] export kernel call get_task_comm() Christoph Hellwig
2011-02-08 19:44     ` james_p_freyensee
2011-02-08 20:04       ` Christoph Hellwig
2011-02-08 20:35         ` james_p_freyensee
2011-02-08 20:28       ` Alan Cox
2011-02-08 20:28         ` Christoph Hellwig
2011-02-08 20:36           ` Alan Cox
2011-02-15 10:57             ` Christoph Hellwig
2011-02-22 18:38   ` J Freyensee
2011-02-22 18:41     ` Greg KH
2011-02-09  0:17 [PATCH 02/12] Kernel documentation for the PTI feature james_p_freyensee
2011-02-09  0:17 ` [PATCH 03/12] Intel PTI implementaiton of 1149 james_p_freyensee
2011-02-09  0:17   ` [PATCH 04/12] PTI Kconfig change in misc james_p_freyensee
2011-02-09  0:17     ` [PATCH 05/12] PTI misc Makefile addition james_p_freyensee
2011-02-09  0:17       ` [PATCH 06/12] PTI header file james_p_freyensee

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=20110217192006.GA29448@kroah.com \
    --to=greg@kroah.com \
    --cc=gregkh@suse.de \
    --cc=james_p_freyensee@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=suhail.ahmed@intel.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

Powered by JetHome