Re: [PATCH v1 1/3] powerpc/code-patching: Test patch_instructions() during boot

2024-03-17 Thread Michael Ellerman
Benjamin Gray writes: > On Mon, 2024-03-18 at 08:38 +1100, Benjamin Gray wrote: >> On Fri, 2024-03-15 at 07:14 +, Christophe Leroy wrote: >> > Le 15/03/2024 à 03:57, Benjamin Gray a écrit : >> > > diff --git a/arch/powerpc/lib/test-code-patching.c >> > > b/arch/powerpc/lib/test-code-patching.c

Re: [PATCH v1 1/3] powerpc/code-patching: Test patch_instructions() during boot

2024-03-17 Thread Benjamin Gray
mjW5LaBPOdGiiDE1w95Ri9HRK27S2dRZpyib9L4mkfYWPAF41mTudjKmVpgtBLO//rO+zmF04OMB/4sWJhLfvhq1CXULDqw5dcuIAIYwf2ughOtyAPFK1ViDcMO5X1bVpNAFO5m4VBpZvFDQ0j0JfqfVBdL68uH05W1/8dMj76RaWj5m0rLM5slY1FQUPddSU+ic9vaZhlDepjU3ZyI8fmioofNGHaxJq6uNTytKdj87kwDV6PQ4hmuGtY56C7JCgjp053sRJ6sXqgKBWfe4ZOJH17mQm+fws93byLoZv

Re: [PATCH v1 1/3] powerpc/code-patching: Test patch_instructions() during boot

2024-03-17 Thread Benjamin Gray
On Mon, 2024-03-18 at 08:38 +1100, Benjamin Gray wrote: > On Fri, 2024-03-15 at 07:14 +, Christophe Leroy wrote: > > > > > > Le 15/03/2024 à 03:57, Benjamin Gray a écrit : > > > patch_instructions() introduces new behaviour with a couple of > > > variations. Test each case of > > > > > >   

Re: [PATCH v1 1/3] powerpc/code-patching: Test patch_instructions() during boot

2024-03-17 Thread Benjamin Gray
On Fri, 2024-03-15 at 07:14 +, Christophe Leroy wrote: > > > Le 15/03/2024 à 03:57, Benjamin Gray a écrit : > > patch_instructions() introduces new behaviour with a couple of > > variations. Test each case of > > > >    * a repeated 32-bit instruction, > >    * a repeated 64-bit instruction

Re: [PATCH v1 1/3] powerpc/code-patching: Test patch_instructions() during boot

2024-03-15 Thread Christophe Leroy
Le 15/03/2024 à 03:57, Benjamin Gray a écrit : > patch_instructions() introduces new behaviour with a couple of > variations. Test each case of > >* a repeated 32-bit instruction, >* a repeated 64-bit instruction (ppc64), and >* a copied sequence of instructions > > for both on a si