aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/resource.c
AgeCommit message (Expand)AuthorFilesLines
2024-01-09Merge tag 'mm-nonmm-stable-2024-01-09-10-33' of git://git.kernel.org/pub/scm/...Linus Torvalds1-0/+57
2023-12-10resource: add walk_system_ram_res_rev()Baoquan He1-0/+57
2023-12-04kernel/resource: Increment by align value in get_free_mem_region()Alison Schofield1-2/+2
2023-10-05resource: Unify next_resource() and next_resource_skip_children()Andy Shevchenko1-13/+6
2023-10-05resource: Reuse for_each_resource() macroAndy Shevchenko1-15/+19
2023-02-17dax/kmem: Fix leak of memory-hotplug resourcesDan Williams1-14/+0
2022-12-16Merge tag 'driver-core-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-10/+7
2022-11-14PCI: Allow drivers to request exclusive config regionsIra Weiny1-5/+8
2022-11-10resource: Replace printk(KERN_WARNING) by pr_warn(), printk() by pr_info()Andy Shevchenko1-10/+7
2022-07-21resource: Introduce alloc_free_mem_region()Dan Williams1-35/+143
2022-07-21cxl/acpi: Track CXL resources in iomem_resourceDan Williams1-0/+7
2022-03-23kernel/resource: fix kfree() of bootmem memory againMiaohe Lin1-33/+8
2022-01-22proc: remove PDE_DATA() completelyMuchun Song1-2/+2
2021-11-09kernel/resource: disallow access to exclusive system RAM regionsDavid Hildenbrand1-10/+19
2021-11-09kernel/resource: clean up and optimize iomem_is_exclusive()David Hildenbrand1-5/+20
2021-05-14kernel/resource: fix return code check in __request_free_mem_regionAlistair Popple1-1/+1
2021-05-07kernel/resource: fix locking in request_free_mem_regionAlistair Popple1-7/+38
2021-05-07kernel/resource: refactor __request_region to allow external lockingAlistair Popple1-20/+32
2021-05-07kernel/resource: allow region_intersects users to hold resource_lockAlistair Popple1-21/+31
2021-05-07kernel/resource: remove first_lvl / siblings_only logicDavid Hildenbrand1-33/+12
2021-05-07kernel/resource: make walk_mem_res() find all busy IORESOURCE_MEM resourcesDavid Hildenbrand1-1/+1
2021-05-07kernel/resource: make walk_system_ram_res() find all busy IORESOURCE_SYSTEM_R...David Hildenbrand1-1/+1
2021-01-12resource: Move devmem revoke code to resource frameworkDaniel Vetter1-1/+97
2020-12-15kernel/resource.c: fix kernel-doc markupsMauro Carvalho Chehab1-10/+14
2020-11-17resource: Simplify region_intersects() by reducing conditionalsAndy Shevchenko1-5/+5
2020-10-16kernel/resource: make iomem_resource implicit in release_mem_region_adjustable()David Hildenbrand1-3/+2
2020-10-16mm/memory_hotplug: MEMHP_MERGE_RESOURCE to specify merging of System RAM reso...David Hildenbrand1-0/+60
2020-10-16kernel/resource: make release_mem_region_adjustable() never failDavid Hildenbrand1-21/+28
2020-10-13resource: report parent to walk_iomem_res_desc() callbackDan Williams1-4/+7
2020-05-27/dev/mem: Revoke mappings when a driver claims the regionDan Williams1-0/+5
2019-09-24mm/memory_hotplug.c: use PFN_UP / PFN_DOWN in walk_system_ram_range()David Hildenbrand1-2/+2
2019-08-20resource: add a not device managed request_free_mem_region variantChristoph Hellwig1-14/+31
2019-07-18resource: avoid unnecessary lookups in find_next_iomem_res()Nadav Amit1-7/+22
2019-07-18resource: fix locking in find_next_iomem_res()Nadav Amit1-10/+10
2019-07-02mm: factor out a devm_request_free_mem_region helperChristoph Hellwig1-0/+39
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-04-19mm/resource: Use resource_overlaps() to simplify region_intersects()Wei Yang1-6/+5
2019-03-16Merge tag 'devdax-for-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/n...Linus Torvalds1-3/+15
2019-02-28mm/resource: Let walk_system_ram_range() search child resourcesDave Hansen1-1/+4
2019-02-28mm/resource: Move HMM pr_debug() deeper into resource codeDave Hansen1-0/+9
2019-02-28mm/resource: Return real error codes from walk failuresDave Hansen1-2/+2
2019-02-04powerpc: Drop page_is_ram() and walk_system_ram_range()Christophe Leroy1-4/+0
2018-12-28kernel, resource: check for IORESOURCE_SYSRAM in release_mem_region_adjustableOscar Salvador1-0/+15
2018-11-07resource/docs: Complete kernel-doc style function documentationBorislav Petkov1-9/+14
2018-11-05resource/docs: Fix new kernel-doc warningsRandy Dunlap1-3/+7
2018-10-09resource: Clean it up a bitBorislav Petkov1-29/+26
2018-10-09resource: Fix find_next_iomem_res() iteration issueBjorn Helgaas1-54/+42
2018-10-09resource: Include resource end in walk_*() interfacesBjorn Helgaas1-2/+2
2018-06-08Merge tag 'libnvdimm-for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+1
2018-06-02libnvdimm, e820: Register all pmem resourcesDan Williams1-0/+1
2018-05-16resource: switch to proc_create_seq_dataChristoph Hellwig1-38/+5
2018-04-13resource: fix integer overflow at reallocationTakashi Iwai1-1/+2
2018-02-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-5/+5
2018-02-06kernel/resource: iomem_is_exclusive can be booleanYaowei Bai1-5/+5
2017-12-18resource: Set type when reserving new regionsBjorn Helgaas1-2/+3
2017-12-18resource: Set type of "reserve=" user-specified resourcesBjorn Helgaas1-6/+18
2017-11-07x86/mm, resource: Use PAGE_KERNEL protection for ioremap of memory pagesTom Lendacky1-0/+19
2017-11-07resource: Provide resource struct in resource walk callbackTom Lendacky1-4/+5
2017-11-07resource: Consolidate resource walking codeTom Lendacky1-27/+25
2016-04-14/proc/iomem: only expose physical resource addresses to privileged usersLinus Torvalds1-2/+11
2016-03-09resource: Export insert_resource and remove_resourceToshi Kani1-0/+2
2016-03-09resource: Add remove_resource interfaceToshi Kani1-5/+46
2016-03-09resource: Change __request_region to inherit from immediate parentToshi Kani1-3/+4
2016-03-04Merge tag 'v4.5-rc6' into core/resources, to resolve conflictIngo Molnar1-2/+3
2016-02-20kernel/resource.c: fix muxed resource handling in __request_region()Simon Guinot1-2/+3
2016-01-30resource: Kill walk_iomem_res()Toshi Kani1-44/+5
2016-01-30resource: Add walk_iomem_res_desc()Toshi Kani1-10/+56
2016-01-30memremap: Change region_intersects() to take @flags and @descToshi Kani1-11/+15
2016-01-30resource: Change walk_system_ram() to use System RAM typeToshi Kani1-13/+13
2016-01-30resource: Add I/O resource descriptorToshi Kani1-0/+5
2016-01-30resource: Handle resource flags properlyToshi Kani1-3/+4
2016-01-09restrict /dev/mem to idle io memory rangesDan Williams1-2/+9
2015-08-10mm: enhance region_is_ram() to region_intersects()Dan Williams1-25/+36
2015-07-22mm: Fix bugs in region_is_ram()Toshi Kani1-3/+3
2015-04-15kernel/resource.c: remove deprecated __check_region() and friendsJakub Sitnicki1-32/+0
2015-02-05resources: Move struct resource_list_entry from ACPI into resource coreJiang Liu1-0/+25
2014-10-14x86: optimize resource lookups for ioremapMike Travis1-0/+36
2014-10-09Merge tag 'pci-v3.18-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+70
2014-09-04resources: Add device-managed request/release_resource()Thierry Reding1-0/+70
2014-08-29resource: fix the case of null pointer accessVivek Goyal1-7/+4
2014-08-08resource: provide new functions to walk through resourcesVivek Goyal1-9/+92
2014-05-23resources: Clarify sanity check messageBjorn Helgaas1-5/+2
2014-04-03kernel/resource.c: make reallocate_resource() staticDaeseok Youn1-1/+1
2014-03-19resources: Set type in __request_region()Bjorn Helgaas1-2/+2
2014-02-26resource: Add resource_contains()Bjorn Helgaas1-6/+2
2013-07-03kernel/resource.c: remove the unneeded assignment in function __find_resourceKevin Hao1-1/+0
2013-06-06ACPI/APEI: Add parameter check before error injectionChen Gong1-0/+1
2013-04-29mem hotunplug: fix kfree() of bootmem memoryYasuaki Ishimatsu1-13/+55
2013-04-29resource: add release_mem_region_adjustable()Toshi Kani1-0/+103
2013-04-29resource: add __adjust_resource() for internal useToshi Kani1-13/+22
2012-10-06kernel/resource.c: fix stack overflow in __reserve_region_with_split()T Makphaibulchoke1-12/+38
2012-07-30resource: make sure requested range is included in the root rangeOctavian Purdila1-1/+23
2012-06-13resources: allow adjust_resource() for resources with no parentYinghai Lu1-5/+8
2012-05-31kernel/resource.c: correct the comment of allocate_resource()Wei Yang1-2/+2
2012-02-03kernel/resource.c: move EXPORT_SYMBOL right after definitionCong Wang1-2/+1
2011-10-31kernel: Map most files to use export.h instead of module.hPaul Gortmaker1-1/+1
2011-09-29Resource: fix wrong resource window calculationRam Pai1-1/+6
2011-07-30resources: Add lookup_resource()Geert Uytterhoeven1-0/+21
2011-07-06resource: ability to resize an allocated resourceRam Pai1-18/+98
2010-12-17resources: add arch hook for preventing allocation in reserved areasBjorn Helgaas1-0/+6
2010-12-17Revert "resources: support allocating space within a region from the top down"Bjorn Helgaas1-94/+4
2010-10-28Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jb...Linus Torvalds1-16/+135
2010-10-27kernel/resource.c: handle reinsertion of an already-inserted resourceHuang Shijie1-0/+2
2010-10-26resources: support allocating space within a region from the top downBjorn Helgaas1-4/+94
2010-10-26resources: handle overflow when aligning start of available areaBjorn Helgaas1-8/+13
2010-10-26resources: ensure callback doesn't allocate outside available spaceBjorn Helgaas1-5/+11
2010-10-26resources: factor out resource_clip() to simplify find_resource()Bjorn Helgaas1-4/+11
2010-10-26resources: add a default alignf to simplify find_resource()Bjorn Helgaas1-2/+13
2010-05-11resource: shared I/O region supportAlan Cox1-1/+15
2010-03-23resources: add interfaces that return conflict informationBjorn Helgaas1-7/+37
2010-03-03Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-4/+5
2010-03-02resource: Fix broken indentationH. Peter Anvin1-1/+1
2010-03-01resource: Fix generic page_is_ram() for partial RAM pagesWu Fengguang1-4/+5
2010-02-28Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+13
2010-02-22resource: add release_child_resourcesYinghai Lu1-0/+30
2010-02-22resource/PCI: mark struct resource as constDominik Brodowski1-2/+2
2010-02-22resource/PCI: align functions now return start of resourceDominik Brodowski1-5/+9
2010-02-17Merge branch 'linus' into x86/mmThomas Gleixner1-14/+16
2010-02-01Generic page_is_ram: use __weakAndrew Morton1-1/+1
2010-02-01resources: introduce generic page_is_ram()Wu Fengguang1-0/+13
2009-12-21resources: fix call to alignf() in allocate_resource()Dominik Brodowski1-16/+16
2009-11-04resources: when allocate_resource() fails, leave resource untouchedBjorn Helgaas1-12/+14
2009-09-23walk system ram rangeKAMEZAWA Hiroyuki1-7/+16
2009-06-30kernel/resource.c: fix sign extension in reserve_setup()Zhang Rui1-1/+1
2009-04-18Remove 'recurse into child resources' logic from 'reserve_region_with_split()'Linus Torvalds1-34/+12
2009-01-15resources: fix parameter name and kernel-docRandy Dunlap1-0/+1
2009-01-07resource: allow MMIO exclusivity for device driversArjan van de Ven1-3/+58
2008-12-16resources: skip sanity check of busy resourcesArjan van de Ven1-0/+9
2008-11-01reserve_region_with_split: Fix GFP_KERNEL usage under spinlockLinus Torvalds1-1/+1
2008-10-28resources: fix x86info results ioremap.c:226 __ioremap_caller+0xf2/0x2d6() WA...Suresh Siddha1-1/+3
2008-10-23kernel/resource: fix reserve_region_with_split() section mismatchPaul Mundt1-1/+1
2008-10-16Merge branch 'core-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-9/+42
2008-10-16resources: tidy __request_region()Bjorn Helgaas1-20/+21
2008-09-26IO resources, x86: ioremap sanity check to catch mapping requests exceeding, fixIngo Molnar1-5/+9
2008-09-26IO resources, x86: ioremap sanity check to catch mapping requests exceeding t...Suresh Siddha1-0/+33
2008-09-04IO resources: fix/remove printkIngo Molnar1-5/+1
2008-09-04IO resources: add reserve_region_with_split()Yinghai Lu1-0/+68
2008-09-02kernel/resource.c: fix new kernel-doc warningRandy Dunlap1-1/+1
2008-08-29Resource handling: add 'insert_resource_expand_to_fit()' functionLinus Torvalds1-25/+63
2008-07-30resource: add resource_size()Magnus Damm1-1/+1
2008-04-29kernel: use non-racy method for proc entries creationDenis V. Lunev1-8/+2
2008-04-20PCI: clean up resource alignment managementIvan Kokshaysky1-0/+18
2008-02-08[POWERPC] Add arch-specific walk_memory_remove() for 64-bit powerpcBadari Pulavarty1-1/+1
2007-11-14Add IORESOUCE_BUSY flag for System RAMYasunori Goto1-1/+1
2007-10-16memory unplug: memory hotplug cleanupKAMEZAWA Hiroyuki1-1/+25
2007-04-28libata/IDE: remove combined mode quirkJeff Garzik1-21/+0
2007-02-14[PATCH] remove many unneeded #includes of sched.hTim Schmielau1-1/+0
2007-02-09devres: device resource managementTejun Heo1-0/+62
2006-12-07[PATCH] struct seq_operations and struct file_operations constificationHelge Deller1-3/+3
2006-10-03[PATCH] kernel-doc for kernel/resource.cRandy Dunlap1-11/+72
2006-09-26Resources: insert identical resources above existing resourcesMatthew Wilcox1-16/+16
2006-08-06[PATCH] memory hotadd fixes: find_next_system_ram catch range fixKAMEZAWA Hiroyuki1-1/+2
2006-08-06[PATCH] memory hotadd fixes: change find_next_system_ram's return value mannerKAMEZAWA Hiroyuki1-2/+4
2006-07-12[PATCH] The scheduled unexport of insert_resourceAdrian Bunk1-2/+0
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-06-29Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6Linus Torvalds1-25/+27
2006-06-27[PATCH] catch valid mem range at onlining memoryKAMEZAWA Hiroyuki1-0/+38
2006-06-27[PATCH] 64bit Resource: finally enable 64bit resource sizesGreg Kroah-Hartman1-5/+3
2006-06-27[PATCH] 64bit resource: change resource core to use resource_size_tGreg Kroah-Hartman1-16/+18
2006-06-27[PATCH] 64bit resource: fix up printks for resources in arch and core codeGreg Kroah-Hartman1-4/+6
2006-01-10[PATCH] kernel/resource.c: __check_region(): remove pointless __deprecatedAdrian Bunk1-1/+1
2005-09-07[PATCH] introduce and use kzallocPekka J Enberg1-2/+1
2005-06-25[PATCH] Use ALIGN to remove duplicate codeNick Wilson1-1/+1
2005-04-16[PATCH] pci enumeration on ixp2000: overflow in kernel/resource.cLennert Buytenhek1-1/+1
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+551