From nobody Mon Feb 12 17:57:09 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TYXGb32Sfz5BG1X; Mon, 12 Feb 2024 17:57:11 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TYXGb2JQfz4YlK; Mon, 12 Feb 2024 17:57:11 +0000 (UTC) (envelope-from jhb@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707760631; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Kgu6v6rrRQ4GRYPpo9Bb87xpl5NX2u/vdszDreL8q3o=; b=Is27GAQ1m2Z5quk2O/9av53a3acreJazvbll5TY14QEtMWiyu3zrdQiwA+YA4LqifthDGL gTEBPc8tv16hU6FcCiD9Ejxm1nR2VcKTgL4f9wEvv3W54V1S4hVvOcb0nlHWzLyJ0d8SuU dp+PziUoeaO5679owQrGTXVMVK0a3f24nCoCeHf/+Qeq5jE6616FV0RwUt4qimyoAyHYuj rIhARW50ZP6RTBaIcVnk7Wi6V/n2cOZ84CAH8k/l6PHzfjkXyC2MFNl0lYUKEK82ESYhHo bkczvo4pZ9YJUBy7j3wbVk8DolUisLc/tY+fbtSsMFdYavQsHiSo81o1SLtimQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707760631; a=rsa-sha256; cv=none; b=mZTbFCm/NCpAB4ChXhy+Y9JqgE6nW5jeAGjmFEkTP+Rlii+5d6y0vkQvx/hB+BUAuSYleR d4/e5Mg4FQ4SPIQ5WFxdzgekNwiY7m8g43l/QLiha1EvWq8ljEFqUAQvabDY7BGJcuoLAG mTLShQOwzW0KYCDUYPtFspX/bSV9rz39vRANFqctFIbFiE475a7GoF0VbdyCWZCsutRWG9 sx+tW9yXeVQ2nQczy+sIJkd1SruXn3eIp2cCxq5d3RRgE3opkvXNCUxgcateAwvx/hBrOI 0FB2Iwd0o1jSn4+uFZVB8JiYfRTigQypOkYUaqGfwl7PpRh5EDLtmVBjYk2CRw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707760631; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Kgu6v6rrRQ4GRYPpo9Bb87xpl5NX2u/vdszDreL8q3o=; b=byz6vRg3F7c+zDIeH+1M7xLpqlbo6EseNIZOqoWesZ3I2AloF9UKkeyeDLcbhZewIGDQmq 0icimYCiwPAtEnc8k/+AZ8aCZ6Sdk0SHCJmmnQPktiMZoHp1nU2jQEfRB4nMT6346FlYNF WMde8I0NNWD/RO+A3ANlI1sZ1XeCMKUiD1O1vMLfjv1/ZoQdq/j6nn2I1OL6mVOog/DayX XGbPFmDVK1xbR5TNtHiAMWuV2wHRrtJUzaSKLak/7ZXVtKDPr1k9x4sw7/ORu8WOqrI/pU 03TuJ7N9HJhSCeUkenpQvWZTglXSinoetF0LFbFg3cOqnGRoDxiNep1kJ/9BMQ== Received: from [IPV6:2601:644:937c:5920:4c63:23c7:5c22:d7ba] (unknown [IPv6:2601:644:937c:5920:4c63:23c7:5c22:d7ba]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TYXGZ5NhTzTqn; Mon, 12 Feb 2024 17:57:10 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Message-ID: Date: Mon, 12 Feb 2024 09:57:09 -0800 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: git: c0b8047bdc13 - main - LinuxKPI: Allow kmalloc to be called when FPU protection is enabled Content-Language: en-US To: Vladimir Kondratyev , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <202402102203.41AM3NGb006023@gitrepo.freebsd.org> From: John Baldwin In-Reply-To: <202402102203.41AM3NGb006023@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2/10/24 2:03 PM, Vladimir Kondratyev wrote: > The branch main has been updated by wulf: > > URL: https://cgit.FreeBSD.org/src/commit/?id=c0b8047bdc13040eafb162c4b7b5dba11034ff4b > > commit c0b8047bdc13040eafb162c4b7b5dba11034ff4b > Author: Vladimir Kondratyev > AuthorDate: 2024-02-10 22:01:50 +0000 > Commit: Vladimir Kondratyev > CommitDate: 2024-02-10 22:01:50 +0000 > > LinuxKPI: Allow kmalloc to be called when FPU protection is enabled > > Amdgpu driver does a lot of memory allocations in FPU-protected sections > of code for certain display cores, e.g. for DCN30. This does not work > on FreeBSD as its malloc function can not be run within a critical > section. Check this condition and temporally exit from FPU-protected > context to workaround issue and reduce source code patching. > > Sponsored by: Serenity Cyber Security, LLC > Reviewed by: manu (previous version) > MFC after: 1 week > Differential revision: https://reviews.freebsd.org/D42822 Thanks! -- John Baldwin