Received: by 10.223.176.5 with SMTP id f5csp2207085wra; Thu, 8 Feb 2018 10:06:08 -0800 (PST) X-Google-Smtp-Source: AH8x225XJKIl7w+VM6u8Vf3QFdKMksfEkWXkVk2kNkHOVLBMWnKWbH93mQ1/OTzNl0WKEh9yIWpD X-Received: by 2002:a17:902:42a3:: with SMTP id h32-v6mr3662pld.56.1518113168097; Thu, 08 Feb 2018 10:06:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518113168; cv=none; d=google.com; s=arc-20160816; b=V45/zEPIeLVQ/N6Ys0rlxqqI1s468dpUMxgBB2geUhWxKOf6qhMsOqQt8zAMEg+By1 wjFXZ5cXPSvmcfHU0UeMsqA6KafDDTqpVxIOpJGMsr5k+PLL9CY0/D3Ae8kPl+SLvFmh PWKRxajJ7FwMuiWTiLuIKvoOhRIaqsdioNVtOhqr4rEBJjWZfbnZdRMk7RlnoQqjl86e N/RvDCoQOCn5NTaLjIMcGKDqwh0NIlEoFTRsiVaaDUjYA7K/Uig9XnEjjnfWEdzczWuQ wO3fbNMnjHQNfXJukpOYfbLT7phgX7OHDdw+v1Wx2vXWq7skH5jXDpZpvlk0SNbER7o1 tavA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=4HhDNiZmipnW/O1CNqClj+PbStJYQ0unvKj9g3mmdSw=; b=eGfAUWR9TQIVFt+sONITOCsGvnp61F8rP33Rrh76lMZ6JX4wVDNo/j8xJq0AHb0YNV 7g1IYDF8J16qqmNlmS9YluyYFOgKGrmzkhLyz1muXbkbcbAhjEO2bnwdQoaUbodB0ChD jbftJwA9i+PWIEYGag2OAelY4uXMj4AT/4eaJ2gXwy7je4cnXBQjkVz4YJisxy69NGRV Ah604ZlXNcvID5jkAvuTftqlc98hnb+dfY4it0J+0Tvrox2bywXRaQcvcjHshVwqAmLe 1aLR8ekxfuy0nSAXzg+Ko/UyllxVOfhmi3wulZaI1U5SEgZvRsWzN6yv1vueCMBAhr9I nCFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Pg9YS+Bu; 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 u13si233121pgc.609.2018.02.08.10.05.52; Thu, 08 Feb 2018 10:06:08 -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=Pg9YS+Bu; 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 S1752575AbeBHSCK (ORCPT + 99 others); Thu, 8 Feb 2018 13:02:10 -0500 Received: from mail-io0-f195.google.com ([209.85.223.195]:39730 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752426AbeBHSCH (ORCPT ); Thu, 8 Feb 2018 13:02:07 -0500 Received: by mail-io0-f195.google.com with SMTP id b198so6714783iof.6 for ; Thu, 08 Feb 2018 10:02:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=4HhDNiZmipnW/O1CNqClj+PbStJYQ0unvKj9g3mmdSw=; b=Pg9YS+BuluL7LxcScZhDdOiMwxCp4FOW6dSw3FDmhi8iTvyAARLq5T0oNBzc0XYS06 0QwpxBTgjpMyOvP57BRzRVdhMvUA+SxsCPzqcIE8nTmHeNIPWbueYc9qsDDeCv4iGOvh DnUQTM2ODJor21GYUw3v7KHvXI36/74VkOzXw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=4HhDNiZmipnW/O1CNqClj+PbStJYQ0unvKj9g3mmdSw=; b=QH+e2JpUylum8D0T7ZFCK1DrJOdSYY45Y813ASM0pQWirAHM0CXuMlVqcD27GSAXzY S4zVldUawULHG1q0D+36uIWPUUrFGUerrleNCoqWjQoKiVwj65o0kSLABUKLGDiP5hqZ uHijwrfwRgziRgCdJBMnnVNI9omci7eLxdHW1xJ0XcgP2MLxjc8MjGMmxG92QnzonSUP ZqIBFJ9uJyMfu6zhNNtmH8OQNCzI5bHXyxeoSu4y3vf8INBo27mcxINPzOcwBQFDVike y2u5FBKk/fddndYVQlne1chrQicxv5XmIx2UP4oxXzGFHskyYDvLVdT6GDlvQ2r1ZHzj tqGw== X-Gm-Message-State: APf1xPAjD61LR8hMILkujQU/aXeM/DawvNrSuHCyYSTaOFlDOk1SZRe4 tjL/pScutNRuKWLcwZMOX4z7dw== X-Received: by 10.107.205.196 with SMTP id d187mr75052iog.42.1518112926782; Thu, 08 Feb 2018 10:02:06 -0800 (PST) Received: from ban.mtv.corp.google.com ([172.22.113.17]) by smtp.gmail.com with ESMTPSA id m10sm138898ioe.40.2018.02.08.10.02.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Feb 2018 10:02:06 -0800 (PST) Date: Thu, 8 Feb 2018 10:02:04 -0800 From: Brian Norris To: Derek Basehore Cc: linux-kernel@vger.kernel.org, Soby.Mathew@arm.com, sudeep.holla@arm.com, devicetree@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, linux-pm@vger.kernel.org, rafael.j.wysocki@intel.com, tglx@linutronix.de, marc.zyngier@arm.com Subject: Re: [PATCH v6 3/3] irqchip/gic-v3-its: add ability to resend MAPC on resume Message-ID: <20180208180203.GD106856@ban.mtv.corp.google.com> References: <20180208023648.89124-1-dbasehore@chromium.org> <20180208023648.89124-4-dbasehore@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180208023648.89124-4-dbasehore@chromium.org> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 07, 2018 at 06:36:48PM -0800, Derek Basehore wrote: > This adds functionality to resend the MAPC command to an ITS node on > resume. If the ITS is powered down during suspend and the collections > are not backed by memory, the ITS will lose that state. This just sets > up the known state for the collections after the ITS is restored. > > This is enabled via the reset-on-suspend flag in the DTS. It only runs > for collections stored in the ITS itself. > > Signed-off-by: Derek Basehore > --- > drivers/irqchip/irq-gic-v3-its.c | 86 +++++++++++++++++++++----------------- > include/linux/irqchip/arm-gic-v3.h | 1 + > 2 files changed, 49 insertions(+), 38 deletions(-) For the very little it's worth: Reviewed-by: Brian Norris