From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 7D55A376BC1 for ; Mon, 5 Oct 2026 08:42:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791189725; cv=none; b=LU7OFtWSveu5T8aB/pJuS6jzhoisL7V/kbpfEzPMZaRHQWGqkEk+xmA2dMU71OzKfTcnG7byvSdnc1HaQq3RKeLdVZlEMhoGNregWLO+uGMk5GkVnxXJe/IiY30wEub8ehjT5zJlgoeW2MMEB+fkHiVtT5RTQcLb1kpsG6RQkRk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791189725; c=relaxed/simple; bh=msAwu4mWXZYdO2+pyxL4A9X+iwdy11nTyja7ABo10Rg=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=jW+WizpOMnrwkcz3xHlmsENmnaGHsRvhhl+SrlcJozvaRjV9JFWBbpFCSLKxjodm0ZB2808CiRuv5MMyEtvsGMZjPm27b7jpkhWAAv4lSsHZBH1I/CfPo9LaG49a2C1OivmdeZpNj5bOnUTykIWxsuAopDp4lo6MJkSJnCd7im8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=n7ccmwLu; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="n7ccmwLu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 078281F000FF; Mon, 5 Oct 2026 08:42:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791189724; bh=XW7fdntxfiZTeRVoWAI/R5+/a4jfvLDlYs1JSsCs1YA=; h=Subject:To:Cc:From:Date; b=n7ccmwLuv+LZau+pM4o+jDoW+uT19p2crda3mGzAbgiRPQ6jmNdvmHMqVotbTCIh4 kFr5t41JIbkmLBhs/Dc68IW+wj9qZGLYw5dCd4j6ymSIPhgg4oU8y8pJqJAMzKilfp d1zb/vPJevedYcHIGQ3/L+GvF2m33Svld+c/VGdg= Subject: FAILED: patch "[PATCH] usb: ohci-spear: disable controller wakeup on removal" failed to apply to 6.12-stable tree To: mhun512@gmail.com,ae878000@gmail.com,gregkh@linuxfoundation.org,stable@kernel.org,stern@rowland.harvard.edu Cc: From: Date: Mon, 05 Oct 2026 10:42:00 +0200 Message-ID: <2026100500-embezzle-severity-ad71@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 6.12-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.12.y git checkout FETCH_HEAD git cherry-pick -x b1b0f8bdbbc891a4ee7f3b1a878c633e02b7bbeb # git commit -s git send-email --to '' --in-reply-to '2026100500-embezzle-severity-ad71@gregkh' --subject-prefix 'PATCH 6.12.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From b1b0f8bdbbc891a4ee7f3b1a878c633e02b7bbeb Mon Sep 17 00:00:00 2001 From: Myeonghun Pak Date: Mon, 14 Sep 2026 21:20:10 -0400 Subject: [PATCH] usb: ohci-spear: disable controller wakeup on removal Probe enables controller wakeup after the OHCI core marks controllers with RemoteWakeupConnected as wakeup-capable. Removal does not undo this, so the wakeup source can remain attached after driver unbind. Disable controller wakeup after removing the HCD. This issue was identified during our ongoing static-analysis research while reviewing kernel code. Fixes: a6eeeb9f45b5 ("USB: Update USB default wakeup settings") Cc: stable Assisted-by: LLM Co-developed-by: Ijae Kim Signed-off-by: Ijae Kim Signed-off-by: Myeonghun Pak Acked-by: Alan Stern Link: https://patch.msgid.link/20260915012011.61874-4-mhun512@gmail.com Signed-off-by: Greg Kroah-Hartman diff --git a/drivers/usb/host/ohci-spear.c b/drivers/usb/host/ohci-spear.c index 6843d7cb3f9f..5aeabb051265 100644 --- a/drivers/usb/host/ohci-spear.c +++ b/drivers/usb/host/ohci-spear.c @@ -103,6 +103,7 @@ static void spear_ohci_hcd_drv_remove(struct platform_device *pdev) struct spear_ohci *sohci_p = to_spear_ohci(hcd); usb_remove_hcd(hcd); + device_wakeup_disable(hcd->self.controller); clk_disable_unprepare(sohci_p->clk); usb_put_hcd(hcd);