Re: [PATCH v2 2/3] arm/alternatives: Rename alt_instr fields which are used in common code

2023-04-18 Thread Stefano Stabellini
On Mon, 17 Apr 2023, Andrew Cooper wrote: > Alternatives auditing for livepatches is currently broken. To fix it, the > livepatch code needs to inspect more fields of alt_instr. > > Rename ARM's fields to match x86's, because: > > * ARM already exposes alt_offset under the repl name via

[PATCH v2 2/3] arm/alternatives: Rename alt_instr fields which are used in common code

2023-04-17 Thread Andrew Cooper
Alternatives auditing for livepatches is currently broken. To fix it, the livepatch code needs to inspect more fields of alt_instr. Rename ARM's fields to match x86's, because: * ARM already exposes alt_offset under the repl name via ALT_REPL_PTR() * "alt" is somewhat ambiguous in a structure