Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1390190rbb; Mon, 26 Feb 2024 07:52:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWPGK7zdpcjsdyqJWJb1on9XAOf6U8Q0mDe5k4JA8XhWsHSamHXf620lcrY4kFs6vRyD2rt9EK5q4LDGV+oUNCHe8oFR8cZVZ5WXsyZKQ== X-Google-Smtp-Source: AGHT+IGhbHcCU8I0qSypS8KEqDHkNtC1wx1I0qpwBcBT0iPJvsfQ36wzl1MDKvyZDZvfJ9xZ7OjU X-Received: by 2002:a92:c80e:0:b0:365:149:d09e with SMTP id v14-20020a92c80e000000b003650149d09emr8778639iln.10.1708962745140; Mon, 26 Feb 2024 07:52:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708962745; cv=pass; d=google.com; s=arc-20160816; b=qVccbHHOiCTlh7dPUnoVUmY8Hl9U74vb7GLZiaAIEjyy7o42wQc0MZejjl+w8JBIzi oCttYkHlHmAkQmqKvej8S1MqXMQ/plFhm5OyoO2X6egam2C2FjnvGlu1oNteGeSDxdoQ tS6o+cR1cUaEpfMEJtQ74StFHpfLmZ/C8uk4CawtymC2PqUDlEyngNxSxxLjQFI0yVv3 3/84d5fizWrG7kVXvVGVuqgbyxbfww1wss3qbE1YpCZiaiyrxhD19femdUsArJjSQHjP C2o6he6Awcmd5qSunGjH5+eXH1vv39TgugDUMjAX2traLeRJqR7CugaD6/nkK2vwptSc TvIA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=EhYMCOuaBDTEq4hFntP2XN/jZc/12pZFEht7y217G0c=; fh=LPP5oIW3HZX891tkkFmZ8QcSclJaqQUwlKwudDOVgC0=; b=QQE7COPteSmD0g9QV1NYU9u0yXwoO6BWpI/7i3e389TKKjSW0GHc24BvjsmLwkoXNq Ofmx2RChhKhMqwr16CWnAC8I56+wsNhoxYvsr2qApNN2oipEyMsQwrVjkefdmsSkJxIg Bh7qxYXxfm+h1SNHvwO+mPnZMkICBll0Snl+kEEDeGgJ4pHE/DoMAMoNsUC//Ivi/rR6 pYO/p3tfNHCDV2VToDxIvSQtWshbD1pDRYeGqz08Y8tVKR7j3ZXxIX5gzN+hZCP5MgRQ +xzl0POETxRPkdIIdoiNAflRdhuFDQ8wtbNoIXJ9sSSfv7aGke4zN3+QCQlmRr5FXfF6 6Onw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="egPD9z/b"; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-81841-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81841-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c2-20020a639602000000b005be03f0da68si3976446pge.13.2024.02.26.07.52.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 07:52:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81841-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="egPD9z/b"; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-81841-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81841-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0DB9C29520B for ; Mon, 26 Feb 2024 15:50:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B14412C532; Mon, 26 Feb 2024 15:49:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="egPD9z/b" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA3F812BEBD for ; Mon, 26 Feb 2024 15:49:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708962581; cv=none; b=JJkeAgAnO4hq2eeuj9ozAi7GVeDLJMmlqYfF//JtTOf5GfkIVC6muOIh8lB1bGMyIYW8lZBBrtnwJehTxw7SE1uyRmS1diIzRvycVuQD6rvyyR9LQ1O+P2plIyvP4Fj8SUdoYohup1e3K7WRARqTq0rsQ8IrQJyFhMb3+RwjKNg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708962581; c=relaxed/simple; bh=Oh5CsBBlobRYygAYm4MkY9Kh99N79OCnEqvDML9+AVs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ahxtP0SbkszHR3jRkTI2xeoqFOPqx6oNJEDlv5ytqR95vT8Wf4yIHp9yeDRO/3LJoGEYYEt2IbOQd79Iu9iOUnqmKv9O8m6VPX+t/wEWOfyeBrC3NjVPH9h4Zuj8TudSjcgpGnCTzx1E90hqRZY3m9riwOGFul6mJsCqRNnlpU0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=egPD9z/b; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708962578; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EhYMCOuaBDTEq4hFntP2XN/jZc/12pZFEht7y217G0c=; b=egPD9z/bGL1tp4fVSa+vreLqOl7Q6CE7p1Rifc1xn7pey1+GWBYu5ZWLt6GGRTepT319PS SVzCwfUWHyz5GswZUTrlLckpLyi7VDF31Gt2W+dnFKcHHIVAP04v3jGWHA+utLn/uQ2F+j wzJDg9H/p3TDeLHOgt7ahGFhd5YWgIo= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-386-dlolbgQjOQK-DocPXG8W5g-1; Mon, 26 Feb 2024 10:49:37 -0500 X-MC-Unique: dlolbgQjOQK-DocPXG8W5g-1 Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-68f74a0a3c7so49398936d6.2 for ; Mon, 26 Feb 2024 07:49:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708962576; x=1709567376; 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=EhYMCOuaBDTEq4hFntP2XN/jZc/12pZFEht7y217G0c=; b=FV+cVyzUCG5KNFWEv4MmlL1+Z+3EoyUKJoACVwfWiUjE2AUdZfmKUcplfcMiVwfo6x WuQRIC8u6H0WTgGn0IBj9xOaMeoeD+DA0RDRx4M0etTbu+E1WAtOCjTnS+YuryImo6FE QuBwhAaByfHtIbo9SQgRljR6m02MhJ8XWwvPptnQa8JoP1pR9hTqbH4Btbx3vntUvWUS l11/MimObk1vbf2XhpRj43RN4nDsaBX38fYz3MvWBWOqtWnM1JuMdNoWNempZMxbLfqm IxdTfRv24Urf2Ph0DfYwLxopvlZT1mPcuYs8AlBPq21szy/dZPp+a7hRUcoh38EQuUxe cKKQ== X-Forwarded-Encrypted: i=1; AJvYcCW59SMhPlvtkFJCDKuJY4j1CqxH+h+v9AG7vVgi0nU6Sei6juF288X0RZF6gRocUi9wOjq/hVjNgRYsCVAKbCmP7+gz4KAWlIXQlweB X-Gm-Message-State: AOJu0YyJjHUhyt2FURzKM/0JW1q9TWK7BFgwiXkSfOde7Rccniw5oY/I 6DQjAqV8nAOXwX6ZqjOf+E3JRI9yx5AFq2ac0hk1yVs8Lj1ZpEHd/XmBL/7NJ0E4e5sKHLlhILY TkBY/njWONAhsXkce2l6P5tU/7c3OFrHUeYqkH6e9pjDLRee4woYS4BgvtJt4cQ== X-Received: by 2002:a0c:f103:0:b0:68f:4fd6:ae35 with SMTP id i3-20020a0cf103000000b0068f4fd6ae35mr8036375qvl.6.1708962576707; Mon, 26 Feb 2024 07:49:36 -0800 (PST) X-Received: by 2002:a0c:f103:0:b0:68f:4fd6:ae35 with SMTP id i3-20020a0cf103000000b0068f4fd6ae35mr8036362qvl.6.1708962576461; Mon, 26 Feb 2024 07:49:36 -0800 (PST) Received: from [10.0.0.33] (modemcable096.103-83-70.mc.videotron.ca. [70.83.103.96]) by smtp.gmail.com with ESMTPSA id em19-20020ad44f93000000b0068f0ff36defsm3035281qvb.47.2024.02.26.07.49.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Feb 2024 07:49:36 -0800 (PST) Message-ID: Date: Mon, 26 Feb 2024 10:49:34 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/2] platform/mellanox: mlxbf-pmc: Fix module loading Content-Language: en-US, en-CA To: =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , shravankr@nvidia.com Cc: davthompson@nvidia.com, ndalvi@redhat.com, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, hdegoede@redhat.com References: <170895404513.2243.14840310263795846559.b4-ty@linux.intel.com> From: Luiz Capitulino In-Reply-To: <170895404513.2243.14840310263795846559.b4-ty@linux.intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2024-02-26 08:27, Ilpo Järvinen wrote: > On Thu, 22 Feb 2024 15:57:28 -0500, Luiz Capitulino wrote: > >> The mlxbf-pmc driver fails to load when the firmware reports a new but not >> yet implemented performance block. I can reproduce this today with a >> Bluefield-3 card and UEFI version 4.6.0-18-g7d063bb-BId13035, since this >> reports the new clock_measure performance block. >> >> This[1] patch from Shravan implements the clock_measure support and will >> solve the issue. But this series avoids the situation by ignoring and >> logging unsupported performance blocks. >> >> [...] > > > Thank you for your contribution, it has been applied to my local > review-ilpo branch. Note it will show up in the public > platform-drivers-x86/review-ilpo branch only once I've pushed my > local branch there, which might take a while. Thank you Ilpo and thanks Hans for the review. The only detail is that we probably want this merged for 6.8 since the driver doesn't currently load with the configuration mentioned above. - Luiz > > The list of commits applied: > [1/2] platform/mellanox: mlxbf-pmc: mlxbf_pmc_event_list(): make size ptr optional > commit: c5b649996ac63d43f1d4185de177c90d664b2230 > [2/2] platform/mellanox: mlxbf-pmc: Ignore unsupported performance blocks > commit: 4e39d7be4123f65adf78b0a466cbaf1169d7cedb > > -- > i. > >