Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3359440pxb; Mon, 17 Jan 2022 18:33:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJwOhBZhDVtxQF7JyrPwcInsHy/ekgkXEpwyUKjjFgRtPe2R17bbCMCeDDc2Cy/BVjFnujA/ X-Received: by 2002:a63:9854:: with SMTP id l20mr12148797pgo.109.1642473184841; Mon, 17 Jan 2022 18:33:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642473184; cv=none; d=google.com; s=arc-20160816; b=vK8SsmkIgs+kHxEtVP+uQ4x71Z6pPgdP5rzQZwF26rgkj6fiwtCbNhK3u9YeHdf84G AbjaTlt9F876e779HRswy/R/mThbFXETGzBOhGzgcA/YAkBOekr9tBtlFjn3ApjcvTe9 gNaxwMgIn75CG6qbyBvJv61spFq7Hn8k8O5WqGtEFkIZN3MDwf1mszxd3qo+X3m8dvbh 7obPnq890TBWl/PzxBWWt2m/xxEq4rhwFtmtcJ76V9kpJwdsnoZExdQ63930v/1LAURA 970W8lCA03+17NfVMFQcNyMFdeTxsKlPgbXidyFw80m/kSx+AXqwwIr5xqCUDESZG36V ZuVA== 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 :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=yx9O/CF1OMqlO8hNEPiramHw1VyAQlcnCuMRHZ0ajnM=; b=YY+Q4eeJdoin5HjL/6U/ci+Y2iMrK2Xh1AwXBz61f5uOBqXmyBoIdF4uL73n64V1w7 bN7md0/t1lYB26m64GwHi5OQkb8mWh7kBEMjY7DcfZtKXe3OOsbi82sn/Eu+XiNOAqDG LjmtD5vY8krEX1cklpTBTnyPi5oQ5XrQQ4QXnqy9/yCRuKxYIcQQFAJ+OWAUgxw7CuhP c6iDN6R1QNPyCYXOcM3/0qNdupx4qn9T2e2Bs1fR1AogaGsdqRNHwjr9xrUnS1xO08r/ CWaMpb+Gf2uu3ayrmcprANmMDj9Cu21w1XJZYKTUkpEnFYeKIp2srooa/lxxgtKvuxe8 TVyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qGnlxrKJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d4si17867439plg.600.2022.01.17.18.32.56; Mon, 17 Jan 2022 18:33:04 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qGnlxrKJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237171AbiAQOs4 (ORCPT + 70 others); Mon, 17 Jan 2022 09:48:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234934AbiAQOsz (ORCPT ); Mon, 17 Jan 2022 09:48:55 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 380C4C061574 for ; Mon, 17 Jan 2022 06:48:55 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id DF23EB80E03 for ; Mon, 17 Jan 2022 14:48:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE99EC36AEC; Mon, 17 Jan 2022 14:48:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1642430932; bh=uxtZp7jFFEMwhOZNMTMWbivpAvT9tM/QEjNTQflZiDI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=qGnlxrKJDj6iLgVBpN2Vfb69Uhr+hqj5zCCamhEw0Z+FxYR1imQhL095e6sEPWtuy RDbaTq4xZwuqjWQHV/HvjODpW7QLs8zh1lWM1bM0IvMJ6mHuWuho7f1EN2eG8cIVwM 7lIsoCy7mLtPDH2UYeIEe+rC1f105yW9rfAuQvEuDpQ5MnIzBLP5/Rqs/z+7ii2QoC I9u5nRA//hQhM/XG3LyGBRH5+Ug1rhaJcbmd7rnOO295riMJWRtZpSa3QB6yN/XQKh rsjiouo2b3quaGdTnRAY148tT/A8pdFN9ZNDfJzcy2fDClkG0hRScs8yFJFaR6yrIi fN+2Sfbze6m9A== From: Kalle Valo To: fckath@web.de Cc: linux-wireless@vger.kernel.org, ath11k@lists.infradead.org Subject: Re: ath11k and the 32 MSI problem References: Date: Mon, 17 Jan 2022 16:48:49 +0200 In-Reply-To: (fckath's message of "Mon, 17 Jan 2022 15:29:52 +0100") Message-ID: <87zgnuifji.fsf@tynnyri.adurom.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org (adding ath11k list) fckath@web.de writes: > Hello world; > =C2=A0 > I've got a bunch of M.2 Type A/E Wifi 6e cards from Emwicon (WMX7205) > and Sparklan (WNFQ-268AXI(BT)) wirth Qualcomm WCN6856 chips. > =C2=A0 > I'd like to use them on DFI AL553 3.5" SBCs with ATOM E3940 processor > (https://www.dfi.com/de/product/index/1409), but I was hit by the > error message "failed to get 32 MSI vectors, only -28 available". Ok, > it seems that the Atom E3900 does not support VT-d. I managed to get > these card working on standard PCs with i7 and i5 with active VT-d. > However, when disabling VT-d in the BIOS I get the same behaviour as > on the Atom boards. > > I tried the single MSI patch on > https://wireless.wiki.kernel.org/en/users/drivers/ath11k but failed to > apply these patches to an 5.15.0 kernel from Debian backports. > > Are there > - patches for 5.15 or 5.16? > - patched drivers for 5.15 or 5.16? > - information where to find a matching driver source on which the patche= s will apply? The support for one MSI vectors will be in v5.17-rc1, which should be released next Sunday. The feature is already on Linus' tree. IIRC you need these commits, in case you want to backport them: e94b07493da3 ath11k: Set IRQ affinity to CPU0 in case of one MSI vector 915a081ff307 ath11k: do not restore ASPM in case of single MSI vector ac6e73483f7b ath11k: add support one MSI vector c41a6700b276 ath11k: refactor multiple MSI vector implementation 4ab4693f327a ath11k: use ATH11K_PCI_IRQ_DP_OFFSET for DP IRQ 01279bcd01d9 ath11k: add CE and ext IRQ flag to indicate irq_handler 87b4072d7ef8 ath11k: get msi_data again after request_irq is called 081e2d6476e3 ath11k: add hw_param for wakeup_mhi --=20 https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatc= hes