Received: by 10.213.65.68 with SMTP id h4csp12585imn; Mon, 12 Mar 2018 15:31:09 -0700 (PDT) X-Google-Smtp-Source: AG47ELu0Mqo96AxbCZOQ00emkURte5peIGAG1v80X7SDL1Prol4fMogRspjPgXJpVvGqwrbGyDCM X-Received: by 2002:a17:902:52a6:: with SMTP id a35-v6mr9862597pli.179.1520893869252; Mon, 12 Mar 2018 15:31:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520893869; cv=none; d=google.com; s=arc-20160816; b=ZAN1wAMGaHvBK92UEsrwxmqxdeO3BGLnKrR5UrMcdzjrghP+OrNVtWOv5eo9JIjm+d MVJIYx68uIDaCbCaMnUoxmxfnzRcZfzjRyWe5d6+U0fxIKKUZFBrClH5HI2IKkHnGzxY uoJz9TEzqFgPcDqmM+ciRKrPxhcOqrhJrHrDFzA44OBJKiyUu/V0FKur1MGNNHdAn1Vx c5JahQaZDrA3TKaBfhYm1O2KpuwRrczB5i8iGoHPdorJkQIPmD/YXDFyFPwNG0Xtw98B Pkat7Ue4FWgI/lGUAvDwqPrkHSQQXITsSM3RqXLEbHIqqObNpOl6DfG6JIU/jro1GhqK aPqw== 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=8GHEWRXtonBCpugXApUyAW9Dvyu8jGWrSojCNTJBlMI=; b=Y6/6IIeTMFDJI1RDdq8GFiYXTy3+4Tsc0cGOw3qQHTmbVxC8c0l5KD2sD8JfZ2BucL kYtjg5xTrgIaW23LI6gT2BvCfYiK6EJ30obZ0YaelBEoIf6lhIT7G2YaOTd9yyiVjn7K sY6ABj2n2fDqe7ZnH8dkr8bTuNi30R+++v/22xn+aOfu50vxc54PgDQNyDOs8SX8XeC3 3vo6sG+i5TELCfdFZubXKWarXU2YsEjcwT9eUS/nr8r9aLNRwFYxeezY/mtouAjFKpZe 77KNTyMugSCkIpxO0z8vW3rgrpDx9LNbj0TPqkoildWQrkefWXVHHTcFxtEhvr/vzsRd RP2A== 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 l3si6453544pfi.178.2018.03.12.15.30.54; Mon, 12 Mar 2018 15:31:09 -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 S932282AbeCLW33 (ORCPT + 99 others); Mon, 12 Mar 2018 18:29:29 -0400 Received: from mga14.intel.com ([192.55.52.115]:55859 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932252AbeCLW32 (ORCPT ); Mon, 12 Mar 2018 18:29:28 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Mar 2018 15:29:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,463,1515484800"; d="scan'208";a="34420161" Received: from dph9ls1.fm.intel.com (HELO intel.com) ([10.80.209.182]) by orsmga003.jf.intel.com with ESMTP; 12 Mar 2018 15:29:27 -0700 Date: Mon, 12 Mar 2018 15:21:48 -0700 From: Ivan Gorinov To: Thomas Gleixner , Frank Rowand Cc: Linux Kernel Mailing List , Ingo Molnar , Rob Herring , Mark Rutland Subject: [PATCH v5 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 Set the "reg" property to 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 | 38 ++++++++++++++++++------ 1 file changed, 29 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/x86/ce4100.txt b/Documentation/devicetree/bindings/x86/ce4100.txt index b49ae59..5a4bd83 100644 --- a/Documentation/devicetree/bindings/x86/ce4100.txt +++ b/Documentation/devicetree/bindings/x86/ce4100.txt @@ -7,17 +7,37 @@ 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@0 { + device_type = "cpu"; + compatible = "intel,ce4100"; + reg = <0x00>; + }; + + cpu@1 { + 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, a unique number assigned to each processor by + hardware. This ID is used to specify the destination of interrupt + messages with "physical" destination mode, including startup IPI. The SoC node ------------ -- 2.7.4