Re: [PATCH v5 2/4] Documentation: arm64/arm: dt bindings for numa.

2015-09-10 Thread Leizhen (ThunderTown)
;> On 08/29/2015 10:56 PM, Ganapatrao Kulkarni wrote: >>>> >>>> Hi Thunder, >>>> >>>> On Sat, Aug 29, 2015 at 3:16 PM, Leizhen (ThunderTown) >>>> wrote: >>>>> >>>>> >>>>> >>>>

Re: [PATCH v2 1/1] of: to support binding numa node to specified device in devicetree

2015-09-10 Thread Leizhen (ThunderTown)
Hi all, Can somebody take a few moments to review it? This patch is too small, only changed two lines. Thanks, Thunder. On 2015/8/25 12:08, Zhen Lei wrote: > For now, in function device_add, the new device will be forced to > inherit the numa node of its parent. But this will override the device

Re: [PATCH v2 0/1] of: to support binding numa node to specified device

2015-09-10 Thread Leizhen (ThunderTown)
Sorry, missed version number in title. On 2015/8/25 12:08, Zhen Lei wrote: > Changelog: > v1 -> v2: > In patch v1, binding numa node to specified device only take effect for > dt-nodes > directly of root. Patch v2 removed this limitation, we can binding numa node > to > any specified device in

Re: [PATCH v5 2/4] Documentation: arm64/arm: dt bindings for numa.

2015-08-30 Thread Leizhen (ThunderTown)
On 2015/8/29 22:56, Ganapatrao Kulkarni wrote: > Hi Thunder, > > On Sat, Aug 29, 2015 at 3:16 PM, Leizhen (ThunderTown) > wrote: >> >> >> On 2015/8/28 22:02, Rob Herring wrote: >>> +benh >>> >>> On Fri, Aug 28, 2015 at 7:32 AM, Mark Rutl

Re: [PATCH v5 2/4] Documentation: arm64/arm: dt bindings for numa.

2015-08-30 Thread Leizhen (ThunderTown)
On 2015/8/29 18:37, Benjamin Herrenschmidt wrote: > On Sat, 2015-08-29 at 17:46 +0800, Leizhen (ThunderTown) wrote: >> Why not copy the method of ACPI numa? There only three elements >> should be configured: >> 1) a cpu belong to which node >> 2) a memory block bel

Re: [PATCH v5 2/4] Documentation: arm64/arm: dt bindings for numa.

2015-08-29 Thread Leizhen (ThunderTown)
On 2015/8/28 22:02, Rob Herring wrote: > +benh > > On Fri, Aug 28, 2015 at 7:32 AM, Mark Rutland wrote: >> Hi, >> >> On Fri, Aug 14, 2015 at 05:39:32PM +0100, Ganapatrao Kulkarni wrote: >>> DT bindings for numa map for memory, cores and IOs using >>> arm,associativity device node property. >> >

Re: [PATCH 1/1] of: to support binding numa node to root subnode(non-bus)

2015-08-24 Thread Leizhen (ThunderTown)
On 2015/8/24 21:25, Rob Herring wrote: > +benh > > On Mon, Aug 24, 2015 at 7:30 AM, Zhen Lei wrote: >> If use of_platform_populate to scan dt-nodes and add devices, the >> subnode of root(such as /smmu), when being scanned and invoke > > You should have a bus as the sub-node of root rather tha