From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752110AbbGPOoT (ORCPT ); Thu, 16 Jul 2015 10:44:19 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:45197 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750769AbbGPOoQ (ORCPT ); Thu, 16 Jul 2015 10:44:16 -0400 X-Listener-Flag: 11101 Message-ID: <1437057851.19585.2.camel@mtksdaap41> Subject: Re: [PATCH v3 4/5] ARM: dts: mt8135: enable basic SMP bringup for mt8135 From: Yingjoe Chen To: Nathan Lynch CC: Matthias Brugger , , Russell King , , "Arnd Bergmann" , Stephen Boyd , , Rob Herring , , Sascha Hauer , Olof Johansson , Date: Thu, 16 Jul 2015 22:44:11 +0800 In-Reply-To: <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> <55A51A54.7000208@mentor.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2015-07-14 at 09:19 -0500, Nathan Lynch wrote: > 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. > Hi, I know. But unfortunately this is a more then 1 year SoC, so I can't do anything to change this :( Joe.C From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yingjoe Chen Subject: Re: [PATCH v3 4/5] ARM: dts: mt8135: enable basic SMP bringup for mt8135 Date: Thu, 16 Jul 2015 22:44:11 +0800 Message-ID: <1437057851.19585.2.camel@mtksdaap41> References: <1436851111-2369-1-git-send-email-yingjoe.chen@mediatek.com> <1436851111-2369-5-git-send-email-yingjoe.chen@mediatek.com> <55A51A54.7000208@mentor.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <55A51A54.7000208@mentor.com> Sender: linux-kernel-owner@vger.kernel.org To: Nathan Lynch 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 Tue, 2015-07-14 at 09:19 -0500, Nathan Lynch wrote: > 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. > Hi, I know. But unfortunately this is a more then 1 year SoC, so I can't do anything to change this :( Joe.C From mboxrd@z Thu Jan 1 00:00:00 1970 From: yingjoe.chen@mediatek.com (Yingjoe Chen) Date: Thu, 16 Jul 2015 22:44:11 +0800 Subject: [PATCH v3 4/5] ARM: dts: mt8135: enable basic SMP bringup for mt8135 In-Reply-To: <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> <55A51A54.7000208@mentor.com> Message-ID: <1437057851.19585.2.camel@mtksdaap41> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, 2015-07-14 at 09:19 -0500, Nathan Lynch wrote: > 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. > Hi, I know. But unfortunately this is a more then 1 year SoC, so I can't do anything to change this :( Joe.C