Received: by 10.213.65.68 with SMTP id h4csp358375imn; Tue, 13 Mar 2018 06:42:17 -0700 (PDT) X-Google-Smtp-Source: AG47ELuBmh3MW9A7FeoP9Ft8Jx22lRQynbs5ZZA1nLD7YoNBQrJwSLkJ0gJUguhVNHOgQd8ejPdw X-Received: by 2002:a17:902:b416:: with SMTP id x22-v6mr611650plr.279.1520948536955; Tue, 13 Mar 2018 06:42:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520948536; cv=none; d=google.com; s=arc-20160816; b=Qmkiu/DPTzQYkZlogT8mgdIYc172NYHV3Rt3WpdzHedZbAwCTYZCfrXFcniRs3pEIL +Jf/XR9DVpRlNz0lzIZOCJINsAR1Yc4LiruW/0zhYLWykLKMm8OpShSLBmBX96fIfq8p 0rzP4EuuLZYttZDxTNDhnVg5mT1WHCEmfR2H/XMZ2wW/9adiwVkFqmSm8FrBRWufFzAe vc8in+5SEa+xDwtf+5uf9K+Ue/1XVDeqSzq71FVz7EHjoIxyP+MrxmvQKUmPQyJi7/79 9QaZXbvnXYzQe1jFiiqsg5evBNVlH6bNCZ1rsU/WxH3iJJ3ndMRgVNlPD3api/Kiwme8 ygEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=XAAgRju2j0m6FKV+FlV1z+MIh8rgbyF8hda8YbWIq7E=; b=VfZevHX56mNBmuCyUyRTiB/bzAZ40lTw/VR37aAHK96txG1+yFnnQjlYwUDPVX9qjG I4eEUSArMZKWgyW756f34BfQZVNpFSafdpNb+SRM4cFlHjHIwiW2fX98u2QzNj9xyqhb P0wfX/aY9lNWd5FQYVE0tKSRW/PlmekKTDTkwwNk8c947Dbj8hgV9d0nJKczCaL3cEDq NC2sNy5zcCjcZpijUcs05KrdBkDHF756SpPMxDbpmSntunGUUg/RIMXnWokugrmzoMre AIOimufhzh5Rc9toqv0Qj/4lC7OjJvhYQhZbZZjK9ml8IrRGfih7gdHR1Rs8JxXaBXyE u73g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=IniOdF7E; dkim=pass header.i=@codeaurora.org header.s=default header.b=IniOdF7E; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t67si124333pfi.285.2018.03.13.06.42.02; Tue, 13 Mar 2018 06:42:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=IniOdF7E; dkim=pass header.i=@codeaurora.org header.s=default header.b=IniOdF7E; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932767AbeCMNja (ORCPT + 99 others); Tue, 13 Mar 2018 09:39:30 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:48568 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932544AbeCMNj2 (ORCPT ); Tue, 13 Mar 2018 09:39:28 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id D956560849; Tue, 13 Mar 2018 13:39:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1520948367; bh=QMst5g5ab3Odt73GhjIkkXuzOm6ZjQXVM7l31pyNVU4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=IniOdF7EVkf1Se+axxK8z07/BwH1qMfCxM5ohxQ9tzK5aWg21Mn/yf3zsbZQWCCmn BlUx85Uljgf1Ehp+uND95d4cwJ5KqgRWVlRj6I4ufvC9unAFbBW8G4HQi6zpnIFdue 4WXS6zEwG808VHw7mhrW9g5H8MpBFKTeyBb66vZ4= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-52.elisa-laajakaista.fi [88.114.240.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 5AB01600C1; Tue, 13 Mar 2018 13:39:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1520948367; bh=QMst5g5ab3Odt73GhjIkkXuzOm6ZjQXVM7l31pyNVU4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=IniOdF7EVkf1Se+axxK8z07/BwH1qMfCxM5ohxQ9tzK5aWg21Mn/yf3zsbZQWCCmn BlUx85Uljgf1Ehp+uND95d4cwJ5KqgRWVlRj6I4ufvC9unAFbBW8G4HQi6zpnIFdue 4WXS6zEwG808VHw7mhrW9g5H8MpBFKTeyBb66vZ4= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5AB01600C1 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: "Luis R. Rodriguez" Cc: Arend van Spriel , Andres Rodriguez , "linux-kernel\@vger.kernel.org" , Greg Kroah-Hartman , linux-wireless , Ilia Mirkin Subject: Re: [PATCH] firmware: add a function to load optional firmware v2 References: <20180309221243.15489-2-andresx7@gmail.com> <20180309230925.3573-1-andresx7@gmail.com> <5AA5B777.5020106@broadcom.com> <20180312192704.GX4449@wotan.suse.de> Date: Tue, 13 Mar 2018 15:39:23 +0200 In-Reply-To: <20180312192704.GX4449@wotan.suse.de> (Luis R. Rodriguez's message of "Mon, 12 Mar 2018 19:27:04 +0000") Message-ID: <87r2oo9jsk.fsf@kamboji.qca.qualcomm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "Luis R. Rodriguez" writes: > On Mon, Mar 12, 2018 at 12:10:47AM +0100, Arend van Spriel wrote: >> On 3/11/2018 5:05 PM, Andres Rodriguez wrote: >> > > Your patch series then should also have the driver callers who you >> > > want to modify to use this new API. Collect from the 802.11 folks the >> > > other drivers which I think they wanted changed as well. >> > >> > Arend, Kalle, would love to hear your feedback. >> >> I am not sure if it was ath10k, but Kalle will surely know. The other driver >> firing a whole batch of firmware requests is iwlwifi. These basically try to >> get latest firmware version and if not there try an older one. > > Ah I recall now. At least for iwlwifi its that it requests firmware with a > range of api files, and we don't need information about files in the middle > not found, given all we need to know if is if at lest one file was found > or not. > > I have future code to also enable use of a range request which would replace > the recursive nature of iwlwifi's firmware API request, so it simplifies it > considerably. > > Once we get this flag to be silent in, this can be used later. Ie, the new > API I'd add would replace the complex api revision thing for an internal set. TBH I doubt we would use this kind of "range" request in ath10k, the current code works just fine only if we can get rid of the annoying warning from request_firmware(). Unless if it's significantly faster or something. -- Kalle Valo