Received: by 10.223.185.111 with SMTP id b44csp1471586wrg; Sat, 10 Mar 2018 06:42:23 -0800 (PST) X-Google-Smtp-Source: AG47ELvIhc/jTpnii6Vd7vgEMwKz9Waw/xWzFdg+n1cC455768qU+x9jD+i994aOJS7drS5npwdC X-Received: by 2002:a17:902:f44:: with SMTP id 62-v6mr2236543ply.27.1520692943880; Sat, 10 Mar 2018 06:42:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520692943; cv=none; d=google.com; s=arc-20160816; b=jQWYXRqk3M0V8RcKcvbyTfYHc6uRf+qGO8o94xHaf0WzAUaE56I8LjeyDTNSljIaiZ mwdcZBkDfDzD6/eGaIWSs9WGJB3hpyE603naYqXJk6bZc/C1PRhCQnhcf+me/PA9oRzu 20hL9zliH3WFaFr+u5ecaIPrYWhctQzA/KYYeYDSHbMD+IDbOk+oe4dFmLAKdPkrU6no 0J5JGAhmuUr8BwK7ZAZAyWSxyBUzLabIlP4yeZQi2kLsNFUCs+TumhVoIsm5VAyfeSd7 ugfwjBo5fjdIXOPg1+Io8ngsj/7cJ0cdDUx81xJ5oYDLcj9bXa60r0GQ3GoapZXqdDb3 4ilQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=mv7Z7Fi4ZfmS7GhMV4CvVxQCfp26vFGRvV7IctwU+tA=; b=zbDRen3qna3s73CKmVQrr7uwuIxALpXOE/C30BPDBbBegwqXUJ5Nq1oom8lTulLKYt jcCmVkTaa19XB8XdcRKsZAABu+LUqbnoYvE6qlqO0UvNAjkTwwxPsiZAnx5SDp512HnG WtNxlvaMIzTiXaUITH/eMyvx36Ls7TL/vKLozR+9yymOZ8DM6IiU9mIATLNYKOow8J/x LJEy7lRgmK+my4GkIij0fTYeBv7Ia4j2LxnaHSaR92k5MJs9aLu+4es1Ht0nhfHv60Nh hllI6y4k64Jz3gfvtAvrDct3v6DdJg59vUSK7r4WOfPMNGdR90idr7GZa7gBRVvHPNLn VWAw== ARC-Authentication-Results: i=1; mx.google.com; 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 t3-v6si2797013ply.83.2018.03.10.06.42.09; Sat, 10 Mar 2018 06:42:23 -0800 (PST) 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; 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 S932166AbeCJOlR (ORCPT + 99 others); Sat, 10 Mar 2018 09:41:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:54814 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751190AbeCJOlQ (ORCPT ); Sat, 10 Mar 2018 09:41:16 -0500 Received: from mail-it0-f48.google.com (mail-it0-f48.google.com [209.85.214.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A685B2179F; Sat, 10 Mar 2018 14:41:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A685B2179F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=mcgrof@kernel.org Received: by mail-it0-f48.google.com with SMTP id v194-v6so6258298itb.0; Sat, 10 Mar 2018 06:41:15 -0800 (PST) X-Gm-Message-State: AElRT7HCOYQdui+Pf1Q4z3XYXHk9tcqsjX9MFdtuaGLQ32EiVjClHIXf iKHVtyl9a0oPFNzQVjciHw5s8J6UbJ1VB96rywA= X-Received: by 10.36.230.69 with SMTP id e66mr1948663ith.42.1520692875072; Sat, 10 Mar 2018 06:41:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.10.83 with HTTP; Sat, 10 Mar 2018 06:40:54 -0800 (PST) In-Reply-To: References: <20180309221243.15489-2-andresx7@gmail.com> <20180309230925.3573-1-andresx7@gmail.com> From: "Luis R. Rodriguez" Date: Sat, 10 Mar 2018 06:40:54 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] firmware: add a function to load optional firmware v2 To: Andres Rodriguez Cc: "linux-kernel@vger.kernel.org" , Greg Kroah-Hartman , linux-wireless , Arend Van Spriel , Kalle Valo Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 10, 2018 at 6:35 AM, Luis R. Rodriguez wrote: > You also I take it have users in > mind? I'd like to see at least one user of the API or this fixing a > reported issue. Ie, if users have reported this as issues incorrectly, > referring to those incorrect posts as issues and how this created > confusion would help. 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. The old up on that front was that the firmware API was in a huge state of flux and debate about *how* we'd evolve the API, either through a data driven API or functional driven API, ie whether or not we'd add a flexible one API call with a set of options, or keep extending functionality with new exported symbols per use case. The later is how we'd keep evolving the API as such the way you are doing it is fine. Ie, if there is a use case for an optional firmware also for the async case a new API call will have to be made. As stupid as this sounds. Also please take a look at lib/test_firmware.c -- I don't think it makes sense to add a new test case for this API call, so at least worth documenting why somewhere if you find a suitable place for that. Also - I forgot to ask you to extend the Documentation/driver-api/firmware/ documentation accordingly. Please do that. Luis