aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/head_8xx.S
AgeCommit message (Expand)AuthorFilesLines
2024-05-14powerpc: use CONFIG_EXECMEM instead of CONFIG_MODULES where appropriateMike Rapoport (IBM)1-2/+2
2023-08-16powerpc: remove unneeded #include <asm/export.h>Masahiro Yamada1-1/+0
2022-12-08Merge branch 'topic/objtool' into nextMichael Ellerman1-1/+4
2022-12-02powerpc: allow minimum sized kernel stack framesNicholas Piggin1-1/+1
2022-11-18powerpc/32: Fix objtool unannotated intra-function call warningsChristophe Leroy1-1/+4
2022-02-07powerpc/32: Remove _ENTRY() macroChristophe Leroy1-2/+2
2021-11-16powerpc/8xx: Fix pinned TLBs with CONFIG_STRICT_KERNEL_RWXChristophe Leroy1-6/+7
2021-11-01powerpc/8xx: Fix Oops with STRICT_KERNEL_RWX without DEBUG_RODATA_TESTChristophe Leroy1-1/+1
2021-06-17powerpc: Define swapper_pg_dir[] in CChristophe Leroy1-12/+0
2021-06-17powerpc: Define empty_zero_page[] in CChristophe Leroy1-6/+0
2021-06-17powerpc/nohash: Refactor update of BDI2000 pointers in switch_mmu_context()Christophe Leroy1-7/+0
2021-04-21powerpc/8xx: Enhance readability of trap typesChristophe Leroy1-24/+25
2021-04-08powerpc: Spelling/typo fixesBhaskar Chowdhury1-1/+1
2021-03-29powerpc/32: Remove the xfer parameter in EXCEPTION() macroChristophe Leroy1-7/+7
2021-03-29powerpc/32: Dismantle EXC_XFER_STD/LITE/TEMPLATEChristophe Leroy1-3/+9
2021-03-29powerpc/32: Only restore non volatile registers when requiredChristophe Leroy1-4/+20
2021-03-29powerpc/32: Save trap number on stack in exception prologChristophe Leroy1-7/+7
2021-03-29powerpc/32: Call bad_page_fault() from do_page_fault()Christophe Leroy1-2/+2
2021-03-29powerpc/32: Set regs parameter in r3 in transfer_to_handlerChristophe Leroy1-3/+0
2021-03-29powerpc/32: Provide a name to exception prolog continuation in virtual modeChristophe Leroy1-5/+5
2021-03-29powerpc/32: Move exception prolog code into .text once MMU is back onChristophe Leroy1-15/+10
2021-03-29powerpc/32: Use START_EXCEPTION() as much as possibleChristophe Leroy1-18/+9
2021-03-29powerpc/32: Add vmap_stack_overflow label inside the macroChristophe Leroy1-1/+2
2021-03-29powerpc/32: Tag DAR in EXCEPTION_PROLOG_2 for the 8xxChristophe Leroy1-12/+6
2021-03-29powerpc/32: Always enable data translation in exception prologChristophe Leroy1-17/+2
2021-02-09powerpc/8xx: Fix software emulation interruptChristophe Leroy1-1/+1
2021-02-09powerpc: do_break get registers from regsNicholas Piggin1-3/+2
2021-02-09powerpc: remove arguments from fault handler functionsNicholas Piggin1-3/+3
2020-12-09powerpc/8xx: Use SPRN_SPRG_SCRATCH2 in DTLB miss exceptionChristophe Leroy1-5/+4
2020-12-09powerpc/8xx: Use SPRN_SPRG_SCRATCH2 in ITLB miss exceptionChristophe Leroy1-6/+6
2020-12-09powerpc/8xx: Simplify INVALIDATE_ADJACENT_PAGES_CPU15Christophe Leroy1-8/+7
2020-12-09powerpc/8xx: Always pin kernel text TLBChristophe Leroy1-19/+3
2020-12-09powerpc/8xx: DEBUG_PAGEALLOC doesn't require an ITLB miss exception handlerChristophe Leroy1-2/+1
2020-11-05powerpc/8xx: Manage _PAGE_ACCESSED through APG bits in L1 entryChristophe Leroy1-29/+7
2020-11-05powerpc/8xx: Always fault when _PAGE_ACCESSED is not setChristophe Leroy1-12/+2
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
2020-05-26powerpc/8xx: Map linear memory with huge pagesChristophe Leroy1-2/+2
2020-05-26powerpc/8xx: Refactor kernel address boundary comparisonChristophe Leroy1-14/+8
2020-05-26powerpc/8xx: Move DTLB perf handling closer.Christophe Leroy1-12/+11
2020-05-26powerpc/8xx: Remove now unused TLB miss functionsChristophe Leroy1-83/+0
2020-05-26powerpc/8xx: Drop special handling of Linear and IMMR mappings in I/D TLB han...Christophe Leroy1-27/+2
2020-05-26powerpc/8xx: Always pin TLBs at startup.Christophe Leroy1-14/+17
2020-05-26powerpc/8xx: Don't set IMMR map anymore at bootChristophe Leroy1-22/+17
2020-05-26powerpc/8xx: Add function to set pinned TLBsChristophe Leroy1-0/+103
2020-05-26powerpc/8xx: Manage 512k huge pages as standard pages.Christophe Leroy1-7/+5
2020-05-26powerpc/8xx: Prepare handlers for _PAGE_HUGE for 512k pages.Christophe Leroy1-6/+9
2020-05-26powerpc/8xx: Drop CONFIG_8xx_COPYBACK optionChristophe Leroy1-14/+1
2020-02-17powerpc/8xx: Fix clearing of bits 20-23 in ITLB missChristophe Leroy1-1/+1
2020-01-27powerpc/8xx: Enable CONFIG_VMAP_STACKChristophe Leroy1-6/+26
2020-01-27powerpc/8xx: Move tail of alignment exception out of lineMichael Ellerman1-1/+6
2020-01-27powerpc/8xx: Split breakpoint exceptionChristophe Leroy1-9/+10
2020-01-27powerpc/8xx: Move DataStoreTLBMiss perf handlerChristophe Leroy1-12/+12
2020-01-27powerpc/8xx: Drop exception entries for non-existing exceptionsChristophe Leroy1-29/+0
2020-01-27powerpc/8xx: Use alternative scratch registers in DTLB miss handlerChristophe Leroy1-13/+14
2020-01-26powerpc/32: add a macro to get and/or save DAR and DSISR on stack.Christophe Leroy1-16/+7
2020-01-26powerpc/32: move MSR_PR test into EXCEPTION_PROLOG_0Christophe Leroy1-19/+20
2020-01-26powerpc/32: save DEAR/DAR before calling handle_page_faultChristophe Leroy1-0/+2
2020-01-26powerpc/32: Add EXCEPTION_PROLOG_0 in head_32.hChristophe Leroy1-7/+2
2019-08-28powerpc/8xx: set STACK_END_MAGIC earlier on the init_stackChristophe Leroy1-0/+4
2019-08-28powerpc/8xx: drop unused self-modifying code alternative to FixupDAR.Christophe Leroy1-24/+0
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-6/+1
2019-05-03powerpc/32: implement fast entry for syscalls on non BOOKEChristophe Leroy1-2/+1
2019-05-03powerpc/32: Enter exceptions with MSR_EE unsetChristophe Leroy1-16/+16
2019-05-03powerpc/32: enter syscall with MSR_EE inconditionaly setChristophe Leroy1-1/+1
2019-05-03powerpc/32: Refactor EXCEPTION entry macros for head_8xx.S and head_32.SChristophe Leroy1-96/+2
2019-05-03powerpc/32: Add KASAN supportChristophe Leroy1-0/+3
2019-02-23powerpc: Rename THREAD_INFO to TASK_STACKChristophe Leroy1-1/+1
2019-02-23powerpc/kconfig: make _etext and data areas alignment configurable on 8xxChristophe Leroy1-2/+2
2019-02-23powerpc/8xx: don't disable large TLBs with CONFIG_STRICT_KERNEL_RWXChristophe Leroy1-12/+42
2019-02-23powerpc/8xx: Map 32Mb of RAM at init.Christophe Leroy1-20/+31
2019-02-22powerpc: simplify BDI switchChristophe Leroy1-0/+1
2019-02-22powerpc/8xx: hide itlbie and dtlbie symbolsChristophe Leroy1-8/+8
2019-01-11powerpc/8xx: fix setting of pagetable for Abatron BDI debug tool.Christophe Leroy1-1/+2
2018-12-19powerpc/8xx: add exception frame markerChristophe Leroy1-0/+3
2018-12-04powerpc/8xx: regroup TLB handler routinesChristophe Leroy1-58/+54
2018-12-04powerpc/8xx: don't use r12/SPRN_SPRG_SCRATCH2 in TLB Miss handlersChristophe Leroy1-61/+49
2018-12-04powerpc/8xx: Use hardware assistance in TLB handlersChristophe Leroy1-34/+24
2018-12-04powerpc/8xx: Temporarily disable 16k pages and hugepagesChristophe Leroy1-69/+5
2018-12-04powerpc/8xx: Move SW perf counters in first 32kb of memoryChristophe Leroy1-30/+28
2018-10-26powerpc/8xx: Use patch_site for perf counters setupChristophe Leroy1-14/+19
2018-10-26powerpc/8xx: Use patch_site for memory setup patchingChristophe Leroy1-8/+11
2018-10-26Revert "powerpc/8xx: Use L1 entry APG to handle _PAGE_ACCESSED for CONFIG_SWAP"Christophe Leroy1-18/+27
2018-10-14powerpc/8xx: change name of a few page flags to avoid confusionChristophe Leroy1-3/+3
2018-07-30powerpc: remove superflous inclusions of asm/fixmap.hChristophe Leroy1-1/+0
2018-07-19powerpc/8xx: fix handling of early NULL pointer dereferenceChristophe Leroy1-3/+4
2018-05-25powerpc/8xx: fix invalid register expression in head_8xx.SChristophe Leroy1-1/+1
2018-01-16powerpc/8xx: Use L1 entry APG to handle _PAGE_ACCESSED for CONFIG_SWAPChristophe Leroy1-27/+18
2018-01-16powerpc/8xx: Remove _PAGE_USER and handle user access at PMD levelChristophe Leroy1-36/+10
2018-01-16powerpc/mm: extend _PAGE_PRIVILEGED to all CPUsChristophe Leroy1-3/+3
2018-01-16powerpc/8xx: remove unused _PAGE_WRITETHRUChristophe Leroy1-5/+0
2018-01-16powerpc/8xx: Only perform perf counting when perf is in use.Christophe Leroy1-15/+32
2018-01-16powerpc/8xx: remove EXCEPTION_PROLOG/EPILOG_0 and change r3 to r12Christophe Leroy1-38/+40
2018-01-16powerpc/8xx: Remove CPU6 ERRATA WorkaroundChristophe Leroy1-42/+12
2017-08-15powerpc/8xx: Reduce DTLB miss handler by one insnChristophe Leroy1-7/+7
2017-08-15powerpc/8xx: Make pinning of ITLBs optionalChristophe Leroy1-12/+45
2017-08-15powerpc/8xx: Remove macro that checks kernel addressChristophe Leroy1-13/+16
2017-08-10powerpc/8xx: Remove cpu dependent macro instructions from head_8xxChristophe Leroy1-4/+1
2017-08-10powerpc/8xx: Use symbolic names for DSISR bits in DSIChristophe Leroy1-1/+1
2017-08-10powerpc/8xx: Remove SoftwareEmulation()Christophe Leroy1-1/+1
2017-08-03powerpc/mm: Use symbolic constants for filtering SRR1 bits on ISIsBenjamin Herrenschmidt1-2/+2
2017-08-02powerpc/mm: Pre-filter SRR1 bits before do_page_fault()Benjamin Herrenschmidt1-2/+2
2017-01-26powerpc/8xx: Perf events on PPC 8xxChristophe Leroy1-1/+45
2017-01-25powerpc/8xx: Implement hw_breakpointChristophe Leroy1-1/+27
2016-12-09powerpc/8xx: Implement support of hugepagesChristophe Leroy1-6/+113
2016-10-14Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek...Linus Torvalds1-0/+2
2016-09-25powerpc/8xx: make user addr DTLB miss the short pathChristophe Leroy1-30/+23
2016-09-25powerpc/8xx: Move additional DTLBMiss handlers out of exception areaChristophe Leroy1-42/+42
2016-09-25powerpc/8xx: use r3 to scratch CR in ITLBmissChristophe Leroy1-12/+9
2016-09-25powerpc/8xx: add system_reset_exceptionChristophe Leroy1-1/+1
2016-09-23powerpc/32: Remove CLR_TOP32Christophe Leroy1-1/+0
2016-08-07ppc: move exports to definitionsAl Viro1-0/+2
2016-07-09powerpc/8xx: add CONFIG_PIN_TLB_IMMRChristophe Leroy1-4/+6
2016-07-09powerpc/8xx: Rework CONFIG_PIN_TLB handlingChristophe Leroy1-40/+4
2016-07-09powerpc/8xx: Don't use page table for linear memory spaceChristophe Leroy1-34/+37
2016-07-09powerpc/8xx: unpin all TLBs before flushingChristophe Leroy1-8/+10
2016-07-09powerpc/8xx: Map IMMR area with 512k page at a fixed addressChristophe Leroy1-0/+29
2016-07-09powerpc/8xx: Fix vaddr for IMMR early remapChristophe Leroy1-5/+6
2016-03-11powerpc/8xx: rewrite set_context() in CChristophe Leroy1-44/+0
2016-03-11powerpc/8xx: remove special handling of CPU6 errata in set_dec()Christophe Leroy1-18/+0
2016-03-11powerpc/8xx: Map linear kernel RAM with 8M pagesChristophe Leroy1-2/+33
2016-03-11powerpc/8xx: Save r3 all the time in DTLB miss handlerChristophe Leroy1-9/+4
2016-03-09powerpc/8xx: CONFIG_DEBUG_PAGEALLOC requires ITLBmiss for kernel addressesChristophe Leroy1-1/+1
2015-06-02powerpc/8xx: Implementation of PAGE_EXECLEROY Christophe1-3/+9
2015-06-02powerpc/8xx: Handle PAGE_USER via APG bitsLEROY Christophe1-9/+12
2015-06-02powerpc/8xx: Add support for TASK_SIZE greater than 0x80000000LEROY Christophe1-6/+19
2015-06-02powerpc/8xx: Use SPRG2 instead of DAR for saving r3LEROY Christophe1-5/+4
2015-06-02powerpc/8xx: dont save CR in SCRATCH registersLEROY Christophe1-14/+15
2015-06-02powerpc/8xx: Handle CR out of exception PROLOG/EPILOGLEROY Christophe1-3/+7
2015-06-02powerpc/8xx: macro for handling CPU15 errataLEROY Christophe1-6/+12
2015-01-29powerpc/8xx: Remove duplicated code in set_context()LEROY Christophe1-6/+4
2015-01-29powerpc/8xx: Optimise access to swapper_pg_dirLEROY Christophe1-16/+19
2015-01-29powerpc/8xx: Take benefit of aligned PGDIRLEROY Christophe1-19/+15
2015-01-29powerpc/8xx: remove tests on PGDIR entry validityLEROY Christophe1-33/+8
2015-01-29powerpc/8xx: remove remaining unnecessary code in FixupDARLEROY Christophe1-6/+0
2015-01-29powerpc/8xx: use _PAGE_RO instead of _PAGE_RWLEROY Christophe1-3/+0
2014-11-07powerpc/8xx: Invalidate non present TLB as early as possibleLEROY Christophe1-5/+10
2014-11-07powerpc/8xx: Use DAR to save r3 for CPU6 ERRATALEROY Christophe1-18/+15
2014-11-07powerpc/8xx: Don't restore regs to save them again.LEROY Christophe1-3/+5
2014-11-07powerpc/8xx: _PMD_PRESENT already set in level 1 entriesLEROY Christophe1-2/+0
2014-11-07powerpc/8xx: set PTE bit 22 off TLBmissLEROY Christophe1-8/+2
2014-11-07powerpc/8xx: Better readibility of ERRATA CPU6 handlingLEROY Christophe1-13/+16
2014-11-07powerpc/8xx: Implement 16k pagesLEROY Christophe1-0/+4
2014-11-07powerpc/8xx: Const for TLB RPN forced valueLEROY Christophe1-6/+13
2014-11-07powerpc/8xx: Use PAGE size related constsLEROY Christophe1-12/+18
2014-11-07powerpc/8xx: Don't use MD_TWC for walkLEROY Christophe1-16/+12
2014-11-07powerpc/8xx: Use M_TW instead of M_TWBLEROY Christophe1-22/+26
2014-11-07powerpc/8xx: No need to restore registers and save them again.LEROY Christophe1-2/+2
2014-11-07powerpc/8xx: DataAccess exception not generated by MPC8xxLEROY Christophe1-11/+10
2014-11-07powerpc/8xx: exception InstructionAccess does not exist on MPC8xxLEROY Christophe1-8/+7
2014-09-04powerpc/8xx: Duplicate two insns instead of branchingLEROY Christophe1-2/+4
2014-09-04powerpc/8xx: Optimize verification in FixupDARLEROY Christophe1-4/+2
2014-09-04powerpc/8xx: No need to save r10 and r3 when not calling FixupDARLEROY Christophe1-14/+13
2014-09-04powerpc/8xx: Fix comment about DIRTY updateLEROY Christophe1-6/+2
2014-09-04powerpc/8xx: Remove loading of r10 at end of FixupDARLEROY Christophe1-4/+3
2014-09-04powerpc/8xx: Use SCRATCH0 and SCRATCH1 also for TLB handlersLEROY Christophe1-68/+36
2014-09-04powerpc/8xx: Declare SPRG2 as a SCRATCH registerLEROY Christophe1-5/+5
2013-10-28powerpc/8xx: Fixing issue with CONFIG_PIN_TLBLEROY Christophe1-0/+3
2013-08-14powerpc: Remove the empty giveup_fpu() function on 32bit kernelKevin Hao1-4/+0
2012-03-09powerpc: Call do_page_fault() with interrupts offBenjamin Herrenschmidt1-2/+2
2011-09-20powerpc/32: Pass device tree address as u64 to machine_initScott Wood1-10/+3
2010-11-29powerpc: Remove second definition of STACK_FRAME_OVERHEADStephen Rothwell1-0/+1
2010-04-07powerpc/8xx: Use SPRG2 and DAR registers to stash r11 and cr.Joakim Tjernlund1-13/+36
2010-04-07powerpc/8xx: Don't touch ACCESSED when no SWAP.Joakim Tjernlund1-2/+4
2010-04-07powerpc/8xx: Avoid testing for kernel space in ITLB Miss.Joakim Tjernlund1-0/+4
2010-04-07powerpc/8xx: Optimze TLB Miss handlersJoakim Tjernlund1-8/+3
2010-01-15powerpc/8xx: Fix user space TLB walk in dcbX fixupJoakim Tjernlund1-2/+2
2010-01-15powerpc/8xx: Always pin kernel instruction TLBJoakim Tjernlund1-4/+4
2009-12-09powerpc/8xx: DTLB Miss cleanupJoakim Tjernlund1-6/+11
2009-12-09powerpc/8xx: Remove DIRTY pte handling in DTLB Error.Joakim Tjernlund1-96/+0
2009-12-09powerpc/8xx: Restore _PAGE_WRITETHRUJoakim Tjernlund1-0/+8
2009-12-09powerpc/8xx: Add missing Guarded setting in DTLB Error.Joakim Tjernlund1-3/+10
2009-12-09powerpc/8xx: Fixup DAR from buggy dcbX instructions.Joakim Tjernlund1-4/+143
2009-12-09powerpc/8xx: Tag DAR with 0x00f0 to catch buggy instructions.Joakim Tjernlund1-1/+14
2009-12-09powerpc/8xx: Update TLB asm so it behaves as linux mm expects.Joakim Tjernlund1-48/+51
2009-08-20powerpc: Use names rather than numbers for SPRGs (v2)Benjamin Herrenschmidt1-6/+7
2009-04-26powerpc: convert to use __HEAD and HEAD_TEXT macros.Tim Abbott1-1/+2
2008-03-07[POWERPC] 8xx: fix swapVitaly Bordug1-1/+29
2007-10-03[POWERPC] 8xx: Work around CPU15 erratum.Scott Wood1-0/+6
2007-10-03[POWERPC] 8xx: Fix CONFIG_PIN_TLB.Scott Wood1-2/+2
2007-09-19[POWERPC] Remove cmd_line from head*.SStephen Rothwell1-8/+0
2007-09-14[POWERPC] Fix modpost warnings from head*.S on ppc32Kumar Gala1-6/+3
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel1-1/+0
2006-02-10[PATCH] powerpc: trivial: modify comments to refer to new location of filesJon Mason1-2/+0
2005-10-28powerpc: Rename asm offset TRAP to _TRAP for 32-bitPaul Mackerras1-1/+1
2005-10-01powerpc: merge idle_power4.S and trapc.sStephen Rothwell1-21/+21
2005-09-26powerpc: Merge enough to start building in arch/powerpc.Paul Mackerras1-0/+860