Received: by 10.213.65.68 with SMTP id h4csp55157imn; Mon, 19 Mar 2018 19:23:07 -0700 (PDT) X-Google-Smtp-Source: AG47ELvRsgMeIiS8AqG+yTiqImp2YZSpcAoJ51/lxtoQ9N4jErjZC09hZSwsm81CZzxc4cQb1zDm X-Received: by 2002:a17:902:9888:: with SMTP id s8-v6mr11310111plp.318.1521512587349; Mon, 19 Mar 2018 19:23:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521512587; cv=none; d=google.com; s=arc-20160816; b=rsB1Zd4MWGm9bcwCfLBfhfGaliZNlF/tPFdxbQ+pFRXBZbPP4hS7Fdutv9a6K5jTZU iJKTYAhJ/D6eOn+CSrwiq0mHKtDfK1SQMOKGRPaerRE28DnHVk7ZfvgcDpJSqf3bQ9Or ZqmsryA59l/+7LAvVJg0Ena9FromjUeAlXBZmqJfAYPkcsP22vppOXOkA0zcmhn932i8 3glBacBnyHG7sexSDooDZjGP106Vc2n8+Of/sJoVxkGggAAe5cNG+hx9xfMvFwtY/jor 9QXTlN//fGAvVoQwlKvkt74jrAYcha6RrHoyLFLknFEosXMQD22qJ+okXCb87Qp3lZEG 9S8g== 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:from:references:to:subject:cc:dkim-signature :arc-authentication-results; bh=Gu8qwfI1bs/rZE4x7rcz6YH/m1s3rwM/l4VkQOde37M=; b=dp1On2oIZkHeAYeS0BT6mssSjvk4jLszf/5Na9KVCKH03snm0oQb69FRHzaURxpU0U k06fDn3mXKTqTKqNocSbNLt/q2I+eOqvc2I1H880/3OalkhziMCvCkSKxTkQ/rlCe9Au jEVcqzuHRhMCYPDAUXBFOmcMehWNNWRQ+tcyIVs/i0/Y16TpUc3mFh+gzL66MUsV67of 4H79l1WROhNoCDFrnPCOzjqRw4SjJcVaDNngoQyrQOBMneWMd0kYwCV/GRRA+Fj1jMG1 ZxU4O6NmRl5OtabUhaLWjHankY7SYckMSUwjkc5n45kmfIGGiM6XaR+ua4VaaAjYNpZp lVWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=a88gnUA0; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q1si443353pgc.515.2018.03.19.19.22.52; Mon, 19 Mar 2018 19:23:07 -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=@gmail.com header.s=20161025 header.b=a88gnUA0; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751511AbeCTCV7 (ORCPT + 99 others); Mon, 19 Mar 2018 22:21:59 -0400 Received: from mail-it0-f42.google.com ([209.85.214.42]:39034 "EHLO mail-it0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751004AbeCTCV5 (ORCPT ); Mon, 19 Mar 2018 22:21:57 -0400 Received: by mail-it0-f42.google.com with SMTP id e98-v6so428747itd.4; Mon, 19 Mar 2018 19:21:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=cc:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Gu8qwfI1bs/rZE4x7rcz6YH/m1s3rwM/l4VkQOde37M=; b=a88gnUA0Pn/cve2sHlUpvnbY4Ukad3TodneGygmN7vjl3uiNJqL88BO5+89JNPyC9C bgbhB8GpWl545rCbWB9wcQK5dzygPT+wE+lnuALWRStLInM0z+XgqTXwJoBWVXY5Jjca X6VObAPA2b+Xb/J3gJfbrsi2qlsDVJTi6xOiXb8l1QkaqTLDHtI4TLnYhJ4urvYI5OTv ZhXiyVezdYxGXbPf20rATGUKgLN7VUOiWbE7EEx0BPHCOIGW6C+7EY0M1ao6ebHvrZ6c oteUMeT9qZd+65rhD91byJTcwycGjipG8oWRkDJEvq8HRrj4XxzR2tgsFEZPIdMxW8pk JaQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:cc:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Gu8qwfI1bs/rZE4x7rcz6YH/m1s3rwM/l4VkQOde37M=; b=FcrFEgQl6CpO5weVhlhyKJUhHRU6f8OBFPZeCJb28DIgQL+OBvcptVME3gYfO+PNhT xnLMVdqdffZvzlH+vzFKccfflw2DtESaaAMhMFoCIO7pb2NQ2zK2aIzGq50g2ew76PUs PLH5XDDCJzPhdVXL5ZVIg61SemZoB7VngqEh1IYfGJd1/WdWjLp+IS/RwoS8g7c5JW4G 4SjDkvqY+BVYFmkIkRx3+TgclHSZuwgb4Pe4haMLpPHAdkob7iQPQpq4wJnTSnYk1Xkc 4bpS7yZOJBc2pDExfzlmVI0lYluCMKQejVnE+QD0afVI0xOA6LpHTuCLqZSAPshfW0uz youQ== X-Gm-Message-State: AElRT7FVvYriHUM80AUhMZYWVvoXcCVKv9sCEmMQPW4wFrN9IYfWEHx1 nFHoB5q6GoH0Qf31rH2uLBQ= X-Received: by 2002:a24:49e6:: with SMTP id e99-v6mr989420itd.47.1521512516382; Mon, 19 Mar 2018 19:21:56 -0700 (PDT) Received: from [192.168.0.26] (184-175-36-239.dsl.teksavvy.com. [184.175.36.239]) by smtp.gmail.com with ESMTPSA id 28sm345301ioj.8.2018.03.19.19.21.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Mar 2018 19:21:55 -0700 (PDT) Cc: andresx7@gmail.com, Arend van Spriel , "linux-kernel@vger.kernel.org" , Greg Kroah-Hartman , linux-wireless , Ilia Mirkin Subject: Re: [PATCH] firmware: add a function to load optional firmware v2 To: "Luis R. Rodriguez" , Kalle Valo References: <20180309221243.15489-2-andresx7@gmail.com> <20180309230925.3573-1-andresx7@gmail.com> <5AA5B777.5020106@broadcom.com> <20180312192704.GX4449@wotan.suse.de> <87r2oo9jsk.fsf@kamboji.qca.qualcomm.com> <20180313163842.GF4449@wotan.suse.de> From: Andres Rodriguez Message-ID: Date: Mon, 19 Mar 2018 22:21:54 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180313163842.GF4449@wotan.suse.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-03-13 12:38 PM, Luis R. Rodriguez wrote: > On Tue, Mar 13, 2018 at 03:39:23PM +0200, Kalle Valo wrote: >> "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, > > Well it doesn't have the form to use a range either so it wouldn't make sense. > >> 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. > > Thanks, I see ath10k uses the sync request_firmware() call, so indeed it > would be a trivial conversion. > > Andres can you roll that in for your patch series? > Can do, although it will take a while. Kidney stone woes and other life things are keeping me busy for the following weeks. Sorry for the delay. Kind Regards, Andres > Luis >