Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1517263pxb; Fri, 20 Aug 2021 07:22:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzrFIjyclyF70V7n7h+3kRLxLlOpO114rlSs1L5jT+cmACNXORkhlNA3lkapMY0jFHPWlk X-Received: by 2002:a92:d10d:: with SMTP id a13mr14384333ilb.87.1629469335600; Fri, 20 Aug 2021 07:22:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629469335; cv=none; d=google.com; s=arc-20160816; b=pUBHWW/32UD31hd5OUmSq3P8hP+KnH8H9gWXIlkNKtpxgrNRbWbmU3F0DUYyE6XDbc 0OVlGUFlTFzdTZYrszOfsCq9+EQvQLJRjM1YdtJYBu/UzAH1vVyJYBB5Ifut5OmIc917 tebO7bsNPEIDarFyvKgnKhqCWNEWYfQEYvkQcdlG/DK58+CoOuJJQrdGLfddi9rY2TQq eWmzbJwaN1eNwwHg9Qe4o9NRhAaaqK+UJlJohCMaiyivur0XAKTXnwJWAQNU+FkqXfaT jGjdhkPqZ7vaBaC/6ibU7IrgXCoj65Tq3sMU9OsvJPLK+tioRrFcoJpoI1PPqOLBJMYV cZPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=i+VIv8jmQt3nlLRT9t2kGsJglMwWUn8VE3QqYG+zHRI=; b=QLpMhmWpMbbnANEfkrS8f8dIStyt5PC98C66UAXtDV3OJztrU+31n87IZEIJlDtF5U n46HyQ8pGSsNXpl5vbQ4AaQVEDQu0p8SwYB35FhkKtVhBpqTFW7rV0tGWSyIU0lyA6d7 U3OU8g/umpRItVRMZh8qXvqPbaC+vfbSi1/TxEkHjHV1en7COJaSvrXIqDTIfGQt2hz5 J6GGbyPh29Dw5s3cOJUTOgn0QsVwK0L01pLWzItm+HfYT4PCNpnaOB8Tk4eNrTlV+4Du ehWxUXXr015YDaCvxpeQ+Xa0TRkZzatXKoL4Hih3QpX97qPKJqWW5cNewD/yBMyTIkW2 LGOA== ARC-Authentication-Results: i=1; mx.google.com; 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 b10si6820582jat.110.2021.08.20.07.21.56; Fri, 20 Aug 2021 07:22:15 -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; 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 S240814AbhHTOWQ (ORCPT + 99 others); Fri, 20 Aug 2021 10:22:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237597AbhHTOWQ (ORCPT ); Fri, 20 Aug 2021 10:22:16 -0400 Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [IPv6:2001:67c:2050::465:201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F2B9C061575; Fri, 20 Aug 2021 07:21:38 -0700 (PDT) Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4GrkMy5GVjzQk1w; Fri, 20 Aug 2021 16:21:34 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id oQdTRAHGdyxc; Fri, 20 Aug 2021 16:21:30 +0200 (CEST) From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= To: Amitkumar Karwar , Ganapathi Bhat , Xinming Hu , Kalle Valo , "David S. Miller" , Jakub Kicinski Cc: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= , Tsuchiya Yuto , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Maximilian Luz , Andy Shevchenko , Bjorn Helgaas , =?UTF-8?q?Pali=20Roh=C3=A1r?= Subject: [PATCH v3 0/2] mwifiex: Add quirks for MS Surface devices Date: Fri, 20 Aug 2021 16:20:48 +0200 Message-Id: <20210820142050.35741-1-verdre@v0yd.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: BF4421887 X-Rspamd-UID: 39dc6b Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Third revision of this patch, here's version 1 and 2: version 1: https://lore.kernel.org/linux-wireless/20210522131827.67551-1-verdre@v0yd.nl/ version 2: https://lore.kernel.org/linux-wireless/20210709145831.6123-1-verdre@v0yd.nl/ Changes between v2 and v3: - Removed a small comment about the choice of dev_dbg() over mwifiex_dbg() - Switched to same licence boilerplate for pcie_quirks.* as the rest of mwifiex Jonas Dreßler (1): mwifiex: pcie: add DMI-based quirk implementation for Surface devices Tsuchiya Yuto (1): mwifiex: pcie: add reset_d3cold quirk for Surface gen4+ devices drivers/net/wireless/marvell/mwifiex/Makefile | 1 + drivers/net/wireless/marvell/mwifiex/pcie.c | 11 ++ drivers/net/wireless/marvell/mwifiex/pcie.h | 1 + .../wireless/marvell/mwifiex/pcie_quirks.c | 161 ++++++++++++++++++ .../wireless/marvell/mwifiex/pcie_quirks.h | 23 +++ 5 files changed, 197 insertions(+) create mode 100644 drivers/net/wireless/marvell/mwifiex/pcie_quirks.c create mode 100644 drivers/net/wireless/marvell/mwifiex/pcie_quirks.h -- 2.31.1