aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/mem.c
AgeCommit message (Expand)AuthorFilesLines
2023-11-06powerpc: Remove file parameter from phys_mem_access_prot()Thomas Zimmermann1-4/+4
2023-11-03Merge tag 'powerpc-6.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-0/+1
2023-10-23powerpc/mm: Fix boot crash with FLATMEMMichael Ellerman1-1/+0
2023-10-19powerpc: Untangle fixmap.h and pgtable.h and mmu.hChristophe Leroy1-0/+1
2022-12-02powerpc/code-patching: Remove protection against patching init addresses afte...Christophe Leroy1-1/+0
2022-09-26powerpc: Remove CONFIG_PPC_FSL_BOOK3EChristophe Leroy1-1/+1
2022-09-26powerpc/highmem: Properly handle fragmented memoryChristophe Leroy1-1/+1
2022-08-10Merge tag 'cxl-for-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxlLinus Torvalds1-0/+1
2022-07-29powerpc/mm: Export memory_add_physaddr_to_nid() for modulesMichael Ellerman1-0/+1
2022-07-09Merge branch 'fixes' into nextMichael Ellerman1-1/+32
2022-06-29powerpc/memhotplug: Add add_pages override for PPCAneesh Kumar K.V1-1/+32
2022-06-20powerpc: Don't include asm/setup.h in asm/machdep.hChristophe Leroy1-0/+1
2022-05-28Merge tag 'powerpc-5.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-0/+4
2022-05-22powerpc/ftrace: Remove ftrace init tramp once kernel init is completeNaveen N. Rao1-0/+2
2022-05-11powerpc/code-patching: Use jump_label for testing freed initmemChristophe Leroy1-0/+2
2022-04-18swiotlb: add a SWIOTLB_ANY flag to lift the low memory restrictionChristoph Hellwig1-4/+1
2022-04-18swiotlb: make the swiotlb_init interface more usefulChristoph Hellwig1-1/+2
2022-04-07Revert "powerpc: Set max_mapnr correctly"Kefeng Wang1-1/+1
2021-12-23powerpc/code-patching: Remove init_mem_is_freeChristophe Leroy1-2/+0
2021-11-29Revert "powerpc/code-patching: Improve verification of patchability"Michael Ellerman1-0/+2
2021-11-25powerpc/code-patching: Improve verification of patchabilityChristophe Leroy1-2/+0
2021-10-13powerpc: Set max_mapnr correctlyChristophe Leroy1-1/+1
2021-10-09powerpc/mem: Fix arch/powerpc/mm/mem.c:53:12: error: no previous prototype fo...Christophe Leroy1-1/+1
2021-09-08mm/memory_hotplug: remove nid parameter from arch_remove_memory()David Hildenbrand1-2/+1
2021-07-02Merge tag 'powerpc-5.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-0/+7
2021-06-29mm: replace CONFIG_NEED_MULTIPLE_NODES with CONFIG_NUMAMike Rapoport1-2/+2
2021-06-17powerpc/32: Display modules range in virtual memory layoutChristophe Leroy1-0/+4
2021-06-17powerpc: Define empty_zero_page[] in CChristophe Leroy1-0/+3
2021-06-06powerpc/mem: Add back missing header to fix 'no previous prototype' errorChristophe Leroy1-0/+1
2021-04-30Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+0
2021-04-30mm: move mem_init_print_info() into mm_init()Kefeng Wang1-1/+0
2021-04-14powerpc/mem: Move cache flushing functions into mm/cacheflush.cChristophe Leroy1-281/+0
2021-03-24powerpc/mm: Move the linear_mapping_mutex to the ifdef where it is usedSebastian Andrzej Siewior1-1/+1
2021-02-11powerpc/mm: Remove dcache flush from memory remove.Aneesh Kumar K.V1-22/+0
2021-02-11powerpc/mm: Add PG_dcache_clean to indicate dcache clean stateAneesh Kumar K.V1-2/+2
2021-02-11powerpc/mm: Enable compound page check for both THP and HugeTLBAneesh Kumar K.V1-6/+22
2020-12-17Merge tag 'powerpc-5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-20/+40
2020-12-14Merge tag 'core-mm-2020-12-14' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-7/+0
2020-12-04powerpc/mm: Remove useless #ifndef CPU_FTR_COHERENT_ICACHE in mem.cChristophe Leroy1-5/+0
2020-12-04powerpc/mm: Fix verification of MMU_FTR_TYPE_44xChristophe Leroy1-1/+1
2020-11-22mm: fix phys_to_target_node() and memory_add_physaddr_to_nid() exportsDan Williams1-0/+1
2020-11-19powerpc/mm: remove linear mapping if __add_pages() fails in arch_add_memory()David Hildenbrand1-1/+4
2020-11-19powerpc/mm: print warning in arch_remove_linear_mapping()David Hildenbrand1-1/+3
2020-11-19powerpc/mm: protect linear mapping modifications by a mutexDavid Hildenbrand1-0/+5
2020-11-19powerpc/mm: factor out creating/removing linear mappingDavid Hildenbrand1-13/+28
2020-11-06powerpc/mm/highmem: Switch to generic kmap atomicThomas Gleixner1-7/+0
2020-10-16Merge tag 'powerpc-5.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-1/+5
2020-10-13arch, drivers: replace for_each_membock() with for_each_mem_range()Mike Rapoport1-6/+10
2020-10-13arch, mm: replace for_each_memblock() with for_each_mem_pfn_range()Mike Rapoport1-7/+8
2020-09-14powerpc/pseries/svm: Allocate SWIOTLB buffer anywhere in memoryThiago Jung Bauermann1-1/+5
2020-08-07Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-3/+0
2020-08-07mm/sparse: cleanup the code surrounding memory_present()Mike Rapoport1-2/+0
2020-08-07mm: remove unneeded includes of <asm/pgalloc.h>Mike Rapoport1-1/+0
2020-07-29powerpc/mm: Limit resize_hpt_for_hotplug() call to hash guests onlyBharata B Rao1-5/+0
2020-06-09mm: don't include asm/pgtable.h if linux/mm.h is already includedMike Rapoport1-1/+0
2020-06-08mm: rename flush_icache_user_range to flush_icache_user_pageChristoph Hellwig1-1/+1
2020-06-08powerpc: unexport flush_icache_user_rangeChristoph Hellwig1-1/+0
2020-06-05Merge tag 'powerpc-5.8-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-0/+2
2020-06-04arch/kmap: ensure kmap_prot visibilityIra Weiny1-3/+0
2020-06-03mm: use free_area_init() instead of free_area_init_nodes()Mike Rapoport1-1/+1
2020-06-02powerpc/mem: Blacklist flush_dcache_icache_phys() for kprobeChristophe Leroy1-0/+2
2020-04-10mm/memory_hotplug: add pgprot_t to mhp_paramsLogan Gunthorpe1-1/+2
2020-04-10powerpc/mm: thread pgprot_t through create_section_mapping()Logan Gunthorpe1-2/+3
2020-04-10mm/memory_hotplug: rename mhp_restrictions to mhp_paramsLogan Gunthorpe1-2/+2
2020-03-10Merge branch 'fixes' into nextMichael Ellerman1-0/+2
2020-03-05powerpc/mm: Fix missing KUAP disable in flush_coherent_icache()Michael Ellerman1-0/+2
2020-02-26powerpc/32: drop get_pteptr()Christophe Leroy1-5/+0
2020-02-26powerpc/32: refactor pmd_offset(pud_offset(pgd_offset...Christophe Leroy1-2/+1
2020-01-27powerpc/32: Add support of KASAN_VMALLOCChristophe Leroy1-0/+4
2020-01-04mm/memory_hotplug: shrink zones when offlining memoryDavid Hildenbrand1-2/+1
2019-12-13powerpc: Ensure that swiotlb buffer is allocated from low memoryMike Rapoport1-0/+8
2019-12-05powerpc/pmem: Fix kernel crash due to wrong range value usage in flush_dcache...Aneesh Kumar K.V1-1/+1
2019-11-30Merge tag 'powerpc-5.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-8/+175
2019-11-29powerpc/fixmap: fix crash with HIGHMEMChristophe Leroy1-0/+6
2019-11-25powerpc/fixmap: don't clear fixmap area in paging_init()Christophe Leroy1-8/+0
2019-11-07powerpc: Don't flush caches when adding memoryAlastair D'Silva1-2/+0
2019-11-07powerpc: Chunk calls to flush_dcache_range in arch_*_memoryAlastair D'Silva1-2/+25
2019-11-07powerpc: Convert flush_icache_range & friends to CAlastair D'Silva1-1/+149
2019-11-01dma/direct: turn ARCH_ZONE_DMA_BITS into a variableNicolas Saenz Julienne1-5/+15
2019-08-28powerpc: use the generic dma coherent remap allocatorChristoph Hellwig1-4/+0
2019-08-20powerpc/mm: move update_mmu_cache() into book3s hash utils.Christophe Leroy1-52/+0
2019-08-20powerpc/mm: move FSL_BOOK3 version of update_mmu_cache()Christophe Leroy1-8/+0
2019-08-20powerpc/mm: define empty update_mmu_cache() as static inlineChristophe Leroy1-4/+7
2019-08-20powerpc/mm: don't display empty early ioremap areaChristophe Leroy1-2/+3
2019-07-24Merge tag 'powerpc-5.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-1/+1
2019-07-18mm/memory_hotplug: allow arch_remove_memory() without CONFIG_MEMORY_HOTREMOVEDavid Hildenbrand1-2/+0
2019-07-15powerpc: fix off by one in max_zone_pfn initialization for ZONE_DMAAndrea Arcangeli1-1/+1
2019-07-14Merge tag 'for-linus-hmm' of git://git.kernel.org/pub/scm/linux/kernel/git/rd...Linus Torvalds1-9/+1
2019-07-13Merge tag 'powerpc-5.3-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-2/+2
2019-07-05powerpc/64: flush_inval_dcache_range() becomes flush_dcache_range()Christophe Leroy1-2/+2
2019-07-02memremap: replace the altmap_valid field with a PGMAP_ALTMAP_VALID flagChristoph Hellwig1-9/+1
2019-06-22Merge tag 'powerpc-5.2-5' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-1/+2
2019-06-19powerpc: enable a 30-bit ZONE_DMA for 32-bit pmacChristoph Hellwig1-1/+2
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-6/+1
2019-05-14mm/memory_hotplug: make __remove_pages() and arch_remove_memory() never failDavid Hildenbrand1-6/+3
2019-05-14mm, memory_hotplug: provide a more generic restrictions for memory hotplugMichal Hocko1-3/+3
2019-05-14initramfs: provide a generic free_initrd_mem implementationChristoph Hellwig1-7/+0
2019-05-03powerpc/32: prepare shadow area for KASANChristophe Leroy1-0/+4
2019-05-02powerpc/mm: change #include "mmu_decl.h" to <mm/mmu_decl.h>Christophe Leroy1-1/+1
2019-04-21powerpc/mm: Fix section mismatch warningAneesh Kumar K.V1-4/+4
2019-04-20powerpc/mm: move warning from resize_hpt_for_hotplug()Laurent Vivier1-1/+2
2019-02-21Merge branch 'topic/dma' into nextMichael Ellerman1-22/+0
2019-02-18powerpc/dma: use the dma-direct allocator for coherent platformsChristoph Hellwig1-22/+0
2019-02-04powerpc: Drop page_is_ram() and walk_system_ram_range()Christophe Leroy1-33/+6
2018-12-28mm, memory_hotplug: add nid parameter to arch_remove_memoryOscar Salvador1-1/+2
2018-12-20powerpc: use mm zones more sensiblyChristoph Hellwig1-30/+17
2018-11-26powerpc: change CONFIG_PPC_STD_MMU to CONFIG_PPC_BOOK3SChristophe Leroy1-2/+2
2018-10-31mm: remove include/linux/bootmem.hMike Rapoport1-2/+1
2018-10-31memblock: rename free_all_bootmem to memblock_free_allMike Rapoport1-1/+1
2018-10-14powerpc/mm: don't use _PAGE_EXEC for calling hash_preload()Christophe Leroy1-4/+5
2018-10-14powerpc: handover page flags with a pgprot_t parameterChristophe Leroy1-2/+2
2018-09-18powerpc: Avoid code patching freed init sectionsMichael Neuling1-0/+2
2018-06-15treewide: use PHYS_ADDR_MAX to avoid type casting ULLONG_MAXStefan Agner1-1/+1
2018-06-03powerpc/64s/radix: prefetch user address in update_mmu_cacheNicholas Piggin1-1/+3
2018-04-24powerpc/mm: Flush cache on memory hot(un)plugBalbir Singh1-0/+2
2018-04-01powerpc/mm: Use memblock API for PPC32 page_is_ramJonathan Neuschäfer1-4/+0
2018-04-01powerpc/mm: Simplify page_is_ram by using memblock_is_memoryJonathan Neuschäfer1-7/+1
2018-03-31Merge branch 'topic/paca' into nextMichael Ellerman1-3/+6
2018-03-31powerpc/mm: Pass node id into create_section_mappingNicholas Piggin1-2/+2
2018-03-30powerpc/mm/numa: move numa topology discovery earlierNicholas Piggin1-1/+4
2018-03-27powerpc/mm: Fix section mismatch warning in stop_machine_change_mapping()Mauricio Faria de Oliveira1-2/+2
2018-02-06Merge tag 'libnvdimm-for-4.16' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-6/+5
2018-01-08mm: pass the vmem_altmap to arch_remove_memory and __remove_pagesChristoph Hellwig1-4/+2
2018-01-08mm: pass the vmem_altmap to arch_add_memory and __add_pagesChristoph Hellwig1-2/+3
2017-12-04powerpc: Use pr_warn instead of pr_warningJoe Perches1-2/+1
2017-08-10powerpc/8xx: Getting rid of remaining use of CONFIG_8xxChristophe Leroy1-1/+1
2017-07-18powerpc/mm: Mark __init memory no-execute when STRICT_KERNEL_RWX=yMichael Ellerman1-0/+1
2017-07-07Merge tag 'powerpc-4.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-5/+15
2017-07-06mm, memory_hotplug: replace for_device by want_memblock in arch_add_memoryMichal Hocko1-2/+2
2017-07-06mm, memory_hotplug: do not associate hotadded memory to zones until onlineMichal Hocko1-9/+1
2017-07-06mm, memory_hotplug: get rid of is_zone_device_sectionMichal Hocko1-1/+1
2017-07-02powerpc/vmemmap: Add altmap supportOliver O'Halloran1-3/+13
2017-06-05powerpc/mm: Rename map_page() to map_kernel_page() on 32-bitChristophe Leroy1-2/+2
2017-02-10powerpc/pseries: Automatically resize HPT for memory hot add/removeDavid Gibson1-0/+4
2016-07-07powerpc: Fix build with CONFIG_MEMORY_HOTPLUG on some configsBenjamin Herrenschmidt1-0/+10
2016-06-16powerpc/mm: Ensure "special" zones are emptyOliver O'Halloran1-1/+7
2016-05-11powerpc/mm: Improve readability of update_mmu_cache()Gavin Shan1-7/+14
2016-05-11powerpc/mm: define TOP_ZONE as a constantOliver O'Halloran1-12/+5
2016-05-11powerpc/radix: Update MMU cacheAneesh Kumar K.V1-0/+2
2016-03-19Merge tag 'powerpc-4.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-2/+8
2016-03-01powerpc/mm: Clean up memory hotplug failure pathsDavid Gibson1-2/+8
2016-01-30arch: Set IORESOURCE_SYSTEM_RAM flag for System RAMToshi Kani1-1/+1
2016-01-25powerpc/mm: Allow user space to map rtas_rmo_bufVasant Hegde1-2/+2
2015-09-08Merge tag 'libnvdimm-for-4.3' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+2
2015-08-27mm: ZONE_DEVICE for "device memory"Dan Williams1-2/+2
2015-08-07powerpc/mm: Don't call __flush_dcache_icache_phys() with PA>VAScott Wood1-7/+7
2015-06-02powerpc/mm: Use PFN_PHYS() in devmem_is_allowed()Scott Wood1-1/+1
2015-04-10powerpc: Replace mem_init_done with slab_is_available()Michael Ellerman1-3/+0
2014-11-10powerpc: Move sparse_init() into initmem_initAnton Blanchard1-0/+1
2014-11-10powerpc: Remove bootmem allocatorAnton Blanchard1-60/+2
2014-11-05powerpc: Remove ppc_md.remove_memoryAnton Blanchard1-2/+12
2014-10-04Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/scottwoo...Michael Ellerman1-6/+62
2014-09-19powerpc/mm: Use common paging_init() for NUMAScott Wood1-1/+6
2014-09-03powerpc: Dynamic DMA zone limitsScott Wood1-5/+56
2014-08-06memory-hotplug: ppc: suitable memory should go to ZONE_MOVABLEWang Nan1-1/+2
2014-03-07powerpc/pseries: Use remove_memory() to remove memoryNathan Fontenot1-1/+6
2014-01-27Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/pow...Linus Torvalds1-1/+7
2014-01-21memblock: make memblock_set_node() support different memblock_typeTang Chen1-1/+1
2014-01-15Merge remote-tracking branch 'scott/next' into nextBenjamin Herrenschmidt1-0/+6
2014-01-15powerpc: Make add_system_ram_resources() __initGeert Uytterhoeven1-1/+1
2014-01-09powerpc/e6500: TLB miss handler with hardware tablewalk supportScott Wood1-0/+6
2013-10-03powerpc: Fix memory hotplug with sparse vmemmapNathan Fontenot1-0/+9
2013-08-27powerpc/mm: Mark Memory Resources as busyNathan Fontenot1-1/+1
2013-07-04Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/pow...Linus Torvalds1-0/+4
2013-07-03mm/PPC: prepare for killing free_all_bootmem_node()Jiang Liu1-15/+1
2013-07-03mm/ppc: prepare for removing num_physpages and simplify mem_init()Jiang Liu1-44/+12
2013-07-03mm: concentrate modification of totalram_pages into the mm coreJiang Liu1-3/+2
2013-07-03mm: enhance free_reserved_area() to support poisoning memory with zeroJiang Liu1-1/+1
2013-07-03mm: change signature of free_reserved_area() to fix building warningsJiang Liu1-1/+1
2013-06-21powerpc: Make linux pagetable walk safe with THP enabledAneesh Kumar K.V1-0/+4
2013-05-02Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/pow...Linus Torvalds1-2/+1
2013-04-29mm/PPC: use free_highmem_page() to free highmem pages into buddy systemJiang Liu1-5/+1
2013-04-29mm/ppc: use common help functions to free reserved pagesJiang Liu1-27/+2
2013-04-18powerpc: place EXPORT_SYMBOL macro right after declarationValentina Manea1-2/+1
2013-02-23Merge branch 'akpm' (more incoming from Andrew)Linus Torvalds1-0/+12
2013-02-23memory-hotplug: introduce new arch_remove_memory() for removing page tableWen Congyang1-0/+12
2013-01-29powerpc/mm: Eliminate unneeded for_each_memblockCody P Schafer1-7/+4
2012-09-12powerpc/swiotlb: Enable at early stage and disable if not necessaryJia Hongtao1-2/+1
2012-09-07powerpc: Change memory_limit from phys_addr_t to unsigned long longSuzuki Poulose1-1/+1
2012-08-16KVM: PPC: Add cache flush on page mapAlexander Graf1-0/+1
2012-03-20powerpc: remove the second argument of k[un]map_atomic()Cong Wang1-2/+2
2012-01-06Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/pow...Linus Torvalds1-1/+22
2011-12-08powerpc: Use HAVE_MEMBLOCK_NODE_MAPTejun Heo1-1/+1
2011-12-08powerpc: Punch a hole in /dev/mem for librtassukadev@linux.vnet.ibm.com1-0/+3
2011-12-07powerpc/book3e: Change hugetlb preload to take vma argumentBecky Bruce1-1/+1
2011-11-28powerpc: Implement CONFIG_STRICT_DEVMEMsukadev@linux.vnet.ibm.com1-0/+18
2011-11-08powerpc: Add System RAM to /proc/iomemAnton Blanchard1-0/+30
2011-11-06Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2011-10-31powerpc: various straight conversions from module.h --> export.hPaul Gortmaker1-1/+1
2011-09-20powerpc: Fix oops when echoing bad values to /sys/devices/system/memory/probeAnton Blanchard1-1/+2
2011-09-20powerpc: Hugetlb for BookEBecky Bruce1-0/+5
2011-07-19powerpc/mm: Fix output of total_ram.Tony Breeds1-2/+2
2011-07-08powerpc: Create next_tlbcam_idx percpu variable for FSL_BOOKEBecky Bruce1-0/+9
2011-06-30powerpc: Add printk companion for ppc_md.progressDave Carroll1-1/+1
2011-06-30powerpc: Move free_initmem to common codeDave Carroll1-0/+19
2011-06-30Merge remote branch 'origin/master' into nextBenjamin Herrenschmidt1-0/+19
2011-06-29powerpc: mem_init should call memblock_is_reserved with phys_addr_tBecky Bruce1-1/+2
2011-06-09powerpc: Force page alignment for initrd reserved memoryBenjamin Herrenschmidt1-0/+19
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1
2010-10-12memblock, bootmem: Round pfn properly for memory and reserved regionsYinghai Lu1-7/+7