lkml.org 
[lkml]   [2014]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH V3 0/2] x86: IOSF: Add loadable module support
Date
From: "David E. Box" <david.e.box@linux.intel.com>

This patch series adds missing functionalty that mostly affected loadable
modules.

The first patch adds dummy functions to allow drivers not completely
dependant on the IOSF MBI driver to compile on systems that don't have it.

The second ensures the availabilty of the MBI driver in the kernel, limiting the
possibility of requiring a rebuild when new modules needing the MBI are added.

Changes from V2:

- Remove non linux style externs from iosf_mbi.h

Changes from V1:

- Force default y for non-EXPERT to allow easier custom configuration
as suggested by hpa <hpa@zytor.com>
- Add WARN() to dummy functions, other than iosf_mbi_available(), to
signal incorrect use as suggested by Alan <gnomes@lxorguk.ukuu.org.uk>
Also return EPERM in these functions
- Splits single patch into two patch series

David E. Box (2):
x86: IOSF: add dummy functions for loadable modules
x86: IOSF: Change IOSF_MBI Kconfig to default y

arch/x86/Kconfig | 5 +++--
arch/x86/include/asm/iosf_mbi.h | 33 +++++++++++++++++++++++++++++++++
arch/x86/kernel/iosf_mbi.c | 6 ++++++
3 files changed, 42 insertions(+), 2 deletions(-)

--
1.7.10.4



\
 
 \ /
  Last update: 2014-02-28 19:21    [W:0.290 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site