From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E8A34392828; Mon, 2 Mar 2026 10:23:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772446995; cv=none; b=hyycsdnjqOU/pnbuH8R8xLulYiLcuN/9vyR0WEUf0wEWsuX+c0t7xn3bUwMqEUVpdiE/eUKbFinsmx+3IDOEQMWBX0tQ/86xKbk2tlrq/CO9ksUZfASTB2nCFP+ggtEogdGkV88cxItHWoHPz+PX+M052tXsXnpBc3KFg0KDjwg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772446995; c=relaxed/simple; bh=JXsDSUzXfXJFyTXVsQfkE08VwngEw2R2QA/JKnjB0Pc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=H4wqQx3cfGRtE5xtyjWFUYclz63rzgUAsEmM99O4RIZOFhyx8mOOTvBAkTl6ReVn9q4W2YyLPXhqaaaPfaVr94hPnSEdVlU8vm3ed8w9XO78JqV+1+LIVKaeGbqCW5PpZh2bybcQeV2nVRCWbH+jguMFtF2lKXDzxZZRY4YgfCo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EC36B14BF; Mon, 2 Mar 2026 02:23:06 -0800 (PST) Received: from J2N7QTR9R3 (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4E85D3F7BD; Mon, 2 Mar 2026 02:23:11 -0800 (PST) Date: Mon, 2 Mar 2026 10:23:06 +0000 From: Mark Rutland To: Khaja Hussain Shaik Khaji Cc: ada.coupriediaz@arm.com, catalin.marinas@arm.com, dev.jain@arm.com, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, mhiramat@kernel.org, will@kernel.org, yang@os.amperecomputing.com Subject: Re: [PATCH v2 1/2] arm64: kprobes: disable preemption across XOL single-step Message-ID: References: <20260302101905.3591689-1-khaja.khaji@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260302101905.3591689-1-khaja.khaji@oss.qualcomm.com> On Mon, Mar 02, 2026 at 03:49:05PM +0530, Khaja Hussain Shaik Khaji wrote: > On Tue, Feb 17, 2026 at 04:55:44PM +0000, Mark Rutland wrote: > > Since DAIF is masked, we won't take an IRQ to preempt during XOL. > > Can you please share an example failure that you have seen? > > I believe other architectures are likely affected by the same problem. > > Thank you for the review. You were correct on all counts. > > I confirmed the issue is not related to scheduling or preemption, and the > v1/v2 approach was based on an incorrect assumption. I’m dropping that > line of reasoning. > > I’ve since identified the actual root cause and have a new fix ready, > which I’ll send shortly as v3. Ok. As above, *please* include an observed failure in the commit message. It will be the first thing we ask for otherwise. Mark.