Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1138360pxu; Wed, 6 Jan 2021 13:26:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJzh5vj9pXCH9Zg8/x80W2MBfc5jogsmyjnMRSyoI635groxvtf6E7vkIbcJIQ5Z9A3zLaPK X-Received: by 2002:a17:907:3f9e:: with SMTP id hr30mr4145956ejc.258.1609968397025; Wed, 06 Jan 2021 13:26:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609968397; cv=none; d=google.com; s=arc-20160816; b=cqyKiZ8bWbQUhedCtL+2joR8gFMibH1iP0FN2M/cLAPXwYGE356wlRflc6jlBprvG+ xVB27LXdF4kr0m/1mu+XCyR6plC+WBHVS/h7Pq0x9CVvufBTXNaOiW6YnXlZyNfXb/1s dVibvCYajW83kakZu7ylNkci1Rpcu1Vb0ozNvpg3iFrqRImjs7Fd54Scaux0usk+lLix 14dN3auEs1uVKK/QVR+0zfn93S+3UFsdKNSUgFsc1zQnAJjuqk4vvrThZR+jWP8+R2U3 tg1MhWCSOylqZe70DnHUsYSNDPOG9Uabdpa+WQZseOxXXceP7i7syRA2GGw9mL6IH2d8 syiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:dmarc-filter :sender:dkim-signature; bh=xCv3iRqpoeNg7/+ZVkHfzJbBo5DoGpht24M2Wxts2vQ=; b=tetwESkmOnmNAvdfvuib0AC1Cv7L4fg8CHZQTo1IiwLOuNswNsdANYIZvauxyIIvWL RZ6VpnWseI4S0NK8rMjH9tiPulmBjzJAg3PyDYYXI+yAUW1FicCMlAarc/4RJu5RAv8w 1k698sPHnPrZfhUQBYUhx0IcTLG25NuADBcPirBtvWxk61tREGFzkaXvZzjPUzkFcKVo 4g8pNWpgohKn/X1KpA8Ia7xcIds16Phf0U06ZClGIocn6cpBWEH/wmCBYBXaAgWGPFBm o90rHec3+gRSFhXcdFUIfAnEFN+yH+s7z6mvXL/z2GQr4VIREXU78I/VV7raQU0KwkeF 8+AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=NJuqOALn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d2si1377897edx.348.2021.01.06.13.26.13; Wed, 06 Jan 2021 13:26:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=NJuqOALn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726794AbhAFVYk (ORCPT + 99 others); Wed, 6 Jan 2021 16:24:40 -0500 Received: from so254-31.mailgun.net ([198.61.254.31]:64475 "EHLO so254-31.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725815AbhAFVYj (ORCPT ); Wed, 6 Jan 2021 16:24:39 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1609968255; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=xCv3iRqpoeNg7/+ZVkHfzJbBo5DoGpht24M2Wxts2vQ=; b=NJuqOALnz5qVtmujJMNAD3BaarQ6j7FXwQwtchDouNNPNZQT7iNin3zdCTwWfnmqrNw83YpS Anqq3BOKAUFsaXu0krSq71TK4a6enqZ+AWWzCHM+UvhLC5ogczAkoY6eHtrpjzJ5Gr/uvstp op+mwSXXLzDSl+PXzJilbEdGG3Y= X-Mailgun-Sending-Ip: 198.61.254.31 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n02.prod.us-east-1.postgun.com with SMTP id 5ff62a61a1d2634b3fc08b67 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 06 Jan 2021 21:23:45 GMT Sender: sidgup=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 27561C43463; Wed, 6 Jan 2021 21:23:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from sidgup-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sidgup) by smtp.codeaurora.org (Postfix) with ESMTPSA id 17FE4C433ED; Wed, 6 Jan 2021 21:23:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 17FE4C433ED Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=sidgup@codeaurora.org From: Siddharth Gupta To: bjorn.andersson@linaro.org, agross@kernel.org, ohad@wizery.com, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Siddharth Gupta , psodagud@codeaurora.org, rishabhb@codeaurora.org Subject: [PATCH 0/3] soc: qcom: mdt_loader: General improvements Date: Wed, 6 Jan 2021 13:23:28 -0800 Message-Id: <1609968211-7579-1-git-send-email-sidgup@codeaurora.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series of patches improves general functionality for the mdt loader. Patch 1 adds the ability to dynamically detect hash segment location. Patch 2 updates the logic used to identify whether the firmware is split or not. Patch 3 updates the way the metadata is read and generated. Siddharth Gupta (3): soc: qcom: mdt_loader: Allow hash at any phdr soc: qcom: mdt_loader: Handle split bins correctly soc: qcom: mdt_loader: Read hash from firmware blob drivers/remoteproc/qcom_q6v5_mss.c | 4 +- drivers/soc/qcom/mdt_loader.c | 110 ++++++++++++++++++++++++------------ include/linux/soc/qcom/mdt_loader.h | 3 +- 3 files changed, 79 insertions(+), 38 deletions(-) -- Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project