[PATCH v6 3/4] arm64/arm, numa, dt: adding numa dt binding implementation for arm64 platforms
Ganapatrao Kulkarni
gpkulkarni at gmail.com
Mon Oct 26 02:24:41 PDT 2015
On Mon, Oct 26, 2015 at 2:30 PM, Ming Lei <ming.lei at canonical.com> wrote:
> On Mon, Oct 26, 2015 at 4:24 PM, Ganapatrao Kulkarni
> <gpkulkarni at gmail.com> wrote:
>> On Mon, Oct 26, 2015 at 12:50 PM, Ming Lei <ming.lei at canonical.com> wrote:
>>> On Mon, Oct 26, 2015 at 12:53 PM, Ming Lei <ming.lei at canonical.com> wrote:
>>>> On Mon, Oct 26, 2015 at 11:50 AM, Ganapatrao Kulkarni
>>>> <gpkulkarni at gmail.com> wrote:
>>>>> On Mon, Oct 26, 2015 at 7:14 AM, Ming Lei <ming.lei at canonical.com> wrote:
>>>>>> On Tue, Oct 20, 2015 at 6:45 PM, Ganapatrao Kulkarni
>>>>>> <gkulkarni at caviumnetworks.com> wrote:
>>>>>>> Adding numa dt binding support for arm64 based platforms.
>>>>>>> dt node parsing for numa topology is done using device property
>>>>>>> proximity and device node distance-map.
>>>>>>>
>>>>>>> Reviewed-by: Robert Richter <rrichter at cavium.com>
>>>>>>> Signed-off-by: Ganapatrao Kulkarni <gkulkarni at caviumnetworks.com>
>>>>>>> ---
>>>>>>> arch/arm64/Kconfig | 10 ++
>>>>>>> arch/arm64/include/asm/numa.h | 10 ++
>>>>>>> arch/arm64/kernel/Makefile | 1 +
>>>>>>> arch/arm64/kernel/of_numa.c | 221 ++++++++++++++++++++++++++++++++++++++++++
>>>>>>> arch/arm64/kernel/smp.c | 1 +
>>>>>>> arch/arm64/mm/numa.c | 10 +-
>>>>>>> 6 files changed, 252 insertions(+), 1 deletion(-)
>>>>>>> create mode 100644 arch/arm64/kernel/of_numa.c
>>>>>>>
>>>>>>> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
>>>>>>> index 0f9cdc7..6cf8d20 100644
>>>>>>> --- a/arch/arm64/Kconfig
>>>>>>> +++ b/arch/arm64/Kconfig
>>>>>>> @@ -426,6 +426,16 @@ config NUMA
>>>>>>> local memory controller of the CPU and add some more
>>>>>>> NUMA awareness to the kernel.
>>>>>>>
>>>>>>> +config OF_NUMA
>>>>>>> + bool "Device Tree NUMA support"
>>>>>>> + depends on NUMA
>>>>>>> + depends on OF
>>>>>>> + default y
>>>>>>> + help
>>>>>>> + Enable Device Tree NUMA support.
>>>>>>> + This enables the numa mapping of cpu, memory, io and
>>>>>>> + inter node distances using dt bindings.
>>>>>>
>>>>>> Enabling the above config option can cause numa_init() warning in
>>>>>> numa-less arm64 system, please see the following report:
>>>>> this is taken care. which version are you using?
>>>>
>>>> V5.
>>>
>>> The issue persists on V6 too, so looks V7 is needed.
>> can you please share the boot log with v6.
>> you can send to me only.
>
> http://kernel.ubuntu.com/~ming/bugs/1509221/4.3-rc7-numa.dmesg
it is due to, memory nodes are getting deleted in mainline kernel and
no memory nodes are added to numa and it expects atleast 1.
thanks, this will be taken care in v7.
>
>>>
>>>>
>>>>>
>>>>>>
>>>>>> https://bugs.launchpad.net/bugs/1509221
>>>>>>
>>>>>> Thanks,
>>>>>
>>>>> Thanks
>>>>> Ganapat
>>>>>
>>>>> _______________________________________________
>>>>> linux-arm-kernel mailing list
>>>>> linux-arm-kernel at lists.infradead.org
>>>>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
More information about the linux-arm-kernel
mailing list