From patchwork Mon Feb 7 11:33:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 12737183 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB047C4167B for ; Mon, 7 Feb 2022 12:48:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382613AbiBGMsN (ORCPT ); Mon, 7 Feb 2022 07:48:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386339AbiBGLe0 (ORCPT ); Mon, 7 Feb 2022 06:34:26 -0500 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59B20C043181 for ; Mon, 7 Feb 2022 03:34:26 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 940ED3202B37; Mon, 7 Feb 2022 06:34:25 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Mon, 07 Feb 2022 06:34:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; bh=+wNikXSbGU2o4eMTKXjWwZmxi2ddjU dnnedm2bE6V74=; b=lomC4ZkLjqgtXgEKVhUmg5bEoGg4Xo/BhJHkY6yWT4Xomo FGp7EoMZLegULc1icVWjGJxQpGz6cFVS+jkb+KnUvN2ZGoZfeo3c9txPepuNh0V3 XBz/cO9rJ/HmzUdl4/KkNV4SMaeeOVJuZwFLBLBeYv6Vvw/H/4SqpBrAEj4K0ufw 5Nbqwec3lfQ91BbI3KhJG4babZKq97Da8zXr2uSH9N6G1tIRWM6yTsZ+uMeZT301 qdIsDLuQ1gFJ1r7H6BlN6L9g1BC2u79GfA68S9DWKYhDAcyJxYXtNU/IaJMkjMRl a9Yq/dMX+Zh++cUbqseJDgAPiQ6eWgPuFhj76Bqg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=+wNikX SbGU2o4eMTKXjWwZmxi2ddjUdnnedm2bE6V74=; b=XfVZbA1DUgKQLWzj9S5OJL R3tHE/t9TY7cEpWVgytiwynEDHlhxHSWSx2TdowHUhc0UytYI4wJHx8RGDmrjGNE Ig1EuWUEWwkO8SreJEk7XomL0hlL7X5J4eXiVEci5w2+bPZ3x/ulyw4YBOiwLPwa B3PVXt2Ys8Tzb8iw12G5LOwkuVItt1c7aW/9qzLOpXCuSEiZTF1PWqLbCSjPiU8Z TSt7/wLwYuc0Bs6UWwBWjB9bXMN6iOEstspQpC1ot0MBD05IU+MYxcyE3LkDtfAR EPb1y+85Z7V6GqZP8piIzUk692YrPf51wrVDMBbp5qo+wyE0qKm4kERC92FfVJGg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheehgddvjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghnghes fhhlhihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhepjeeihffgteelkeelffduke dtheevudejvdegkeekjeefhffhhfetudetgfdtffeunecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgoh grthdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Feb 2022 06:34:24 -0500 (EST) From: Jiaxun Yang To: hauke@hauke-m.de, mcgrof@kernel.org Cc: backports@vger.kernel.org, Jiaxun Yang Subject: [PATCH v2 1/7] headers: Add MHI stuff to mod_devicetable Date: Mon, 7 Feb 2022 11:33:32 +0000 Message-Id: <20220207113338.214748-2-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220207113338.214748-1-jiaxun.yang@flygoat.com> References: <20220207113338.214748-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: backports@vger.kernel.org Backport from 5.7. It is required by MHI drivers to probe modules properly. Signed-off-by: Jiaxun Yang --- backport/backport-include/linux/mod_devicetable.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/backport/backport-include/linux/mod_devicetable.h b/backport/backport-include/linux/mod_devicetable.h index ec0a3e62..fc9beedb 100644 --- a/backport/backport-include/linux/mod_devicetable.h +++ b/backport/backport-include/linux/mod_devicetable.h @@ -14,4 +14,19 @@ #define HID_ANY_ID (~0) #endif +#if LINUX_VERSION_IS_LESS(5,7,0) +#define MHI_DEVICE_MODALIAS_FMT "mhi:%s" +#define MHI_NAME_SIZE 32 + +/** + * struct mhi_device_id - MHI device identification + * @chan: MHI channel name + * @driver_data: driver data; + */ +struct mhi_device_id { + const char chan[MHI_NAME_SIZE]; + kernel_ulong_t driver_data; +}; +#endif + #endif /* __BACKPORT_MOD_DEVICETABLE_H */ From patchwork Mon Feb 7 11:33:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 12737185 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D820EC4167D for ; Mon, 7 Feb 2022 12:48:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383404AbiBGMsP (ORCPT ); Mon, 7 Feb 2022 07:48:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386362AbiBGLe2 (ORCPT ); Mon, 7 Feb 2022 06:34:28 -0500 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41EC5C043181 for ; Mon, 7 Feb 2022 03:34:28 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 85A9332021EF; Mon, 7 Feb 2022 06:34:27 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 07 Feb 2022 06:34:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; bh=BpYppwKNqqoGtvnYgw33jYFU+5WYF2 abhdippHcLdeY=; b=hnd/BE/9qswc8qm95D8Fj0ejQnP3ABxLYpLqIQgz2M2lvM cBeWIbx7515EtjU2tBfEIHRxL3FZNMXml6Qz7Wc+5FC9PuGYL0pvnRN7BZPytK+T 8hiVYxmNWyeZK3KuArd6O3pOM6o6ZuzHzT9OnCODRUwAHq6ek7rriJRZi1IDRk4u 9Oj6hvI5u8J2JZp5yw/Neuo7U9BbE1HgZR+9Liy5YgnZOCvSoMUvcdx23MalP9yg nuMfrpiNHu9otu3GqBMzKI4hMPIRnij7xS+MRVyQWLml5nCXnEP1cBR6Lx8HB/X1 2DqS3a0wdXlEzUynQ4LYl1Gnxl4h9sDXdcP+MPdg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=BpYppw KNqqoGtvnYgw33jYFU+5WYF2abhdippHcLdeY=; b=W6fnmAGaLeS3nIpFFNs10+ RXtk0kAKAV3zc9KiPTm5rSrdsk1uyAopSeN0JUzJUlBa4pFz+bdU3ATUrmClV9un kPnYw924ftQQlzJ8JXRU1KuCP+MPzVibaXqhGUyDBQpX1Gt9Scg1BxU8vB88iZmp Iw20x3uuoFfhraqpBUqlXndDEZYhTl3k4MCwo7Bd7xyritW4JB+vLVjSvWW++U8b r8bzOkZpG86IdecRyzzC6dcA7zEjTEtzO5uWEZO6tnt6lFkMjd/rar+czJxfBjpH 6N9HzjVyYZdIB1LfBteaULMtT68dTfz3ZdeD6sHp9vKWmha/27e/uJ+m2x9BydhQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheehgddvkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghnghes fhhlhihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhepjeeihffgteelkeelffduke dtheevudejvdegkeekjeefhffhhfetudetgfdtffeunecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgoh grthdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Feb 2022 06:34:26 -0500 (EST) From: Jiaxun Yang To: hauke@hauke-m.de, mcgrof@kernel.org Cc: backports@vger.kernel.org, Jiaxun Yang Subject: [PATCH v2 2/7] backports: Add mhi bus driver Date: Mon, 7 Feb 2022 11:33:33 +0000 Message-Id: <20220207113338.214748-3-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220207113338.214748-1-jiaxun.yang@flygoat.com> References: <20220207113338.214748-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: backports@vger.kernel.org Add it to copylist and wire up in Makefile and Kconfig. Also set minimal depdency to 4.19 as it requires ida_alloc and xarray which is too messy to be backported to earlier versions. Signed-off-by: Jiaxun Yang --- backport/Kconfig.sources | 1 + backport/Makefile.kernel | 1 + copy-list | 3 +++ dependencies | 3 +++ 4 files changed, 8 insertions(+) diff --git a/backport/Kconfig.sources b/backport/Kconfig.sources index 5fb44780..8f430965 100644 --- a/backport/Kconfig.sources +++ b/backport/Kconfig.sources @@ -4,6 +4,7 @@ source "$BACKPORT_DIR/compat/Kconfig" # these are copied from the kernel source "$BACKPORT_DIR/net/wireless/Kconfig" source "$BACKPORT_DIR/net/mac80211/Kconfig" +source "$BACKPORT_DIR/drivers/bus/mhi/Kconfig" source "$BACKPORT_DIR/drivers/net/wireless/Kconfig" source "$BACKPORT_DIR/drivers/net/usb/Kconfig" diff --git a/backport/Makefile.kernel b/backport/Makefile.kernel index 62baa945..e2a1a263 100644 --- a/backport/Makefile.kernel +++ b/backport/Makefile.kernel @@ -39,6 +39,7 @@ obj-y += compat/ obj-$(CPTCFG_CFG80211) += net/wireless/ obj-$(CPTCFG_MAC80211) += net/mac80211/ +obj-$(CPTCFG_MHI_BUS) += drivers/bus/mhi/ obj-$(CPTCFG_WLAN) += drivers/net/wireless/ obj-$(CPTCFG_SSB) += drivers/ssb/ obj-$(CPTCFG_BCMA) += drivers/bcma/ diff --git a/copy-list b/copy-list index be8539d4..1be2285e 100644 --- a/copy-list +++ b/copy-list @@ -91,6 +91,9 @@ net/mac80211/ include/linux/mpls.h include/uapi/linux/mpls.h +drivers/bus/mhi/ +include/linux/mhi.h + drivers/net/wireless/ath/ drivers/ssb/ include/linux/ssb/ diff --git a/dependencies b/dependencies index d8c3f106..623763a2 100644 --- a/dependencies +++ b/dependencies @@ -37,3 +37,6 @@ NL80211_TESTMODE 4.18 # Needs aes_expandkey() and aes_encrypt() RTL8723BS 5.4 + +# ida_alloc(), xarray +MHI_BUS 4.19 From patchwork Mon Feb 7 11:33:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 12737179 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F1B3C433EF for ; Mon, 7 Feb 2022 12:48:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358820AbiBGMqg (ORCPT ); Mon, 7 Feb 2022 07:46:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386376AbiBGLeb (ORCPT ); Mon, 7 Feb 2022 06:34:31 -0500 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B2E4C043188 for ; Mon, 7 Feb 2022 03:34:30 -0800 (PST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 9DC6E3202455; Mon, 7 Feb 2022 06:34:29 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 07 Feb 2022 06:34:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; bh=5lGvaqrQR2dW/T01s0B6Ba5MSXIKnr kAlO+JKo0cQ2A=; b=nSEpxmXhPT/QWLmV+prPVEynUoMILWZfjAiCKlhU2Fm/tT Au3klPyBoSN6+W5tY8zd/c7T7KS0NCIl4StrHyw4XCIBz1sbtJQC7S+Z/jxd/1P1 2WLPr2KUWcm+kA3572jTEo2UaZzgX/hdqNeuUQI+0Nk8NnYkg2bclu6K6iLjUhXT igwgPMFZZhg+LHwZFOTTrwve0Y3ICVWKQbJ5n60abX48KYpkaIQpPLaLEp2FYuNO s4XQwwnhhVj0wPfPpSLYcgGai9VK6Wp6oUp+SFW9QIhLXa+JRnJUBoPbRoZIcWvR HtrliNn0iHr0SE3kILPmKhlf9ueutAjmwdt8Q/lg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=5lGvaq rQR2dW/T01s0B6Ba5MSXIKnrkAlO+JKo0cQ2A=; b=IdjlgK5u651OHhjsbXW98T vhqcQkbehZWUDkUdQDrfdxx5fmKY9k67TDauhHa/kXN+63MX1oqVKdr7/5zm6+nJ YNIkmolV0IYQTTkLD6l2VqBgjaw9/XBf9TgEbfio6P3pCJUN7yyLQjZfduU3hnXy vw979A6I8F2YdED714S80bxdWmv/IuWTxy/aOHQhIDG5UAqPhIvyo2Ta1sQl0X8y Zx+PX02w8iD9B1HJrOTBlyurCqD3Mpc/V5WFeNC/9/XE5RHCrvK/n15Qbh6kqpzW /SxWEWuiVCNw2WSFd1qSLD1XCGqhcA/k72nFJaNqBh8aGPWCaokTXgOFrIan9VPg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheehgddvjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghnghes fhhlhihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhepjeeihffgteelkeelffduke dtheevudejvdegkeekjeefhffhhfetudetgfdtffeunecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgoh grthdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Feb 2022 06:34:28 -0500 (EST) From: Jiaxun Yang To: hauke@hauke-m.de, mcgrof@kernel.org Cc: backports@vger.kernel.org, Jiaxun Yang Subject: [PATCH v2 3/7] backports: backport {get,set}_user_ifreq Date: Mon, 7 Feb 2022 11:33:34 +0000 Message-Id: <20220207113338.214748-4-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220207113338.214748-1-jiaxun.yang@flygoat.com> References: <20220207113338.214748-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: backports@vger.kernel.org Backport them from 5.15, they are required by QRTR. Signed-off-by: Jiaxun Yang --- backport/backport-include/linux/netdevice.h | 5 +++ backport/compat/Makefile | 1 + backport/compat/backport-5.15.c | 47 +++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 backport/compat/backport-5.15.c diff --git a/backport/backport-include/linux/netdevice.h b/backport/backport-include/linux/netdevice.h index 22942398..4e553791 100644 --- a/backport/backport-include/linux/netdevice.h +++ b/backport/backport-include/linux/netdevice.h @@ -152,6 +152,11 @@ bp_dev_get_tstats64(struct net_device *dev, struct rtnl_link_stats64 *s); #endif /* < 4.11 */ #if LINUX_VERSION_IS_LESS(5,15,0) +#define get_user_ifreq LINUX_BACKPORT(get_user_ifreq) +int get_user_ifreq(struct ifreq *ifr, void __user **ifrdata, void __user *arg); +#define put_user_ifreq LINUX_BACKPORT(put_user_ifreq) +int put_user_ifreq(struct ifreq *ifr, void __user *arg); + static inline void backport_dev_put(struct net_device *dev) { if (dev) diff --git a/backport/compat/Makefile b/backport/compat/Makefile index 2761e5f5..b9f1dee9 100644 --- a/backport/compat/Makefile +++ b/backport/compat/Makefile @@ -20,6 +20,7 @@ compat-$(CPTCFG_KERNEL_5_5) += backport-5.5.o compat-$(CPTCFG_KERNEL_5_10) += backport-5.10.o compat-$(CPTCFG_KERNEL_5_11) += backport-5.11.o compat-$(CPTCFG_KERNEL_5_13) += backport-5.13.o +compat-$(CPTCFG_KERNEL_5_15) += backport-5.15.o compat-$(CPTCFG_BPAUTO_BUILD_SYSTEM_DATA_VERIFICATION) += verification/verify.o compat-$(CPTCFG_BPAUTO_BUILD_SYSTEM_DATA_VERIFICATION) += verification/pkcs7.asn1.o diff --git a/backport/compat/backport-5.15.c b/backport/compat/backport-5.15.c new file mode 100644 index 00000000..cc0a48fd --- /dev/null +++ b/backport/compat/backport-5.15.c @@ -0,0 +1,47 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include +#include +#include +#include + +#include + +int get_user_ifreq(struct ifreq *ifr, void __user **ifrdata, void __user *arg) +{ + if (in_compat_syscall()) { + struct compat_ifreq *ifr32 = (struct compat_ifreq *)ifr; + + memset(ifr, 0, sizeof(*ifr)); + if (copy_from_user(ifr32, arg, sizeof(*ifr32))) + return -EFAULT; + + if (ifrdata) + *ifrdata = compat_ptr(ifr32->ifr_data); + + return 0; + } + + if (copy_from_user(ifr, arg, sizeof(*ifr))) + return -EFAULT; + + if (ifrdata) + *ifrdata = ifr->ifr_data; + + return 0; +} +EXPORT_SYMBOL(get_user_ifreq); + +int put_user_ifreq(struct ifreq *ifr, void __user *arg) +{ + size_t size = sizeof(*ifr); + + if (in_compat_syscall()) + size = sizeof(struct compat_ifreq); + + if (copy_to_user(arg, ifr, size)) + return -EFAULT; + + return 0; +} +EXPORT_SYMBOL(put_user_ifreq); From patchwork Mon Feb 7 11:33:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 12737180 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61766C433FE for ; Mon, 7 Feb 2022 12:48:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344192AbiBGMsB (ORCPT ); Mon, 7 Feb 2022 07:48:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386393AbiBGLed (ORCPT ); Mon, 7 Feb 2022 06:34:33 -0500 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DE90C043181 for ; Mon, 7 Feb 2022 03:34:32 -0800 (PST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 901813202B3D; Mon, 7 Feb 2022 06:34:31 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 07 Feb 2022 06:34:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; bh=QbBztW1BMIWXgmpM3Lg+Qmk+pywiOu FOEucjpChalLs=; b=xzYlQrGzlFYskcSlZr0kp5jHN5A4CMki3dNbOG0i+EJFlT MQjD4QpB3jcD0KVR/I2LggeJ0jpDFraqNgesAtjNRro+351uYecknfTlyzCciaIk 5pvBdnYF/5XFFgHZKTCnE55xBIKnhxESq2Etg4VjcQNnge0fKCHuhnKQpMjnM16K 9OIwNvIb49fJzDlea3+TBduLQDPDpr+E5i8O9aIpvtT8EHnxpJSF12QdfcOnfsE2 85E8GguEp5GuGk8aTGRj8veiGO6ibVtCFwjO3JesJr7IQZKvgNhP/RHEOZA7y5Iw +JJPMQSW2lWMvO782vY0qbipgrsS/+a2JdU8p5cQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=QbBztW 1BMIWXgmpM3Lg+Qmk+pywiOuFOEucjpChalLs=; b=nB1I2Pbj7eLxbey1wy4X4I PrlX8oh45hI3nHl+gUTW4QmTG+FA/UFPauoTQg93RUARp7wSrUy+18XahqLajqWs HFFuuYtEYprEZ/FW0jldAvwPw4t4PmoR5BZSfjmnv850HbV87OxLk025rcnWOI/c 2nbxWBdiWbMzLpavS8Nk2M+0mb5/RBuUPZ+H/A2ygJkihT8l1O1Ql6wBeUz+yZQf HiwBjCzHJQP5/Go6G5l1kVayoJujcEl1kPO8xx3VlmpC74RA/pj2yA6sSOsk8LTx fU7j3RkcQCmK9D3HkwoLcXgSj8SRh/kxrlz8muBa3Q0AzZS19yrRktRS5VmzPTEA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheehgddvjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghnghes fhhlhihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhepjeeihffgteelkeelffduke dtheevudejvdegkeekjeefhffhhfetudetgfdtffeunecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgoh grthdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Feb 2022 06:34:30 -0500 (EST) From: Jiaxun Yang To: hauke@hauke-m.de, mcgrof@kernel.org Cc: backports@vger.kernel.org, Jiaxun Yang Subject: [PATCH v2 4/7] headers: backport sk_error_report Date: Mon, 7 Feb 2022 11:33:35 +0000 Message-Id: <20220207113338.214748-5-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220207113338.214748-1-jiaxun.yang@flygoat.com> References: <20220207113338.214748-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: backports@vger.kernel.org It is required by QRTR. Backproted from 5.14 and dropped trace_event part as the event doesn't exist in earlier versions and it won't have functional impact. Signed-off-by: Jiaxun Yang --- backport/backport-include/net/sock.h | 8 ++++++++ backport/compat/backport-genetlink.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/backport/backport-include/net/sock.h b/backport/backport-include/net/sock.h index d99ef794..06a76aec 100644 --- a/backport/backport-include/net/sock.h +++ b/backport/backport-include/net/sock.h @@ -32,4 +32,12 @@ static inline void sk_pacing_shift_update(struct sock *sk, int val) } #endif /* < 4.16 */ +#if LINUX_VERSION_IS_LESS(5,14,0) +static inline void backport_sk_error_report(struct sock *sk) +{ + sk->sk_error_report(sk); +} +#define sk_error_report LINUX_BACKPORT(sk_error_report) +#endif /* <= 5.14 */ + #endif /* __BACKPORT_NET_SOCK_H */ diff --git a/backport/compat/backport-genetlink.c b/backport/compat/backport-genetlink.c index 89cdd9c0..6ba31b6e 100644 --- a/backport/compat/backport-genetlink.c +++ b/backport/compat/backport-genetlink.c @@ -86,7 +86,7 @@ static void extack_netlink_ack(struct sk_buff *in_skb, struct nlmsghdr *nlh, skb = nlmsg_new(payload + tlvlen, GFP_KERNEL); if (!skb) { NETLINK_CB(in_skb).sk->sk_err = ENOBUFS; - NETLINK_CB(in_skb).sk->sk_error_report(NETLINK_CB(in_skb).sk); + sk_error_report(NETLINK_CB(in_skb).sk); return; } From patchwork Mon Feb 7 11:33:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 12737182 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9DC01C43217 for ; Mon, 7 Feb 2022 12:48:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359442AbiBGMsG (ORCPT ); Mon, 7 Feb 2022 07:48:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386406AbiBGLef (ORCPT ); Mon, 7 Feb 2022 06:34:35 -0500 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70B4BC043181 for ; Mon, 7 Feb 2022 03:34:34 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id A8C3E3202B09; Mon, 7 Feb 2022 06:34:33 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 07 Feb 2022 06:34:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; bh=oLIIWU9P1CgrZeA7fOI0oj0r4+rGfG i1wlVzve5xwlo=; b=NVhwZVaeV61Wl+/5m29dPyLGVymK/Sz2VqcpDzYXqRF5SI FnKEWmQrvkUJmODcKguVWgAAC0Lt5AcGd5r1ETQvCGtzEbdvmtb37EiV9fVMYoGL LttEhd+YwgeDtHa80yE0kiaM/OCgV8kN6kAzppagr9KWA2LXN49fuWc3+bSBn6sc DT52Gh/7DxV8op8nl2gsVvxFo1roOdzy0sJbtEyH4+AtXbCLtsDOC+y0Wn+A4Trv kD5ArytjV7pMyTajcxs9xbXMPDDve2M1YyNoLPS1CGk4FJNuJympFRk4ug3YT/0t 0SolWaWJtU8UW/i8W6yaFgKJAqzMgTNqxdsjdoMg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=oLIIWU 9P1CgrZeA7fOI0oj0r4+rGfGi1wlVzve5xwlo=; b=JPbtpD3wIhA4fRttuEAB79 texwFEIa2Niy422EFlEPjSO/aHTAyOFHcSrbBuvcpTcki+nLrmuxfErz5RQ4BMp3 0N6ctHZHwt+TVezWA8tFHoLmwXN4ZEGhrCEhEgMaDwu5lckktLFgNNKRPN5NHQAL UywDgu7/rtiG9maBEBP3EaREir2S1soOoSoAoJLOOLvWKoqkBnfcIKiA6nPugO4C e/s4YZ7GqOrN7BGxPesGwWzOqKQz+AJ7E4TnHwpHu4aMI1QSxs2AbV+6nlPGluc8 3r6iToeEO20Tfw/pw7ijLpJBp/9CJJ1453XRm15thIU/kImLHi8Jw2LoSXv5WX9g == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheehgddvkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecuogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomheplfhirgiguhhn ucgjrghnghcuoehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtohhmqeenucggtf frrghtthgvrhhnpeejffeivdeghffgteduuddutdfhvefhhfeijefhjedtgfegledvleel hfelueehffenucffohhmrghinhepkhgvhidrnhgvthenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjihgrgihunhdrhigrnhhgsehflhihghho rghtrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Feb 2022 06:34:32 -0500 (EST) From: Jiaxun Yang To: hauke@hauke-m.de, mcgrof@kernel.org Cc: backports@vger.kernel.org, Jiaxun Yang Subject: [PATCH v2 5/7] backports: Add QRTR driver Date: Mon, 7 Feb 2022 11:33:36 +0000 Message-Id: <20220207113338.214748-6-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220207113338.214748-1-jiaxun.yang@flygoat.com> References: <20220207113338.214748-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: backports@vger.kernel.org Add it to copylist and wire up in Makefile and Kconfig. Also set minimal depdency to 5.2. Signed-off-by: Jiaxun Yang --- backport/Kconfig.sources | 1 + backport/Makefile.kernel | 1 + copy-list | 3 +++ dependencies | 3 +++ 4 files changed, 8 insertions(+) diff --git a/backport/Kconfig.sources b/backport/Kconfig.sources index 8f430965..87ffca94 100644 --- a/backport/Kconfig.sources +++ b/backport/Kconfig.sources @@ -4,6 +4,7 @@ source "$BACKPORT_DIR/compat/Kconfig" # these are copied from the kernel source "$BACKPORT_DIR/net/wireless/Kconfig" source "$BACKPORT_DIR/net/mac80211/Kconfig" +source "$BACKPORT_DIR/net/qrtr/Kconfig" source "$BACKPORT_DIR/drivers/bus/mhi/Kconfig" source "$BACKPORT_DIR/drivers/net/wireless/Kconfig" source "$BACKPORT_DIR/drivers/net/usb/Kconfig" diff --git a/backport/Makefile.kernel b/backport/Makefile.kernel index e2a1a263..373fed96 100644 --- a/backport/Makefile.kernel +++ b/backport/Makefile.kernel @@ -39,6 +39,7 @@ obj-y += compat/ obj-$(CPTCFG_CFG80211) += net/wireless/ obj-$(CPTCFG_MAC80211) += net/mac80211/ +obj-$(CPTCFG_QRTR) += net/qrtr/ obj-$(CPTCFG_MHI_BUS) += drivers/bus/mhi/ obj-$(CPTCFG_WLAN) += drivers/net/wireless/ obj-$(CPTCFG_SSB) += drivers/ssb/ diff --git a/copy-list b/copy-list index 1be2285e..480a9fb3 100644 --- a/copy-list +++ b/copy-list @@ -36,6 +36,8 @@ include/linux/wireless.h include/uapi/linux/wireless.h include/linux/ieee80211.h include/linux/pci_ids.h +include/uapi/linux/qrtr.h +include/trace/events/qrtr.h include/uapi/linux/pci_regs.h include/linux/mmc/sdio_ids.h include/linux/ath9k_platform.h @@ -83,6 +85,7 @@ crypto/asymmetric_keys/x509_public_key.c -> compat/verification/x509_public_key. net/Makefile net/Kconfig +net/qrtr/ net/wireless/ net/mac80211/ # MPLS labels, checked on skb->protocol on the diff --git a/dependencies b/dependencies index 623763a2..5de1bbe1 100644 --- a/dependencies +++ b/dependencies @@ -40,3 +40,6 @@ RTL8723BS 5.4 # ida_alloc(), xarray MHI_BUS 4.19 + +# sock_gettstamp() +QRTR 5.2 From patchwork Mon Feb 7 11:33:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 12737184 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC6EAC43219 for ; Mon, 7 Feb 2022 12:48:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379754AbiBGMsL (ORCPT ); Mon, 7 Feb 2022 07:48:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386424AbiBGLeg (ORCPT ); Mon, 7 Feb 2022 06:34:36 -0500 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CDE2C043181 for ; Mon, 7 Feb 2022 03:34:36 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id AA8A03202B08; Mon, 7 Feb 2022 06:34:35 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 07 Feb 2022 06:34:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; bh=wQHq4INW6ODXPFsx1XJEP46yhG8iod y+wOEDkm7Yx7I=; b=1YmFvnttW2Awz1sZDdu6psFJHPXSQZnGjCySd9s8o7wLUx oZwkz/i99HxIxV5v1rKbaBkw1hzV5gc+bAZlSxs4uWIkjeEoclMVhATn5c0qm7ii 8WrYi7YgtsEPxofqdjPawpk3dUy5N1smZuLhBsKmCg2kM6+EB0rF59wKdUbiu03h 4xDtYtASv/kijTysHKwO3G6AZhJVsn49hM9FB/C+tWvqUO4bT5Xqdwm/sRQ1u4Ff g80pn6rBNS8lZ7QTcZ484izuMl4KuViOLOTLhh7t8ekde1W6CeuhGbIun3mgN6rn AOUXzrsDYo30wXwAKbGeJFIwLypHWuiZLMLpy+zg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=wQHq4I NW6ODXPFsx1XJEP46yhG8iody+wOEDkm7Yx7I=; b=WO0NmmGPfIv7I1YQRm3yqH ILhj9MLLafjNy9tGpZ7a1bn9PzeaUvCdimWV00VUyzE1UA0laKj74zzBQ1dFsMkt DFl3elIlRMkYubI3p/S+Tguttk7FspsovsB+SyARJ84Z/mnU8hDD3KyAnchJccuK kiWUt6Kd+9vxpAI755xVBRJAtodu/iiWFUXEqKpjS0DSJ6VUinqoMiJFo2Nd6xGa BhwsQ9TmGtFTWau24jvV2lBQdJzvz9oGiasf66YTP4G14hHfZMbyyKi1Lm86bWpA jFlMwtYTMc8CMjeB0CkcisraJU46XsChLJhXACCidVSRmy0ekt6pQSXxSyqJIUTg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheehgddvkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghnghes fhhlhihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhepjeeihffgteelkeelffduke dtheevudejvdegkeekjeefhffhhfetudetgfdtffeunecuvehluhhsthgvrhfuihiivgep udenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgoh grthdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Feb 2022 06:34:34 -0500 (EST) From: Jiaxun Yang To: hauke@hauke-m.de, mcgrof@kernel.org Cc: backports@vger.kernel.org, Jiaxun Yang Subject: [PATCH v2 6/7] dependencies: Limit ATH11K to 5.2+ Date: Mon, 7 Feb 2022 11:33:37 +0000 Message-Id: <20220207113338.214748-7-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220207113338.214748-1-jiaxun.yang@flygoat.com> References: <20220207113338.214748-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: backports@vger.kernel.org As it's runtime dependency QRTR requires 5.2+. Suggested-by: Hauke Mehrtens Signed-off-by: Jiaxun Yang --- dependencies | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dependencies b/dependencies index 5de1bbe1..5bb9c563 100644 --- a/dependencies +++ b/dependencies @@ -43,3 +43,6 @@ MHI_BUS 4.19 # sock_gettstamp() QRTR 5.2 + +# QRTR +ATH11K 5.2 From patchwork Mon Feb 7 11:33:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 12737181 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F865C433F5 for ; Mon, 7 Feb 2022 12:48:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237728AbiBGMsD (ORCPT ); Mon, 7 Feb 2022 07:48:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386441AbiBGLej (ORCPT ); Mon, 7 Feb 2022 06:34:39 -0500 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7F86C043189 for ; Mon, 7 Feb 2022 03:34:38 -0800 (PST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id DF8D632027A7; Mon, 7 Feb 2022 06:34:37 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 07 Feb 2022 06:34:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; bh=gJFDttsg6PwCMwcFuyciI7AGWQUwzu 2HuP/zOpmnjQg=; b=2KByavI5FxUiRdqa9Az7sjYFRWOYJZ31GcMaMMY5GvQAgA fAoeoYA39csKYcpR1vOkS0365LGBLryxJYswRx7t2iib53lysxKVrKISgnGCulWz WNeNlX3yNvcItFt3KKZ5sHgKJvA+gf5yfMujVuUKnsQj53LbzR3WHykdRPLphn8N HQCtkzsXD0inFXsZGOGkSQ7sE+JjUuaUKdyzj1Wv4hbL88uxPzFWZ68AeJehOxBo n+bSjbfzKsaJyLRPVnYl2z3C5JtVAhrSxGYPYwBd6Es+zKmfooTj3eEvOuRb5+iK 9XvCPn3GKRyOlq0QRyZakYHoxM9M+LZBuOkCO9Cg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=gJFDtt sg6PwCMwcFuyciI7AGWQUwzu2HuP/zOpmnjQg=; b=Jn1ItUhNf2eeMY+UD6EHmp utWeLlhEq7KRb+2bPl+nJFroeidUXDMihulExEwztn0AXe/4GqRwf19EwJ6CXWR6 hjdAUSazMyUJ24DffSUcDZZSrqdZgMhCh1q4Evz0LIhd7qbA1GH9sVLFXtVCNAGw BHn1yEWLymWFAjEepbyQSzGuH8VZmIibSLFHDXlATR+CjOpXLsuzF0qzeEV1For9 IrC++f+7NE90IA1xTEvU95uMFaMHEbeTcfM0YSTPfGHoMUcg/eLVlEv2s4jl3KzL Sqdu3Tmn4U6w91wbbc18SEXgzIcWKZEl3sJpDErrMBKay15Z5t2TMbLfvGTBfixw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrheehgddvjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghnghes fhhlhihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhepjeeihffgteelkeelffduke dtheevudejvdegkeekjeefhffhhfetudetgfdtffeunecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghnghesfhhlhihgoh grthdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 7 Feb 2022 06:34:36 -0500 (EST) From: Jiaxun Yang To: hauke@hauke-m.de, mcgrof@kernel.org Cc: backports@vger.kernel.org, Jiaxun Yang Subject: [PATCH v2 7/7] defconfigs: Refresh for ath11k Date: Mon, 7 Feb 2022 11:33:38 +0000 Message-Id: <20220207113338.214748-8-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220207113338.214748-1-jiaxun.yang@flygoat.com> References: <20220207113338.214748-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: backports@vger.kernel.org Add defconfig for ath11k, also add ath11k runtime dependencies to wifi defconfig. Signed-off-by: Jiaxun Yang --- backport/defconfigs/ath11k | 14 ++++++++++++++ backport/defconfigs/wifi | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 backport/defconfigs/ath11k diff --git a/backport/defconfigs/ath11k b/backport/defconfigs/ath11k new file mode 100644 index 00000000..9ca4b310 --- /dev/null +++ b/backport/defconfigs/ath11k @@ -0,0 +1,14 @@ +CPTCFG_MHI_BUS=m +CPTCFG_QRTR=m +CPTCFG_QRTR_MHI=m +CPTCFG_CFG80211=m +CPTCFG_CFG80211_WEXT=y +CPTCFG_MAC80211=m +CPTCFG_MAC80211_LEDS=y +CPTCFG_MAC80211_MESH=y +CPTCFG_WLAN=y +CPTCFG_WLAN_VENDOR_ATH=y +CPTCFG_ATH11K_PCI=m +CPTCFG_ATH11K=m +CPTCFG_ATH11K_DEBUG=y +CPTCFG_ATH11K_DEBUGFS=y diff --git a/backport/defconfigs/wifi b/backport/defconfigs/wifi index 936203d9..774b0823 100644 --- a/backport/defconfigs/wifi +++ b/backport/defconfigs/wifi @@ -58,6 +58,7 @@ CPTCFG_MAC80211_HWSIM=m CPTCFG_MAC80211_LEDS=y CPTCFG_MAC80211=m CPTCFG_MAC80211_MESH=y +CPTCFG_MHI_BUS=m CPTCFG_MT7601U=m CPTCFG_MT7603E=m CPTCFG_MT7615E=m @@ -86,6 +87,8 @@ CPTCFG_PCMCIA_ATMEL=m CPTCFG_PCMCIA_HERMES=m CPTCFG_PCMCIA_SPECTRUM=m CPTCFG_PLX_HERMES=m +CPTCFG_QRTR=m +CPTCFG_QRTR_MHI=m CPTCFG_QTNFMAC_PCIE=m CPTCFG_R8188EU=m CPTCFG_RSI_91X=m