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 5084338C42D for ; Tue, 26 May 2026 18:44:23 +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=1779821064; cv=none; b=fP55N1q7+rVVHdajOKme7a+4CC/0PHlpvbxd5dMymaQbkFmE5qvWXeQ8DuYVJGgBsyqJPl8NgUgA9+9hgFw16bTLcwJ2DSGA3uNSlSZl1rJCa/etYkwynZlrVFdOy0olAJRTI+KEWsZdCjsqoAxenWIRFKN18VkgOa7uXuzv/do= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779821064; c=relaxed/simple; bh=7/GKK9Xs5YFpcLA3j6qlOr9qtyCyn+LpUFftgBBUrUo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TR/GOdLMefsbsELQm4bR9H3wsIXgRyDk2uqbT/dTgWRsiBYl5uC9eAcFm0zW9+b0T+fun+9/Bij+9sI5KChpbaXRbr0+hiCE3KIAA03RuaJIllQo761m4+EaqbFGLpKdZ7MAX2koMnPWGsj9l4LFHkFoqsyTf5g8MFzIQzxPNmk= 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; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b=MZMn8o66; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.b="MZMn8o66" 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 429012BCA; Tue, 26 May 2026 11:44:17 -0700 (PDT) Received: from arm.com (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E84CC3F7B4; Tue, 26 May 2026 11:44:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1779821062; bh=7/GKK9Xs5YFpcLA3j6qlOr9qtyCyn+LpUFftgBBUrUo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MZMn8o66Lxhw2NGPpMnkeSQVR9oc3SNYuHEo7XiIIBjLBc5RvWALHojca6aGqBQm5 Cte3LnM0B70Q9IKkwKUwfyX1slBENOolIl3tyW0XIl4/02CcORuJccQ1z5b58ur8Az a4gGoi6dqNOWup5LmEtMeVpnX+HRhqV+IE9Vi2eY= Date: Tue, 26 May 2026 19:44:18 +0100 From: Catalin Marinas To: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Will Deacon , Mark Rutland , Thomas Gleixner , Ben Horgan , Daniel Lezcano Subject: Re: [PATCH v2 5/5] arm64: Convert __delay_cycles() to arch_timer_read_vcounter() Message-ID: References: <20260508094203.2913880-1-maz@kernel.org> <20260508094203.2913880-6-maz@kernel.org> 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=us-ascii Content-Disposition: inline In-Reply-To: <20260508094203.2913880-6-maz@kernel.org> On Fri, May 08, 2026 at 10:42:03AM +0100, Marc Zyngier wrote: > Relax the need for disabling preemption in __delay_cycles() by > using arch_timer_read_vcounter(), which will disable preemption > only when this is actually required. > > Signed-off-by: Marc Zyngier Acked-by: Catalin Marinas