Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1350396ybm; Wed, 22 May 2019 22:54:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqyVadji/lKV3A/zHuI8VhO+qEmHA/2SUy1US0m//WWewT5qCNOfr87ymggUInNWx3uUwfcR X-Received: by 2002:a17:902:6bc2:: with SMTP id m2mr93856073plt.24.1558590883819; Wed, 22 May 2019 22:54:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558590883; cv=none; d=google.com; s=arc-20160816; b=FH1+mr3lm/ivph7Wr5awZQhJ4Wwk215EjX5wS8l+bGWcngZO8XQ7/ym9VrvCMGEaED 21ItjY0BemVGCqmOHrGh9Z2VesdrJWI5LOwbymMkMTMl6JEJnxhflYmg7/Vb3X2+pKcX FSWJteREt3Pkoc4TsQi6RR0KwstXXpw+/4hqPaGyiRnH3rWvLjRkoeL1L5V/ff3dTN2O n/VpK68tHPtE9RyFjGrKES71YYN2WaHV9OA+v6mMJohJmwwSxFMqmsJTCuhk/moQUFZD 5/fROd/iUhbSJiOVoLCrzvGL1nlUIZiWDMo4/gVy6ueC9EZKeUjJETZYu0f9YnJIT1Kb 6DUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=2LcSzZvbInSFygwiE2r5GoLA0uYik0hfNmgaiDPv+js=; b=PqXbG7xOqaa4Njsv3gq2wSloFfJ13Pjxti4fyZuTeFdPKp7IellufTw+vvj8jDtL/U E9L4rlnifEHHNanmnNGH6i++RGC29mvrz2IvAQJvmuLNFdkJr7RCnVxiwIR8UDkNZXlm WQbS0QHEqEuY5g7HHQLXxQeqgn/IGllrTdLpqV3YpswaMO0sW9Ddwrbroyw3uHr1jNTz G/BFKQTaRq3EB5iOHcbMSxqgFk8HAM4x3ykr1deWx77VzL3DwLs1K4wdSVV/bQCU8DYz zRG6TeZY0bikyGP/1gbkiKp0QH2uujM9rzF6xa1iJDKDY8eIvE7SbanU9XVTwKL+rWgA SN5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=W948ysnY; 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 c2si19541379pgq.254.2019.05.22.22.54.28; Wed, 22 May 2019 22:54:43 -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=@kernel.org header.s=default header.b=W948ysnY; 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 S1729797AbfEWFwg (ORCPT + 99 others); Thu, 23 May 2019 01:52:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:43850 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725806AbfEWFwg (ORCPT ); Thu, 23 May 2019 01:52:36 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4AEFE2075E; Thu, 23 May 2019 05:52:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558590755; bh=/g4Suzk9Uv40ML24PDYpoH3ELnGQmDwI4WXDie7W71Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=W948ysnYaVqAVTxIZC4wSkNbqRVKQerewHEMvKfC4gpj6EAHT3ghkme9VgDOSqZoZ Chs4ufQTwwVPvic54RaWWa8trh4khB2BlGosIRh38MH+bmeUQ6PYlZPo7GwsO9/ITo 4Imjh9WA9FVC6GlyLonu86qgAMCbghCvT697Wk3E= Date: Thu, 23 May 2019 07:52:33 +0200 From: Greg Kroah-Hartman To: Scott Branden Cc: Luis Chamberlain , Andy Gross , David Brown , Alexander Viro , "Rafael J . Wysocki" , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-fsdevel@vger.kernel.org, BCM Kernel Feedback , Olof Johansson Subject: Re: [PATCH 2/3] firmware: add offset to request_firmware_into_buf Message-ID: <20190523055233.GB22946@kroah.com> References: <20190523025113.4605-1-scott.branden@broadcom.com> <20190523025113.4605-3-scott.branden@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190523025113.4605-3-scott.branden@broadcom.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 22, 2019 at 07:51:12PM -0700, Scott Branden wrote: > Add offset to request_firmware_into_buf to allow for portions > of firmware file to be read into a buffer. Necessary where firmware > needs to be loaded in portions from file in memory constrained systems. > > Signed-off-by: Scott Branden > --- > drivers/base/firmware_loader/firmware.h | 5 +++ > drivers/base/firmware_loader/main.c | 49 +++++++++++++++++-------- > include/linux/firmware.h | 8 +++- > 3 files changed, 45 insertions(+), 17 deletions(-) No new firmware test for this new option? How do we know it even works? :) thanks, greg k-h