Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1407041pxk; Fri, 4 Sep 2020 08:38:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfN2kk4FBwsbeJmTq4zFN3m/gLUj/V8Ptdsluo3t6URY4owZBtO2GvMIpZnf6WX+5PxTtM X-Received: by 2002:a17:906:a141:: with SMTP id bu1mr7995392ejb.303.1599233899185; Fri, 04 Sep 2020 08:38:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599233899; cv=none; d=google.com; s=arc-20160816; b=BKg1Q8KKrlgL3VeHNEwkoUyYEfwICQBMFGLncpZIvgqk+rg9G4uhGhLodgxv8Z9Mog f/o7x4Ju50hSBr2XtCwMUtBEPq1tb6d14y3X/EP/xgtQJdZwPWT6NT0LB3ZBK6f2yCtL VFaArPJe27Y2X7LCP2kZwRkkwhhQ5n4ex86SHjvlRz6WBj/mWEOcMv2JJLK8Ki7kCvlN q8BDRiWzRp7GMx/rNF5AMUjjB7ONufH3IqvdT4DKsITLKeJY7B+3TDBeWmqmZEKOzN0c uj/MmhYvsCdM89mR5zJmvvNnyYubC5iU/lTSHbKkTPFgo2R9D022RU/mb1M9nHwcx/Lp dN6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature:dkim-filter; bh=FiYPSdIcasJDZfv3aNVptPcdi4dM156HSZjodAgRMI0=; b=HrXwlhD4Dj1ttqmwMKfYn8rkv5yAULGxG+yFhB+7x4hrF+/AqQh7mZEsevogcqufeB aivB9bqfHyN48v35VZXyL82y4Pf9ZApKOqx45EI1J9otPSc8ORWa7WArT5iDG6NtpNtw 4mL90QCsF4eBRuM93iYJ6fpsQEFMixr//+vYBHQB3x1aIRTqM8o/YcNg1WhdQo4lWFI8 pQNNEMx7/7PDJF8z3Q+tSw2Ky5fBANHfbgutqpiW7qiKvUDAAzsevUX5gYUV433Hy82b 0t1wycYxMCTh9LhOr7j1imAhNP4cw+uUsZCbuT9b9vzqsJ67h6Hw6AS7O+GhfMzeEtWc qLZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=l3myFc6F; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id md20si4369942ejb.439.2020.09.04.08.37.45; Fri, 04 Sep 2020 08:38:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=l3myFc6F; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726220AbgIDPel (ORCPT + 99 others); Fri, 4 Sep 2020 11:34:41 -0400 Received: from mail2.candelatech.com ([208.74.158.173]:56830 "EHLO mail3.candelatech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726111AbgIDPek (ORCPT ); Fri, 4 Sep 2020 11:34:40 -0400 Received: from [192.168.254.6] (unknown [50.34.202.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail3.candelatech.com (Postfix) with ESMTPSA id 3B80113C2B0; Fri, 4 Sep 2020 08:34:39 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com 3B80113C2B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1599233679; bh=tE73cSbjzsifns7bdKJWXpC+EbsWdJdQc0qrZKnYBtE=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=l3myFc6F3GTfBMF1i7aR/zU1D8dK45dltesIAEfcHJLF6rjVm70501HieKxxsN6Xn xDZb39c1DiYNqrj82YTa5fNAY8xXA8AcjW88Q+fhrKVEu6aL9N3Sh+YIkb16NOwBHJ GG/BQUMXVJ/gCEMhOZ0gBhctDt05PHtQERU3HRes= Subject: Re: [PATCH] ath11k: Allow debugfs to work with 2+ radios installed. To: akolli@codeaurora.org Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org References: <20200903172359.29199-1-greearb@candelatech.com> <0101017459a1d409-4d95a8e1-d404-4fba-a25d-b2e3075947e0-000000@us-west-2.amazonses.com> From: Ben Greear Organization: Candela Technologies Message-ID: Date: Fri, 4 Sep 2020 08:34:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <0101017459a1d409-4d95a8e1-d404-4fba-a25d-b2e3075947e0-000000@us-west-2.amazonses.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-MW Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 9/4/20 8:00 AM, akolli@codeaurora.org wrote: > On 2020-09-03 22:53, greearb@candelatech.com wrote: >> From: Ben Greear >> >> The code is trying to create an ath11k directory on debugfs >> root, but that fails when there is a second radio (and thus >> second instance of the driver). >> > > Hi Ben, > > IPQ8074 is soc and it does not need second debugfs entry, its on AHB. > QCA6390 is a pci card and multiple debug entries are needed if multiple cards are available, > I am planning to post a patch with bus specific abstraction function which creates single debugfs for soc based radios and multiple entries for PCI based radios. > > AHB: > debugfs/ath11k/IPQ8074/ > > PCI > debugfs/ath11k/QCA6390_0001:01:00.0/ > debugfs/ath11k/QCA6390_0000:01:00.0/ I appreciate your feedback on this! Why not just stick with the way ath10k does, having the ath11k debugfs entry be under the phy debugfs directory? Maybe there is a high-level design document for the ath11k driver somewhere that explains how and why it is architected with the ath11k base object holding multiple phy objects? And, very curious to know if you are able to get multiple QCA6390 NICs running on the same system, I'm seeing all sort of problems including NICs not always showing up in lspci and such. Thanks, Ben > > Thanks > Anil > -- Ben Greear Candela Technologies Inc http://www.candelatech.com