pci: check caps from sysfs file open to read device dependent config space
On Thu, May 13, 2010 at 10:43:07AM -0700, Chris Wright wrote: * Alan Cox (alan(a)lxorguk.ukuu.org.uk) wrote: I agree with the problem - but IMHO the fix is to require opening the file checks CAP_SYS_something instead: not to hack the read method and make it even weirder and more un-Linux than it is now.... 13 May 2010 16:02
x86 pci: Add option to not assign BAR's if not already assigned
On 05/13/2010 11:56 AM, Bjorn Helgaas wrote: I'm a little bit nervous about Linux's current strategy of assigning resources to things before we even know whether we're going to use them. We don't support dynamic PCI resource reassignment, so maybe we don't have any choice in this case, but generally I ... 9 Jun 2010 10:51
x86 pci: Add option to not assign BAR's if not already assigned
Oops, I added Yinghai to the CC: list, but I forgot to add linux-pci(a)vger.kernel.org. Please add that on any future replies. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-inf... 2 Jun 2010 13:08
General questiin about SYSFS
Hello, I have a simple question = I've heard rumours here and there that SYSFS is deprecated and forthcoming kernels won't use it, I even see some warning during boot. Is it true? And where to disable it in the config? I could find the option in menuconfig and I don't want to edit .config by hand, because th... 17 May 2010 04:47
MMC: OMAP HS-MMC: convert to dev_pm_ops
On Tue, 11 May 2010 14:57:16 -0700, Kevin Hilman <khilman(a)deeprootsystems.com> wrote: Note that dev_pm_ops version of the suspend hook no longer takes a 'state' argument. However, the MMC core function mmc_suspend_host() still takes a 'state' argument, but it is unused, so a dummy state variable was cr... 18 May 2010 13:40
[PATCH RFC] perf: fix find_swevent_head() RCU lockdep splat
This commit guesses at the perf_cpu_context locking design and deploys an rcu_dereference_check() accordingly. The design appears to require that a given CPU be accessing its own per_cpu_context or that it be traversing under RCU protection. Signed-off-by: Paul E. McKenney <paulmck(a)linux.vnet.ibm.com> Cc: Frede... 13 May 2010 14:55
[staging-next] [1] Staging: rtl8187se: fixed space style issues in r8180_core.c
On Thu, 2010-05-13 at 23:08 +0530, Prashant P. Shah wrote: drivers/staging/rtl8187se/r8180_core.c | 1622 ++++++++++++++++---------------- 1 files changed, 806 insertions(+), 816 deletions(-) diff --git a/drivers/staging/rtl8187se/r8180_core.c b/drivers/staging/rtl8187se/r8180_core.c index 84a745b..37b... 13 May 2010 14:55
[PATCH] usb: gadget: g_mass_storage: static data instead of dynamic allocation
This patch changes msg_do_config() function so that it uses a static object for a fsg_common structure instead of dynamically allocated. This is a micro-optimisation. Signed-off-by: Michal Nazarewicz <m.nazarewicz(a)samsung.com> --- drivers/usb/gadget/mass_storage.c | 13 +++++++------ 1 files changed, 7 inse... 13 May 2010 14:55
[PATCH] perf: Fix missing getline declaration
hist.c needs to include util.h so that it gets stdio.h inclusion with __GNU_SOURCE defined. Fixes: util/hist.c: In function 'hist_entry__parse_objdump_line': util/hist.c:931: erreur: implicit declaration of function 'getline' util/hist.c:931: erreur: nested extern declaration of 'getline' Signed-off-by: Fr... 13 May 2010 14:55
[PATCH 2/2 v2] pci: check caps from sysfs file open to read device dependent config space
* Alan Cox (alan(a)lxorguk.ukuu.org.uk) wrote: I agree with the problem - but IMHO the fix is to require opening the file checks CAP_SYS_something instead: not to hack the read method and make it even weirder and more un-Linux than it is now. This patch does that. Not as convenient from the KVM/libvirt point... 13 May 2010 14:55