From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy1-f171.google.com (mail-dy1-f171.google.com [74.125.82.171]) (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 121C432D0C4 for ; Wed, 7 Jan 2026 09:52:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767779575; cv=none; b=W7ScyRVJAbrLBnyEiBua1A4UgoOvdt6x35dc2xTyOSgn/5D2XduKBJKY37m+syalFEmfJhtVFKjQEPVvNYJ2BU1n6BQ1GHNM5Fa9Oy8sIrnWGZo1UbOaag7hPe4PXf2yoXex+/EEce6rFkdQzfGymHKFtZZ9Nko0vkxzy6ds5Nc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767779575; c=relaxed/simple; bh=rvvOv0vv9H8q++Ltdf0WVIDOuGmNQfGsyInkVBB65VM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=W9XRxcxhZXxmfDC848G6RFkulnBbdMlLajSgEwFO80vQZmYZ/0s604RVlYWIhaP0Mo65VcNdlH8GQATcNfwqLiHX0Lnm361haE0Ip9GmlZit+pwxG5U4glDdpL45GsGuaf33fqzA2tc1Yw9V3bcEF8u7O9X7XALPWcXigUb5sPA= 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=WswTie/n; arc=none smtp.client-ip=74.125.82.171 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="WswTie/n" Received: by mail-dy1-f171.google.com with SMTP id 5a478bee46e88-2abf5900cd5so1342895eec.1 for ; Wed, 07 Jan 2026 01:52:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767779570; x=1768384370; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=rvvOv0vv9H8q++Ltdf0WVIDOuGmNQfGsyInkVBB65VM=; b=WswTie/n5RBFA0VsXfSj6Grz4pfH3N8bWz7h4XXYcQYM0vqU1QkjNe/l6SWrgFNX/H HqaQjv483NMUVuzWVxSwKLhasfeaF/eGNqEYH8mals3YX3Lj5fj8ubvcmykAx6hrRBlt sHSFw+yWhOdxMFDrtIvtpoUZc/tNO5+5jywWByOvTuEHuragievh59iIFtlwvtBuYZiY b7qJt16EnXBtugx8VgH+fb47WuJV7S1nATJ7Y3yua5IHepk1GkzvLEA/haDx7wMdCWZD E8j2hykGCKTWHFzHqpOzqTIF8ruDCe5I6xJMj+NP0f3xOEUVKnTIIOuilctYWHdJig7Y sANg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767779570; x=1768384370; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=rvvOv0vv9H8q++Ltdf0WVIDOuGmNQfGsyInkVBB65VM=; b=oC/YlFE9hmdsx5RfboC/KHtiIypKFtAP5/DUecFdvrCdXpLZxXTyNPtPn2qNG5Uzkm lU4nFv4tFAcYH2AwLJWtWyM03Hq2aJFTxetbC/3WL0/uSg8CfaJIbwAvP3ADrLiKMGiE 2s+LBxRzab99imM7d7PUeMy34yxNqIhMl6NoH8tTYLF1OYh0/MejVsJgX/SJm5/za/a5 He0CaWo84A01gnlMWLyfawRclN9G4xX48pDQfgd8CrWkt1m0LvwhHq19jNeAzGOE0Km9 Za5C2hHSy990iarBKB6FeYRtIMfHGLJXQHpvhsETZK3wBm+5ih4VRSPikduxF9qkHhIg suxQ== X-Forwarded-Encrypted: i=1; AJvYcCWILLDlSyt1KFC8FK3TuT9Lr1N1XGG/clEhWICrge0IU8D+fYR3wJ6lzjyWGcIsPNIQ7LiGbsusnS4oQqw=@vger.kernel.org X-Gm-Message-State: AOJu0YzN2+rYQ/hE/Wdmo7fS44uGoinytShwajd3DUpTPHgc89OW58N0 K3rM7l9DcxklUOtTivjDobYPGsCDujnYbWe3jCWkcYyCadZzqf5vNIQzx23JgD4Bo0lY6JARq/n Z5glud2GWQyvED56ZsTdgLFQ7NCtRJB0= X-Gm-Gg: AY/fxX5AXrCYxJtzvseGUutbbvs4qvk7BF7Nxw4m3MV0ludbNdstu3yfFUDul+N/l1m qMKC6isctm6Vnkixj8aw1eDoL7kQztJmgmPWoMSyaJpYFLqU9O3nmi0K7dJd/BQVd3fdQX6NlIR tFMQ/i8K/kHBberGP3suyf/16AmbuxNw5reMqumlWO28JteLUeL75RLivptKjjFd82J8JwL3KQe 4ENr766Ub9xfwh5fgVzxu4zuzwzOndIFoB68PhYZk40vNkKeKlNNA0VqxXiPPb1Uxhq0S4= X-Google-Smtp-Source: AGHT+IEsT6AYnql0T7zlCNvOahx8BTYyJ+IW0sH1UvnJzbYCCmPWp7Cct2vMxCYT86QC+/C8HxYvBejoGMBDAF+WblE= X-Received: by 2002:a05:7300:5781:b0:2ae:5e6b:dc41 with SMTP id 5a478bee46e88-2b17d21b748mr1497359eec.14.1767779570503; Wed, 07 Jan 2026 01:52:50 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20260103083232.9510-1-linux.amoon@gmail.com> <20260103083232.9510-4-linux.amoon@gmail.com> <6f30a01c-8fc4-4368-88ef-7c513c505515@kernel.org> In-Reply-To: <6f30a01c-8fc4-4368-88ef-7c513c505515@kernel.org> From: =?UTF-8?B?5byg5rC45rOi?= Date: Wed, 7 Jan 2026 17:52:38 +0800 X-Gm-Features: AQt7F2p0-kEhpv052gHNNvlDi9s6r7fu21_si4nAOG3q3nXtXMATV47Jwa2xpS8 Message-ID: Subject: Re: [PATCH v1 3/3] usb: typec: fusb302: Switch to threaded interrupt handler To: Hans de Goede Cc: Anand Moon , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Heikki Krogerus , Greg Kroah-Hartman , Sebastian Reichel , FUKAUMI Naoki , Nicolas Frattaroli , Cristian Ciocaltea , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/Rockchip SoC support" , "open list:ARM/Rockchip SoC support" , open list , "open list:USB TYPEC CLASS" Content-Type: text/plain; charset="UTF-8" > Still ideally we would solve this in another way then > switching to a threaded IRQ handler. > > As the commit message of the mei-vsc fix mentions > the root cause of these errors is typically an interrupt > chip driver which uses IRQF_NO_THREAD disabling the auto > threading of all interrupt handlers in RT mode. > > So the first question here would be to see if that flag is > used in the interrupt chip and if yes, is that flag really > necessary ? This is very similar to the issue addressed in commit 24b176d8827d ("drm/msm/dsi: Remove spurious IRQF_ONESHOT flag"). The IRQF_ONESHOT flag is preventing forced threading here. In irq_setup_forced_threading(), the conversion to threaded interrupts is explicitly skipped if any of the IRQF_NO_THREAD, IRQF_PERCPU, or IRQF_ONESHOT flags are present. In this case, IRQF_ONESHOT appears to be the reason. Regards, giraffesnn