Received: by 10.213.65.68 with SMTP id h4csp499436imn; Tue, 13 Mar 2018 10:59:32 -0700 (PDT) X-Google-Smtp-Source: AG47ELtFguVmeegNQWHylX9eInJhHfg70dvddD1oZmEYZk8Ol+lmLRD8YEfBa26nVgZWqsSgi2qc X-Received: by 10.99.66.65 with SMTP id p62mr1169212pga.378.1520963972586; Tue, 13 Mar 2018 10:59:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520963972; cv=none; d=google.com; s=arc-20160816; b=Az596EdF7d0qJb+voDjV9XG4yayqp3RX81bT4EZ43vpCLzq2aqc09dVcpEB7mc5MOl 4VyZ7xBDqkNRYNyblUfhizDsL93eevtgDLdstR3O+ok9R7VEASmDSjYDC5pmnP8xCZ96 xzubhBf0luVLjhUtS9/xbswho1vucwuKplSfqP7weHc/PGPuAVStjtHxnW8j094b+UpS j4HvyKU16Z0HxaGERQdhMH1AbilI4hSfPaD+wXPnDF1TAzCnXD8eglvgo0MX4tKmVGtj 1Yb+FWhF4NZVhg+JENYqktVBxh4aODdzcWUduTGi+hWkBxiWnn2X7shT2EGl/uM4/z+B PJwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id:arc-authentication-results; bh=hwXZcJtRbs5fqWL3fgIxFO3tMzvNC3dbc3RGjPP4gw8=; b=wkyz1mwXRuY5Og+mMFvoA+zm+cweo4rfs1lg+I58K8eAAyUUF+/TKvp7noFGA4KH00 zuAZWC6ojxVrKnS8dum2ttkQrM0uteluVDtnhsRFnfjemOXnhxX0F6pkU2Wqbe7AkMYE rCpGoocbcq7Gf//AcGNKutO4S5DBn4A61IvDKLQM3rYMj2KHT45Z9072c8lSsFWH6iM+ rMlpAwoi5QkNBNhB54OwKOOd+C4YDgoMznBDmgMwtELUC3e2PCs44X7TFD4dU174/BZi tK3cJE1vaohuY3u/vw5t9Bi5TvkRnUWhWjb9G3G39bvfWHZltspz7UDyhvRlrxzMCmMm m5mg== 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 t25si436091pge.26.2018.03.13.10.59.18; Tue, 13 Mar 2018 10:59:32 -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 S1752454AbeCMR5z (ORCPT + 99 others); Tue, 13 Mar 2018 13:57:55 -0400 Received: from mga01.intel.com ([192.55.52.88]:5920 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751529AbeCMR5y (ORCPT ); Tue, 13 Mar 2018 13:57:54 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Mar 2018 10:57:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,465,1515484800"; d="scan'208";a="23974751" Received: from dph9ls1.fm.intel.com ([10.80.209.182]) by fmsmga007.fm.intel.com with ESMTP; 13 Mar 2018 10:57:53 -0700 Message-ID: <1520963414.38672.31.camel@intel.com> Subject: Re: [PATCH v5 1/2] of: Documentation: Specify local APIC ID in "reg" From: Ivan Gorinov To: Mark Rutland Cc: Thomas Gleixner , Frank Rowand , Andy Shevchenko , Linux Kernel Mailing List , Ingo Molnar , Rob Herring Date: Tue, 13 Mar 2018 10:50:14 -0700 In-Reply-To: <20180313110153.vdtgljcvsbwiixwx@lakrids.cambridge.arm.com> References: <20180313110153.vdtgljcvsbwiixwx@lakrids.cambridge.arm.com> Organization: Intel Corporation Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2018-03-13 at 11:01 +0000, Mark Rutland wrote: > > + cpu@1 { > > + device_type = "cpu"; > > + compatible = "intel,ce4100"; > > + reg = <0x02>; > > + }; > The unit-address (the bit after the '@' in the node name) should match > the reg, so this node should be named cpu@2. OK > > -The reg property describes the CPU number. The lapic property points to > > -the local APIC timer. > Why was the lapic phandle removed? The "lapic" node may not be required. Local APIC is an essential part of every logical CPU described by a "cpu" node, with registers accessed as memory-mapped I/O (except for x2APIC mode). Current implementation of local APIC kernel driver requires base address to be the same on all CPUs, default 0xfee00000. If the base address is changed by firmware, one optional node can describe new address for all CPUs.