Received: by 10.213.65.68 with SMTP id h4csp619044imn; Tue, 13 Mar 2018 15:14:20 -0700 (PDT) X-Google-Smtp-Source: AG47ELu9QTnWJE2KB/0uFk9eKgJNrxJHYbsp7Hmtp1WYOXOjoeRxBFQ3/ZdBuFIsA3UsVm5RHUuH X-Received: by 2002:a17:902:42e:: with SMTP id 43-v6mr1920838ple.186.1520979260626; Tue, 13 Mar 2018 15:14:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520979260; cv=none; d=google.com; s=arc-20160816; b=x8j75H3865ud1Myz/1YgL5U3fRf/k63XMI99wizrm8196Vjq/ExpBFWmJjL7IKWry3 aB0ywa9tdZW1Hayl4oxmzL0+A5qpaR8tga1dCVq8FEGi/ZZoZTjyeRVDKgZEX1YYzWdf 3R85aXNysfHNB8ySmy/LcAQF/RRaZAUHt7pMS8N/kOUjC6sTIAu+nvBB8/yx+L4kEDE6 e8U7PhvXyoULCPJS0HNQggnjStSK2DriKxUOoqQ+3y/WZiEeRlblIkc4aBmEt3B1U2yt jwT3aCt+3zsjdX7t2V8BbG0heiRHdmQSvK3K/ejAwk6XhDkTLt/U/Rl9KjilEJjf3BJs M8Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=yXxQa8k0rv/E4T+L1j8Tm36Dg3Sgia6KVw1gaKMbGUM=; b=uBJytzBKuaxqj7KxFx/2Lo+eR+zXVw0XjRkgs2FDAhoT8UEPq5vsHDF70WjikB9i1z 4bunOrWWRacPgs9r/OsmYTv1ByMWTP4v1smmS9raLmjbjJ2pGOLbL89HMX0EkeWMIvpy aEfNXbtjUgJ8f2JKSQRdRiS/NWpkC+ShIvifpwRIbBj/mbhgPUuA3GvzmkKC2diRfhWO xxnpVLZcjnfaZJvF6vExhJC2CMMwGKP2JyCTnkjhxmegZO0lT+tAXd+u3aWvjnzyqjw8 53IPrPnSTh+2icExqdT98t9UwmgUmoXVo4TaUjxLbvUQDE/AtQ4j8zQ4wO6d3cwAMGCO 8O+A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v23-v6si817723plo.276.2018.03.13.15.14.06; Tue, 13 Mar 2018 15:14:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932608AbeCMWM4 (ORCPT + 99 others); Tue, 13 Mar 2018 18:12:56 -0400 Received: from mga17.intel.com ([192.55.52.151]:2686 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932565AbeCMWMy (ORCPT ); Tue, 13 Mar 2018 18:12:54 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Mar 2018 15:12:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,466,1515484800"; d="scan'208";a="24364087" Received: from dph9ls1.fm.intel.com (HELO intel.com) ([10.80.209.182]) by orsmga007.jf.intel.com with ESMTP; 13 Mar 2018 15:12:52 -0700 Date: Tue, 13 Mar 2018 15:05:12 -0700 From: Ivan Gorinov To: Thomas Gleixner , Frank Rowand , Andy Shevchenko Cc: Linux Kernel Mailing List , Ingo Molnar , Rob Herring , Mark Rutland Subject: [PATCH v6 1/2] of: Documentation: Specify local APIC ID in "reg" Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use the "reg" property to specify the processor's local APIC ID. Local APIC ID is assigned by hardware and may differ from CPU number. Signed-off-by: Ivan Gorinov --- Documentation/devicetree/bindings/x86/ce4100.txt | 37 ++++++++++++++++++------ 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/x86/ce4100.txt b/Documentation/devicetree/bindings/x86/ce4100.txt index b49ae59..1c41cbd 100644 --- a/Documentation/devicetree/bindings/x86/ce4100.txt +++ b/Documentation/devicetree/bindings/x86/ce4100.txt @@ -7,17 +7,36 @@ Many of the "generic" devices like HPET or IO APIC have the ce4100 name in their compatible property because they first appeared in this SoC. -The CPU node ------------- - cpu@0 { - device_type = "cpu"; - compatible = "intel,ce4100"; - reg = <0>; - lapic = <&lapic0>; +The CPU nodes +------------- + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu@0x00 { + device_type = "cpu"; + compatible = "intel,ce4100"; + reg = <0x00>; + }; + + cpu@0x02 { + device_type = "cpu"; + compatible = "intel,ce4100"; + reg = <0x02>; + }; }; -The reg property describes the CPU number. The lapic property points to -the local APIC timer. +A "cpu" node describes one logical processor (hardware thread). + +Required properties: + +- device_type + Device type, must be "cpu". + +- reg + Local APIC ID, the unique number assigned to each processor by + system hardware. The SoC node ------------ -- 2.7.4