From nobody Sat Sep 28 10:38:28 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XG3hj1rFxz5X8YC; Sat, 28 Sep 2024 10:38:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XG3hh6BsJz47Kr; Sat, 28 Sep 2024 10:38:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727519908; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lO2HL0LCgI0rD5LNlJnqi34PaLqHY7hYq5TL4KItynE=; b=WRCAXeaRRWmrn+nKmq3RvWnXEvAcZK7zL4sQySyeeS239HD8LuX7+7yydtRS1jFfvWLRAp sB04FGUBmFwe5VeECWxhnQFS4/b0JINpCuV0fIv7wwDrA0N/clpYuuN2KTgmKM3o8levr2 Ot20O3AoUD2uQEkszO22osjKS3+Ss/Tzk8Kv8cphxrcfIR/zk2SETI28wlFXveTwTTZ0oS HLf1bYIUJBymrA9iNXS7C66F3G+g6IWJTJ+QeyhtIDy1BhYnP05PKL7i8am3yVfCJPO2P5 hsLXO3stG6qOhPaHaXipviEpgPDrmncLVSBpBm5meSY1f6Hmnuv2C3325B3sRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727519908; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=lO2HL0LCgI0rD5LNlJnqi34PaLqHY7hYq5TL4KItynE=; b=eqrxgEljv57Qe+H9SVkCxuh9WwsPczP7xo7vJF6aCnGBAlruqOl7gnGTUbS+rlWk/5uS5r 3q8UAF5DLueEPKXGFbin5WTDaHxcl+2W0MxqzqxyKCkodjSZCHYhqUAQatWWXFTjmuuo5e tuTauYj6SyA2dEtBrNzrCK1GbZKNI4O9bwlRfQ0jrXj+0joV/lUpg1IlTD6MT/rzgjfkpZ bZX5XKrIBJEGBgoEBs6oTFoHS3niCICXVg4/D+4oyMMm9XIBazN0mags76iO/feESicHwz bBk8I/jnKHKoTcVLln+q3OojAvECEBcpvjo72sWNJ1vTBkAMCzu6g3prLnI3jQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727519908; a=rsa-sha256; cv=none; b=VMZPHm19Ha2YYexlIruVE5QvQQ5ZeZkOTAuQcALpFC14bXgxsKi4IFyEEg2WcIe/ISVuGy 5BAIrj4yDkWmh8CXMQuOlA4neME/asN+K502teuFOejGozeilHmHUXzfEFNUUGFcYjOKVo yjd3EZkuhv9o5J6cqLgIKBAQDDZ5kWALscTukPCswELq8qUTL+gQiUPn5Ct1jnlI1rzzVv qx5/M3VVfcK5khB84T537vvTtCT2aRaCucMZXp9IuF449cNhsNa4C6twTNnahvHCBjOXIA euAI6bxUABQJ9Jx8noPjGXyXjbTViTVGhuJ+ERDBBZJOT/ox+FWGZVNv7yud6g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XG3hh5T9xzLNH; Sat, 28 Sep 2024 10:38:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48SAcSV2098393; Sat, 28 Sep 2024 10:38:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48SAcSjV098390; Sat, 28 Sep 2024 10:38:28 GMT (envelope-from git) Date: Sat, 28 Sep 2024 10:38:28 GMT Message-Id: <202409281038.48SAcSjV098390@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 5ea0b0130112 - stable/14 - LinuxKPI: some additions for mt76 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 5ea0b01301121cb9da9a05431bb8ce34a5743428 Auto-Submitted: auto-generated The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=5ea0b01301121cb9da9a05431bb8ce34a5743428 commit 5ea0b01301121cb9da9a05431bb8ce34a5743428 Author: Bjoern A. Zeeb AuthorDate: 2024-09-12 23:08:57 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-09-28 10:35:15 +0000 LinuxKPI: some additions for mt76 Add changes required for later mt76 drivers. Sponsored by: The FreeBSD Foundation (cherry picked from commit 4b972f77a16f9a217c211c8c4f28a41eca98554e) --- sys/compat/linuxkpi/common/include/linux/soc/mediatek/mtk_wed.h | 1 + sys/compat/linuxkpi/common/include/net/page_pool.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/soc/mediatek/mtk_wed.h b/sys/compat/linuxkpi/common/include/linux/soc/mediatek/mtk_wed.h index b0aec2d4afbd..74038f0e7520 100644 --- a/sys/compat/linuxkpi/common/include/linux/soc/mediatek/mtk_wed.h +++ b/sys/compat/linuxkpi/common/include/linux/soc/mediatek/mtk_wed.h @@ -42,6 +42,7 @@ struct mtk_wed_device { #define mtk_wed_device_ppe_check(_dev, _skb, _reason, _entry) \ do {} while (0) #define mtk_wed_device_stop(_dev) do { } while(0) +#define mtk_wed_device_start_hw_rro(_dev, _mask, _b) do { } while(0) static inline bool mtk_wed_device_active(struct mtk_wed_device *dev __unused) diff --git a/sys/compat/linuxkpi/common/include/net/page_pool.h b/sys/compat/linuxkpi/common/include/net/page_pool.h index 82dbeff82167..2dc8f74b31f3 100644 --- a/sys/compat/linuxkpi/common/include/net/page_pool.h +++ b/sys/compat/linuxkpi/common/include/net/page_pool.h @@ -29,6 +29,7 @@ #include /* pr_debug */ #include #include +#include struct device; @@ -41,6 +42,7 @@ struct page_pool_params { uint32_t offset; int nid; /* NUMA */ enum dma_data_direction dma_dir; + struct napi_struct *napi; }; struct page_pool {