Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2047808pxu; Tue, 24 Nov 2020 15:49:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJyjRcQwHvwVzdQzQbZxWnx2+rsP1dTrDWJSiBZpPUKhFkV6sn1PJ9fNW+zWoRv3sjDxiNoV X-Received: by 2002:aa7:d6c2:: with SMTP id x2mr979677edr.206.1606261741892; Tue, 24 Nov 2020 15:49:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606261741; cv=none; d=google.com; s=arc-20160816; b=yLHMDfcdF7t75gOWdUcH8HvZo6cD30dLFXg8qbi1GthiYzf8jwm46Vg2GeY3YF7Dz4 io9yfkay1Qq32c0GLpeciI0N1SPvo5IrATWKim7DL5ReZbjJoIkV5ZAWMjigwdds26hF 8sUIpzD6v+fSzQFlbYIXNYCYtIfjAX9QQMtXnHZk3OwvAVoO0N9f+2hbxYJNNk38Oj4q z0zdJH35fXhAA36kmUMO4crotlQkEhOFLh5XqYPSdaj9lJ/YdXxo9cIjIlBjy1PDTIIu 1D5FLt8z9nP7OOBvHAHDUsil+Is2aBWjUJ0Un4fQEOh0puZ4faej0c5/T03KhWBJgfGO EJ5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Mep5g3jd3Wcro6wz5b9PghU5nLpdZLWg1PGCxkgwp3w=; b=VJ6oTztj2SvsMsOVJIkkH0LogalbJlU7B7fPY2SL05ogmsbHtW+Q2hhc6vYcXQCnfH cdSAefIawcwvHTTYnwueHrqAqeu5fwxNWV0AeITEZGZdVeNcMnMvlrSZhtoefh6lsaDT Ywt67uvl7q+TmoHp8eM5gBKuIi6Q750p7rz0SZdsOhz6eovIWdMb4sB6jMeSGdZKnQ6s vqUSMPTtWhlZeycDfF5FNw+ht4XvulrOGvtTT3hrYZnEudJUuch1XtSJMW2ZBIwxKBTd inX+aIusNMeoSimjy01FAfRBGecqLNrO5yDSgnkwE+yqOrfBaxO/xdZG+VM6jp9NlakS sFVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="X2o/ZcxE"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id 63si159082edb.454.2020.11.24.15.48.39; Tue, 24 Nov 2020 15:49:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="X2o/ZcxE"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2403983AbgKXRqR (ORCPT + 99 others); Tue, 24 Nov 2020 12:46:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403979AbgKXRqR (ORCPT ); Tue, 24 Nov 2020 12:46:17 -0500 Received: from mail-vs1-xe44.google.com (mail-vs1-xe44.google.com [IPv6:2607:f8b0:4864:20::e44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE09AC0613D6 for ; Tue, 24 Nov 2020 09:46:15 -0800 (PST) Received: by mail-vs1-xe44.google.com with SMTP id m16so11542121vsl.8 for ; Tue, 24 Nov 2020 09:46:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Mep5g3jd3Wcro6wz5b9PghU5nLpdZLWg1PGCxkgwp3w=; b=X2o/ZcxEs4KlhZZWqNX+HZCTnBf5x/L6fV9FDjTOY/GFMTeC+8Ky9wvb/Nf8OfWUWI hqlAD2iIwvxuYcsVOVzC23Hu6ysGeREOWXyQma6bRhUTAt9XN6W82Jrk4tDsydvNjL+p VHKttUI7lJMGgp4LeK0pDdNbUPOqLnMWglorA= 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=Mep5g3jd3Wcro6wz5b9PghU5nLpdZLWg1PGCxkgwp3w=; b=Rt5Bpo4u3IhCezH1lz2ilTyvtr1dHeq0eNEs8NM/TcPAWGVUJqqseVtg2yyJdUF0+y oLuHm+FMo+Q2b8Ut8n7O9WErPM+GouIgzv380JfdrynmWEB6R7Fy/MRmeVFShUZvGUb2 YS1NbsIQMEJAGwPPaX9JyhZA6QXg0wmYKHKw05cg707BvgsoPTatOxqVPkn5R3OMry+6 g1IkHV1MmIFS1+8XAqGIU2Eba1t6Y+Lv2r7ynf9ciHPFS2xccEuEpVpezAMayapObnaV NcrEvbQcJGJYwygkK+SnWJJGEzZdJJSSwLn4c82HukvLzYFcjMsc9P+IpHpU+1nQm3ZG hDzQ== X-Gm-Message-State: AOAM533la/G47sA75tuO1fl41iGYdYdUsu7e0JwY93fXub34lhQH+Jl1 z/go1kunLkpTX2YLyiuFnCAhRl/CwRbsCw== X-Received: by 2002:a67:e9d0:: with SMTP id q16mr5202068vso.2.1606239974803; Tue, 24 Nov 2020 09:46:14 -0800 (PST) Received: from mail-vs1-f41.google.com (mail-vs1-f41.google.com. [209.85.217.41]) by smtp.gmail.com with ESMTPSA id n16sm1422121vsj.9.2020.11.24.09.46.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 Nov 2020 09:46:13 -0800 (PST) Received: by mail-vs1-f41.google.com with SMTP id r14so11521727vsa.13 for ; Tue, 24 Nov 2020 09:46:12 -0800 (PST) X-Received: by 2002:a05:6102:309a:: with SMTP id l26mr4989655vsb.4.1606239971784; Tue, 24 Nov 2020 09:46:11 -0800 (PST) MIME-Version: 1.0 References: <20201123160139.1.I2702919afc253e2a451bebc3b701b462b2d22344@changeid> <603c691f-3614-d87b-075a-0889e9ffc453@codeaurora.org> In-Reply-To: <603c691f-3614-d87b-075a-0889e9ffc453@codeaurora.org> From: Doug Anderson Date: Tue, 24 Nov 2020 09:46:00 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/3] irqchip: qcom-pdc: Fix phantom irq when changing between rising/falling To: Maulik Shah Cc: Linus Walleij , Marc Zyngier , Thomas Gleixner , Jason Cooper , Srinivas Ramana , Neeraj Upadhyay , Rajendra Nayak , "open list:GPIO SUBSYSTEM" , MSM , Bjorn Andersson , Stephen Boyd , Andy Gross , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, Nov 24, 2020 at 9:42 AM Maulik Shah wrote: > > Hi Linus, > > + * When we change types the PDC can give a phantom interrupt. > + * Clear it. Specifically the phantom shows up if a line is already > + * high and we change to rising or if a line is already low and we > + * change to falling but let's be consistent and clear it always. > + * > > Can you please hold this change. I am checking with HW folks if above > commented behaviour is expected/is valid case to set the irq type rising > edge when the line is already high. > > Will keep posting update here. > > Thanks, > Maulik Thanks for the update. I'm still going to post a v2 because I think patch #1 in the series should land and it seems nice to keep them together. I'll add a note to the patch indicating your request to wait for an ack before landing. -Doug