Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10942569rwl; Mon, 2 Jan 2023 10:44:47 -0800 (PST) X-Google-Smtp-Source: AMrXdXvMpFiwbC9S71REjrHRWhk8mweJvOYOBalJfKGCceYmKEx3Gm0STEMPyjgDdu0VfwaPIsIM X-Received: by 2002:a05:6a21:c01c:b0:a3:96bf:b7b6 with SMTP id bm28-20020a056a21c01c00b000a396bfb7b6mr53501306pzc.8.1672685086939; Mon, 02 Jan 2023 10:44:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672685086; cv=none; d=google.com; s=arc-20160816; b=LUIZirfU6kUCNUgzyXDFlVDUq9LUhCVUlf9Nt4NWJZbCgRcoANLFxf279MWmgpRx7Y qcSVtI7GYw+I9bfMKx9xoSvuGSujNT0EvZ0u4uSUIQOROQVBMclZ2JIcj2UzCbioqEzQ 2+jaTkMVd5JGJxm+fHXI4dkeRkawLyw3ib+gSxdKesdJrPoL3egOOtmFUhQMThMYrayS 6aPi7phFtRiBUr0LD8N3n6VKVUYNOcLWfcGdvgSzyVljAyzuQNWM/Pnx5IC2p0lOgY0r id54biSMcXdatFljnerh9Pb6mB8pm+LEi5xvfeHK689Q8sWIjl066kPiVZEVXTeV07WQ Ordw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:subject:user-agent:references :in-reply-to:message-id:date:cc:to:from:dkim-signature; bh=wQgsuVVB5BXEqdo7ixI3OELjnDFpM1739xm9BL+J8Os=; b=f6FVDUWd+0kZREvpH6nqzWGvzwLPBxiOKaWHtQz26Bn84jQtpPvLKyOA9u+M07Tz22 2b/EavAPF67+H8oWHc9cWLBDyHbOFypbACFyEmkBUOB2Z78H5g0dBYvFqsIWH6rTasur iEwyaJBs834SAZ5INpAsA+csvSDzymL+yBcyieXINTgwhp1A8dyRdssbqUzXI7+tGb3b DE8sVTCHRgOSDK9l/ZTbmsvVGGazFE41yy+7MsrdbKtYqIWURPaxZXMkosDXYYtVxWCe a3KxUlv0D290YmHInmXH7T43PyzoJdPbt3Gk9mIH3FhHsOp94xTu4gE5ISNCUJKuGNPA vEKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=K3YC+6Tf; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p30-20020a631e5e000000b0047866258f1fsi29154346pgm.321.2023.01.02.10.44.35; Mon, 02 Jan 2023 10:44:46 -0800 (PST) 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=@broadcom.com header.s=google header.b=K3YC+6Tf; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233800AbjABS1h (ORCPT + 66 others); Mon, 2 Jan 2023 13:27:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229740AbjABS1g (ORCPT ); Mon, 2 Jan 2023 13:27:36 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A73E60C8 for ; Mon, 2 Jan 2023 10:27:35 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id fc4so68239081ejc.12 for ; Mon, 02 Jan 2023 10:27:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:subject:user-agent:references:in-reply-to:message-id :date:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=wQgsuVVB5BXEqdo7ixI3OELjnDFpM1739xm9BL+J8Os=; b=K3YC+6TfA/jmI3RuwXwYgEepICKRnnkHUaK8PYKSmNJu3sPueHh4CqFzqRA95U2wsy Zy0QCub2GPPPR1IYwKlo4If0cIOKnj9Wswwt4vyjPnoywzoPgaCRyp7caOPC0NMs6TIb 7mXSJsIE5HVin5ltOIcaxZaU4nBE45/mrOr7I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:subject:user-agent:references:in-reply-to:message-id :date:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wQgsuVVB5BXEqdo7ixI3OELjnDFpM1739xm9BL+J8Os=; b=aeMKl0ucevc+FaSY0cfSgZV1Wdn+JaZ0wIy6m6zsngXPuF/z4E3BtVCEzLw0DNk1QV U5bsRsa25ooh6EB+fchK1K+QrAy1EtRw/dL9HbxVkWIZzvu7bpsFhVfO+meemscK98jb m1Gem63ArX7LrMWA6sU7E7dv99vw6SVhSpSVuQNHgJjMnP8p4jInS6ZVrB21zwr4n6gb g26CCrE4WoKcfAt+Q7o7ydg5EIA3vaqgvPKBoyh0WH3F2vKA9xt066oSFsmtyMfoo9Dr IdPXvddP6mSqrEO05F5Qlq4OAvv1D8vMERGvNHZDadX/6jqMamwzCamxdspmRZq02g9C YHPg== X-Gm-Message-State: AFqh2kovWgUQtOazBkLWSGAYdzwjLBVxXzm6oFYAeC1cHsdB0yeYhG5G nTjVmQ2jUbXss4d09pMZgV1exA== X-Received: by 2002:a17:907:9b09:b0:849:e96f:521b with SMTP id kn9-20020a1709079b0900b00849e96f521bmr31430902ejc.32.1672684053670; Mon, 02 Jan 2023 10:27:33 -0800 (PST) Received: from [192.168.178.38] (f215227.upc-f.chello.nl. [80.56.215.227]) by smtp.gmail.com with ESMTPSA id lb2-20020a170907784200b0084aade9d6b5sm12205006ejc.17.2023.01.02.10.27.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jan 2023 10:27:32 -0800 (PST) From: Arend Van Spriel To: Hector Martin , Aditya Garg , , , , , , , , , CC: Orlando Chamberlain , , , , LKML , Asahi Linux Date: Mon, 02 Jan 2023 19:27:31 +0100 Message-ID: <18573bd1a38.279b.9b12b7fc0a3841636cfb5e919b41b954@broadcom.com> In-Reply-To: <9c5bdb0a-0877-ed16-f09f-164a9dab16d4@marcan.st> References: <9c5bdb0a-0877-ed16-f09f-164a9dab16d4@marcan.st> User-Agent: AquaMail/1.41.0 (build: 104100234) Subject: Re: [PATCH 1/2] brcmfmac: Use separate struct to declare firmware names for Apple OTP chips MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000d9dace05f14c1a99" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE 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 --000000000000d9dace05f14c1a99 Content-Type: text/plain; format=flowed; charset="us-ascii" Content-Transfer-Encoding: 8bit On January 2, 2023 4:15:41 PM Hector Martin wrote: > On 02/01/2023 23.40, Aditya Garg wrote: >> From: Aditya Garg >> >> Commit 'dce45ded7619' added support for 89459 chip pcie device. It uses the >> BRCM4355 chip which is also found in Apple hardware. However this commit >> causes conflicts in the firmware naming between Apple hardware, which >> supports OTP and other non-Apple hardwares. So, this patch makes these >> Apple chips use their own firmware table so as to avoid possible conflicts >> like these in the future. > > I think my reply to Arend flew over your head. > > My point was that I'd rather have the Broadcom/Cypress people actually > answer my question so we can figure out how to do this *properly*, > instead of doing "safer-but-dumb" things (like this patch) because we > just don't have the information to do it properly. Fair enough. Can you accurately (re)state your question and I will try to answer it. Regards, Arend > - Hector --000000000000d9dace05f14c1a99 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIIQdwYJKoZIhvcNAQcCoIIQaDCCEGQCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg gg3OMIIFDTCCA/WgAwIBAgIQeEqpED+lv77edQixNJMdADANBgkqhkiG9w0BAQsFADBMMSAwHgYD VQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEGA1UEChMKR2xvYmFsU2lnbjETMBEGA1UE AxMKR2xvYmFsU2lnbjAeFw0yMDA5MTYwMDAwMDBaFw0yODA5MTYwMDAwMDBaMFsxCzAJBgNVBAYT AkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMTEwLwYDVQQDEyhHbG9iYWxTaWduIEdDQyBS MyBQZXJzb25hbFNpZ24gMiBDQSAyMDIwMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA vbCmXCcsbZ/a0fRIQMBxp4gJnnyeneFYpEtNydrZZ+GeKSMdHiDgXD1UnRSIudKo+moQ6YlCOu4t rVWO/EiXfYnK7zeop26ry1RpKtogB7/O115zultAz64ydQYLe+a1e/czkALg3sgTcOOcFZTXk38e aqsXsipoX1vsNurqPtnC27TWsA7pk4uKXscFjkeUE8JZu9BDKaswZygxBOPBQBwrA5+20Wxlk6k1 e6EKaaNaNZUy30q3ArEf30ZDpXyfCtiXnupjSK8WU2cK4qsEtj09JS4+mhi0CTCrCnXAzum3tgcH cHRg0prcSzzEUDQWoFxyuqwiwhHu3sP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