From patchwork Fri Feb 8 17:04:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 157853 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2184589jaa; Fri, 8 Feb 2019 09:04:36 -0800 (PST) X-Google-Smtp-Source: AHgI3IbFMMI3KjxPvvkUdgmDYIFTCZh87iVPPH61FlxeH4GXNxUIj/b60uUnrz07EidYrZ21VNGe X-Received: by 2002:a65:6150:: with SMTP id o16mr19152653pgv.434.1549645476345; Fri, 08 Feb 2019 09:04:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549645476; cv=none; d=google.com; s=arc-20160816; b=JduEGvM8RZVnulCiLCgGeN5V+IWlgH1ZgUeh8oL9kX3kbx1BnTcP9v4H6lmMXkYZlJ oPMPyad+56FH8sYVyp8grAMl4XbpDH+Ezj+UehNmlc72uoxFilJqlyjMvqL1/BZMm+/f Mx/qBcZWC0U0hOqZRWkOh9zpVZJlpISxqkKzGL0cePLA5D71UBXEQZCaII4WABkIMFa+ hXFyZZtguIwhK3Ea+cxFWJcFPnCwac1MHwJcS+ul1pjOyRm7eDZrthxxUjBNtNO4HL5R /n+OPBocFL7JdBRuEVjy5a4mvyGY46pajaNQSOC3hdCOXGsKXq2CgS2xEQv32rTJ/kjZ +X9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=/mdA14Nujy50LFKBeH3yXOtWpvyyOSkd1NIGhlzEnKo=; b=DTZpSpGSh0KtLTYD8/sRT4wSlNBfRkrNjj49QaVMPAjYXA6tU1JpWRVQou+aYKxAuY 9oG8T5ciUGFxNqc/hJfqj5bdKsfQGLa6WUSUcCs2M4HlTFW98qG6XbNxmEwbOR0jjmp8 qLGvYnnmZWcm/Byq1HFmbvoEgYZ8jpzME1+s1OHZkAqwDpae1fTbQN4n8vWHNIWrsed8 ojM46PjK9F+GAt6qqT7hXt3dU+BfqjzO7l5CocYuppwg1wXWZdSyf5rOTtOgqjDYjHM0 fa1Dy4Dy8lu3MEi8VH3DO6v1z7STDERsTpKag67Xek+O/oOUg/cTTYB0x/nsx+c+O1un GV9g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m75si2592333pga.432.2019.02.08.09.04.36; Fri, 08 Feb 2019 09:04:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727988AbfBHREe (ORCPT + 31 others); Fri, 8 Feb 2019 12:04:34 -0500 Received: from foss.arm.com ([217.140.101.70]:54264 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727084AbfBHREc (ORCPT ); Fri, 8 Feb 2019 12:04:32 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E4A261596; Fri, 8 Feb 2019 09:04:31 -0800 (PST) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 049A03F719; Fri, 8 Feb 2019 09:04:30 -0800 (PST) From: Julien Grall To: linux-kernel@vger.kernel.org Cc: Julien Grall , Greentime Hu , Vincent Chen Subject: [PATCH 1/3] nds32: Removed unused thread flag TIF_USEDFPU Date: Fri, 8 Feb 2019 17:04:23 +0000 Message-Id: <20190208170425.10891-2-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190208170425.10891-1-julien.grall@arm.com> References: <20190208170425.10891-1-julien.grall@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The bit TIF_USEDFPU is not used in the nds32 code. Signed-off-by: Julien Grall Cc: Greentime Hu Cc: Vincent Chen --- Untested as I don't have a cross-compiler for it. --- arch/nds32/include/asm/thread_info.h | 2 -- 1 file changed, 2 deletions(-) -- 2.11.0 diff --git a/arch/nds32/include/asm/thread_info.h b/arch/nds32/include/asm/thread_info.h index bff741ff337b..8c610abe673a 100644 --- a/arch/nds32/include/asm/thread_info.h +++ b/arch/nds32/include/asm/thread_info.h @@ -42,7 +42,6 @@ struct thread_info { * TIF_SIGPENDING - signal pending * TIF_NEED_RESCHED - rescheduling necessary * TIF_NOTIFY_RESUME - callback before returning to user - * TIF_USEDFPU - FPU was used by this task this quantum (SMP) * TIF_POLLING_NRFLAG - true if poll_idle() is polling TIF_NEED_RESCHED */ #define TIF_SIGPENDING 1 @@ -50,7 +49,6 @@ struct thread_info { #define TIF_SINGLESTEP 3 #define TIF_NOTIFY_RESUME 4 /* callback before returning to user */ #define TIF_SYSCALL_TRACE 8 -#define TIF_USEDFPU 16 #define TIF_POLLING_NRFLAG 17 #define TIF_MEMDIE 18 #define TIF_FREEZE 19 From patchwork Fri Feb 8 17:04:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 157855 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2184799jaa; Fri, 8 Feb 2019 09:04:46 -0800 (PST) X-Google-Smtp-Source: AHgI3IYRb9C1ecoJ+XPC9Urm200qcvZFwaGvsM239vz6VpLzM7IGy05rxP+rTVJcdbpqEkCenbDq X-Received: by 2002:a63:554b:: with SMTP id f11mr6240405pgm.37.1549645486705; Fri, 08 Feb 2019 09:04:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549645486; cv=none; d=google.com; s=arc-20160816; b=QKVlGlYAZQjo2oK4dFBhPG1dQK4F89Qc3pO09hQIocu7kxGpHoTtJXF6yfI92JVZ8o FmshDM7smDPQdB1E/EYoEwBYMoapnn+fdfsl6VWTEbe2PYUdDV5vSEp0v00BF1Wet0Jx dmeVt3ugCifieqw4wgGHQI3XZk2op8E9nUrRyRddhvMqmUWEF2eK92xvIHxrYnIQV63N zUijTa+bHUYhuWxPjzbZrF/qoTi+Y2YCe73Xh0LlTA+XIgp9GdT35XwrCCEBeeSZqP0p DK664UQrzVzaIqiwKAjSPAcxYh47V2+9J0WmSH9KVITAcHAp34lkn3qXBsNL1ha2ECFm g1Vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=f2pQpy3bhiOC0hfKZ1PFbaD9/BEpCM/lxgP8dCt0veo=; b=U9On+PlErmg2YRi9hT8zsJ8BL15YJ75DGNwQzQ4V5oNpj2eaAAMFB38Y2gUJm+HQHO 2cbxy1DCaeh9dkkfAVrLE+pJ2mGXiLIrtaIodOsn98ZmaqT5J6td58HdLax2fF8TNX8Q gaBABEq/Tl+4yBXh3Ln5xmFPfTDt4Xw9HKDi5hp2HywzJAgXpRZumcaDZDzvaEztjbPF 5ntBHxErVot9QMLbMp1Y0XZrhISu4aPh6ty/mq5ZFL+RGdJ9OqW38iMv9Uk7DQNUHQpf Ud3Iy2VgmXXM9Id4iIhhs6dm466724eMen7cJiP65GSR3re9bxVTJ7mFwOE8sbvx5F/M pQ8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m75si2592333pga.432.2019.02.08.09.04.46; Fri, 08 Feb 2019 09:04:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728033AbfBHREo (ORCPT + 31 others); Fri, 8 Feb 2019 12:04:44 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:54270 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727427AbfBHREd (ORCPT ); Fri, 8 Feb 2019 12:04:33 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 19FD615AB; Fri, 8 Feb 2019 09:04:33 -0800 (PST) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2E50F3F719; Fri, 8 Feb 2019 09:04:32 -0800 (PST) From: Julien Grall To: linux-kernel@vger.kernel.org Cc: Julien Grall , Russell King , linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/3] arm: Remove documentation about TIF_USEDFPU Date: Fri, 8 Feb 2019 17:04:24 +0000 Message-Id: <20190208170425.10891-3-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190208170425.10891-1-julien.grall@arm.com> References: <20190208170425.10891-1-julien.grall@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org TIF_USEDFPU is not defined as thread flags for Arm. So drop it from the documentation. Signed-off-by: Julien Grall Cc: Russell King Cc: linux-arm-kernel@lists.infradead.org --- arch/arm/include/asm/thread_info.h | 1 - 1 file changed, 1 deletion(-) -- 2.11.0 diff --git a/arch/arm/include/asm/thread_info.h b/arch/arm/include/asm/thread_info.h index 286eb61c632b..779927f0c3c1 100644 --- a/arch/arm/include/asm/thread_info.h +++ b/arch/arm/include/asm/thread_info.h @@ -132,7 +132,6 @@ extern int vfp_restore_user_hwstate(struct user_vfp *, /* * thread information flags: - * TIF_USEDFPU - FPU was used by this task this quantum (SMP) * TIF_POLLING_NRFLAG - true if poll_idle() is polling TIF_NEED_RESCHED */ #define TIF_SIGPENDING 0 /* signal pending */ From patchwork Fri Feb 8 17:04:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 157854 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2184656jaa; Fri, 8 Feb 2019 09:04:40 -0800 (PST) X-Google-Smtp-Source: AHgI3IZT7CE9FIxTCP0Gn7N4spopp4Mhmtk9YLd50ryBk+65N2Z+aEcFsskh7apA+3iqSjKMtMv7 X-Received: by 2002:a63:cf02:: with SMTP id j2mr21595232pgg.113.1549645479991; Fri, 08 Feb 2019 09:04:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549645479; cv=none; d=google.com; s=arc-20160816; b=uRosZ47qFDW56YskdX54u65NjfsZeURNMw07l9LhMW2RMGjiuU0epL18DJLrEBbVT4 WSjlVI6byTHlodwQCbedhukNfa6gUsOO9NQVIOzdrCACHHuX3puTgEwtP+HVR+LbPFbx Zcw+zsLNY7e1VkVqe95imjkhFZ735rNgzSwQusV1jcYLas0t7RRZiEUj1iwNskj4LZr8 dKs1E6G+M30ZVEu5Cu9SzaF+ZQYBYGTgpf3pNNfaqTL6XXRNXeA1bOBpDLucAJTKpIZ0 UzdeUOAnRDYygPosaMxxlrLUT6imk+OKWkYl1K+roCOEaiByl08T8Undq1vRAAQwHAIA 4IOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=T29PvqD3lAObW9FrA2vTErOp4KDJ1iurQ3qjG+tw5LI=; b=J7W1ApW1BsveRuCtPGLbeVWWD0AET131fVo/9TUACVVTtu3zrxnLIW08mqGzOpIo43 lNqoNgrYn38gN2HzGYFuJV+pDYvUaZrGENcfQ548DkGev3hGIt2Pu550wTRjpAMe6Lf7 CCMDj9J7KOFeLm3VXN74GAsj5WTEVchsvZUBkd6yKaKddgvjVmeSwVmwnCUAd4CTbVnO UEnW8cyuhkB8nM+4DhFKRsrCpCQQiath2ZItirWalsuUTrykGc1sE/mag20X+6RO/JsH 8yoQQBxWNBvYHlQdCGmfInDmwUUF8iOLHjwzdAz/y1xe3IrImEiUW3mIIM8bqmFa+Dfp 61fQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m75si2592333pga.432.2019.02.08.09.04.39; Fri, 08 Feb 2019 09:04:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728014AbfBHREh (ORCPT + 31 others); Fri, 8 Feb 2019 12:04:37 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:54276 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727982AbfBHREe (ORCPT ); Fri, 8 Feb 2019 12:04:34 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 672FD80D; Fri, 8 Feb 2019 09:04:34 -0800 (PST) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 57AE73F719; Fri, 8 Feb 2019 09:04:33 -0800 (PST) From: Julien Grall To: linux-kernel@vger.kernel.org Cc: Julien Grall , Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] arm64: Remove documentation about TIF_USEDFPU Date: Fri, 8 Feb 2019 17:04:25 +0000 Message-Id: <20190208170425.10891-4-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190208170425.10891-1-julien.grall@arm.com> References: <20190208170425.10891-1-julien.grall@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org TIF_USEDFPU is not defined as thread flags for Arm64. So drop it from the documentation. Signed-off-by: Julien Grall Cc: Catalin Marinas Cc: Will Deacon Cc: linux-arm-kernel@lists.infradead.org --- arch/arm64/include/asm/thread_info.h | 1 - 1 file changed, 1 deletion(-) -- 2.11.0 Acked-by: Will Deacon diff --git a/arch/arm64/include/asm/thread_info.h b/arch/arm64/include/asm/thread_info.h index bbca68b54732..eb3ef73e07cf 100644 --- a/arch/arm64/include/asm/thread_info.h +++ b/arch/arm64/include/asm/thread_info.h @@ -79,7 +79,6 @@ void arch_release_task_struct(struct task_struct *tsk); * TIF_SIGPENDING - signal pending * TIF_NEED_RESCHED - rescheduling necessary * TIF_NOTIFY_RESUME - callback before returning to user - * TIF_USEDFPU - FPU was used by this task this quantum (SMP) */ #define TIF_SIGPENDING 0 #define TIF_NEED_RESCHED 1