Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp270600ybk; Tue, 12 May 2020 22:59:17 -0700 (PDT) X-Google-Smtp-Source: APiQypJbGkCQq51tG+V5DSPC1pW6yqEONr9K7gu3ceue3X9J2TGcWpNIdkRPK7TGwKbty5M9gyrs X-Received: by 2002:a17:906:3509:: with SMTP id r9mr13562137eja.382.1589349557608; Tue, 12 May 2020 22:59:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589349557; cv=none; d=google.com; s=arc-20160816; b=JLFwTMIDyjLOjwTZQi4zitkFJFWbkz+2IFocWRHMTZ4GbTTtG2eCIWf/ECyN1sdCDD 55M594zKY3sJp2clc1Y820jdrewOLIxbFq3vx0JV3xAHLZ7+HhwCS+rYI/vYRdvA6O1d GLEKq+ISNYQZV/BghoRaRtepxO2vuIn9CO6njVWzCroUMBmgSEaQb2/z1MuyFdUDJCvZ sZntRqVDSU+4tmML2GYinCXEjeyD/I5ymvtBDV7NYEhPCF9LRPMnh5qln+T2wDqceogv BLh5qJqLDsGGCIusVY0wUGWBT7S/XK9EJXzQL/quiBVP/r4zC9BwJL680S6p69iOPJB1 J32w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=kcyyNciXuByQ3loktJkU4jCSR6CJ8Ob9Xjb+xzFsaeI=; b=Bhd1FMdLGbckPWEeXOvC+5NR4UX9pB0p9EVPckYhEBNJCXoDtwhPQDLsZeBQ4fLT8o BrlFS6+H7kNyvSXZ8sgSDUkOO+F0n714HpzocNSkTj5ocpteJPjGAyVz+5FSe5JGeZUl 5tDsCRV3wC8ZDTYsaQLTWLd3nsbWPVrnXFnkuXDuQM9vIpydfITvOgfPZnr2D1oPGtxg c5PCQZdlZowVlnQt6WFFKZ3VD9mdUhMfWI8V0o4SfxFw+S03PrqPNfRveMio68HJCG9/ KNm8wMZ+643Dxi0S1prSGOVwjsbrkdpidNV+eGojOPiCXCgkDJ4GveHKr3SfFBxEjsQl yqWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uSuhoH0e; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p62si9073545edp.385.2020.05.12.22.58.54; Tue, 12 May 2020 22:59:17 -0700 (PDT) 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=@linaro.org header.s=google header.b=uSuhoH0e; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729014AbgEMF5a (ORCPT + 99 others); Wed, 13 May 2020 01:57:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728803AbgEMF53 (ORCPT ); Wed, 13 May 2020 01:57:29 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 331E8C061A0F for ; Tue, 12 May 2020 22:57:29 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id f4so302811pgi.10 for ; Tue, 12 May 2020 22:57:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kcyyNciXuByQ3loktJkU4jCSR6CJ8Ob9Xjb+xzFsaeI=; b=uSuhoH0eMm36ZmB2Fj4UvKsgN/+ZX1g/k1KEpzJIpbdClvv6EyyLOo7Xhggv5m5whY fumXDtsw61PgVLyJv2XjsNuuuTuZjCZvWyabAK+NvvkfNV0tCUa+gHZc9WhLMPFjreoK EwT4KhQzxnMfDwSNS8mbvvmwljx32IjcWYMh8pjl7UzEBBJsTevzdSozStSlvgQrPAfe nQeawgeQN9j+hQquwiMcT19uaLzEMQbVmFFzglN9Bj16ZuEP8iVNoH0pQQSyQpLuNYVg EJWC67O81VXreR59gfK39BQ4XBVYSaoFfjGBH7ASGAuHeCSgqkbavrNhxciR6oNvCDl5 +LpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kcyyNciXuByQ3loktJkU4jCSR6CJ8Ob9Xjb+xzFsaeI=; b=F+szP/3PRLvRc4IwUcnUd2AGX7T5olilsLq5rWhD54Oek9vHV4TMjeJbJWkB/NG69D WCLaMkxrvsGV7bcXQN9gJzlMu/s67ex6wd5gdHFgIauRtANOmPlMsNEy7eJcrIrqXZmm HHDDcvxDM8RfEQGS/R7t11q7p29uyxULEVyuZQOPZvgejnhBqJ9BAWZ8PUVSbdw6+VvH QDSOtYSdOqPfIg5j1ee8M/HU9383WoNcJ8M63HQ0Y1RaKtR56a64fiqv/LmDM1kDZDoE cRsLZVYgffknTYa3cxGmyBVekkEeWPqqJsYXH1i6+qRo2HgnblaOfripAhVhB6qGL7i3 KqSw== X-Gm-Message-State: AGi0PubsY62cRQD7+RkiV1LtYkBiLWz6mVuVIfS3te2UNRxpHY66eOvv nkoGJ0duSQhWwY5SiV+3ihQ3FA== X-Received: by 2002:a63:f610:: with SMTP id m16mr22384313pgh.174.1589349448543; Tue, 12 May 2020 22:57:28 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id w192sm14131161pff.126.2020.05.12.22.57.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2020 22:57:27 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson , Ohad Ben-Cohen , Rob Herring Cc: linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 0/5] remoteproc: qcom: PIL info support Date: Tue, 12 May 2020 22:56:36 -0700 Message-Id: <20200513055641.1413100-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Introduce support for filling out the relocation information in IMEM, to aid post mortem debug tools to locate the various remoteprocs. Bjorn Andersson (5): dt-bindings: remoteproc: Add Qualcomm PIL info binding remoteproc: qcom: Introduce helper to store pil info in IMEM remoteproc: qcom: Update PIL relocation info on load arm64: dts: qcom: qcs404: Add IMEM and PIL info region arm64: dts: qcom: sdm845: Add IMEM and PIL info region .../bindings/remoteproc/qcom,pil-info.yaml | 44 +++++++ arch/arm64/boot/dts/qcom/qcs404.dtsi | 15 +++ arch/arm64/boot/dts/qcom/sdm845.dtsi | 15 +++ drivers/remoteproc/Kconfig | 6 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/qcom_pil_info.c | 124 ++++++++++++++++++ drivers/remoteproc/qcom_pil_info.h | 7 + drivers/remoteproc/qcom_q6v5_adsp.c | 16 ++- drivers/remoteproc/qcom_q6v5_mss.c | 3 + drivers/remoteproc/qcom_q6v5_pas.c | 15 ++- drivers/remoteproc/qcom_q6v5_wcss.c | 14 +- drivers/remoteproc/qcom_wcnss.c | 14 +- 12 files changed, 262 insertions(+), 12 deletions(-) create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml create mode 100644 drivers/remoteproc/qcom_pil_info.c create mode 100644 drivers/remoteproc/qcom_pil_info.h -- 2.26.2