Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751250AbdH2EFH (ORCPT ); Tue, 29 Aug 2017 00:05:07 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:34001 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750815AbdH2EFF (ORCPT ); Tue, 29 Aug 2017 00:05:05 -0400 From: Anup Patel To: Will Deacon , Robin Murphy , Joerg Roedel , Baptiste Reynal , Alex Williamson Cc: Scott Branden , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, kvm@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Anup Patel Subject: [PATCH v6] FlexRM support in VFIO platform Date: Tue, 29 Aug 2017 09:34:45 +0530 Message-Id: <1503979486-5364-1-git-send-email-anup.patel@broadcom.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1407 Lines: 45 This patchset primarily adds Broadcom FlexRM reset module for VFIO platform driver. The patches are based on Linux-4.13-rc3 and can also be found at flexrm-vfio-v6 branch of https://github.com/Broadcom/arm64-linux.git Changes since v5: - Make kconfig option VFIO_PLATFORM_BCMFLEXRM_RESET default to ARCH_BCM_IPROC Changes since v4: - Use "--timeout" instead of "timeout--" in vfio_platform_bcmflexrm_shutdown() Changes since v3: - Improve "depends on" for Kconfig option VFIO_PLATFORM_BCMFLEXRM_RESET - Fix typo in pr_warn() called by vfio_platform_bcmflexrm_shutdown() - Return error from vfio_platform_bcmflexrm_shutdown() when FlexRM ring flush timeout happens Changes since v2: - Remove PATCH1 because fixing VFIO no-IOMMU mode is a separate topic Changes since v1: - Remove iommu_present() check in vfio_iommu_group_get() - Drop PATCH1-to-PATCH3 because IOMMU_CAP_BYPASS is not required - Move additional comments out of license header in vfio_platform_bcmflexrm.c Anup Patel (1): vfio: platform: reset: Add Broadcom FlexRM reset module drivers/vfio/platform/reset/Kconfig | 9 ++ drivers/vfio/platform/reset/Makefile | 1 + .../vfio/platform/reset/vfio_platform_bcmflexrm.c | 100 +++++++++++++++++++++ 3 files changed, 110 insertions(+) create mode 100644 drivers/vfio/platform/reset/vfio_platform_bcmflexrm.c -- 2.7.4