Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp627565imp; Wed, 20 Feb 2019 06:21:35 -0800 (PST) X-Google-Smtp-Source: AHgI3IYIkc6kOoIl/6vKf8HNBz+mgaTy+UvHtX5KQBjpNpEE1MCMdDRWfRVsoOIRS42nvUh6kTXX X-Received: by 2002:a65:520a:: with SMTP id o10mr30147640pgp.276.1550672495839; Wed, 20 Feb 2019 06:21:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550672495; cv=none; d=google.com; s=arc-20160816; b=sM30HQOyVmQSYWA70U3C7ykHXXL7iKZ8Q+2p37ful4W45QAdSYmNtmBuLiVOdNtQl5 05XE2LjVXVmNV2Wpvt58CXb9CsOtFtY0SpX9zChtHnNKczEwy9L3b3K1Wnm9qJVtZgJ6 ABH8MrK+w/kHQGEf1gKVJnia3sG4FhyQ+fFlBJYtYXnVRrGQpjugDuTT8+yLXSofp9rP 78NOmm5CqqM28Kn/WYzF647uZnSp6m182jrNqECUziJnsVa6z7yBiqXJZt3Aiy5BbGru 9nfCzerwRUkxCV6mmqhk13ZrB/puiWJ2MaGzoMql4OWZFjp4wLPBnCl+26RXJKqgvWXv SeZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:date:from:dkim-signature; bh=d10T8Qb8T6YqSJQjLCtarTiTa1wnyyWwawmdGjebrZw=; b=BX90UEgh1rJfNCWykJ9pVxhvFGWmxVSgnKUVE7aWDPNVZSUgoVroZeHxXcx+AVGAH0 NUxnNef/kwxnVwAbpkMhnwkWn3/qOu6BHV04CP9P7xL+mYxNq68KaU9lpqdjSlRSSw7Y wNoqZBGb6rkD3xMyf6SGQ/syqm8HnLsZpAhfQSHRiMLJ9z8P+imS5mYgP+tJjSd9mtvi UOVJeSM/u1aVaut9Y87AdT/CV1YYPfvz2BjXaf7+fzjAxLiEIF7H5LOpoYB/s5Z6Y5CY myrvo7MPqAae9PtHjtn/IFxHQz6CHJj6ORgKyMKjiYM7EYthojzWlQAEuGOHObxIeFPD 1qJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HBklJPaf; 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 x8si19280942plv.137.2019.02.20.06.21.19; Wed, 20 Feb 2019 06:21:35 -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=HBklJPaf; 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 S1726620AbfBTOUx (ORCPT + 99 others); Wed, 20 Feb 2019 09:20:53 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:38832 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726194AbfBTOUx (ORCPT ); Wed, 20 Feb 2019 09:20:53 -0500 Received: by mail-lf1-f66.google.com with SMTP id n15so17702879lfe.5 for ; Wed, 20 Feb 2019 06:20:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=d10T8Qb8T6YqSJQjLCtarTiTa1wnyyWwawmdGjebrZw=; b=HBklJPafqUxctVmPTVB1OpZXMZgvTvaXbmBDAjGUlGzg0yqvZX82OZ1L3aW+Y8UAxE dyn+r4iXwfGRB5DDexI3nL9OHzOpaL+CSTp4YQGFnkF7woUL0J5arwM5irNcn6A8SrFe OYAsNcMs5bgaW3PvLvghuW+Xnd7FS9aDUqDfYoVrdQYxFmfBkikEX1NPi3TC+mFlfksL qTs/fuIPd/G1LVShsmjpGbk1rVjSAm41Omv9Kj1ACne7XKn3q43yBn6FVNlYKN8aeOw5 /EVltXMtmU5J4VkNO6Ajbocw1DRb0Bl1hmFa7uXTmtPhc+qo3p1JcPjHHaKde/RU2Qy9 qwcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=d10T8Qb8T6YqSJQjLCtarTiTa1wnyyWwawmdGjebrZw=; b=rAn7W+QJ/LYvnzJZmBrXqqHYE/EkbLJ9okWmlJqnLgbhFie1QS9L0pl9F90CfJkZmt jbxrvlyCUzADLQmRhld5Ru9AXnV8LoHTSDSbzUSBuntrUeBBSBT4ZQU6zq2EJs+HIb/4 L4LCRbyWJWJXykWw8mW1pwEVBquEU2xUsngU6+6iP6Ax2yU3okTiXhVFiFHh8z6wPgdz pX6lI2cqbNQR573NZr5PVoMYF8xB6gc1++eYCPRFgydEGz3JBvX/tG4cy7/cHZKS8Pdf wP4jbV68n0keVp5vhwrA76uzldjBKF+2j+mkeIrAVjnJsPOtDG12bVrUeBiqv8QXRpPQ UNvA== X-Gm-Message-State: AHQUAuajFpEiP70DP9LlaBZmY7NmM1xUbtEKVthFrmTnvzlO9xS0EKvM JJTfIom/SJV/DobrOH4w7WE= X-Received: by 2002:ac2:52ad:: with SMTP id r13mr6627564lfm.50.1550672450730; Wed, 20 Feb 2019 06:20:50 -0800 (PST) Received: from localhost ([188.162.52.148]) by smtp.gmail.com with ESMTPSA id p5sm5048450ljg.44.2019.02.20.06.20.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Feb 2019 06:20:49 -0800 (PST) From: Yury Norov X-Google-Original-From: Yury Norov Date: Wed, 20 Feb 2019 17:20:48 +0300 To: Andy Shevchenko Cc: Yury Norov , Andrew Morton , Arnd Bergmann , Dmitry Torokhov , Kees Cook , Matthew Wilcox , Michael Ellerman , Rasmus Villemoes , Tetsuo Handa , linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/6] lib/test_bitmap: switch test_bitmap_parselist to ktime_get() Message-ID: <20190220142048.GA20929@yury-thinkpad> References: <20190220083705.14050-1-ynorov@marvell.com> <20190220083705.14050-5-ynorov@marvell.com> <20190220135101.GU9224@smile.fi.intel.com> <20190220135236.GV9224@smile.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190220135236.GV9224@smile.fi.intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 20, 2019 at 03:52:36PM +0200, Andy Shevchenko wrote: > On Wed, Feb 20, 2019 at 03:51:01PM +0200, Andy Shevchenko wrote: > > On Wed, Feb 20, 2019 at 11:37:03AM +0300, Yury Norov wrote: > > > test_bitmap_parselist currently uses get_cycles which is not > > > implemented on some platforms, so use ktime_get() instead. > > > > This sounds like a fix that should go first in the series. > > Ah, okay, it's already first for test module. > Perhaps Fixes tag and actually one or more examples of such architectures? Hi Andy, thanks for your time on it. Only arm, arm64, openrisc, riscv and sparc64 #define get_cycles. So IIUC, others take stub from include/asm-generic/timex.h. sparc32, xtensa, m68k, um, and in some cases x86, mips and nios2 provide zero-stubs explicitly. Yury > -- > With Best Regards, > Andy Shevchenko >