From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752760AbbGNOTM (ORCPT ); Tue, 14 Jul 2015 10:19:12 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:53548 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751617AbbGNOTK (ORCPT ); Tue, 14 Jul 2015 10:19:10 -0400 Message-ID: <55A51A54.7000208@mentor.com> Date: Tue, 14 Jul 2015 09:19:00 -0500 From: Nathan Lynch User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Yingjoe Chen CC: Matthias Brugger , , Russell King , , Arnd Bergmann , Stephen Boyd , , Rob Herring , , Sascha Hauer , Olof Johansson , Subject: Re: [PATCH v3 4/5] ARM: dts: mt8135: enable basic SMP bringup for mt8135 References: <1436851111-2369-1-git-send-email-yingjoe.chen@mediatek.com> <1436851111-2369-5-git-send-email-yingjoe.chen@mediatek.com> In-Reply-To: <1436851111-2369-5-git-send-email-yingjoe.chen@mediatek.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/14/2015 12:18 AM, Yingjoe Chen wrote: > Add arch timer node to enable arch-timer support. MT8135 firmware > doesn't correctly setup arch-timer frequency and CNTVOFF, add > properties to workaround this. [...] > > + timer { > + compatible = "arm,armv7-timer"; > + interrupt-parent = <&gic>; > + interrupts = + IRQ_TYPE_LEVEL_LOW)>, > + + IRQ_TYPE_LEVEL_LOW)>, > + + IRQ_TYPE_LEVEL_LOW)>, > + + IRQ_TYPE_LEVEL_LOW)>; > + clock-frequency = <13000000>; > + arm,cpu-registers-not-fw-configured; It's disappointing to see this property in new DTS submissions. It prevents taking advantage of the VDSO for gettimeofday/clock_gettime. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Lynch Subject: Re: [PATCH v3 4/5] ARM: dts: mt8135: enable basic SMP bringup for mt8135 Date: Tue, 14 Jul 2015 09:19:00 -0500 Message-ID: <55A51A54.7000208@mentor.com> References: <1436851111-2369-1-git-send-email-yingjoe.chen@mediatek.com> <1436851111-2369-5-git-send-email-yingjoe.chen@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1436851111-2369-5-git-send-email-yingjoe.chen@mediatek.com> Sender: linux-kernel-owner@vger.kernel.org To: Yingjoe Chen Cc: Matthias Brugger , devicetree@vger.kernel.org, Russell King , srv_heupstream@mediatek.com, Arnd Bergmann , Stephen Boyd , linux-kernel@vger.kernel.org, Rob Herring , linux-mediatek@lists.infradead.org, Sascha Hauer , Olof Johansson , linux-arm-kernel@lists.infradead.org List-Id: linux-mediatek@lists.infradead.org On 07/14/2015 12:18 AM, Yingjoe Chen wrote: > Add arch timer node to enable arch-timer support. MT8135 firmware > doesn't correctly setup arch-timer frequency and CNTVOFF, add > properties to workaround this. [...] > > + timer { > + compatible = "arm,armv7-timer"; > + interrupt-parent = <&gic>; > + interrupts = + IRQ_TYPE_LEVEL_LOW)>, > + + IRQ_TYPE_LEVEL_LOW)>, > + + IRQ_TYPE_LEVEL_LOW)>, > + + IRQ_TYPE_LEVEL_LOW)>; > + clock-frequency = <13000000>; > + arm,cpu-registers-not-fw-configured; It's disappointing to see this property in new DTS submissions. It prevents taking advantage of the VDSO for gettimeofday/clock_gettime. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan_Lynch@mentor.com (Nathan Lynch) Date: Tue, 14 Jul 2015 09:19:00 -0500 Subject: [PATCH v3 4/5] ARM: dts: mt8135: enable basic SMP bringup for mt8135 In-Reply-To: <1436851111-2369-5-git-send-email-yingjoe.chen@mediatek.com> References: <1436851111-2369-1-git-send-email-yingjoe.chen@mediatek.com> <1436851111-2369-5-git-send-email-yingjoe.chen@mediatek.com> Message-ID: <55A51A54.7000208@mentor.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 07/14/2015 12:18 AM, Yingjoe Chen wrote: > Add arch timer node to enable arch-timer support. MT8135 firmware > doesn't correctly setup arch-timer frequency and CNTVOFF, add > properties to workaround this. [...] > > + timer { > + compatible = "arm,armv7-timer"; > + interrupt-parent = <&gic>; > + interrupts = + IRQ_TYPE_LEVEL_LOW)>, > + + IRQ_TYPE_LEVEL_LOW)>, > + + IRQ_TYPE_LEVEL_LOW)>, > + + IRQ_TYPE_LEVEL_LOW)>; > + clock-frequency = <13000000>; > + arm,cpu-registers-not-fw-configured; It's disappointing to see this property in new DTS submissions. It prevents taking advantage of the VDSO for gettimeofday/clock_gettime.