kernel_optimize_test/Documentation/ABI/testing
Bodong Wang 0e7df22401 PCI: Add sysfs sriov_drivers_autoprobe to control VF driver binding
Sometimes it is not desirable to bind SR-IOV VFs to drivers.  This can save
host side resource usage by VF instances that will be assigned to VMs.

Add a new PCI sysfs interface "sriov_drivers_autoprobe" to control that
from the PF.  To modify it, echo 0/n/N (disable probe) or 1/y/Y (enable
probe) to:

  /sys/bus/pci/devices/<DOMAIN:BUS:DEVICE.FUNCTION>/sriov_drivers_autoprobe

Note that this must be done before enabling VFs.  The change will not take
effect if VFs are already enabled.  Simply, one can disable VFs by setting
sriov_numvfs to 0, choose whether to probe or not, and then re-enable the
VFs by restoring sriov_numvfs.

[bhelgaas: changelog, ABI doc]
Signed-off-by: Bodong Wang <bodong@mellanox.com>
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
2017-04-20 08:53:51 -05:00
..
configfs-acpi ACPI: add support for loading SSDTs via configfs 2016-07-08 21:52:36 +02:00
configfs-iio Documentation: iio: Add IIO software devices docs 2016-05-04 11:44:15 +01:00
configfs-rdma_cm IB/cma: Add default RoCE TOS to CMA configfs 2017-02-15 09:51:28 -05:00
configfs-spear-pcie-gadget
configfs-stp-policy stm class: Introduce an abstraction for System Trace Module devices 2015-10-04 20:28:58 +01:00
configfs-usb-gadget
configfs-usb-gadget-acm
configfs-usb-gadget-ecm
configfs-usb-gadget-eem
configfs-usb-gadget-ffs
configfs-usb-gadget-hid
configfs-usb-gadget-loopback
configfs-usb-gadget-mass-storage
configfs-usb-gadget-midi
configfs-usb-gadget-ncm
configfs-usb-gadget-obex
configfs-usb-gadget-phonet
configfs-usb-gadget-printer
configfs-usb-gadget-rndis
configfs-usb-gadget-serial
configfs-usb-gadget-sourcesink Doc: ABI: configfs-usb-gadget-sourcesink: add two entries for depth of queue 2015-12-15 09:12:41 -06:00
configfs-usb-gadget-subset
configfs-usb-gadget-tcm usb: gadget: f_tcm: add configfs support 2015-12-20 19:40:45 -08:00
configfs-usb-gadget-uac1
configfs-usb-gadget-uac2
configfs-usb-gadget-uvc Documentation: configfs-usb-gadget-uvc: fix kernel version 2016-05-31 11:12:58 +03:00
debugfs-driver-genwqe
debugfs-ec
debugfs-ideapad
debugfs-olpc
debugfs-pfo-nx-crypto
debugfs-pktcdvd
dev-kmsg
evm
gpio-cdev gpio: add a userspace character device ABI 2016-02-09 11:09:52 +01:00
ima_policy ima: support for kexec image and initramfs 2016-02-21 09:06:16 -05:00
procfs-diskstats
pstore
sysfs-ata
sysfs-block block: add support for REQ_OP_WRITE_ZEROES 2016-12-01 07:58:40 -07:00
sysfs-block-bcache
sysfs-block-dm
sysfs-block-rssd
sysfs-block-zram zram: remove obsolete sysfs attrs 2017-02-22 16:41:30 -08:00
sysfs-bus-acpi
sysfs-bus-amba
sysfs-bus-bcma
sysfs-bus-coresight-devices-etb10 coresight: etb10: splitting sysFS "status" entry 2016-05-01 14:12:14 -07:00
sysfs-bus-coresight-devices-etm3x coresight: etm3x: adding documentation for sysFS's cpu interface 2015-10-17 22:03:00 -07:00
sysfs-bus-coresight-devices-etm4x coresight: etm4x: adding config and traceid registers 2016-05-01 14:12:14 -07:00
sysfs-bus-coresight-devices-funnel
sysfs-bus-coresight-devices-stm coresight: stm: adding driver for CoreSight STM component 2016-05-03 14:59:30 -07:00
sysfs-bus-coresight-devices-tmc coresight: tmc: adding sysFS management entries 2016-05-03 14:59:30 -07:00
sysfs-bus-css
sysfs-bus-event_source-devices-events
sysfs-bus-event_source-devices-format
sysfs-bus-event_source-devices-hv_24x7 Documentation: fix common spelling mistakes 2016-04-28 07:51:59 -06:00
sysfs-bus-event_source-devices-hv_gpci
sysfs-bus-fcoe
sysfs-bus-fsl-mc staging: fsl-mc: add sysfs ABI doc 2016-12-08 21:00:08 +01:00
sysfs-bus-hsi
sysfs-bus-i2c-devices-bq32k rtc: bq32000: add support to enable disable the trickle charge FET bypass 2017-02-01 12:44:23 +01:00
sysfs-bus-i2c-devices-fsa9480
sysfs-bus-i2c-devices-hm6352
sysfs-bus-i2c-devices-lm3533
sysfs-bus-iio iio: Documentation: Add proximity unit 2017-01-14 12:58:00 +00:00
sysfs-bus-iio-accel-bmc150
sysfs-bus-iio-adc-envelope-detector iio: envelope-detector: ADC driver based on a DAC and a comparator 2016-11-13 13:07:17 +00:00
sysfs-bus-iio-adc-hi8435 iio: adc: hi8435: Holt HI-8435 threshold detector 2015-09-23 20:23:18 +01:00
sysfs-bus-iio-adc-stm32 iio: adc: stm32: add trigger polarity extended attribute 2017-01-28 18:24:57 +00:00
sysfs-bus-iio-chemical-vz89x iio: chemical: add SGX VZ89x VOC sensor support 2015-09-23 20:23:26 +01:00
sysfs-bus-iio-counter-104-quad-8 iio: 104-quad-8: Add IIO support for the ACCES 104-QUAD-8 2016-10-01 17:06:21 +01:00
sysfs-bus-iio-cros-ec iio: cros_ec_sensors_core: Add common functions for the ChromeOS EC Sensor Hub. 2016-10-25 18:20:05 +01:00
sysfs-bus-iio-dac-dpot-dac iio: dpot-dac: DAC driver based on a digital potentiometer 2016-11-13 13:07:15 +00:00
sysfs-bus-iio-distance-srf08 iio: distance: srf08: add driver ABI documentation 2017-01-28 16:38:33 +00:00
sysfs-bus-iio-frequency-ad9523
sysfs-bus-iio-frequency-adf4350
sysfs-bus-iio-gyro-bmg160
sysfs-bus-iio-health-afe440x iio: health/afe440x: Make gain settings a modifier for the stages 2016-05-04 11:11:30 +01:00
sysfs-bus-iio-humidity-hdc100x iio: humidity: add HDC100x support 2015-09-23 20:23:19 +01:00
sysfs-bus-iio-ina2xx-adc iio: ina2xx: add ABI documentation entry sysfs-bus-iio-ina2xx-adc 2015-12-19 15:08:00 +00:00
sysfs-bus-iio-light-isl29018 staging: iio: isl29018: add ABI documentation for infrared suppression 2016-10-23 19:33:55 +01:00
sysfs-bus-iio-light-lm3533-als
sysfs-bus-iio-light-tsl2583 staging: iio: tsl2583: move out of staging 2016-11-13 13:07:33 +00:00
sysfs-bus-iio-magnetometer-hmc5843 iio: hmc5843: Add ABI documentation file for hmc5843 2016-02-21 20:22:23 +00:00
sysfs-bus-iio-meas-spec Add ms8607 meas-spec driver support 2015-10-11 10:21:21 +01:00
sysfs-bus-iio-mpu6050
sysfs-bus-iio-potentiometer-mcp4531 iio: mcp4531: provide range of available raw values 2016-11-13 11:40:26 +00:00
sysfs-bus-iio-proximity-as3935 iio: proximity: as3935: correct IIO_CHAN_INFO_RAW output 2016-05-22 20:53:36 +01:00
sysfs-bus-iio-timer-stm32 iio: Add STM32 timer trigger driver 2017-01-25 16:11:56 +00:00
sysfs-bus-iio-trigger-sysfs
sysfs-bus-iio-vf610 iio: dac: vf610_dac: Add IIO DAC driver for Vybrid SoC 2016-02-24 20:52:55 +00:00
sysfs-bus-intel_th-devices-gth intel_th: Add Global Trace Hub driver 2015-10-04 20:28:58 +01:00
sysfs-bus-intel_th-devices-msc intel_th: Add Memory Storage Unit driver 2015-10-04 20:28:58 +01:00
sysfs-bus-intel_th-devices-pti intel_th: Add PTI output driver 2015-10-04 20:28:58 +01:00
sysfs-bus-intel_th-output-devices intel_th: Add driver infrastructure for Intel(R) Trace Hub devices 2015-10-04 20:28:58 +01:00
sysfs-bus-mcb mcb: export bus information via sysfs 2016-05-03 15:07:35 -07:00
sysfs-bus-mdio
sysfs-bus-media
sysfs-bus-mei mei: bus: export client protocol version 2015-09-20 19:30:10 -07:00
sysfs-bus-pci PCI: Add sysfs sriov_drivers_autoprobe to control VF driver binding 2017-04-20 08:53:51 -05:00
sysfs-bus-pci-devices-cciss
sysfs-bus-pci-drivers-ehci_hcd
sysfs-bus-pci-drivers-janz-cmodio
sysfs-bus-platform
sysfs-bus-rbd rbd: add force close option 2016-08-24 23:49:17 +02:00
sysfs-bus-rpmsg
sysfs-bus-umc
sysfs-bus-usb usb: core: lpm: add sysfs node for usb3 lpm permit 2015-12-01 14:58:18 -08:00
sysfs-bus-usb-devices-usbsevseg
sysfs-bus-usb-lvstest
sysfs-bus-vfio-mdev docs: Sysfs ABI for mediated device framework 2016-11-17 09:18:43 -07:00
sysfs-c2port
sysfs-cfq-target-latency
sysfs-class
sysfs-class-backlight-driver-adp8870
sysfs-class-backlight-driver-lm3533
sysfs-class-bdi
sysfs-class-cxl cxl: Prevent adapter reset if an active context exists 2016-10-19 20:35:39 +11:00
sysfs-class-devfreq
sysfs-class-devfreq-event PM / devfreq: Simplify the sysfs name of devfreq-event device 2017-01-31 16:57:05 +09:00
sysfs-class-extcon
sysfs-class-fpga-bridge add sysfs document for fpga bridge class 2016-11-10 17:03:35 +01:00
sysfs-class-fpga-manager fpga manager: add sysfs interface document 2015-10-07 18:07:20 +01:00
sysfs-class-infiniband IB/core: Add gid attributes to sysfs 2015-12-23 10:35:11 -05:00
sysfs-class-iommu
sysfs-class-iommu-amd-iommu
sysfs-class-iommu-intel-iommu
sysfs-class-lcd
sysfs-class-led leds: class: Add new optional brightness_hw_changed attribute 2017-01-29 19:59:42 +01:00
sysfs-class-led-driver-lm3533
sysfs-class-led-flash
sysfs-class-led-trigger-oneshot Documentation: move oneshot trigger attributes documentation to ABI 2016-08-29 15:06:32 +02:00
sysfs-class-led-trigger-usbport usb: core: Introduce a USB port LED trigger 2016-09-27 12:20:17 +02:00
sysfs-class-leds-gt683r
sysfs-class-mei mei: show the HBM protocol versions in the device attributes 2016-10-31 04:00:09 -06:00
sysfs-class-mic.txt Documentation: mic: fix kernel version 2016-08-30 14:45:50 +02:00
sysfs-class-mtd
sysfs-class-net
sysfs-class-net-batman-adv batman-adv: update elp interval documentation 2016-06-30 10:29:43 +02:00
sysfs-class-net-cdc_ncm net: cdc_ncm: add "ndp_to_end" sysfs attribute 2015-12-06 22:52:18 -05:00
sysfs-class-net-grcan
sysfs-class-net-janz-ican3
sysfs-class-net-mesh Doc: update email address 2015-12-16 00:21:40 +08:00
sysfs-class-net-qmi net: qmi_wwan: document the qmi/raw_ip sysfs file 2015-12-04 16:56:23 -05:00
sysfs-class-net-queues
sysfs-class-net-statistics
sysfs-class-pktcdvd
sysfs-class-power power: supply: Change Krzysztof Kozlowski's email to kernel.org 2016-08-17 14:15:58 +02:00
sysfs-class-power-twl4030
sysfs-class-powercap
sysfs-class-pwm pwm: sysfs: Add PWM capture support 2016-06-10 16:01:40 +02:00
sysfs-class-rc [media] rc: change wakeup_protocols to list all protocol variants 2017-01-30 12:15:12 -02:00
sysfs-class-rc-nuvoton [media] media: rc: nuvoton: switch attribute wakeup_data to text 2016-03-05 08:22:03 -03:00
sysfs-class-regulator
sysfs-class-remoteproc remoteproc: Add a sysfs interface for firmware and state 2016-10-31 17:24:46 -07:00
sysfs-class-rtc-rtc0-device-rtc_calibration ABI: rtc-ab8500: fix rtc_calibration documentation 2016-10-30 21:05:47 +01:00
sysfs-class-scsi_host
sysfs-class-scsi_tape
sysfs-class-stm stm class: Support devices that override software assigned masters 2016-05-03 14:59:30 -07:00
sysfs-class-stm_source stm class: Introduce an abstraction for System Trace Module devices 2015-10-04 20:28:58 +01:00
sysfs-class-uwb_rc
sysfs-class-uwb_rc-wusbhc
sysfs-class-watchdog watchdog: Read device status through sysfs attributes 2015-12-27 16:55:57 +01:00
sysfs-class-zram
sysfs-dev
sysfs-devices
sysfs-devices-edac EDAC: Expose per-DIMM error counts in sysfs 2017-01-19 10:29:40 +01:00
sysfs-devices-firmware_node
sysfs-devices-lpss_ltr
sysfs-devices-memory
sysfs-devices-mmc
sysfs-devices-online
sysfs-devices-platform-_UDC_-gadget
sysfs-devices-platform-docg3
sysfs-devices-platform-sh_mobile_lcdc_fb
sysfs-devices-power
sysfs-devices-power_resources_D0
sysfs-devices-power_resources_D1
sysfs-devices-power_resources_D2
sysfs-devices-power_resources_D3hot
sysfs-devices-power_resources_wakeup
sysfs-devices-power_state
sysfs-devices-real_power_state
sysfs-devices-resource_in_use
sysfs-devices-soc
sysfs-devices-sun
sysfs-devices-system-cpu Documentation, ABI: Document the new sysfs files for cpu cache ids 2016-10-26 23:12:37 +02:00
sysfs-devices-system-ibm-rtl Documentation/ABI: ibm_rtl: The "What:" fields are incomplete 2016-11-01 09:27:33 -07:00
sysfs-devices-system-xen_cpu
sysfs-driver-genwqe
sysfs-driver-hid
sysfs-driver-hid-corsair HID: corsair: Add Corsair Vengeance K90 driver 2015-09-30 21:28:10 +02:00
sysfs-driver-hid-lenovo
sysfs-driver-hid-logitech-lg4ff HID: hid-logitech: Documentation updates/corrections 2016-09-26 15:39:56 +02:00
sysfs-driver-hid-multitouch
sysfs-driver-hid-picolcd Documentation: fix common spelling mistakes 2016-04-28 07:51:59 -06:00
sysfs-driver-hid-prodikeys
sysfs-driver-hid-roccat-kone
sysfs-driver-hid-srws1
sysfs-driver-hid-wiimote
sysfs-driver-input-axp-pek
sysfs-driver-intel-rapid-start
sysfs-driver-pciback
sysfs-driver-ppi tpm: update PPI documentation to address the location change. 2015-10-19 01:01:20 +02:00
sysfs-driver-samsung-laptop
sysfs-driver-st st: allow debug output to be enabled or disabled via sysfs 2015-11-09 17:17:27 -08:00
sysfs-driver-tegra-fuse
sysfs-driver-toshiba_acpi Documentation/ABI: Update sysfs-driver-toshiba_acpi file 2016-03-23 10:05:37 -07:00
sysfs-driver-toshiba_haps
sysfs-driver-wacom HID: wacom: leds: use the ledclass instead of custom made sysfs files 2016-08-05 13:39:19 +02:00
sysfs-driver-xen-blkback
sysfs-driver-xen-blkfront
sysfs-firmware-acpi Documentation: fix common spelling mistakes 2016-04-28 07:51:59 -06:00
sysfs-firmware-dmi-entries
sysfs-firmware-dmi-tables
sysfs-firmware-efi
sysfs-firmware-efi-esrt
sysfs-firmware-efi-runtime-map
sysfs-firmware-gsmi
sysfs-firmware-log
sysfs-firmware-memmap
sysfs-firmware-ofw
sysfs-firmware-qemu_fw_cfg firmware: create directory hierarchy for sysfs fw_cfg entries 2016-02-09 17:37:39 -08:00
sysfs-firmware-sfi
sysfs-firmware-sgi_uv
sysfs-fs-ext4
sysfs-fs-f2fs f2fs: introduce lifetime write IO statistics 2016-02-22 16:07:23 -08:00
sysfs-fs-nilfs2
sysfs-fs-xfs
sysfs-hypervisor-pmu xen/PMU: Sysfs interface for setting Xen PMU mode 2015-08-20 12:24:26 +01:00
sysfs-ibft ibft: Expose iBFT acpi header via sysfs 2016-05-16 11:14:29 -04:00
sysfs-kernel-boot_params
sysfs-kernel-fscaps
sysfs-kernel-iommu_groups iommu: Implement reserved_regions iommu-group sysfs file 2017-01-23 11:48:16 +00:00
sysfs-kernel-irq genirq: Expose interrupt information through sysfs 2016-09-14 15:28:15 +02:00
sysfs-kernel-livepatch livepatch: function,sympos scheme in livepatch sysfs directory 2015-12-03 23:01:27 +01:00
sysfs-kernel-mm
sysfs-kernel-mm-hugepages
sysfs-kernel-mm-ksm
sysfs-kernel-slab docs: fix locations of several documents that got moved 2016-10-24 08:12:35 -02:00
sysfs-kernel-uids
sysfs-kernel-vmcoreinfo
sysfs-memory-page-offline
sysfs-module
sysfs-ocfs2
sysfs-platform-asus-laptop
sysfs-platform-asus-wmi
sysfs-platform-at91
sysfs-platform-brcmstb-gisb-arb
sysfs-platform-chipidea-usb-otg
sysfs-platform-dell-laptop
sysfs-platform-eeepc-laptop
sysfs-platform-hidma dmaengine: qcom_hidma: Wrong domain name in the email address 2017-01-02 10:42:33 +05:30
sysfs-platform-hidma-mgmt dmaengine: qcom_hidma: Wrong domain name in the email address 2017-01-02 10:42:33 +05:30
sysfs-platform-i2c-demux-pinctrl i2c: mux: demux-pinctrl: Update docs to new sysfs-attributes 2016-04-07 21:13:02 +02:00
sysfs-platform-ideapad-laptop
sysfs-platform-kim
sysfs-platform-msi-laptop
sysfs-platform-phy-rcar-gen3-usb2 phy: rcar-gen3-usb2: add sysfs for usb role swap 2016-11-18 18:19:15 +05:30
sysfs-platform-sst-atom ASoC: Intel: Add ASoC Intel SST Atom sysfs description 2016-12-05 17:22:27 +00:00
sysfs-platform-tahvo-usb
sysfs-platform-ts5500
sysfs-platform-twl4030-usb
sysfs-platform-usbip-vudc Documentation: ABI: Add doc for usbip-vudc attributes 2016-04-28 12:28:08 -07:00
sysfs-power PM / sleep: System sleep state selection interface rework 2016-11-21 22:45:40 +01:00
sysfs-pps
sysfs-profiling
sysfs-ptp Documentation: fix sysfs-ptp 2015-12-08 14:50:12 +01:00
sysfs-tty
sysfs-wusb_cbaf