Received: by 10.223.176.46 with SMTP id f43csp4506935wra; Tue, 23 Jan 2018 10:16:28 -0800 (PST) X-Google-Smtp-Source: AH8x2279YSvWqvLipvvHxz9V4tIQM3iy34S+80yc7YS39/yhZOJ4//ISO2TSYo5fdhLN1wOAbDkx X-Received: by 10.36.73.102 with SMTP id z99mr5245247ita.72.1516731388824; Tue, 23 Jan 2018 10:16:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516731388; cv=none; d=google.com; s=arc-20160816; b=B/p1fPxP0LIbHZEyLeyjj9Na5FQwmVkzO/EZPf+8IhZun2u2rPBKPT3lf5chtboajJ jByke+ITQwmZSLaHrHlR9aEBGvJBUSad0Qx9iIfDqUrhToPYMIFflV2dtzQJ9GVv0Qqw VVeFwUX/L43wGeH38Bx/64xtbUHmnNNqZtvltxVX8PaKcgTsMeBfZXC5qXrMfuruMTh2 n6+ggdRWlTuH4GE9iLrFZdpNCU6X/fLinxGjEOw8V2ma7k0r6Gqmcat2S+cgzk/D+dUs prJR8qnVoRHRSS/YDhrOLX8tQjGPAIyHt0ZaLrY6jS9cio04qvGLKYPdbNPfSHIUZM/7 OcAA== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=yAskE+O1j8zSUrNLuDfCTTHGS1lNzz2m8Vt64cwSi2k=; b=QfPAtQx20Uaya5qBmFeo9MZY6p4pzTlb3vdcDOawrcl0qaQKu/dxjeDYnvRZVWazP1 AW0yk2ShFGvpGMBG3zjJcOYJOUopgOkrYuHqAsk7dT65jGcZHr59Q5v8Xk/Rcjj6EakT r8KiExWsxE48DUzEmWSeZH8aUDnXO5bCJcjEcexxU4DQZDRCf2U8CIJaziSpG8qooou5 dqyheJzsQkhuo/RVGlYrDJN/jWad5UnC98T56T5p9P/uo1XV/kbbDHSqeIVG+RpjsuRp AzuWoIeiJTEn1rtmffOrif7lWub1+muegkyTlevpSltDhAQDNzRi0RF1A7o55Cv+9Bf9 MRXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=oL0nkg5m; 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 m98si6084211ioi.214.2018.01.23.10.16.15; Tue, 23 Jan 2018 10:16:28 -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=fail header.i=@gmail.com header.s=20161025 header.b=oL0nkg5m; 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 S1752132AbeAWSPU (ORCPT + 99 others); Tue, 23 Jan 2018 13:15:20 -0500 Received: from mail-qt0-f194.google.com ([209.85.216.194]:36531 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751721AbeAWSPS (ORCPT ); Tue, 23 Jan 2018 13:15:18 -0500 Received: by mail-qt0-f194.google.com with SMTP id z11so3713080qtm.3; Tue, 23 Jan 2018 10:15:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=yAskE+O1j8zSUrNLuDfCTTHGS1lNzz2m8Vt64cwSi2k=; b=oL0nkg5mSJcKtTKcvfx1o+1ZjspIfMkUms4UypOH6ad2R/V3GqozOvqF/ji9w5b7wR /e8Z65iQijtaEkqzKoQp46ygu20nMhpUqecQFvum3FJd2BXlm5C6E42y/awREi5LPZtc SAVkK6IgZiZsw1urPnkjYRUKBPrxj1kWqAPhSRbq5ijfcAdJq1ORxnwgcefbm+f+yS5u +7c4pjaU03iiRiTHpVd44dECY8SnEtkOHIw/0pfNSoYYm4aFME7SJoiYuZ6j53CGkhM6 f3SdZ4SpFEeUvQyT37VSD3jhiSFziYIoxX02wJr+7rucEbUKt4LSafDWrFlKywTygbvI HykA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=yAskE+O1j8zSUrNLuDfCTTHGS1lNzz2m8Vt64cwSi2k=; b=RgsIy8cugr1kIklhzmoTvM3j8mk2FO8dwABP9ppR2/41jlDP98Q557GWF69+vRdUfZ FU5W6pb4CI2Qz0DcPlO8vR2a7uKVhARXgB8hwzfV2lLIFYotO1XGpgnaxKBUX/wbgyIt I3Zr2cFbF9PLUeycjecpl5tBHNKJeSxTFUjfHJ0j6/YzkmhLoe84+vxc4Cmf2Cpjts03 VIIFnt3eLatANFvyjfOOZKenrxm97c0QzCroWi+SXSNUuiW7UF84aBcpjmogIy8dDkmk F8aNb1PApXRtwCqjGIWCa109cRRy/apKVsKYbDlM9HQ55ONVqtjIZv8/9NJSdOfx7Nhv ZKIA== X-Gm-Message-State: AKwxytdVkR3n/Lt8g00JcxTzhv7ChSTMyI54+b/IgFFGyU2ywWaxib1J L7p59DTg2MsgMpr7rJjUMWiGc3fOvBvioZOP2Gc= X-Received: by 10.55.102.87 with SMTP id a84mr4855154qkc.75.1516731317900; Tue, 23 Jan 2018 10:15:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.182.33 with HTTP; Tue, 23 Jan 2018 10:15:17 -0800 (PST) In-Reply-To: <20180123175656.11942-1-ilina@codeaurora.org> References: <20180123175656.11942-1-ilina@codeaurora.org> From: Sudeep Holla Date: Tue, 23 Jan 2018 18:15:17 +0000 X-Google-Sender-Auth: gCFUHx4ZskXPnfKx0rgFL10EhMk Message-ID: Subject: Re: [PATCH RFC 0/4] irqchip: qcom: add support for PDC interrupt controller To: Lina Iyer Cc: Thomas Gleixner , Jason Cooper , Marc Zyngier , open list , linux-arm-msm@vger.kernel.org, Stephen Boyd , "Nayak, Rajendra" , asathyak@codeaurora.org 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 Hi Lina, On Tue, Jan 23, 2018 at 5:56 PM, Lina Iyer wrote: > On newer Qualcomm Techonologies Inc's SoCs like the SDM845, the GIC is in a > power domain that can be powered off when not needed. Interrupts that need to > be sensed even when the GIC is powered off, are routed through an interrupt > controller in an always-on domain called the Power Domain Controller a.k.a PDC. > This series adds support for the PDC's interrupt controller. > Sorry for the basic questions: 1. Will the GIC be powered off in any other state other than System suspend ? 2. Why this needs to be done in Linux, why can't it be transparent and hidden in the firmware doing the actual GIC power down ? I assume Linux is not powering down the GIC. 3. I see some bits that enable secure interrupts in one of the patch. Is that even safe to allow Linux to enable some secure interrupts in PDC ? -- Regards, Sudeep