Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp101361imi; Wed, 20 Jul 2022 18:14:31 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tZVf8cYvE9B7M29DmhvAKhGJkrG7w0HM1+1Eh+S3Mcv4D9S3H+6cG8klQXzDVSUAfd7hil X-Received: by 2002:a63:521a:0:b0:41a:57d6:2fdb with SMTP id g26-20020a63521a000000b0041a57d62fdbmr7438190pgb.146.1658366071009; Wed, 20 Jul 2022 18:14:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658366071; cv=none; d=google.com; s=arc-20160816; b=HCJrhyN+aFkEgGtgF/naip19UqRzlUdgwvJ80uXslNR8ZwmxGz35Nq/c1KelO8mUUF rOlJBYiAM0k8H/49iHEpEPeOyu1Ms73sU7GWbW0nZIwg4E5kQHamt4TccijR6SNXMFm6 xdnJhVpp5SoxGd7hxRgHdt44+UQwGWaqDlGj2AJvUPVuBS5+YkZBp9nY2IW8RsrAPxKg yQ3DULM5/871vq2RqABLmCJf70O/e6IXKkERMQ4861c618Ntjr/0U9HIBq7lkIAEhDWe l3AvH5Sz/SA7o3L7NjPuWGWQx+fX9YYBHIzvVZxU4TciVQM9jB4AYy6AV+5qG3kZxG/k Gadg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=jH9h10qQPmqy9XaSFPaWtgsJKQU/Fb0xm7oNpd+XnLI=; b=JQAI9KUvlnVFw2YjZZtjee453SCj/W6uxxyuvcLjQ1wLYKx6aexv4xb5RSlT6J96I0 sv6o4/Z8xfW/DwSaHz8QYfCcEYOSorOAIRFMVK0YltpQcSkJezaFQcHEqm9OUg9tzQCE 2pjdPZQLsLNJl6ygGL5lLC+PejjN3wOthEv8PQXxwNBh+rY05bTSGAxhTgYzr9M3gsA1 PjMIDVgK70jXamXG7HQl0OjSV4Hi+EUmqDL/p74wGDdzB3kR6kIhQZR8fEjux3VNjLAC +iWT42j3nH7u73NY1TQs3bSIhj6/QuBM2phe4lqLe8i+YAtA5nj7Oj5Q1MUj1/6RiLju 0U3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cFUO37Nj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y190-20020a638ac7000000b004127f565539si372049pgd.466.2022.07.20.18.14.16; Wed, 20 Jul 2022 18:14:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cFUO37Nj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230290AbiGUA23 (ORCPT + 99 others); Wed, 20 Jul 2022 20:28:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229540AbiGUA22 (ORCPT ); Wed, 20 Jul 2022 20:28:28 -0400 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 164BB5A88B; Wed, 20 Jul 2022 17:28:24 -0700 (PDT) Received: by mail-pg1-x530.google.com with SMTP id 72so210133pge.0; Wed, 20 Jul 2022 17:28:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id; bh=jH9h10qQPmqy9XaSFPaWtgsJKQU/Fb0xm7oNpd+XnLI=; b=cFUO37NjH/fDK5op+fHw7DyAEcDcKJzyphiPTIre5PkNvyL+5KIw2a6QG7gys43+rq X6wu9p+FYkIl+cF1YLqmZI8Ux+5bd5idCFxlp1Gm3Z4WjsOM8RQmzKaman6wvixnfErC JU9tMmHV34EBlhRlpCCBPqPAh8ok6jcTxbtrOZGeMMt+GdP6gN0g9hthzft0J6Crpi1h IF9LQ4L0Fg+gNyCZr51O73tv1k9ZnNdPB1TK0ocZAO9aTW9OqldAn717UFdfFHagua4E CFfqUFDOr9h981S1jcTba5XG/wOf9Nj2FIXnAZzTJ2/+G1+5Tf+2ISX4tjxdKrAFESyV df8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=jH9h10qQPmqy9XaSFPaWtgsJKQU/Fb0xm7oNpd+XnLI=; b=AjuNoXACiCjGekUfUhr+r369YevsTb3MtHGsmeGFaQXTaAweekxD70aB5W5eestwgx N1TXX6qyXBzm+RK8+XPa4H1k57UsjviEJnrpH+SvOExFOIe/Us47QQN5DecY0F/rIS1w Ey3dxuqG8n6WvFPjUEQVZ11Sq7MmjeEDLTnhJIWhxTkQ5VdgS8See/lIVuhUX9mK1K/5 OtHCg/BYQHMhBBiYV6Zr0497UlxT0E7cHAPl4ixpSQ/rcNVj5/I2DT8OtpvDU0hcj8Ld l8hko1ENffg8/O0odxT+4TcJOLrr4m02cLy+/NXZdMIJCH2xymuQwBF8xYYTaGMQFmnr eRcg== X-Gm-Message-State: AJIora/9slOhuFL7Bx9KiFsHiFXd0aJrxskU1f9uDoZ+Qddwgo106Wui J5BGMwPJxc7qNUYbbAmqoUE= X-Received: by 2002:a65:6c03:0:b0:412:ac5a:bcab with SMTP id y3-20020a656c03000000b00412ac5abcabmr36088141pgu.7.1658363303175; Wed, 20 Jul 2022 17:28:23 -0700 (PDT) Received: from stbirv-lnx-2.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id m5-20020a170902db0500b0016bc4a6ce28sm163226plx.98.2022.07.20.17.28.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Jul 2022 17:28:22 -0700 (PDT) From: justinpopo6@gmail.com To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, joalonsof@gmail.com, jesionowskigreg@gmail.com, jackychou@asix.com.tw, jannh@google.com, linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: f.fainelli@gmail.com, justin.chen@broadcom.com, Justin Chen Subject: [PATCH v2 0/5] net: usb: ax88179_178a: improvements and bug fixes Date: Wed, 20 Jul 2022 17:28:11 -0700 Message-Id: <1658363296-15734-1-git-send-email-justinpopo6@gmail.com> X-Mailer: git-send-email 2.7.4 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Justin Chen v2 Remove unused variables Remove unnecessary memset Power management was partially broken. There were two issues when dropping into a sleep state. 1. Resume was not doing a fully HW restore. Only a partial restore. This lead to a couple things being broken on resume. One of them being tcp rx. 2. wolopt was not being restored properly on resume. Also did some general improvements and clean up to make it easier to fix the issues mentioned above. Justin Chen (5): net: usb: ax88179_178a: remove redundant init code net: usb: ax88179_178a: clean up pm calls net: usb: ax88179_178a: restore state on resume net: usb: ax88179_178a: move priv to driver_priv net: usb: ax88179_178a: wol optimizations drivers/net/usb/ax88179_178a.c | 319 +++++++++++++---------------------------- 1 file changed, 99 insertions(+), 220 deletions(-) -- 2.7.4