[PATCH v5 05/10] acpi: numa: Export node_to_pxm()

Nuno Das Neves posted 10 patches 11 months, 2 weeks ago
There is a newer version of this series
[PATCH v5 05/10] acpi: numa: Export node_to_pxm()
Posted by Nuno Das Neves 11 months, 2 weeks ago
node_to_pxm() is used by hv_numa_node_to_pxm_info().
That helper will be used by Hyper-V root partition module code
when CONFIG_MSHV_ROOT=m.

Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
---
 drivers/acpi/numa/srat.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/acpi/numa/srat.c b/drivers/acpi/numa/srat.c
index 00ac0d7bb8c9..ce815d7cb8f6 100644
--- a/drivers/acpi/numa/srat.c
+++ b/drivers/acpi/numa/srat.c
@@ -51,6 +51,7 @@ int node_to_pxm(int node)
 		return PXM_INVAL;
 	return node_to_pxm_map[node];
 }
+EXPORT_SYMBOL_GPL(node_to_pxm);
 
 static void __acpi_map_pxm_to_node(int pxm, int node)
 {
-- 
2.34.1
Re: [PATCH v5 05/10] acpi: numa: Export node_to_pxm()
Posted by Tianyu Lan 11 months ago
On Thu, Feb 27, 2025 at 7:10 AM Nuno Das Neves
<nunodasneves@linux.microsoft.com> wrote:
>
> node_to_pxm() is used by hv_numa_node_to_pxm_info().
> That helper will be used by Hyper-V root partition module code
> when CONFIG_MSHV_ROOT=m.
>
> Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
> ---

Reviewed-by: Tianyu Lan <tiala@microsoft.com>


-- 
Thanks
Tianyu Lan
Re: [PATCH v5 05/10] acpi: numa: Export node_to_pxm()
Posted by Easwar Hariharan 11 months, 2 weeks ago
On 2/26/2025 3:07 PM, Nuno Das Neves wrote:
> node_to_pxm() is used by hv_numa_node_to_pxm_info().
> That helper will be used by Hyper-V root partition module code
> when CONFIG_MSHV_ROOT=m.
> 
> Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
> ---
>  drivers/acpi/numa/srat.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/acpi/numa/srat.c b/drivers/acpi/numa/srat.c
> index 00ac0d7bb8c9..ce815d7cb8f6 100644
> --- a/drivers/acpi/numa/srat.c
> +++ b/drivers/acpi/numa/srat.c
> @@ -51,6 +51,7 @@ int node_to_pxm(int node)
>  		return PXM_INVAL;
>  	return node_to_pxm_map[node];
>  }
> +EXPORT_SYMBOL_GPL(node_to_pxm);
>  
>  static void __acpi_map_pxm_to_node(int pxm, int node)
>  {

FWIW,

Reviewed-by: Easwar Hariharan <eahariha@linux.microsoft.com>
Re: [PATCH v5 05/10] acpi: numa: Export node_to_pxm()
Posted by Stanislav Kinsburskii 11 months, 2 weeks ago
On Wed, Feb 26, 2025 at 03:07:59PM -0800, Nuno Das Neves wrote:
> node_to_pxm() is used by hv_numa_node_to_pxm_info().
> That helper will be used by Hyper-V root partition module code
> when CONFIG_MSHV_ROOT=m.
> 

Reviewed-by: Stanislav Kinsburskii <skinsburskii@linux.microsoft.com>