From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.11 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796230186; b=o4Nc3CRUvACJE4pLmN22iytyp+uR38Im3ykFbIcNYwmcHAivJAmWYeFhFqkwwg5NN3mP IErzIdNt3Nbn9nkLjZsVegiaXAn0OE7b/Y5IjJrahNwJiiKviA2jBfAmzPO3D4iAedwRx wBSJbSdRur7q84MhnQnCpK028bbZk7xsOiJtNny1fMfbFge/WTVVC3gh8iawE5hZa3ncP nkEHaQrpSUJDtUmdkqtmxZzgV4RTEwYFWB+HKJP5qYW+zWTG/kU1uRVuDmR6dHZidEeSl tpsNRj/tKxN3gtjN0+dGNsAXJWMVA7ut/TFTae1rq0dHxV5Wrz6GI/3F/pcTbf8qlaA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796230186; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Message-ID:Date: MIME-Version:User-Agent:Subject:To:Cc:References:Content-Language: From:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=kbD4YolacKX9bmTW2kdkykGB8mMraAyvaWadW0+0rco=; b=DlX3ihR3mnpbtyBpBQVI2FV30TmWFTNGKFmxR372E9HvdXUqrByGw8zC8gfDDiDWS8W7 3p8ooxSi9n3r7/CaMPb7dDW5nmspqCX6Vtk8h+ALtGdwz4GhtBpJbxaTegBd4+0a/k3tj 9jlNsq3H4ALwJ54xQ/6pbygLU/XKhEiKEe0IwdbgI25ZM7Ld2d3P8zFLqzDkBOCF80M+H 3dqHs4ZW4yOA5hjJXBfcjI7NoRWQQA2b2GZin2dUW7bmDp6mqw8rk0/U/847VFbCY1bDR 4RXiXnlnlqUd/j9tLJnb9ychlEHntWFqLU4/DZmXPdwyfDcLeCDa2Vb15eBwdMBx42w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=SNA+pMUf; arc=none smtp.remote-ip=198.175.65.11 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D2AD7606A323; Wed, 2 Dec 2026 16:49:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D2AD7606A323 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=SNA+pMUf DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796230185; x=1827766185; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=kbD4YolacKX9bmTW2kdkykGB8mMraAyvaWadW0+0rco=; b=SNA+pMUfa/JaufF4J0TWkDsS2UZhpeY2wYWEio1gDV5v4W0oemnuxtYk U3e0itOFRuJYRjPonU82wuXAP9gfChF69W4JUXSeUOk3k9MZ70PKL3QGb okqFzvzustXlnkR1Rcc0TSEVVjFpYM4MiHZu7OoqhRmwib+bUtGFwIHxQ cRwTyVcj4Qca9HBwiEYDuIArbkJwR8OIb/2GvyOh73l0lzhPFrIoORzig NiPJfwws81SAm2b0beMQp7QwcoFwOmVznZXYGoDONSNuB0NMgjZ+fB8Tm PVI5P3gzojuZ1sBT8AKTNaWWtmdjdEGtKxMe6i3lgLQJST/uE79+X4vzm Q==; X-CSE-ConnectionGUID: ugaMUF3MQw2WvI0Jol2C+A== X-CSE-MsgGUID: K3yP+GI/QOeufHopU/XjlQ== X-IronPort-AV: E=McAfee;i="6800,10657,11984"; a="5059360" X-IronPort-AV: E=Sophos;i="6.27,247,1787036400"; d="scan'208";a="5059360" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2026 08:49:44 -0800 X-CSE-ConnectionGUID: 6VVC+TIZTVqVbWV5RhRZuA== X-CSE-MsgGUID: gK9SnnE2RmyruNepWzBtyg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,247,1787036400"; d="scan'208";a="13811462" Received: from skuppusw-desk1.jf.intel.com (HELO [10.24.80.125]) ([10.24.80.125]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2026 08:49:43 -0800 Message-ID: <51cf33f1-d25e-4525-b597-732c1fad81bd@linux.intel.com> Date: Wed, 2 Dec 2026 08:49:43 -0800 X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5] PCI/PME: Resume Catlow Lake Root Ports on PME with PME Status clear To: Bjorn Helgaas Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H . Peter Anvin" , Mika Westerberg , "Rafael J . Wysocki" , linux-pci@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Wunner , "bhelgaas@google.com" References: <20261103193136.2410148-1-sathyanarayanan.kuppuswamy@linux.intel.com> Content-Language: en-US From: Kuppuswamy Sathyanarayanan In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Bjorn, Gentle ping on this one. It has Rafael's Acked-by and Lukas's Reviewed-by, and there are no open comments. Could you consider it for v7.5? On 11/16/26 08:43, Lukas Wunner wrote: > On Tue, Nov 03, 2026 at 11:31:36AM -0800, Kuppuswamy Sathyanarayanan wrote: >> Intel Catlow Lake PCH Root Ports do not set PME Status in the Root >> Status register when they generate a PME for their own hotplug event. >> The PME interrupt itself is delivered. PMEs from devices below the Root >> Port are reported correctly. >> >> PME and hotplug share the same interrupt. When a hotplug Root Port >> runtime suspends to D3hot, pciehp disables hotplug interrupts and relies >> on PME to resume the Port. On a hot-add the Port signals PME, but Root >> Status stays clear. pcie_pme_irq() then returns IRQ_NONE. pciehp_isr() >> also returns IRQ_NONE because hotplug interrupts are disabled. The Port >> stays in D3hot and the new device is never enumerated. >> >> Mark the affected Root Ports with a new PCI_DEV_FLAGS_PME_UNRELIABLE >> flag. If such a Port interrupts while not in D0 and PME Status is >> clear, pcie_pme_irq() resumes the Port. pciehp re-enables hotplug >> interrupts on runtime resume, and pciehp_check_presence() finds the new >> device. pciehp itself is unchanged. > [...] >> Suggested-by: Lukas Wunner >> Link: https://lore.kernel.org/linux-pci/ara-_IPXV_i90if1@wunner.de/ >> Signed-off-by: Kuppuswamy Sathyanarayanan > > Reviewed-by: Lukas Wunner -- Sathyanarayanan Kuppuswamy Linux Kernel Developer