decode-insn.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) | decode-insn.c (07dcd9677c5d0f4735041885d3c3c348cc11b75c) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * arch/arm64/kernel/probes/decode-insn.c 4 * 5 * Copyright (C) 2013 Linaro Limited. 6 */ 7 8#include <linux/kernel.h> --- 32 unchanged lines hidden (view full) --- 41 return aarch64_insn_extract_system_reg(insn) 42 != AARCH64_INSN_SPCLREG_DAIF; 43 44 /* 45 * The HINT instruction is is problematic when single-stepping, 46 * except for the NOP case. 47 */ 48 if (aarch64_insn_is_hint(insn)) | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * arch/arm64/kernel/probes/decode-insn.c 4 * 5 * Copyright (C) 2013 Linaro Limited. 6 */ 7 8#include <linux/kernel.h> --- 32 unchanged lines hidden (view full) --- 41 return aarch64_insn_extract_system_reg(insn) 42 != AARCH64_INSN_SPCLREG_DAIF; 43 44 /* 45 * The HINT instruction is is problematic when single-stepping, 46 * except for the NOP case. 47 */ 48 if (aarch64_insn_is_hint(insn)) |
49 return aarch64_insn_is_nop(insn); | 49 return aarch64_insn_is_steppable_hint(insn); |
50 51 return true; 52 } 53 54 /* 55 * Instructions which load PC relative literals are not going to work 56 * when executed from an XOL slot. Instructions doing an exclusive 57 * load/store are not going to complete successfully when single-step --- 108 unchanged lines hidden --- | 50 51 return true; 52 } 53 54 /* 55 * Instructions which load PC relative literals are not going to work 56 * when executed from an XOL slot. Instructions doing an exclusive 57 * load/store are not going to complete successfully when single-step --- 108 unchanged lines hidden --- |