Received: by 2002:ab2:31c4:0:b0:1ef:b27b:cc29 with SMTP id d4csp244742lqf; Thu, 4 Apr 2024 05:35:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVJi17yfkIcKYggvFkefDDnvlbYw+3bOFgdmvpcvkaWmKdWRUQOfIFD37LL0ytXefv5FBpEsYR/MxCKwrQh3x9uMgRZ7Y4KL+wW39ZJWA== X-Google-Smtp-Source: AGHT+IFSkUqrR2IyAq1yeMkAX/9VJ5iq9jFIxW054DzANndLNHFa8mRU27JOFv1o3WSnUkN9vYuR X-Received: by 2002:a81:62c5:0:b0:608:3785:707a with SMTP id w188-20020a8162c5000000b006083785707amr2528017ywb.52.1712234123519; Thu, 04 Apr 2024 05:35:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712234123; cv=pass; d=google.com; s=arc-20160816; b=Uq2Ijwqbrltuxxiwd9t6hywVDA5YXlD+p+F191h/H9I3Z4vcNlq9r4lkvkxvgOoJgw Fs48p8q4JiaktOHYVu/rLz9bJMrrpJdpcCff2d3y+j5IOMWFdVfEH2LUoNKW24MXVbKB Om0HyW572hNxbsImQH6NthAWTSE1/DERTkJz04JKEPvpQ3QGCZ9anfJhJlljL+EHloqC 1PxedQEfTy/HpjHgXoWrVUDk4HlKTB5V/Ng0fjjQB6C2aGlVRcP6cg985qNMeyGv8DsS QUlsi0TKqmqwhTc2PN56ANWJb3FIjg2VartesGrz+pKSGOLbWG87T3/GWPTrIiBInZ+a JjLw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=3+BMPQleoesnEmuZIKvnJIR9RrNyhXeocOmGMELh+Uw=; fh=DaLhjE67aG9bZEreYTfu2ziJn1AtId5iDUO9lipjQjg=; b=pfWHGASEtb1FrKbz3f4cumLwYeJ5u18ybc35iHxzYpMYqKdHF7Yhleeak3EvvQpgPt a2JC+aGBmZIyXyn6L8mCngRlgdPN41LzpkAJBt3yGa6ZlWD9unOyGUCffbDi9Dm/l1Af vpgIk4YNKzuFvsBkAphrileR0Jztr31qpv+taNCcpCQcbHjdaucVbhjXn44CjQC/cxWm V/nzmEIJRry3PC+aqpw3sYawaaKGKV9ZKQk1I5Zxbb6KT5Y6Fck0z/gd23cM68E9Y14Z Ytaruo75jYgeBveM30BgasMBRA0OgMhK4/wA5RMCVeM4wkTzK5FbyK+eRWLr8Rvb6dsa Gl4w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@freebox-fr.20230601.gappssmtp.com header.s=20230601 header.b=UdPpvlmz; arc=pass (i=1 spf=pass spfdomain=freebox.fr dkim=pass dkdomain=freebox-fr.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-wireless+bounces-5872-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5872-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x14-20020a0ce78e000000b00699207c6f43si4963061qvn.94.2024.04.04.05.35.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 05:35:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5872-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@freebox-fr.20230601.gappssmtp.com header.s=20230601 header.b=UdPpvlmz; arc=pass (i=1 spf=pass spfdomain=freebox.fr dkim=pass dkdomain=freebox-fr.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-wireless+bounces-5872-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5872-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 2818B1C21AD5 for ; Thu, 4 Apr 2024 12:35:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BDF3A43AA4; Thu, 4 Apr 2024 12:30:46 +0000 (UTC) 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="UdPpvlmz" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (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 3F87D4DA1F for ; Thu, 4 Apr 2024 12:30:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712233846; cv=none; b=dLzJ1lZprNlQS9xNlYUECVIXa8NBylM2Q52og8SyB+uLbsfPc18zDPVBgU1Y9ECuWF1TEDzx20aGIiyYWEijJ8NJH7830x3dcIJplwiTpTe+/kAc85DSDSGr2uLPCbq5jzdfSX5mVIjWVmbHFFa7KeHAElo1sy4rxzynIjG3pEc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712233846; c=relaxed/simple; bh=f28NbA4ZuZA/fyXjKOiLtArFZfgGGB0391csJcl81uI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gY8wbSXTrjuDmzoyyNIRdjoSb3ssB3IIKPdWRB3Dq6MGKH7/5vibzsmJt8GypbydD4NbDPjiy9IccNIw8yROARuVyPZSrVZgLXkUpLWAnRM34Kz/7AlhCHhqemBjTi943WNHIPM59VTzaAe4i20NJIh+b9eaxqTOOMbMBdpdlys= 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=UdPpvlmz; arc=none smtp.client-ip=209.85.128.53 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 Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-415515178ceso6948455e9.0 for ; Thu, 04 Apr 2024 05:30:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebox-fr.20230601.gappssmtp.com; s=20230601; t=1712233841; x=1712838641; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=3+BMPQleoesnEmuZIKvnJIR9RrNyhXeocOmGMELh+Uw=; b=UdPpvlmzbkRG0OBRspo3R6mr9qaIOIjxZ3kgoE+5VEYXEL0mQgi2XxI7E2yA7sSkP9 2It8Fbwdwvf3cwC6wQ36RsqylPkisJvFNs64yUQahiBxtGZODn0TjkEsicM0HdeqUmys PVF4DoUzvrwAAN/I7G3AnJ+vbXnNN1c7y0BIbSJfP+qOgmI5QaHcFW2Za1wHY2YHj9Y3 okSQgifFnSEurZ441Nh9NBkFymOqlRA8iCOIl8IYMDE8ghZ83NLvo3vyjCO5kypkYfl2 C3AakstAoqzTWK0ctR00oDwjj1eE7htJoeilH/H5eRXyxXHarWWzHf9fTAsMb4TcGWxm UOkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712233841; x=1712838641; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3+BMPQleoesnEmuZIKvnJIR9RrNyhXeocOmGMELh+Uw=; b=N4DdTvw1zlB/eZ790t4PbJRRrPrHiEK96jTa8pv2LdLofS1yQvJFNvX5ejacpcGR7N JSx5IxPGzJUStIM+Ppy51jxcWu8HUosjPMClXhTatpVv+naU5ZIAcHcRgYLmhStakJ7o JPcrDG3vyUBmlQ32tgyh3Ymdxg0kBAEtM6mFSKZ5oC6RZVL5WGOOJ5Rvh1p30WAK4HAr B0YPfPAbP5uCMZ0wUTQoaI12F38SENJ23cBz/Hed6q++eMqWeJnUWCGu5iiqxUANZHQQ 9WQzgziLFT1ip05l4he/QCFD1lrWE/FzEjsgCtKVJ3/0yfTs2Zd85bIO1AtLxpZVe5wn W/qA== X-Forwarded-Encrypted: i=1; AJvYcCVlWPaWkOq2zcketiQb38Z+IbaqjPExriyBeZKP/1BFsAUKJY7duDrgMUZvQ+WGGgCKFYZG8froBOpmX1ZqOKaNydrt5p52tfVqcvcLAUo= X-Gm-Message-State: AOJu0Yx8bVHP2k4R/pl7HKdb93kz7DRl/qOWhffjzsFPd0LFMpgL0EjU WxCQdYUpD/8HfxyXe0wvqAOK2K/HkcoI0giIqhSWz0GBzpVcVzDOXxaFFJ+nEDU= X-Received: by 2002:a05:600c:3115:b0:416:1d2e:62f1 with SMTP id g21-20020a05600c311500b004161d2e62f1mr1874361wmo.5.1712233841414; Thu, 04 Apr 2024 05:30:41 -0700 (PDT) Received: from [192.168.108.81] (freebox.vlq16.iliad.fr. [213.36.7.13]) by smtp.gmail.com with ESMTPSA id bg2-20020a05600c3c8200b004149530aa97sm2617799wmb.10.2024.04.04.05.30.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Apr 2024 05:30:41 -0700 (PDT) Message-ID: Date: Thu, 4 Apr 2024 14:30:40 +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 Subject: Re: [PATCH v2 3/3] arm64: dts: qcom: msm8998: set qcom,no-msa-ready-indicator for wifi To: Kalle Valo , Dmitry Baryshkov Cc: Konrad Dybcio , Krzysztof Kozlowski , Jeff Johnson , ath10k , wireless , DT , MSM , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Pierre-Hugues Husson , Arnaud Vrac , Bjorn Andersson , Jami Kettunen , Jeffrey Hugo References: <5cdad89c-282a-4df5-a286-b8404bc4dd81@freebox.fr> <252618e8-9e80-4774-a96c-caa7f838ef01@linaro.org> <502322f1-4f66-4922-bc4e-46bacac23410@linaro.org> <0ca1221b-b707-450f-877d-ca07a601624d@freebox.fr> <87ttkh49xi.fsf@kernel.org> Content-Language: en-US From: Marc Gonzalez In-Reply-To: <87ttkh49xi.fsf@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 04/04/2024 13:57, Kalle Valo wrote: > Dmitry Baryshkov wrote: > >> I'd say, we should take a step back and actually verify how this was >> handled in the vendor kernel. > > One comment related to this: usually vendor driver and firmware branches > go "hand in hand", meaning that a version of driver supports only one > specific firmware branch. And there can be a lot of branches. So even if > one branch might have a check for something specific, there are no > guarantees what the other N+1 branches do :/ The consequences and ramifications of the above comment are not clear to me. Does this mean: "It is pointless to analyze a given version (or even several versions) of the vendor driver downstream, because there are exist a large number of variations of the code." ? And thus, "it is nonsensical to try to "align" the mainline driver to "the" vendor driver, as there is no single "vendor driver"" ? Thus, the following patch (or one functionally-equivalent) is not acceptable? diff --git a/drivers/net/wireless/ath/ath10k/qmi.c b/drivers/net/wireless/ath/ath10k/qmi.c index 38e939f572a9e..fd9ac9717488a 100644 --- a/drivers/net/wireless/ath/ath10k/qmi.c +++ b/drivers/net/wireless/ath/ath10k/qmi.c @@ -1040,6 +1040,8 @@ static void ath10k_qmi_driver_event_work(struct work_struct *work) switch (event->type) { case ATH10K_QMI_EVENT_SERVER_ARRIVE: ath10k_qmi_event_server_arrive(qmi); + printk(KERN_NOTICE "NOT WAITING FOR MSA_READY INDICATOR"); + ath10k_qmi_event_msa_ready(qmi); break; case ATH10K_QMI_EVENT_SERVER_EXIT: ath10k_qmi_event_server_exit(qmi); @@ -1048,7 +1050,7 @@ static void ath10k_qmi_driver_event_work(struct work_struct *work) ath10k_qmi_event_fw_ready_ind(qmi); break; case ATH10K_QMI_EVENT_MSA_READY_IND: - ath10k_qmi_event_msa_ready(qmi); + printk(KERN_NOTICE "IGNORING ACTUAL MSA_READY INDICATOR"); break; default: ath10k_warn(ar, "invalid event type: %d", event->type); Regards