From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752981AbdBAT4Y (ORCPT ); Wed, 1 Feb 2017 14:56:24 -0500 Received: from smtprelay.synopsys.com ([198.182.60.111]:47810 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752940AbdBAT4W (ORCPT ); Wed, 1 Feb 2017 14:56:22 -0500 Subject: Re: [PATCH 1/3] arc: vdk: Disable halt on reset To: Alexey Brodkin References: <1485967373-15273-1-git-send-email-abrodkin@synopsys.com> <1485967373-15273-2-git-send-email-abrodkin@synopsys.com> <8b857bc4-71f0-9b3b-0cd5-19b49edb2910@synopsys.com> <1485969247.5515.27.camel@synopsys.com> <0c458950-5558-0dc2-4323-c5faba757083@synopsys.com> <1485971550.5515.34.camel@synopsys.com> CC: Ruud Derwig , "linux-kernel@vger.kernel.org" , "linux-snps-arc@lists.infradead.org" Newsgroups: gmane.linux.kernel,gmane.linux.kernel.arc From: Vineet Gupta Message-ID: Date: Wed, 1 Feb 2017 11:56:12 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <1485971550.5515.34.camel@synopsys.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.10.161.38] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/01/2017 09:52 AM, Alexey Brodkin wrote: >> The whole point of adding this to defconfig is to override the default from Kconfig ? > Not anymore :) > > Since commit c4c9a040ecb7 ("clocksource: import ARC timer driver"), > see http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c4c9a040ecb7297e011e579f5a9cc280e42d725f > we have this: > ---------------------->8---------------------- > config ISA_ARCV2 > bool "ARC ISA v2" > select ARC_TIMERS_64BIT > ---------------------->8---------------------- > > which really means if one selects ISA_ARCV2 then ARC_TIMERS_64BIT gets selected automatically > and there's no way to override it from either menuconfig or defconfig. Bummer - this means VDK based off 4.9+ kernel might be affected with nsim GFRC issue ! > Probably behavior that you meant was to keep a separate "config ARC_TIMERS_64BIT" > and have it "default y if ISA_ARCV2". No, the whole point of moving it out of arch/arc was to increase test coverage etc so it was not tied to ISA_ARCV2 on purpose so that it would atleast build. Lets see what Rudd has to say abt this. But GFRC can't be used this would need fixing after all by introducing an additional ARC_PLAT_CANT_USE_TIMERS_64BIT which is def_bool set to n, but selected y in VDK Kconfig. -Vineet