Received: by 2002:ab2:644:0:b0:1ec:cbc4:63fb with SMTP id 4csp1161356lqn; Mon, 26 Feb 2024 09:18:39 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUrgdWsS8P0x5FAMi9jERmkOQ97JG2wif1qgWk3hmUmDfQtEPk4jsxBAJK3RpyWPchCF3Gbv3Kkt5MDC8fqzlL2W1OEQuJU1SPRPVmLLA== X-Google-Smtp-Source: AGHT+IFomm2meEW0FGRty8qTQmu5ZX/Si9AQYMcaIkZYjGxALIfsijQE5KCj1qG0w0xX+ya/rN5z X-Received: by 2002:a05:6a21:398a:b0:1a0:eb23:5778 with SMTP id ad10-20020a056a21398a00b001a0eb235778mr6565284pzc.13.1708967919332; Mon, 26 Feb 2024 09:18:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708967919; cv=pass; d=google.com; s=arc-20160816; b=cAsIx3sUshLNfv08YBs8BNzqhbjDa6UoSAWPdyGND5gopg5gguNJzd+15Z0SOhnuFj cVdIBbYHeLOawk+eVbDOfPs6nogvO2QNtamjm2xKRvUjFrdfmBVw2jfWJzYH9nG0hmkX w0SLQPZQvawr6X5J23TdMMlBfqtcB5W2z21q6xbCn3JKmIL3k4hfMNIvg91iT+2B7ShV ipUlth6s92gDDxxm3DU3YP0+zV+VzBpwazy7tXeA9GaQHmqo9VWIA9FEM4qsjzRLcV9I HHD5uKLNc9xue3g4LcwKNPvITA0wfN98OXEOLtwsq0JbPAiWcbYgMvbWFZoIAu91+Jks LxDQ== 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=F2a3hAc8xbGiBkaQRR/cOD5LbSfgks1mwCtsszd3ZXQ=; fh=zd1GTMGEgSHmpNNeoLcNxUNOmNuChSabZelhfC+59Ns=; b=vC8EznphH9ByDxwMRc2ickwkwuTr/1KJb790dulBjyrJly3Q8MtUvvdphEksXTEQXy 4cw6KE8O6jT5/z4JYdJNov+4YvkLoCr+kJ8WwBGLt6io0p5yC4+5e5k7zEvzqmvk0c7a 9j7gYVij3W2ALuNj3lz16B4HdGriLTmsGABjZU+7l9Ddhv4WZ0zYnyfI1248Dvs13Hy3 1haHnqjnqmTiq2Rz8H9kj3Wgnh59//B3xJGyltsk7O1ZGAEFqw30UrmRkMCOsbfVIG5m f6nTBkS7EQspQ8HV1Jo/cASHQHpfkJUvirIFZFdSHRH4AVBsMP17tIF+R9SPYysenqwp S/0A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PS6NPe48; 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-82025-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82025-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 p25-20020a634f59000000b005cecc6097f2si3966476pgl.895.2024.02.26.09.18.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 09:18:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82025-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=PS6NPe48; 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-82025-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82025-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 CF194292671 for ; Mon, 26 Feb 2024 17:16:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 32FAD1369AA; Mon, 26 Feb 2024 17:08:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="PS6NPe48" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.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 A107612F5B8 for ; Mon, 26 Feb 2024 17:07:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708967280; cv=none; b=ldxdz8IXbGtLAoUsHTlyaVgarBZ2yKPaF9eo+kB49laOaz6TludU1dQJigh7zOf6crsEAvg0pb8EELz2VGLGLrLK5PTYYk13hGzdht86+Cf6fJKL8b0Vg+HjDxDQMZFTUTKSgzuTkHPfNjBM0KeAd7OUE0sd2e6bpP0Yegay2IE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708967280; c=relaxed/simple; bh=ot5o6Y7N8huTeeBW50wAKAxLA6DbyVtI4eOZUfS5VuE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=s6J1/6QoMlipBkguSS66xxC0rSzf2nDammjQTXvdRL17Lc27no8L0WP3o2mrP2CN79Yp7963u+Qszx+uQO9x4wd9DJaEuZn77YhrvjWPC5ZYGiPcVZlgtuLs8Bz6K4oM5Zc1BM9Wn2Zwe5FVDuSmTX5JQnMeyqGKEEqM4JID2D0= 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=PS6NPe48; arc=none smtp.client-ip=170.10.129.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=1708967277; 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=F2a3hAc8xbGiBkaQRR/cOD5LbSfgks1mwCtsszd3ZXQ=; b=PS6NPe48WADPwE2csUWGJCBqQ/vVW0uOJ8ON+DXUiE+eM9qotlIDKsKZPktGazfh4e9ir4 nZ6oPmzLO+Y0/iPyafA3gpnWIPVTP5eChz3sUCYFpKvS/nq938XB3/HZGsXW23acPZ+5qw f8LZ5j6uA+EnCosptnpuYLVe2eUWnL0= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-581-QP1F8dXLPeyboG6-sn4RdA-1; Mon, 26 Feb 2024 12:07:55 -0500 X-MC-Unique: QP1F8dXLPeyboG6-sn4RdA-1 Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-787ac304610so410157385a.2 for ; Mon, 26 Feb 2024 09:07:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708967275; x=1709572075; 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=F2a3hAc8xbGiBkaQRR/cOD5LbSfgks1mwCtsszd3ZXQ=; b=Oi/OV2AxjZqMxgtI9Ge915xSYriYiwP+GBpwPiVX1Gqtr5UWsBpTG2fVpmDob4I9qm rXTrTIaDbts2gHwqSUj4vhgXSLEzdD+tj5e3XnnrS+9RUisWOCpkolnkON1GiKAUCxOS ecLfVpemHGd2arqYlxFNMYL3mYbfkgE9MnVWUZSO3i5z4D7etBAemBKB640TEzjwdVIR bmzJmNiQ7aJk//tMAzHkj3IZyV5AYikCoEuZfitULCQ8Xg/NLRDbFC9LDBsqtlcQpxce BBfzRJ+PJnaocpW6CuAIJeSewoEYwJtaa1YecqqKlDtH8/mYjA7agJAD2J9o/I0Z6rsY ZVhQ== X-Forwarded-Encrypted: i=1; AJvYcCV2p1fEAahaUOAwiibVnEd7lTOOOjFhtgWEH5JVkl7yIP21xZLllB5Eg15J1DvFzoM3yqctB2V3zQbnHZ6gRFqe9oHF77RT3hnKAF5f X-Gm-Message-State: AOJu0YzbrciEp+wlnAKhEFBaBDWsGa9maM92P0aal8TKnZoPySlzPOVC kN8Db8pkWx7ahRmp33QxK72hax9xxNOGz4tExw35k2JGrhzEzhWE/WmhgaJ1QvVHThdDM7YZ0Rz OB37Zi3CS5PqgBAHh2EXPxvlLA7EadFlLWUa/kgPBOHnZOxpuSrGWvA/l40l39w== X-Received: by 2002:a05:620a:14ad:b0:787:91fc:f940 with SMTP id x13-20020a05620a14ad00b0078791fcf940mr9670821qkj.48.1708967275098; Mon, 26 Feb 2024 09:07:55 -0800 (PST) X-Received: by 2002:a05:620a:14ad:b0:787:91fc:f940 with SMTP id x13-20020a05620a14ad00b0078791fcf940mr9670802qkj.48.1708967274839; Mon, 26 Feb 2024 09:07:54 -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 po5-20020a05620a384500b00787b8820f33sm2669048qkn.30.2024.02.26.09.07.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Feb 2024 09:07:54 -0800 (PST) Message-ID: Date: Mon, 26 Feb 2024 12:07:53 -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?= Cc: shravankr@nvidia.com, davthompson@nvidia.com, ndalvi@redhat.com, LKML , platform-driver-x86@vger.kernel.org, Hans de Goede References: <170895404513.2243.14840310263795846559.b4-ty@linux.intel.com> <29863354-4efe-d199-a9d4-7daf83f6cde9@linux.intel.com> <1608d86a-24e8-403b-b199-ce23f8411cfd@redhat.com> <8a05120e-fcdf-f7f2-6b60-22e3ee819d37@linux.intel.com> From: Luiz Capitulino In-Reply-To: <8a05120e-fcdf-f7f2-6b60-22e3ee819d37@linux.intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2024-02-26 11:59, Ilpo Järvinen wrote: > On Mon, 26 Feb 2024, 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). >> >> 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/ >> >> Maybe those two should be included for 6.8 as well? > > Those look a new feature to me so they belong to for-next. So no, they > will not end up into 6.8 (to fixes branch). If the 2 patches in this > series do not apply without some for-next targetting dependencies, you > should rebase on top of fixes branch and send a new version. Understood. > About those two patches, please also see my reply. I intentionally only 2 > patches of that series because I wanted to see sysfs documentation first > so you should resend those two patches to for-next with sysfs > documentation. I'm actually not author of the other patches :) - Luiz