From owner-dev-commits-src-main@freebsd.org Wed Jan 13 10:08:40 2021 Return-Path: Delivered-To: dev-commits-src-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D5364D704A; Wed, 13 Jan 2021 10:08:40 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DG37C6CPcz4RRl; Wed, 13 Jan 2021 10:08:39 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1610532510; h=from:from: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=bvdckk2Jnh6BquFlBAMajwnkwQrf2fvjaBb9hBJsWKk=; b=OOP1ZHpq4Tg/QUQ4eZR1VGsUIx8BLnb761p+7qj6AP0rR4z5z2N2hwhBT58OYrXD5MTBc7 oj8l3wl4xrvtfqEAhP8VQV1vBiJSXMtKALQD0hCzm/WAZjwBK9uDa3I6OCN7FnmzU/Kj9S uMzmInVGHDRbWHW1iSminSIlx7fYM6Y= Received: from amy.home (lfbn-idf2-1-745-114.w86-247.abo.wanadoo.fr [86.247.192.114]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 7ab2a5d2 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 13 Jan 2021 10:08:30 +0000 (UTC) Date: Wed, 13 Jan 2021 11:08:26 +0100 From: Emmanuel Vadot To: Konstantin Belousov Cc: Emmanuel Vadot , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org, myfreeweb Subject: Re: git: 11d62b6f31ab - main - linuxkpi: add kernel_fpu_begin/kernel_fpu_end Message-Id: <20210113110826.46fbc900b3c375e7215a8195@bidouilliste.com> In-Reply-To: References: <202101121143.10CBh02x095972@gitrepo.freebsd.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DG37C6CPcz4RRl X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: dev-commits-src-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for the main branch of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2021 10:08:40 -0000 On Tue, 12 Jan 2021 15:16:55 +0200 Konstantin Belousov wrote: > On Tue, Jan 12, 2021 at 11:43:00AM +0000, Emmanuel Vadot wrote: > > The branch main has been updated by manu: > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=11d62b6f31ab4e99df6d0c6c23406b57eaa37f41 > > > > commit 11d62b6f31ab4e99df6d0c6c23406b57eaa37f41 > > Author: Emmanuel Vadot > > AuthorDate: 2021-01-12 11:02:38 +0000 > > Commit: Emmanuel Vadot > > CommitDate: 2021-01-12 11:31:00 +0000 > > > > linuxkpi: add kernel_fpu_begin/kernel_fpu_end > > > > With newer AMD GPUs (>=Navi,Renoir) there is FPU context usage in the > > amdgpu driver. > > The `kernel_fpu_begin/end` implementations in drm did not even allow nested > > begin-end blocks. > > Does Linux allow more then one thread to execute kernel_fpu_begin ? I actually have no idea, adding Greg to cc. -- Emmanuel Vadot