From patchwork Sat Mar 6 18:09:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Leroy X-Patchwork-Id: 394808 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C168C433DB for ; Sat, 6 Mar 2021 18:10:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2CFBF64FE9 for ; Sat, 6 Mar 2021 18:10:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231261AbhCFSJw (ORCPT ); Sat, 6 Mar 2021 13:09:52 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:13706 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231267AbhCFSJf (ORCPT ); Sat, 6 Mar 2021 13:09:35 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4DtCKz069zz9v086; Sat, 6 Mar 2021 19:09:27 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id cGRZB42mNDdR; Sat, 6 Mar 2021 19:09:26 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4DtCKy5SnHz9v085; Sat, 6 Mar 2021 19:09:26 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id A8CAA8B768; Sat, 6 Mar 2021 19:09:28 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id SEiO7T7f0CNU; Sat, 6 Mar 2021 19:09:28 +0100 (CET) Received: from po16121vm.idsi0.si.c-s.fr (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 5890A8B75B; Sat, 6 Mar 2021 19:09:28 +0100 (CET) Received: by localhost.localdomain (Postfix, from userid 0) id 186F5674E3; Sat, 6 Mar 2021 18:09:27 +0000 (UTC) Message-Id: From: Christophe Leroy Subject: [PATCH v1 0/3] Remove qe_io{read,write}* IO accessors To: Qiang Zhao , Li Yang , Rasmus Villemoes , Timur Tabi , Greg Kroah-Hartman , Jiri Slaby Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-serial@vger.kernel.org Date: Sat, 6 Mar 2021 18:09:27 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Commit 6ac9b61786cc ("soc: fsl: qe: introduce qe_io{read,write}* wrappers") added specific I/O accessors for qe because at that time ioread/iowrite functions were sub-optimal on powerpc/32 compared to the architecture specific in_/out_ IO accessors. But as ioread/iowrite accessors are now equivalent since commit 894fa235eb4c ("powerpc: inline iomap accessors"), use them in order to allow removal of the qe specific ones. Christophe Leroy (3): soc: fsl: qe: replace qe_io{read,write}* wrappers by generic io{read,write}* tty: serial: ucc_uart: replace qe_io{read,write}* wrappers by generic io{read,write}* Revert "soc: fsl: qe: introduce qe_io{read,write}* wrappers" drivers/soc/fsl/qe/gpio.c | 20 +++--- drivers/soc/fsl/qe/qe.c | 24 +++---- drivers/soc/fsl/qe/qe_ic.c | 4 +- drivers/soc/fsl/qe/qe_io.c | 36 +++++----- drivers/soc/fsl/qe/ucc_fast.c | 68 +++++++++---------- drivers/soc/fsl/qe/ucc_slow.c | 42 ++++++------ drivers/tty/serial/ucc_uart.c | 124 +++++++++++++++++----------------- include/soc/fsl/qe/qe.h | 34 +++------- 8 files changed, 168 insertions(+), 184 deletions(-) Acked-by: Greg Kroah-Hartman