Re: [PATCH v3 1/9] powerpc/lib/code-patching: Enhance code patching

2017-06-25 Thread Michael Ellerman
Balbir Singh writes: > Today our patching happens via direct copy and > patch_instruction. The patching code is well > contained in the sense that copying bits are limited. > > While considering implementation of CONFIG_STRICT_RWX, > the first requirement is to a create another mapping > that wil

[PATCH v3 1/9] powerpc/lib/code-patching: Enhance code patching

2017-06-05 Thread Balbir Singh
Today our patching happens via direct copy and patch_instruction. The patching code is well contained in the sense that copying bits are limited. While considering implementation of CONFIG_STRICT_RWX, the first requirement is to a create another mapping that will allow for patching. We create the