From nobody Sun Feb 8 11:21:25 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 44A6B24DC41; Fri, 11 Apr 2025 10:02:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744365745; cv=none; b=g1sDG7zqAHolubxe1DaZIoqpu/471l4PdFnIlowuuljgUR8jc45XcyovRnh9Qpr4EB+g93vMIla7WfxFyn0+AkzkuEMFlEumE4DlQk7LMXiUCvtVe0j+SgliOsrmn2mCizTZPQ4mzHamXll3h0MUDr3bmoxg3L/FSPbVW6ahtB4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744365745; c=relaxed/simple; bh=2VYdbjnIZHEwc7T29T6nCUKAp2Gk7FQJZi0RA3rC8Nw=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=ZbFdzWAYP/1aJ/WfkkVQ69k+K1MyK/18/72QiC91Qo8iEBqq1Xjrbce1UJD2jxyZY8DFKTOg/jIesU4fVFr5fwMET0qjN0SdEXxNiCWOWUcXzJ+kCnsdtD8Fn/mZcON7csRcpkBhBk+15a/PlpR60FRNQCB5O+bvkb+N8A3i5B8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ZGOCTqBK; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ah8nIu8h; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ZGOCTqBK"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ah8nIu8h" Date: Fri, 11 Apr 2025 10:02:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1744365741; h=from:from:sender:sender:reply-to: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=5V92K6yi/QYkwueENPyyrnkMqI4EdEpVXZNZwGFNC2g=; b=ZGOCTqBKkjaZ8+85NYAJ/rXRp5+t7V1TAAKqyEphgA7H9VP270TioBckXDXeLb5gb1vYje YYLik9Ld7Dj4m4KCsh5a2ku28Y2g9+w+9X1kyL7Pi0uTWsGh65vt8m75hJOQaVlGR/kvLA CFwut5cnEl4J75DO4RufSbqOTDQ6Aul7AmQ+UWKVOua3cviSPoMHpmfceGRnfqp8MOGZjS 506bC1zs2FrM2+vNm9+gwTd3cezLYjzG3tD/WMxsDVHPu6gOdYvyLepWPbYa3XgtPezhHq apEIzKjE2hAAiKhElW9Pjltj9/BwC248hwqD9gHKXn7qcegPJmgUerXKoGV5SQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1744365741; h=from:from:sender:sender:reply-to: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=5V92K6yi/QYkwueENPyyrnkMqI4EdEpVXZNZwGFNC2g=; b=ah8nIu8hCjSsg9/m7xcCG+a7kN6z4M0VM0wxyHjdWZMe5RrlLL0D5L8l1GfXPLJeiQtflE 1RekHa/qkJKnpmDg== From: "tip-bot2 for Ingo Molnar" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/alternatives] x86/alternatives: Rename 'struct bp_patching_desc' to 'struct text_poke_int3_vec' Cc: Ingo Molnar , Juergen Gross , "H . Peter Anvin" , Linus Torvalds , Peter Zijlstra , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20250411054105.2341982-4-mingo@kernel.org> References: <20250411054105.2341982-4-mingo@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <174436574070.31282.7865255954237542519.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the x86/alternatives branch of ti= p: Commit-ID: 84e5ba949b0a3fcf2fd0a1b6c9ce14d8436dbbb8 Gitweb: https://git.kernel.org/tip/84e5ba949b0a3fcf2fd0a1b6c9ce14d84= 36dbbb8 Author: Ingo Molnar AuthorDate: Fri, 11 Apr 2025 07:40:15 +02:00 Committer: Ingo Molnar CommitterDate: Fri, 11 Apr 2025 11:01:33 +02:00 x86/alternatives: Rename 'struct bp_patching_desc' to 'struct text_poke_int= 3_vec' Follow the INT3 text-poking nomenclature, and also adopt the 'vector' name for the entire object, instead of the rather opaque 'descriptor' naming. Signed-off-by: Ingo Molnar Cc: Juergen Gross Cc: "H . Peter Anvin" Cc: Linus Torvalds Cc: Peter Zijlstra Link: https://lore.kernel.org/r/20250411054105.2341982-4-mingo@kernel.org --- arch/x86/kernel/alternative.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel/alternative.c index 5f44814..8edf7d3 100644 --- a/arch/x86/kernel/alternative.c +++ b/arch/x86/kernel/alternative.c @@ -2471,17 +2471,17 @@ struct text_poke_loc { u8 old; }; =20 -struct bp_patching_desc { +struct text_poke_int3_vec { struct text_poke_loc *vec; int nr_entries; }; =20 static DEFINE_PER_CPU(atomic_t, bp_refs); =20 -static struct bp_patching_desc bp_desc; +static struct text_poke_int3_vec bp_desc; =20 static __always_inline -struct bp_patching_desc *try_get_desc(void) +struct text_poke_int3_vec *try_get_desc(void) { atomic_t *refs =3D this_cpu_ptr(&bp_refs); =20 @@ -2517,7 +2517,7 @@ static __always_inline int patch_cmp(const void *key,= const void *elt) =20 noinstr int poke_int3_handler(struct pt_regs *regs) { - struct bp_patching_desc *desc; + struct text_poke_int3_vec *desc; struct text_poke_loc *tp; int ret =3D 0; void *ip;