Message ID | 20200504131326.18290-1-broonie@kernel.org (mailing list archive) |
---|---|
Headers | show |
Series | arm64: Make NOP handling a whitelist | expand |
On Mon, 4 May 2020 14:13:22 +0100, Mark Brown wrote: > Currently we default to assuming any unrecognized instruction in the > hint space can be safely handled as a NOP. This is not robust and any > code that really wants a NOP should be using the explicitly defined NOP > so let's instead invert this and whitelist those instructions which it > is safe to handle as NOPs. > > Patch 1 adds defines for the HINTs for BTI landing pads which will be > used by the in-kernel BTI series to generate landing pads in JITed BPF > code so it'd be good if this could be applied on or merged into the BTI > branch. > > [...] Applied to arm64 (for-next/insn), thanks! [1/4] arm64: insn: Add constants for new HINT instruction decode https://git.kernel.org/arm64/c/bd507ca2773b [2/4] arm64: insn: Provide a better name for aarch64_insn_is_nop() https://git.kernel.org/arm64/c/07dcd9677c5d [3/4] arm64: insn: Don't assume unrecognized HINTs are skippable https://git.kernel.org/arm64/c/c71052cc9e14 [4/4] arm64: insn: Report PAC and BTI instructions as skippable https://git.kernel.org/arm64/c/47d67e4d1918 Cheers,