Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp128822iob; Tue, 3 May 2022 13:12:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzicjHsnGSb0xgSsRmZ+LAGgVo1n73DYuLQSjMYh1FSZkA07y4xCVALW98JzvPS/o2MeUvC X-Received: by 2002:a17:906:2e8d:b0:6f3:a30e:15c9 with SMTP id o13-20020a1709062e8d00b006f3a30e15c9mr17416745eji.333.1651608750600; Tue, 03 May 2022 13:12:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651608750; cv=none; d=google.com; s=arc-20160816; b=WP7CiVj1TG7IAoUsd/Xjq0ZSZ91AxQyYC0bs7n57ODfSuZD6dLS/Xdzp+47suZlRWK ot6Dlgbw6XRow0eummawZmXGB6TVC2fsDCDAGSYGNO1iuLT+KnD5mDBUKJjIN18F/fCb 2ACqgOpPxK2LElyC4piVW3sfD+cKYaSeJEU0zBXXjnPKBbh0ukS+ZQACawzo1cD0uX0x BmsjAARaNwKVSia8BIghXjIxod2/BqEbhDFyMpGEL+15CpWCLi44oJgu/O3xril1EwM2 lEMTQzXIujtGzdrumK91lFAH0o8yxiaBh4RF9JLX6SSQ7x7e3wkFWBNfjpUaLfg/4Q50 tY2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=66qLlJx7nKrNSsQ33ieGox6v7vdk5wYAsgHq0JYbR7U=; b=FRYd1havuUo+7Fq7iodwfY919tG0r52fhWaFoQHDQ+VKH5je3sk+mePz/rHPaTssIF H4io8mcmbTDIKQ73JirgyYJ11tN3XNMtD++EU8KufcvrNkrQ/9eczS7aNKKrJRy1zOM6 Ho8rbBz9vUksz9f/D+fgnYCIUN5LRuncSAWhgNLHwwYXsX8LaJVx0lwiS53Df7yn1ksj j+SgkFOFJeYuwoH7GiHM5HR8GxvGj2vR/fScmCd/aUfNcv/c+mqP75dZBph0jvSgo0qe 7VPgxRJAHQr7/B509Z979kTcX4cM6utv3j+kBjcxOsZvfFfz0OhwfjcyDbYhNTAPhyAW iUyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="GU7ZZ/4j"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dd17-20020a170906c83100b006f3a202b991si13948504ejb.990.2022.05.03.13.12.13; Tue, 03 May 2022 13:12:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="GU7ZZ/4j"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239056AbiECQBt (ORCPT + 68 others); Tue, 3 May 2022 12:01:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238844AbiECQBs (ORCPT ); Tue, 3 May 2022 12:01:48 -0400 Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9AE131DFF; Tue, 3 May 2022 08:58:15 -0700 (PDT) Received: by mail-qt1-x836.google.com with SMTP id t11so13723540qto.11; Tue, 03 May 2022 08:58:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=66qLlJx7nKrNSsQ33ieGox6v7vdk5wYAsgHq0JYbR7U=; b=GU7ZZ/4jdmm749iUiJVRCIcPeLZcuoc09ThrWS55XaIe0iWJcOrq3NCgG1FOka+F3C ZmkSJ4HFoVOyzzf3+xlOWOJxi8mU+ckUhZbyIJXEeYec1x43FV5KAfgJOvN439PiZtkm NlUdvMEqaNQt2RyjERWTx84VUQGo6QHDQjHxe+/Gp4FLE1v87lDZ3a91JQAS5D7IBdA8 gguUf+C8ZN4inU2sk1Gx5IZtDWh99fsY8eiH8tumQCfFSYWNMJ0QeahN1MKGK0GsZPBl XbmlDVpzpFHBnLSaGQxOQotypnLnwC9WJzN3nj7AUNPbERXgPqM/nwm7NPRA5tG+BqCB k2sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=66qLlJx7nKrNSsQ33ieGox6v7vdk5wYAsgHq0JYbR7U=; b=0+SqBgxTyXPAIpHgYOnVZ0ZeZ/XgFrU8ANyLLX5eBMoApQ3ON7kzonxorU+CUGjW6i p6xgUeSGOPaaxj0h32w60kWzucMoaPwauZJN7Odlrv6SWArJPObqECnI0Z688HbfRIgv PKnCR0lTHgpXB+pNYRYjB2cpQQ7cDKEDRzFmGDYVy5+/t9ryzaeo8F26on+LqXL9bXST KcnMvKaf89b3Ub4olCHHgSsXDfvadGk7nyZaEUwOp9Cf6woyqqWcqt242bWH/DcmRPK2 9ZSEGIIuIFXnWiZyfuBcvLLepyVv6+2PdLiHZbhIvrthXWFVGRFFs52RYliBDvtVOCv+ RSDQ== X-Gm-Message-State: AOAM530uMGKxMiyzmkShtNYFl72CrIcRlm1dBNh47mhZs1MbAII3aS2Y E1/fRO51QTSO1drGIT6uaUunKziTb+4adFJ0EgA= X-Received: by 2002:a05:622a:155:b0:2f3:9484:c38e with SMTP id v21-20020a05622a015500b002f39484c38emr15379813qtw.494.1651593494861; Tue, 03 May 2022 08:58:14 -0700 (PDT) MIME-Version: 1.0 References: <20211009221711.2315352-1-robimarko@gmail.com> <163890036783.24891.8718291787865192280.kvalo@kernel.org> <09a27912-9ea4-fe75-df72-41ba0fa5fd4e@gmail.com> <70a8dd7a-851d-686b-3134-50f21af0450c@gmail.com> <7DCB1B9A-D08E-4837-B2FE-6DA476B54B0D@slashdirt.org> In-Reply-To: <7DCB1B9A-D08E-4837-B2FE-6DA476B54B0D@slashdirt.org> From: Robert Marko Date: Tue, 3 May 2022 17:58:03 +0200 Message-ID: Subject: Re: [PATCH] ath10k: support bus and device specific API 1 BDF selection To: Thibaut Cc: Christian Lamparter , Kalle Valo , kvalo@codeaurora.org, davem@davemloft.net, kuba@kernel.org, ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, open list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Wed, 16 Feb 2022 at 22:55, Thibaut wrote: > > Hi, > > > Le 16 f=C3=A9vr. 2022 =C3=A0 22:19, Christian Lamparter a =C3=A9crit : > > > > Hi, > > > > On 16/02/2022 14:38, Robert Marko wrote: > >> Silent ping, > >> Does anybody have an opinion on this? > > > > As a fallback, I've cobbled together from the old scripts that > > "concat board.bin into a board-2.bin. Do this on the device > > in userspace on the fly" idea. This was successfully tested > > on one of the affected devices (MikroTik SXTsq 5 ac (RBSXTsqG-5acD)) > > and should work for all MikroTik. > > > > "ipq40xx: dynamically build board-2.bin for Mikrotik" > > > > (though I don't think this link will stay active for > > too long.) > > IMHO Robert=E2=80=99s patch addresses an actual bug in ath10k whereby the= driver sends the same devpath for two different devices when requesting bo= ard-1 BDF, which doesn=E2=80=99t seem right. > > Your proposal is less straightforward than using unmodified board-1 data = (as could be done if the above bug did not occur) and negates the previous = efforts not to store this data on flash (using instead the kernel=E2=80=99s= documented firmware sysfs loading facility - again possible without the ab= ove issue). > > HTH > T-Bone Kalle, any chance of reviewing this? It just brings the board data in line with caldata as far as naming goes. Regards, Robert