aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/head64.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-24x86/boot/64: Move 5-level paging global variable assignments backTom Lendacky1-9/+7
2024-03-24x86/boot/64: Apply encryption mask to 5-level pagetable updateTom Lendacky1-1/+1
2024-03-04x86/startup_64: Defer assignment of 5-level paging global variablesArd Biesheuvel1-30/+14
2024-02-28x86/boot/64: Load the final kernel GDT during early boot directly, remove sta...Brian Gerst1-11/+2
2024-02-26x86/boot/64: Use RIP_REL_REF() to access early_top_pgt[]Ard Biesheuvel1-12/+9
2024-02-26x86/boot/64: Use RIP_REL_REF() to access early page tablesArd Biesheuvel1-6/+4
2024-02-26x86/boot/64: Use RIP_REL_REF() to access '__supported_pte_mask'Ard Biesheuvel1-3/+1
2024-02-26x86/boot/64: Use RIP_REL_REF() to access early_dynamic_pgts[]Ard Biesheuvel1-6/+5
2024-02-26x86/boot/64: Use RIP_REL_REF() to assign 'phys_base'Ard Biesheuvel1-6/+1
2024-02-26x86/boot/64: Simplify global variable accesses in GDT/IDT programmingArd Biesheuvel1-45/+30
2023-12-20x86/asm: Always set A (accessed) flag in GDT descriptorsVegard Nossum1-3/+3
2023-12-20x86/asm: Replace magic numbers in GDT descriptors, script-generated changeVegard Nossum1-3/+3
2023-10-17x86/head/64: Move the __head definition to <asm/init.h>Hou Wenlong1-2/+1
2023-10-16x86/head/64: Add missing __head annotation to startup_64_load_idt()Hou Wenlong1-1/+1
2023-10-16x86/head/64: Mark 'startup_gdt[]' and 'startup_gdt_descr' as __initdataHou Wenlong1-2/+2
2023-10-03x86/boot: Harmonize the style of array-type parameter for fixup_pointer() callsWang Jinchao1-3/+3
2023-10-03x86/boot: Fix incorrect startup_gdt_descr.sizeYuntao Wang1-1/+1
2023-04-14x86/head: Mark *_start_kernel() __noreturnJosh Poimboeuf1-2/+2
2022-12-15x86/mm: Remove P*D_PAGE_MASK and P*D_PAGE_SIZE macrosPasha Tatashin1-1/+1
2022-07-01x86: Clear .brk area at early bootJuergen Gross1-0/+2
2022-07-01x86/xen: Use clear_bss() for Xen PV guestsJuergen Gross1-1/+1
2022-05-23Merge tag 'x86_tdx_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+7
2022-04-07x86/tdx: Port I/O: Add early boot supportAndi Kleen1-0/+3
2022-04-07x86/tdx: Detect running as a TDX guest in early bootKuppuswamy Sathyanarayanan1-0/+4
2022-04-06x86/head/64: Re-enable stack protectionMichael Roth1-9/+0
2022-04-06x86/kernel: Mark the .bss..decrypted section as shared in the RMP tableBrijesh Singh1-0/+13
2022-04-06x86/sev: Register GHCB memory when SEV-SNP is activeBrijesh Singh1-1/+3
2022-04-06x86/sev: Detect/setup SEV/SME features earlier in bootMichael Roth1-3/+0
2022-02-12x86/head64: Add missing __head annotation to sme_postprocess_startup()Marco Bonelli1-1/+1
2022-01-10Merge tag 'x86_mm_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+14
2021-12-22x86/mm: Prevent early boot triple-faults with instrumentationBorislav Petkov1-2/+14
2021-12-06x86/mm/64: Flush global TLB on boot and AP bringupJoerg Roedel1-0/+2
2021-11-15x86/head64: Carve out the guest encryption postprocessing into a helperBorislav Petkov1-29/+31
2021-10-04treewide: Replace the use of mem_encrypt_active() with cc_platform_has()Tom Lendacky1-2/+7
2021-05-10x86/sev-es: Rename sev-es.{ch} to sev.{ch}Brijesh Singh1-1/+1
2021-03-18x86: Fix various typos in commentsIngo Molnar1-1/+1
2020-11-20x86/head64: Remove duplicate includeWang Qing1-1/+0
2020-10-25treewide: Convert macro and uses of __section(foo) to __section("foo")Joe Perches1-1/+1
2020-09-09x86/sev-es: Setup GHCB-based boot #VC handlerJoerg Roedel1-0/+8
2020-09-09x86/sev-es: Setup an early #VC handlerJoerg Roedel1-1/+24
2020-09-07x86/head/64: Move early exception dispatch to C codeJoerg Roedel1-4/+15
2020-09-07x86/head/64: Install a CPU bringup IDTJoerg Roedel1-0/+39
2020-09-07x86/head/64: Install startup GDTJoerg Roedel1-0/+33
2020-06-09mm: reorder includes after introduction of linux/pgtable.hMike Rapoport1-1/+1
2020-06-09mm: introduce include/linux/pgtable.hMike Rapoport1-1/+1
2019-10-11x86/boot/64: Make level2_kernel_pgt pages invalid outside kernel areaSteve Wahl1-2/+20
2019-06-26x86/boot/64: Add missing fixup_pointer() for next_early_pgt accessKirill A. Shutemov1-1/+2
2019-06-26x86/boot/64: Fix crash if kernel image crosses page table boundaryKirill A. Shutemov1-8/+9
2018-11-20x86/boot: Mostly revert commit ae7e1238e68f2a ("Add ACPI RSDP address to setu...Juergen Gross1-2/+0
2018-10-29x86: Clean up 'sizeof x' => 'sizeof(x)'Jordan Borgner1-1/+1
2018-10-10x86/boot: Add ACPI RSDP address to setup_headerJuergen Gross1-0/+2
2018-09-20x86/mm: Expand static page table for fixmap spaceFeng Tang1-1/+3
2018-09-15x86/mm: Add .bss..decrypted section to hold shared variablesBrijesh Singh1-0/+16
2018-06-23Revert "x86/mm: Mark __pgtable_l5_enabled __initdata"Kirill A. Shutemov1-1/+1
2018-05-19x86/mm: Mark __pgtable_l5_enabled __initdataKirill A. Shutemov1-1/+1
2018-05-19x86/mm: Introduce the 'no5lvl' kernel parameterKirill A. Shutemov1-4/+5
2018-05-19x86/mm: Stop pretending pgtable_l5_enabled is a variableKirill A. Shutemov1-1/+1
2018-05-19x86/mm: Unify pgtable_l5_enabled usage in early boot codeKirill A. Shutemov1-7/+5
2018-05-14x86/boot/64/clang: Use fixup_pointer() to access '__supported_pte_mask'Alexander Potapenko1-1/+9
2018-04-12x86/mm: Do not auto-massage page protectionsDave Hansen1-0/+2
2018-02-21x86/mm: Optimize boot-time paging mode switching costKirill A. Shutemov1-2/+7
2018-02-16x86/mm: Support boot-time switching of paging modes in the early boot codeKirill A. Shutemov1-11/+22
2018-02-16x86/mm: Initialize vmemmap_base at boot-timeKirill A. Shutemov1-1/+2
2018-02-16x86/mm: Adjust vmalloc base and size at boot-timeKirill A. Shutemov1-1/+2
2018-02-16x86/mm: Initialize 'page_offset_base' at boot-timeKirill A. Shutemov1-4/+9
2018-02-16x86/mm: Initialize 'pgdir_shift' and 'ptrs_per_p4d' at boot-timeKirill A. Shutemov1-2/+4
2018-02-16x86/mm: Initialize 'pgtable_l5_enabled' at boot-timeKirill A. Shutemov1-1/+23
2018-02-14x86/mm: Make PGDIR_SHIFT and PTRS_PER_P4D variableKirill A. Shutemov1-1/+5
2018-02-14x86/mm: Introduce 'pgtable_l5_enabled'Kirill A. Shutemov1-0/+5
2018-02-14x86/mm: Make virtual memory layout dynamic for CONFIG_X86_5LEVEL=yKirill A. Shutemov1-0/+9
2018-01-16x86/mm: Encrypt the initrd earlier for BSP microcode updateTom Lendacky1-2/+2
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-04Merge branch 'x86-apic-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-5/+1
2017-08-29x86/idt: Move early IDT handler setup to IDT codeThomas Gleixner1-5/+1
2017-08-26Merge branch 'linus' into x86/mm to pick up fixes and to fix conflictsIngo Molnar1-2/+5
2017-08-17x86/boot/64/clang: Use fixup_pointer() to access 'next_early_pgt'Alexander Potapenko1-3/+4
2017-07-18x86/mm: Add support to make use of Secure Memory EncryptionTom Lendacky1-2/+3
2017-07-18x86/mm: Insure that boot memory areas are mapped properlyTom Lendacky1-4/+26
2017-07-18x86/mm: Provide general kernel support for memory encryptionTom Lendacky1-2/+9
2017-07-18x86/mm: Add support to enable SME in early boot processingTom Lendacky1-11/+42
2017-06-20x86/boot/64: Put __startup_64() into .head.textKirill A. Shutemov1-2/+4
2017-06-13x86/boot/64: Add support of additional page table level during early bootKirill A. Shutemov1-6/+42
2017-06-13x86/boot/64: Rename init_level4_pgt and early_level4_pgtKirill A. Shutemov1-10/+9
2017-06-13x86/boot/64: Rewrite startup_64() in CKirill A. Shutemov1-1/+84
2017-06-13x86/mm: Split read_cr3() into read_cr3_pa() and __read_cr3()Andy Lutomirski1-1/+2
2017-05-01Merge branch 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2017-03-14x86/kasan: Fix boot with KASAN=y and PROFILE_ANNOTATED_BRANCHES=yAndrey Ryabinin1-0/+1
2017-01-28x86/boot/e820: Move asm/e820.h to asm/e820/api.hIngo Molnar1-1/+1
2016-08-11x86/boot: Run reserve_bios_regions() after we initialize the memory mapAndy Lutomirski1-1/+0
2016-07-21x86/boot: Reorganize and clean up the BIOS area reservation codeIngo Molnar1-1/+1
2016-04-22x86/rtc: Replace paravirt rtc check with platform legacy quirkLuis R. Rodriguez1-0/+1
2016-03-15Merge branch 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-11/+3
2016-02-09x86/boot: Use proper array element type in memset() size calculationAlexander Kuleshov1-2/+2
2016-01-30x86/boot: Micro-optimize reset_early_page_tables()Alexander Kuleshov1-11/+3
2016-01-19x86/platform/intel-mid: Enable 64-bit buildAndy Shevchenko1-0/+8
2015-07-06x86/kasan: Fix KASAN shadow region page tablesAlexander Popov1-5/+2
2015-07-06x86/init: Clear 'init_level4_pgt' earlierAndrey Ryabinin1-1/+2
2015-06-02x86/asm/irq: Stop relying on magic JMP behavior for early_idt_handlersAndy Lutomirski1-1/+1
2015-04-13Merge branch 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+0
2015-03-17x86/boot/64: Remove pointless early_printk() messageAlexander Kuleshov1-3/+0
2015-02-16Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+2
2015-02-13x86_64: add KASan supportAndrey Ryabinin1-2/+7
2015-02-04x86: Store a per-cpu shadow copy of CR4Andy Lutomirski1-0/+2
2014-06-04kernel/printk: use symbolic defines for console loglevelsBorislav Petkov1-1/+1
2014-05-05asmlinkage, x86: Add explicit __visible to arch/x86/*Andi Kleen1-1/+1
2013-11-08x86, trace: Register exception handler to trace IDTSeiji Aguchi1-1/+1
2013-08-06x86, asmlinkage: Make _*_start_kernel visibleAndi Kleen1-1/+1
2013-05-20x86: Fix bit corruption at CPU resume timeLinus Torvalds1-1/+1
2013-05-02x86-64, init: Do not set NX bits on non-NX capable hardwareH. Peter Anvin1-1/+2
2013-04-02x86: Drop KERNEL_IMAGE_STARTBorislav Petkov1-3/+3
2013-02-22Merge branch 'x86/microcode' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+6
2013-02-22x86-64: don't set the early IDT to point directly to 'early_idt_handler'Linus Torvalds1-6/+1
2013-01-31x86/head64.c: Early update ucode in 64-bitFenghua Yu1-0/+6
2013-01-29x86: Merge early kernel reserve for 32bit and 64bitYinghai Lu1-9/+0
2013-01-29x86, boot: Support loading bzImage, boot_params and ramdisk above 4GYinghai Lu1-0/+2
2013-01-29x86, boot: Add get_cmd_line_ptr()Yinghai Lu1-2/+11
2013-01-29x86: Merge early_reserve_initrd for 32bit and 64bitYinghai Lu1-11/+0
2013-01-29x86, 64bit: Don't set max_pfn_mapped wrong value early on native pathYinghai Lu1-3/+0
2013-01-29x86, 64bit: #PF handler set page to cover only 2M per #PFYinghai Lu1-17/+25
2013-01-29x86, 64bit: Use a #PF handler to materialize early mappings on demandH. Peter Anvin1-7/+74
2013-01-29x86, 64bit: Copy struct boot_params earlyYinghai Lu1-1/+5
2013-01-29x86, boot: Sanitize boot_params if not zeroed on creationH. Peter Anvin1-0/+2
2012-05-08x86, realmode: Move ACPI wakeup to unified realmode codeJarkko Sakkinen1-1/+0
2011-12-08memblock: Kill memblock_init()Tejun Heo1-2/+0
2011-07-14memblock, x86: Replace memblock_x86_reserve/free_range() with generic onesTejun Heo1-2/+3
2011-03-19x86: Cleanup highmap after brk is concludedYinghai Lu1-3/+0
2010-10-14x86-64: Only set max_pfn_mapped to 512 MiB if we enter via head_64.SJeremy Fitzhardinge1-0/+2
2010-08-27x86, memblock: Replace e820_/_early string with memblock_Yinghai Lu1-2/+2
2010-08-27x86: Use memblock to replace early_resYinghai Lu1-0/+3
2010-03-29x86: Make sure free_init_pages() frees pages on page boundaryYinghai Lu1-1/+2
2009-12-11x86: Use find_e820() instead of hard coded trampoline addressYinghai Lu1-2/+0
2009-08-31x86: Add early platform detectionThomas Gleixner1-1/+2
2009-08-27x86: Add reserve_ebda_region to x86_init_opsThomas Gleixner1-2/+1
2009-03-14x86: add brk allocation for very, very early allocationsJeremy Fitzhardinge1-1/+1
2009-01-20x86: remove pda_init()Brian Gerst1-2/+0
2009-01-16x86: misc clean up after the percpu updateTejun Heo1-6/+1
2009-01-16x86: make pda a percpu variableTejun Heo1-10/+0
2009-01-16x86: merge 64 and 32 SMP percpu handlingTejun Heo1-2/+0
2009-01-16x86: fold pda into percpu area on SMPTejun Heo1-1/+7
2009-01-16x86: use static _cpu_pda arrayTejun Heo1-12/+0
2009-01-16x86: load pointer to pda into %gs while brining up a CPUTejun Heo1-2/+2
2009-01-16x86: make percpu symbols zerobased on SMPTejun Heo1-0/+2
2009-01-02x86: fix incorrect __read_mostly on _boot_cpu_pdaRavikiran G Thirumalai1-1/+1
2008-12-08x86: change static allocation of trampoline areaRafael J. Wysocki1-0/+3
2008-09-29x86_64: be less annoying on boot, v2dcg1-1/+2
2008-09-25x86_64: be less annoying on bootBill Nottingham1-2/+0
2008-08-15x86-64: fix overlap of modules and fixmap areasJan Beulich1-0/+1
2008-07-16x86_64: add workaround for no %gs-based percpuJeremy Fitzhardinge1-3/+8
2008-07-08x86: move reserve_setup_data to setup.cYinghai Lu1-1/+0
2008-07-08x86, 64-bit: split x86_64_start_kernelJeremy Fitzhardinge1-0/+5
2008-07-08Merge branch 'x86/numa' into x86/develIngo Molnar1-3/+19
2008-07-08x86: leave initial __cpu_pda array in place until cpus are bootedMike Travis1-7/+3
2008-07-08x86: remove static boot_cpu_pda array v2Mike Travis1-3/+23
2008-06-05x86: linked list of setup_data for i386Huang, Ying1-18/+0
2008-06-05x86: extract common part of head32.c and head64.c into head.cHuang, Ying1-50/+0
2008-04-26x86, boot: add linked list of struct setup_dataHuang, Ying1-0/+20
2008-04-26x86: use get_bios_ebda()Akinobu Mita1-3/+2
2008-04-19x86_64: do not reserve ramdisk two timesYinghai Lu1-0/+2
2008-04-17x86: don't set up early exception handlers for external interruptsAndi Kleen1-1/+1
2008-04-17x86: reserve end-of-conventional-memory to 1MB, 64-bit, use paravirt_enabledAlexander van Heukelum1-5/+1
2008-04-17x86: reserve end-of-conventional-memory to 1MB, 64-bitAlexander van Heukelum1-5/+23
2008-04-17x86: reserve_early end-of-conventional-memory to 1MB, 64-bitAlexander van Heukelum1-18/+27
2008-04-17x86: check vmlinux limits, 64-bitIngo Molnar1-0/+13
2008-02-18x86: zap invalid and unused pmds in early bootThomas Gleixner1-0/+3
2008-02-01x86_64: add debug name for early_resYinghai Lu1-3/+3
2008-01-30x86: fix more non-global TLB flushesIngo Molnar1-1/+1
2008-01-30x86: replace hard coded reservations in 64-bit early boot code with dynamic t...Andi Kleen1-0/+48
2008-01-30x86: make early printk selectable on 64-bit as wellIngo Molnar1-1/+6
2008-01-30x86: early_idt_handler improvements, 64-bitRoland McGrath1-1/+1
2008-01-30x86: do not set boot cpu in cpu_online_map at x86_64_start_kernel()Yinghai Lu1-3/+1
2008-01-30x86: remove duplicate start_kernel declarationThomas Gleixner1-0/+1
2008-01-30x86: move debug related declarations to kdebug.hThomas Gleixner1-0/+1
2007-10-19x86: use descriptor's functions instead of inline assemblyGlauber de Oliveira Costa1-1/+1
2007-10-16[x86] remove uses of magic macros for boot_params accessH. Peter Anvin1-16/+4
2007-10-13Delete filenames in comments.Dave Jones1-1/+1
2007-10-11x86_64: move kernelThomas Gleixner1-0/+86