From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0619149EC5C for ; Thu, 15 Oct 2026 06:57:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792047444; cv=none; b=obbiZieO+hZzwgtfvD2sNPzpK20OBFJPJd9QoN/BoaQyXHM0JclRNBzU0L3x3mqyeqc00IA+DVWF0IH/UW9tHzNe3v75lLIq+uMLdB5GQgZ14+untI3wjqJdmLiGaKQS4oJUk6TNZZG3YP0PeQAzHFVOre0zlCG3qTeRwDUhy8w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792047444; c=relaxed/simple; bh=edDdu0m1Tays1tEmbQaqGjg3SKbY2zUZEO/enKdLJNA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UW1l31Z2jEJs3596kHki/vU183JLWlTfsjk2geREB83nQwOa753zdoAQgoJQ7Brhbp8sdl53lQsD7qtJGGe3cRkE58Y6tQOdcXjVXYz5xHqVa1WxipCod2UaWknbohbHdCGRLzuhR+dJCqz95QEJaDKLSAGtmXaFm4J/fUwK3go= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=E2t9tEMQ; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="E2t9tEMQ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1792047436; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PlndOUpPD0rIHOGOOB7+cfhvzEcigQMJ8mrT3merEI0=; b=E2t9tEMQfn//HG4+aPHPsSJrWTFUb8akX4FNJ9eMTW/8dvMPw9PO4xbc5a8d3WgZHKKnTM IjFSRLvPMwvPW+k64io8vy2O1Q0gT/EjNd1WZCeHRmvfaGmkNi+HtrGj4d/k32BgoSEKrx UTY+yNf/98+niZio8TFBQRByLczz0UE= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-177-zjakPm4AMKSwoTffPaeZCA-1; Thu, 15 Oct 2026 06:57:11 +0000 X-MC-Unique: zjakPm4AMKSwoTffPaeZCA-1 X-Mimecast-MFC-AGG-ID: zjakPm4AMKSwoTffPaeZCA_1792047429 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 3B30B1956071; Thu, 15 Oct 2026 06:57:08 +0000 (UTC) Received: from jtornosm-thinkpadp1gen7.rmtes.csb (headnet03.pony-001.prod.iad2.dc.redhat.com [10.2.32.114]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id B26353000723; Thu, 15 Oct 2026 06:57:02 +0000 (UTC) From: Jose Ignacio Tornos Martinez To: helgaas@kernel.org Cc: alex@shazbot.org, ath11k@lists.infradead.org, ath12k@lists.infradead.org, bhelgaas@google.com, jgg@ziepe.ca, jjohnson@kernel.org, johannes@sipsolutions.net, jtornosm@redhat.com, kevin.tian@intel.com, kvm@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-wireless@vger.kernel.org, mani@kernel.org, skolothumtho@nvidia.com, yishaih@nvidia.com Subject: Re: [PATCH 4/7] ath11k: add PCIe link recovery retry Date: Thu, 15 Oct 2026 08:57:00 +0200 Message-ID: <20261015065700.120184-1-jtornosm@redhat.com> In-Reply-To: <20261014165829.GA1636877@bhelgaas> References: <20261014165829.GA1636877@bhelgaas> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 Hi Bjorn, > Link down is a PCIe reset of the endpoint, which should clear all > PCIe-specific state, e.g., BAR values. Is that restored somewhere? PCIE_SOC_GLOBAL_RESET is a device-internal SoC reset, not a PCIe fundamental reset. The link drops transiently but PCI configuration space (including BARs) survives. Only a device-specific window register needs restoration, handled by ath11k_pci_restore_window() right after. Same pattern as ath12k. Thanks Best regards Jose Ignacio