Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp2009936ybm; Thu, 23 May 2019 09:56:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzEinx2jXeB7ZEYRgG9PYgRw8XALj+nB6O6OSDJvvziTkLHYkwzZcJdWlz8zv6H7NwUSDt5 X-Received: by 2002:a17:902:ab97:: with SMTP id f23mr45419340plr.237.1558630565890; Thu, 23 May 2019 09:56:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558630565; cv=none; d=google.com; s=arc-20160816; b=wyJRjH2gvyYHeiej/27UY8CYOXtx9wae0VlQhXwsi3hlw+AcbMQBe1S2J4mrJhT8Rx jGQf8lfi/RL7YFk1XR1UZDfg0/mTFC37ewAKPL/kcNbXvkGrjbqEqW/C5Ht0ztUXy+Xz 6aWrE5k2Jrag/vcS5mOe7cxSGzrh7RSn2w47MHAXmAE5LNyO8jWTMjDzfTyJbaDT8Gwc AJmyLFvsa/FiuBsuyuf8Mr+wOBQBHW3N7W/b8zPvcBP3qwYIfDCtw0c/WIW3jjk3AZIw mjNJlW9+/E4AAmvsZWOpUQenquEROjyB/PtM7YDpAHej1xF7lWwfsLu2j4awr9QTQPgY Eeaw== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=oYWsUPMPngv0tU0bH/fAaJ8vjzntWddqMja8f54WCDY=; b=LmjeinVAzQZ6Jblu3I0Q/fbJhcN2wZMpdCjGbu7OQdiehMILXVsVSKY2FIKktZV5WM TmG5YSKniGDWd/H9xuGmqe4hz+PN8lsaFi/KENZ9+7MhbnSVKgT+C4iaDa9W4aiA1s53 mNpNBOoBGDFmQwYjDxnM5dUWBSrO1Akw0OkIsqhwD5kKH6jjmosq/SeOzQzTId/tnaK2 hWVRFHd0JFTrnLJbmL/d538yXV+V0bw2g2+eCPeZNr+McSHeJZ/2TApB93SQ75ADGOna BpwR6unu6z4vUFJxNZ2+aAvswyc9pAy/FpcuINRIElMJQoKVYaxJAIqLobn0HyC7ozuo fMGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BdRtwwLH; 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 y9si44393pgj.57.2019.05.23.09.55.50; Thu, 23 May 2019 09:56:05 -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=BdRtwwLH; 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 S1731138AbfEWQy2 (ORCPT + 99 others); Thu, 23 May 2019 12:54:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:37228 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730790AbfEWQy1 (ORCPT ); Thu, 23 May 2019 12:54:27 -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 6C1E12133D; Thu, 23 May 2019 16:54:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558630466; bh=gFMSCvOoFs6DdCkevFbuQW1+KGO3T+X8fVWaMcoMs2Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BdRtwwLHom73mP48vZGqdwC5nVKgUXI53YjFzBTB71Uh3f5OQL2zQ43rNfTAtC+cj jxxuRgNp1e4HeuLNRLNqUnAnROtcgfa7Zqb7eUJeAafTMXtGZsGJF3kvCsK7JT6SZD vtinHCcVib/eLnkmonHo0UdIQ0c/2PA4E4E1yPys= Date: Thu, 23 May 2019 18:54:24 +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: <20190523165424.GA21048@kroah.com> References: <20190523025113.4605-1-scott.branden@broadcom.com> <20190523025113.4605-3-scott.branden@broadcom.com> <20190523055233.GB22946@kroah.com> <15c47e4d-e70d-26bb-9747-0ad0aa81597b@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <15c47e4d-e70d-26bb-9747-0ad0aa81597b@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 Thu, May 23, 2019 at 09:36:02AM -0700, Scott Branden wrote: > Hi Greg, > > On 2019-05-22 10:52 p.m., Greg Kroah-Hartman wrote: > > 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? > > I was unaware there are existing firmware tests.? Please let me know where > these tests exists and I can add a test for this new option. tools/testing/selftests/firmware/ > We have tested this with a new driver in development which requires the > firmware file to be read in portions into memory.? I can add my tested-by > and others to the commit message if desired. I can't take new apis without an in-kernel user, you all know this... thanks, greg k-h