Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5977162ybl; Tue, 10 Dec 2019 14:50:17 -0800 (PST) X-Google-Smtp-Source: APXvYqwDbq0B7wcmUo0Vfs4YT+7Ookiaa8srGNwJNQsJILVPPNtb7SXI7+066HZ/Ytp15+Y+2nZ0 X-Received: by 2002:aca:5188:: with SMTP id f130mr368811oib.47.1576018217520; Tue, 10 Dec 2019 14:50:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576018217; cv=none; d=google.com; s=arc-20160816; b=zf5PjiwdOPON173AmTdI0ZJCi01eIIjtCGu7IhGjkaFAzNNWUUcWzyWtSF+f7d29rA dIphG7/K1GkrDe7ujxJv5L0mPYwQK2tCwh6fg5q1BgshCFOX4drgcsctZeZqCXd7vQA1 UnHZWlfFmT+rDZN3khHcSRSIFeLU92j1pSdHFcAi69Av4vDdJQGsVaSjPdrxAwXAC/i2 pTe5EOzz6W2jV3OsUnzpmj+8buDNRj6QQ7OYLlWk4YMgUWgUklpIA47cNVCLsNbppTzO r8+EOfvFJKfgZ9tj/o9y7d/cu2XKtqOQk3yozhSTjAV+8BHpHlFow6v8ZFP+Apq1BD4n ho0g== 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:from:date:dkim-signature; bh=toKM2TKe1TxNJ1VaQDO7o0YM+C3yJr2QelcOjh015Rs=; b=BrKyzUWxuRusHX2JJtmpJegU7eGaVI5KcsuhfI4wSoUul+nXLt2bAWppS3tl0h3FjJ /+ZuJjEoWRelF9WTNTx1UIQE2UOIK2zd8emyOBDMrurIdv0Truo52zUv62awERavlRJo g3MCz8sf5nUCP73TxUoTM0F3+s4zG1l1zjXmHUtMH8ahbew+CJ7fJyD0phiByjHFzJoR Sw/3mUqOvJ1MDjOiVjUsF1C65sN+48GcjTGs8i528NzNAnxppYbzxr7atSM0CxDfQRFm mEezKBzR1K4pzQr7jrBG9Q8K0yMiDL6z+D5BghskPRuG4nwtBPhrbZXnvA6a6AVhRUwS F2jA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=pbBYG0u1; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c1si2833060oto.91.2019.12.10.14.50.00; Tue, 10 Dec 2019 14:50:17 -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=fail header.i=@gmail.com header.s=20161025 header.b=pbBYG0u1; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726988AbfLJWsG (ORCPT + 99 others); Tue, 10 Dec 2019 17:48:06 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:34652 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726717AbfLJWsG (ORCPT ); Tue, 10 Dec 2019 17:48:06 -0500 Received: by mail-pf1-f196.google.com with SMTP id n13so600936pff.1 for ; Tue, 10 Dec 2019 14:48:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=toKM2TKe1TxNJ1VaQDO7o0YM+C3yJr2QelcOjh015Rs=; b=pbBYG0u1Bzy/q3jLJsNaX+L8CwYta1vgl3fEjO87Le/0PEWonsNYzt6cEeCGlEajq1 bIl6/U+tcxSCkHrWcKyTLeXXalBIFGyG9w2sJhFs3OJ6KbT2D1U0iJGg6WQX7p62sdrn IaiR2v3HPq+C8uf2/lv40qFshPJmmHjgA7Yvv6gYUYhWLpcw4CCRE5LqyWDrQ+q5qYCj MEgtOjQRDvHbbbBJiUWh9hJ58p48ldv1XgALOkDasSuzGGxejVOWazsEJayfrUzvwmgJ i7nnd+dTecFfTmN26NzruoJQt1UXM08L1CxOsHzKENcOS6FGW/dCXq5fQ/BtIovotY8Y iFWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=toKM2TKe1TxNJ1VaQDO7o0YM+C3yJr2QelcOjh015Rs=; b=nEtD5FgZgCDxS/FEeAvEKd9JFQQQUA2fruwMnfwLwqYNgTJRL0APRFY+xrtrMw3LFz DHYrCKzGIniC8G7TOEI8h1BX9eDV0DOJLqoaZvfc4rSQ73w8CSnatkUWOPm8MqBQv3d2 0jhoUbqyfcVeBuomem3TF4mre/0+VNciqdAd1lSOXXKsrxmONWyPlDmz/QmOl6GY0Wgx kdnsaUj2QDDkGaIQ5gPMAsAV7PpVRlR9bloTxQXcoKNC1AndQhJ7QsmW4JmriMJ/33Jq YOg1Z9nrPutXNyx+vEQT3nAbeudEIIR3oAA3LzWv2j+7XxYXCiLxrhvRmJfM7nZ7A7ro h3vQ== X-Gm-Message-State: APjAAAXoctxkNhakhNaPKyUjQHLZpBBKFIksbD0F6W9Q9F0xYmZnUQox UMw+k8ZYrs+GHStNMOYVH3g= X-Received: by 2002:a63:3d4f:: with SMTP id k76mr564419pga.310.1576018085669; Tue, 10 Dec 2019 14:48:05 -0800 (PST) Received: from localhost ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id o10sm29746pgq.68.2019.12.10.14.48.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Dec 2019 14:48:04 -0800 (PST) Date: Tue, 10 Dec 2019 14:48:03 -0800 From: Guenter Roeck To: Aaro Koskinen Cc: devel@driverdev.osuosl.org, Branden Bonaby , Florian Westphal , Paul Burton , Giovanni Gherdovich , Greg Kroah-Hartman , YueHaibing , linux-kernel@vger.kernel.org, "Matthew Wilcox (Oracle)" , Julia Lawall , Sandro Volery , Geert Uytterhoeven , Valery Ivanov , Petr =?utf-8?Q?=C5=A0tetiar?= , "David S. Miller" , Dan Carpenter , Wambui Karuga Subject: Re: [PATCH 1/2] staging: octeon: delete driver Message-ID: <20191210224803.GA3372@roeck-us.net> References: <20191210091509.3546251-1-gregkh@linuxfoundation.org> <20191210120120.GA3779155@kroah.com> <20191210194659.GC18225@darkstar.musicnaut.iki.fi> <20191210201515.GA16912@roeck-us.net> <20191210214848.GA5834@darkstar.musicnaut.iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191210214848.GA5834@darkstar.musicnaut.iki.fi> 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 Tue, Dec 10, 2019 at 11:48:49PM +0200, Aaro Koskinen wrote: > On Tue, Dec 10, 2019 at 12:15:15PM -0800, Guenter Roeck wrote: > > On Tue, Dec 10, 2019 at 09:46:59PM +0200, Aaro Koskinen wrote: > > > On Tue, Dec 10, 2019 at 01:01:20PM +0100, Greg Kroah-Hartman wrote: > > > > I have no idea :( > > > > > > It's stated in the TODO file you are deleting (visible in your > > > patch): "This driver is functional and supports Ethernet on > > > OCTEON+/OCTEON2/OCTEON3 chips at least up to CN7030." > > > > > > This includes e.g. some D-Link routers and Uniquiti EdgeRouters. You > > > can check from /proc/cpuinfo if you are running on this MIPS SoC. > > > > It also results in "mips:allmodconfig" build failures in mainline > > and is for that reason being marked as BROKEN. Unfortunately, > > misguided attempts to clean it up had the opposite effect. > > This was because of stubs hack added by someone - people who do not run > or care about the hardware can now break it for others with their > silly x86 "compile test"s. > Thast was the first breakage. The second was to replace typedefs with structures without considering that those typedefs are still used throughout the Cavium code, creating conflicts between "mystruct_t" and "struct mystruct" in various API calls. It may well be that this "improvement" was tested with x86_64:allmodconfig - if it was tested in the first place. It was most definitely not tested with cavium_octeon_defconfig, much less with real hardware. Pretty much none of the changes made to the driver in the recent past have improved it. On the contrary, it is getting worse. With no one committed to get the driver out of staging, I don't think there is a reasonable alternative to removing it. For my part I am for sure not looking forward having to deal with it breaking over and over again and having to spend time tracking down the breakage. Guenter