On 03/09/2017 04:55 PM, Jason J. Herne wrote: > The new KMA instruction requires unique parameters. Update __cpacf_query to > generate a compatible assembler instruction. > > Signed-off-by: Jason J. Herne <jjherne@xxxxxxxxxxxxxxxxxx> > Acked-by: Harald Freudenberger <freude@xxxxxxxxxxxxxxxxxx> approved for devel. Martin, FYI. We probably need a topic branch for this as well as soon as we have clearance. > --- > arch/s390/include/asm/cpacf.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/s390/include/asm/cpacf.h b/arch/s390/include/asm/cpacf.h > index 2c680db..6dd0db7 100644 > --- a/arch/s390/include/asm/cpacf.h > +++ b/arch/s390/include/asm/cpacf.h > @@ -125,8 +125,8 @@ static inline void __cpacf_query(unsigned int opcode, cpacf_mask_t *mask) > > asm volatile( > " spm 0\n" /* pckmo doesn't change the cc */ > - /* Parameter registers are ignored, but may not be 0 */ > - "0: .insn rrf,%[opc] << 16,2,2,2,0\n" > + /* Parameter regs are ignored, but must be nonzero and unique */ > + "0: .insn rrf,%[opc] << 16,2,4,6,0\n" > " brc 1,0b\n" /* handle partial completion */ > : "=m" (*mask) > : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (opcode) > -- To unsubscribe from this list: send the line "unsubscribe linux-s390" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html