From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932190AbbJRQBO (ORCPT ); Sun, 18 Oct 2015 12:01:14 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:38004 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753059AbbJRQAm (ORCPT ); Sun, 18 Oct 2015 12:00:42 -0400 From: Eric Auger To: eric.auger@st.com, eric.auger@linaro.org, alex.williamson@redhat.com, b.reynal@virtualopensystems.com, arnd@arndb.de, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org Cc: christoffer.dall@linaro.org, linux-kernel@vger.kernel.org, patches@linaro.org Subject: [PATCH 0/4] VFIO platform reset module rework Date: Sun, 18 Oct 2015 18:00:11 +0200 Message-Id: <1445184015-24414-1-git-send-email-eric.auger@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series fixes the current implementation by getting rid of the usage of __symbol_get which caused a compilation issue with CONFIG_MODULES disabled. On top of this, the usage of MODULE_ALIAS makes possible to add a new reset module without being obliged to update the framework. The new implementation relies on the reset module registering its reset function to the vfio-platform driver. The series is available at https://git.linaro.org/people/eric.auger/linux.git/shortlog/refs/heads/v4.3-rc5-rework-xgbe-v2 Best Regards Eric Eric Auger (4): vfio: platform: add capability to register a reset function vfio: platform: reset: calxedaxgmac: add reset function registration vfio: platform: add compat in vfio_platform_device vfio: platform: use list of registered reset function .../platform/reset/vfio_platform_calxedaxgmac.c | 40 +++++++- drivers/vfio/platform/vfio_platform_common.c | 112 ++++++++++++++++----- drivers/vfio/platform/vfio_platform_private.h | 16 +++ 3 files changed, 140 insertions(+), 28 deletions(-) -- 1.9.1