From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C68AC2C9D for ; Wed, 5 Jan 2022 15:21:19 +0000 (UTC) Received: from zn.tnic (dslb-088-067-202-008.088.067.pools.vodafone-ip.de [88.67.202.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 6DA781EC00F4; Wed, 5 Jan 2022 16:21:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1641396073; 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:in-reply-to:in-reply-to: references:references; bh=60sZy1n1opr5VqrLvNtyneuBS/LpQn1g43b/HUiP4ik=; b=USZxIMKja30KjTyaWqEOEv7mqiBxm1iOJxOoC5NuSPpefa8Bc0U7t810V5qq4Sw2sReq8O XYxBN8u2AMrgzksYNxLJXRvgQ69GLWnVUEI76mNyfSmjDrWs3UW0uEteOtvxZT5h2Pk/5c KW0b1XPRjLmEH10UnvReNfik1diI7VA= Date: Wed, 5 Jan 2022 16:21:15 +0100 From: Borislav Petkov To: Yin Fengwei Cc: Marco Elver , Carel Si , Joerg Roedel , LKML , "x86@kernel.org" , "lkp@lists.01.org" , lkp , "bfields@fieldses.org" , "llvm@lists.linux.dev" Subject: Re: [LKP] Re: [x86/mm/64] f154f29085: BUG:kernel_reboot-without-warning_in_boot_stage - clang KCOV? Message-ID: References: <20211216115838.GA23522@linux.intel.com> <20211221143153.GA4676@linux.intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: On Wed, Jan 05, 2022 at 08:47:28PM +0800, Yin Fengwei wrote: > it's better that clang restore its behavior to clang-12. Probably, but I'm not gonna hold my breath - folks are likely very busy... > Or people need to use __no_profile annotation if want to add function > before GCOV/KASAN is initialized. ... yap, and because fixing it this way is easy, I've already queued the __no_profile solution: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=x86/mm&id=b64dfcde1ca9cb82e38e573753f0c0db8fb841c2 Thanks. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette