WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 2/5] pciback: new per-device permissive flag

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 2/5] pciback: new per-device permissive flag
From: Ryan <hap9@xxxxxxxxxxxxxx>
Date: Tue, 11 Apr 2006 14:32:06 -0400
Delivery-date: Tue, 11 Apr 2006 11:33:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
The permissive flag was added to the PCI Backend to disable the PCI
Backend's "read-only by default" stance to allow devices in driver
domains to write to registers within a device's configuration space.
This flag was global for all devices controlled by the PCI Backend in
all domains. This patch removes the global flag and instead adds a
per-device flag. Permissive mode for a particular device can be enabled
by writing the device's slot number to a sysfs attribute
(/sys/bus/pci/drivers/pciback/permissive). That sysfs node can also be
read to list all devices for which permissive mode is enabled. However,
once enabled, this patch provides no interface to turn permissive mode
off for a device. Please unbind the device from the backend and re-bind
it if you need that capability for now.

Signed-off-by: Ryan Wilson <hap9@xxxxxxxxxxxxxx>

Attachment: permissive_sysfs.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 2/5] pciback: new per-device permissive flag, Ryan <=