From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3157330F81A for ; Tue, 18 Aug 2026 22:14:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787091286; cv=none; b=Rv7WfOzqGg3DybXl9trmT/rGDS6mCKJbXonptWEOAWV6bQegTONxGWpPX6gFf1uQP4pjv87kqS5DvekAu7BkjAVY5J4Xy5dWtjLfd4i+L0UlFKNK9hq5Yb8M/gQkP0qQBtbN6XIotcNWOoUdyCZrX9Co2sAUOjbkTMhuVCE34RA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787091286; c=relaxed/simple; bh=+/H+wBy1+ETyZpr5acESYNGEUWdWsdU4YXrENI7QCgQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=fWiIP1KLIr5pGZx8k101oxR94VBbhUGFIxYuZ9cAPSBiPzdB15RBfnpTwnb5BuFd0lzL5KiTEarEN5/y0K4xcyUuES+9U1A0OoN7SZNpCbHqJARMSTWLSkQtyrMfRSU4Ph9K3fFQtd0Wv9P2yudprHO23MnM1W6A+JjJvT5uyEc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=HuY9p5Zj; arc=none smtp.client-ip=209.85.221.48 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.b="HuY9p5Zj" Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-480033bdcf4so148015f8f.2 for ; Tue, 18 Aug 2026 15:14:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787091283; x=1787696083; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=efM3F+wFbP0mAVU02OW9oAVJkwM8FLNE+I19WeQALlE=; b=HuY9p5Zj23pcNkb9huJiePbYawpN0OU3jt9HT7QCfyGaB+I0V7Buy19La+pBAVqBDM eyrkwrePD1b3mo8AC9y9WBweVs/2Hz5LOQOEBD0eOTKZwZ9qKfCKGiz12M0qrpjFZIBq hxQylH0GyBH1IAwDz0AtmTDg1w+re60HDL3AsKs8qj/ERH7yKqAfW5K4mVT5bwro3cYi bT24+QtnvFuJzmzZ8dp879zAW7tXxiL8dfcSxDZ5Pw4/r1pZD1OeJiQvx8wuxDVTwfr9 sKAfqg6Dg+o2OFx+tHifLwxCvneyAom554txle2iwtaviSb5mRIlHAvoqPKk2Vmmrfjf sWcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787091283; x=1787696083; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to: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=efM3F+wFbP0mAVU02OW9oAVJkwM8FLNE+I19WeQALlE=; b=dEO/CUK6TAG8dgUYJEQRbHhyLksxccr2XY3fJ6tFrv2GbRKW8vKmxQljV7UMak9GqX xrts50a2/1tOKGoPwvwy7oiu3GokRkH4KrH7aa89a2cqhH5WwcKU5SXyLXnYbqpOUrgX hxhar+TKW4z78w8knR823LuIHwu7Hnwd/v/6Z0stz0GSOn3Yd3tpD2azoEl4Vdk7WZpu VbtVyLlwDBfT6+H2QAOIGfBtZHYtRznvX5oaFjtJLKlWoy0jizwXoTnrbZtyjmEFcLjI vJdURi8WB0HXjkwqptJ3OXluoIl5AVBOA1SrgA7hw7CqFFsgNx6zzjtU5UexNXunC881 gonw== X-Forwarded-Encrypted: i=1; AHgh+Ro3cC89zCccROsy8Igy2d6KVHCeaYp4tu5gdMGqEUwuSzesrFGVPOhZE4/jU7qRJVFqcZMjYoElx0YQ5wg=@vger.kernel.org X-Gm-Message-State: AOJu0Yx9N6HEC+Yc+dfsUOlrKEYso2mD9/epeSHC1rzOAYxWJbNCy/Oi B5nsIvxSQEsmbNl810fiQa1fgeQbudtDUpWSnodkDryElqq6vvMCViXZ X-Gm-Gg: AR+sD104i78EbYmN5SxyHyt+bV5QMbpcscY9Y4QjT812Qj7Otqc3u3IKbK0HEe3Yx+u 6unDy7xWCDjBDVfgIOy3Fefz+ZvH2I4i8WoVXDmcl9Gtxba/tCbZ0wLKwTGiq+YaAt0kXwwuVaJ 1cTC6G4uVasBiQ8HD9g2pLSliyx6fd1WLg1EPMslL9csYMFxQmn65BqWpXW9RQguJiv/F3ch9DE Rtc61Ggj33T/qCKpSktdsSo+HORA3n5ExEerAL0DvqK6yyDAA/kmtMOyVTSDTgeU73TRW2hmdX0 ZREnOeaDDsN0JNZUMS2Iy+jQl7EzqyYWVkzSG4NBZB0i3ykslSc7J8zhE3A/6Y9BX8bNNC4923M cWXTzBsA7IgsuUmYMXBbr2Ma/c/qLsimZX1KGd+to6Sb++GzTrfKWYkIEnzBZ2JyGQnzYBWcz8i l+roHOzqWu5ZuPHFoqd/rZGhF/mEobdy0rQVM6h4GP+L6gyi28ii+qKLpK3jAnPNICV0sf5i5tc X+JyA== X-Received: by 2002:adf:e18a:0:b0:481:56ec:b422 with SMTP id ffacd0b85a97d-482b07d6433mr2245539f8f.9.1787091283389; Tue, 18 Aug 2026 15:14:43 -0700 (PDT) Received: from foxbook (bfg7.neoplus.adsl.tpnet.pl. [83.28.44.7]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-482b1450e54sm429660f8f.11.2026.08.18.15.14.42 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 18 Aug 2026 15:14:43 -0700 (PDT) Date: Wed, 19 Aug 2026 00:15:11 +0200 From: Michal Pecio To: Mario Limonciello Cc: Rishabh Jain , Mathias Nyman , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] usb: pci-quirks: always assert xHCI OS ownership Message-ID: <20260819001511.45b3621b.michal.pecio@gmail.com> In-Reply-To: <2d13e2ae-f5da-4951-bbe4-be7bb0b296cf@kernel.org> References: <20260815014534.77850-1-rishabh.jain1198@gmail.com> <69fdc442-a4f2-42e0-80f6-6b35cbc207bf@kernel.org> <20260816220306.64c615f2.michal.pecio@gmail.com> <2d13e2ae-f5da-4951-bbe4-be7bb0b296cf@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 16 Aug 2026 16:00:47 -0500, Mario Limonciello wrote: > On 8/16/26 15:03, Michal Pecio wrote: > > Not sure if this has anything to do with PROM21, or if some BIOS > > is just trying to use the xHC at resume because it's permitted to. > > Then it makes too many changes for Restore State to still work. > > > > Potentially, such bugs may have happened and been left unsolved or > > "solved" with RESET_ON_RESUME quirks and other hacks. > > What do you think about making this a series with each of those > quirks dropped one-by-one? The head patch (a variation of this one) > could go to stable and the rest of the commits dropping those can go > to linux-next. Hard to tell. All we have is a wild theory. I couldn't even test what happens when the BIOS claims an unclaimed xHC during resume from S3, because my BIOS doesn't do that even when I clear the "OS owned" bit before suspending. Those quirks may be wrong in the sense that they weren't specific to the particular PCI IDs, but to some particular buggy BIOSes or kernels in the past. Maybe those problems don't exist, maybe they still do. I have completely disabled RESET_ON_RESUME on my test system with no apparent ill efects so far. OTOH, I tried disabling the "broken streams (UAS)" quirk on ASM1042. While the kernel crash which those chips used to cause has been fixed long ago, it turns out they just don't work correctly (Set TR Deq is a No-Op with streams). So I'm not rushing to remove this quirk. Regards, Michal