Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6250455imu; Wed, 30 Jan 2019 11:21:33 -0800 (PST) X-Google-Smtp-Source: ALg8bN5P8GQG7bQbg3QtCPviyASTmzDzEbMGZh4exXb+ifQDLG7LSvnvrh3CvUeKFfnUOUAypdCC X-Received: by 2002:a17:902:12f:: with SMTP id 44mr32074745plb.74.1548876093294; Wed, 30 Jan 2019 11:21:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548876093; cv=none; d=google.com; s=arc-20160816; b=kbR+gf0kgLRlS7aTRnAoc/mAmj87BOpDCpGYyxmcKBYBkjVLn65VD6Czv8aF8Kj3On pamd5M1vkrrMycWZBfxcv16EESMlYE60Qcsjc33M74Pfh8MN9pF4yT6yH2451NQrV85K nuexUImK7VjUZS8ZDJGmi7EIRs9Te/pIiC39GD6rF4bAfAJCjEeSZEG8ioOUNAoWaRUh 2aCxrOLA4tmY21o9Fx0kOGdr9DbGZHQSw4qXcdzso43UCvcMB2eQX934blDz1hm+0a3b NjmEsT+KWY6Ap21zWmLg1nNrV7SZ+/MuKLXWMtSYqzsqB55wGns4pNCH5fEWpSFO17rD Odtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=YN5U0FYrh6FkR0o1KHBgp086/PB+j1Y8dRv+wNG//Ag=; b=dOUTd2oH5gAcNciPe//3UOmnd738zmqxSDZ6RARqGndQYHSAv4T8+43kxSLf3cLiPJ BDctsm6giBZwDRnLooWyJKaWqydDA7nJYY6wd3IfCBX0ESzlDbsjakkKONGqrZ06N6Tu sSrmCASB0EcuofsYnp734jvkDQ9qYFXnQ8cQ3BPmOVaNHAPCb2gBj4qlQOet8K19/Gv9 RBdpaeyRap0jgjXnYKTZYFqv+Ns9WnnuyI4MKXQ3gEDVTsRXzzAvx+a1KDifHOnn7f9g nm+qUqxbst9AK7MUr7m5HcmnqOyEK6pIGBniQoIJKiBIGy/9m9tatyc5l74EReqc9x6A gBBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=KpwpN3ZF; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b61si2340758plb.70.2019.01.30.11.21.17; Wed, 30 Jan 2019 11:21:33 -0800 (PST) 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=@chromium.org header.s=google header.b=KpwpN3ZF; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387552AbfA3TUP (ORCPT + 99 others); Wed, 30 Jan 2019 14:20:15 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:38911 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728197AbfA3TUP (ORCPT ); Wed, 30 Jan 2019 14:20:15 -0500 Received: by mail-lj1-f193.google.com with SMTP id c19-v6so579580lja.5 for ; Wed, 30 Jan 2019 11:20:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YN5U0FYrh6FkR0o1KHBgp086/PB+j1Y8dRv+wNG//Ag=; b=KpwpN3ZFQ4vbMUm9l7sXtcQy8j8YXcesm39ZIgfCoV3Sqfg9C3dlURztb0XmMmmabL Xk1Q2df3biijflUKXuQ4aQx9OOH4eJJFgNjkqtnBMj2crJIjHqtWFqc2wgfqY36s3ylZ Ao9FdNPWutaYb7NOX6tUeT9K9GxQBnSMPa1wA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YN5U0FYrh6FkR0o1KHBgp086/PB+j1Y8dRv+wNG//Ag=; b=kIiYMRUbuZG7rdu1SIwwDIq7fMv1j5WqoPVeeAIfr7THca4TZOxEzJ385Jnlb73PCC 4dvaLxq8eX0juU/Sawk2dDG5ke4P0Gt1l3Sg+e5oPTLNEwOYeJDANazVX3ji/QsX4Ka7 6QevfPe6Qexiz36BA+Jl7FZhFL0OYFeMj9sKGtBsog+m5VYqU7Sucq/d0rP5Og0EPoj5 OJmwYqvFzBmwZnqU8DnxAr3JHJueEcFE7Ju4zgFsh8sRQ5Czz0PwiIvNPOa8hgQ7nyzn +xCCOPQYvWurEbLvh2KhsNnEsHVR6xseERPOlyRQAzaWQe/v7AWFiq7pejdeoiAAA09p tZbA== X-Gm-Message-State: AJcUukfJyILpyR4kqDvr1a41dxBYfV+++P3JpUP4DFHG+NcjHfU3wBKf nptIyFcqovvBnHqM4DJI6NGOoi1VIh0= X-Received: by 2002:a2e:9c52:: with SMTP id t18-v6mr25071308ljj.149.1548876013418; Wed, 30 Jan 2019 11:20:13 -0800 (PST) Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com. [209.85.208.178]) by smtp.gmail.com with ESMTPSA id m63-v6sm459071lje.81.2019.01.30.11.20.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Jan 2019 11:20:12 -0800 (PST) Received: by mail-lj1-f178.google.com with SMTP id u89-v6so608169lje.1 for ; Wed, 30 Jan 2019 11:20:12 -0800 (PST) X-Received: by 2002:a2e:7e04:: with SMTP id z4-v6mr26580031ljc.97.1548876011815; Wed, 30 Jan 2019 11:20:11 -0800 (PST) MIME-Version: 1.0 References: <1546314952-15990-1-git-send-email-yong.wu@mediatek.com> <1546314952-15990-19-git-send-email-yong.wu@mediatek.com> In-Reply-To: <1546314952-15990-19-git-send-email-yong.wu@mediatek.com> From: Evan Green Date: Wed, 30 Jan 2019 11:11:59 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 18/20] iommu/mediatek: Fix VLD_PA_RANGE register backup when suspend To: Yong Wu Cc: Joerg Roedel , Matthias Brugger , Robin Murphy , Rob Herring , Tomasz Figa , Will Deacon , linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML , linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, Arnd Bergmann , yingjoe.chen@mediatek.com, youlin.pei@mediatek.com, Nicolas Boichat Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 31, 2018 at 8:00 PM Yong Wu wrote: > > The register VLD_PA_RNG(0x118) was forgot to backup while adding 4GB > mode support for mt2712. this patch add it. > > Fixes: 30e2fccf9512 ("iommu/mediatek: Enlarge the validate PA range > for 4GB mode") > Signed-off-by: Yong Wu Reviewed-by: Evan Green