Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5915167imu; Sun, 20 Jan 2019 23:20:07 -0800 (PST) X-Google-Smtp-Source: ALg8bN6rFh4dUN48wnkdYgPwhVW+XCtyY/n/hkI07SBy4DXieR4aVE2g3vIxWuxXUS8oIgtBaStQ X-Received: by 2002:a17:902:f44:: with SMTP id 62mr29293545ply.38.1548055207242; Sun, 20 Jan 2019 23:20:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548055207; cv=none; d=google.com; s=arc-20160816; b=w+yo5wqFABu5OrwqhRxtq97ThDb8GzCnNjKJUPIH7qYhbph9llwbGmi9IC2WGyDBgE Kc7OTchE17gXSCHzrhd+PpjpeNyWTeO1D4AgRGewLXn078jckvrKVdtvPAuqyjBmX0kE FlUsawvQe/NdA6aCHhQNXjfAU4eDSzjtkVlpmeomPvN40IhZ0jGndIVkP5Drk6mJoR0u mMI9Q7b6yPL3ePDMZSv6iG9/7ue+iXfqqVTrL9TIyFxRdnJ7B5YebuR+A8xsduNaqr7O 7i93Bvf6C08eJlKAkTFta74L/9Cwd3lR0Vmw3JwZFrztbF5/NSfS6gMaXw2ButoqFQCS VK/A== 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=mjucR6CjAKB/oZPowyqDWMqmkQFXb/O28LP7fy8eQto=; b=lugJwmROAlP1QJxRQLAbitqdf0nADyZm3YfnvDTZI+j2C5b7DLfvFpYjr8r5x78HPy lacWEdONN+KOhbCXRjeTmi14DuzuvYzUrFYwzu18crHjmD5+ofkrKLgQxS0Z7KNhsdkx 91pEAhitJXG/+xcy34NhJaM7BaxzrUwH/tsSZumMQAr8mKq4N199G2FERM7AOfrCPv+0 mrXbjRnbAjzcThgMhvg8ul3Jc84aRl3Crj2rHH3xj28BHzNTM7NfMx6IJMUIZ9q5dW4+ FFLbrV9Gn1zPcpXdRd1gBQlGLVBqapZxvTJ28sMVdMMgN8e846pD4uVbioMhTeusTL6L 5sPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qdW6yClj; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q5si11265873pgb.245.2019.01.20.23.19.46; Sun, 20 Jan 2019 23:20:07 -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=@gmail.com header.s=20161025 header.b=qdW6yClj; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727971AbfAUHR5 (ORCPT + 99 others); Mon, 21 Jan 2019 02:17:57 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:52713 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727785AbfAUHR4 (ORCPT ); Mon, 21 Jan 2019 02:17:56 -0500 Received: by mail-wm1-f65.google.com with SMTP id m1so9693464wml.2; Sun, 20 Jan 2019 23:17:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mjucR6CjAKB/oZPowyqDWMqmkQFXb/O28LP7fy8eQto=; b=qdW6yClj17Y2yLEVt6gROToTyccasjHt2D3dLjNr2R8RGnXusFOMUO7fbZWl/hcrOy lenBIsKbsPGJ1osbfkfXGrxJm/8IRzrBwjxEo2ivqCHbOOF0z3/3t4eZ1H7EAgACGmOV 5GVqrRVTYLa/6qbZrUXryRmcohB09que06AShydcUOlu4xkOOJLjzCXtfIDNyjBLgi66 GPNqpEVe4RC52f/SvH0JYMZUk/83dgWFDBpLSqRj8Rr3nugVddoutpaluwj7vH6YeWsD XQm6kgHYJUsG+XEwBwI3eVCBhi2lYCNNwVxanwN/TgFJlUEtrHFGWZ+gj966lTY+jDHR k3Xw== 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=mjucR6CjAKB/oZPowyqDWMqmkQFXb/O28LP7fy8eQto=; b=PaBe4h/2pMxUpyFY1grhNVhUfacrgtuzphTpyqJ55FusvHUwsISp9C3ozRXr56e/i8 60El80SoLe4S/o+jgQQRq4WDL5XoFFTvfUs857JpiAju65JOHsB55oTBDV0NngT+ECZ7 fRwalZYmLDw0XJm2gBZR2CIxZ9/Iapl0M4xdQNXH5ExrkjkKM64XRJXlzz+tCZaLbOn9 fezYodCb2vT0R6Knhwteg3X+aXdEbHSegXgL9YBdVkXYJApLz0+MuXc0HMAAn1N+r/8C wYj9xLWSgPanJB7IR1iHDdLqX8LT2qPQKxUKA/YLkl/5TsdM3kzrMG+G54zOv4UHCTKN TABw== X-Gm-Message-State: AJcUukfp5eIr+5oA43/6G26MdMrKJHH7V6Hl5y3Ct/Nb/daizn5gvYb6 4RA9rpmctk5pONbopYQ9ms7LD36/NTQOMhk1uVPCZw== X-Received: by 2002:a1c:bb04:: with SMTP id l4mr23437754wmf.142.1548051078579; Sun, 20 Jan 2019 22:11:18 -0800 (PST) MIME-Version: 1.0 References: <72d3cd83bed792a23ab60cf9b6d51b618f5aa084.1502103715.git.michal.simek@xilinx.com> <6da5fd79-fbc8-b613-954f-dcbe2ef8d6c5@xilinx.com> <20190107164210.3ecf37e8@windsurf> <20190111135413.73dad0b2@windsurf> In-Reply-To: From: Shubhrajyoti Datta Date: Mon, 21 Jan 2019 11:41:07 +0530 Message-ID: Subject: Re: [PATCH 2/8] gpio: zynq: Wakeup gpio controller when it is used as IRQ controller To: Linus Walleij Cc: Thomas Petazzoni , Michal Simek , Nava kishore Manne , Josh Cartwright , "monstr@monstr.eu" , Peter Crosthwaite , Borsodi Petr , "linux-kernel@vger.kernel.org" , "linux-gpio@vger.kernel.org" , Rob Herring , "linux-arm-kernel@lists.infradead.org" , Steffen Trumtrar , =?UTF-8?Q?S=C3=B6ren_Brinkmann?= , Shubhrajyoti Datta 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 Fri, Jan 11, 2019 at 8:26 PM Linus Walleij wrote: > > On Fri, Jan 11, 2019 at 1:54 PM Thomas Petazzoni > wrote: > > On Fri, 11 Jan 2019 10:54:20 +0100, Linus Walleij wrote: > > > > > My stance is that the driver is responsible of enabling and managing > > > runtime PM for its hardware block(s). > > > > > > Runtime PM in the core should only be added if the core needs to > > > be aware about it, such as is the case when e.g. a block device > > > needs to drain its write buffer before going to runtime sleep. > > > > > > I fail so see why the GPIO core need to be aware about this. > > > > In this very same thread at > > https://www.spinics.net/lists/arm-kernel/msg600515.html, you kind of I was not abloe to open the link could you please let me know if I am missing something?