Lines Matching +full:alternative +full:- +full:a
1 // SPDX-License-Identifier: GPL-2.0
3 * Alternative live-patching for parisc.
10 #include <asm/alternative.h>
21 __setup("no-alternatives", setup_no_alternatives);
38 * If the PDC_MODEL capabilities has Non-coherent IO-PDIR bit in apply_alternatives()
40 * time IO-PDIR is changed in Ike/Astro. in apply_alternatives()
52 from = (u32 *)((ulong)&entry->orig_offset + entry->orig_offset); in apply_alternatives()
53 len = entry->len; in apply_alternatives()
54 cond = entry->cond; in apply_alternatives()
55 replacement = entry->replacement; in apply_alternatives()
69 /* Want to replace pdtlb by a pdtlb,l instruction? */ in apply_alternatives()
78 * For long distance insert a branch instruction instead. in apply_alternatives()
81 replacement = 0xe8000002 + (len-2)*8; /* "b,n .+8" */ in apply_alternatives()
83 pr_debug("ALTERNATIVE %3d: Cond %2x, Replace %2d instructions to 0x%08x @ 0x%px (%pS)\n", in apply_alternatives()
89 len = -len; in apply_alternatives()
90 source = (u32 *)((ulong)&entry->replacement + entry->replacement); in apply_alternatives()
113 pr_info("alternatives: optimizing cache-flushes.\n"); in apply_alternatives_all()