From patchwork Sun Oct 24 19:42:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janusz Dziedzic X-Patchwork-Id: 1545441 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=EXqYQq3S; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=UJIK4B8T; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (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) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HcpT921kHz9s1l for ; Mon, 25 Oct 2021 06:45:01 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=72Q93/SSVRoatfsO/l4O52PF4ShxwHbBQKucvvRIJw4=; b=EXqYQq3SdRXd4V GGnN92660+BzBbOkkCtpvKhC9gYvSyRYQ5zSrMHMF8ryULZoC2sbWPzI1RxfmXu90QXOro7Ag6ztP Jxymc/T8aid7tSiEUX9BdErapUbMPTQHAIxGnkt2gMgM1swTnIYAXFa55rvyPUlW1paJ35DF/xKbq HnDLqy90Ros0EoqCJgkHb8pzurba5HL0nCKQHzCxVCLZ7D0YpLeiUMMYXejUEgiyYj3XdpeB3TLgz +wL9PlFJgtOO0eV7EhuTIJRYCSe+f8mLRQ4RQ3bfVHhcrP+t9zb2XVl7f0zu0cm0gv5DSpElWLkao d8Ntt2s4pDafKqJStbCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mejO9-00EVf3-OE; Sun, 24 Oct 2021 19:42:37 +0000 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mejNs-00EVde-PO for openwrt-devel@lists.openwrt.org; Sun, 24 Oct 2021 19:42:22 +0000 Received: by mail-lj1-x22c.google.com with SMTP id r6so4999545ljg.6 for ; Sun, 24 Oct 2021 12:42:19 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=Xij/aCKGtSpsqCkfEvsY5tW3jpiXG8+9zR4WqF67JSw=; b=UJIK4B8T4saqPIMeC0Qfh7/ncAYV6SinnGoqgNH6+2X0yqL4PtpIJPRvxknP066mIk UnYi8LkuPCQ0NINafIqqvfmxisiaz4nEOVf4dLzqe25TXz3e1dJGuwYx2lMtMPfveBNi DsxXkZHyPBpP3agnvbb0/vbHUerFS3R5REzkiJdc5K4yUIrprmy811mfhc926EGzajw8 tWi4w45/MmYifSq2o52brXR1sbieu8Sg+fgnZxm492bd4CgaUW58t1zkjVtxZxvVr7eY 7+NOb22I2uzmStFN6tdFhqDGxpdJwmppddVTuWoN9eGfXXwCqdTFrmvI7uVqPHC40W8Y xk2Q== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=Xij/aCKGtSpsqCkfEvsY5tW3jpiXG8+9zR4WqF67JSw=; b=eGnEZ2OthY9DxEanijQA1l/F7ArTmsHygsj11uC0AH0QuI8d6KCdNHzr48O0kGNAxs WRTCvOJm+5viJb6F86ff3aNclXgXEL+qckfAoMRNItiIvRuXLLaOc3yPa5iF7zQjioS9 OIY4LBtxv6fSzyhql8aOqZydMcR6XsObC4AjhYIDzt0KsHUUcPArupBZ3u9Kl0wjgiTz XjopaMtaXdMnjWQnuRAalZ8X+yEfXdbESDdZCIH6JfFJu2YP71xWbBIkU0V2fY3cup34 QYiiswsf7UAqmXYDJCZixwnh9Z9UkDh2Jvfi9QN2ErPurRE+j2uw3iiOmzO7673GcMzd fcag== X-Gm-Message-State: AOAM530trXanOVTOYn3F/+6UGjxYz1jqrxrUK5VVaT2rLA8qrwGmQSQk dQ2vcFqP1j5RVDn1cFMdNHTASsy/muY= X-Google-Smtp-Source: ABdhPJz4TcT/otHTK4HvzjUp0iyRvUiCk2wuh7PTC4DQDVbRoULNDWArhLJlUvUj1+5X7jQt+a4oJw== X-Received: by 2002:a2e:5cc7:: with SMTP id q190mr14551640ljb.494.1635104538522; Sun, 24 Oct 2021 12:42:18 -0700 (PDT) Received: from localhost.localdomain ([62.141.192.106]) by smtp.gmail.com with ESMTPSA id z5sm1409444lfr.96.2021.10.24.12.42.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Oct 2021 12:42:18 -0700 (PDT) From: Janusz Dziedzic To: openwrt-devel@lists.openwrt.org Cc: hauke@hauke-m.de, Janusz Dziedzic Subject: [RFC 2/3] kernel: add kmod packages required by ath11k Date: Sun, 24 Oct 2021 21:42:08 +0200 Message-Id: <20211024194209.521400-2-janusz.dziedzic@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211024194209.521400-1-janusz.dziedzic@gmail.com> References: <20211024194209.521400-1-janusz.dziedzic@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211024_124220_889844_E1C1419C X-CRM114-Status: GOOD ( 13.62 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: When build ath11k from backports we need enable such packages: - mhi-bus - qrtr - qrtr-mhi - michael-mic - qcom-qmi-helpers Signed-off-by: Janusz Dziedzic --- package/kernel/linux/modules/lib.mk | 14 ++++++++ package/kernel/linux/modules/mhi.mk | 21 +++++++++++ package/kernel/linux/modules/other.mk | 14 ++++++++ package/ [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:22c listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [janusz.dziedzic[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org When build ath11k from backports we need enable such packages: - mhi-bus - qrtr - qrtr-mhi - michael-mic - qcom-qmi-helpers Signed-off-by: Janusz Dziedzic --- package/kernel/linux/modules/lib.mk | 14 ++++++++ package/kernel/linux/modules/mhi.mk | 21 +++++++++++ package/kernel/linux/modules/other.mk | 14 ++++++++ package/kernel/linux/modules/qrtr.mk | 51 +++++++++++++++++++++++++++ 4 files changed, 100 insertions(+) create mode 100644 package/kernel/linux/modules/mhi.mk create mode 100644 package/kernel/linux/modules/qrtr.mk diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux/modules/lib.mk index 9a341932bd..51a8c6a753 100644 --- a/package/kernel/linux/modules/lib.mk +++ b/package/kernel/linux/modules/lib.mk @@ -121,6 +121,20 @@ endef $(eval $(call KernelPackage,lib-lzo)) +define KernelPackage/lib-michael-mic + SUBMENU:=$(LIB_MENU) + TITLE:=MICHAEL_MIC support + KCONFIG:=CONFIG_CRYPTO_MICHAEL_MIC + FILES:= $(LINUX_DIR)/crypto/michael_mic.ko + AUTOLOAD:=$(call AutoProbe,michael_mic) +endef + +define KernelPackage/lib-michael-mic/description + Kernel module for MICHAEL_MIC support +endef + +$(eval $(call KernelPackage,lib-michael-mic)) + define KernelPackage/lib-zstd SUBMENU:=$(LIB_MENU) TITLE:=ZSTD support diff --git a/package/kernel/linux/modules/mhi.mk b/package/kernel/linux/modules/mhi.mk new file mode 100644 index 0000000000..a247b37efe --- /dev/null +++ b/package/kernel/linux/modules/mhi.mk @@ -0,0 +1,21 @@ +# +# Copyright (C) 2021 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +MHI_MENU:=MHI support + +define KernelPackage/mhi-bus + SUBMENU:=$(MHI_MENU) + TITLE:=Support for Modem Host Interface (MHI) bus + KCONFIG:=CONFIG_MHI_BUS CONFIG_MHI_BUS_DEBUG=n + FILES:=$(LINUX_DIR)/drivers/bus/mhi/core/mhi.ko +endef + +define KernelPackage/mhi-bus/description + Kernel support for Modem Host Interface (MHI) +endef + +$(eval $(call KernelPackage,mhi-bus)) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index fdcc089025..555a94c442 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -1256,3 +1256,17 @@ define KernelPackage/f71808e-wdt/description endef $(eval $(call KernelPackage,f71808e-wdt)) + +define KernelPackage/qcom-qmi-helpers + SUBMENU:=$(OTHER_MENU) + TITLE:=Qualcomm QMI helpers + KCONFIG:=CONFIG_QCOM_QMI_HELPERS + FILES:=$(LINUX_DIR)/drivers/soc/qcom/qmi_helpers.ko + AUTOLOAD:=$(call AutoProbe,qmi_helpers,1) +endef + +define KernelPackage/qcom-qmi-helpers/description + Kernel module qcom_qmi_helpers +endef + +$(eval $(call KernelPackage,qcom-qmi-helpers)) diff --git a/package/kernel/linux/modules/qrtr.mk b/package/kernel/linux/modules/qrtr.mk new file mode 100644 index 0000000000..eea95bfd54 --- /dev/null +++ b/package/kernel/linux/modules/qrtr.mk @@ -0,0 +1,51 @@ +# +# Copyright (C) 2021 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +QRTR_MENU:=Qualcomm IPC Router support + +define KernelPackage/qrtr + SUBMENU:=$(QRTR_MENU) + TITLE:=Qualcomm IPC Router support + KCONFIG:=CONFIG_QRTR + FILES:= \ + $(LINUX_DIR)/net/qrtr/qrtr.ko \ + $(LINUX_DIR)/net/qrtr/ns.ko +endef + +define KernelPackage/qrtr/description + Kernel support for Qualcomm IPC Router +endef + +$(eval $(call KernelPackage,qrtr)) + +define KernelPackage/qrtr-mhi + SUBMENU:=$(QRTR_MENU) + TITLE:=MHI IPC Router channels + KCONFIG:=CONFIG_QRTR_MHI + DEPENDS:=+kmod-mhi-bus +kmod-qrtr + FILES:= $(LINUX_DIR)/net/qrtr/qrtr-mhi.ko +endef + +define KernelPackage/qrtr-mhi/description + Kernel support for MHI IPC Router channels +endef + +$(eval $(call KernelPackage,qrtr-mhi)) + +define KernelPackage/qrtr-tun + SUBMENU:=$(QRTR_MENU) + TITLE:=TUN device for Qualcomm IPC Router + KCONFIG:=CONFIG_QRTR_TUN + DEPENDS:=+kmod-qrtr + FILES:= $(LINUX_DIR)/net/qrtr/qrtr-tun.ko +endef + +define KernelPackage/qrtr-tun/description + Kernel support for TUN device for Qualcomm IPC Router +endef + +$(eval $(call KernelPackage,qrtr-tun))