Received: by 2002:ac8:71d8:0:b0:40f:fb00:664b with SMTP id i24csp198698qtp; Fri, 4 Aug 2023 08:23:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEMkMGIRItrTtnpIV0FplSgigrUuuXA+RY3Evw83NLUw55HKSo+KFRW5No0uduCb/s6KJZj X-Received: by 2002:a05:6a20:3943:b0:13d:d5bd:7593 with SMTP id r3-20020a056a20394300b0013dd5bd7593mr2160187pzg.12.1691162596685; Fri, 04 Aug 2023 08:23:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691162596; cv=none; d=google.com; s=arc-20160816; b=PAw8bre2crXjJ3Swi4KTWggqDwWwt25cRWeQo4/7VdoyezYtQYzaKmgiE++FrPHxV3 iOndhe5V3qR4tNeCQ7VjOhKsLspHvRlmftsW2b3llZl12yoTGf+oqkcdrgBBfu6JK1lf 1LPjLmsZOjUn9PiSXtIZCMWTLeqeNDKWIgsLDrv6CfwteJ8JaX9zpY7bgHsO8m3JQ3OY N/g6sbYO/gdyDz92GAfRzNTTTcmVUCVlGLXY5aHv3WxEw+aDFsLS4A/h+oGMWMel3P6X 8hL5qBonHMNRZqPaXbl7rfC1pXRZhyjGb00Qg1IrLkays4CB13KTNFNrT0/rwkyKsqhF 3qKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=HmFDeqR74TzgF5zRb1VnawLZNu2a9f8kOthxKenfhRg=; fh=jdC1wo04rAzKEpN+95FmIE0HbfvRQ3ImDXr2QY6+m/8=; b=tNHeDIyu4ptTQ+IhN7mGoEb2fgSvk89BrSc375Yv279giM5sc45yaU1qPjmEYFaEej +NL1B0CFi86g7Tga4d0En8TAyqKxA4aWhfs0daPwCtV2SasMEWFjA0RWeFlbwaABWEbe aN9A9qOiiGyL3F40mx9ATma+M70HF/gRLNwMxrw1K50VFrEr0+k1xulAAcd1i/tzV2L8 6JALvWLhHZ6OxAjWMIUiMBBup0t+we/rWas3dmo18tMfdTMsvTzV/9QVPagDdc2sH6w9 L4jH/7Q2vIspgxPD95xpwWAeerEyd9auiK3tfSZrQaWZz1OEawtPL/Y9N2NuJ3NHGhkQ rcbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=P4DNPlDp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ay22-20020a056a00301600b006870b9bddbdsi1923970pfb.62.2023.08.04.08.22.56; Fri, 04 Aug 2023 08:23:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=P4DNPlDp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231867AbjHDPAU (ORCPT + 99 others); Fri, 4 Aug 2023 11:00:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbjHDPAS (ORCPT ); Fri, 4 Aug 2023 11:00:18 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57548AC; Fri, 4 Aug 2023 08:00:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691161217; x=1722697217; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=MpvATlDjjJZIna8broQzbePYRa5IYY2XnpYjRR2L2Mg=; b=P4DNPlDpOjaHrVRWn3Wy7sS/FpauNxNnHt/rvW/GEJOenPHBgPTkd+33 q1oyJmJWz7jrfrU2JtmT7j4t4C971MxanetmfKXcZHTLlKenjXKL6B46N HwV8FpHQREKqOGYM+6LSCpFaWbge2BW4vu1IIIq2QXCBJu/TBSg4ldB6O /W5FSyogjIehq9Q9/6NnF0TvqlB8cpVEp+B6qsuRFHREVGi1eHDRX2zDy jqgO6Qg2+2fkK2+wLqQff9SbZEO9GfuNRrsKsv+geX3mvHEtVwmwDpRxJ NT79MCO7GxGVZAArn1uQ8KZC6HEo2CRS4Uk6AP2EjZnufAViAEUvGicXI Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10792"; a="369070010" X-IronPort-AV: E=Sophos;i="6.01,255,1684825200"; d="scan'208";a="369070010" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Aug 2023 08:00:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10792"; a="730091090" X-IronPort-AV: E=Sophos;i="6.01,255,1684825200"; d="scan'208";a="730091090" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga002.jf.intel.com with ESMTP; 04 Aug 2023 07:59:55 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qRwHP-00DIKr-1l; Fri, 04 Aug 2023 17:59:51 +0300 Date: Fri, 4 Aug 2023 17:59:51 +0300 From: Andy Shevchenko To: Sunil V L Cc: linux-doc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Albert Ou , Catalin Marinas , Will Deacon , "Rafael J . Wysocki" , Len Brown , Daniel Scally , Heikki Krogerus , Sakari Ailus , Greg Kroah-Hartman , Daniel Lezcano , Thomas Gleixner , Anup Patel , Marc Zyngier , Bjorn Helgaas , Robert Moore , Haibo Xu , Andrew Jones , Conor Dooley , Atish Kumar Patra Subject: Re: [RFC PATCH v1 09/21] RISC-V: cacheflush: Initialize CBO variables on ACPI systems Message-ID: References: <20230803175916.3174453-1-sunilvl@ventanamicro.com> <20230803175916.3174453-10-sunilvl@ventanamicro.com> 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 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 04, 2023 at 02:50:34PM +0530, Sunil V L wrote: > On Fri, Aug 04, 2023 at 08:56:29AM +0300, Andy Shevchenko wrote: > > On Thu, Aug 03, 2023 at 11:29:04PM +0530, Sunil V L wrote: > > > Using new interface to get the CBO block size information in > > > RHCT, initialize the variables on ACPI platforms. ... > > > +#include > > > > What do you need this for? > > > > > #include > > > When CONFIG_ACPI is disabled, this include is required to get > acpi_get_cbo_block_size(). How is it useful without ACPI being enabled? If it's indeed (in which I do not believe), better to make sure you have it avaiable independently on CONFIG_ACPI. Otherwise, just put #ifdef CONFIG_ACPI around the call. -- With Best Regards, Andy Shevchenko