Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp710622rdb; Sat, 6 Jan 2024 06:06:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IE24KlK4dqgrWU5SoheLz/tMjfLEIrZbVGFTVes0tF+YJFm2Ayy+WiapTVMw6Yq2EcHJI4J X-Received: by 2002:a05:6402:14c8:b0:554:d4f4:7f78 with SMTP id f8-20020a05640214c800b00554d4f47f78mr519539edx.45.1704549967840; Sat, 06 Jan 2024 06:06:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704549967; cv=none; d=google.com; s=arc-20160816; b=Lo7EKD6tviTXJ5SwGs052tSbUX6W9R/jBWsbK5AyRmu5UaEOYtKaS31rDU4QtM10WY VtLLe+3qJtgoLNQ4ABKZcT7jDLbqUqdRQo5DqWtFX7ODUHSEIxTuXy6Rd0T6AlgMdffc P47GHHIrjKBYr1vIoqE9irykg7CFA2aI05jX+P07BmsnCwS0XvVQEcnwrS3p16YOALZB WmehecHSbm7IrSaTjTmnVoq75ar3r/re41oKpxC9mO5g0CaQRchwJnA4DPrIY+Iwjpde AyGp3naVwjg8VmlvPREaLkMgs/VykUyAuV2LE4A/P2mm2DjRV21WiCmgJfvOs2+2x887 5ApA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=RRDfjHq579lIvWvjldyyBD2mJJVA4EFnnxIzc02yAlU=; fh=lw3GwmMIytMDkblKQ+eGbcvdlO8ybe9zxXjLkIjUggo=; b=Wro5C12FDTdEZ0MWXGJHmtj2eSCZKQY2imH7A3Db8adJRa0BU0bGzcx5PyAYuneTS6 bAPHgcNXtDFZjHVN/86yRBh/+mbAbx8gLx5hbwJhlO4rte/I2SUU/yJUGV/2+iP6534j o8Jk7/PuCUItDgvpOHvu49EHYJr9XW5IFlUr9hg28lhJ2ujGAvX4l3a6uExRdkBFP9HW csv7KXIKDWs0JTE77J9LZ7JxSZz5e49MHXGgyU+bH/A+XyNzEre+Vg+chI7efmTell7A vDx7maa8xD7F2kJ200/KQbS8Bor3CHsUFQai+j13xr+cx6tCjqTkWhejHX6Cg0KeqY2X Peww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WnhsEeM4; spf=pass (google.com: domain of linux-kernel+bounces-18588-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18588-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id dk10-20020a0564021d8a00b005570d3249bfsi1505924edb.106.2024.01.06.06.06.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jan 2024 06:06:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18588-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WnhsEeM4; spf=pass (google.com: domain of linux-kernel+bounces-18588-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18588-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 91A561F22517 for ; Sat, 6 Jan 2024 14:06:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B86F979C0; Sat, 6 Jan 2024 14:05:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="WnhsEeM4" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (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 62CC07469; Sat, 6 Jan 2024 14:05:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1704549955; x=1736085955; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=b8S9YQ723Vakq/AypdH+EFs2g1D+6lWqicTwgFrXQVY=; b=WnhsEeM47w4acjUoTE0d+WugJ3tUhpSkBWxmi66OWMQ3eGckmWG26yda n9AU4MOEs2fm3QLE+Y4iw1LVS7fgPhDocTbKK5w0z+UxRSuB9fgenqrz/ kRRz/rq/J0A+X//rFleXgYrMzGXKzoqXor3nIKJpPjUNyt/ECWEAEtygf YrCxcm/Q13p21vH37Ft+f9G7JddjO5+RWOIiBDUbPWXGMhY/JuEl4vlpU ppOToTOxeVhNkxdd6zxxmVYSBzp1nwtvw9LzXn3cIWL2xVQlnWyBeVJcq mb1HWSsxucJ6hsN90yQNA6kazJKzNyayxKuGe9XAshKExeCiPDrwDHRWf Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10945"; a="5025338" X-IronPort-AV: E=Sophos;i="6.04,337,1695711600"; d="scan'208";a="5025338" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jan 2024 06:05:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10945"; a="1112336317" X-IronPort-AV: E=Sophos;i="6.04,337,1695711600"; d="scan'208";a="1112336317" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga005.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jan 2024 06:05:49 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rM7J4-0000000BvKX-1CLt; Sat, 06 Jan 2024 16:05:46 +0200 Date: Sat, 6 Jan 2024 16:05:46 +0200 From: Andy Shevchenko To: Mark Hasemeyer Cc: LKML , AngeloGioacchino Del Regno , Krzysztof Kozlowski , Rob Herring , Konrad Dybcio , Sudeep Holla , Raul Rangel , Tzung-Bi Shih , Daniel Scally , Frank Rowand , Greg Kroah-Hartman , Heikki Krogerus , Len Brown , "Rafael J. Wysocki" , Rob Herring , Sakari Ailus , devicetree@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: [PATCH v3 21/24] device property: Modify fwnode irq_get() to use resource Message-ID: References: <20231226192149.1830592-1-markhas@chromium.org> <20231226122113.v3.21.I38ac58ab04985a404ed6551eb5813fa7841ef410@changeid> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Wed, Dec 27, 2023 at 12:09:19PM -0700, Mark Hasemeyer wrote: > > A side note: in all files where you use ioport.h check if you actually included it. ... > > > -#include > > > -#include > > > #include > > > #include > > > +#include > > > +#include > > > +#include > > > > Fine, but no. This file is still not using the iopoll.h. > > See the forward declarations below? It should be there. > > > > > struct fwnode_operations; > > > struct device; ... > > > --- a/include/linux/property.h > > > +++ b/include/linux/property.h > > > > Same comment(s) here. > > I don't fully follow. Are you suggesting adding an explicit 'struct > resource' declaration as opposed to including ioport.h? Yes. > If so, why? To reduce scope? Build time, better granularity, less include hellness. -- With Best Regards, Andy Shevchenko