From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S642546AbdD1Tzu (ORCPT ); Fri, 28 Apr 2017 15:55:50 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:58462 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423598AbdD1Tzn (ORCPT ); Fri, 28 Apr 2017 15:55:43 -0400 Date: Fri, 28 Apr 2017 15:55:40 -0400 (EDT) Message-Id: <20170428.155540.1957134198035319334.davem@davemloft.net> To: arnd@arndb.de Cc: grygorii.strashko@ti.com, nicolas.pitre@linaro.org, w-kwok2@ti.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, tony@atomide.com, linux-omap@vger.kernel.org Subject: Re: [PATCH] [4.11 regression] cpsw/netcp: refine cpts dependency From: David Miller In-Reply-To: <20170428150358.1537030-1-arnd@arndb.de> References: <20170428150358.1537030-1-arnd@arndb.de> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 28 Apr 2017 12:14:17 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann Date: Fri, 28 Apr 2017 17:03:58 +0200 > Tony Lindgren reports a kernel oops that resulted from my compile-time > fix on the default config. This shows two problems: > > a) configurations that did not already enable PTP_1588_CLOCK will > now miss the cpts driver > > b) when cpts support is disabled, the driver crashes. This is a > preexisting problem that we did not notice before my patch. > > While the second problem is still being investigated, this modifies > the dependencies again, getting us back to the original state, with > another 'select NET_PTP_CLASSIFY' added in to avoid the original > link error we got, and the 'depends on POSIX_TIMERS' to hide > the CPTS support when turning it on would be useless. > > Cc: stable@vger.kernel.org # 4.11 needs this > Fixes: 07fef3623407 ("cpsw/netcp: cpts depends on posix_timers") > Signed-off-by: Arnd Bergmann Applied, thanks Arnd.