Received: by 2002:ab2:644:0:b0:1ec:cbc4:63fb with SMTP id 4csp1161032lqn; Mon, 26 Feb 2024 09:18:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWroMCWdmP4oV775Y/6Geozh2usTRyv2tad0M8bzun1y9de8HZw4XQRadj30sSpgE8/r0aqdXW2LFce4zSiq/bhEjFEweBs5x9pHQpbYQ== X-Google-Smtp-Source: AGHT+IEJDysLJF5n7WVLAyDoTVCia3aFGwrpgLsMMPEEMNVZFVUQkDx/RHB0eoQN+nrUBIOOpGQL X-Received: by 2002:a17:903:186:b0:1db:f389:2deb with SMTP id z6-20020a170903018600b001dbf3892debmr8085569plg.17.1708967887192; Mon, 26 Feb 2024 09:18:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708967887; cv=pass; d=google.com; s=arc-20160816; b=pypkE8pv0XKlOrVlWt106n435RU7ucqRfpxnRcDMPgqioIYRygLf1hgiTRettGQogc KMzumZcN6jiZ77ImzmQJMBmUpv9Yl5ahnrrgePcLj7QQ/K/d58z3JUCCMm1z4JuG/gEh NsXlC40bMe11J+QmZq956RaDba7TT7050JvJ/e6n+EDQA6HQDfjM/8G1YbtqaBGc99Pn xK14JIQck3NoDfrFkZi0z7A8LKUnkDXqGI1rCskD6Heby8XGpixo4Lcwpp9zrArlxZJE M/TVGq7X2lZxRzKXaRUBer3C11vrMbAIwtt29kTlAuC4ib6wjV+lAj8Rn2BCaaU/l3NH lUxA== 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=dBgwoqBSOIGBvVMXZVHsZZp0o2jjdWKhIehyduutD1E=; fh=aik7gocG0V5vOhzr32lStuDVJGXOLLB+vVbaGqELPQk=; b=AtAESBcFfV8niR+kr0TUgGnp5cmvfDfEl4ZvGtn8r4cOX9zP7QDnRtvZkq89FcdiYA ehpWLnhIj0/MqFGZmxT0k/rxSrUde8QxQk+NqbrkYqRxKO5mjc1lQJb7ep6qJT8HBJrW kWgKNYreW472bLQmDgfbNH0De1kHa4Ry0yBShxpYx2DkfpjxNJ0cFCOgU67v19gCOu1d mZPzU6vSieqsIHTWf/xSgEIivuIG404G9gO0GCQScryYy20ETewVkHduFXwlBYrkCRhL lx+aSDVWsitMHu4FA+zeZyPaeOh8EXcRVoJokskPdB0WuCa55Q1NsXJ9tHFXbi5Zp4kz 9g4g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ue2dCFYC; 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-82022-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82022-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j11-20020a170902690b00b001dc7da28ca0si3894584plk.151.2024.02.26.09.18.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 09:18:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82022-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ue2dCFYC; 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-82022-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82022-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 8FA4D28DB07 for ; Mon, 26 Feb 2024 17:15:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AA26F13666E; Mon, 26 Feb 2024 17:06:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Ue2dCFYC" 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 347F5136652 for ; Mon, 26 Feb 2024 17:06:04 +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=1708967166; cv=none; b=bjDIyhAQU1T7+AO41LCF1qsdZSlhcZxkG9XQbU8JYpyQDlTJwHcuCKG1BDgqc4CIpfAkKMYOgshjTgf7C9FaxCzbxGhuQA1kQGz7ExbKdG2s5QOMIcnjqrc3fq1fo3PO9zZ2ABsCvUauIz03YdIC1F21FESSoFcPDb8XQrgwbak= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708967166; c=relaxed/simple; bh=6Vyoo0Bzehw8lcWs30lDQlzHhfwrhCkNK53hcGYdx4M=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Fg8b5rSsTHgzRgMhRxxSXPafYvjI+n4WBP0pxO9+R8JluPhjcDSFSJoWW3tlrSLjXYv8zrbPOrRwbj7wuY1ILYS0JSqAtv1/j54TgoGyooqlmqDAhP6imb/7AtSj33hWEWCJw9+5fq9wW87/DnkQgvls9JYh6F7TQwtBaaQeyzI= 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=Ue2dCFYC; 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=1708967163; 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=dBgwoqBSOIGBvVMXZVHsZZp0o2jjdWKhIehyduutD1E=; b=Ue2dCFYCBxAOtopbM2CdX6eozFyLGOnRGv9GORG0hLnVduxgaOo/BclQMZYLfY8A1Kj7+R wXTmweOARNneDWP7HvcyvN2eyWHEiazQxHcebujrgVJRP523qoGwMRRYP0PkfDv3uTRnlI cZt+tXqLoZIL9vluq3RC3hgagbbo46Y= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-484-qn3-4k7sNX--YaSoH5eh6w-1; Mon, 26 Feb 2024 12:06:00 -0500 X-MC-Unique: qn3-4k7sNX--YaSoH5eh6w-1 Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-42de9e960a1so40177411cf.0 for ; Mon, 26 Feb 2024 09:06:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708967159; x=1709571959; 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=dBgwoqBSOIGBvVMXZVHsZZp0o2jjdWKhIehyduutD1E=; b=v/k/2SRiJ6TNqZvLkApIxvSkfJrX8OBEWS1vskdVW35erVWrvIsRMrIzOnK/5OlXYG l8DlWheb/FrHQnbK1KJlFOVjtCq0AmiBFX+StXlbE1lyRmyaPw9K64mFs2UgFoaXfrTO ObifC75Tm90fM9aOeSRpaYpO+3O10ZkiKbwzzpwSuhQ5Xo8tZZ4Dy68CwZjFVjoedkaU 81nkxmVEzV45HrbO4habNs+7hTSvD3piHiXaTf96N5OoaBXKLA5+ROAjQKhYNOKGlveo VMORThb6Gr5xK7Dp3ursGTA8InS5ZDySOPFjoyDjVbD0/x5G/rtstLpjYWf/3DDe0cLQ /q+g== X-Forwarded-Encrypted: i=1; AJvYcCV1MtUL+tln97ZNr7AAI5f+d3MZ1I1pCxfS3aqVM376lAwYXc8ob0zc08JXA3/ugmo5x6yOV9DbJghv/maFQKix5PAk5IJO9NSir1vv X-Gm-Message-State: AOJu0YwsWzdckmDjL6a2m+x/OyFYVAExKVA8iKhYhYJZDZAQMR7/iq78 PSgZubh3VpPMTge9qFYqZSXGnmWfuDAJOr0BM0D0XKJ5H/YJgGghijlMaGzsLZsJOWRn5kb9Tf5 L/GZNZvw0eUnGtdq/hRqe5IdvF3bq+ZoEbmLPis2ItMtilwyPC5wXEVHLQ5zhcg== X-Received: by 2002:ac8:5c81:0:b0:42e:6334:cc9a with SMTP id r1-20020ac85c81000000b0042e6334cc9amr10584298qta.20.1708967159462; Mon, 26 Feb 2024 09:05:59 -0800 (PST) X-Received: by 2002:ac8:5c81:0:b0:42e:6334:cc9a with SMTP id r1-20020ac85c81000000b0042e6334cc9amr10584252qta.20.1708967158965; Mon, 26 Feb 2024 09:05:58 -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 p1-20020ac84601000000b0042e625a110dsm2635894qtn.78.2024.02.26.09.05.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Feb 2024 09:05:58 -0800 (PST) Message-ID: <6c25bbf6-db97-4d55-b7d6-b7b6dbb60a82@redhat.com> Date: Mon, 26 Feb 2024 12:05:57 -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: Hans de Goede , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= Cc: shravankr@nvidia.com, davthompson@nvidia.com, ndalvi@redhat.com, LKML , platform-driver-x86@vger.kernel.org References: <170895404513.2243.14840310263795846559.b4-ty@linux.intel.com> <29863354-4efe-d199-a9d4-7daf83f6cde9@linux.intel.com> <1608d86a-24e8-403b-b199-ce23f8411cfd@redhat.com> From: Luiz Capitulino In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2024-02-26 11:57, Hans de Goede wrote: > Hi Luiz, > > On 2/26/24 17:10, Luiz Capitulino wrote: >> On 2024-02-26 11:04, Ilpo Järvinen wrote: >>> On Mon, 26 Feb 2024, Luiz Capitulino wrote: >>> >>>> 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. >>> >>> Oh, sorry, I missed the mention in the coverletter. >>> >>> So you'd want I drop these from review-ilpo branch as there they end >>> up into for-next branch, and they should go through Hans instead who >>> handles fixes branch for this cycle? >> >> If that's the path to get this series merged for this cycle then yes, >> but let's see if Hans agrees (sorry that I didn't know this before >> posting). > > Hmm, new hw enablement typically goes through -next and not to > the current fixes branch. And AFAICT this is new hw enablement, > not a regression / bug-fix. > > Is there any special reason why this needs to be in 6.8 ? Since the new firmware feature is causing the driver not to load, I'm seeing this more as a bug than new enablement. But it's fine with me if you decide on not having them on 6.8. > For RHEL kernels you can cherry-pick patches from -next > as necessary. I know :) >> One additional detail is that this series is on top of linux-next, which >> has two additional mlxbf-pmc changes: >> >> * https://lore.kernel.org/lkml/39be055af3506ce6f843d11e45d71620f2a96e26.1707808180.git.shravankr@nvidia.com/ >> * https://lore.kernel.org/lkml/d8548c70339a29258a906b2b518e5c48f669795c.1707808180.git.shravankr@nvidia.com/ > > Hmm, those are not small patches, any other reason > why this really should go to -next IMHO. OK. - Luiz