Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3494404rdb; Wed, 27 Dec 2023 09:06:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IEXmxXhohiMIKdZP9ICf+u+sQEcQlx88/Ax/kz2HzXc6ovFYfQAJJEztDM09k5v/lV7dnFZ X-Received: by 2002:a05:620a:108d:b0:781:5e8a:6af6 with SMTP id g13-20020a05620a108d00b007815e8a6af6mr1356666qkk.11.1703696767404; Wed, 27 Dec 2023 09:06:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703696767; cv=none; d=google.com; s=arc-20160816; b=hnoEGON+BU0GAFFJts0O7ovfWzAhsqgroDddHrL93oWYcFgjPnHMcg4bscVzpWfCEv 3sNdwAyWOLiVdVa1E55caaHjhVVnBrNdvS0x2J5sSdYFpynyEQae+l1/3ULjj8p2TfD5 CN/aDptIOUFmjDcxFJtGRvS4fj2XsxnhQ9kBx5YErkr5wNsTl3Vl0/93ADHK6Qx/idGB AoomPEK5eP0wvMTgPkJG9GbnCMN4LBTECThR+EUfkEWBb/NsTZtw9nc9/Jyg/PFfys+u vEtee9gJicrLEKRiC4di2KXs2B8sBuNcTSEFPDwdrafyQXbRIgYLaroJXWHwF+SHrzNV iS+Q== 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=kmN4TE+SrmR0ZRufAGbg5hzoulHTTUQB05v36Aw8uOk=; fh=md848ut52VgRbiUA8NyyBfcOEH3ud4Cftx8ezLqqJG0=; b=0C84PSQBo1799pF29nP5euBw/RV/xk8hEnK2OD4a0uExsfKCD+CKEArbYM+u0Dn049 u5MwArELXSUHm4PKSzycxbJbV3fi/55Gc12BzLu5r6l+skiynAIy9b1+eJjk/EM8hq4W kJRoxBcUOwHJ3Sz1Miya3Uy8wAm9/1CSWAxSLd6vZmIXhn12muD46cXzRNmep8r/0Wr4 shlaB/ezNqH1lTDEXhVFXwSODYqTXBZGnan0xEhiau/b0XqJ9ObB1QuEl+/L+OvzyHTn BiIk1rQhKbXL07j/leKm6AeR8SgFLFtTzzRHgNzTsR799H+gRmG3WqkD8EUgUC3EP8rr GZ+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cGKi1C07; spf=pass (google.com: domain of linux-kernel+bounces-12156-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12156-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h17-20020a05620a401100b007815ef5fb87si1899625qko.755.2023.12.27.09.06.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 09:06:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12156-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cGKi1C07; spf=pass (google.com: domain of linux-kernel+bounces-12156-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12156-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2836D1C2195E for ; Wed, 27 Dec 2023 17:06:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 23C1C45C12; Wed, 27 Dec 2023 17:06:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="cGKi1C07" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) (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 AA66145C19 for ; Wed, 27 Dec 2023 17:05:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703696757; x=1735232757; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=7/a0YLclKwBhsEARZDQpGejj/9BGpL74a0GALjqa+9I=; b=cGKi1C07hmSCl5hZAYkebs4+OvQqiFKhJQIz4bwybJy5sS8gXuubgA0+ KObcyY60/Js7/s6XxdiB6c1RerGFG17gYmSfxYTDHkA6ZjBGR7NHF/5U9 ys2mAttZ6jNGTcPvNuhT8zLRngabQaOxe7YCPRyt+2jAffTHevYDazVPn sK63yXYi3yWFj/zLpFBKFhvBdHFkCEsYcFaUPQGdarNaZynjSKFICVu2U lBYN5+TA69xiWPSIdo4GSWTL+a9J+WrP69RQXrR7k6QPpkhPy2S1XECDm d3z0rJa2Rtb33nkuA47DpRh1GyEMVJwIAeWU/vhbEnxGa+ERgLjmw4aTj g==; X-IronPort-AV: E=McAfee;i="6600,9927,10936"; a="376609029" X-IronPort-AV: E=Sophos;i="6.04,309,1695711600"; d="scan'208";a="376609029" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Dec 2023 09:05:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10936"; a="848727174" X-IronPort-AV: E=Sophos;i="6.04,309,1695711600"; d="scan'208";a="848727174" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga004.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Dec 2023 09:05:53 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rIXLq-00000009TF8-3Dn7; Wed, 27 Dec 2023 19:05:50 +0200 Date: Wed, 27 Dec 2023 19:05:50 +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 , AKASHI Takahiro , Andrew Morton , Baoquan He , Greg Kroah-Hartman Subject: Re: [PATCH v3 01/24] resource: Add DEFINE_RES_*_NAMED_FLAGS macro Message-ID: References: <20231226192149.1830592-1-markhas@chromium.org> <20231226122113.v3.1.I59b56ebd2f303784031c27bbb1529cf6ef71ba16@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: <20231226122113.v3.1.I59b56ebd2f303784031c27bbb1529cf6ef71ba16@changeid> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Tue, Dec 26, 2023 at 12:21:05PM -0700, Mark Hasemeyer wrote: > In some cases, it would be nice to instantiate a struct resource with > custom flags. For example, creating an IRQ resource with a flag that > marks the interrupt as wake capable. > > Add a set of macros to provide custom flag arguments. > Suggested-by: Andy Shevchenko Was it @intel.com? Please, use @linux.intel.com anyway. > Signed-off-by: Mark Hasemeyer Tag block must _not_ have any blank line(s). Otherwise LGTM, Reviewed-by: Andy Shevchenko While we will have user only for IRQ case, the rest are added for symmetry's sake, I think it's okay and we might even have more (existing) users to convert to new macros (at least it rings a bell to me for a few places). -- With Best Regards, Andy Shevchenko