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 EA3CCC636D7 for ; Wed, 15 Feb 2023 20:26:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229772AbjBOU0s (ORCPT ); Wed, 15 Feb 2023 15:26:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229607AbjBOU0q (ORCPT ); Wed, 15 Feb 2023 15:26:46 -0500 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED7FB5B98; Wed, 15 Feb 2023 12:26:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676492805; x=1708028805; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=WF3CaZbwQ4TXLGhrjWkUVfdj5s5xigdAxwgewUYHvoA=; b=OxTVqxbajfMW3zlneRNat+aLU7u8sfZH9RzkdV0Ajm3GcsQXF44VFZ55 7t97B3O1Kj5PBxCGiBkTRe2GcosOtc3yxEYG+CpCvIGuvXOVJT7fVnmB0 PsKTffTcOTkQdyAavXoNw5k6JnvSBEeo9V8fKhh6vq/xvuddZH2dr4pq8 vEsi72jkUaupf5uR3WXZSpPFVH9P9Xg+7V/6YKBYkPoaaSNE3Au4Vffk4 u1MCU4AVIlPNH4dh9DsPNA4GwIXxXUJ/N6I5hPq9DqsrQ+0alfzQCbOlf 0ce9uVdIKKD27gzbmbYl0T/1hekRDN3kSchMeKnBMLnYi+1Wmk01md5Dc w==; X-IronPort-AV: E=McAfee;i="6500,9779,10622"; a="396171997" X-IronPort-AV: E=Sophos;i="5.97,300,1669104000"; d="scan'208";a="396171997" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2023 12:26:45 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10622"; a="758614547" X-IronPort-AV: E=Sophos;i="5.97,300,1669104000"; d="scan'208";a="758614547" Received: from chakanog-mobl.amr.corp.intel.com (HELO [10.209.64.107]) ([10.209.64.107]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2023 12:26:44 -0800 Message-ID: Date: Wed, 15 Feb 2023 12:26:43 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v2 4/7] platform/x86/intel/ifs: Implement Array BIST test Content-Language: en-US To: "Joseph, Jithu" , hdegoede@redhat.com, markgross@kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, gregkh@linuxfoundation.org, rostedt@goodmis.org, ashok.raj@intel.com, tony.luck@intel.com, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, patches@lists.linux.dev, ravi.v.shankar@intel.com, thiago.macieira@intel.com, athenas.jimenez.gonzalez@intel.com, sohil.mehta@intel.com References: <20230131234302.3997223-1-jithu.joseph@intel.com> <20230214234426.344960-1-jithu.joseph@intel.com> <20230214234426.344960-5-jithu.joseph@intel.com> From: Dave Hansen In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/15/23 12:22, Joseph, Jithu wrote: > trace_ifs_array(cpu, *((u64 *)&before), *((u64 *)&command)); Uhh, you control the types in the tracepoint. Just make them compatible so you don't need casts.