Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp729725pxy; Thu, 22 Apr 2021 11:59:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMwk+VgUABzBQy37JaHPym0i2HjgfCQIA6PnG20byM/Khfn7wXw8V2ydhUvk0m1o3tiuW/ X-Received: by 2002:aa7:904e:0:b029:25a:4469:222a with SMTP id n14-20020aa7904e0000b029025a4469222amr4700234pfo.72.1619117985266; Thu, 22 Apr 2021 11:59:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619117985; cv=none; d=google.com; s=arc-20160816; b=D2Hzv8kjuRAX/XTGNHsvbuLAW7fFCSmGI3sK18ZyOTTrImc5hbgkdQ8OCCybGbXmsm jRBhcY7IzIg/bvfVuZrxP8T9sLl7JHC6M7SPTH+SMFlo7TRBDGdG93D/m8khXT2PwGIb UV7cmQWtF0z3i/Dn4jf3PYWHqx/wcTmqf6LIbQgGGyoXOU2elNSeDlVys+YQMFfDTxmX 3KPRyXH5eGLo2sPj2be13z4u+C3XxBG3oQ2/bn7qJYX7+5N2gMXQ8IdJBQPZF9VrPCZN i+BTdCnTQjkoZMyrjTemz6NfMebUK029Rg2ZAsdAIpOrLkoSEzYIhuYhNXTrMqRW+2bQ zvEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=WJ2IsadrDx9PnxmH2ewloOiW+yg8182FU18NrR5hDAU=; b=IjWiRLbS7S8nIrZrE+it8z9BygkMeYadKl7s6/FoaMXRf8/QFxp4edp1hZZSuBZ2AQ ocq7CjqYpeCsVoLhOLpfddETQx6zeSYs5wdv9uCYuGDrSPvvlY8YhL2GfbMiuEkrYajk K9XbTtzmHpxHyL5VbYXG1RP017FVgEQpe5g2yg2hMJrHoaZGFSM5VPaFjaDH4gye3Iv6 z7Sex3iioWwN3zJoJZsQTtAiduH8HdU3kz7HU65NDJMQeekHkfhbN9sPZv8bjKiFltqL DLqWKPO1Wan8/GrDlWm5X8LPYDX6rjJzPudvWmCf0hCKpMzzwJRDcDXvIc2Ed/GbmVsr Rndg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MTjfL02w; 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=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z22si1619102pfn.11.2021.04.22.11.59.32; Thu, 22 Apr 2021 11:59:45 -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=@gmail.com header.s=20161025 header.b=MTjfL02w; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236826AbhDVS7T (ORCPT + 99 others); Thu, 22 Apr 2021 14:59:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236287AbhDVS7S (ORCPT ); Thu, 22 Apr 2021 14:59:18 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78DF6C06174A for ; Thu, 22 Apr 2021 11:58:43 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id n2so70318119ejy.7 for ; Thu, 22 Apr 2021 11:58:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=WJ2IsadrDx9PnxmH2ewloOiW+yg8182FU18NrR5hDAU=; b=MTjfL02wUNxLz+kZ9maymdmi1cHU5YYnOR3trLr+MguJtVF7RN+Repx08bHTcY9ZO7 /ppQllAnoR5bTmcVyTzW15RfkWNlq3iTZahg0xXWShVrGU3CMAyaViYlRk75LRCWi039 sRITa0VhIH5MKEYuOi1ieKJXsPW7Fih0EuQaa5AxLThrbpALOs+ug88pWpYLovDiJHCv amkfjMNZffLiei2B9JrrCi6cNaYLk+P4pMKF3NgINHmUXh8ybeIUhWJCGJH8/NzxR9iy fsYlli+000t2q2D+XvrabgCZE8cY+E6ge0KlziGfoMuTTUB7dwrDs54l7Jat6n4Tnjsf 8YpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=WJ2IsadrDx9PnxmH2ewloOiW+yg8182FU18NrR5hDAU=; b=TdHTSSeYvexZJYHq1BLDw/na5eGOeshAmogvnaryIQKp6ROMjb+Qh4LfAInIGm+Tk1 td23AwwHT/0K5IHFKHiS9yATZ6poamB6ZiUCWuyd8JKlmsxKqnFoJJxQg1qvv6h+w1Mm 9X8PQEEhmQfKF0pwPXE64mWSkdcvMoDJTubinkRx4du7cY3yXBvBVmKfyABvL6LxHwzA KItktpEuNMiPykt2IgTaQ4R+K/2/ZhUWVq2bEQidVQNZcBvjD6g0Fp2bxPMTJXUI+iM5 kDusmv0/aLAFDPC0FEPCsIpqwv4IAsoxzD7r3Q0t4KClIm6DguhxXLRn5WsuHg7y0a/s FvZw== X-Gm-Message-State: AOAM531+sxWwXSu5z3EB/wY8XTMcFe0xM36de5OjzF9+WyCaAkJCWbeC a5e8ewGbKRQeyaCy1eU0VA== X-Received: by 2002:a17:906:a10e:: with SMTP id t14mr103328ejy.103.1619117922234; Thu, 22 Apr 2021 11:58:42 -0700 (PDT) Received: from localhost.localdomain ([46.53.248.145]) by smtp.gmail.com with ESMTPSA id y11sm2887966eds.10.2021.04.22.11.58.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Apr 2021 11:58:41 -0700 (PDT) Date: Thu, 22 Apr 2021 21:58:40 +0300 From: Alexey Dobriyan To: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de Cc: x86@kernel.org, hpa@zytor.com, linux-kernel@vger.kernel.org Subject: [PATCH] x86: delete UD0, UD1 traces Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Both instructions aren't used by kernel. Signed-off-by: Alexey Dobriyan --- arch/x86/include/asm/bug.h | 9 --------- 1 file changed, 9 deletions(-) --- 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