Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3005016ybt; Mon, 22 Jun 2020 12:24:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHglnvCgrTt7K9nCShqJaGCDf/E96vmgda40JxiIoZeaDrqCEyA3QGTYlhB9uWQSoio75d X-Received: by 2002:a50:afe1:: with SMTP id h88mr13994836edd.295.1592853872152; Mon, 22 Jun 2020 12:24:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592853872; cv=none; d=google.com; s=arc-20160816; b=TrfxM0O4vy08XyjxQ8/bB1disIDid8Jt0KcXoxPx+rNec8htsVJoYoI5568YX2AUT4 SBWgFZRuhG6d3tzSK2zjB1NJT5JquZtQFhcoksDnboUOqhmIixjAsyR+/8FB414FIi/+ N3dZ7Piif1SkuvCcmsI3qwoEv8lucu4dQ/57ptS2dJ2eMYIv16vwHhdoTS33mqg2shPy KIj6xhuy3/Vx+xAG82fZDwYKzXN2vutlROuFF9J1jzfOYZy/0rrDZVdNb3WclyWYynJa OOyiTM/E/k0PLrj+o+acoyPXF5s5uAbGobDhbE/C4jk1csfbJO2bvmotYrzBncGpPi0+ lTvQ== 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=Jus7DNDunfIMFweSDWGPXAjkcv1IrAfG0u9GMpZ5ilM=; b=S2Y8xyrcGtHfbBhkgXOh4dTtKBwRiLS0ihJ4rex0zr0o3Uqdmd2oySFOFiqkOY7J7D Du0vpOPvVafgH2s3xZM5FkIz+CYgbDwMRCvrSDHzV616+40I+LEhxOJA4CNBpKK2sShI D7/BT6lVm+Y0UQG5YStt86cxZpxeuoWJdOfubviSSPtw49ociGm/7MVhB9SxfVzGEudF URAnLPEKgIdRV+0XsoDMhDSAC5TODlbqluoQ5yDyJmprjDS/Z50vdfIT65+o1yZQiL6z iLY559vhXze8ssbiEU2EPVF5blix2uoGbB77lH6aotnBkXTtDMNQk6CCfJZ8P7/GZUkV VnyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sK9YTPQH; 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 gq18si3425056ejb.579.2020.06.22.12.24.09; Mon, 22 Jun 2020 12:24:32 -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=sK9YTPQH; 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 S1728529AbgFVTTl (ORCPT + 99 others); Mon, 22 Jun 2020 15:19:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728231AbgFVTTf (ORCPT ); Mon, 22 Jun 2020 15:19:35 -0400 Received: from mail-oi1-x244.google.com (mail-oi1-x244.google.com [IPv6:2607:f8b0:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73435C061797 for ; Mon, 22 Jun 2020 12:19:34 -0700 (PDT) Received: by mail-oi1-x244.google.com with SMTP id i74so16666884oib.0 for ; Mon, 22 Jun 2020 12:19:34 -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=Jus7DNDunfIMFweSDWGPXAjkcv1IrAfG0u9GMpZ5ilM=; b=sK9YTPQH86hVUZWWh2ZdcBb/PzqD9yI/NEShdhMoHRASS6z2MQFuV6zJtyVmEmyShb coR9ZTY2FwG+evLcoI8Xy/beUUMV7wx4p7cx+UhqlCK35HpYDK1SyF92VVmLiRfAXp8B 2j9XssWJSfYZgGjNy1U2ueJoZrxdEaxhLypxJksE2wmHI06gQ0zbTpvj2lMCI2eI9cDj 4MzmooZ1MTZ4due3PgoKScdqrTgVxMjuPS2sNa5ZgyO5Hl1206ARWa9Thadj3mEXHe5G 9R6sGw7oWmxfrvh7aFq0SGY8TlufZwdrpYZVJrmXb7BFnxF9xRLL8c8bL17qYI0/hsts WwSg== 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=Jus7DNDunfIMFweSDWGPXAjkcv1IrAfG0u9GMpZ5ilM=; b=G6P9/Dg7P1CFeSDzPE49vOjvknm9SWt+X2vp+CY7ulmQBWSJrlwJ5IHMSk+Auy/4tC 9kroPOOq8Brc1PiGvFxcxod4sa6LtUFIoK91zElayTPZPsq5qXKF4lKMk84Q020Bs5TX AVBUb0JWIx7EwdxhgFg56HiOmdi6AqmgaJ7Zmdz63vqy/ChkzWqICylENO2l69r/Uysr 07aWeG24igclOqLyoRaiwfFGPCTgKfZWKeQWXyZAgixQgims3qiL0luS1udlGnsDhHYr OB8bIRyO2Pf8twiBTt6IXgH2L5yom4E0MHrzHpRItnNMcHZIPkBFh6leW7zJDlyrpY/q aAaQ== X-Gm-Message-State: AOAM531kabGFexGKQ+2ohGVaybNSb/sGfCSBOPbd8yCFhDeJnPqt9kRF m9btwAiAxf8qyoo+BAFaPmsHFg== X-Received: by 2002:a05:6808:487:: with SMTP id z7mr14223890oid.166.1592853572847; Mon, 22 Jun 2020 12:19:32 -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 m84sm3348294oif.32.2020.06.22.12.19.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 12:19:32 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson , Ohad Ben-Cohen Cc: Rob Herring , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v7 0/5] remoteproc: qcom: PIL info support Date: Mon, 22 Jun 2020 12:19:37 -0700 Message-Id: <20200622191942.255460-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 | 8 ++ drivers/remoteproc/Makefile | 1 + drivers/remoteproc/qcom_pil_info.c | 129 ++++++++++++++++++ drivers/remoteproc/qcom_pil_info.h | 9 ++ 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, 271 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