Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp320548imj; Wed, 13 Feb 2019 08:53:46 -0800 (PST) X-Google-Smtp-Source: AHgI3IZqcj+3vjV1UIiBUqZTADU1esUazkEHDC4iTvvxyxTJbYuX2cK7fwuW9cm+8wImgUv8HqU6 X-Received: by 2002:a63:535c:: with SMTP id t28mr1333593pgl.128.1550076826293; Wed, 13 Feb 2019 08:53:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550076826; cv=none; d=google.com; s=arc-20160816; b=RLMCU6/UUnrD06dyKI/MdWILcrOHOIARcwRFmTecx/uk0FXmb8nhrqCKyAtuchl4xC +IOYhVwf3rOHjovUL6C3Qq52YYoENPSXjhFy/FW67gXPQ+D4II/4Epw2NZmR9noQfJsK FilbRCOzs1H9rSbOgxqwtf6kHnDcNdTzH5xBVcWoMBhIvRPz/GPyFncpF65fvbcwWDGO 379UBIiqToSPoiod+p9IOgO2UED4Yq7QQm872D9CyUMJZvXUZjcF1p6CIwn2uHgYj3mf qwAWpaP5+Y4mKuwaH03IPCJ3YZ20vRKys0TZ2mdRCCI5aFYmy+UOmtVSaKuug0r1Tmla AQ2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=lgZ/x7NO6p8zddoNONW/CGhXIK0Vnr78Q6JkrtgfbNo=; b=cz5QZGktloiYQF3oGzui1KRP51QtNqD6rZTFbpOplDo70PgX9V+/Gp4HrEsnXjEUM4 MX25iLaJaP9O1JvFRsgQUIBK0N3RXm7tyoLOvlgP9ehUSJ1qx+TJDVFySkmyfXDVqL/1 JNVkGy8Ru2Vnw3MrhmelRcJWnK86l5alKqmhotkF3e36fiQLIx/HKxaUzqIt7OcBxhHH nN0/9XTAttHiIHXVYIAA6JJ74onAaSsjE9o1j+m1lgXRKZnCBGw0qJOzvEJH7eeHswDu Twt2kz/1y+7DMdCYWp6RYWFPVbSe9lIj/b0N9lOnZm0vEQ4KbVFBoCAFNrnOlxzhbXlG vonQ== 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 n7si6569310pgr.384.2019.02.13.08.53.28; Wed, 13 Feb 2019 08:53: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 S2392772AbfBMQwb (ORCPT + 99 others); Wed, 13 Feb 2019 11:52:31 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:47108 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388561AbfBMQwb (ORCPT ); Wed, 13 Feb 2019 11:52:31 -0500 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1gtxlr-0007o8-E2; Wed, 13 Feb 2019 17:52:27 +0100 Date: Wed, 13 Feb 2019 17:52:27 +0100 From: Sebastian Andrzej Siewior To: Ard Biesheuvel Cc: Dave Martin , Julien Grall , linux-arm-kernel , linux-rt-users@vger.kernel.org, Catalin Marinas , Will Deacon , Linux Kernel Mailing List Subject: Re: [RFC PATCH] arm64/fpsimd: Don't disable softirq when touching FPSIMD/SVE state Message-ID: <20190213165227.7ekekkxazhbaqxoe@linutronix.de> References: <20190208165513.8435-1-julien.grall@arm.com> <20190213143029.ad2kzg7vtuo3zpjk@linutronix.de> <20190213153630.GK3567@e103592.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-02-13 16:40:00 [+0100], Ard Biesheuvel wrote: > > > This is equal what x86 is currently doing. The naming is slightly > > > different, there is irq_fpu_usable(). > > > > Yes, I think it's basically the same idea. > > > > It's been evolving a bit on both sides, but is quite similar now. > > > > may_use_simd() only exists because we have a generic crypto SIMD > helper, and so we needed something arch agnostic to wrap around > irq_fpu_usable() My question was more if this is helpful and we want to keep or if it would be better to remove it and always disable BH as part of SIMD operations. Sebastian