Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp91934rbe; Wed, 28 Feb 2024 13:15:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVS5q9qxKhsBtuQ4nI5xXPQ/WahhQHodqQaAGHIiVKDKudn4w17jzx01CzOlrPous0iNilsapTUWeX8dCvMtLl9oUdVEFS1FD4u48xBIg== X-Google-Smtp-Source: AGHT+IHbBwl/BrvpItRvA+x8d+pU0Eu6ZQjyKqCIdKknJstbEGFx7GXZRTGCbXncpzoh6o21c2aS X-Received: by 2002:a17:906:f2cb:b0:a3e:77d2:9e04 with SMTP id gz11-20020a170906f2cb00b00a3e77d29e04mr84045ejb.24.1709154900062; Wed, 28 Feb 2024 13:15:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709154900; cv=pass; d=google.com; s=arc-20160816; b=INJUfknWZhYOyfnhDOxfGyE6Jr7YYRRC0PdvHElC/coan6BTETP+xuL5yrpyivxCNj lZBE8vnWuK7frtYa+ADpaCFW9vqufsZe/InnGO5zQ0aCsfIKHeeTAkvnHwS2bXMZodYr nIe+nvo5MuKNbGJU5Wj7Vvt8YhYsDJGbTmYeT0RN6yPscaSnozjRYEk519AmwJqAEXYL whWiBuAgCuJPlp7sWoRhnWf9cur4gxNpH8rbSbhMy6iy6kWH4aNwtuwanLr9jstFf/U+ snU6Str73XYjFSqNTFCqHgvJb9taiCu8N8Pm5hNCq5dPYHqVynjbjGSaG//fDgN2wJJX QIcA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=W9hD0YbFqBXT/nXqtV3fYDeNO40gmiO0A4+0rNHvkIk=; fh=eZozXIEwZQqM4SpjRco9B0GI5u9btHvK/HVhYZnqFtY=; b=IpwUs57EopYHKpU+exoSXNK/6DR/0X8a1/ESyU1HPb8KGzUu/v9WYYoUnSbiIjuRDb 2Y03wfb+A4ZGof5EeWULoN8gBDgY0xpPndnRl0egiql8vfdjWSjSziCMqmCWyizh7fDM nbA3ClDjCd/5p5BxgXaxes3tosJ4PD51Jz3vbJIv09bfF1dL+BB7pgPh92K4s35nWszM dyf4RNvSONzvht5o7GepSK2j5i/CtTL+dd8DmVykDY646yxj4cz9vuCTiS9NdqAg4WLb SgQXWFdVFtP2g7a3XurW901wVrx7VCzWAC5uSToTPlOOwo1sU7Xy+aFbfgr1/TB68vl4 JgNg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-85710-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85710-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id b27-20020a1709062b5b00b00a4356d767ddsi2050627ejg.793.2024.02.28.13.15.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 13:15:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-85710-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-85710-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-85710-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id CFAD11F25AF8 for ; Wed, 28 Feb 2024 21:14:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B29A8627A; Wed, 28 Feb 2024 21:14:50 +0000 (UTC) Received: from mail-ot1-f44.google.com (mail-ot1-f44.google.com [209.85.210.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C72CD86241; Wed, 28 Feb 2024 21:14:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709154890; cv=none; b=lCmNbR4W3qwIdm0NfxH363zHis8xuoTiGP7j1k+Q8qJ3FZdX2FxmNCtThL7paAPBQVjWzKOYTvnHnIszn7anYLb3M86RR4q9jm60HOIDHtegw2Qoe9/OmiQrbYrbEFbljat9vUUtHyZfAAtz1Y0ASX/gFOJM756a0793SMVPwF8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709154890; c=relaxed/simple; bh=vga5pA+ojUatokeTJQVGmvG5MkhEI6W2dbJk1EB3qrE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=sxYyLQePr0VpWq9q+N8mEzn5D3PuHAZJAr/qQQiMeAdhJgY4WTT/LOA+eh6rVvqHBjzQsdWt7QrQu9BAs0h1+Exe165c9/iDKHZ9lbQVu0H3k6UiJT+fDpCzJhBpWgZGyiUtj+b908TXqqwM8uMz94wNGm5d/qdEGaeYIFAHeIA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.210.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ot1-f44.google.com with SMTP id 46e09a7af769-6e2b466d213so38915a34.0; Wed, 28 Feb 2024 13:14:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709154888; x=1709759688; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=W9hD0YbFqBXT/nXqtV3fYDeNO40gmiO0A4+0rNHvkIk=; b=LAnkfUFSGPyR3aqU8uuC+Ig2vg6IVv8WgofgMh6a3JasuoM//1CUthoRTPVljKXWCC v66FbGzP9To6h/7HHOJgqopDoiHZ1N6UzkHl8dWGp+fTSElNB3iTR/LSw57Cc1+tCHH8 PKEvXtAU0tKsri+X6+NtVYMrSeSnBlcT/CIm7n9Q592BK9BBLsqqd/mT9E8nLcJli/NA tRuCw2xzs25ueIsGRV5UvV6kexeYz02wBFDcz3G1cS2qM7iOKMa/rUKDgb/DIGo5pZ4p swbUAID13R6c8HmG3s6IezaVmCIP46niOFF2dWn0PAf1LTdgOb0KOSWhPDgiJcNfO5gT C4fg== X-Forwarded-Encrypted: i=1; AJvYcCXVfGiR3A93Yxcp3lN3DSrI915qpcyHgLMQ/apPGHNqTuzkx/LDEL3tPTL/eC7A4YLpomUAbkZrfX79vvNEyAEhZZs+HvrKq0IBLZ9HOBfC+cHjscI+ba/C0vzZzsCQCChU8Cf7fdrZWw== X-Gm-Message-State: AOJu0YxANWcdDB5ThaW8kNNrSINfcJ+nGMcbsCwtAROtrjhWharwnWFX SZAd8GBqzv5nhW864vmz0Vx68J00dcFX7s6YyfH0H7QYSE1fIqnofD1sBnS4HAsPTPZtDHNv3W3 XpRkmKHJPg5LC0Dhh22BqLbOqAEsHZkdx X-Received: by 2002:a4a:620a:0:b0:5a0:6de5:a880 with SMTP id x10-20020a4a620a000000b005a06de5a880mr347558ooc.0.1709154887860; Wed, 28 Feb 2024 13:14:47 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240223155731.858412-1-andriy.shevchenko@linux.intel.com> <20240223155731.858412-3-andriy.shevchenko@linux.intel.com> In-Reply-To: <20240223155731.858412-3-andriy.shevchenko@linux.intel.com> From: "Rafael J. Wysocki" Date: Wed, 28 Feb 2024 22:14:36 +0100 Message-ID: Subject: Re: [PATCH v2 2/4] driver core: Move fw_devlink stuff to where it belongs To: Andy Shevchenko Cc: Greg Kroah-Hartman , Christophe JAILLET , Sakari Ailus , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, "Rafael J. Wysocki" , Daniel Scally , Heikki Krogerus , Len Brown Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Feb 23, 2024 at 4:57=E2=80=AFPM Andy Shevchenko wrote: > > A few APIs that belong specifically to the fw_devlink APIs It would be better to say which functions specifically you mean here. > - are exposed to others without need This is not particularly precise. I guess you mean that they could be static and are not, which is fair enough, but why not just say that? > - prevents device property code to be cleaned up in the future This is completely unclear to me. > Resolve this mess by moving fw_devlink code to where it belongs > and hide from others. This could be more precise. Also I think that the patch is not expected to introduce functional changes, which could be mentioned here.