lkml.org 
[lkml]   [2024]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v7 03/16] ACPI: processor: Drop duplicated check on _STA (enabled + present)
From
On 4/18/24 23:53, Jonathan Cameron wrote:
> The ACPI bus scan will only result in acpi_processor_add() being called
> if _STA has already been checked and the result is that the
> processor is enabled and present. Hence drop this additional check.
>
> Suggested-by: Rafael J. Wysocki <rafael@kernel.org>
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
>
> ---
> v7: No change
> v6: New patch to drop this unnecessary code. Now I think we only
> need to explicitly read STA to print a warning in the ARM64
> arch_unregister_cpu() path where we want to know if the
> present bit has been unset as well.
> ---
> drivers/acpi/acpi_processor.c | 6 ------
> 1 file changed, 6 deletions(-)
>

Reviewed-by: Gavin Shan <gshan@redhat.com>


\
 
 \ /
  Last update: 2024-05-27 18:04    [W:0.878 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site