From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753980AbdF0XCT (ORCPT ); Tue, 27 Jun 2017 19:02:19 -0400 Received: from ale.deltatee.com ([207.54.116.67]:43170 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753871AbdF0XCN (ORCPT ); Tue, 27 Jun 2017 19:02:13 -0400 From: Logan Gunthorpe To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-ntb@googlegroups.com, linux-crypto@vger.kernel.org Cc: Arnd Bergmann , Greg Kroah-Hartman , Jyri Sarha , Stephen Bates , Logan Gunthorpe Date: Tue, 27 Jun 2017 17:02:01 -0600 Message-Id: <20170627230204.16410-1-logang@deltatee.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 172.16.1.31 X-SA-Exim-Rcpt-To: linux-ntb@googlegroups.com, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-crypto@vger.kernel.org, arnd@arndb.de, gregkh@linuxfoundation.org, jsarha@ti.com, sbates@raithlin.com, logang@deltatee.com X-SA-Exim-Mail-From: gunthorp@deltatee.com Subject: [PATCH v2 0/3] make io{read|write}64 more globally usable X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is my second attempt to cleanup the io{read|write}64 functions so that I can use them in a new driver[1]. This time, per a suggestion from Arnd, we simply add the io64 functions to the io-64-nonatomic headers and cleanup the two obvious drivers. (Horia provided me with a corrected patch for the crypto caam which I have included.) I've droped the tilcdc patch as it does not appear to support non-atomic accesses, so it's hack around iowrite64 will remain. Thanks, Logan [1] https://marc.info/?l=linux-kernel&m=149774601910663&w=2 Horia Geantă (1): crypto: caam: cleanup CONFIG_64BIT ifdefs when using io{read|write}64 Logan Gunthorpe (2): io-64-nonatomic: add io{read|write}64[be] macros ntb: ntb_hw_intel: use io-64-nonatomic instead of in-driver hacks drivers/crypto/caam/regs.h | 35 +++++------------------------------ drivers/ntb/hw/intel/ntb_hw_intel.c | 31 +------------------------------ include/linux/io-64-nonatomic-hi-lo.h | 16 ++++++++++++++++ include/linux/io-64-nonatomic-lo-hi.h | 16 ++++++++++++++++ 4 files changed, 38 insertions(+), 60 deletions(-) -- 2.11.0