Re: [RFC PATCH v1 09/21] RISC-V: cacheflush: Initialize CBO variables on ACPI systems

From: Sunil V L
Date: Fri Aug 04 2023 - 05:23:26 EST


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 <linux/of.h>
> > +#include <linux/acpi.h>
>
> Can you keep it sorted (to some extent)?
>
Sure.

> > +#include <asm/acpi.h>
>
> What do you need this for?
>
> > #include <asm/cacheflush.h>
>
When CONFIG_ACPI is disabled, this include is required to get
acpi_get_cbo_block_size().

Thanks,
Sunil