From: willy@linux.intel.com (Matthew Wilcox)
Subject: [PATCH 1/2] nvme: remove spurious use of *_to_cpup helpers
Date: Mon, 17 Aug 2015 16:12:37 -0400 [thread overview]
Message-ID: <20150817201237.GC9645@linux.intel.com> (raw)
In-Reply-To: <1439838580-29647-2-git-send-email-hch@lst.de>
On Mon, Aug 17, 2015@09:09:39PM +0200, Christoph Hellwig wrote:
> Switch to the normal endianess helpers that take an integer instead of
> the pointer to it.
Why? Some CPUs have a 'load-reversed-endian' instruction, which can be
used in the _to_cpup() cases, but not in the _to_cpu() cases.
> - cqe->command_id, le16_to_cpup(&cqe->sq_id));
> + cqe->command_id, le16_to_cpu(cqe->sq_id));
next prev parent reply other threads:[~2015-08-17 20:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-17 19:09 two minor nvme endianess patches Christoph Hellwig
2015-08-17 19:09 ` [PATCH 1/2] nvme: remove spurious use of *_to_cpup helpers Christoph Hellwig
2015-08-17 20:12 ` Matthew Wilcox [this message]
2015-08-18 5:51 ` Christoph Hellwig
2015-08-18 17:51 ` Jens Axboe
2015-08-19 8:16 ` Christoph Hellwig
2015-08-17 19:09 ` [PATCH 2/2] nvme.h: add missing endianess annotations Christoph Hellwig
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=20150817201237.GC9645@linux.intel.com \
--to=willy@linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.