From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (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 4B23A3E3D93 for ; Tue, 6 Oct 2026 10:55:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791284154; cv=none; b=feriL/9fkoL/vdiQFDG5d9mr3b0x2iU8KCNxEGRz/iM07Tcvj8mRRuPtCFDR7Ous1rPrciNwJCg0ZohPOvw95XFzkcA2qXuNlbEjAqrKOnkbJ6ZxQ7YY1SI/Eg+DYhH2RWYKWJA69WNhxrjAjy8mJFwvFVzCpwrvM7D0Qspmwzw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791284154; c=relaxed/simple; bh=nYyVkBCg2CwXLA8eIMxYsFqjNvwtRaOOTx15eoWoIP0=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=FMiuyOUr1gwNi883hYn2LYRhmDdrrDtDPBLwHoe0wBFxsxSr7/oqy0JHYDQZmgaIE+PNXu59aTMV88hwy0xTP3j2qpID9hUXv0Z/fAsjdKkMqru/XA1zm0ThwrbBbKiFt/y1MhnB13aURW2t5hCw49SbgNUhjmYjm7EntVOR1r0= 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=EFYkD5Dl; arc=none smtp.client-ip=209.85.221.49 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="EFYkD5Dl" Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-48afe0081a6so208432f8f.2 for ; Tue, 06 Oct 2026 03:55:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1791284151; x=1791888951; 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=mNd4IDSXzGuSC+ps0NxiYBeNqXRgn5dUDXtsfXpigLA=; b=EFYkD5Dl0RKb8UGPv6PXl2ia1ndpg1Zbmrpu8MKYwii4zvSjnDNfdbRYV8mdzHkKpR +gvUlufAhONVTaBw2NJtFuD2TYiUrc8Ecj7MUXOtpwYJHUi9AcGYhEId5+ZTZWOf+pmr dZPi/LGt8a/6srfs1XJrM64BttBh48XeKQi44Xg2tSLTtskxVry5IZPZnFhqwLWELgkL QrZeoXdoiDTdPXmikwNiKXfq6OLXOXDEy74SusV/1hy09E2cB6kZ+bAg/mLrfWF3er6e DF2/77N3d4y1hTSkUfFZ60FX1Nz8v5Dn7Zg/LSPfSeTohs6+unq5ZcUn8MHybdu2CWJa yQhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791284151; x=1791888951; 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=mNd4IDSXzGuSC+ps0NxiYBeNqXRgn5dUDXtsfXpigLA=; b=i1MGlvZWIw1yHEGyryBOquHeXhWpTcEclwO7h33BpTnNGCkR7w8JYQgHAzBHpDaXY8 lxb1lrzgsXDfDfGWTfShz8crLtiEec/swLtpnfFkBOtLUrusOd2kj5kG4xuWihSr6zd6 atBs8w6twuRUh/lVwUzwsYPxTsvqbb3mCLkMa7UnvsGPExc23ELdqXum5YziTJ29fh72 Li6UkYi35SHGpsLttpI9IL45HeairWqk/Oa79eMZod/qeK7vH3PU1xj9fGMc7kxM+tlb SgUzJgAhG4iBHXnkI1mp9K2YUrZbKusI2Ubdw8A0jbyaHu4pl3bQPnLbNri9cVOLoF17 CBow== X-Forwarded-Encrypted: i=1; AKwUvByiM1Q/jruZozUOvDJTUxoGxGWGucbZ8YC6oZmHjOV7f49CZ/4unnQ0SiIoPpW3qKO92U2SXHE=@vger.kernel.org X-Gm-Message-State: AFq9FYKNE/FefJqALDG6BUUD8pkwW4tOxtgLGg1Yz3NXsw8JaVwKeLW9 Nnjxqp+ePoeAhUEtrse7WyUtafC+O/swdpJKMtHck0W+pWQVb10AGpEL X-Gm-Gg: AYBFou3YaYZPnjAM9ny6nCI7UFSyVmRQiI5CgEwSMDsMg4r+BiWbzHhIFxqOLY1ZjQO OZ4uhBj8tq/Bg65GR03dYxFQa41s/MnGeGwjVqEgzg/xxhvc0bpw2AZ7uVx5ULkhCjLlZmCXkkc DhlFSUPGJ2jYM8YTXB+jODwewCy0kDB3NuuSjFaROISOXILYBRTb/NOGu3om2LYd1Y7lrxVqoK2 NZ84Qsxq5rgCzjFmqIkmOBEPS5GRKk4ELg6qhPSdW4dKvzH70+TxEXZmbU0iSbsD9FSVLZkuYdT x0Th/1PEXrKuD4ZpdoLHYEOBled3rhI5vBtgnUsKf70Msl8YaQtHFxdKCAKhifHTIK0eaPFisXN jhf8bO4sBBQIG8bUGyzEMIuO9gQuIWzXODtvK+uOE3pIshy+Q92XTYSOe+hQquW/IAOb0qzENHG U0A/lfvqV/vqupTdyhoMzVrna1nmUHawZffs53j+UjAXG91s+FyPpdifIB7ofjsCSFALGssoe3V FBkZ6PHnT/H7+yX2fGS X-Received: by 2002:a5d:5c05:0:b0:487:21be:dcc6 with SMTP id ffacd0b85a97d-48c6d1b8771mr2274850f8f.21.1791284151274; Tue, 06 Oct 2026 03:55:51 -0700 (PDT) Received: from foxbook (bfj133.neoplus.adsl.tpnet.pl. [83.28.47.133]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48c6cd717f8sm2620092f8f.48.2026.10.06.03.55.50 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 06 Oct 2026 03:55:50 -0700 (PDT) Date: Tue, 6 Oct 2026 12:55:46 +0200 From: Michal Pecio To: Wen Xiong Cc: mathias.nyman@intel.com, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, wenxiong@us.ibm.com, Brian King , Samuel Mendoza-Jonas , Joel Stanley Subject: Re: [PATCH] xhci: Reset controller on xhci shutdown Message-ID: <20261006125546.10471489.michal.pecio@gmail.com> In-Reply-To: <55a53022d1c6f671a3ed549d8cf7cd1a@linux.ibm.com> References: <20261001222527.11742-1-wenxiong@linux.ibm.com> <20261002102931.3cb06009.michal.pecio@gmail.com> <561d22493c3d078b26f547dd8f6f6f46@linux.ibm.com> <20261002161828.365ff859.michal.pecio@gmail.com> <55a53022d1c6f671a3ed549d8cf7cd1a@linux.ibm.com> Precedence: bulk X-Mailing-List: stable@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 Mon, 05 Oct 2026 08:01:46 -0500, Wen Xiong wrote: > When executing "kexec -e", saw the error: > xhci_hcd 0005:01:00.0: Host halt failed. -110 That's interesting, because we call xhci_halt() in xhci_shutdown(). So the xHC should already be halted before the new kernel boots and then xhci_halt() should succeed immediately. It seems unlikely that anything restarts the xHC (or is there a FW involved?), so either this TI chip reacts badly to trying to halt it again or the first halt (befor kexec) already fails, or perhaps something is broken outside xhci_hcd. Are you able to capture the original kernel's dmesg (through serial, netconsole, etc) and see if the same "Host halt failed" is there? And if you enable dynamic debug before kexec, echo 'module xhci_hcd +p' >/proc/dynamic_debug/control what's printed by the debug message at the end of xhci_shutdown()? Do you also get errors from quirk_usb_handoff_xhci() by any chance? Regards, Michal