Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1009535ybv; Fri, 7 Feb 2020 12:34:52 -0800 (PST) X-Google-Smtp-Source: APXvYqx/QSUDFL+KfltN7ug8sTx4B3LCrVFIwCU4RSCkqL+njMaNS5wtnpFmB53apPVC+wktm3hb X-Received: by 2002:a9d:5c1:: with SMTP id 59mr958919otd.192.1581107692148; Fri, 07 Feb 2020 12:34:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581107692; cv=none; d=google.com; s=arc-20160816; b=dZiaJpctgu9TcfUZVz+sSK2t6H2tHWKpIa0E8Mtc4392NqUzcPd7aIQyka3rqdnAC2 GnRPAJeUACwXeXz+2RaX5v7cqoTWqSq1yPuiO1WX/+65Ts7rG6SAuqR8twJvw96vCYWA Gw7JDzIukNpICUNmIyAebIvnGVBAljl4IJSecs7P7IQD3oj1uQ3KYYqCPZTZCo/0M1uz eo5EQ2ckue5wlhAWEz8eAZ20FlvH82baNPyIhHNW16m9PdFCekyoPi16JVH6FesFJyOY aGb4XGKurSjB41vYx0rBjH39wHWiykhUYKqAfzzRRlobLY8nw67SZMTSrR9VQQO4cenX MDiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=AHb2PNSbIwU94nTzB5ksKzSzJ8GiMs+/AaWwCeRiZag=; b=GM0kGYwU2RKG37JlJ3cRHO8chzQOwX8raZMMw+zm9a+yCEwncorDzcHO+6kvDYIqS3 GMsLRyku9jXkBFyMsukofSm1LCI/LCWcVe8yM5pF4/+67Nhlv9zESzzPLRCG/b+s8J+l V7CAOkVXeBPZ+98nsgaBUs1owvN4T6OSrAUnP67XLzSEFL1HDy2SE2eRirve3VWZhgVu LsY9j51vdrjoUeepERJ2REDcfU/2042ei4IPR5vPgCOwqtGiCskbz54Zy6oHIEjjGkTD fzMxkNdtJqAunRfOL3BZDXFmuxSzEaMeUp0aWttWqEIdDdnnaxCNrjTqJlJTTyFxeBGT wxQw== ARC-Authentication-Results: i=1; mx.google.com; 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 j1si197665otr.207.2020.02.07.12.34.39; Fri, 07 Feb 2020 12:34:52 -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; 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 S1727075AbgBGUdq (ORCPT + 99 others); Fri, 7 Feb 2020 15:33:46 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:41555 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727005AbgBGUdq (ORCPT ); Fri, 7 Feb 2020 15:33:46 -0500 Received: from p5b06da22.dip0.t-ipconnect.de ([91.6.218.34] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1j0AJp-0002AT-F8; Fri, 07 Feb 2020 21:33:41 +0100 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id B9334100F58; Fri, 7 Feb 2020 20:33:40 +0000 (GMT) From: Thomas Gleixner To: Doug Anderson , Lina Iyer Cc: Stephen Boyd , LKML , Marc Zyngier , Maulik Shah Subject: Re: [PATCH v2] genirq: Clarify that irq wake state is orthogonal to enable/disable In-Reply-To: References: <20200206191521.94559-1-swboyd@chromium.org> <20200206195752.GA8107@codeaurora.org> Date: Fri, 07 Feb 2020 21:33:40 +0100 Message-ID: <87lfpe87dn.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Doug Anderson writes: >> Thomas also mentioned that hardware could work either way and probably >> should not be assumed to work one way or the other. > > Right... > > ...and then (paraphrasing) Stephen pointed out that policy makes it > really hard for clients of the API to work properly. > > ...and then (paraphrasing) Thomas said "Good point. As long as you > document that not all drivers _actually_ behave the way you describe, > it's fine to add a comment saying that drivers _should_ behave the way > you describe". > > Or, said another way: if a driver doesn't behave the way Stephen > describes then it should be fixed unless there is some reason why > there is no possible way to make it happen. Yes, that's right. Thanks, tglx