Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp7155436imm; Sun, 20 May 2018 20:14:37 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrq4oXQLs2/ZN+DI7kxVcQTpqMJz+Xa4mMz0bhGwd4YoFOKAhj16DhZh4Z/SOIQSMq7U9D5 X-Received: by 2002:aa7:819a:: with SMTP id g26-v6mr18533525pfi.210.1526872477561; Sun, 20 May 2018 20:14:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526872477; cv=none; d=google.com; s=arc-20160816; b=JtNGAh+G3SiHgQNBDDVINzl9DDwYCZZHlZvu5VaBsPaf+CHbhhRDXyoqUbNdGDBBno 11CeHLsi5WJAb2eVQ7at4wBqjYoK6+yD6fgyQYVweZrxld6deQNPNtv/VI4dmjcUO3sH xD33wjciqwJQyUugRRC0h6CetNKmNvMUzlwoiegIjfciRbPbr5p45Fy99CHOr4vXXWzJ cZnLYF6Xz2nwpz/F4inKzj84yAOuldQmUCD26J79g8wBZxvQH0VzdetB7IWTKZhtf7/H FbYoTdRXwnEgxQaOyR3Mn9Wbfpoy56iBg05PDXjjq8NcFUiDAyO1ADX19GcVSckXRGtN 0RuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:arc-authentication-results; bh=h1U2J40SHEo57IqTdDlTorC9KCHihPbeLeHSUuWyQs0=; b=KImEmk2U8BW2gyr5BYCaGoxRrdzFrVz2ZW8wTPyI9CV3TQBEHm6jNjWkYau2qU8ANH nr0qctWb2igdUJ6CQDmVp5Qjgq1DNc2qfjS2sB8REgwldlJ/5FZctAb/MsNmjiCfQ4eU CC77wTnAAATrynGB9ZbOaxu6H6SK7UJx9qaifkzciwLcEVtBsZZGltz1PWLJyLhkJoXe QRhjtYRTjL7YcB7wKwO1NerGiXVbGbFKX/JjRPWCuzrjCGroJWvU9V89+KelL6lie1oi s5AhEbNvZ9JHvfBqFuU6fPPw354Bi0OjAR0nm6KHvYCmsN8ae1N8gdz39T3yJqEqV2VC 3xhQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z8-v6si4867619pge.271.2018.05.20.20.14.23; Sun, 20 May 2018 20:14:37 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752643AbeEUDOG (ORCPT + 99 others); Sun, 20 May 2018 23:14:06 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:35022 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752291AbeEUDOD (ORCPT ); Sun, 20 May 2018 23:14:03 -0400 Received: from mail-wr0-f199.google.com ([209.85.128.199]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1fKbGs-0007Gu-2G for linux-kernel@vger.kernel.org; Mon, 21 May 2018 03:14:02 +0000 Received: by mail-wr0-f199.google.com with SMTP id f23-v6so10615152wra.20 for ; Sun, 20 May 2018 20:14:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=h1U2J40SHEo57IqTdDlTorC9KCHihPbeLeHSUuWyQs0=; b=i6Biy7vxQDvmXSKy4aEQCeO0ZhSQyPalylPO/eTw11nlU+P2siOgHrV5xyHfA4meKi Xn+jcwn/Z8xbuNenth1WYRxud+CjHgMSSFzaJGCIsfBXsN0rhy/Vi+QnKUGsTwwkj9xn qce2prybweILyUyZ514q83fDWp/16DE1JuxPpJ1RyiKW2w+Fah2BHW6SzuZYt4hKSAUD +zvaPy72eYatxB35TljSyA8xT2zixqS3h2SDWR3WWsEI+s+TsvOAyazCJtJB9d3TOna0 se1KfSmGUH1tS1tk3wFDbtFfm4aEaORQSidacOGNfPvjMIDyZQX/RCgTXLPMsUOjaDKB uW7w== X-Gm-Message-State: ALKqPwcSMczDYjRUiwD/ufn/ah5GJdm0fuT56lkJ6b2opJqbFjna5ken TVbqqaGF9IonMweLa0mKxbi6UwcjPsf91FcPo+5C3Q32n7QWLmlFmUREqDhmIu8aZ1N9q8M/Dqy jZpEaEXeSatNf6DiLozIbrApj6zjwP+G0qWmsdrpS5P0iBBRi8CXnhsG3kg== X-Received: by 2002:adf:df81:: with SMTP id z1-v6mr8610812wrl.49.1526872441793; Sun, 20 May 2018 20:14:01 -0700 (PDT) X-Received: by 2002:adf:df81:: with SMTP id z1-v6mr8610796wrl.49.1526872441468; Sun, 20 May 2018 20:14:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.188.65 with HTTP; Sun, 20 May 2018 20:14:00 -0700 (PDT) In-Reply-To: <20180514.093504.1396660355199793729.davem@davemloft.net> References: <20180514032839.32079-1-acelan.kao@canonical.com> <20180514.093504.1396660355199793729.davem@davemloft.net> From: AceLan Kao Date: Mon, 21 May 2018 11:14:00 +0800 Message-ID: Subject: Re: [PATCH v2] Revert "alx: remove WoL support" To: David Miller Cc: James Cliburn , Chris Snook , rakesh@tuxera.com, netdev@vger.kernel.org, Emily Chien , Andrew Lunn , "Linux-Kernel@Vger. Kernel. Org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi David, We are willing to fix the issue, but we don't have a machine to reproduce it, and the WoL feature has been removed 5 years ago, it's hard to find those buggy machines. WoL is a feature that is only used by a very small group of people, and the wake up issue looks like only happens on some platforms. Which means only small part of the group of people are affected. So, it's not a serious issue worth to remove it from alx driver. As the commit describes, WoL is required to pass E-Start 6.1, and taking secure boot into account, we can't keep distributing "alx driver with WoL" dkms package, so we really need this feature to be built in the kernel. There are some solutions to fix it. 1. Add WoL feature back, and we will try our best to fix the wake up issue if we encounter it or users report it. 2. Add WoL feature back and add an driver option to disable it by default, so that it won't create any regression and user can enable it by kernel cmdline. 3. Add WoL feature back and create a white list in the driver, we'll add those platforms we tested to the list. 4. or create a blacklist to list machines which are reported buggy. Could you let me know which solution is more feasible for you? Thanks. Best regards, AceLan Kao. 2018-05-14 21:35 GMT+08:00 David Miller : > From: AceLan Kao > Date: Mon, 14 May 2018 11:28:39 +0800 > >> This reverts commit bc2bebe8de8ed4ba6482c9cc370b0dd72ffe8cd2. >> >> The WoL feature is a must to pass Energy Star 6.1 and above, >> the power consumption will be measured during S3 with WoL is enabled. >> >> Reverting "alx: remove WoL support", and will try to fix the unintentional >> wake up issue when WoL is enabled. >> >> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=61651 >> >> Signed-off-by: AceLan Kao > > First, we must fix the problem that caused WoL to be disabled. > > Then, and only then, can you re-enable it. > > Thank you.