aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/init.c
AgeCommit message (Expand)AuthorFilesLines
2025-09-13mm, x86/mm: move creating the tlb_flush event back to x86 codeSteven Rostedt1-0/+1
2025-08-02x86/ftrace: enable EXECMEM_ROX_CACHE for ftrace allocationsMike Rapoport (Microsoft)1-1/+8
2025-08-02x86/kprobes: enable EXECMEM_ROX_CACHE for kprobes allocationsMike Rapoport (Microsoft)1-1/+8
2025-08-02execmem: drop writable parameter from execmem_fill_trapping_insns()Mike Rapoport (Microsoft)1-6/+2
2025-05-17x86/mm/64: Make 5-level paging support unconditionalKirill A. Shutemov1-4/+0
2025-05-06x86/mm: Fix false positive warning in switch_mm_irqs_off()Peter Zijlstra1-0/+3
2025-04-11x86/alternatives: Rename 'poking_addr' to 'text_poke_mm_addr'Ingo Molnar1-5/+5
2025-04-11x86/alternatives: Rename 'poking_mm' to 'text_poke_mm'Ingo Molnar1-4/+4
2025-03-19x86/mm: Check return value from memblock_phys_alloc_range()Philip Redkin1-2/+7
2025-01-12x86/execmem: fix ROX cache usage in Xen PV guestsJuergen Gross1-1/+2
2024-11-23Merge tag 'mm-stable-2024-11-18-19-27' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+36
2024-11-07x86/module: enable ROX caches for module text on 64 bitMike Rapoport (Microsoft)1-1/+36
2024-10-02x86/mm: Don't disable PCID when INVLPG has been fixed by microcodeXi Ruoyao1-9/+14
2024-05-19Merge tag 'mm-stable-2024-05-17-19-19' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-47/+0
2024-05-14arch: make execmem setup available regardless of CONFIG_MODULESMike Rapoport (IBM)1-0/+29
2024-04-29x86/mm: Switch to new Intel CPU model definesTony Luck1-10/+6
2024-04-25x86: remove unneeded memblock_find_dma_reserve()Baoquan He1-47/+0
2023-08-30Merge tag 'x86_mm_for_6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-9/+0
2023-08-28Merge tag 'perf-core-2023-08-28' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2023-08-13x86/mm: Remove unused microcode.h includeThomas Gleixner1-1/+0
2023-08-09x86/cpu: Fix Gracemont uarchPeter Zijlstra1-1/+1
2023-08-03x86/mm: Remove "INVPCID single" feature trackingDave Hansen1-9/+0
2023-05-17x86/mm: Avoid incomplete Global INVLPG flushesDave Hansen1-0/+25
2023-04-28Merge tag 'x86_mm_for_6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-0/+5
2023-03-16x86/uaccess: Provide untagged_addr() and remove tags before address checkKirill A. Shutemov1-0/+5
2023-03-06x86/paravirt: Merge activate_mm() and dup_mmap() callbacksJuergen Gross1-1/+1
2023-01-12x86/mm: fix poking_init() for Xen PV guestsJuergen Gross1-0/+4
2022-12-15x86/mm: Use mm_alloc() in poking_init()Peter Zijlstra1-1/+1
2022-09-26mm/swap: cache maximum swapfile size when init swapPeter Xu1-1/+1
2022-08-01Merge tag 'x86_cleanups_for_v6.0_rc1' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+1
2022-07-13x86/pat: Fix x86_has_pat_wp()Juergen Gross1-2/+12
2022-07-07x86/mm: Refer to the intended config STRICT_DEVMEM in a commentLukas Bulwahn1-1/+1
2022-03-24mm/migration: add trace events for base page and HugeTLB migrationsAnshuman Khandual1-1/+0
2021-12-04x86/realmode: Add comment for Global bit usage in trampoline_pgdJoerg Roedel1-0/+5
2021-11-06memblock: rename memblock_free to memblock_phys_freeMike Rapoport1-1/+1
2021-09-03memblock: make memblock_find_in_range method privateMike Rapoport1-8/+15
2021-04-29Merge tag 'x86-mm-2021-04-29' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2021-03-21x86: Fix various typos in comments, take #2Ingo Molnar1-1/+1
2021-03-18x86: Fix various typos in commentsIngo Molnar1-2/+2
2021-03-06x86/mm/tlb: Privatize cpu_tlbstateNadav Amit1-1/+1
2021-01-04x86/mm: Increase pgt_buf size for 5-level page tablesLorenzo Stoakes1-5/+14
2020-11-20x86/mm: Declare 'start' variable where it is usedLukas Bulwahn1-2/+4
2020-06-17x86/mm: Fix -Wmissing-prototypes warnings for arch/x86/mm/init.cBenjamin Thiel1-2/+1
2020-06-09x86/mm: simplify init_trampoline() and surrounding logicMike Rapoport1-0/+22
2020-06-05Merge tag 'x86-mm-2020-06-05' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-5/+39
2020-06-03mm: use free_area_init() instead of free_area_init_nodes()Mike Rapoport1-1/+1
2020-05-23x86/mm: Stop printing BRK addressesArvind Sankar1-2/+0
2020-04-26x86/tlb: Restrict access to tlbstateThomas Gleixner1-1/+0
2020-04-26x86/tlb: Move cr4_set_bits_and_update_boot() to the usage siteThomas Gleixner1-0/+13
2020-04-23x86/mm: Unexport __cachemode2pte_tblChristoph Hellwig1-2/+9
2020-04-20x86/mm: Move pgprot2cachemode out of lineChristoph Hellwig1-2/+11
2020-04-20x86/mm: Add a x86_has_pat_wp() helperChristoph Hellwig1-0/+6
2020-04-10x86/mm: thread pgprot_t through init_memory_mapping()Logan Gunthorpe1-4/+5
2019-11-04x86/mm: Report which part of kernel image is freedKees Cook1-4/+4
2019-04-30x86/alternatives: Initialize temporary mm for patchingNadav Amit1-0/+37
2019-04-24x86/mm: Fix a crash with kmemleak_scan()Qian Cai1-0/+6
2018-12-28mm: make free_reserved_area() return "const char *"Alexey Dobriyan1-1/+1
2018-12-11x86/speculation/l1tf: Drop the swap storage limit restriction when l1tf=offMichal Hocko1-1/+1
2018-10-31mm: remove include/linux/bootmem.hMike Rapoport1-1/+0
2018-09-15x86/mm: Add .bss..decrypted section to hold shared variablesBrijesh Singh1-0/+4
2018-08-26Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-2/+2
2018-08-24x86/speculation/l1tf: Fix off-by-one error when warning that system has too m...Vlastimil Babka1-1/+1
2018-08-20x86/xen: enable early use of set_fixmap in 32-bit Xen PV guestJuergen Gross1-5/+12
2018-08-20x86/speculation/l1tf: Fix overflow in l1tf_pfn_limit() on 32bitVlastimil Babka1-2/+2
2018-08-14x86/init: fix build with CONFIG_SWAP=nVlastimil Babka1-0/+2
2018-08-14Merge branch 'l1tf-final' of git://git.kernel.org/pub/scm/linux/kernel/git/ti...Linus Torvalds1-0/+23
2018-08-06x86/mm/init: Remove freed kernel image areas from alias mappingDave Hansen1-2/+24
2018-08-05x86/mm/init: Add helper for freeing kernel image pagesDave Hansen1-3/+12
2018-06-27x86/speculation/l1tf: Protect PAE swap entries against L1TFVlastimil Babka1-1/+1
2018-06-21x86/speculation/l1tf: Extend 64bit swap file size limitVlastimil Babka1-1/+9
2018-06-20x86/speculation/l1tf: Limit swap file size to MAX_PA/2Andi Kleen1-0/+15
2018-06-15mm: fix devmem_is_allowed() for sub-page System RAM intersectionsDan Williams1-1/+3
2018-04-12x86/pti: Never implicitly clear _PAGE_GLOBAL for kernel imageDave Hansen1-7/+1
2018-04-09x86/mm: Introduce "default" kernel PTE maskDave Hansen1-0/+6
2018-01-05Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2018-01-05x86/tlb: Drop the _GPL from the cpu_tlbstate exportThomas Gleixner1-1/+1
2017-12-29Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-31/+49
2017-12-23x86/mm: Use INVPCID for __native_flush_tlb_single()Dave Hansen1-27/+37
2017-12-23x86/mm: Use/Fix PCID to optimize user/kernel switchesPeter Zijlstra1-1/+1
2017-12-23x86/mm/pti: Add infrastructure for page table isolationThomas Gleixner1-0/+2
2017-12-23x86/mm/pti: Disable global pages if PAGE_TABLE_ISOLATION=yDave Hansen1-3/+9
2017-11-15kmemcheck: rip it outLevin, Alexander (Sasha Levin)1-3/+2
2017-11-15kmemcheck: stop using GFP_NOTRACK and SLAB_NOTRACKLevin, Alexander (Sasha Levin)1-2/+1
2017-11-10x86/virt, x86/platform: Merge 'struct x86_hyper' into 'struct x86_platform' a...Juergen Gross1-1/+1
2017-09-13x86/mm/64: Initialize CR4.PCIDE earlyAndy Lutomirski1-0/+34
2017-08-26Merge branch 'linus' into x86/mm to pick up fixes and to fix conflictsIngo Molnar1-0/+3
2017-08-11x86: provide an init_mem_mapping hypervisor hookJuergen Gross1-0/+3
2017-07-25x86/mm: Implement PCID based optimization: try to preserve old TLB entries us...Andy Lutomirski1-0/+1
2017-07-05x86/mm: Rework lazy TLB mode and TLB freshness trackingAndy Lutomirski1-1/+0
2017-06-22Merge branch 'linus' into x86/mm, to pick up fixesIngo Molnar1-3/+3
2017-06-13x86/mm: Disable 1GB direct mappings when disabling 2MB mappingsVlastimil Babka1-3/+3
2017-06-05x86/mm: Rework lazy TLB to track the actual loaded mmAndy Lutomirski1-1/+1
2017-06-05x86/mm: Remove the UP asm/tlbflush.h code, always use the (formerly) SMP codeAndy Lutomirski1-2/+0
2017-05-08x86: use set_memory.h headerLaura Abbott1-1/+1
2017-05-01Merge branch 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-6/+53
2017-04-12mm: Tighten x86 /dev/mem with zeroing readsKees Cook1-11/+30
2017-01-28x86/boot/e820: Rename the remaining E820 APIs to the e820__*() prefixIngo Molnar1-1/+1
2017-01-28x86/boot/e820: Clean up the E820 table size define namesIngo Molnar1-3/+3
2017-01-28x86/boot/e820: Prefix the E820_* type names with "E820_TYPE_"Ingo Molnar1-1/+1
2017-01-28x86/boot/e820: Move the memblock_find_dma_reserve() function and rename it to...Ingo Molnar1-0/+47
2017-01-28x86/boot/e820: Move asm/e820.h to asm/e820/api.hIngo Molnar1-1/+1
2016-09-21x86/e820: Use much less memory for e820/e820_saved, save up to 120kDenys Vlasenko1-2/+2
2016-09-21x86/e820: Prepare e280 code for switch to dynamic storageDenys Vlasenko1-0/+2
2016-08-10x86/mm/KASLR: Increase BRK pages for KASLR memory randomizationThomas Garnier1-2/+12
2016-08-02treewide: replace obsolete _refok by __refFabian Frederick1-2/+2
2016-07-27Merge branch 'linus' into x86/microcode, to pick up merge window changesIngo Molnar1-0/+4
2016-07-08x86/mm: Implement ASLR for kernel memory regionsThomas Garnier1-0/+1
2016-07-08x86/mm: Separate variable for trampoline PGDThomas Garnier1-0/+3
2016-06-08x86/microcode: Fix suspend to RAM with builtin microcodeBorislav Petkov1-7/+0
2016-03-31x86/cpufeature: Remove cpu_has_pseBorislav Petkov1-2/+2
2016-03-31x86/cpufeature: Remove cpu_has_pgeBorislav Petkov1-1/+1
2016-03-31x86/cpufeature: Remove cpu_has_gbpagesBorislav Petkov1-1/+1
2016-03-15x86: also use debug_pagealloc_enabled() for free_init_pagesChristian Borntraeger1-14/+15
2016-03-15x86: query dynamic DEBUG_PAGEALLOC settingChristian Borntraeger1-3/+4
2015-11-10Merge tag 'libnvdimm-for-4.4' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+2
2015-10-21x86/microcode: Merge the early microcode loaderBorislav Petkov1-2/+0
2015-10-09x86, mm: quiet arch_add_memory()Dan Williams1-2/+2
2015-08-20x86/mm/pat: Add comments to cachemode translation tablesToshi Kani1-2/+5
2015-06-07x86/mm/pat: Emulate PAT when it is disabledBorislav Petkov1-3/+3
2015-04-13Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-37/+31
2015-03-05x86/mm/pat: Initialize __cachemode2pte_tbl[] and __pte2cachemode_tbl[] in a b...Ingo Molnar1-18/+22
2015-03-05x86/mm: Simplify probe_page_size_mask()Ingo Molnar1-13/+10
2015-03-05x86/mm: Further simplify 1 GB kernel linear mappings handlingIngo Molnar1-6/+1
2015-03-05x86/mm: Use early_param_on_off() for direct_gbpagesLuis R. Rodriguez1-1/+2
2015-03-05x86/mm: Simplify enabling direct_gbpagesLuis R. Rodriguez1-8/+9
2015-03-05x86/mm: Use IS_ENABLED() for direct_gbpagesLuis R. Rodriguez1-5/+1
2015-03-04Merge tag 'v4.0-rc2' into x86/asm, to refresh the treeIngo Molnar1-5/+38
2015-02-21Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-2/+26
2015-02-19x86/mm/init: Fix incorrect page size in init_memory_mapping() printksDave Hansen1-2/+26
2015-02-19x86-64: Also clear _PAGE_GLOBAL from __supported_pte_mask if !cpu_has_pgeJan Beulich1-1/+2
2015-02-16Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-2/+11
2015-02-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+1
2015-02-04x86: Store a per-cpu shadow copy of CR4Andy Lutomirski1-0/+9
2015-02-04x86: Clean up cr4 manipulationAndy Lutomirski1-2/+2
2015-01-22x86, mm: Change cachemode exports to non-gplJuergen Gross1-2/+2
2015-01-02x86: init_mem_mapping(): use capital BIOS in commentPavel Machek1-1/+1
2014-12-23x86: Fix step size adjustment during initial memory mappingJan Beulich1-20/+17
2014-12-14Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-2/+2
2014-12-11x86/mm: Fix zone ranges boot printoutXishi Qiu1-2/+2
2014-11-16x86: Enable PAT to use cache mode translation tablesJuergen Gross1-0/+8
2014-11-16x86: Make page cache mode a real typeJuergen Gross1-0/+29
2014-07-31x86/mm: Add tracepoints for TLB flushesDave Hansen1-0/+7
2013-11-13arch/x86/mm/init.c: fix incorrect function name in alloc_low_pages()Zhi Yong Wu1-2/+2
2013-11-13x86/mem-hotplug: support initialize page tables in bottom-upTang Chen1-2/+64
2013-11-13x86/mm: factor out of top-down direct mapping setupTang Chen1-20/+39
2013-09-10x86/mm: Add 'step_size' comments to init_mem_mapping()Yinghai Lu1-3/+20
2013-08-20x86/mm: Fix boot crash with DEBUG_PAGE_ALLOC=y and more than 512G RAMYinghai Lu1-2/+2
2013-07-03mm/x86: use free_reserved_area() to simplify codeJiang Liu1-11/+3
2013-05-31x86: Fix adjust_range_size_mask calling positionYinghai Lu1-3/+3
2013-05-10x86/mm: Add missing comments for initial kernel direct mappingZhang Yanfei1-1/+18
2013-04-29mm/x86: use common help functions to free reserved pagesJiang Liu1-4/+1
2013-03-06x86, mm: Make sure to find a 2M free block for the first mapped areaYinghai Lu1-3/+2
2013-01-31x86/mm/init.c: Copy ucode from initrd image to kernel memoryFenghua Yu1-0/+10
2013-01-29x86, kexec, 64bit: Only set ident mapping for ram.Yinghai Lu1-2/+2
2013-01-29x86, 64bit: Use a #PF handler to materialize early mappings on demandH. Peter Anvin1-1/+2
2013-01-29x86, mm: Fix page table early allocation offset checkingYinghai Lu1-1/+12
2012-11-17x86, mm: Use clamp_t() in init_range_memory_mappingYinghai Lu1-16/+5
2012-11-17x86, mm: Unifying after_bootmem for 32bit and 64bitYinghai Lu1-2/+0
2012-11-17x86, mm: use limit_pfn for end pfnYinghai Lu1-9/+11
2012-11-17x86, mm: use pfn instead of pos in split_mem_rangeYinghai Lu1-15/+14
2012-11-17x86, mm: use PFN_DOWN in split_mem_range()Yinghai Lu1-22/+22
2012-11-17x86, mm: use round_up/down in split_mem_range()Yinghai Lu1-18/+12
2012-11-17x86, mm: Move init_gbpages() out of setup.cYinghai Lu1-0/+12
2012-11-17x86, mm: Move back pgt_buf_* to mm/init.cYinghai Lu1-3/+3
2012-11-17x86, mm: only call early_ioremap_page_table_range_init() onceYinghai Lu1-8/+5
2012-11-17x86, mm: Add pointer about Xen mmu requirement for alloc_low_pagesStefano Stabellini1-0/+9
2012-11-17x86, mm: Add alloc_low_pages(num)Yinghai Lu1-12/+21
2012-11-17x86, mm, Xen: Remove mapping_pagetable_reserve()Yinghai Lu1-4/+0
2012-11-17x86, mm: Move min_pfn_mapped back to mm/init.cYinghai Lu1-0/+2
2012-11-17x86, mm: Merge alloc_low_page between 64bit and 32bitYinghai Lu1-0/+34
2012-11-17x86, mm: setup page table in top-downYinghai Lu1-149/+61
2012-11-17x86, mm: Break down init_all_memory_mappingYinghai Lu1-22/+19
2012-11-17x86, mm: Use big page size for small memory rangeYinghai Lu1-0/+37
2012-11-17x86, mm: Only direct map addresses that are marked as E820_RAMJacob Shin1-11/+109
2012-11-17x86, mm: Separate out calculate_table_space_size()Yinghai Lu1-11/+27
2012-11-17x86, mm: Find early page table buffer togetherYinghai Lu1-32/+34
2012-11-17x86, mm: Change find_early_table_space() paramtersYinghai Lu1-3/+9
2012-11-17x86, mm: Revert back good_end setting for 64bitYinghai Lu1-1/+1
2012-11-17x86, mm: Move init_memory_mapping calling out of setup.cYinghai Lu1-1/+18
2012-11-17x86, mm: Move down find_early_table_space()Yinghai Lu1-58/+59
2012-11-17x86, mm: Split out split_mem_range from init_memory_mappingYinghai Lu1-16/+25
2012-11-17x86, mm: Add global page_size_mask and probe one time onlyYinghai Lu1-30/+25
2012-10-25x86, mm: Undo incorrect revert in arch/x86/mm/init.cYinghai Lu1-4/+0
2012-10-24x86, mm: Find_early_table_space based on ranges that are actually being mappedJacob Shin1-29/+41
2012-10-24Revert "x86/mm: Fix the size calculation of mapping tables"Dave Young1-13/+9
2012-09-13x86/mm/init.c: Fix devmem_is_allowed() off by oneT Makphaibulchoke1-1/+1
2012-06-20x86/mm: Mark free_initrd_mem() as __initJan Beulich1-1/+1
2012-06-08x86/mm: Only add extra pages count for the first memory range during pre-allo...Yinghai Lu1-1/+2
2012-05-29x86: print physical addresses consistently with other parts of kernelBjorn Helgaas1-7/+9
2012-05-23Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-9/+12
2012-03-28Disintegrate asm/system.h for X86David Howells1-1/+0
2012-03-06x86/mm: Fix the size calculation of mapping tablesWANG Cong1-9/+12
2012-01-11Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+23
2011-11-28Merge branch 'master' into x86/memblockTejun Heo1-2/+1
2011-11-11x86, mm: Unify zone_sizes_init()Pekka Enberg1-0/+23
2011-10-24x86: Fix S4 regressionTakashi Iwai1-2/+1
2011-07-14memblock, x86: Replace memblock_x86_reserve/free_range() with generic onesTejun Heo1-3/+3
2011-07-13memblock: Kill MEMBLOCK_ERRORTejun Heo1-1/+1
2011-05-25mm: now that all old mmu_gather code is gone, remove the storagePeter Zijlstra1-2/+0
2011-05-12x86/mm: Fix section mismatch derived from native_pagetable_reserve()Sedat Dilek1-1/+1