Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1303591pxy; Thu, 6 May 2021 05:19:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytxYs7av5cCLuYAebsuBLrXt7bin9td+6nj7ZH+FIwkf+/gtjGwwFT6UvRdwsSft2aDDqC X-Received: by 2002:a17:907:f91:: with SMTP id kb17mr3993036ejc.521.1620303592174; Thu, 06 May 2021 05:19:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620303592; cv=none; d=google.com; s=arc-20160816; b=D+6hXkwcPMhmAZVAZNGu950mgWLI8RZV3xugRgluxp9ML9Q8EdjTGwH4+gbg7l7yCi z4RHEfAaeLmaIOI1OR2Hi5Wp2KpjcsINU+mI7XoKOFxWxMx014DAXzmcZpFCyGclt3C5 qZLOq9C5/+al7jIU9j8mNYD2QAA6xW+9Qux+u/y3xxxbV+tkw/lUZ5pJOvZqY//b6OGy Yp9B0QSb3T+MvxbZF1UojYdVhrOlEVv4LpyhvpFbnPNNB4pl3BlcgQLRvziVxyaSbdmg ir9Y5PJANkNe7s/IA+858MpbwvZo6y6/OBdq+m/eQdi0yv3m4JMgm5DG8aiZpnjzkq9T cuLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=L3KwrhWFn7eF11gXaAnwDdvE67vhJy0acLxDWYfK2n8=; b=qWeuQpbvMWlzQex6oBftcePtwP5In4lO++ydsNAc5lWJX6nBif5gbYCmMT++oallQC R5/Z1L+GxAbnKb6yxQShF1BE516NT2QTrm7P+5hi4DFiDXx1KdzW0Vj8fElBOhfXaNkD F98++WzOH546Qz6bBZKNswI9VJjakPQtH7/tRl9GAhSlxYn5O0403X+o2GraxWr6va1G FQiv+rQwyBkbLrWH57hbK7Ih55VtsW6cRzVfwoZcrhvDaVptyY7UbVtJNY5vNpqGLkNF K9z9sOV936i/hBS0Lt7jpso/0YL5D/9UCFrjZLPiVVMup7ey5mTrARwE6g1pWcKwkkGu ZrXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Jo0skTtG; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f2si2761858edl.536.2021.05.06.05.19.28; Thu, 06 May 2021 05:19:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Jo0skTtG; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232825AbhEFMPw (ORCPT + 99 others); Thu, 6 May 2021 08:15:52 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:38664 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233001AbhEFMPH (ORCPT ); Thu, 6 May 2021 08:15:07 -0400 Date: Thu, 06 May 2021 12:14:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1620303248; 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=L3KwrhWFn7eF11gXaAnwDdvE67vhJy0acLxDWYfK2n8=; b=Jo0skTtGRGDEewlJmb4u3hD8wIJ8cs6UsY2vcK5Nv8GK7Bk7jz/ITR7/HU2rorTua17Umm +nEuMN6aN9yKc7pGDUpe65yqBe8+hKSn8FXT6/QlNmKzAPRZT5k/mb85xNnrCw6htZtxOg YCzKMrBupK3fy20Fm0ZUZ5KoobZgkPbuCBXujtD2lcmL5sPCrz2+5kGx6rX2BPN/VtFO6w qBbKULbAatIGOxXzil0xDRu7Ua/vtHPeqTK/J6ozrlUuws/EdJQCVbUmJMZJhhwjGyrqPj PG6zHyToQL2bOkiQlbWDJTVdYD29ZmrQKhBsjlqw5sAAxrSo4vR5oGeIvDTUQg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1620303248; 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=L3KwrhWFn7eF11gXaAnwDdvE67vhJy0acLxDWYfK2n8=; b=cRYmhOw6yVLpGROuBuwHD03Q6NvPny4crROb8fxJ8kpGPyTCfW+CH6unshUAGeqi9VUfLQ cI6nvF9eK3FZfXAg== From: "tip-bot2 for Alexey Dobriyan" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/urgent] x86: Delete UD0, UD1 traces Cc: Alexey Dobriyan , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: References: MIME-Version: 1.0 Message-ID: <162030324799.29796.9740974836121590926.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/urgent branch of tip: Commit-ID: 790d1ce71de9199bf9fd37c4743aec4a09489a51 Gitweb: https://git.kernel.org/tip/790d1ce71de9199bf9fd37c4743aec4a09489a51 Author: Alexey Dobriyan AuthorDate: Thu, 22 Apr 2021 21:58:40 +03:00 Committer: Thomas Gleixner CommitterDate: Wed, 05 May 2021 21:50:13 +02:00 x86: Delete UD0, UD1 traces Both instructions aren't used by kernel. Signed-off-by: Alexey Dobriyan Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/r/YIHHYNKbiSf5N7+o@localhost.localdomain --- arch/x86/include/asm/bug.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/x86/include/asm/bug.h b/arch/x86/include/asm/bug.h index 297fa12..84b8753 100644 --- a/arch/x86/include/asm/bug.h +++ b/arch/x86/include/asm/bug.h @@ -7,18 +7,9 @@ /* * Despite that some emulators terminate on UD2, we use it for WARN(). - * - * Since various instruction decoders/specs disagree on the encoding of - * UD0/UD1. */ - -#define ASM_UD0 ".byte 0x0f, 0xff" /* + ModRM (for Intel) */ -#define ASM_UD1 ".byte 0x0f, 0xb9" /* + ModRM */ #define ASM_UD2 ".byte 0x0f, 0x0b" - -#define INSN_UD0 0xff0f #define INSN_UD2 0x0b0f - #define LEN_UD2 2 #ifdef CONFIG_GENERIC_BUG