Received: by 10.223.176.5 with SMTP id f5csp2129237wra; Thu, 8 Feb 2018 08:54:42 -0800 (PST) X-Google-Smtp-Source: AH8x2247fdH7i4JDYDIyLOcqy+M7Qwke0WEyBY2SQlnKQpOlQf7J+UqR1XklU6vyY0maB5jKEMwT X-Received: by 10.99.43.73 with SMTP id r70mr1051946pgr.316.1518108882073; Thu, 08 Feb 2018 08:54:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518108882; cv=none; d=google.com; s=arc-20160816; b=PHhgu11etMdVdWVODV/iyFCFr5e6qH6knGTz1Um4A08olidBB2JvW4PTgD8qXPsvRR t8kkR5nR+Fi6pxjKZN/odKNFwAOajr3OUryX7v+LZPb2evkwXa+8JXE5TGSVOQnEx3mM 1EzPstqb++eIjDCvBIVFcjSjvdV9nX0GR+PSNWEWBFU+ZhsKA6yh6zwWLeAn5b8loXIC QuqPNjVu/Y4wkuu244Fh6m8vY4Q4T0aGZdCz5/svwbEvZ+F9PBKRM7yeMVxdRk1YV6ay bQUlf5K6+o+/adKerL6T1is28T6y3ys7Kg0xR1Zl38OhI0vD+yiD3dkz1jx7m7Kx2zJD /A2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=4jKDiv6YAVyUBGRLr0zkitRbh3YLavC8QqeYwpk5nnc=; b=Q44nfOj9yQZflVnt7kj+cwTqiuKt23wj63iGKfO7B3FT8FFKyR07kOffTMdFmjWkvK Ve/IntNSjWb3k75U6oXQ7vb1LFQgrap8mh3ODfomEWrC0hWcgu/65OqRSprNwPU7Oxbc bC2ImDUpNX4MT573L9RZRP+RU3eFF9CxJgkUxW/3MKypoS41nKTQmDqI1GQF5ZTPS/tB iUKEKPMFU71htDSRUc0FyfuI+LHd0SeQG7K5NtWnv8H1FFQNRQ/svK121VZ9r09IzxuZ 0OwC533zhAa0NbyjFG05VyNZNHc514pz28W1Dt+HxPjF4NJ5neT70KyjjuRb0G4lJ8M1 vsPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dGDKEtuP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h132si228763pfe.169.2018.02.08.08.54.26; Thu, 08 Feb 2018 08:54:42 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dGDKEtuP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752231AbeBHQxX (ORCPT + 99 others); Thu, 8 Feb 2018 11:53:23 -0500 Received: from mail-ua0-f195.google.com ([209.85.217.195]:41012 "EHLO mail-ua0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752208AbeBHQxW (ORCPT ); Thu, 8 Feb 2018 11:53:22 -0500 Received: by mail-ua0-f195.google.com with SMTP id f5so3310310ual.8 for ; Thu, 08 Feb 2018 08:53:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4jKDiv6YAVyUBGRLr0zkitRbh3YLavC8QqeYwpk5nnc=; b=dGDKEtuPWzp/2TqDzB/zIWrksDGo3d7AHfcqgrbA3oEmeO8HFU0EhRLNUYXR4ITPwa 8aT5iZOYZyNMd9MkOImcBcFlWXGJX3uaSTyZMpr5AksW/99ToDo/OJb3y8w1pyWH5gVm NC6RSZe+c5izw7gIVq+VwFH18cDruIacQFbl3d+Zj52sWuyHnF4fDOEQOtJDZdC18wZ2 d/LaCWEkt72MUCtg6jLXpBzsSpcXE0oyw4tM6mqdlVGlt26x7VbysU13F9BDrUZMOVMc LTyirO9W94oXT0qUHz/W4kSAY/AeG5+L8jUDNbwXio3sBSGkJNIXaDsadB+vNW/ZJ0mo egRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4jKDiv6YAVyUBGRLr0zkitRbh3YLavC8QqeYwpk5nnc=; b=L07OTyEm7NLLpuEtugxBy5tm469Fq9HK1Ft59BUtmkqoQkf28ptjGgqLZiflN2dfCI cGLOLtdohB1HONoEWfH/eQxwfUKkL9SEQV3ISw4DsdeDwzNBW1XZ/qDPnrydHOWevf4r +kBuHiaHGmEsDeElGuoYJmGFNne95czZ3BBxzjI7WGLox3z/WwbVK1tLEwY3nxbrGNrR MalTHTT53J2hRJLRnTYU9dYSVgJfempm8kPnqzSb+UcwkdxHqgCqJ6txsZAm2PjwC8SI kdjjN6cSrLj3oQ9cWobUDWJS2/Pvmpe9RmViWw6VGjlHOmia9HqXcTMVRUM0X+/W84JP QTfA== X-Gm-Message-State: APf1xPAues37N8H7hN0SX9xqqb3X8/NnKwDzAwBJ282gtsN7+nvyv+jJ +MFAM6sjG3WR3tgifeGwljqzO7LKihK5pNsTGe0= X-Received: by 10.176.112.181 with SMTP id q21mr1039844ual.105.1518108801285; Thu, 08 Feb 2018 08:53:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.85.216 with HTTP; Thu, 8 Feb 2018 08:53:20 -0800 (PST) In-Reply-To: <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> <1518106267799.61329@mentor.com> From: Pintu Kumar Date: Thu, 8 Feb 2018 22:23:20 +0530 Message-ID: Subject: Re: [VDSO]: vdso_test failing on arm 32 bit To: "Lynch, Nathan" Cc: Russell King - ARM Linux , "david.brown@linaro.org" , open list , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 8, 2018 at 9:41 PM, Lynch, Nathan wrote: >> 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. OK thank you for your feedback. But, we wanted to know, why vdso call timing is very high here. What does this timing indicates? gettimeofday: vdso: 4171 nsec/call 1) How to decide whether to enable or disable VDSO in the system, if its not suitable. Because in a VDSO enabled system, when we use gettimeofday API, we see that its not falling back to the systemically, but may rather return a garbage value from vdso itself. If that is the case, shall we disable CONFIG_VDSO itself or keep it as it is ? Please suggest your opinion. 2) Can you list down 1-2 arm 32-bit board, where VDSO can work perfectly ? This will be really helpful for us to take some decision. Thank You! Pintu