From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 914B8CD11C2 for ; Thu, 11 Apr 2024 01:03:01 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=xNMmRbOw; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4VFLz76H9nz3cPm for ; Thu, 11 Apr 2024 11:02:59 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=xNMmRbOw; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linaro.org (client-ip=2607:f8b0:4864:20::52d; helo=mail-pg1-x52d.google.com; envelope-from=thiago.bauermann@linaro.org; receiver=lists.ozlabs.org) Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4VFLyK0PJhz3btk for ; Thu, 11 Apr 2024 11:02:14 +1000 (AEST) Received: by mail-pg1-x52d.google.com with SMTP id 41be03b00d2f7-5d3907ff128so6035973a12.3 for ; Wed, 10 Apr 2024 18:02:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712797332; x=1713402132; darn=lists.ozlabs.org; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=kLD5kpB2LP2j5uUBOjlchyyyLOgJsQ4KSunDLcwJfvc=; b=xNMmRbOwfIvmBJkCoGS4+zS5xIFSu1zfPW3QdND+7nRJhPlEZrw3GJ3T3pA3g1Ksrn sP2G5AKw2Cj3jpmnIVxkn1v1Jb6wDfk6pK4QWLIYj2Ouey8qEcy9cdqnv5xH7MYVkX0n QM/XS9EHLfUvayv4lZSkbKJPSofoR5WWGk7eJPUekTsVbozV8bAn5wPqHO66oKK5Q3b4 V7+IDdFobFui8lxCNJr4GCkBoArdtgHZ3zcobfRYTKt7i1gvzio67aNZJgNdwSPYB2as kL5iu4Xyz2KF9u+wkxMQr4JMhbnriwhIX2w1/uoIU3GuOz9sCU65Tj70Utbf+Ada1UGV 0N2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712797332; x=1713402132; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kLD5kpB2LP2j5uUBOjlchyyyLOgJsQ4KSunDLcwJfvc=; b=Mi7j3gfZo/Bas7/z8862ITNz9Tx/IozTBGsazvz/LpB9SqyMIR3bW2cytak8XshKDq t4jrs5kd80qOseKvBSqsOjFPUW4VVKu+wwGuHvae3QSgOmvovCdvtcHziC7WHAfNdQPz A5BfBJ1thKSFNKuD0i+82ZMgouvbcXFs5yI4xpqGGthHvuVnHnNdistSfIF3SRt2nDw7 OOd6ZJy1JOhtTbuK9R84f/UDfa+qwcVevidJRtRPEtCiidDweBkzk2meoAyiARkPkZps LQtJMtFdhmcV/uslY/XcPL5D+lLvDdg9VnfT6iuYVUQEPndzjiS2zTtDpzHeVklrpg50 JaQQ== X-Forwarded-Encrypted: i=1; AJvYcCWSrFFfyLm8o0NH/NYYAMdRCtyCIFGPZ5/BPCPWIurrE9noMJ4T4iLFtF8N2Ly+B3He7EoswYqYM9K3DgK269JFzDKr6GMy6gbQqilp2A== X-Gm-Message-State: AOJu0Yw/fBQXhHpfc/6pOR78L9Vb+3uCedlf9LV1AF6LeZYacQdJAw3H +wK7C6s+LuZHSaYp7GZCz/oCeDv8A180C5ZOjWbG5jl8eYYkZ9VeuC6ocq+nF4Q= X-Google-Smtp-Source: AGHT+IFCQFsX0y012c0RYVyy1pzruF/1YvRQvQO3mIZBA6xLw4Uhegn+z6nHl9NsGJg7fqoOGUPO2w== X-Received: by 2002:a17:90b:3643:b0:2a5:608e:1012 with SMTP id nh3-20020a17090b364300b002a5608e1012mr4531315pjb.21.1712797332116; Wed, 10 Apr 2024 18:02:12 -0700 (PDT) Received: from localhost ([2804:14d:7e39:8470:fcac:9b42:fe81:c62f]) by smtp.gmail.com with ESMTPSA id q4-20020a17090a68c400b002a22c8e99afsm248176pjj.12.2024.04.10.18.02.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 18:02:11 -0700 (PDT) From: Thiago Jung Bauermann To: Samuel Holland Subject: Re: [PATCH v4 13/15] drm/amd/display: Use ARCH_HAS_KERNEL_FPU_SUPPORT In-Reply-To: <75a37a4b-f516-40a3-b6b5-4aa1636f9b60@sifive.com> (Samuel Holland's message of "Wed, 10 Apr 2024 17:47:27 -0500") References: <20240329072441.591471-1-samuel.holland@sifive.com> <20240329072441.591471-14-samuel.holland@sifive.com> <87wmp4oo3y.fsf@linaro.org> <75a37a4b-f516-40a3-b6b5-4aa1636f9b60@sifive.com> User-Agent: mu4e 1.12.2; emacs 29.3 Date: Wed, 10 Apr 2024 22:02:09 -0300 Message-ID: <87wmp4ogoe.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, Christoph Hellwig , loongarch@lists.linux.dev, Alex Deucher , Andrew Morton , linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-arm-kernel@lists.infradead.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Hello Samuel, Thank you for the quick reply! Samuel Holland writes: > On 2024-04-10 5:21 PM, Thiago Jung Bauermann wrote: >> >> Unfortunately this patch causes build failures on arm with allyesconfig >> and allmodconfig. Tested with next-20240410. > In both cases, the issue is that the toolchain requires runtime support to > convert between `unsigned long long` and `double`, even when hardware FP is > enabled. There was some past discussion about GCC inlining some of these > conversions[1], but that did not get implemented. Thank you for the explanation and the bugzilla reference. I added a comment there mentioning that the problem came up again with this patch series. > The short-term fix would be to drop the `select ARCH_HAS_KERNEL_FPU_SUPPORT` for > 32-bit arm until we can provide these runtime library functions. Does this mean that patch 2 in this series: [PATCH v4 02/15] ARM: Implement ARCH_HAS_KERNEL_FPU_SUPPORT will be dropped? -- Thiago