From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 40E7830AABE for ; Wed, 20 May 2026 21:01:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779310874; cv=none; b=aGG+r1wro5cWigGVY/qqs7BdsRoXnoOXYsTnxSKr6vTOMItsLpoEV0L4MRJaylh242qYSeXzkiQVoRPA8HzHWhz3g8lXlFjogo/v1NN4gWKG/EYvRVcelp1jdAKtMXMfFCBbs+laGYvA1BZ+onozkQLV102KqfM98uWmK/x5hPY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779310874; c=relaxed/simple; bh=Ut4MVfPItw5+L3CfrWuazydvYIZQOlZKotmRfjX7Qzs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=KINqDtwirL2zIWv2V+tIz9miVvY2yzcgy+GlnHs8ePm2boO9SpjCL9aZjYnOxCM4lgbAA7MdGq1RA3Uc/YPhZj0f8YprQh05b3IWsroRmq48E+IPpEkO51SM9JqWPK3rbyGM6hLfl7tgNbBTqMH9Td+tyn8mVa4WgeotZVZetKc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Lzf5Vffj; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Lzf5Vffj" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1779310872; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v9naQ89cY4pQ/7RwTVxw5SYdLZz0THDHbZBMU5d/fMY=; b=Lzf5VffjE3U9pSBH5qYpM8/fHg7QdAcSGHdE+q/8tiXshYKHLwZSmqiezZhh5A8DjG3aF8 sQxAY0vLpQSRKtsrFv1uFLNMejkah0UOb3KN33zQ4GyBIsuaaffpZXcIzKEvRrE2rFqdyT lfiNzeKGxGPe/zOb+q/Zliq52XRa+Vc= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-591-JLNdvWNKPyeo2y3n-bNvQw-1; Wed, 20 May 2026 17:01:06 -0400 X-MC-Unique: JLNdvWNKPyeo2y3n-bNvQw-1 X-Mimecast-MFC-AGG-ID: JLNdvWNKPyeo2y3n-bNvQw_1779310864 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id B0D2A180061D; Wed, 20 May 2026 21:01:03 +0000 (UTC) Received: from [10.22.64.248] (unknown [10.22.64.248]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 684DF1956053; Wed, 20 May 2026 21:01:01 +0000 (UTC) Message-ID: Date: Wed, 20 May 2026 17:01:00 -0400 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64/entry: Don't disable preemption in debug_exception_enter() with RT kernel To: Sebastian Andrzej Siewior Cc: Catalin Marinas , Will Deacon , Mark Rutland , Clark Williams , Steven Rostedt , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rt-devel@lists.linux.dev References: <20260519222524.886454-1-longman@redhat.com> <20260520061920.XCqBHe0x@linutronix.de> Content-Language: en-US From: Waiman Long In-Reply-To: <20260520061920.XCqBHe0x@linutronix.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 On 5/20/26 2:19 AM, Sebastian Andrzej Siewior wrote: > On 2026-05-19 18:25:24 [-0400], Waiman Long wrote: >> Commit d8bb6718c4db ("arm64: Make debug exception handlers visible from >> RCU") introduces debug_exception_enter() and debug_exception_exit() >> where preemption is explicitly disabled. With a PREEMPT_RT debug kernel, >> the following bug report can happen. > … > > What kernel is this? I have backport (which is being tested) for v6.6 > and v6.12, the patches are from v6.17-rc1. The kernel backtrace is produced using the latest v7.1-rc4 kernel. There are a number of changes to the debug_exception_enter() and debug_exception_exit() functions over the years, but the preemption disable code remains since its introduction in v5.3. BTW, what v6.17-rc1 patches are you talking about? -Longman