Received: by 10.223.164.202 with SMTP id h10csp1287965wrb; Wed, 15 Nov 2017 17:02:44 -0800 (PST) X-Google-Smtp-Source: AGs4zMbpllb5sj+3xBq3BGavBjWZA+2XJ0B+rSky/LP5jVtTzPaJRGQ1Xv4Db2HpQIumjrnXcgFC X-Received: by 10.98.14.89 with SMTP id w86mr19955472pfi.195.1510794164344; Wed, 15 Nov 2017 17:02:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510794164; cv=none; d=google.com; s=arc-20160816; b=oUNZm6KXQmiUyexFJoEmA9MF5glyGG9jqq6mpmQm9b57clGk1VoHysVj2QMQobL6KJ fyOsgPGMyKBdXra9Glc5kRpOulgyrWioSh+YJX9o7AXvQ76luawFe3w2Jrj9KXC1yC5t /LMTWWHRr8G9TUz+2cBwC88Yf59Nsq9bc3A9DXTziQN6eWuTij8Qa2RmdhF8ImM8OG77 XaV21FjDmDC9Jo891sCeasppkzykC29V0xOald6EfWEWK/9CU2vDPDEsJ0NNtcQxGpM1 KAPiBzHXrvziuY8XeuNXaeRXa6xfunJ/RSKeLS/P+u3jav8GZEW6+Oo6l9kWTlo0yzNn u7fg== 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:arc-authentication-results; bh=NDH58+K3xuexiyPsZUyFPYFRtf4Ubtp3WLAJ3X3Aaa4=; b=Ligv+CQUBDFmZdsKOh5+juSfalgbGT2oaL8kZRjTH7aYc6KRr04mMRQjc/oioXSx7Y GEY9AGWnUQhMzgydTtMpMN/vgJGdBFep774C0tiuJsxKhsUXbRXtp2OIAopb8j1SV0y5 3C5A5IQ5owauhjCRJvgDRbDubdUcTOQE0WKbj+/MrolQYhOgNF632Lm898hbe2aj5+vs McD4Cml9Jt6T1CBcT3FiVgja2vHnyC4SKPJ/vZjek5gHggbKV21ogaokZLXhGyM8Ytcq HfZBeYKCvnjpjZHSykN7FgIVa0qoX5hU1SUo51+9OUcUXHvQqQX3kUSGJoAGP+R8Rvk+ XblA== ARC-Authentication-Results: i=1; mx.google.com; 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 f81si20708510pfj.30.2017.11.15.17.02.32; Wed, 15 Nov 2017 17:02:44 -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; 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 S933856AbdKOXeA (ORCPT + 89 others); Wed, 15 Nov 2017 18:34:00 -0500 Received: from violet.fr.zoreil.com ([92.243.8.30]:55656 "EHLO violet.fr.zoreil.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753297AbdKOXd4 (ORCPT ); Wed, 15 Nov 2017 18:33:56 -0500 Received: from violet.fr.zoreil.com (localhost [127.0.0.1]) by violet.fr.zoreil.com (8.14.9/8.14.9) with ESMTP id vAFNXi7c028816; Thu, 16 Nov 2017 00:33:44 +0100 Received: (from romieu@localhost) by violet.fr.zoreil.com (8.14.9/8.14.5/Submit) id vAFNXhB1028815; Thu, 16 Nov 2017 00:33:43 +0100 Date: Thu, 16 Nov 2017 00:33:43 +0100 From: Francois Romieu To: David Miller Cc: kai.heng.feng@canonical.com, nic_swsd@realtek.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, hayeswang@realtek.com, jrg.otte@gmail.com Subject: Re: [PATCH 1/2] r8169: reinstate ALDPS for power saving Message-ID: <20171115233343.GA28812@electric-eye.fr.zoreil.com> References: <20171115090019.23972-1-kai.heng.feng@canonical.com> <20171115.195306.1005850318419905294.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171115.195306.1005850318419905294.davem@davemloft.net> X-Organisation: Land of Sunshine Inc. User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org David Miller : [...] > The amount of coverage this change is going to get is very small as > well, meaning an even greater chance of regressions. Yes. > Therefore the only acceptable way to handle this is to have > a white-list, specific chips that have been explicitly tested > and are known to work with this feature, rather than the other > way around. > > Furthermore, you're not even checking the chip version, you're > checking instead whether the firmware is loaded or not. That > doesn't seem like a safe way to guard this at all. Actually the chip specific xyz_hw_phy_config methods call the relevant aldps enabling helper _but_ the 8168evl dedicated xyz_hw_phy_config doesn't. The firmware loaded check is just a distraction for the busy reviewer. -- Ueimor From 1584129180826269477@xxx Wed Nov 15 10:55:13 +0000 2017 X-GM-THRID: 1584123135258654096 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread