Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4214497ybb; Tue, 7 Apr 2020 03:06:06 -0700 (PDT) X-Google-Smtp-Source: APiQypLSb0+0m/tjvJN+0oOE5dKV1o0vas2Sm+Nxv9cC6KGTigJzwgm2+nTWqkvRuwmmIZrrxjTz X-Received: by 2002:a9d:943:: with SMTP id 61mr895205otp.3.1586253966162; Tue, 07 Apr 2020 03:06:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586253966; cv=none; d=google.com; s=arc-20160816; b=O/aQXjNTklNvUH6FSVEE4d/EOApwR9MK6XMj8CiVUQEJxYyErVbHnBL11mI+hwHX1Y x82x6fsSS9mdVgLDrCUuQOVVqYvPtj3zZXUvP7jgvB0jqdrPlF4sntb/y8rMtUyo1ifp eRofYYfdAjtZ4/j0iXzXpqTxhSRCxtZwba2VHbWtHkruridvEhQ6wWSRrkJ+yGy8GUZw +TqLR8SklAgyshxMFs3TwfZdbKfpMeNi4A6BD1QKHbXhFn5OjhKdBRoMGcbJBhr+9V3w uvtyfIbD1qnpp0ULY4C5xC+bvU+vMrujH0uogr+X++8jvxzIewnZohxcRl+0sIuP9dzR rwBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:thread-index:thread-topic :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:dkim-signature; bh=V6OOZIcMHbA4COKeQ3vI4ZGPp1DvSViJ7U0v6oxO7OU=; b=bK1m1Wdypp5T0/oqh20nRxOD50aPADgPxxeUi1/KW+zmGIX6PGHIMdM+Dp0WfvX2Z+ qs21F1zaG+eRnhraiDKYDN1vPjrd5zS+2cqPd1AYG3Cy4UUhCycZfVHSAKiq6GrE0Gc7 5fxJXiSwV5NHtbk3ZrrM6CbkmsDquqp2AT4JzpOxoWodCYafxxTC5Yn115p+WsBxGkeN AoL1TAXeMq/pWtlwJXNJF1BEp0nUtMN/80TF7a4mkqJxPdLIZCaccxGHzVAo9p6McvkE jdSxcrP/eVtmuqB3ckd2baaWemJHRBmRcpUNRJ0EMAgT4yhfRgZvNO9ui9bkwb+0UrJa oboQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=isfvF6mP; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z126si466015oia.187.2020.04.07.03.05.53; Tue, 07 Apr 2020 03:06:06 -0700 (PDT) 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=@redhat.com header.s=mimecast20190719 header.b=isfvF6mP; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728183AbgDGKFV (ORCPT + 99 others); Tue, 7 Apr 2020 06:05:21 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:27528 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728091AbgDGKFV (ORCPT ); Tue, 7 Apr 2020 06:05:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1586253920; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=V6OOZIcMHbA4COKeQ3vI4ZGPp1DvSViJ7U0v6oxO7OU=; b=isfvF6mPKH2xlGIYjd1edvfhyc///fagGJC9FAXype1YqNJ2cQOOkHUjlZoLfT6AOrryNJ stXPOemkgLjk9+ZVsiGGI4lE3poYwP0sKCy0ROlkO47MqjetwrkkqXNzswF06n3cAgk2wk y/Xn5JmgL1nTj3RdqxT1xjawBp7KhgY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-371-QroJ8KuLO02FEL4Vw2CyIQ-1; Tue, 07 Apr 2020 06:05:12 -0400 X-MC-Unique: QroJ8KuLO02FEL4Vw2CyIQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DCBFC102C868; Tue, 7 Apr 2020 10:05:10 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 27CA394B4E; Tue, 7 Apr 2020 10:05:10 +0000 (UTC) Received: from zmail21.collab.prod.int.phx2.redhat.com (zmail21.collab.prod.int.phx2.redhat.com [10.5.83.24]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 3375E93A61; Tue, 7 Apr 2020 10:05:09 +0000 (UTC) Date: Tue, 7 Apr 2020 06:05:09 -0400 (EDT) From: Vladis Dronov To: Andrea Righi Cc: Piotr Morgwai =?utf-8?Q?Kotarbi=C5=84ski?= , Colin Ian King , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <1493646639.21012930.1586253909001.JavaMail.zimbra@redhat.com> In-Reply-To: <20200407093422.GD3665@xps-13> References: <20200309172238.GJ267906@xps-13> <1196893766.20531178.1585920854778.JavaMail.zimbra@redhat.com> <20200407093422.GD3665@xps-13> Subject: Re: [PATCH v2] ptp: free ptp clock properly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.40.208.84, 10.4.195.29] Thread-Topic: free ptp clock properly Thread-Index: WLuFyIwSVbLAUz+GYlxwZs1rVfBFIw== X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, ----- Original Message ----- > From: "Andrea Righi" > To: "Vladis Dronov" > Cc: "Piotr Morgwai Kotarbi=C5=84ski" , "Colin Ian Kin= g" , "Richard Cochran" > , "David S. Miller" , netd= ev@vger.kernel.org, > linux-kernel@vger.kernel.org > Sent: Tuesday, April 7, 2020 11:34:22 AM > Subject: Re: [PATCH v2] ptp: free ptp clock properly >=20 > On Fri, Apr 03, 2020 at 09:34:14AM -0400, Vladis Dronov wrote: > > Hello, Andrea, Colin, all, > >=20 > > This fix is really not needed, as its creation is based on the assumpti= on > > that the Ubuntu kernel 5.3.0-40-generic has the upstream commit > > 75718584cb3c, > > which is the real fix to this crash. > >=20 > > > > > I would guess that a kernel in question (5.3.0-40-generic) has th= e > > > > > commit > > > > > a33121e5487b but does not have the commit 75718584cb3c, which sho= uld > > > > > be > > > > > exactly fixing a docking station disconnect crash. Could you plea= se, > > > > > check this? > > > > > > > > Unfortunately the kernel in question already has 75718584cb3c: > > > > https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/= bionic/commit/?h=3Dhwe&id=3Dc71b774732f997ef38ed7bd62e73891a01f2bbfe > >=20 > > Apologies, but the assumption above is not correct, 5.3.0-40-generic do= es > > not have 75718584cb3c. If it had 75718584cb3c it would be a fix and the > > ptp-related > > crash (described in https://bugs.launchpad.net/bugs/1864754) would not > > happen. > >=20 > > This way > > https://lists.ubuntu.com/archives/kernel-team/2020-March/108562.html fi= x > > is not really needed. >=20 > Hi Vladis, >=20 > for the records, I repeated the tests with a lot of help from the bug > reporter (Morgwai, added in cc), this time making sure we were using the > same kernels. >=20 > I confirm that my fix is not really needed as you correctly pointed out. > Thanks for looking into this and sorry for the noise! :) Hei, great! Thank you for updating. I'm happy this situation has resolved properly! >=20 > -Andrea >=20 Best regards, Vladis Dronov | Red Hat, Inc. | The Core Kernel | Senior Software Engineer