From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.54 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796411207; b=0T7RsHo04glgEGPc5xhv3tf+wlwuV2zKrByjlPr8SDculxddrsh9qLuLT4T1s3p3kZXd l99y7YOSCQY9wbc9eSGSwp+QI1eKWQW0L2SJ3dBZiwFgP9/lgvk0zbUBFbah5Tq5XjgKo YU3+YhvD91bqvbPaQbI0OfDK4UYwBXejNDLrUjPFxX6BFTt8Dc9f52E5UYZSoCuX6XkI2 Md5lvNulQvfuB/r/e/nGj+eeOb+/hG8yhdveg9GoU0hZhZR7aFBHw5+Exhd5Zi9KdTOdD 5fnyrESgpLWWPuntcdf33BqPjXXouK1PI5odyqL/Z2NtM3HIQRCMc8A2BWHzyi8cMrw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796411207; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; bh=UAC0/P7uJLwbh8/pJIyvKOB8QBEyof6Z7m7K+NaeOVo=; b=vTNA4uP+f+d7L33xMr+95DmOYxsoW4gu9KeCLHiKzX/eKoFXVXnQf1J6Exm74kbHuJQL rZvfFCnvWdObFDcWoOCRjPPB2Ug0Q//IBegCJ7CajHLmd/8S/VnfUNjI3I+y7tkj8EdM2 xCl7hjwQ/8GK1nxn60+iCzOJIOIXsIG/BrTvF+9HRD4vgJ6gukg2IQ2MsCKYjYMmzE7BH e5iVpWB6iXedjSrniCjuWcRhSCV5rnsnnkwgF27Akw7fG49CmMKGPw8dF0J2eU0vAaYFQ qq704AkGa77fhCYAMQF3Qt6mV0/9EEgvyP8q6ZfR7a5mcTO4vdTBfn+crBZ1u09DX7w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=ztbAeFGk; arc=none smtp.remote-ip=209.85.221.54 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77449606A32C for ; Fri, 4 Dec 2026 19:06:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 77449606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=ztbAeFGk Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-48dfc0421d9so1117483f8f.1 for ; Fri, 04 Dec 2026 11:06:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796411206; x=1797016006; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=UAC0/P7uJLwbh8/pJIyvKOB8QBEyof6Z7m7K+NaeOVo=; b=ztbAeFGknF9gtY3DiQADsxsk1oigOoql0oSRhnkZkmQ4yPRGXc6dbj0EMakUG9NAt7 qdAQoobDiNViF1petWn1MUCt3lL4vQDBYi+PuzxlMiMKXDmLPMaZXCy5B+CwgnAP2RWd bJfh56jzBQOHG9SIG4B6whg5akrW6f/u24rVe2+xZk9R+P38SSeR0HzYLk2PIvQGjRc0 SGBmBRs1x68IlzNOsgrAXi5uZJR1yjGdAH26lPWJiLIXa46DJzDWfIldTOp4v/0bQUIQ 5Fu21ORQOJENNDyiauss/nKCBT6h4oMnR5Mf7gJzxjscSh3hTh6wMAClezzGOGQjAFO1 y3pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796411206; x=1797016006; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=UAC0/P7uJLwbh8/pJIyvKOB8QBEyof6Z7m7K+NaeOVo=; b=fCtd+dhi7ug0igHQ6wYIR2An1OhwdTfPR2zyM5Ok7yR2qQsfQlGa2XlTZh+4L4Aodv SimXPJcFEiRq/9k7QAW3UVMGjlC4xBS8rtbUX5g49PMnH0fZ4V8dHFyKVki+h82QRnuH V6EH2LTSAdR4ucc6o+PUMfNMHgNgCHNbO7B5a0rUjRCvw+o/thc3Fx13qCcCl+IPnA5c Q+5sGFESimCvk3rhLPM3qIfU2pSfVz/2NczOUANYVSs9PkTQuAr6lFJJH4VeQdnoLcqJ kY72vZwxD4pCJcUCzo+WmOFVxyRXaje0il2Q6ZAIydEx8ArvjnIW/IL+nOKw04r/sura DM7A== X-Forwarded-Encrypted: i=1; AL+hErFIliGxlFXML6IoUSQ2cDEPgP2zZoWBt6rav2XztanDnPFHiNdsu78BgJW0Ztvbc5/YxYgIb4ovTtpNRdQ=@vger.kernel.org X-Gm-Message-State: AB4q+uG7ZXXnnO+BHgxVQnWHL4UOzzfQhHWzZP96Q1vZuEtf4VmyUxl0 hOMew1Q7UxWFM11FhqWM85Q/D7XzD7DoDIIqf/Zu0o4V24IfLSAUtLNb X-Gm-Gg: AZFdTZc1baOQSsFSJEfrZ2ckHi5OndLwgBSvvI5sy0F05byf70goqFw+DD3EyyKpuIS 56yRtUIHedkTdGi41rrPsAIl4fZXEICYpVYPhwGtGepL/hPWoGHQqbjvtARzfykxENejhOYsrsQ UohxpSCqtARCqZ+ekhOPm0t5av5M/X8RsXOK/xtsGForyAldkHn+O/K9eJP46eNDiUKMCIuojnA zTlq4tVieESrnT088CRkS9kjAIo0zXAyZmmMQEFFQJbVhiu4d0avxMjFS6MEZyR/EICbFBjgOsP rD7N7+VOs8DJECMPZgNGikJM6KBiw0u53bbc0qum2tWI9QXOHS+R5eUPFmGIvDFQs9iVx0ZmUKF 8bhHqsVbPUAY4hxA1Oe/5bhIzG2DHMsWuAHTsCGUYhaw3EAWBQJT8rxKlTicf2ojdGZuwoMqxjC bs9IABRp4zTar0ZzjtIUcHvU9aqKgpaUR9KWgx5NFX/UBDvFON7mzt5e1oodRQSU/CI+gE1X5g2 N1I1zRYfLDXuMCfzcg8jXbvZjrHx36F3aG9w+JEkspwcoWvgQsfSDzu4Fm0XuoHb06QzjTTuC00 DQj/a6cGGpQUkTjnRMFir1ZrGExN5aa9A4f7/la3tiJapXtHPxOR75Cg8+E1YkFcFe1lJw== X-Received: by 2002:a05:6000:2085:b0:4ae:e824:1fa8 with SMTP id ffacd0b85a97d-4d1e8db7b23mr6180472f8f.9.1796411205637; Fri, 04 Dec 2026 11:06:45 -0800 (PST) Received: from gmail.com (mob-194-230-144-43.cgn.sunrise.net. [194.230.144.43]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4d174d08d42sm6352196f8f.55.2026.12.04.11.06.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 11:06:45 -0800 (PST) Date: Fri, 4 Dec 2026 20:06:43 +0100 From: Vaibhav Gupta To: Weidong Wang Cc: Bjorn Helgaas , Damien Le Moal , Niklas Cassel , linux-ide@vger.kernel.org, Philipp Stanner , Bjorn Helgaas , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] ata: libata-core: Do not use pcim_enable_device() on PCI resume Message-ID: References: <20261203161435.GA814283@bhelgaas> <20261203163655.312310-1-weidongw@illinois.edu> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20261203163655.312310-1-weidongw@illinois.edu> On Thu, Dec 03, 2026 at 10:36:55AM -0600, Weidong Wang wrote: > On Thu, Dec 03, 2026 at 10:14:35AM -0600, Bjorn Helgaas wrote: > > I think a better fix would be to remove ata_pci_device_do_resume() and > > a lot of the related PCI power management completely. Most of that > > should be done by the PCI core itself, without involving the drivers. > > Thanks Bjorn, and thanks Niklas for the offer to help. Moving libata > to generic power management sounds like the better fix. It touches > most of the PCI ATA drivers, and without PATA hardware to test on I > don't think I can do it justice, so I'll leave it to someone who can > test it rather than send a v2 of this one. > > Weidong Hello Bjorn and Weidong! Thanks for the cc Bjorn! Weidong, thanks for the patch. As Bjorn mentioned above, I tried to move ata drivers to generic PM but the blocker was testing. One good starting point would be to test my patches on a VM via QEMU device. If you would like to, you can do that testing. Vaibhav