Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2782823ybi; Mon, 1 Jul 2019 19:05:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVbMRG1lqzdeAwwia/pFEcKqagXvkep0nsFWQ2iwGZfnP28EiVfkC+Ye1/bCqXD91KQ8ZZ X-Received: by 2002:a17:902:b093:: with SMTP id p19mr31337613plr.141.1562033148696; Mon, 01 Jul 2019 19:05:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562033148; cv=none; d=google.com; s=arc-20160816; b=EugPI4BSgGwZ0wjzb/kvIbblm4+yEUQvIDl6NJ4AvZRkUkoMOoeqA+ILfWjOkkUVea u+XTP9NPr/1quhQtLBknQ6ORAPKrDXGXaZkljAqRVmwT5jmga1SbpV31fFjc827zb9HA WT++t5mcAm/xNm58GSPz4eDzY994EkjQXObnuhmCAWP1azXl5dNkvnC857q5Uf+FWiN3 HnK6EonPCdfi7Q0QuyLzpyzpmZJWPOMrNkvmJxUsIYxE4iYzmshF8BCVndX5K4dOvP/8 nYs42beYvZSUV187wcOHxvItz4qlLMjO7qY2kJeHxFXmkXrNANIaDHn/EJ4xGI7wD02a 8IPQ== 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=GkukRNl2S7AKUKXitorWgt7om1NyQvPM7opONDpmqPY=; b=qILX0eMFn5ekzmNa4HVNxAsLm5Iir0ON04lP/jl17hgt81reujMT10J83ADEE/Nyqb gVwKbEKQe8F3N5KfKcIcDBw/gz6Gh7K9IA1ixalRZDY14SW8A47C6MPiv7vSChcnipzB NR64zvqQaqlB+q/XsJRZOjYMWUcrDtyWCpoMUYyPq1sJcSA6Fn72wOJJVCYwcNpECbYq 7i8RmkbjLtq2MnvFf94/Ul8B3+qeZONCFDDU0Vfh4uaQbemU4pqwwqE9Em7osN09ZHbK JauhwY1j/rmrSiLHx2cpMJ2fXYebgPWoE6C+3Is1Y8URSx9+NK/Rm7ly0k1CPDIDH7Hc 4rew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rJeeRdyl; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k10si12367970pfk.271.2019.07.01.19.05.34; Mon, 01 Jul 2019 19:05:48 -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=@linaro.org header.s=google header.b=rJeeRdyl; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726878AbfGBCFE (ORCPT + 99 others); Mon, 1 Jul 2019 22:05:04 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:34046 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726362AbfGBCFD (ORCPT ); Mon, 1 Jul 2019 22:05:03 -0400 Received: by mail-pg1-f195.google.com with SMTP id p10so6892010pgn.1 for ; Mon, 01 Jul 2019 19:05:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=GkukRNl2S7AKUKXitorWgt7om1NyQvPM7opONDpmqPY=; b=rJeeRdylJOz5NeR9L9X3bJI26hQEjwb18eXhnGmp8pjy5+jWI9pgWlkOLZ0o2m/OcB jN7o/ya9MPvlixbTkl2XRXqWDEDWjl5Ds42PG/Wckv8t///EJpk3/tf+C/gjvbRyYh0Z P3GNpljXNtfh2WBb5+OAZb0iiSI3WkYz4nAiW/q1yTyZVg1J0eTC+wBe5Ew+ISOQJBHO BYn0s5IE9xb/QHxpgtYaPQ5h5M91ZJ2u9Czv+xkPupREJjpcIKlLrnLtmGsmgHo9qa4Q M338Ns28ORRgsjB9Lgvjaf3Jgxk+gdg58jTJijW3h8JSgi74heA7U/shs+EVocAri/mH d6QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=GkukRNl2S7AKUKXitorWgt7om1NyQvPM7opONDpmqPY=; b=OGeG5DPtdxbD+GIDKAbd6hHGvGQAr2F/Xrka+WxEKGJYPS7yLRFVGQFjFagGk96kUy ge70FeVMWSsYoR/cEDd8KQTjQ2+b/4C7qP/bCDGDshR5GA0+/458aHpuWKganyoUbHpT ANopeEcaWtQiHX3sfUTwGS3QDKcb3Z5EWAH27bPv4Fti0fFoNL/WUYw4JGpmtY/3ljcV pqTItjAYDcVlnJRguXCQIo3uK/9Xqkfqn5Jfw1sw3MIgQdMjBQgDXTu7UvWJ2OuN5Vbl WpLe9/KIdrG/11A7L1LPSFaaGAxRVkbrDGlq+asPhWom3ES43c3JNZbis9O3mQ7aWk4H oU+w== X-Gm-Message-State: APjAAAWyYq34LBSmDMuOa8EAILhJ083IcLnYvINdme0C5dA2A7LC2TTL Jt1pHu7QqgOrwe+ZFfqTZSC0pg== X-Received: by 2002:a65:6541:: with SMTP id a1mr27540440pgw.409.1562033102876; Mon, 01 Jul 2019 19:05:02 -0700 (PDT) Received: from builder (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id u23sm12678065pfn.140.2019.07.01.19.05.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Jul 2019 19:05:02 -0700 (PDT) Date: Mon, 1 Jul 2019 19:04:59 -0700 From: Bjorn Andersson To: Andy Gross , Ohad Ben-Cohen , Sibi Sankar Cc: linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] soc: qcom: mdt_loader: Support loading non-split firmware Message-ID: <20190702020459.GF1263@builder> References: <20190622012146.19719-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190622012146.19719-1-bjorn.andersson@linaro.org> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 21 Jun 18:21 PDT 2019, Bjorn Andersson wrote: > Typically the firmware files for the various remoteprocs is split in a number > of files. But in some releases these files are available in their unsplit form. > > Extend the mdt loader to detect the unsplit firmware and load it transparently. > > Also expose the function that compose the metadata header for validation and > use this from the modem remoteproc driver, so that it can support unsplit files > as well. > Applied the two patches. Thanks Andy & Jeff. Regards, Bjorn > Bjorn Andersson (2): > soc: qcom: mdt_loader: Support loading non-split images > remoteproc: qcom: q6v5-mss: Support loading non-split images > > drivers/remoteproc/qcom_q6v5_mss.c | 33 ++++++++--- > drivers/soc/qcom/mdt_loader.c | 88 ++++++++++++++++++++++++++++- > include/linux/soc/qcom/mdt_loader.h | 2 + > 3 files changed, 112 insertions(+), 11 deletions(-) > > -- > 2.18.0 >