Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp117599imm; Wed, 30 May 2018 19:14:05 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLChJuM4ssbCXUUVn8XWeDJeg3gOvECJb6wqCVQ1IJl/gFpJAVMJE4GHyiYvMBwfvkAXPEi X-Received: by 2002:a17:902:d20c:: with SMTP id t12-v6mr5101865ply.364.1527732845449; Wed, 30 May 2018 19:14:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527732845; cv=none; d=google.com; s=arc-20160816; b=T1xfhuBhZQzc0m/mDrvtlSQg2a6/4iVQzu/puyy4gExcic+KpUdC6PqzZAKvsJnAZx AYuZrXZLH8TnpspSCA6C8eCx9xroGp7d9Qd6Q4gTVq9wFtCiO3G4Sd9Ugz0R/YN3tP8T KmxOAly0rNVtn9TH8p9fgY5PoQZFCRzWCKuD7RkIx8qi6Hz8kZSe2LDz8+3jfxOKiFEY AjmeahvCe4kdZS1SK+9yr+a/+rkXswdxCDWeW+tfhqlC59u2WBKhxAcDLlbQfvewIZ/K MfoBU8HZvtkXOiSd/qNdgKpklKVybmFYb/Z5H4jzJYjJnjZTbFXNBba1+HWCI78BfFd+ ZgDQ== 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=Il3Invf63UNpW1MXtJQu4TRisUXHeDcizyfPrwvtp1w=; b=gzWLThVVJ56HhRQR4CbGswEmY14bD/uEAm5hVFi48sogdqc5su9l+dvsFEXQuFs3T0 FnGI8+VhOmCJy4Aksfc1jO8Upe8unVVU5e1f+GQpZZYIgiaTwWJHxm2QguK8K02eIzOH OHV+R/5O+cIYzuyE3+1M4dPaSWWKgyzi0TK7sQPSB1HaUgX0GbJm7YRbag8i/4WyncNu QC6Tb+KgtU0G4ZJzwSmTMraBoQJK8YD0a+N2ifWcPKieAOaEYNzdPAEFeh6VXXpyEzmr OKesy5KBC4cMjEXz9F5PqiwEVUL+sLxPtFNvTi3KEU3fmmFHRJtLxbEZu/aaJpsCiIKG 2Yfw== 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 j65-v6si28401873pgc.552.2018.05.30.19.13.50; Wed, 30 May 2018 19:14:05 -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 S932646AbeEaCNX (ORCPT + 99 others); Wed, 30 May 2018 22:13:23 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:47406 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932606AbeEaCNT (ORCPT ); Wed, 30 May 2018 22:13:19 -0400 Received: from mail-wm0-f72.google.com ([74.125.82.72]) by youngberry.canonical.com with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1fOD5a-0006h9-Pj for linux-kernel@vger.kernel.org; Thu, 31 May 2018 02:13:18 +0000 Received: by mail-wm0-f72.google.com with SMTP id y82-v6so13793920wmb.5 for ; Wed, 30 May 2018 19:13:18 -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=Il3Invf63UNpW1MXtJQu4TRisUXHeDcizyfPrwvtp1w=; b=FCKhc6jMsKj7pSwPFUI3fE8ahIXQHKsxB0Iu0Wr6JHHUpClOOwsIdk63LDrTxBUq+2 DT/66o0B7GPGNzw8o9s/pna2dKUtOt6pixH9vrIvHv+t5ATeQsUHwRPiJAKa25LpJZgf iz1tqjmzDaHfrqE7ZUWAsZATGRXE0qjGoyyjJHiTaXYW6+vAuVXqo1/NvdMkm7EIxvWY F8GnIZswwCxc42oBM9urx76C667qZYYxyYV4zli3KOyqhMW14wurmkp/EDnWD/YVAyL+ Mx6RNQ87TOIdyNkTnsXpmXIS7T5N5CvIvGmEYzj9yUX1qcNvGG9ACaimt+ADS3v1EEv7 +IeA== X-Gm-Message-State: APt69E1kqQibMqcuDJZptVhQZva1HX2LAVOWG8gy6Ux/eS2SwQ01bpK1 DbgymmeiHcXA6y0T0EF5BZzOBE4e60RpNvty9SRuvnv5HDeLDloGBZ/3mwNIpmU3p9VH6tY5i4h cVcnN03XI+/qTWT/lw/J0BeRE1++cTw2+dDpBfHsVWZpvQIHptx5r8JR5Dg== X-Received: by 2002:a1c:55c5:: with SMTP id j188-v6mr2771778wmb.102.1527732798531; Wed, 30 May 2018 19:13:18 -0700 (PDT) X-Received: by 2002:a1c:55c5:: with SMTP id j188-v6mr2771774wmb.102.1527732798304; Wed, 30 May 2018 19:13:18 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1c:bc55:0:0:0:0:0 with HTTP; Wed, 30 May 2018 19:13:17 -0700 (PDT) In-Reply-To: <20180530135859.GB27537@lunn.ch> References: <20180530021008.15080-1-acelan.kao@canonical.com> <20180530135859.GB27537@lunn.ch> From: AceLan Kao Date: Thu, 31 May 2018 10:13:17 +0800 Message-ID: Subject: Re: [PATCH v2] Revert "alx: remove WoL support" To: Andrew Lunn Cc: Jay Cliburn , Chris Snook , "David S . Miller" , Rakesh Pandit , netdev@vger.kernel.org, Emily Chien , Johannes Berg , Johannes Stezenbach , "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 Andrew, 2018-05-30 21:58 GMT+08:00 Andrew Lunn : > On Wed, May 30, 2018 at 10:10:08AM +0800, AceLan Kao wrote: >> 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. > > Hi AceLan > > I find this change log entry rather odd. > > If i remember correctly, you first argued that you did not want to > have to distribute out of tree patches. Yes, once the secure boot is enabled, no dkms driver would be loaded. > > It was suggested that you might be able to justify the revert using > the argument that the cure is worse than the decease. You ignored I didn't try to ignore it, maybe I misunderstood what you say. I thought you do not like the driver parameter, so I only revert back the alx wol feature. > that, and when with this Energy Star argument. That got shot down by > DaveM, and told to actually try to find the problem. To pass Energy Star is my purpose, I'm sorry to not mention it in the beginning. We used to using dkms for the measurement, but secure boot is coming, so we need to make wol feature to be built in the kernel. And I've written to the device owners for help, but they are not care too much about the wol feature and are not inconvenient for the testing. So I stuck here until I saw the user report. > > So you then come back and said you think the problem is fixed, but > don't know exactly what fixed it. So DaveM said try again. That's another user's report, not me, please refer the link below https://bugzilla.kernel.org/show_bug.cgi?id=61651#c126 We have no wake up issue and can't reproduce this issue at my side. > > Now you are back to Energy Star. > > I don't get this. It was the fact you said it was probably fixed that > made DaveM reconsider. That is the argument you should be using in the > change log. We want to know what testing you have done. See a > tested-by: from somebody who had the issue which caused the revert, > and now says the issue is fixed. Thanks to remind me and sorry for my ignorance, I never think of adding tested-by: in the comment, I'll be asking the reporter to provide more info and put his name in the comment. Hope my explanation is helpful for the misunderstanding. And I'll submit another v3 patch once I got the info from reporter. > > Ideally we would like to know which change actually fixed the issue, > so it can be added to stable. But that requires somebody to do a long > git bisect. > > Andrew Thanks, Best regards, AceLan Kao.