mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: "Epshteyn, Eugene" <eugene.epshteyn@intel.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [RFC PATCH 1/4] Mobile security processor driver
Date: Thu, 29 Apr 2010 12:03:21 +0100	[thread overview]
Message-ID: <20100429120321.55b90efc@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <753F67ADE6F5094C9F1DBA00D1BAA8D325518252AC@orsmsx501.amr.corp.intel.com>

> -struct sep_driver_init_t {
> -       /* start of the 1G of the host memory address that SEP can access */
> -       unsigned long message_addr;
> +  /* new base address */
> +  dma_addr_t   new_base_addr;
> +};

We seem to be going backwards - deformatting code


> +static inline u32 SEP_READ_REGISTER(struct device_context *dev, int reg)
> +{
> +       void __iomem *addr = dev->reg_addr + reg;
> +       return readl_be(addr);
> +}

Re adding wrappers


> +#define SEP_CHANGE_ENDIANNESS(val) \
> +      (((val) >> 24) | (((val) & 0x00FF0000) >> 8) | \
> +      (((val) & 0x0000FF00) << 8) | \
> +      (((val) & 0x000000FF) << 24))

And other goo


>    *  CHANGES:
>    *
> - *  2009.06.26 Initial publish
> + *  2010.01.08 Initial publish

Sorry ?????


      parent reply	other threads:[~2010-04-30 17:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-28 23:10 Epshteyn, Eugene
2010-04-29  3:36 ` Greg KH
2010-04-29 20:48   ` Epshteyn, Eugene
2010-04-29 21:17     ` Greg KH
2010-04-29 11:03 ` Alan Cox [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=20100429120321.55b90efc@lxorguk.ukuu.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=eugene.epshteyn@intel.com \
    --cc=linux-kernel@vger.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®