Received: by 10.213.65.68 with SMTP id h4csp1505195imn; Mon, 19 Mar 2018 06:08:18 -0700 (PDT) X-Google-Smtp-Source: AG47ELvG+C4hCKcFJWphTsuORoz9qwuMGrKNhMwTZWmfy0oyBaWdy864ROZe/oImNQCHaCCD5g2u X-Received: by 2002:a17:902:a516:: with SMTP id s22-v6mr12194051plq.191.1521464898630; Mon, 19 Mar 2018 06:08:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521464898; cv=none; d=google.com; s=arc-20160816; b=LZTG9mtVXAVR3CIs7bJcxn7Kd4CcHgUG1GsZomdNWXIqmeHL/Ed/b8RuogwxLMwWNw 5zY+L5MeMMjGJu+acjxbi+cuxaOYLqW4wkZvwr85UxABgtcHGw8X06I6Z61T4SZe++ei tY+Af8rLr6lokmU2DhZzemt+MpmiWYjFBfYzDYoH4xnNoXhxxW1hDak//ZmjllKmqljO MYQDHmTq0sDXxmRub2CLd7Aqfn0oRL+ah3Gz8nZNAwgyE2CdjxgbJDedvhrZOpUUZamm uGREs7H6GM53FbDMA1RSWewLisJa+Zu/pz+ABgAPXyXfpFJR+1qKGOUaBvhT4fhsPTCy X7Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=LIc4G0426CZfTa3tpWO/noX14pvNwxAk3g0y1BlfN4E=; b=iPj5LQG0eJkb/aD6IYdWXyOzUHFJl9rY5oTKdw0CwgHzlxszzuD6I29oocXB/9osAS 0bq49Zm18qZLp9YNYIw+Cj8HsKua1qisS9o4Zvr7tRtpGLZJCQj9Q8rPvNTOOxeKcGh4 AjmSgV1G4ex0uLd8UTHuK3EwT2O/l4j4ErdMvmTyVadeoQq7zuGVAueYo5Y8Np8dOOAM FLpXECGQrBtsDETTNh0jtETZ5ftqI/RuWFZqB+HpyyYql1788IuhbkrG7rNCLCzlxml4 DJy2nXovrdlQ/37ffOlOy6hHMEad3zSKvLWJibV9mz9aXpsT2m2WLJAbn7LQiMs3bqSt hwng== 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 y73-v6si4874464plh.393.2018.03.19.06.07.40; Mon, 19 Mar 2018 06:08:18 -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 S1755500AbeCSNGO (ORCPT + 99 others); Mon, 19 Mar 2018 09:06:14 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:60166 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755270AbeCSNGM (ORCPT ); Mon, 19 Mar 2018 09:06:12 -0400 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1exuUJ-0008Hh-3l; Mon, 19 Mar 2018 14:06:07 +0100 Date: Mon, 19 Mar 2018 14:06:06 +0100 (CET) From: Thomas Gleixner To: Ivan Gorinov cc: Frank Rowand , Andy Shevchenko , Linux Kernel Mailing List , Ingo Molnar , Rob Herring , Mark Rutland Subject: Re: [PATCH v6 1/2] of: Documentation: Specify local APIC ID in "reg" In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rob, On Tue, 13 Mar 2018, Ivan Gorinov wrote: > 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. Any opinion on this version? Thanks, tglx > 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 > >