From patchwork Mon Apr 29 14:01:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Gonzalez X-Patchwork-Id: 13647054 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED6AF10971 for ; Mon, 29 Apr 2024 14:08:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714399704; cv=none; b=XKcn2jF67SK01AYvxv8egy7+8nhF/jSTNublPleZZqKxDh2bXqE7EY8VX+UDHNufuBG2Ny5rpVekX1RixSrOhMXsp7pRgttTvB/jmGDdjVN6ybXcjjIpXdJKVdys7jFWdMmj4f6bd8D46W08jhhDKNx4x/0hgptErPWhfZXrLHg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714399704; c=relaxed/simple; bh=UMmU4EaPtt4Sc7gHKo5oC4Xvqd8k19rulgB4e7VGPFs=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:Content-Type; b=AiNrBIrH6ScDRKIGKrGXQNGz4L/L8kRIH/rqUA6Dm1SIFvbx//2QK5uES1+ZC4dePnN8CnYOG3aDhRDQxu72CtixqTiA1lRRtQwgoi83Z9kMyJ6zXp1/GE/Oz0pfv0DnwOs7HKcdOpp+Oy1a3tFGGurutTnJ/P/UT7xeYJes0eU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=freebox.fr; spf=pass smtp.mailfrom=freebox.fr; dkim=pass (2048-bit key) header.d=freebox-fr.20230601.gappssmtp.com header.i=@freebox-fr.20230601.gappssmtp.com header.b=Nhw9HWjJ; arc=none smtp.client-ip=209.85.221.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=freebox.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=freebox.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=freebox-fr.20230601.gappssmtp.com header.i=@freebox-fr.20230601.gappssmtp.com header.b="Nhw9HWjJ" Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-34d13789e2fso746861f8f.3 for ; Mon, 29 Apr 2024 07:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebox-fr.20230601.gappssmtp.com; s=20230601; t=1714399700; x=1715004500; darn=vger.kernel.org; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=ZgN/Q2xaGtKT6vvkSTDEzO9awo6/5voQRCCnxevwdKQ=; b=Nhw9HWjJqIH35rtbuCYJNilli0R5uvlS94U5G5XGnJk/WZXA33owxAekzK4+z6KRYc JDvlARjEujZwlWDdxxoggVYaSHJZ+m2xDVx9adEwkQz1TMtlNIJQmJISHaQTmnoKOftO cVdQa7gbiIHXebQv42VOUf2BFzAR1zIi3iKHTs3KvXAsY6I/NbHisNdpMEDUcHKGD1Pa pPLhA7Vj6c8nvgOWUxLQaCf/lWoe4CXcAEBxkQItuc5snD0pfj3IbEUk7ll4gOujBi6e YWqhCGIOviSdGk7F+bFaOoEbNIuKlyhIPRL8AjBRh832KEp4nxRESkiy2NZK4IwpATFA ctDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714399700; x=1715004500; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=ZgN/Q2xaGtKT6vvkSTDEzO9awo6/5voQRCCnxevwdKQ=; b=oxlNRns540drMT4Szwhu/tggc1DhXg0Hzbzb6VidODX6CgenHlnk2A/m6m6qKE+cg1 oDGABePPfS64HxJv6tal8oQu1mpfH9Mn0CT/++ex/1zBQ3l62vfVzlsj8xNlloiHuteZ 5lQ/qA/Jk16DP2ZwcLYvLTwhKMz03f15Uv0+avNHpUnrYN7JP7l+44aO1OuTG060/ao2 1lSOYa9V4d4we9Z9iXF1Gpg3x9S5MRsKqZNgK4tevtSYxB9RxgFD4LTsI6xYv6dPzrCm uv91PYVWiAGqQCl91Zpv1APvaOC2sZ1V3MZo7VGmUWLXQa/h8dIFqTtg2K1+h0KNCAiZ OS+Q== X-Gm-Message-State: AOJu0Yxhwf0vI9NJtdIa7Cy/WJRTB4K39yv960J7+dKEcZoQXJXC0VWw VyDslq3fcOncDrBJSZSgPLXiC/Rsrg1NQGVTCOd2t0VI+9YqMsmOgksKWkeloXc= X-Google-Smtp-Source: AGHT+IEYOKVhPKai+Fa1uXLnecUJvyvuyl4SsHgSfkU/MZ0kr1joJET/wbdjmxnDeMCyPvAKUbffYw== X-Received: by 2002:a5d:6306:0:b0:343:efb7:8748 with SMTP id i6-20020a5d6306000000b00343efb78748mr6534087wru.66.1714399700400; Mon, 29 Apr 2024 07:08:20 -0700 (PDT) Received: from [192.168.108.81] (freebox.vlq16.iliad.fr. [213.36.7.13]) by smtp.gmail.com with ESMTPSA id h1-20020a5d6881000000b0034615862c64sm29585477wru.110.2024.04.29.07.08.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Apr 2024 07:08:20 -0700 (PDT) Message-ID: Date: Mon, 29 Apr 2024 16:01:41 +0200 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Marc Gonzalez Subject: [PATCH v3 0/3] Work around missing MSA_READY indicator for msm8998 devices To: Kalle Valo , Jeff Johnson , ath10k Cc: wireless , DT , MSM , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Pierre-Hugues Husson , Arnaud Vrac , Bjorn Andersson , Konrad Dybcio , Jami Kettunen , Jeffrey Hugo , Dmitry Baryshkov , Alexey Minnekhanov Content-Language: en-US Work around missing MSA_READY indicator in ath10k driver (apply work-around for all msm8998 devices) CHANGELOG v3 - Add a paragraph in binding commit to explain why we use a DT property instead of a firmware feature bit. - Warn if the "no_msa_ready_indicator" property is true, but we actually receive the indicator. Marc Gonzalez (3): dt-bindings: net: wireless: ath10k: add qcom,no-msa-ready-indicator prop wifi: ath10k: do not always wait for MSA_READY indicator arm64: dts: qcom: msm8998: set qcom,no-msa-ready-indicator for wifi Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml | 5 +++++ arch/arm64/boot/dts/qcom/msm8998.dtsi | 1 + drivers/net/wireless/ath/ath10k/qmi.c | 11 +++++++++++ drivers/net/wireless/ath/ath10k/qmi.h | 1 + 4 files changed, 18 insertions(+)