Received: by 10.223.164.202 with SMTP id h10csp178839wrb; Tue, 7 Nov 2017 04:52:56 -0800 (PST) X-Google-Smtp-Source: ABhQp+TavhgoNnDrbOtb1SBWJAH3bU/1OBRyfnejdbv7IgTno92WM1JxNuBz9P60B5ZS0oroXdLK X-Received: by 10.99.96.87 with SMTP id u84mr174646pgb.407.1510059176141; Tue, 07 Nov 2017 04:52:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510059176; cv=none; d=google.com; s=arc-20160816; b=PzJoqNfJsBHWGwmBD3Z0vcw6bM36nE+F+yUxN02/O40iHgGUqM4Z6ydt2FV+N4raas /IICPKKgk1+ZNoq8kafMMW97TV9WTHO2O2Drsfa5GfQXE8X1q7boXJUYYBvsAg2rcgQb 2anVaI2HdsehybP7JL1xjibr4UTaXOZqfkzD6aIhZQSKz4u4fR6CdzoY10FbiQHvriKQ LGZmFlXo9pduUqklfNjRVUyi6sMxjAvUCuSfvzu16GksCwZ1apEwBxjkOs4YDtCAHciE dnz0gOvDyd3mEe8Ta/1z0+R5CIQzpe58KWj6L8gfbkdIVmizHcltGt9ErVCYDjrBTr4z k1sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:cc:to:subject:dkim-signature :dkim-filter:arc-authentication-results; bh=xBIkZaDhj0OqzxK9g04woCZQ7clTB8jsAMWxQpOg0+Y=; b=xyaYoUWeXVEKpPidF6alOrAKvCCaiJOTke2ikkn8tM9PqfpeVwwu5jOwhHdiSPnzaf tdKUY8Sd4Ha8ZAcXT7VqY+5C4f++5edRRxIOCOqfrNMnovaZ5hA7xOugMtSeMEfCTFJc LIylNJf74FebwdL7z4bi2VxMz//BJPTCMBc0Q+Z/zRm334QlfYwyuUwUP+9wQjzismtb QMGg9IEGRGskj/MT3TLai1NQm44GuFCjhyiDx/OPIWRUOQjpp5+9tKdQWzTHFi3wpZiL k83evBEh7Y5s0b0yzDIJjIJzhEcKkx+MvNERk8Ux1Z/F3krDBbkmOda2Q1J8DbFPMSH+ jaWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=dQ5SQP2Q; 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=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x10si1123398plv.297.2017.11.07.04.52.43; Tue, 07 Nov 2017 04:52:56 -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=@samsung.com header.s=mail20170921 header.b=dQ5SQP2Q; 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=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933127AbdKGLWQ (ORCPT + 91 others); Tue, 7 Nov 2017 06:22:16 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:50406 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752069AbdKGLWO (ORCPT ); Tue, 7 Nov 2017 06:22:14 -0500 Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20171107112212epoutp03442b9d2588f29b74a7a49cf9911c0685~0yd56dFng2687426874epoutp03I; Tue, 7 Nov 2017 11:22:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20171107112212epoutp03442b9d2588f29b74a7a49cf9911c0685~0yd56dFng2687426874epoutp03I DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1510053732; bh=xBIkZaDhj0OqzxK9g04woCZQ7clTB8jsAMWxQpOg0+Y=; h=Subject:To:Cc:From:Date:In-reply-to:References:From; b=dQ5SQP2Qy6yfZyIXsE5MfKazzGNwvGVaB51uTHovcs3Jd02wxzWeZHT8sgSYCG2TK dTLX4CfOAQfYZreYHa+Dy7gXaCmRSw6RWfeTR4bR3tWrsSYH7XCJB8dyN2DLXdfruD K1DWM2X+2cG4P+zexlF3QKnE5mNd6Izsz4ah+gGw= Received: from epsmges2p2.samsung.com (unknown [182.195.42.70]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20171107112211epcas2p49a5b82a0c6c768bb57bcf5744622af56~0yd5Mtb3M1294912949epcas2p4T; Tue, 7 Nov 2017 11:22:11 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id E4.3E.04298.367910A5; Tue, 7 Nov 2017 20:22:11 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20171107112210epcas2p4ad5614b3ae7731a85de3c6fc53267590~0yd4CtFix1508715087epcas2p4U; Tue, 7 Nov 2017 11:22:10 +0000 (GMT) X-AuditID: b6c32a46-46dff700000010ca-46-5a019763fc66 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 8E.05.03859.267910A5; Tue, 7 Nov 2017 20:22:10 +0900 (KST) Received: from [106.116.151.61] by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OZ100KKZOWU55C0@mmp2.samsung.com>; Tue, 07 Nov 2017 20:22:10 +0900 (KST) Subject: Re: [PATCH 2/2] usbip: use monotonic timestamps To: Arnd Bergmann , Valentina Manea , Shuah Khan , Greg Kroah-Hartman Cc: Johan Hovold , Felipe Balbi , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org From: Krzysztof Opasiak Message-id: <93e30403-bfe3-9547-122b-bb4955d264be@samsung.com> Date: Tue, 07 Nov 2017 12:22:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-version: 1.0 In-reply-to: <20171107104010.2884193-2-arnd@arndb.de> Content-type: text/plain; charset="utf-8"; format="flowed" Content-language: en-US Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNKsWRmVeSWpSXmKPExsWy7bCmqW7ydMYogz9f1S3+TjrGbjH/ZpJF 8+L1bBZNN3pYLS7vmsNmsWhZK7PFlJfr2C3eXZrL7sDh8fvXJEaPnbPusntsWtXJ5jHvZKDH /rlr2D0+b5ILYIvisklJzcksSy3St0vgyvh75QBjwRO2ioWtt5gbGI+ydjFyckgImEic2P+G EcQWEtjBKDF/u2cXIxeQ/Z1R4tHeVkaYolNT+1kgijYwSryY6AJRdJ9RYvPi7cwgCWEBC4lT Sw+ygCREBJYwSux99hzMYRboZZS4NXcv0CgODjYBfYl5u0RBGngF7CTmbv3IBGKzCKhKPLjf ygZiiwpESFzY9JMJokZQ4sfke2CbOQVMJWZ/3QkWZxawknj2r5UVwhaXaG69yQJhy0tsXvOW GWSvhMBtNolZd8+wQ7zgItHd94QZwhaWeHV8C1RcWuLZqo2MEA3rGCUubH3ABpHYzSjR8jQa wraW+LNqIhvEBj6JjsN/2UGekRDglehoE4IwPSTmn4OqdpR4vryHBRJCmxklvqxsZpzAKDcL yT+zkPwwC8kPs5D8sICRZRWjWGpBcW56arFRgZFecWJucWleul5yfu4mRnCS0XLbwbjknM8h RgEORiUe3hkHGaKEWBPLiitzDzFKcDArifBuVwcK8aYkVlalFuXHF5XmpBYfYpTmYFES563b di1CSCA9sSQ1OzW1ILUIJsvEwSnVwFh5fn1+doL2rwn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6fc53267590 X-Msg-Generator: CA CMS-TYPE: 102P X-CMS-RootMailID: 20171107104035epcas5p3b6a2556146de0340d762701451aeb1d2 X-RootMTR: 20171107104035epcas5p3b6a2556146de0340d762701451aeb1d2 References: <20171107104010.2884193-1-arnd@arndb.de> <20171107104010.2884193-2-arnd@arndb.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/07/2017 11:39 AM, Arnd Bergmann wrote: > This gets rid of the deprecated do_gettimeofday() function in usbip. > The comment above vgadget_get_frame() mentions that it suffers > from issues with the time jumps due to suspend and settimeofday, > so I'm changing it to use ktime_get_ts64() to use monotonic times > that don't have this problem. > > I couldn't tell whether we should use CLOCK_MONOTONIC or > CLOCK_MONOTONIC_RAW here, the difference being the exact rate > when correcting for NTP. I picked monotonic time since it doesn't > change the speed to the existing code and should be better > synchronized with other machines we talk to. > > Signed-off-by: Arnd Bergmann Looks good to me: Reviewed-by: Krzysztof Opasiak -- Krzysztof Opasiak Samsung R&D Institute Poland Samsung Electronics From 1583410561818571461@xxx Tue Nov 07 12:33:05 +0000 2017 X-GM-THRID: 1583410561818571461 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread