From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752310AbdF3RJl (ORCPT ); Fri, 30 Jun 2017 13:09:41 -0400 Received: from mga03.intel.com ([134.134.136.65]:49047 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751728AbdF3RJk (ORCPT ); Fri, 30 Jun 2017 13:09:40 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,287,1496127600"; d="scan'208";a="280728299" From: Andy Shevchenko To: Ingo Molnar , x86@kernel.org, Thomas Gleixner , "H . Peter Anvin" , linux-kernel@vger.kernel.org, Baolin Wang , wsa@the-dreams.de, linux-i2c@vger.kernel.org, Mika Westerberg , intel-gfx@lists.freedesktop.org Cc: Andy Shevchenko Subject: [PATCH v2 0/5] x86/io: Rely on asm-generic/io.h Date: Fri, 30 Jun 2017 20:09:29 +0300 Message-Id: <20170630170934.83028-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The series brings a bit of order to arch/x86/include/asm/io.h by re-using definitions in the generic header. The series has been tested on Intel Broxton hardware in 32- and 64-bit modes. Since v2: - add cleanup patches in accordance to re-use what's defined in generic header - split to few patches - hopefully nail down an issue kbuild bot complained about - append tags (Wolfram) Andy Shevchenko (5): x86/io: Define IO accessors by preprocessor x86/io: Include asm-generic/io.h to architectural code x86/io: Remove mem*io() duplications x86/io: Remove xlate_dev_kmem_ptr() duplication x86/io: Make readq() / writeq() API consistent arch/x86/include/asm/io.h | 98 +++++++++++++++++++++++------------------------ include/asm-generic/io.h | 27 +++++++++++++ 2 files changed, 74 insertions(+), 51 deletions(-) -- 2.11.0