Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp740086imm; Thu, 13 Sep 2018 07:05:20 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbiD4aHONDZIiQKhhkSeFzmoB0vyvCECWv7w0lvvTGMoDeS7Nt4PTMWQagmZ0r1b4Z3XZBa X-Received: by 2002:a63:f751:: with SMTP id f17-v6mr7463268pgk.410.1536847520735; Thu, 13 Sep 2018 07:05:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536847520; cv=none; d=google.com; s=arc-20160816; b=1KD/Uimtl9AX+Iy7obYrj9NwugCTri9e15u6fAoWJYtoYV7KNr+u6qANoxSp0i1JGL u4mfWpUzIlFZqjUKNH6Gk59eJ0+L2eYFU4qx9W9VNpuGVvK3S/H05RGvgeqofBaIOlob WRAZdAg4KvuEyUETXjsBbrcDh2umnNFyyz1jIb2U03dEINqGDIb49L5sqlxK3eFKsjdz ESyG1VVfVO9emYdMfVDOLF7nbirwZ7b6TxWL61l/TBx7X8DgKcvvY05C7Zu9QEppjd+T O7z2gQOuomIjbr1YOQXFPi9p8ez5Mg/n1CAfViNHNKVZCtYvvwnRo/vrjExeDaEKQADa dmPQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=N7sAdFdHvDf/q0y36H9EggeYzCpbcZ1N2q5P3+5v+jQ=; b=vS0UNo6SVAnGl6wqcipNPQ071IjRQTaGB9Y6nYpcCD/kDf/9DY5teGEe+wkPbD2sOE zVOwZx0Kte0TQibS1dTt+CuB8fNlMBQuA2Z1oSlg48I1NNmVDQt0kI7Nz1EQ7TwrkFb1 9jiM8GQ+C/wN3fkc/QTdFTY/DcksUNSlV4RA6k8Vre90x6cXbyInBsG5XzyX/Aw8VOYS cnMYfeMiYpyK+jvq2pCr24dX27BS2mwIyUZo/R2Q1y949uH2F3Rngrm8MT4XSN66Iw9U +xnHArR7MbR0YjXDWV3W4f1WLnhnxIYAJS79rWcZPF5JZ3FI9GNVA9zG9OeE86fvU+Do 1jTA== ARC-Authentication-Results: i=1; mx.google.com; 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 t191-v6si4541588pgc.481.2018.09.13.07.05.00; Thu, 13 Sep 2018 07:05:20 -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; 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 S1732113AbeIMTOV (ORCPT + 99 others); Thu, 13 Sep 2018 15:14:21 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:35410 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731179AbeIMTOV (ORCPT ); Thu, 13 Sep 2018 15:14:21 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id B8DD3D35; Thu, 13 Sep 2018 14:04:41 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, James Zhu , Alex Deucher , Huang Rui , Likun Gao , Likun Gao Subject: [PATCH 4.18 175/197] drm/amdgpu:add tmr mc address into amdgpu_firmware_info Date: Thu, 13 Sep 2018 15:32:04 +0200 Message-Id: <20180913131848.562433266@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913131841.568116777@linuxfoundation.org> References: <20180913131841.568116777@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: James Zhu commit abf412b3efb2f943d9b98a489e9aca836be21333 upstream. amdgpu IP blocks booting need Trust Memory Region(tmr) mc address of its firmware which is loaded by PSP Signed-off-by: James Zhu Reviewed-by: Alex Deucher Acked-by: Huang Rui Reviewed-by: Likun Gao Signed-off-by: Likun Gao Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h @@ -226,6 +226,9 @@ struct amdgpu_firmware_info { void *kaddr; /* ucode_size_bytes */ uint32_t ucode_size; + /* starting tmr mc address */ + uint32_t tmr_mc_addr_lo; + uint32_t tmr_mc_addr_hi; }; void amdgpu_ucode_print_mc_hdr(const struct common_firmware_header *hdr);