aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci-sysfs.c
AgeCommit message (Expand)AuthorFilesLines
10 daysMerge tag 'tsm-for-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/dev...Linus Torvalds1-0/+4
11 daysMerge tag 'pci-v6.19-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-16/+3
2025-11-14PCI/sysfs: Use PM_RUNTIME_ACQUIRE()/PM_RUNTIME_ACQUIRE_ERR()Rafael J. Wysocki1-2/+2
2025-11-14PCI: Convert BAR sizes bitmasks to u64Ilpo Järvinen1-1/+1
2025-11-14PCI: Fix restoring BARs on BAR resize rollback pathIlpo Järvinen1-15/+2
2025-11-03PCI/TSM: Establish Secure Sessions and Link EncryptionDan Williams1-0/+4
2025-10-07Merge tag 'pm-6.18-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ra...Linus Torvalds1-2/+3
2025-10-03Merge branch 'pci/misc'Bjorn Helgaas1-0/+21
2025-10-03Merge branch 'pci/resource'Bjorn Helgaas1-7/+20
2025-09-29PCI/sysfs: Use runtime PM guard macro for auto-cleanupRafael J. Wysocki1-2/+3
2025-09-24PCI/sysfs: Ensure devices are powered for config readsBrian Norris1-1/+19
2025-09-17PCI/sysfs: Expose PCI device serial numberMatthew Wood1-0/+21
2025-09-16PCI: Use pbus_select_window() during BAR resizeIlpo Järvinen1-7/+13
2025-09-16PCI: Preserve bridge window resource type flagsIlpo Järvinen1-0/+7
2025-06-17sysfs: treewide: switch back to attribute_group::bin_attrsThomas Weißschuh1-2/+2
2025-06-17sysfs: treewide: switch back to bin_attribute::read()/write()Thomas Weißschuh1-4/+4
2025-06-04Merge branch 'pci/pm'Bjorn Helgaas1-0/+3
2025-05-23PCI/AER: Add sysfs attributes for log ratelimitsJon Pan-Doh1-0/+1
2025-04-23PCI: Increment PM usage counter when probing reset methodsAlex Williamson1-0/+3
2025-03-27Merge branch 'pci/resource'Bjorn Helgaas1-2/+6
2025-03-21PCI/DOE: Expose DOE features via sysfsAlistair Francis1-0/+3
2025-03-21s390/pci: Introduce pdev->non_mappable_bars and replace VFIO_PCI_MMAPNiklas Schnelle1-0/+4
2025-03-20PCI: Fix BAR resizing when VF BARs are assignedIlpo Järvinen1-2/+2
2025-01-23Merge branch 'pci/misc'Bjorn Helgaas1-21/+21
2025-01-15PCI/sysfs: Remove unnecessary zero in initializerIlpo Järvinen1-1/+1
2025-01-15PCI/sysfs: Use __free() in reset_method_store()Ilpo Järvinen1-11/+7
2025-01-15PCI/sysfs: Move reset related sysfs code to correct fileIlpo Järvinen1-0/+112
2024-12-03PCI/sysfs: Constify 'struct bin_attribute'Thomas Weißschuh1-21/+21
2024-11-29Merge tag 'driver-core-6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-19/+23
2024-11-13PCI: Add 'reset_subordinate' to reset hierarchy below bridgeKeith Busch1-0/+26
2024-11-05sysfs: treewide: constify attribute callback of bin_attribute::llseek()Thomas Weißschuh1-1/+1
2024-11-05sysfs: treewide: constify attribute callback of bin_attribute::mmap()Thomas Weißschuh1-5/+5
2024-11-05sysfs: treewide: constify attribute callback of bin_is_visible()Thomas Weißschuh1-1/+1
2024-11-05PCI/sysfs: Calculate bin_attribute size through bin_size()Thomas Weißschuh1-12/+16
2024-08-09s390/pci: Stop usurping pdev->dev.groupsLukas Wunner1-0/+5
2024-03-05PCI/sysfs: Demacrofy pci_dev_resource_resize_attr(n) functionsIlpo Järvinen1-64/+74
2024-03-05PCI/sysfs: Compile pci-sysfs.c only if CONFIG_SYSFS=yLukas Wunner1-28/+1
2023-11-03Merge tag 'driver-core-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+25
2023-10-28Merge branch 'pci/field-get'Bjorn Helgaas1-3/+2
2023-10-28Merge branch 'pci/vga'Bjorn Helgaas1-4/+3
2023-10-17PCI: Use FIELD_GET() to extract Link WidthIlpo Järvinen1-3/+2
2023-10-06PCI/sysfs: Enable 'boot_vga' attribute via pci_is_vga()Sui Jingfeng1-4/+3
2023-10-05PCI: Implement custom llseek for sysfs resource entriesValentine Sinitsyn1-1/+25
2023-09-29PCI/sysfs: Protect driver's D3cold preference from user spaceLukas Wunner1-4/+1
2023-07-18PCI/sysfs: Make I/O resource depend on HAS_IOPORTNiklas Schnelle1-0/+4
2023-03-23driver core: bus: mark the struct bus_type for sysfs callbacks as constantGreg Kroah-Hartman1-1/+1
2022-12-14Merge tag 'pci-v6.2-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-4/+9
2022-11-14PCI: Allow drivers to request exclusive config regionsIra Weiny1-0/+7
2022-11-09PCI/sysfs: Fix double free in error pathSascha Hauer1-4/+9
2022-10-05PCI: Expose PCIe Resizable BAR support via sysfsAlex Williamson1-0/+108
2022-04-22PCI: Use driver_set_override() instead of open-codingKrzysztof Kozlowski1-24/+4
2022-03-22PCI: Remove unused assignmentsBjorn Helgaas1-6/+1
2021-12-09PCI/sysfs: Use pci_irq_vector()Thomas Gleixner1-5/+2
2021-11-06Merge tag 'pci-v5.16-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-15/+36
2021-11-05Merge branch 'pci/sysfs'Bjorn Helgaas1-14/+13
2021-10-18PCI/sysfs: Explicitly show first MSI IRQ for 'irq'Barry Song1-1/+23
2021-10-05PCI/sysfs: use NUMA_NO_NODE macroMax Gurtovoy1-2/+4
2021-09-28PCI/sysfs: Return -EINVAL consistently from "store" functionsKrzysztof Wilczyński1-11/+9
2021-09-28PCI/sysfs: Check CAP_SYS_ADMIN before parsing user inputKrzysztof Wilczyński1-7/+8
2021-09-07Merge tag 'pci-v5.15-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+2
2021-09-01Merge tag 'driver-core-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-3/+3
2021-08-19PCI/sysfs: Use correct variable for the legacy_mem sysfs objectKrzysztof Wilczyński1-1/+1
2021-08-18PCI: Allow userspace to query and set device reset mechanismAmey Narkhede1-0/+1
2021-08-17PCI: Remove reset_fn field from pci_devAmey Narkhede1-1/+1
2021-08-05sysfs: Rename struct bin_attribute member to f_mappingKrzysztof Wilczyński1-3/+3
2021-08-05sysfs: Invoke iomem_get_mapping() from the sysfs open callbackKrzysztof Wilczyński1-3/+3
2021-06-04PCI/sysfs: Add 'devspec' newlineKrzysztof Wilczyński1-1/+1
2021-05-05Merge tag 'pci-v5.13-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-151/+109
2021-04-29PCI/sysfs: Use sysfs_emit() and sysfs_emit_at() in "show" functionsKrzysztof Wilczyński1-36/+36
2021-04-29PCI/sysfs: Convert "index", "acpi_index", "label" to static attributesKrzysztof Wilczyński1-10/+7
2021-04-29PCI/sysfs: Convert "vpd" to static attributeKrzysztof Wilczyński1-14/+1
2021-04-27PCI/sysfs: Convert "reset" to static attributeKrzysztof Wilczyński1-27/+24
2021-04-27PCI/sysfs: Convert "rom" to static attributeKrzysztof Wilczyński1-38/+29
2021-04-27PCI/sysfs: Convert "config" to static attributeKrzysztof Wilczyński1-39/+25
2021-04-04PCI/IOV: Add sysfs MSI-X vector assignment interfaceLeon Romanovsky1-1/+2
2021-02-11PCI: Revoke mappings like devmemDaniel Vetter1-0/+4
2021-02-11PCI: Also set up legacy files only after sysfs initDaniel Vetter1-0/+7
2020-12-04PCI: Add sysfs attribute for device power stateMaximilian Luz1-0/+10
2020-10-21Merge branch 'pci/misc'Bjorn Helgaas1-3/+3
2020-09-17PCI: Update mmap-related #ifdef commentsClint Sbisa1-2/+2
2020-09-17PCI: Add schedule point in pci_read_config()Jiang Biao1-0/+1
2020-09-01PCI: Use scnprintf(), not snprintf(), in sysfs "show" functionsKrzysztof Wilczyński1-1/+1
2020-04-02Merge branch 'pci/misc'Bjorn Helgaas1-2/+4
2020-03-30PCI: sysfs: Revert "rescan" file renamesKelsey Skunberg1-2/+4
2020-03-10PCI: Use pci_speed_string() for all PCI/PCI-X/PCIe stringsBjorn Helgaas1-22/+5
2019-11-28Merge branch 'pci/resource'Bjorn Helgaas1-2/+2
2019-11-28Merge branch 'pci/misc'Bjorn Helgaas1-18/+0
2019-11-21PCI/ASPM: Remove PCIEASPM_DEBUG Kconfig option and related codeHeiner Kallweit1-3/+0
2019-11-21PCI/ASPM: Add sysfs attributes for controlling ASPM link statesHeiner Kallweit1-0/+3
2019-11-21PCI: sysfs: Remove unused attribute groupsBen Dooks1-18/+0
2019-10-14PCI: Add PCI_STD_NUM_BARS for the number of standard BARsDenis Efremov1-2/+2
2019-09-28Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+16
2019-08-20PCI/IOV: Move sysfs SR-IOV functions to iov.cKelsey Skunberg1-173/+0
2019-08-20PCI: sysfs: Change permissions from symbolic to octalKelsey Skunberg1-11/+10
2019-08-20PCI: sysfs: Change DEVICE_ATTR() to DEVICE_ATTR_WO()Kelsey Skunberg1-6/+6
2019-08-20PCI: sysfs: Define device attributes with DEVICE_ATTR*()Kelsey Skunberg1-32/+27
2019-08-19PCI: Lock down BAR access when the kernel is locked downMatthew Garrett1-0/+16
2019-06-21PCI: sysfs: Ignore lockdep for remove attributeMarek Vasut1-1/+1
2019-06-13PCI: Decode PCIe 32 GT/s link speedGustavo Pimentel1-0/+3
2019-05-09PCI: Use dev_printk() when possibleBjorn Helgaas1-2/+1
2019-01-22PCI: pci-sysfs.c: convert to use BUS_ATTR_WOGreg Kroah-Hartman1-3/+2
2018-08-15Merge branch 'pci/hotplug'Bjorn Helgaas1-0/+2
2018-08-15Merge branch 'pci/aspm'Bjorn Helgaas1-1/+0
2018-08-06PCI: Remove unnecessary include of <linux/pci-aspm.h>Bjorn Helgaas1-1/+0
2018-07-31PCI: sysfs: Resume to D0 on function resetLukas Wunner1-0/+2
2018-07-19PCI/AER: Add sysfs attributes to provide AER stats and breakdownRajat Jain1-0/+3
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+1
2018-05-25PCI: Prevent sysfs disable of device while driver is attachedChristoph Hellwig1-6/+9
2018-04-04Merge branch 'pci/vpd'Bjorn Helgaas1-64/+3
2018-04-04Merge branch 'pci/virtualization'Bjorn Helgaas1-2/+1
2018-04-04Merge branch 'pci/misc'Bjorn Helgaas1-3/+0
2018-03-30PCI: Add pcie_get_width_cap() to find max supported link widthTal Gilboa1-8/+2
2018-03-30PCI: Add pcie_get_speed_cap() to find max supported link speedTal Gilboa1-26/+2
2018-03-21PCI: Add decoding for 16 GT/s link speedJay Fang1-0/+6
2018-03-19PCI: Tidy commentsBjorn Helgaas1-3/+0
2018-03-19PCI/VPD: Move VPD sysfs code to vpd.cBjorn Helgaas1-64/+3
2018-02-16PCI: Probe for device reset support during enumerationBjorn Helgaas1-2/+1
2018-01-31Merge branch 'pci/virtualization' into nextBjorn Helgaas1-0/+11
2018-01-31Merge branch 'pci/resource' into nextBjorn Helgaas1-7/+2
2018-01-23PCI: Expose ari_enabled in sysfsStuart Hayes1-0/+11
2018-01-18PCI: Add wrappers for dev_printk()Frederick Lawler1-5/+5
2017-12-18PCI: Remove sysfs resource mmap warningBjorn Helgaas1-7/+2
2017-11-15Merge tag 'pci-v4.15-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+34
2017-11-14Merge branch 'pci/virtualization' into nextBjorn Helgaas1-0/+33
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-10PCI: Expose SR-IOV offset, stride, and VF device ID via sysfsFilippo Sironi1-0/+33
2017-10-05PCI: Constify pci_dev_type structureBhumika Goyal1-1/+1
2017-09-25PCI: Fix race condition with driver_overrideNicolai Stange1-2/+9
2017-09-07Merge branch 'pci/trivial' into nextBjorn Helgaas1-3/+0
2017-09-01PCI: Remove unused "res" variable from pci_resource_io()Shawn Lin1-3/+0
2017-08-24PCI: Convert to using %pOF instead of full_name()Rob Herring1-2/+2
2017-08-10PCI: Constify bin_attribute structuresBhumika Goyal1-2/+2
2017-08-10PCI: Constify sysfs attribute_group structuresArvind Yadav1-5/+5
2017-07-03Merge branch 'pci/virtualization' into nextBjorn Helgaas1-3/+2
2017-06-19PCI: Add sysfs max_link_speed/width, current_link_speed/width, etcWong Vee Khee1-4/+195
2017-06-14PCI: Protect pci_driver->sriov_configure() usage with device_lock()Jakub Kicinski1-3/+2
2017-04-28Merge branch 'pci/virtualization' into nextBjorn Helgaas1-0/+28
2017-04-20PCI: Add sysfs sriov_drivers_autoprobe to control VF driver bindingBodong Wang1-0/+28
2017-04-20PCI: Add pci_mmap_resource_range() and use it for ARM64David Woodhouse1-10/+3
2017-04-20PCI: Add BAR index argument to pci_mmap_page_range()David Woodhouse1-1/+1
2017-04-20PCI: Use BAR index in sysfs attr->private instead of resource pointerDavid Woodhouse1-24/+14
2017-04-18PCI: Add arch_can_pci_mmap_io() on architectures which can mmap() I/O spaceDavid Woodhouse1-5/+8
2017-04-18PCI: Add arch_can_pci_mmap_wc() macroDavid Woodhouse1-2/+2
2017-04-12PCI: Fix pci_mmap_fits() for HAVE_PCI_RESOURCE_TO_USER platformsDavid Woodhouse1-3/+7
2017-02-03PCI: Lock each enable/disable num_vfs operation in sysfsEmil Tantilov1-7/+16
2016-11-21PCI: Create revision file in sysfsEmil Velikov1-0/+2
2016-06-13PCI: Put PCIe ports into D3 during suspendMika Westerberg1-0/+5
2016-05-19Merge tag 'pci-v4.7-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-4/+3
2016-04-25PCI: Supply CPU physical address (not bus address) to iomem_is_exclusive()Bjorn Helgaas1-4/+3
2016-04-14pci-sysfs: use proper file capability helper functionLinus Torvalds1-1/+1
2016-03-15Merge branch 'pci/resource' into nextBjorn Helgaas1-40/+32
2016-03-12PCI: Simplify pci_create_attr() control flowBjorn Helgaas1-26/+27
2016-03-12PCI: Don't leak memory if sysfs_create_bin_file() failsBjorn Helgaas1-0/+2
2016-03-12PCI: Simplify sysfs ROM cleanupBjorn Helgaas1-10/+3
2016-03-12PCI: Remove arch-specific IORESOURCE_ROM_SHADOW size from sysfsBjorn Helgaas1-6/+2
2016-02-29PCI: Determine actual VPD size on first accessHannes Reinecke1-1/+1
2016-02-29PCI: Allow access to VPD attributes with size 0Hannes Reinecke1-8/+12
2016-01-21Merge tag 'pci-v4.5-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-34/+24
2016-01-20Merge branch 'pci/trivial' into nextBjorn Helgaas1-25/+15
2016-01-08PCI: Use kobj_to_dev() instead of open-coding itGeliang Tang1-25/+15
2015-12-10PCI: Support PCIe devices with short cfg_sizeJason S. McMullan1-9/+9
2015-11-24PCI: Prevent out of bounds access in numa_node overrideMathias Krause1-1/+4
2015-10-07PCI: Prevent out of bounds access in numa_node overrideSasha Levin1-1/+1
2015-02-24PCI: Don't read past the end of sysfs "driver_override" bufferSasha Levin1-2/+3
2014-12-14Merge tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-29/+10
2014-12-10Merge tag 'pm+acpi-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+2
2014-12-10Merge tag 'pci-v3.19-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+26
2014-12-04PCI / PM: Drop CONFIG_PM_RUNTIME from the PCI coreRafael J. Wysocki1-2/+2
2014-11-07cpumask: factor out show_cpumap into separate helper functionSudeep Holla1-29/+10
2014-11-06PCI: Allow numa_node override via sysfsPrarit Bhargava1-1/+26
2014-10-30PCI: Rename sysfs 'enabled' file back to 'enable'Greg Kroah-Hartman1-4/+4
2014-10-01Merge branch 'pci/msi' into nextBjorn Helgaas1-20/+19
2014-10-01PCI/MSI: Add "msi_bus" sysfs MSI/MSI-X control for endpointsYijing Wang1-20/+19
2014-09-22PCI: Generate uppercase hex for modalias interface classRicardo Ribalda Delgado1-1/+1
2014-06-10PCI: Merge multi-line quoted stringsRyan Desfosses1-6/+4
2014-06-10PCI: Whitespace cleanupRyan Desfosses1-158/+131
2014-05-28Merge branches 'pci/hotplug', 'pci/pci_is_bridge' and 'pci/virtualization' in...Bjorn Helgaas1-0/+40
2014-05-28PCI: Introduce new device binding path using pci_dev.driver_overrideAlex Williamson1-0/+40
2014-05-22PCI: Remove pcibios_add_platform_entries()Sebastian Ott1-10/+0
2014-04-30PCI: Move Open Firmware devspec attribute to PCI common codeSebastian Ott1-0/+18
2014-02-07pci: use device_remove_file_self() instead of device_schedule_callback()Tejun Heo1-14/+3
2014-01-13PCI: Add global pci_lock_rescan_remove()Rafael J. Wysocki1-12/+7
2013-11-14PCI: Fix whitespace, capitalization, and spelling errorsBjorn Helgaas1-12/+16
2013-10-31Merge branch 'pci/misc' into nextBjorn Helgaas1-17/+16
2013-10-07PCI: Add pci_dev_show_local_cpu() to simplify codeYijing Wang1-17/+15
2013-10-07PCI: Make pci_bus_attrs, pci_dev_attrs, dev_rescan_attr, dev_remove_attr, vga...Sachin Kamat1-7/+9
2013-10-07PCI: convert bus code to use dev_groupsGreg Kroah-Hartman1-27/+46
2013-10-07PCI: convert bus code to use bus_groupsGreg Kroah-Hartman1-3/+13
2013-07-25PCI: Convert class code to use dev_groupsGreg Kroah-Hartman1-11/+21
2013-06-05Merge branch 'pci/jiang-iov-fixes' into nextBjorn Helgaas1-2/+28
2013-06-05PCI: Hide remove and rescan sysfs interfaces for SR-IOV virtual functionsJiang Liu1-2/+28
2013-06-01PCI: Replace strict_strtoul() with kstrtoul()Jingoo Han1-9/+9
2013-04-15PCI: Use vma_pages() to replace (vm_end - vm_start) >> PAGE_SHIFTLibin1-1/+1
2012-12-26PCI: Remove spurious error for sriov_numvfs store and simplify flowBjorn Helgaas1-51/+34
2012-12-13Merge tag 'for-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pciLinus Torvalds1-11/+161
2012-11-28PCI: Remove CONFIG_HOTPLUG ifdefsBill Pemberton1-7/+0
2012-11-26Merge branch 'for-linus' into nextBjorn Helgaas1-34/+0
2012-11-09PCI: Use spec names for SR-IOV capability fieldsBjorn Helgaas1-5/+5
2012-11-09PCI: Provide method to reduce the number of total VFs supportedDonald Dutile1-2/+2
2012-11-09PCI: SRIOV control and status via sysfsDonald Dutile1-0/+127