Received: by 10.223.176.5 with SMTP id f5csp2084455wra; Thu, 8 Feb 2018 08:12:26 -0800 (PST) X-Google-Smtp-Source: AH8x225/U6POrTGNbuCu1c64+vlqG1I5v4mT4m9nI15rNkWVv1QEKJo/pomawTwEpR4YWhhskYCY X-Received: by 2002:a17:902:8f94:: with SMTP id z20-v6mr1123458plo.72.1518106346293; Thu, 08 Feb 2018 08:12:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518106346; cv=none; d=google.com; s=arc-20160816; b=0vJB5NJ/fsBd0d1SB5Gy1QSz8th4vS3GZUe80JxNbjFfDra23m+A8NADoS4lX7YYhU F0Z1fHHtRDimH4kqV2qKaBKhpYF1vtVv7bww/hJUejKy3TTgPm4FUgd8anW2cJW8rimr NOglL424mxCUaoGkklMkClUXq17RLtvl4gBYGI2+sKNjXwg3EFrjtR7BcDtL+zjYtNTa +zho+2HiNrsn9GH1wGveRj4MYUpofxWHa2oC9mbAFNksn8KkURorzn5tVvNqfUh6KOIQ 1aqi8KMFq/5FxOe54RDUJ+6KU8X2NZfdc8awG8yDNkVwx+E5c/u38QcmJsJPZvN3KYES bg6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=8DZ63oJOsmAZ6k/1yDZ28qlFjfc4GAW8S4ZgUOPUczQ=; b=1AVK9SCf0goudFzhqND6mMkPTDKNtwYM5GM+6R195n2SfkJN9laIwqXYaAz74X+dn7 KxghvS7bIyMt+yOulHs8eibnlsZt1xRYh4/HhT97ovByGwvJ3YxFl0uAIi+Al/tzgu3p NTuFjHNZAIR6ESRV5T1flrOUEZrk63ltZApjehOSb8n6quIdqsyBxKIvcFp8Nt/EALhS HYWfV3FiyUuZWEqqSuMHhZt/sDG+u4rDQEN4dGLjDRM7UFe4vkjTWp3lw4+TuRwb+hrT inXsxaX7YvL10rZb9DIQFV1wNfEJhr8ty5FDGQGhuSfsHp5gTIFX/yUwhTVRlxMEf2a1 EiIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3-v6si148916plp.583.2018.02.08.08.12.09; Thu, 08 Feb 2018 08:12:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752087AbeBHQLO convert rfc822-to-8bit (ORCPT + 99 others); Thu, 8 Feb 2018 11:11:14 -0500 Received: from relay1.mentorg.com ([192.94.38.131]:41347 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751946AbeBHQLN (ORCPT ); Thu, 8 Feb 2018 11:11:13 -0500 Received: from svr-orw-mbx-03.mgc.mentorg.com ([147.34.90.203]) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1ejon0-0005nF-7D from Nathan_Lynch@mentor.com ; Thu, 08 Feb 2018 08:11:10 -0800 Received: from svr-orw-mbx-02.mgc.mentorg.com (147.34.90.202) by svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Thu, 8 Feb 2018 08:11:08 -0800 Received: from svr-orw-mbx-02.mgc.mentorg.com ([fe80::b428:a08e:8ebc:bfa]) by svr-orw-mbx-02.mgc.mentorg.com ([fe80::b428:a08e:8ebc:bfa%22]) with mapi id 15.00.1320.000; Thu, 8 Feb 2018 08:11:07 -0800 From: "Lynch, Nathan" To: Pintu Kumar CC: Russell King - ARM Linux , "david.brown@linaro.org" , open list , "linux-arm-kernel@lists.infradead.org" Subject: Re: [VDSO]: vdso_test failing on arm 32 bit Thread-Topic: [VDSO]: vdso_test failing on arm 32 bit Thread-Index: AQHTc2Ulwwlrt9R7NkmN9TBCT++FJaNAayyA//+BYbiAAI3OAIABKq0AgAACKQCAAF+BgIAABJMA//9/QkSAAIeSAIAAw9QAgABUFwCAV80XAIAADW/1 Date: Thu, 8 Feb 2018 16:11:07 +0000 Message-ID: <1518106267799.61329@mentor.com> References: <20171212162612.GB10595@n2100.armlinux.org.uk> <1513098352501.51185@mentor.com> <20171212172034.GC10595@n2100.armlinux.org.uk> <20171213111718.GJ10595@n2100.armlinux.org.uk> <20171213171530.GM10595@n2100.armlinux.org.uk> <1513186632784.96495@mentor.com> <20171213173956.GN10595@n2100.armlinux.org.uk> <20171214102148.GO10595@n2100.armlinux.org.uk>, In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [147.34.91.1] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > I commented the device tree reading property: > arm,cpu-registers-not-fw-configured , from the arch/arm/kernel/vdso.c Don't do that, please. The presence of that property indicates that the counter is not suitable for use by the OS. There is nothing we can do in Linux to make the VDSO useful on this system; that is why it gets disabled at runtime. The timing measurements you get are likely tainted by garbage results from the VDSO itself.