Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp1940248rdb; Tue, 5 Sep 2023 09:20:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE25SJFkpD6iFe1Adah5YR+Qa76I7mIIiTQFKN9S25PhJEcT3O8rrICWCwewb162Egye8Pz X-Received: by 2002:a17:907:9619:b0:9a1:e0b1:e919 with SMTP id gb25-20020a170907961900b009a1e0b1e919mr294129ejc.4.1693930834594; Tue, 05 Sep 2023 09:20:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693930834; cv=none; d=google.com; s=arc-20160816; b=ErFAWfOT3fFkv90YuQw4WiIB47B3fiGcM2PYhGOwY9VJHPBhBz+5PziW8OQ1LTzSuX BEBUjsflPr15n32zUeO9TeNI3BXvZMbfp8VuhGrPex5kecR3EcXaS8gIQdwroSl+wIWQ yWN1w+idtT9Is+1cAiwjm86Q47qT9Elc6jO1ty7Z4nDaFTbqtyNFT53oM1apsTtG3DIt r+HPyYVluLIi1DqBkuQpfXbGYHgIr4JlX9a4o6s5pef1oUFtKhM4M1DjwNfXYShkWKZk 1TzRa4fVj3H8iHYJi30SmnnI7qwjqJfsk4uS7jpXqRK+GrGRoPOwhKrgbwfibgp5JgfF qwrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=u7Ic2JgCifJ9BR0gJc8OX6iWRD9HNnkepfgcfad3kDo=; fh=PkJxtpr0FlN5aVCAnUr4isbf/0RHcxc4ZnCQoarkuNM=; b=IWK89RG9v35Xk5gp8meJowB7+0sL9b2sKIThVEj9JEkhHvb2GHY5SDtyQ4JsZF/hcJ 1Htupk3KA/6ANWbWOvRxD7JL3PE6K9FiHpptrQJfkrLPy4zpqwpkS694zjjBH6tmQlxM NJkj6iJLDmVzRogz5L/9jWvacsK4YE7XVKaGKSAd/i5mVeftYSNPef7K5fxwinNFBE/L Aeo3A/IiweFQ0hWX5FtPqHX7+OYzItotghmyP98TNfiARXLGKJ80sVzQAOxIDH+dV0l0 HF6QZsZVwqeYdDVxHYX1kqYz3h/10kWApuNxXxRAFbuGWMFCfGo9lL0DQ5QE0zL/QM+C mk/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="fX3/IOFK"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t14-20020a1709064f0e00b0099cd1c0cb1dsi7254810eju.388.2023.09.05.09.20.29; Tue, 05 Sep 2023 09:20:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="fX3/IOFK"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350417AbjIARbB (ORCPT + 9 others); Fri, 1 Sep 2023 13:31:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231339AbjIARbA (ORCPT ); Fri, 1 Sep 2023 13:31:00 -0400 Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B354CCDD; Fri, 1 Sep 2023 10:30:57 -0700 (PDT) Received: by mail-io1-xd2f.google.com with SMTP id ca18e2360f4ac-7927f36120cso81095139f.1; Fri, 01 Sep 2023 10:30:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693589457; x=1694194257; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=u7Ic2JgCifJ9BR0gJc8OX6iWRD9HNnkepfgcfad3kDo=; b=fX3/IOFKa4wYzloFLDAIQsaGuP3u0+R5E5YCdaXxh4HDRF/n8KTjDNcJJR4nnq9D4c PSHVnL/ZDs+vO7deOy8WJddcaKblMykrG96ml1EXsYOjf2bdgMm5VTD3TbSM6OfIhOS2 fMe5p5B1v0jE4e/DIKck8IB2CPRpGi9cLbnvWm6WXfZ/LxLTLIkzqH0jM4AUuSWW6yVO TO2Vxewe+ey2xffaoID72PNU8CZc9fEizck1MlY5s/Bqz9kpHcyVd7JzIIn/tktgyxps 6+ZUJCkOxRuSzyrAeNnuo06G9P14xkNI/VYWdbYSh+CH8X4YnQmvc7b1KeAdolnv333w YcGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693589457; x=1694194257; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=u7Ic2JgCifJ9BR0gJc8OX6iWRD9HNnkepfgcfad3kDo=; b=fzj2pFaSplQq0P49wyX6VTAzaIyBET655xR2eHGmACQjQ//VbJb80SIomPQlsBcHpu Zl3QPc+vrPhzAF8nJ0ZFGKOBhUDROEdiYiyjoUPZajWpCWPA6LlUVd92yq3WknGGLHp+ kPmqk1wioPm/UR8LGB2FIuNqLiJ+ABc85WHAnRCzof+y91e0KjjbHTXfBoMPRKyLKhAV XvRYr0RPWBY50xBcLA1BDgqGOIs/+k1WRw/sxFvMIlC7x/CpXq9/st+oAhphRabzGn4P uvSUP4dGPYeHEFFOz8PlUvKYFZP6r6Z0LK7AgR6CMucbSSlg+RWBTf1OKmXIv4xhjq3B 1a9g== X-Gm-Message-State: AOJu0Yyq2f9lIY64wSwq9eN1XYW078mzgG1djCS1ECbgnUYicUGqdm/9 lc+bt1II47lScyg6F9U8p6o= X-Received: by 2002:a6b:7f46:0:b0:791:2db5:c779 with SMTP id m6-20020a6b7f46000000b007912db5c779mr3826112ioq.10.1693589457075; Fri, 01 Sep 2023 10:30:57 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id f23-20020a056602039700b007836252a084sm1178665iov.48.2023.09.01.10.30.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Sep 2023 10:30:56 -0700 (PDT) Sender: Guenter Roeck Date: Fri, 1 Sep 2023 10:30:55 -0700 From: Guenter Roeck To: Thomas Gleixner Cc: LKML , x86@kernel.org, Linus Torvalds , Nikolay Borisov , "Ahmed S. Darwish" , Arnd Bergmann , Russell King , linux-arm-kernel@lists.infradead.org, linux-ia64@vger.kernel.org, Huacai Chen , WANG Xuerui , loongarch@lists.linux.dev, Geert Uytterhoeven , linux-m68k@lists.linux-m68k.org, Thomas Bogendoerfer , linux-mips@vger.kernel.org, Yoshinori Sato , Rich Felker , John Paul Adrian Glaubitz , linux-sh@vger.kernel.org, "David S. Miller" , sparclinux@vger.kernel.org, Richard Weinberger , Anton Ivanov , Johannes Berg , linux-um@lists.infradead.org, Richard Henderson , "James E.J. Bottomley" , Michael Ellerman , Chris Zankel , Tom Lendacky , semenzato@google.com Subject: Re: [patch 17/17] x86/fpu: Move FPU initialization into arch_cpu_finalize_init() Message-ID: References: <20230613223827.532680283@linutronix.de> <20230613224545.902376621@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230613224545.902376621@linutronix.de> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Jun 14, 2023 at 01:39:46AM +0200, Thomas Gleixner wrote: > Initializing the FPU during the early boot process is a pointless > exercise. Early boot is convoluted and fragile enough. > > Nothing requires that the FPU is set up early. It has to be initialized > before fork_init() because the task_struct size depends on the FPU register > buffer size. > > Move the initialization to arch_cpu_finalize_init() which is the perfect > place to do so. > > No functional change. > > This allows to remove quite some of the custom early command line parsing, > but that's subject to the next installment. > > Signed-off-by: Thomas Gleixner The backport of this patch into chromeos-5.10 and chromeos-5.15 via stable relase merges is causing various Chromebooks (not all of them) to crash early during boot. Subsequent fixes have not addressed the problem for us, so we already reverted the patch from chromeos-5.15 and will revert it from chromeos-5.10 as well. I don't know if this is a Chromebook specific problem, or if it affects mainline, so this is just a heads-up in case others experience similar problems. Thanks, Guenter