[PATCH v2 0/6] UIO driver for APM X-Gene QMTM
From: Ankit Jindal <hidden>
Date: 2014-10-09 12:30:54
Also in:
linux-devicetree, lkml
On 9 October 2014 17:52, Richard Weinberger [off-list ref] wrote:
On Thu, Oct 9, 2014 at 2:17 PM, Ankit Jindal [off-list ref] wrote:quoted
On 9 October 2014 17:36, Arnd Bergmann [off-list ref] wrote:quoted
On Thursday 09 October 2014 14:14:33 Ankit Jindal wrote:quoted
On 30 September 2014 09:56, Ankit Jindal [off-list ref] wrote:quoted
This patchset enables user space access to APM X-Gene QMTM using UIO framework. The patchset also introduces new type UIO_MEM_PHYS_CACHE for mem regions because APM X-Gene QMTM device supports cache coherency with CPU caches.I haven't been able to review the patch in detail yet, but I have a very high-level question: how do you decide which driver to use? I understand that the normal use case is for the QMTM to be used by the kernel directly rather than being exported to user space, and that the network driver will just use it if it is there.This UIO driver will be disabled by default. When this driver is enabled, the other dependent drivers need to be removed from the config.And if the user forgets or creates an allmod/yesconfig we have undefined behavior?
When the conflicting drivers will be added to kernel, necessary options (depends on not) needs to be added to the Kconfig.
-- Thanks, //richard
Thanks, Ankit