From patchwork Wed Jun 7 17:23:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ziyang Huang X-Patchwork-Id: 13271035 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 C62D7C7EE25 for ; Wed, 7 Jun 2023 17:24:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231700AbjFGRYS (ORCPT ); Wed, 7 Jun 2023 13:24:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230042AbjFGRYQ (ORCPT ); Wed, 7 Jun 2023 13:24:16 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01olkn2075.outbound.protection.outlook.com [40.92.53.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FE2B211C; Wed, 7 Jun 2023 10:24:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L9Sv8N3ciING5ls6RTPbBMpGU6weYwCfhU2pkQ1i2Pe7ItXgOYYmo8ev/9s93v9eL+fDytQmXK4xwUsAoJ7b4bn1Txm4jTaOgFiggAI7lmmXTs4bs39lMM1xBdxzFLOn7kiUPLsPpNstBiVqffaZR7spMsvVjukpKA41FJ63lmQmpJj3ebDG3WY/sFVtEcpw7sr7E6MKzLGSStMzLeAla9jASjPlFomyPDCOto4RWms6Dl/kJ5oB1xwWrLo1laWYS6l+XZpMifVEG9d7liAZLMHIjzuOk2kLaUtGe13vgFKRuwokP3st+wX5wEGgn0+ybKTnawj1YbM51tGKfjGKkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=f33TL65L+W1/+oRk1KEhe7DHLVC1ecKeaiUIWK4X/Yw=; b=EQlXeimPVV3SkyUhhgNQR5XRXc1VcHh/NFBZCflNhbhklJl/o9UEPuoJJd8JYR3XRiMfyLs60NyExwhkOjJ32X2azrv975xDdBAqu3UiBnOHrszd/l2R0MThL9kmNvwtmz4FSiQTTKDkIqPHGa2m3vO7Qr3NmG7mA7uPcvnAY70UEhbs9GGuFdXiPV0dblGIFeGltDAbcSLZdOZInjUl/R9DcCwKcwWGT5iEYX66s/CGsxu8pv3aClvjzb7cMo5Cx/bVQPAkLb4pY0GqoncLxNTGa+BvWd0Y6xaJFYvTNGfX8feCUd2P/XqahAH5ylrByp3/5AZ/2AOrvs3aEyMN1A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=f33TL65L+W1/+oRk1KEhe7DHLVC1ecKeaiUIWK4X/Yw=; b=utzeflnbLHcBVpEbM93EF0lQuLX8+gYdu/+pi9utZsljtv3ywDn/Sku9ZLeWMKhHHYzd14dZdYR7r5SkUfN2qFjOzKGoRai5xdHBpU9BLexmCRxxspLHcfxvkf7YME1se/XwqXvT5FRwj+a50hgVR4NVx1xDV7uiRvdbmKkYtT2odTwvJNYSMeXvHEEuSpLuSWaO2KqkjgXkUiRrF5AcIoyUWnrRMf13bwsUAJazGMXV4XVjhDOsdeykf4D7NrAEwdDPmsj61VxPhGdq/yLktnuleofjg/cXbm1VONaKIwNPxfguEez4aZoIT7sVd/SNqs7DkG3WNr2zBLbxcwUokA== Received: from TYZPR01MB5556.apcprd01.prod.exchangelabs.com (2603:1096:400:363::9) by SI2PR01MB4396.apcprd01.prod.exchangelabs.com (2603:1096:4:1b3::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.32; Wed, 7 Jun 2023 17:24:03 +0000 Received: from TYZPR01MB5556.apcprd01.prod.exchangelabs.com ([fe80::5b31:f8db:585d:f204]) by TYZPR01MB5556.apcprd01.prod.exchangelabs.com ([fe80::5b31:f8db:585d:f204%7]) with mapi id 15.20.6411.021; Wed, 7 Jun 2023 17:24:03 +0000 From: Ziyang Huang To: kvalo@kernel.org Cc: quic_srirrama@quicinc.com, quic_kathirve@quicinc.com, ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Ziyang Huang Subject: [PATCH 0/3] wifi: ath11k: Fix runtime issues for IPQ5018 Date: Wed, 7 Jun 2023 17:23:16 +0000 Message-ID: X-Mailer: git-send-email 2.25.1 X-TMN: [yl7HxIGS7K46dCY8V62DMej7eIOPo2aH6PWBOLeb/+E=] X-ClientProxiedBy: SJ0PR05CA0192.namprd05.prod.outlook.com (2603:10b6:a03:330::17) To TYZPR01MB5556.apcprd01.prod.exchangelabs.com (2603:1096:400:363::9) X-Microsoft-Original-Message-ID: <20230607172316.2258278-1-hzyitc@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR01MB5556:EE_|SI2PR01MB4396:EE_ X-MS-Office365-Filtering-Correlation-Id: 4a91e872-dc66-4a38-e01d-08db677bfd45 X-MS-Exchange-SLBlob-MailProps: dx7TrgQSB6cnTu4xI/FKWkMgAUSlrozNByv3waylnVfc7LOQkKuwdoTDj6/k8SSvAM8dzgnqRcJVqBQKhFyIKzmB2NHcWopPB8SOjljTsq8RwC0BGdXP+HeW32ICwq4pc3RoMFkuZKZyHrlwrsoylMplajJIgN2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6mdQXk3eSIOWwqWJoLLcLBIZzplolHDb6CFjrDBOjYmbrp6zWQuJCHA7dVlWdWrnghAvKlsOLHQsmV/yfFYqDxvFITvuLCCca21T/3C0Mi1dum7stl+vGxOZC3Uo91UG94ca+Gocbn9xK8ZKYs/ACYtMxOesBe1yaUiJMfmOxe/wifCx2qm2vasD0Ai5kBYSzyIippfyIA8B79lhfTc5COo7EEY2/F9HrWW22FzoX10lfKernOKz7wLhcu1sQsbrLwGKH3OEMdUbiLuWYtb3FP7fxE45mk7oIwih+veRs4hubiMIfrG1UGNLBphPYvkhEdgSOpNTnjwFQwfSezc5p4m3NBTIJFBvyfj7axrbtdwS+eeEBk6caIR6NBm8Wdziz6Lwgc3KhAtj1jB+eWpxBoVJI/VIfpZLDfgOnJoaxxzPJSc= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4a91e872-dc66-4a38-e01d-08db677bfd45 X-MS-Exchange-CrossTenant-AuthSource: TYZPR01MB5556.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2023 17:24:03.5661 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR01MB4396 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org When I try to boot the IPQ5018 WiFi, I found some runtime issues. This series of patches will fix them. Ziyang Huang (3): wifi: ath11k: Add missing ops config for IPQ5018 in ath11k_ahb_probe() wifi: ath11k: Restart firmware after cold boot calibration for IPQ5018 wifi: ath11k: Add missing hw_ops->get_ring_selector() for IPQ5018 drivers/net/wireless/ath/ath11k/ahb.c | 1 + drivers/net/wireless/ath/ath11k/core.c | 1 + drivers/net/wireless/ath/ath11k/hw.c | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-)