Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3262048pxb; Mon, 16 Nov 2020 09:45:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJzUBeo/D5EVNWY7csdbMhBAyEOTdb61SPwlztcOgZCuAUA/C4UpqzB60KOB5AYXIqU+R8qh X-Received: by 2002:a05:6402:1f0:: with SMTP id i16mr16705650edy.122.1605548755056; Mon, 16 Nov 2020 09:45:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605548755; cv=none; d=google.com; s=arc-20160816; b=ERbI9fframP96TgWbKVz/kw4Nfa79ivYebQ+90DinlBMtbCDorA0/nfKBzg7kycVYP F5Kt7gKZP0UW5WHZKVyhfgHdWp1j/WtF1sYFlvFwvIxV0PlMLwB0pazPwTWsQxa9vUd2 bZjIk+Ep2PDDl6F43a9dPGmpiIQ2kqI3U840+0XCwNtuhGkI2B45FKymG0DZDsX3rpyU GgoyC7Pk4Kv2QKsG1Vude8zW4RmzdfvMVWQWfAaPDAmWu+LeecJ+juuk3D+C9W0/owFM 4GKc1WhnGkkEFfAKd44nw57Cc5I5pEu5pvrmtVOIEv2/i8MijKFd1ADhz8dkPZi8UY7S FvnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=fOcxdN3bQP/tN8Kucfpn1leBLCKLrSDKPuC+yjqvu2Q=; b=iiv5XdxlB97Q1qKUDx3de/CeiRfM8p3FOBoz8IrNkGB4PMBmLI5rwWET5vXgpQxdx0 Z7wOo/+QY01ZQq0FjGnmz3SVu+J9AW9NDq7n2ijmmU8BSKului0VZXC+ZsolZo5Uu0Pe BCXkt/VFeiGsQ5oCdwjrcVwdjtcBbuJNwJoKH3MhHbNCBi7IrcLut9AF8rX9JxvX48K2 ZzUckU4NMImreuL82ZOVibJxXRBI++vU9u5EtMPY108dzODFDQB1MFNxuLuPUiMzskkU 9/pWkpkwnXm+TRcHsbpvgK2N3dXfbYHVbrirCM1K+wW2DqXvmTs1vNCtMUL0jycJelJJ 9k6w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b3si11320487ejp.606.2020.11.16.09.45.31; Mon, 16 Nov 2020 09:45:55 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387966AbgKPRmw (ORCPT + 99 others); Mon, 16 Nov 2020 12:42:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387591AbgKPRmv (ORCPT ); Mon, 16 Nov 2020 12:42:51 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93919C0613CF; Mon, 16 Nov 2020 09:42:51 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: krisman) with ESMTPSA id 172321F45E47 From: Gabriel Krisman Bertazi To: tglx@linutronix.de Cc: hch@infradead.org, mingo@redhat.com, keescook@chromium.org, arnd@arndb.de, luto@amacapital.net, wad@chromium.org, rostedt@goodmis.org, paul@paul-moore.com, eparis@redhat.com, oleg@redhat.com, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org, Gabriel Krisman Bertazi , kernel@collabora.com Subject: [PATCH v2 10/10] x86: Reclaim unused x86 TI flags Date: Mon, 16 Nov 2020 12:42:06 -0500 Message-Id: <20201116174206.2639648-11-krisman@collabora.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201116174206.2639648-1-krisman@collabora.com> References: <20201116174206.2639648-1-krisman@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reclaim TI flags that were migrated to syscall_work flags. Signed-off-by: Gabriel Krisman Bertazi --- arch/x86/include/asm/thread_info.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h index b217f63e73b7..33b637442b9e 100644 --- a/arch/x86/include/asm/thread_info.h +++ b/arch/x86/include/asm/thread_info.h @@ -75,15 +75,11 @@ struct thread_info { * - these are process state flags that various assembly files * may need to access */ -#define TIF_SYSCALL_TRACE 0 /* syscall trace active */ #define TIF_NOTIFY_RESUME 1 /* callback before returning to user */ #define TIF_SIGPENDING 2 /* signal pending */ #define TIF_NEED_RESCHED 3 /* rescheduling necessary */ #define TIF_SINGLESTEP 4 /* reenable singlestep on user return*/ #define TIF_SSBD 5 /* Speculative store bypass disable */ -#define TIF_SYSCALL_EMU 6 /* syscall emulation active */ -#define TIF_SYSCALL_AUDIT 7 /* syscall auditing active */ -#define TIF_SECCOMP 8 /* secure computing */ #define TIF_SPEC_IB 9 /* Indirect branch speculation mitigation */ #define TIF_SPEC_L1D_FLUSH 10 /* Flush L1D on mm switches (processes) */ #define TIF_USER_RETURN_NOTIFY 11 /* notify kernel of userspace return */ @@ -101,18 +97,13 @@ struct thread_info { #define TIF_FORCED_TF 24 /* true if TF in eflags artificially */ #define TIF_BLOCKSTEP 25 /* set when we want DEBUGCTLMSR_BTF */ #define TIF_LAZY_MMU_UPDATES 27 /* task is updating the mmu lazily */ -#define TIF_SYSCALL_TRACEPOINT 28 /* syscall tracepoint instrumentation */ #define TIF_ADDR32 29 /* 32-bit address space on 64 bits */ -#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE) #define _TIF_NOTIFY_RESUME (1 << TIF_NOTIFY_RESUME) #define _TIF_SIGPENDING (1 << TIF_SIGPENDING) #define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED) #define _TIF_SINGLESTEP (1 << TIF_SINGLESTEP) #define _TIF_SSBD (1 << TIF_SSBD) -#define _TIF_SYSCALL_EMU (1 << TIF_SYSCALL_EMU) -#define _TIF_SYSCALL_AUDIT (1 << TIF_SYSCALL_AUDIT) -#define _TIF_SECCOMP (1 << TIF_SECCOMP) #define _TIF_SPEC_IB (1 << TIF_SPEC_IB) #define _TIF_SPEC_L1D_FLUSH (1 << TIF_SPEC_L1D_FLUSH) #define _TIF_USER_RETURN_NOTIFY (1 << TIF_USER_RETURN_NOTIFY) @@ -129,7 +120,6 @@ struct thread_info { #define _TIF_FORCED_TF (1 << TIF_FORCED_TF) #define _TIF_BLOCKSTEP (1 << TIF_BLOCKSTEP) #define _TIF_LAZY_MMU_UPDATES (1 << TIF_LAZY_MMU_UPDATES) -#define _TIF_SYSCALL_TRACEPOINT (1 << TIF_SYSCALL_TRACEPOINT) #define _TIF_ADDR32 (1 << TIF_ADDR32) /* flags to check in __switch_to() */ -- 2.29.2