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 3791C182D0 for ; Sun, 3 May 2026 05:17:56 +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=1777785477; cv=none; b=FNtNqXcj1j8RUL80K6b4mpO2rxwxMGp/hXg25zgD/h9qLrXNW+QpbEG7mpKgyKqOe29iPi68Ri4Oh7h+MENa82xk82P1n40qP4ERB1P7xEpjAibHPyUuIM0e+OjLfIkTX5v69G/jAQAKQyBztBREzH0YiFjTuxRlB4OM4H58euo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777785477; c=relaxed/simple; bh=37N6JFrKPnWTrSTAuqfErMeIjQF+zUvmHD5jsw5HCTY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=aorpYf/Hd4UcNebChDEWEauB2Fu0Gnv1FbvDQYu/W12qd/pqlVLbbPLuW971XmlxOyL6N4yw9ORUuAAcMU8rWyEP2oayFucg3AQVlY8M3w+XA1sC7tiMRy0co5HLHOQsrPSb3MqPwHHLiefnGAHihY3bUyH4LZfQjH9U+lGbrJM= 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=mtPuaKEw; 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="mtPuaKEw" Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-43d73352cf2so2767058f8f.1 for ; Sat, 02 May 2026 22:17:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1777785475; x=1778390275; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=37N6JFrKPnWTrSTAuqfErMeIjQF+zUvmHD5jsw5HCTY=; b=mtPuaKEwPq87DnW3m/+DtX6ACEgT/XYdMXFVXxVSVojJp28tu17ObTbap893JhBIKK uj6cYdx2q7Oy+A+Z9nEDTYul2bik2Q9fTqwDWumt4wjoYt7LZZP12ZrJZra0YgtpMPn7 bn59LA19gw0+8Ay4IAhI6aoaqomRBTz3Lrc2EoFUG+q2P2E7kWX4LDMdEMr414LARgGI CwVPxFwLK/BJlyUh/D01U4W4nouyphkpte7DU/qRRla0Inn9TXNvoXsmCVTKcRVSWwEt O7CjYfz7vha2y8dqwG90i/mUv7VIvQjhH6Tp3+12+0/VGdJq+DosPRHePBODIdODOd8C 0Fmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777785475; x=1778390275; h=content-transfer-encoding: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; bh=37N6JFrKPnWTrSTAuqfErMeIjQF+zUvmHD5jsw5HCTY=; b=OOz3+K6vkfGAYqwoIOHSEdPYVSUawmQ+FJdfqS/6rkhrxF3unmhafKjdyDy0HGCfNc rNLDjL9skwqvFM0z18pVx6yWTvl8gwexB3iuP0hs7dOnTiHEkCHMR5xprxYoeOGCjaHu cePFURD0h215oCf6rE2LoUjf1+Kb5mqPF4WnmPZ66tGbLKkq91I/RqVhDr0p1ER1Za6j 2GNIH4bcrQ9n7YcIdUKDob+XGeG/awKkHYVLB1NnyBXrM/u21w4tcxNxxIWpzego2REA KXZeqgl52bzhS/itQ6EIL+PrsDbmwCsm/dvFNJvlwjuY/PSU6buZ9NufvT20rIMHhU5I DPSA== X-Gm-Message-State: AOJu0YxLqYWz5cwjg/uecQMC4T7a9MOflwQwQ2W3XhAz5NlQNUi8lamX R8iaaXxXJiDZc39hbPhrmAFoMtQ2UdGAh4eEhmFnBtuF2k3Cxb9dNtf/ X-Gm-Gg: AeBDiesYvxpglUbvWQCoTLxiqFleqqAcRPIvSxEeZlgKK7ABb0UbKVFeyUJH5hKjrlf yfEMjhXohlWniZtPbWSXjeR2ndpvwswDEyTSWiiYC40GUHRMBhWwup9p+xmRRi+hM8srvkDQyNb Ys/OPSnfJB16v6gcYioYzjiERU/PhBL4mNvK3xzt1wsu6O1DJrgfE6CyzhYBYC1YUOhp1J2fh/+ UPnM5A/WvnEKztZIoi7NWnHjfbKVY1mUi0zICKx1uJ8g88b1/fRryAJB2/MV0K7jFa/zGZ2byjz LqMjFlOUPgQXiY3Fq9HGjFOUIQBFjVbYIlWR5wGtLRbigK8Vp98ALQwWiiDByFPkcHBSd7IdBuJ bO5RF1plRn9Jcfe7yWf7nMKMVm1NBCmf7m7v6J34jC4rcl9B+ztzW6gzYkUpirAVfe83g7ctbcd KIgg5LB9RavgCo3qf/8keBYHUE78R2Jrt5o84xDP3It2o25TWJUMdE7eng X-Received: by 2002:a05:6000:61e:b0:43d:4df5:3de with SMTP id ffacd0b85a97d-44bb65df980mr8599442f8f.31.1777785474469; Sat, 02 May 2026 22:17:54 -0700 (PDT) Received: from foxbook (bgt227.neoplus.adsl.tpnet.pl. [83.28.83.227]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-44a98b768fdsm15579737f8f.33.2026.05.02.22.17.52 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Sat, 02 May 2026 22:17:54 -0700 (PDT) Date: Sun, 3 May 2026 07:17:49 +0200 From: Michal Pecio To: Desnes Nunes Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, gregkh@linuxfoundation.org, mathias.nyman@intel.com, stable@vger.kernel.org Subject: Re: [PATCH RFT RFC] usb: xhci: Kill hosts with HCE or HSE on command timeout Message-ID: <20260503071749.6abda137.michal.pecio@gmail.com> In-Reply-To: References: <20260430014817.2006885-1-desnesn@redhat.com> <20260430104850.352bd946.michal.pecio@gmail.com> <20260430235453.2288c973.michal.pecio@gmail.com> <20260502114644.76e6b5a3.michal.pecio@gmail.com> <20260502235517.089ba5bf.michal.pecio@gmail.com> 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=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, 3 May 2026 00:36:27 -0300, Desnes Nunes wrote: > On Sat, May 2, 2026 at 6:55=E2=80=AFPM Michal Pecio wrote: > > On Sat, 2 May 2026 08:38:34 -0300, Desnes Nunes wrote: =20 > > > Kdump doesn't run and no vmcore is produced: =20 > > Is the kdump kernel not launched, or does it crash during boot? > > The latter would make sense if there is some problem with the code. =20 >=20 > Kdump kernel didn't launch at all, thus no vmcore was produced. Well, that's weird. But it seems you have serial console enabled so I guess you should know whether it fails to start or crashes. > > But I don't understand how patching xhci-hcd could possibly have > > any effect on the former. Does this new code execute at all? Does > > "kill the damn thing" ever appear in dmesg? =20 >=20 > Both kernels booted normally: the first one checking HSE after USBSTS > was logged on xhci_handle_command_timeout(), as well as this new code > checking for ring state or the HSE and HCE bits. > Since kdump didn't start, the message "kill the damn thing" never got > a chance to appear on crashkernel's dmesg. It could show on the main kernel before the panic is triggered, if the main kernel was patched too. Maybe they are the same kernel binary? I'm trying to come up with any conceivable theory how patching xhci-hcd could prevent the kdump kernel from loading. Still no idea... Regards, Michal