lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 01 Aug 2014 00:33:58 +0200
From:	"Rafael J. Wysocki" <rjw@...ysocki.net>
To:	Hanjun Guo <hanjun.guo@...aro.org>
Cc:	linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ACPI / processor: Make it possible to get local x2apic id via _MAT

On Tuesday, July 29, 2014 11:27:50 AM Hanjun Guo wrote:
> Logical processors with APIC ID values of 255 and greater are
> required to have a Processor Device object and must convey the
> processor's APIC information to OSPM using the Processor Local
> X2APIC structure, but not until ACPI 5.1, X2APIC structure was
> not supported in _MAT method.
> 
> _MAT is needed for CPU hotplug and system with more than 255
> CPUs will definitely need X2APIC structure, so add its support
> in map_mat_entry() to make it possible to get local x2apic id
> via _MAT based on ACPI 5.1.
> 
> Signed-off-by: Hanjun Guo <hanjun.guo@...aro.org>

Applied, thanks!

> ---
>  drivers/acpi/processor_core.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c
> index 00f48d1..e32321c 100644
> --- a/drivers/acpi/processor_core.c
> +++ b/drivers/acpi/processor_core.c
> @@ -129,6 +129,8 @@ static int map_mat_entry(acpi_handle handle, int type, u32 acpi_id)
>  		map_lapic_id(header, acpi_id, &apic_id);
>  	} else if (header->type == ACPI_MADT_TYPE_LOCAL_SAPIC) {
>  		map_lsapic_id(header, type, acpi_id, &apic_id);
> +	} else if (header->type == ACPI_MADT_TYPE_LOCAL_X2APIC) {
> +		map_x2apic_id(header, type, acpi_id, &apic_id);
>  	}
>  
>  exit:
> 

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ