Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp810017pxb; Thu, 19 Nov 2020 14:32:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzCq+/nOteNOoFQdAISR/2zXsT7ClORgDi5YPQOFAcASZloeaKcrS0C/lanKQI/Cfdyl8fd X-Received: by 2002:a17:906:5a8f:: with SMTP id l15mr30065302ejq.419.1605825120266; Thu, 19 Nov 2020 14:32:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605825120; cv=none; d=google.com; s=arc-20160816; b=d5VxFqXeESN5CEuzTvA5btPpYRfGgDllrJtywBpf0C8A3uvewd2NxPQEDqQHqy/tc4 SjvQCh7Tp534lk5HXOzHDtPonvDMCdyJ1ppfrVKAB9XoWSPoclUr1U+w6zIzdE9/tmST iByRO2PtMQWUouNVOkaz69XYjo8n0XILPI8wO2cttlYhp1JiS3ZqPNSVVGeRrcg54AZI VIp5KWpKxXq2asHx24d5YUFhr4EQny4vwaD5skTf1Nsszi/ix3oV1uIKDrMrd9TCiCKZ +UwvSIJfCoECz3balpBKP4UjINNhCGb3Fiyx2bPau9mpcUqnMDiwL6ZEkkxwe4VHcI/f MMWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=6vXYvOGIMb9iLXsT+5seGP0ZuIJc4ugDrs1kgiXZMZM=; b=GOzBoV+CHKL6K5eX3ouBVbKrEaZQcqNN8ZpD1hl6x7SyAqlM1uYJd/jlytvYRnmNpk FKtUs055jKztCraasQcupXOS4m95un+vv6gFHb6jjxus6S9xH8rZzaE5Hwc8uoL0WP1u fKhUQLR5lijPzx4WoK6dN0YWNxnj+8fPS9SivK/aLMNr7FlN1SvnrDkr9cGdcTc8jKX9 P1iSdUFX/68FoKIfEXnwgTRU33uT7IBiho606urUcjyrus+Vn9HILZ4q9d0NgvOAYHe5 ptTppvC7LuTuyN2q3kkpAGSmytj7Dg8eVlrCFch4Tz6Gr160TSdT0NHx+tEliXos6/vu c0aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=D7y519Sw; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z9si612173ejg.316.2020.11.19.14.31.36; Thu, 19 Nov 2020 14:32:00 -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=@kernel.org header.s=default header.b=D7y519Sw; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726481AbgKSW1o (ORCPT + 99 others); Thu, 19 Nov 2020 17:27:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:60242 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725877AbgKSW1o (ORCPT ); Thu, 19 Nov 2020 17:27:44 -0500 Received: from localhost (129.sub-72-107-112.myvzw.com [72.107.112.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1450B208FE; Thu, 19 Nov 2020 22:27:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605824863; bh=yNi3coEAq9lkPw1fyD83ieN+fg9nmfHvLa713q90lXM=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=D7y519SwSUYj4kBqlo/hHDLK0XMzsD3Ll8iEGZVA2o+iPBUCocWIPeBs7DFiXqF8m oz+CT1tHHAVNwYxi6hej90wsELCc5lxZ5JkrOGLUnJWTDr72CPVV0PZsdlLzlEpC5Y 7cMfxsIevZj827CyEFQkL4FaROYJouDn94+Z6wWA= Date: Thu, 19 Nov 2020 16:27:41 -0600 From: Bjorn Helgaas To: "Raj, Ashok" Cc: Lukas Wunner , linux-pci@vger.kernel.org, Bjorn Helgaas , Sathyanarayanan Kuppuswamy , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] pci: pciehp: Handle MRL interrupts to enable slot for hotplug. Message-ID: <20201119222741.GA206150@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201119220807.GB102444@otc-nc-03> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ashok, When you update this patch, can you run "git log --oneline drivers/pci/hotplug/pciehp*" and make yours match? It is a severe character defect of mine, but seeing subject lines that are obviously different than the convention is a disincentive to look at the patch. On Thu, Nov 19, 2020 at 02:08:07PM -0800, Raj, Ashok wrote: > On Thu, Nov 19, 2020 at 08:51:20AM +0100, Lukas Wunner wrote: > > Hi Ashok, > > > > my sincere apologies for the delay. > > No worries.. > > > > > On Fri, Sep 25, 2020 at 04:01:38PM -0700, Ashok Raj wrote: > > > When Mechanical Retention Lock (MRL) is present, Linux doesn't process > > > those change events. > > > > > > The following changes need to be enabled when MRL is present. > > > > > > 1. Subscribe to MRL change events in SlotControl. > > > 2. When MRL is closed, > > > - If there is no ATTN button, then POWER on the slot. > > > - If there is ATTN button, and an MRL event pending, ignore > > > Presence Detect. Since we want ATTN button to drive the > > > hotplug event.