Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3415494rdg; Tue, 17 Oct 2023 14:11:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGl6yKalzqOs14iUQdnpXV77NNDrZc2aVoSZ+cSi4QzEOBA+jgahEOCck9tq+pV8BV0+zCE X-Received: by 2002:a05:6e02:1521:b0:357:6184:ba82 with SMTP id i1-20020a056e02152100b003576184ba82mr4665570ilu.9.1697577075068; Tue, 17 Oct 2023 14:11:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697577075; cv=none; d=google.com; s=arc-20160816; b=BRn6UqYVPyDSxB9Xhtip+jFmXSyCQ6cC6sJJ76r+wf5HIKNIj2plbM7czx8zRbSyx9 PY7HE+wLdfY16AbTqcknyJOVyIYx8gWZ3HHSN3Do3EAimHfROZXMvCHL8K6Rq7FTq492 iMqYcY0GdJnWf7TWGl6XJt8pD5wngaA9qQ1HhIraPNn5BT6ufNLzc7XYidgIo/vRw6Qv ppw+1/gUIDP60iqGaH5R8RyxmLWTLSotxLMqKKnAQ3fWb8dQaxHk+UYdKAIElSP3nCeH s3VzuPzlUzDUWV/bdZitoMXJcZMRLv2sJgFSHIILcSbBzNRDvbTQ5rTT9/xr+KL95ugb nCjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=N1DjHreh3ynrrfDphSYg/yMleGlXGDFE7si/WhmBSes=; fh=s11iXK1fnBsg0iY8StWpydc5bBS3aNaQeH8URyTHxkQ=; b=ICdOMinBCYrcWiDugWg8QGhtDxSQs8GrmHgJXtYhR4GmipCQwfpvJxTmysNCr7TB1J b4WuspIve4odcRyrkgWEDTrKdkz+8EfxrGX/HR1RbfaRwUtJWZs/AlBVhaoxLPxPCIpx JHAIFMujEBATM+Iy2UUFAMYa/9BpxpSEyJ5UZQyo0g09WtLQUD90ADWfUEbE/+FSUQ4E DiKPLqfZBC8j8IlmNgjwUyFF7fDXi1PhSUIutgmzpd2dFNWe89PTCqQmaFf8+uz4j1Q8 2OV8+8NZkBKRIoadf3QXjxpDF+IJmUpXbGoBkH/rkeNjeVFka/QdJcjbbp1PQQ7gKrQ1 tm0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=D7ivu6dq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id q21-20020a638c55000000b005acf4298a78si617959pgn.149.2023.10.17.14.11.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 14:11:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=D7ivu6dq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id CE5328069F05; Tue, 17 Oct 2023 14:10:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229883AbjJQVKw (ORCPT + 99 others); Tue, 17 Oct 2023 17:10:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230056AbjJQVKv (ORCPT ); Tue, 17 Oct 2023 17:10:51 -0400 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6EE59F for ; Tue, 17 Oct 2023 14:10:49 -0700 (PDT) Received: by mail-io1-xd30.google.com with SMTP id ca18e2360f4ac-7a29359c80bso46615539f.0 for ; Tue, 17 Oct 2023 14:10:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1697577049; x=1698181849; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=N1DjHreh3ynrrfDphSYg/yMleGlXGDFE7si/WhmBSes=; b=D7ivu6dqMLmslBIBlJvku2OFyuD5tA2NqYVGPn/68RpXC5JH6mGNEq8UPr91wA6sfN rMNFMmnMMOv0dsMCiAgzQzQ8kd03AVHsUNFgnC1hLwlhOkc6STbEm6GHq/xL97jaFP/z C6gUtwlNAjGx19u1vNdTrHKdfypF+MKaY+7fk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697577049; x=1698181849; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=N1DjHreh3ynrrfDphSYg/yMleGlXGDFE7si/WhmBSes=; b=J5vCRZPNuFaP3FQVqD1k+h0TlBeRV0LMPc2/r+PMXfRuvme9RgGDdopD6gT/KlRt6C xh8W8psZhsuNZkxuRHljIXgJDNaF9kabjE5iqUCcW7QBarnbaHbtDqobOiLcgPBIdjCm txfRFk/5I/M9TBYYb6ef+0lIOgfRRJiYXBz7SB1YXp+Vbc0BuxG0u0boIJZqFLaS97vm O8Z/qwXDhn4fvc34Wg2dANP6gK7tqdt6SvIVrhBy05+AxvVbmO+eS9pswpph/9Xb7nDl PABmG9YEDc4iuLkqP5u3t40Lrc9KJFSJh1IFzomqCcapmWzKX7X91hVMyPP1EXrq4uBh 7hAA== X-Gm-Message-State: AOJu0Yw8xV7Ta+LD+xb5qR6q1iXvDxMkWWDfMfm8oJyyxNXOSJJ2e12P Vd61MBw+MmLcIYhiKO0uE3yWbg== X-Received: by 2002:a05:6602:340a:b0:7a5:cd6b:7581 with SMTP id n10-20020a056602340a00b007a5cd6b7581mr4398745ioz.2.1697577049051; Tue, 17 Oct 2023 14:10:49 -0700 (PDT) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id y15-20020a056602214f00b007836c7e8dccsm631822ioy.17.2023.10.17.14.10.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Oct 2023 14:10:48 -0700 (PDT) Message-ID: <38a36f4c-c62a-44f0-a818-3ea7dc49654b@linuxfoundation.org> Date: Tue, 17 Oct 2023 15:10:48 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3] selftests/user_events: Fix abi_test for BE archs Content-Language: en-US To: Steven Rostedt , Beau Belgrave Cc: shuah@kernel.org, mhiramat@kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Shuah Khan References: <20231005215712.17942-1-beaub@linux.microsoft.com> <20231017163844.55d828bf@gandalf.local.home> From: Shuah Khan In-Reply-To: <20231017163844.55d828bf@gandalf.local.home> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 17 Oct 2023 14:10:56 -0700 (PDT) On 10/17/23 14:38, Steven Rostedt wrote: > On Thu, 5 Oct 2023 21:57:12 +0000 > Beau Belgrave wrote: > >> The abi_test currently uses a long sized test value for enablement >> checks. On LE this works fine, however, on BE this results in inaccurate >> assert checks due to a bit being used and assuming it's value is the >> same on both LE and BE. >> >> Use int type for 32-bit values and long type for 64-bit values to ensure >> appropriate behavior on both LE and BE. >> >> Fixes: 60b1af8de8c1 ("tracing/user_events: Add ABI self-test") >> Signed-off-by: Beau Belgrave >> --- >> V3 Changes: >> Fix missing cast in clone_check(). >> >> V2 Changes: >> Rebase to linux-kselftest/fixes. > > Shuah, > > Can you take this patch? > > Acked-by: Steven Rostedt (Google) > Thank you both. Applied to linux-kselftest fixes for Linux 6.6-rc7 thanks, -- Shuah