Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4864257pxb; Sun, 7 Nov 2021 00:44:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQ+nSkVyiXlrp8xhj223Fz4NOH9DUNsQt0HdOKW61jq/qg999Yx+RE8BLRqx4XFOP+mq1m X-Received: by 2002:a05:6402:90c:: with SMTP id g12mr67086998edz.131.1636271076060; Sun, 07 Nov 2021 00:44:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636271076; cv=none; d=google.com; s=arc-20160816; b=bwnvKqbk+lmovwS6QZDZhwS770iDBFrcjg/QPwDjVhYY5dusuoI6VSzpcdbHMv42iL KRq06IJxcE0mIg4oJ4s+9+TIEkQJaNk752i8BkDRr9DqdMu6sTETBgG0ZEx8hjsZpGIx Y+I6Yz5WxtmxcCmnesX2Bb8HezOtTmiCxacRi1tH+zZDBqvcq5FWrD5RN3Ewj4VfNYaS U+l1jjlmJzFngVEjzi1oi355ELAmSvjDlX3XilRPEPzClqiY3pdOoeKtuXFpgabsQebI 5xWpRHFchx+QZzyiZFF/wXZPOteKcPEoYjbSUG9DFD9+czujt4zYIloGSMmtuRNxjGDK DAYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YNDzBsJaCsKwtupRWijM2Bw0UvGjdM2YLfvUE1G9Se4=; b=HNNl8Tc5g0KlMqUOb0ow7Z5Jd12BSWelkEzRS3YHkzZ9Y+t/UBh64Aqickpk4TOEUy c3y1dNBBCA45ez6+x+T+M1gWG0EY/plQqM1hlDxQL6sS0v0bFpAyuFLtki+BZamHFXvK /VpH6aJ52xvwOFhUYgbBbw24scILUeKnhlHY82MYPOqCgJxm8jpsQcxPnztU5IhEroH6 mxJ8gEYg6fd6Chv1+ndlrcs6C3+qsxjXQY3kJmvRzzsuZ3Xg7LzfxeMURgzL3tnwo3HB 3+GG3+Z3xdCMzulvWkmLwll729opiDEoglxAUT3GQroMjvHt6O2GLkMsiqfTtp3ddpDQ wlOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hyc0Ci3k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l16si20716868ejo.393.2021.11.07.00.44.11; Sun, 07 Nov 2021 00:44:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hyc0Ci3k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233360AbhKFTfa (ORCPT + 99 others); Sat, 6 Nov 2021 15:35:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:47206 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231531AbhKFTfa (ORCPT ); Sat, 6 Nov 2021 15:35:30 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 768EE610E9; Sat, 6 Nov 2021 19:32:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1636227168; bh=P93O+SA047jbmBF1axixZgk787DKzkhZJ/kogxjr1uo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hyc0Ci3kxfMs5/vB62dPSdLOl6o7ErX7aW+7qJRJhWaecFsQ+gJxSF2nz+O7aFT8s 0Q2a0TctuQSxkbABqOt7JcLuX5afJb24q4apzuDCB9zpdqxyVQ7A+86QLingr2ZoSt M/8zdYcLqD83OcUYotLS9vGp9j9UJJnsgQUtoefnGdbSxmU3y4dduHOIBxP0G4mfl7 stLmgDy+mXckNLe2ilBoY3PInLfG0+9HEfjbW9gw7O1Kr5I4NcZULcFFYTZos2YKU7 d348HNQ4d3y3CdlTADyEWWM6BlueWFCVbtBsvHIpfUkeFW9yQtTD5qUuhRGgrBPxmQ HZjEvw8nVeQag== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 04AF2410A1; Sat, 6 Nov 2021 16:32:45 -0300 (-03) Date: Sat, 6 Nov 2021 16:32:45 -0300 From: Arnaldo Carvalho de Melo To: Madhavan Srinivasan , Thomas Richter Cc: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, sumanthk@linux.ibm.com, jolsa@redhat.com, svens@linux.ibm.com, gor@linux.ibm.com, hca@linux.ibm.com Subject: Re: [PATCH] perf/test: Test case 27 broken on s390 in linux-next Message-ID: References: <20211103155215.2941895-1-tmricht@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211103155215.2941895-1-tmricht@linux.ibm.com> X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, Nov 03, 2021 at 04:52:15PM +0100, Thomas Richter escreveu: > Commit 10269a2ca2b08c ("perf test sample-parsing: Add endian test for struct branch_flags") > broke the test case 27 (Sample parsing) on s390 on linux-next tree: Maddy, Can you please ack this one? - Arnaldo > # ./perf test -Fv 27 > 27: Sample parsing > --- start --- > parsing failed for sample_type 0x800 > ---- end ---- > Sample parsing: FAILED! > # > > The cause of the failure is a wrong #define BS_EXPECTED_BE statement > in above commit. Correct this define and the test case runs fine. > > Output After: > # ./perf test -Fv 27 > 27: Sample parsing : > --- start --- > ---- end ---- > Sample parsing: Ok > # > > Fixes: 10269a2ca2b08c ("perf test sample-parsing: Add endian test for struct branch_flags") > Signed-off-by: Thomas Richter > --- > tools/perf/tests/sample-parsing.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/perf/tests/sample-parsing.c b/tools/perf/tests/sample-parsing.c > index c83a11514129..9c7af55b74db 100644 > --- a/tools/perf/tests/sample-parsing.c > +++ b/tools/perf/tests/sample-parsing.c > @@ -36,7 +36,7 @@ > * These are based on the input value (213) specified > * in branch_stack variable. > */ > -#define BS_EXPECTED_BE 0xa00d000000000000 > +#define BS_EXPECTED_BE 0xa000d00000000000 > #define BS_EXPECTED_LE 0xd5000000 > #define FLAG(s) s->branch_stack->entries[i].flags > > -- > 2.25.1 -- - Arnaldo