Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10850200ybi; Thu, 25 Jul 2019 06:07:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxf+UZSaTVswTRiP9/jlABl3vjWpQ/g1WvZ6edNA/49iMd10DbgAmFxil7R7eIPbdJMDbeX X-Received: by 2002:a17:902:f301:: with SMTP id gb1mr89412981plb.292.1564060063595; Thu, 25 Jul 2019 06:07:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564060063; cv=none; d=google.com; s=arc-20160816; b=VYXGF2gFkAFkn8aOkAFLejagOi9P8FfKL6kaJJ+dHQN12Qk3j54ykx0Qt9yy43JkwJ 2XG1XgvdAsr+G2ueIyR5p/waBIhOQ5t6V/Z7HOK/WL38rfp4PbbJlqjOw1JI9iqryZTd 8E/HQmTTb8SfYa8CsCJyxuthH9IVZca9wKygPiALoo/+eZ+SpSET4cO4M1rixOg9/KEb MwHXxARpqYIv+Ok5K0GXpDh3z3TsJrfyq1wlYeGK8V3OREHCwUpOc+yK5AOTV4WfDjNL krF2Dw6IaO5kjT6El5o5zQRe5M0sf0ulSoDXj9YYj9a2YW1/PxeZciiIBYud6Qwp7JgW ds4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ssTZBE+UvhxmRscb1bfFWkAue53y1Iqmywo1qz9iIgE=; b=WcY1JhuvHci7n1VlkXAiA3BSoOYDJ7iZWZUrC4ypn6JZ/VRnGaRX03ebRZyve0tRnl W7h5swRY5LgC+5hdGRjzc82pExySu4bCZtv4qkqSW5+SDncQ5fq9rgok3qaPOE3vHfaL MnUGuRm+KM+DxhsLf7vfUJUi3Oqy7ouwRiPmxEXhUyGsHo6cRfgjPmtcQ3ZSIsXzVAI9 rwEwzi+pG9wVBqgonVogZyvbHzYbLodsmzb874CRZkYI5glukC3mHw2QzBy6mlC8nivh GvlfLAtTL6H//kpsD0fnrET8Z8rVuNMR+5gTXsaO4peTnXWDGTeNo5opEc4CTcTmW43d ffOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=G0VLQQDU; 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=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gn22si17540199plb.422.2019.07.25.06.07.27; Thu, 25 Jul 2019 06:07:43 -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; dkim=pass header.i=@nvidia.com header.s=n1 header.b=G0VLQQDU; 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=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728756AbfGYJzH (ORCPT + 99 others); Thu, 25 Jul 2019 05:55:07 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:16966 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725808AbfGYJzG (ORCPT ); Thu, 25 Jul 2019 05:55:06 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 25 Jul 2019 02:55:02 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Thu, 25 Jul 2019 02:55:05 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Thu, 25 Jul 2019 02:55:05 -0700 Received: from tbergstrom-lnx.Nvidia.com (172.20.13.39) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 25 Jul 2019 09:55:04 +0000 Received: by tbergstrom-lnx.Nvidia.com (Postfix, from userid 1000) id 8EF8E4286A; Thu, 25 Jul 2019 12:55:02 +0300 (EEST) Date: Thu, 25 Jul 2019 12:55:02 +0300 From: Peter De Schrijver To: Dmitry Osipenko CC: Sowjanya Komatineni , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH V6 01/21] irqchip: tegra: Do not disable COP IRQ during suspend Message-ID: <20190725095502.GM12715@pdeschrijver-desktop.Nvidia.com> References: <1563738060-30213-1-git-send-email-skomatineni@nvidia.com> <1563738060-30213-2-git-send-email-skomatineni@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-NVConfidentiality: public User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [172.20.13.39] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1564048503; bh=ssTZBE+UvhxmRscb1bfFWkAue53y1Iqmywo1qz9iIgE=; h=X-PGP-Universal:Date:From:To:CC:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To: X-NVConfidentiality:User-Agent:X-Originating-IP:X-ClientProxiedBy; b=G0VLQQDUsh89ujpB7kNRnhX8LTxDvmLjwLern2fdpLIa7ywejvMlg4se10jcnfOLD C+ylHNnfkSRtwQ/bOfYoZZpbdnnRbVFP2keOiR81Al2jdH4DwybrOnxreVYmz8xbgP YMFrbSI6NNAsWW+d7jMeI8D6nTzJq2LNafeQ4xS8GcCmUeqRt7NNeqQjYVoJl8l4Sc iI8F4gmdsKdfHp1+QhEhzptQosW8c71p0JK9HgUP/nSyc1PeK3Mly/3hdzv5aEDO5Q Fxuq6XFE+P4jOPeQ6vwLfUHRLlNbIt609ThbLD1lQMqvxga4R6ZQisIcNyVj7w5D/U 32KNTGavqPdkQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 22, 2019 at 12:54:51PM +0300, Dmitry Osipenko wrote: > > All Tegra SoCs support SC7, hence the 'supports_sc7' and the comment > doesn't sound correct to me. Something like 'firmware_sc7' should suit > better here. > > > + writel_relaxed(~0ul, ictlr + ICTLR_COP_IER_CLR); > > Secondly, I'm also not sure why COP interrupts need to be disabled for > pre-T210 at all, since COP is unused. This looks to me like it was > cut-n-pasted from downstream kernel without a good reason and could be > simply removed. I don't think we can rely on the fact that COP is unused. People can write their own code to run on COP. Peter.