From mboxrd@z Thu Jan 1 00:00:00 1970 From: thierry.reding@gmail.com (Thierry Reding) Date: Mon, 29 Sep 2014 10:31:37 +0200 Subject: [PATCH v3 1/2] iopoll: Introduce memory-mapped IO polling macros In-Reply-To: <1411874849-343-2-git-send-email-mitchelh@codeaurora.org> References: <1411874849-343-1-git-send-email-mitchelh@codeaurora.org> <1411874849-343-2-git-send-email-mitchelh@codeaurora.org> Message-ID: <20140929083136.GG12506@ulmo> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Sat, Sep 27, 2014 at 08:27:28PM -0700, Mitchel Humpherys wrote: > From: Matt Wagantall > > It is sometimes necessary to poll a memory-mapped register until its > value satisfies some condition. Introduce a family of convenience macros > that do this. Tight-loop and sleeping versions are provided with and > without timeouts. > > Cc: Thierry Reding > Cc: Will Deacon > Signed-off-by: Matt Wagantall > Signed-off-by: Mitchel Humpherys > --- > include/linux/iopoll.h | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 77 insertions(+) > create mode 100644 include/linux/iopoll.h It would be good to provide a changelog with each new version of the patch. As it is I now have v2 and v3 of this patch in my inbox and I have no idea what the differences are, so I'd need to download both and run them through interdiff to find out. Thierry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: