From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A70ECDB483 for ; Tue, 17 Oct 2023 21:10:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232154AbjJQVKx (ORCPT ); Tue, 17 Oct 2023 17:10:53 -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-Google-Smtp-Source: AGHT+IHeEwrd7Db/Mr+M6q+By4nmWyhfP9IKXTZ1FdHxoTJc+F2J67jNmA49QPzNcVwmDXJUgNf9zA== 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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