From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2DAEFC04A6A for ; Fri, 4 Aug 2023 15:00:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Sj1EOqXyHZgN5tlAOh4q5ELJrSIl0zAeCfocfzrBdbw=; b=FE1msPKvwpQO51 h//PchvkILQ3Y4IMyjKF/Wa+mBOytHp1Nm4Cwj4OrP0eV/Ih0Th7IpiLWgRaJ4yJOtEEQA7IgfFE4 ydvU55Bo1RFTgtAz/zf+MvX7MrI3KkldceAWG3DKjDI3S2z3VEsqsuI9jxUQFSFKPs0DidZr+WRDw t5IIN8UkcyOHhmV+fWGXmXiFj8J/UWP7TjYYxHJ8NFmkR9MQw6wI79eZDVBKgwJnvK/jx/x8187yR aTzpFfLfoCWVr9KdVpiKZp3KR61ZQKvcsJOvgGgVXuvsR3nfMrMQXto14SmN/Hjl5Pr7NhZ9QTYVx LU/0j/CIL4RGt9cKNJyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qRwHz-00CeLy-0B; Fri, 04 Aug 2023 15:00:27 +0000 Received: from mgamail.intel.com ([192.55.52.120]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qRwHp-00CeGe-0W; Fri, 04 Aug 2023 15:00:18 +0000 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="369070005" X-IronPort-AV: E=Sophos;i="6.01,255,1684825200"; d="scan'208";a="369070005" 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-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230804_080017_222269_0B4A7E54 X-CRM114-Status: GOOD ( 16.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel