From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hanjun Guo Subject: Re: [PATCH v6 01/17] ACPI / processor: Convert apic_id to phys_id to make it arch agnostic Date: Wed, 07 Jan 2015 17:49:25 +0800 Message-ID: <54AD0125.9060601@linaro.org> References: <1420368918-5086-1-git-send-email-hanjun.guo@linaro.org> <1420368918-5086-2-git-send-email-hanjun.guo@linaro.org> <1463717.XWsK98imMv@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-pd0-f179.google.com ([209.85.192.179]:51960 "EHLO mail-pd0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754213AbbAGJtx (ORCPT ); Wed, 7 Jan 2015 04:49:53 -0500 Received: by mail-pd0-f179.google.com with SMTP id fp1so3656609pdb.10 for ; Wed, 07 Jan 2015 01:49:53 -0800 (PST) In-Reply-To: <1463717.XWsK98imMv@vostro.rjw.lan> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Rafael J. Wysocki" Cc: Catalin Marinas , Olof Johansson , Arnd Bergmann , Mark Rutland , Grant Likely , Will Deacon , Lorenzo Pieralisi , Graeme Gregory , Sudeep Holla , Jon Masters , Jason Cooper , Marc Zyngier , Bjorn Helgaas , Mark Brown , Rob Herring , Robert Richter , Randy Dunlap , Charles.Garcia-Tobin@arm.com, phoenix.liyi@huawei.com, Timur Tabi , suravee.suthikulpanit@amd.com, linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linaro-acpi@lists.linaro.org, Hanjun On 2015=E5=B9=B401=E6=9C=8807=E6=97=A5 09:50, Rafael J. Wysocki wrote: > On Sunday, January 04, 2015 06:55:02 PM Hanjun Guo wrote: >> From: Hanjun Guo >> >> apic_id in MADT table is the CPU hardware id which identify >> it self in the system for x86 and ia64, OSPM will use it for >> SMP init to map APIC ID to logical cpu number in the early >> boot, when the DSDT/SSDT (ACPI namespace) is scanned later, the >> ACPI processor driver is probed and the driver will use acpi_id >> in DSDT to get the apic_id, then map to the logical cpu number >> which is needed by the processor driver. >> >> Before ACPI 5.0, only x86 and ia64 were supported in ACPI spec, >> so apic_id is used both in arch code and ACPI core which is >> pretty fine. Since ACPI 5.0, ARM is supported by ACPI and >> APIC is not available on ARM, this will confuse people when >> apic_id is both used by x86 and ARM in one function. >> >> So convert apic_id to phys_id (which is the original meaning) >> in ACPI processor dirver to make it arch agnostic, but leave the >> arch dependent code unchanged, no functional change. >> >> Signed-off-by: Hanjun Guo > > I've queued up this one and [2/17] for 3.19-rc4 as I promised I'd pus= h these > two for 3.19. Great, thanks a lot. I thought you will queued them for 3.20 :) Regards Hanjun -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html