Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1643095pxj; Fri, 18 Jun 2021 11:31:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz78nD5u4Kdr5nNeWvgorK/2PHFAHO/e5gkTCyuMmoqcfY7iZyDP0fG/Rc1TlBA2BniCZHX X-Received: by 2002:a17:907:264b:: with SMTP id ar11mr12140930ejc.525.1624041082730; Fri, 18 Jun 2021 11:31:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624041082; cv=none; d=google.com; s=arc-20160816; b=pCDONvGa7ujt7YwAX4wuG+KKngeoZM4Ohru19tDBw0xfF1r8b6GqD3XbSdyMecasex vDkFOMdV7aZPotDrnpFCPD5TYHd3RsLUlZLIqKo3Ik8sIWdCnf3pHMQ/qAMQwa2t1FDK Kk1k9TBJyjnV6ym1QGBN7oE6rBOndCfilyMm/QhG6DJ8YClgU74Lw+4Y62Fpw18J2WwT 5yjk+YUfEdvHAF2+H6ZQ0HSCOYVH5JTNaIjqG+5xPOfzWw7ne3qbTjnmV4E+rq7j5GvZ OrbtkInZ/tIUbRUvYRPIbPltsWSdSJiK+Nld5md+c9Df6Q1xTa7RGW1otO0enmA7R4iD 5H5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=L5tfF3qUoHfVzNZ9MEHYgKJJQ+VE6dPfO4oGXHMtAWo=; b=PyL4RHcLizimiR/F0sI3zjvuDKCptPdcXboLj8tgqWn1CG0H9MuU0ZXY5FWxELH8Uq vHh7ngzS8yufKXGCa8uG7J25wwK4oOfeJ7sp16SlI1qHI/6s762CI0P/NaotLTVKyAxY wGqgHRoUSr+q0CkueC4vUFOOirV+bhf+vETSG8CvlbcQTrYNjSyX19+swRSx4Ao8Q8YV GfhLoU8sH80MXhAXBy1Ovz1CXIBIqA/Hq623uk9tSMIplZOgzEL3fzekifL4tEd2iaMA 1y0N4/mTHZicnNUcKw2IY3PeRprBCrXBUE6V7cWgdfKmXPGmX2O/Z6EGV4+NP9V8HSW6 6ZHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=F+ZKs2Rn; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id be28si2497259edb.317.2021.06.18.11.30.59; Fri, 18 Jun 2021 11:31:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=F+ZKs2Rn; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231168AbhFRQDo (ORCPT + 99 others); Fri, 18 Jun 2021 12:03:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233096AbhFRQDk (ORCPT ); Fri, 18 Jun 2021 12:03:40 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4033DC061574 for ; Fri, 18 Jun 2021 09:01:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=L5tfF3qUoHfVzNZ9MEHYgKJJQ+VE6dPfO4oGXHMtAWo=; b=F+ZKs2RnAFTU/GvH1sKRP8UqAL APgOHVk4xD9sB7hFA1shc4xqfiVX86gVt0ETEUvxHGQx1yANf2xFQeQcIQLQU1UG9hC3s4r1WjEZW cd1jwCXrEv3dPmdoVgNh3SLc0MwP89NSoBokdtieSvrRq3GuUQytvaCsthNOmHIVSXXs=; Received: from p54ae9ff2.dip0.t-ipconnect.de ([84.174.159.242] helo=nf.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1luGvu-00075O-LD; Fri, 18 Jun 2021 18:01:26 +0200 Subject: Re: [PATCH] mt76: mt7921: introduce PCIe ASPM support (L0s/L1/L1ss) To: Deren Wu , Lorenzo Bianconi Cc: Sean Wang , Soul Huang , YN Chen , Leon Yen , Eric-SY Chang , KM Lin , Robin Chiu , CH Yeh , Posh Sun , Eric Liang , Stella Chang , jemele@google.com, yenlinlai@google.com, linux-wireless , linux-mediatek References: From: Felix Fietkau Message-ID: <44283e4b-31ed-399e-699f-c2567bf10c32@nbd.name> Date: Fri, 18 Jun 2021 18:01:25 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2021-06-12 04:59, Deren Wu wrote: > From: Deren Wu > > for better power consumption, default enable PCIe ASPM > > Tested-by: Leon Yen > Signed-off-by: Deren Wu This seems to be duplicating functionality from drivers/pci/pcie/aspm.c I think the driver shouldn't need to touch this, maybe it is enough to remove the mt76_pci_disable_aspm call and enable ASPM in the kernel config? - Felix