From mboxrd@z Thu Jan 1 00:00:00 1970 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 0EDD4C433FE for ; Wed, 2 Nov 2022 17:15:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231289AbiKBRPb (ORCPT ); Wed, 2 Nov 2022 13:15:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230500AbiKBRPU (ORCPT ); Wed, 2 Nov 2022 13:15:20 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E69241091; Wed, 2 Nov 2022 10:15:18 -0700 (PDT) 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 965CBB823F6; Wed, 2 Nov 2022 17:15:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B682C433C1; Wed, 2 Nov 2022 17:15:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667409316; bh=qK3bx7QoAh9fwPJHJizhUKV9fbdiG40FN0gZzQ2hwIg=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=n03OxBc7g3UloZP5Z04sZpbPDxEhvFkRIXuQ0rcShfJ0CirVAxiXaKK6TJEJpUQZw JKU0gfhRV03o/QSNwHlTKskHaW7Zeg3jGsvarI1i1naMUOLbus8RMTLOD23ulMuD26 FKcz82vtDP50uvekdh1h2tCM7PcWq3Rf+m5EajFQ1eYdHYpLmnpS1qKgE3BYyJvQ4E pMurRK7lH/3wAE+N6SQBdtXsT25zauiLT53iw89YJ2hYVeyzg2rsyJFNcv8l2kQPcs guppyO8qQUwq5UqxHF9MppL02VvMqW1H/vJ0enJ6mFjUALAdhmd1SKug5oY0fQo3Hu 24jkyAkKAGxGA== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] ath11k: Fix QCN9074 firmware boot on x86 From: Kalle Valo In-Reply-To: <20221022042728.43015-1-stachecki.tyler@gmail.com> References: <20221022042728.43015-1-stachecki.tyler@gmail.com> To: "Tyler J. Stachecki" Cc: unlisted-recipients:; (no To-header on input) "Tyler J. Stachecki" , Kalle Valo , "David S. Miller" , Jakub Kicinski , ath11k@lists.infradead.org (open list:QUALCOMM ATHEROS ATH11K WIRELESS DRIVER), linux-wireless@vger.kernel.org (open list:NETWORKING DRIVERS (WIRELESS)), netdev@vger.kernel.org (open list:NETWORKING DRIVERS), linux-kernel@vger.kernel.org (open list) Illegal-Object: Syntax error in Cc: address found on vger.kernel.org: Cc: unlisted-recipients:; (no To-header on input)"Tyler J. Stachecki" ^-missing end of address User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.7.3 Message-ID: <166740930971.12704.12404773753216417373.kvalo@kernel.org> Date: Wed, 2 Nov 2022 17:15:13 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "Tyler J. Stachecki" wrote: > The 2.7.0 series of QCN9074's firmware requests 5 segments > of memory instead of 3 (as in the 2.5.0 series). > > The first segment (11M) is too large to be kalloc'd in one > go on x86 and requires piecemeal 1MB allocations, as was > the case with the prior public firmware (2.5.0, 15M). > > Since f6f92968e1e5, ath11k will break the memory requests, > but only if there were fewer than 3 segments requested by > the firmware. It seems that 5 segments works fine and > allows QCN9074 to boot on x86 with firmware 2.7.0, so > change things accordingly. > > Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1 > Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.5.0.1-01208-QCAHKSWPL_SILICONZ-1 > Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.16 > > Signed-off-by: Tyler J. Stachecki > Signed-off-by: Kalle Valo Patch applied to ath-current branch of ath.git, thanks. 3a89b6dec992 wifi: ath11k: Fix QCN9074 firmware boot on x86 -- https://patchwork.kernel.org/project/linux-wireless/patch/20221022042728.43015-1-stachecki.tyler@gmail.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches