Re: [PATCH] perf kvm: Fix subcommands on s390

From: Arnaldo Carvalho de Melo
Date: Mon Jul 16 2018 - 16:43:08 EST


Em Thu, Jul 12, 2018 at 04:17:14PM +0200, Stefan Raspl escreveu:
> On 12.07.2018 09:09, Thomas Richter wrote:
> > With commit eca0fa28cd0d ("perf record: Provide detailed information on s390 CPU")
> > s390 platform provides detailed type/model/capacitiy information
> > in the CPU indentifier string instead of just "IBM/S390".

> > This breaks perf kvm support which uses hard coded string IBM/S390 to
> > compare with the CPU identifier string. Fix this by changing the comparison.

> > Fixes: eca0fa28cd0d ("perf record: Provide detailed information on s390 CPU")
> > Cc: Stefan Raspl <raspl@xxxxxxxxxxxxx>
> > Cc: <stable@xxxxxxxxxxxxxxx> # 4.17

> > Signed-off-by: Thomas Richter <tmricht@xxxxxxxxxxxxx>
> > Reviewed-by: Hendrik Brueckner <brueckner@xxxxxxxxxxxxx>

> Reported-and-tested-by: Stefan Raspl <raspl@xxxxxxxxxxxxx>

Thanks, applied together with Christian's Acked-by,

- Arnaldo