aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/setup-bus.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-15PCI: Use resource names in PCI log messagesPuranjay Mohan1-10/+20
2023-10-05PCI: Make pci_assign_unassigned_resources() non-initRandy Dunlap1-1/+1
2023-08-25PCI: Fix typos in docs and commentsBjorn Helgaas1-1/+1
2023-04-05PCI: Make pci_bus_for_each_resource() index optionalAndy Shevchenko1-6/+4
2023-04-04PCI: Introduce pci_dev_for_each_resource()Mika Westerberg1-17/+10
2023-02-07PCI: Distribute available resources for root buses, tooMika Westerberg1-1/+56
2023-02-07PCI: Take other bus devices into account when distributing resourcesMika Westerberg1-70/+106
2023-02-07PCI: Align extra resources for hotplug bridges properlyMika Westerberg1-6/+19
2022-10-14Revert "PCI: Distribute available resources for root buses, too"Bjorn Helgaas1-61/+1
2022-09-21PCI: Fix whitespace and indentationMika Westerberg1-1/+1
2022-09-21PCI: Distribute available resources for root buses, tooMika Westerberg1-1/+61
2022-09-21PCI: Move pci_assign_unassigned_root_bus_resources()Mika Westerberg1-113/+113
2022-03-22Merge branch 'pci/misc'Bjorn Helgaas1-1/+1
2022-03-22PCI: Remove unused assignmentsBjorn Helgaas1-1/+1
2022-03-03PCI: Support BAR sizes up to 8TBDongdong Liu1-1/+1
2021-10-27PCI: Prefer 'unsigned int' over bare 'unsigned'Krzysztof Wilczyński1-1/+1
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-08-05Merge branch 'pci/doc'Bjorn Helgaas1-0/+1
2020-08-05PCI: Fix kerneldoc warningsKrzysztof Kozlowski1-0/+1
2020-07-09PCI: Fix error in panic messageLiao Pingfang1-1/+1
2020-06-04Merge branch 'remotes/lorenzo/pci/host-generic'Bjorn Helgaas1-0/+1
2020-05-21PCI: Use bridge window names (PCI_BRIDGE_IO_WINDOW etc)Krzysztof Wilczynski1-53/+61
2020-05-01PCI: host-generic: Support building as modulesRob Herring1-0/+1
2020-03-30PCI: Add support for root bus sizingIvan Kokshaysky1-12/+22
2020-01-29PCI: Allow adjust_bridge_window() to shrink resource if necessaryNicholas Johnson1-4/+12
2020-01-29PCI: Set resource size directly in adjust_bridge_window()Nicholas Johnson1-16/+7
2020-01-29PCI: Rename extend_bridge_window() to adjust_bridge_window()Nicholas Johnson1-4/+4
2020-01-29PCI: Rename extend_bridge_window() parameterNicholas Johnson1-4/+4
2020-01-29PCI: Consider alignment of hot-added bridges when assigning resourcesNicholas Johnson1-32/+46
2020-01-29PCI: Remove local variable usage in pci_bus_distribute_available_resources()Nicholas Johnson1-10/+6
2020-01-29PCI: Pass size + alignment to pci_bus_distribute_available_resources()Nicholas Johnson1-16/+19
2020-01-29PCI: Rename variablesNicholas Johnson1-13/+17
2020-01-29PCI: Remove unnecessary bracesNicholas Johnson1-2/+1
2020-01-13PCI: Don't disable bridge BARs when assigning bus resourcesLogan Gunthorpe1-4/+16
2019-11-14PCI: Avoid double hpmemsize MMIO window assignmentNicholas Johnson1-11/+27
2019-10-23PCI: Add "pci=hpmmiosize" and "pci=hpmmioprefsize" parametersNicholas Johnson1-11/+13
2019-09-30PCI: Protect pci_reassign_bridge_resources() against concurrent addition/removalBenjamin Herrenschmidt1-1/+7
2019-08-08PCI: Use PCI_SRIOV_NUM_BARS in loops instead of PCI_IOV_RESOURCE_ENDDenis Efremov1-2/+2
2019-07-02PCI: Skip resource distribution when no hotplug bridgesNicholas Johnson1-2/+3
2019-07-02PCI: Simplify pci_bus_distribute_available_resources()Nicholas Johnson1-25/+25
2019-06-21PCI: Don't auto-realloc if we're preserving firmware configBenjamin Herrenschmidt1-0/+5
2019-05-13Merge branch 'pci/trivial'Bjorn Helgaas1-247/+249
2019-05-09PCI: Replace dev_printk(KERN_DEBUG) with dev_info(), etcMohan Kumar1-16/+14
2019-05-07PCI: Cleanup setup-bus.c comments and whitespaceNicholas Johnson1-247/+249
2019-01-30PCI: Rely on config space header type, not class codeHonghui Zhang1-9/+9
2019-01-22PCI: Probe bridge window attributes once at enumeration-timeBjorn Helgaas1-41/+4
2018-10-02PCI: Equalize hotplug memory and io for occupied and empty slotsJon Derrick1-13/+15
2018-06-04PCI: Move resource distribution for single bridge outside loopMika Westerberg1-41/+41
2018-03-19PCI: Tidy commentsBjorn Helgaas1-5/+1
2018-02-01Merge branch 'pci/spdx' into nextBjorn Helgaas1-0/+1
2018-01-26PCI: Add SPDX GPL-2.0 when no license was specifiedBjorn Helgaas1-0/+1
2018-01-18PCI: Add wrappers for dev_printk()Frederick Lawler1-22/+22
2018-01-17PCI: Remove unnecessary messages for memory allocation failuresMarkus Elfring1-3/+1
2017-11-14Merge branch 'pci/resource' into nextBjorn Helgaas1-9/+106
2017-11-06PCI: Distribute available resources to hotplug-capable bridgesMika Westerberg1-0/+177
2017-11-06PCI: Add for_each_pci_bridge() helperAndy Shevchenko1-4/+3
2017-10-25PCI: Add pci_resize_resource() for resizing BARsChristian König1-0/+98
2017-10-24PCI: Add PCI resource type mask #defineChristian König1-9/+8
2017-04-18PCI: Fix calculation of bridge window's size and alignmentYongji Xie1-2/+2
2016-12-29PCI: Remove res_to_dev_res() debug messageBjorn Helgaas1-10/+1
2016-09-10x86/ioapic: Ignore root bridges without a companion ACPI deviceRui Wang1-1/+4
2016-08-18x86/ioapic: Support hot-removal of IOAPICs present during bootRui Wang1-1/+4
2016-08-02Merge tag 'pci-v4.8-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+68
2016-06-23PCI: Add generic pci_bus_claim_resources()Lorenzo Pieralisi1-0/+68
2016-06-21PCI: Add pcibios_setup_bridge()Gavin Shan1-0/+5
2016-02-05PCI: Remove includes of empty asm-generic/pci-bridge.hBjorn Helgaas1-1/+0
2016-01-08PCI: Fix all whitespace issuesBogicevic Sasa1-1/+1
2015-10-29PCI: Handle IORESOURCE_PCI_FIXED when assigning resourcesDavid Daney1-0/+43
2015-10-29PCI: Handle IORESOURCE_PCI_FIXED when sizing resourcesDavid Daney1-3/+4
2015-06-01PCI: Preserve resource size during alignment reorderingYinghai Lu1-2/+3
2015-05-27PCI: Fix IOV resource sorting by alignment requirementWei Yang1-1/+3
2015-04-16Merge tag 'powerpc-4.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mp...Linus Torvalds1-16/+79
2015-04-08PCI: Export symbols required for loadable host driver modulesRay Jui1-0/+1
2015-03-31PCI: Consider additional PF's IOV BAR alignment in sizing and assigningWei Yang1-16/+79
2015-01-16PCI: Add pci_claim_bridge_resource() to clip window if necessaryYinghai Lu1-0/+35
2015-01-16PCI: Pass bridge device, not bus, when updating bridge windowsYinghai Lu1-12/+9
2014-09-30PCI: Add missing MEM_64 mask in pci_assign_unassigned_bridge_resources()Yinghai Lu1-1/+1
2014-07-08PCI: Support BAR sizes up to 128GBYinghai Lu1-1/+1
2014-06-10PCI: Merge multi-line quoted stringsRyan Desfosses1-22/+17
2014-06-10PCI: Whitespace cleanupRyan Desfosses1-6/+6
2014-05-28Merge branches 'pci/hotplug', 'pci/pci_is_bridge' and 'pci/virtualization' in...Bjorn Helgaas1-3/+1
2014-05-27PCI: Use pci_is_bridge() to simplify codeYijing Wang1-3/+1
2014-05-26Merge branches 'dma-api', 'pci/virtualization', 'pci/msi', 'pci/misc' and 'pc...Bjorn Helgaas1-67/+155
2014-05-23PCI: Add resource allocation commentsBjorn Helgaas1-15/+43
2014-05-23PCI: Change pbus_size_mem() return values to be more conventionalBjorn Helgaas1-14/+21
2014-05-23PCI: Restrict 64-bit prefetchable bridge windows to 64-bit resourcesYinghai Lu1-51/+99
2014-05-23PCI: Support BAR sizes up to 8GBAlan1-5/+10
2014-04-29PCI: Remove unnecessary __ref annotationsBjorn Helgaas1-13/+12
2014-01-10Merge branch 'pci/resource' into nextBjorn Helgaas1-8/+8
2013-12-21PCI: Convert pcibios_resource_to_bus() to take a pci_bus, not a pci_devYinghai Lu1-8/+8
2013-12-13PCI: Stop clearing bridge Secondary Status when setting up I/O apertureBjorn Helgaas1-5/+5
2013-12-13PCI: Prevent bus conflicts while checking for bridge aperturesBjorn Helgaas1-2/+4
2013-11-14PCI: Fix whitespace, capitalization, and spelling errorsBjorn Helgaas1-9/+9
2013-09-25PCI: Pass type, width, and prefetchability for window alignmentWei Yang1-1/+1
2013-09-25PCI: Use pci_is_root_bus() to check for root busWei Yang1-1/+1
2013-09-03Merge tag 'pci-v3.12-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-88/+88
2013-08-26Merge branch 'pci/yinghai-assign-unassigned-v6' into nextBjorn Helgaas1-74/+77
2013-08-05PCI: Align bridge I/O windows as required by downstream devices & bridgesBjorn Helgaas1-5/+2
2013-08-02PCI: Fix types in pbus_size_io()Wei Yang1-3/+4
2013-08-02PCI: Add comments for pbus_size_mem() parametersWei Yang1-0/+2
2013-08-02PCI: Enumerate subordinate buses, not devices, in pci_bus_get_depth()Wei Yang1-6/+3
2013-07-26PCI: Retry allocation of only the resource type that failedYinghai Lu1-1/+68
2013-07-25PCI: Assign resources for hot-added host bridge more aggressivelyYinghai Lu1-1/+1
2013-07-25PCI: Move resource reallocation code to non-__initYinghai Lu1-8/+7
2013-07-25PCI: Delay enabling bridges until they're neededYinghai Lu1-7/+3
2013-07-25PCI: Assign resources on a per-bus basisYinghai Lu1-37/+25
2013-07-25PCI: Enable unassigned resource reallocation on per-bus basisYinghai Lu1-19/+23
2013-07-25PCI: Turn on reallocation for unassigned resources with host bridge offsetYinghai Lu1-1/+6
2013-07-25PCI: Look for unassigned resources on per-bus basisYinghai Lu1-15/+29
2013-07-25PCI: Drop temporary variable in pci_assign_unassigned_resources()Yinghai Lu1-10/+7
2013-06-23PCI / ACPI: Use boot-time resource allocation rules during hotplugJiang Liu1-4/+4
2013-04-17PCI: Warn about failures instead of "must_check" functionsBjorn Helgaas1-0/+2
2013-04-12PCI: Make local functions/structs staticBjorn Helgaas1-1/+1
2013-01-25PCI: Add root bus children dev's res to fail listYinghai Lu1-1/+1
2012-11-03PCI: Move out pci_enable_bridges out of assign_unsigned_bus_resYinghai Lu1-2/+0
2012-11-03PCI: Move pci_rescan_bus() back to probe.cYinghai Lu1-23/+0
2012-10-30PCI: Separate out pci_assign_unassigned_bus_resources()Yinghai Lu1-14/+19
2012-09-11PCI: Refactor pbus_size_mem()Gavin Shan1-13/+23
2012-09-11PCI: Align P2P windows using pcibios_window_alignment()Gavin Shan1-9/+6
2012-09-11PCI: Add weak pcibios_window_alignment() interfaceGavin Shan1-0/+32
2012-07-24Merge tag 'for-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pciLinus Torvalds1-21/+44
2012-07-24pci: hotplug: Fix typo in pciMasanari Iida1-1/+1
2012-07-10Merge branch 'pci/bjorn-p2p-bridge-windows' into nextBjorn Helgaas1-8/+31
2012-07-09PCI: support sizing P2P bridge I/O windows with 1K granularityYinghai Lu1-6/+22
2012-07-09PCI: reimplement P2P bridge 1K I/O windows (Intel P64H2)Bjorn Helgaas1-2/+9
2012-06-22Merge branch 'topic/bjorn-trivial' into nextBjorn Helgaas1-1/+1
2012-06-20PCI: cleanup assign_requested_resources_sorted() kernel-doc warningWanpeng Li1-1/+1
2012-06-13PCI: replace struct pci_bus secondary/subordinate with busn_resYinghai Lu1-12/+12
2012-02-24Merge branch 'pci-next+probe_only+bus2res-fb127cb' of git://github.com/bjorn-...Jesse Barnes1-0/+3
2012-02-24PCI: add a PCI resource reallocation config optionYinghai Lu1-0/+28
2012-02-24PCI: print out suggestion about using pci=reallocYinghai Lu1-0/+3
2012-02-24PCI: prepare pci=realloc for multiple optionsYinghai Lu1-7/+27
2012-02-24PCI: Retry on IORESOURCE_IO type allocationsYinghai Lu1-11/+1
2012-02-23PCI: make pci_flags non-weakBjorn Helgaas1-1/+1
2012-02-23PCI: make pci_flags always availableBjorn Helgaas1-0/+3
2012-02-23PCI: Skip cardbus assigned resource reset during pci bus rescanYinghai Lu1-0/+14
2012-02-23PCI: Fix "cardbus bridge resources as optional" size handlingYinghai Lu1-28/+37
2012-02-23PCI: Disable cardbus bridge MEM1 prefetchable bitYinghai Lu1-0/+8
2012-02-14PCI: remove add_to_failed_list()Yinghai Lu1-10/+4
2012-02-14PCI: add debug print out for add_sizeYinghai Lu1-6/+18
2012-02-14PCI: make free_list() into a functionYinghai Lu1-17/+19
2012-02-14PCI: Rename dev_res_x to add_res or fail_resYinghai Lu1-55/+55
2012-02-14PCI: Merge pci_dev_resource_x and pci_dev_resourceYinghai Lu1-21/+15
2012-02-14PCI: Replace resource_list with generic listYinghai Lu1-192/+182
2012-02-14PCI: Move struct resource_list to setup-bus.cYinghai Lu1-0/+6
2012-02-14PCI: Move pdev_sort_resources() to setup-bus.cYinghai Lu1-0/+46
2012-02-14PCI: make re-allocation try harder by reassigning ranges higher in the heirarchyYinghai Lu1-18/+28
2012-02-14PCI: Make pci_rescan_bus handle add_listYinghai Lu1-0/+39
2012-02-14PCI: Use add_list in pcie hotplug path.Yinghai Lu1-6/+12
2012-02-14PCI: try to assign required+option size firstYinghai Lu1-1/+82
2012-02-14PCI: Move get_res_add_size() functionYinghai Lu1-14/+15
2012-02-14PCI: Make add_to_list() return statusYinghai Lu1-2/+4
2012-02-14PCI : Calculate right add_sizeYinghai Lu1-2/+2
2011-10-14PCI: Make pci_setup_bridge() non-static for use by arch codeBenjamin Herrenschmidt1-1/+1
2011-08-01PCI: code and comments cleanupRam Pai1-55/+55
2011-08-01PCI: make cardbus-bridge resources optionalRam Pai1-9/+32
2011-08-01PCI: make SRIOV resources optionalYinghai Lu1-0/+10
2011-08-01PCI : ability to relocate assigned pci-resourcesRam Pai1-10/+17
2011-08-01PCI: honor child buses add_size in hot plug configurationYinghai Lu1-0/+26
2011-07-22PCI: remove printks about disabled bridge windowsBjorn Helgaas1-3/+0
2011-07-08PCI: conditional resource-reallocation through kernel parameter pci=reallocRam Pai1-0/+15
2011-05-23Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jb...Linus Torvalds1-8/+117
2011-05-21PCI: update bridge resources to get more big ranges when allocating space (ag...Yinghai Lu1-8/+117
2011-05-16PCI: Clear bridge resource flags if requested size is 0Yinghai Lu1-2/+2
2011-04-11pci: fix PCI bus allocation alignment handlingLinus Torvalds1-2/+2
2011-03-04PCI: pre-allocate additional resources to devices only after successful alloc...Ram Pai1-47/+184
2011-03-04PCI: introduce reset_resource()Ram Pai1-3/+8
2011-03-04PCI: data structure agnostic free list functionRam Pai1-15/+12
2011-03-04PCI: refactor io size calculation codeRam Pai1-24/+42
2010-07-30PCI hotplug: make sure child bridges are enabled at hotplug timeYinghai Lu1-5/+7
2010-05-12Revert "PCI: update bridge resources to get more big ranges in PCI assign uns...Linus Torvalds1-112/+2
2010-03-01pci: don't reassign to ROM res if it is not going to be enabledYinghai Lu1-2/+10
2010-02-23PCI: add pci_bus_for_each_resource(), remove direct bus->resource[] refsBjorn Helgaas1-6/+4
2010-02-22PCI: set PCI_PREF_RANGE_TYPE_64 in pci_bridge_check_rangesYinghai Lu1-1/+4
2010-02-22PCI: pciehp: second try to get big range for pcie devicesYinghai Lu1-1/+50
2010-02-22PCI: introduce pci_assign_unassigned_bridge_resourcesYinghai Lu1-27/+89
2010-02-22PCI: update bridge resources to get more big ranges in PCI assign unssignedYinghai Lu1-2/+112
2010-02-22PCI: don't shrink bridge resourcesYinghai Lu1-2/+12
2010-02-22PCI: add failed_list to pci_bus_assign_resourcesYinghai Lu1-4/+57
2010-02-22PCI: add pci_bridge_release_resources and pci_bus_release_bridge_resourcesYinghai Lu1-0/+82
2010-02-22PCI: don't dump resource when bus resource flags indicates unusedYinghai Lu1-1/+2
2010-02-22PCI: separate pci_setup_bridge to small functionsYinghai Lu1-16/+50
2009-12-04PCI: Always set prefetchable base/limit upper32 registersAlex Williamson1-8/+3
2009-11-04PCI: improve discovery/configuration messagesBjorn Helgaas1-6/+15
2009-11-04vsprintf: use %pR, %pr instead of %pRt, %pRfBjorn Helgaas1-43/+36
2009-11-04PCI: print resources consistently with %pRtBjorn Helgaas1-6/+3
2009-10-27Revert "PCI: get larger bridge ranges when space is available"Jesse Barnes1-11/+2
2009-10-07PCI: get larger bridge ranges when space is availableYinghai Lu1-2/+11
2009-09-09PCI: pcie: Ensure hotplug ports have a minimum number of resourcesEric W. Biederman1-5/+17
2009-08-30PCI SR-IOV: correct broken resource alignment calculationsChris Wright1-2/+2
2009-06-11PCI: improve resource allocation under transparent bridgesYinghai Lu1-1/+0
2009-06-11PCI/x86: don't assume prefetchable ranges are 64bitYinghai Lu1-10/+42
2009-04-22PCI: cleanup debug output resourcesYinghai Lu1-2/+4
2009-04-06PCI: Setup disabled bridges even if buses are addedYuji Shimada1-1/+1
2009-03-20PCI: do not initialize bridges more than onceAlex Chiang1-0/+3
2009-03-19PCI: constify pci_bus_assign_resources()Andrew Morton1-2/+2
2009-01-07PCI: use dev_printk for PCI bus resource mssagesBjorn Helgaas1-3/+2
2009-01-07PCI: make PCI bus resource messages more meaningfulBjorn Helgaas1-3/+3
2008-10-20PCI: use resource_size() everywhere.Zhao, Yu1-2/+2
2008-10-20pci: Use new %pR to print resource rangesBenjamin Herrenschmidt1-9/+4