From patchwork Tue Oct 15 11:11:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 11190133 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5CE6B76 for ; Tue, 15 Oct 2019 11:12:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4843F217F9 for ; Tue, 15 Oct 2019 11:12:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728827AbfJOLMC (ORCPT ); Tue, 15 Oct 2019 07:12:02 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:52452 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726054AbfJOLMB (ORCPT ); Tue, 15 Oct 2019 07:12:01 -0400 X-IronPort-AV: E=Sophos;i="5.67,299,1566831600"; d="scan'208";a="28928920" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 15 Oct 2019 20:12:00 +0900 Received: from localhost.localdomain (unknown [10.166.17.210]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 484AD4207866; Tue, 15 Oct 2019 20:12:00 +0900 (JST) From: Yoshihiro Shimoda To: joro@8bytes.org Cc: iommu@lists.linux-foundation.org, linux-renesas-soc@vger.kernel.org, Yoshihiro Shimoda Subject: [PATCH v2 0/6] iommu/ipmmu-vmsa: minor updates Date: Tue, 15 Oct 2019 20:11:54 +0900 Message-Id: <1571137920-15314-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 2.7.4 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org This patch series is based on the latest iommu.git / next branch to modify the driver in the future's new hardware. Changes from v1: - Remove all unused register definitions instead of selective. so that I didn't add Geert-san's Reviewed-by in the patch [1/3]. - To improve code readability, add comments to the register definitions and add some helper functions. https://patchwork.kernel.org/project/linux-renesas-soc/list/?series=184741 Yoshihiro Shimoda (6): iommu/ipmmu-vmsa: Remove all unused register definitions iommu/ipmmu-vmsa: tidyup register definitions iommu/ipmmu-vmsa: Add helper functions for MMU "context" registers iommu/ipmmu-vmsa: Calculate context registers' offset instead of a macro iommu/ipmmu-vmsa: Add helper functions for "uTLB" registers iommu/ipmmu-vmsa: Add utlb_offset_base drivers/iommu/ipmmu-vmsa.c | 214 +++++++++++++++++++-------------------------- 1 file changed, 89 insertions(+), 125 deletions(-)