Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp60656lqb; Thu, 14 Mar 2024 05:42:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWWw9eHB45Q0ZO88EDCGf/MS31oUWYSXk3aEaPOq8Z1UTOjbV7NOb9hHADOu/WYPWO3Yzg49haugn+V93ZXzEjRR8wWgQBVi4gkhFIkzg== X-Google-Smtp-Source: AGHT+IEZFv612PjUASmfPMjhGapo6BPbr1gC1kH6cwXeObBMYR8YsO4epMOJSLE4L4BjbYo6N1Ak X-Received: by 2002:a05:6402:3226:b0:568:a070:5cef with SMTP id g38-20020a056402322600b00568a0705cefmr449737eda.3.1710420125454; Thu, 14 Mar 2024 05:42:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710420125; cv=pass; d=google.com; s=arc-20160816; b=diJklSzqbsGa7ooZ1rWbbicD0xr/DvHgCGe2pRg0Ajd3dhpK/Kf7hWpsfUyS0oWU1h PFoOJB4PubmO0ZFgzTSn0KiMcHCg8zze6nmpbW4c7jn84pWSKAFGof8jOhKIJzYvAO/U KvXh2w2dutXgPg7VJWDNcuMhlzcsV3PV6UkMGJUc//jZcu5drS8VybBgW2IN6N+u69Kt uQyydkY8INgojchjIokdrWfc/DU0HFEiAAJRWRwK/gJtabWYcqr1vkZjgCkxm3Gko3/J GKGpr3leMTMVB5/oqfJZTVgZJQRJdYGdmBtapAG7YIclGMgh4xhEqBcM/Rgygd6jAyrO eW7g== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=gE5wEUzP7oRy3rpOImMIWYyKlvOqAt+4cy9tZHxAd+w=; fh=diutG7Jc17+pUPVJl3WnK+KJVdx/kN3g9NVcxgDjdKg=; b=Je98XJSBZtOmnmJHkVUBUi8BtI0WYhLrnPRTjPD1tbdpEyXa43FPerXqZI3xqZx/IP hIWsBSvVQGezFcfcFgnSvaTb0aVjcVhhF6+fM6XkvICXC09sEb4t2VmNUnwbFRQ4Xt90 xeyUCLLO3JkS2FnvA19c/qFg4uVra4ssnxlaO/1vutlx/1Lj9K84wo5ntHAac6JgTaGn AXOnsUcxBYs4jA5thCrgOUotUEwuGpDOX58iX+pN293nZbI/5pYVXdaVGkI4Do87nO76 YxX7NBfX374YWQwnOuCqi1/nm8bxd90ag3JwT4fFsjS9JzXjwlwsUEapBtRqtycaTV8Q /xVg==; 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=v2MCGf7j; 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-4746-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4746-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r21-20020aa7da15000000b00568949a902csi690067eds.144.2024.03.14.05.42.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 05:42:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4746-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@freebox-fr.20230601.gappssmtp.com header.s=20230601 header.b=v2MCGf7j; 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-4746-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4746-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 am.mirrors.kernel.org (Postfix) with ESMTPS id EA9A51F252DA for ; Thu, 14 Mar 2024 12:32:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 757B65811C; Thu, 14 Mar 2024 12:31:51 +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="v2MCGf7j" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 1D5FE53E2D for ; Thu, 14 Mar 2024 12:31:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710419511; cv=none; b=UatmRGVsvnpPhsFlAA/thyWaQT662JcsY2cbOxlzMdIAhygP1z5MQCE6NrJw4vJkwnXNQKgyCJ6CXBo6bPzOGXprh5Dyc4boyoKFfS2/NZvLW/b3DvxLf5zuXqmmUI8u/PtjvhkaBzRRoIBr3SKUq+Qo6q8/XcPbSjfgqzH5VmQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710419511; c=relaxed/simple; bh=xZP0lBjNkwnLWtWJybWs/jJTRTA3Y/OQMXmp+1aCZQ8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=f82WNlwS1wK4S1RfLSbWFhjhHASwBnvnXQ0bonGuo5UvmlD/1QZ3xsGs0+srN8Or+S9mFj4DUCkcnk8EG4C/WnRjU24TB6JQoOgBuQdBOdaU3+kkccIH7A4ISgISxmRuFFDEzHigVefRWq/skNK5McCCAVQ/bQaGRoSOupjJrI0= 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=v2MCGf7j; arc=none smtp.client-ip=209.85.128.49 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-f49.google.com with SMTP id 5b1f17b1804b1-413fd8e4b3cso34955e9.3 for ; Thu, 14 Mar 2024 05:31:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebox-fr.20230601.gappssmtp.com; s=20230601; t=1710419506; x=1711024306; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=gE5wEUzP7oRy3rpOImMIWYyKlvOqAt+4cy9tZHxAd+w=; b=v2MCGf7j45xaZ/8HWvkl5fvTq+xA8iFVaxGlFBhvD3KS4fMp7d6CGG76I/uqnMi5ly 3e8cfbn2xGewR55w9/wL1sn23Q7K2W6v3ifyeMkzDkX4I31l/9fzLp3S165qQtyCT96F a7rUGSE+/JolHe8pLnXotOpPOzICCDIoWgNVVqqWUZldeNY9aRrMV0p8WwaRu0pG8uTr gkvu+z57cVUt/05BxYThfezvygVdLk3aLUnl3UtzvvRlaZunXgfgXjLqcIHfWWGSw0ey cCLyl8PY8/1HqzL2trbnCHQtUcI+PDQ+bbo8XtmslVsoOU8TqEWQKvY8c82tSPE/ZJhM 8k4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710419506; x=1711024306; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gE5wEUzP7oRy3rpOImMIWYyKlvOqAt+4cy9tZHxAd+w=; b=gZKhprBvtGeQsHp7J4CRFI5h/bGRlT4hu5GW+LW8Y6vlv9q/mWUCrW0ez0BFpZ6x+b 6JcDGMpfy41pef7DmAo0obZOauhy9haXqYqAhMC/pLa8LMvg9PFV2Mca/mJujFYKjR8+ t/VRawtAwXzr6Kr4RKXIh9ftm9dVCPozGBeR6VHLDzXPakiBFzK1K4ZCp1kbvrdr0KAH FcNJEi5mh8286bpgLZiftNitQmg8zAgqFI8dyPWDh5c5lMejOEUuVaoYpmNMzLXxJ9sL 73udXLQF40H1kmhVSjDPJHO4eGOqaPWB+/PI7DQ6KkCJ6QuEMZC39+qhbV2ua/PrUiJM 3xJg== X-Forwarded-Encrypted: i=1; AJvYcCWCM4cXOJC/RMMj1m0m21PuUY8kw5p1ORhWwflhw5oK4LeMSIlDGFwvmpWdYPBCD7OqsXOasMHrM/YgRWwb64oFBAvIhAdIQSWF8duNSgQ= X-Gm-Message-State: AOJu0YwYJrzbNcqo0IQn8zSVxNaTbjr7s09pKWRRGAoj5KbzC2t1siYk wYxSnOrboymHzH1CBD9OuPSFDAdHuhl0yNwMHRhih5kpDILPnQMaQ1Gk5L4Jqfg= X-Received: by 2002:a05:600c:3150:b0:413:f7c4:f4fc with SMTP id h16-20020a05600c315000b00413f7c4f4fcmr659441wmo.15.1710419506243; Thu, 14 Mar 2024 05:31:46 -0700 (PDT) Received: from [192.168.108.81] (freebox.vlq16.iliad.fr. [213.36.7.13]) by smtp.gmail.com with ESMTPSA id s9-20020a05600c45c900b00413e79344b7sm2352745wmo.19.2024.03.14.05.31.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Mar 2024 05:31:45 -0700 (PDT) Message-ID: Date: Thu, 14 Mar 2024 13:31:45 +0100 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 1/2] dt-bindings: net: wireless: ath10k: add qcom,no-msa-ready-indicator prop Content-Language: en-US To: Dmitry Baryshkov Cc: Jeffrey Hugo , Bjorn Andersson , Konrad Dybcio , Kalle Valo , Jeff Johnson , ath10k , wireless , DT , Pierre-Hugues Husson , Jami Kettunen References: <14daa98e-7fd3-4ebb-87bb-5d2c1fba679f@freebox.fr> <871q8wk7o3.fsf@kernel.org> <3392f356-7b19-483d-b9f8-3bd84068fa52@freebox.fr> <87wmqoilzf.fsf@kernel.org> <87cyse8j9m.fsf@kernel.org> <6d4b1381-c121-4cda-a8c9-9ccac56bd447@freebox.fr> <87plw87nsc.fsf@kernel.org> <0816f7bb-3c97-4b90-8e19-191552ea6e26@freebox.fr> <87h6hk7aee.fsf@kernel.org> From: Marc Gonzalez In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 13/03/2024 16:53, Dmitry Baryshkov wrote: > On Wed, 13 Mar 2024 at 17:09, Marc Gonzalez wrote: > >> On 05/03/2024 20:20, Kalle Valo wrote: >> >>> Marc Gonzalez wrote: >>> >>>> I need to build a kernel + rootfs + FW to test the proposed solution, >>>> then I can spin a formal submission. >>> >>> Yeah, please do test this to make sure we are not missing anything :) >> >> I used buildroot ( https://buildroot.org ) to generate a kernel + rootfs >> for my board (a variation of qcom/msm8998-mtp.dts) >> >> Not sure if I must use the vendor FW blobs? Or if I can use the blobs >> from linux-firmware-20240115.tar.xz (as supported by BR2). >> >> >> All I see from the ath10k driver (with debugging cranked to the max) is: >> >> [ 0.539801] ath10k_snoc 18800000.wifi: Adding to iommu group 0 >> [ 0.541941] ath10k_snoc 18800000.wifi: snoc xo-cal-data return -22 >> [ 0.543633] ath10k_snoc 18800000.wifi: supply vdd-3.3-ch1 not found, using dummy regulator >> [ 0.544002] ath10k_snoc 18800000.wifi: qmi msa.paddr: 0x0000000094400000 , msa.vaddr: 0x(____ptrval____) >> [ 0.544271] ath10k_snoc 18800000.wifi: snoc probe >> >> >> # ip link >> 1: lo: mtu 65536 qdisc noqueue qlen 1000 >> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 >> 2: enp1s0: mtu 1500 qdisc pfifo_fast qlen 1000 >> link/ether 34:27:92:82:48:ec brd ff:ff:ff:ff:ff:ff >> >> No wlan device at this point. > > Do you have pd-mapper, rmtfs and tqftpserv running? You also need to > have wlanmdsp.mbn in the same directory as modem.mbn for your platform > (see how this is handled for sdm845). > If these points are implemented and you still don't have the wlan, > please check for tqftpserv messages in syslog. I first tried using buildroot, which doesn't package these tools AFAICT. I have now generated a debian rootfs, which does package them. >> I got shell-shock from reading these setup steps: >> >> https://wiki.postmarketos.org/wiki/Qualcomm_Snapdragon_835_(MSM8998)#WLAN >> https://github.com/jhugo/linux/blob/5.5rc2_wifi/README > > These readmes are mostly correct. You don't need qrtr now, it is > provided by the kernel. pd-mapper (protection-domain-mapper), > tqftpserv and rmtfs usually can be installed from your distro. Can you explain a little bit why all the steps are required just to be able to talk to the ath10k IP block? It's just an MMIO device, right? wifi: wifi@18800000 { compatible = "qcom,wcn3990-wifi"; reg = <0x18800000 0x800000>; reg-names = "membase"; Is the IP block behind some kind of switch that must be programmed by a remote processor on the SoC? Regards