Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2870903lqz; Wed, 3 Apr 2024 10:50:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXKVcOcoV/zcuW9Ll7+pcqyJwfglB0ijgHQkYreEwZ06tHquwyHoPpDSKqNloVuQ7xyOSCjhJAKqkazXZ4uket+tSRii4pnSkXDHZQqFA== X-Google-Smtp-Source: AGHT+IE3tDpQ75qdd42yPJRaEln5RWK6XsDYRupdK2gDjVjxGhTs2F1NKyOvVLu9YIr2ZZBcHqo+ X-Received: by 2002:a05:6122:8c8:b0:4c0:2d32:612f with SMTP id 8-20020a05612208c800b004c02d32612fmr11601942vkg.15.1712166650716; Wed, 03 Apr 2024 10:50:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712166650; cv=pass; d=google.com; s=arc-20160816; b=NSY4L/NrbmY1PpTVVkUiC4h9TTxhB0qDSyKAgHGAve+Cx2S/noyIcUTnKV10HD9fsx SUS2xKBdTE0cFn4MXflQFdYkb1r036MqjsUpCvuds6B1PX/EI8str0k2ZdeKubzFCjdx nSYC7e/bH3rzbkSDWbsxWzV3RjBvK54rJ55o7nFyDbFFiUSc3p6CHvMAplVcOR4inRGM erQn7bgkiN0spD7A9zqca/0+3mQqjrJ8Vn3IinOWCOrsBPS2+3vq0I2u1oBJ1FDAV4py Y/YfUlmZ0+Ele/oAtuLUsipe2CT2GtFjOTtzt3ji9ioX402SX2jgaxWb5wefk0nGcLQi m8Hg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=SqzbwmgaxncEHBb2O8Cg95rsLFDj7m8knponlADWYWM=; fh=Cp35t7Uv5sB6SszipJIMbWknPoRZr+EMk8msccMwrX0=; b=RRQmzrKnALLX/JLo8kk1eiUmrC104ZnPjIRmIlYVRfoh/0FUdpk8bEGpkuT/65OlrC Gt5sGAZ29JxQ7/RQnUu6fUFuNo9UUKDjTpRIFJ0b6lzEDx7XjQeRVePXtYPB2j0z0YzD seM5YN0+alTeqf7QOKiHHz4HsXcybgmo/Mu2BuR/Xed+UmByx/oeidNaz2PJXrIvIGUp mIlBm8369laOctEg5NKcuTl2aRu4j/OTVXaqj3yObz3YmQpZF8rIqg5dm5doGnULXYzS bkJNdMtZr0ZrIPUF24iAC+6GhmJNVwYytLx/Fe39Za18MZWwM3qQ47IXwNUdGA8a8/c3 tkzg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=GclBP5ub; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-130378-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130378-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id l15-20020ad44d0f000000b006992385f17csi2923211qvl.483.2024.04.03.10.50.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 10:50:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130378-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=GclBP5ub; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-130378-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130378-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id F1EEA1C23975 for ; Wed, 3 Apr 2024 17:50:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A8960156F49; Wed, 3 Apr 2024 17:31:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="GclBP5ub" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (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 3F3FE153822; Wed, 3 Apr 2024 17:31:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712165483; cv=none; b=Y1cj0Lyy0XQJauKwnDX3IhDSFMWLlwbgmDccGzcpk/51UlwdWWK7GUb0ghp5pKVeMFuvwZtRafEY0B6+QMeAjVeLt+9ONafiNTRx6fBFIFm5JIGGuzb3BssT+2hHXJY+tNZ7jhA77UUpYb4k1T12xPHSAKg/MQxitxgmXaXy+qM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712165483; c=relaxed/simple; bh=p8kFOHHCyWwKbveWt4IGtYlKJWXq91L+5BVvJtaXKVc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=K4vQ/RtwAtJapjj6DcL0jPXPWcGrmO9GNpkFUSPV0goMzr4PTJmqs4wWa3BLKwgFKP2KIc7e933CkcS6b8PQ5nKC4lDNVhuGbzhXoXexUIwOVQSwHEjE0DkFdPMF2d7gk3fRHzeXkctx42nmSVEUmzsFYH7ea556alnhzjjNuwg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=GclBP5ub; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 11D3940E019C; Wed, 3 Apr 2024 17:31:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id qDuJysMCZqxA; Wed, 3 Apr 2024 17:31:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1712165476; bh=SqzbwmgaxncEHBb2O8Cg95rsLFDj7m8knponlADWYWM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GclBP5ubHAxrweyKt+dmOSMJD06C9mga7MqTNKDl07owy3DYm3qc0nD3J2VdWGbBZ Uy/WjCAMFC+lulX1n90ArsRZcq+BfSWrJ3wQH3DzLPvQ1CH6NO0o5AtqvhUde6PG58 ph2cV2MWY2lIIMOYsbInaQoBXBR4ATPxo0EqNUI2Gx2gIaX3vY3BkTwaubmhqpAov1 yWZgjdNMuQ6ldV2FPTp8SvoNqo7kNvXN5o4EWdywiK0qpObr8MpfVNkEJJIOK3HPM5 QyiCFzHZCwArrMnjb+BRggNbH4A/1EOav0/s24Jiazxk1UAPrffbKdDDzNdPRCXUP0 JguCK+UZszaG8vWgHUUzVg5iZ53QjtH4u0Gox84a2ISxThqJaTZGXcqGLP5eN39pti 2JCuf0pVUEm0R2jPKv2cyZQbTXBlj23ejO+VPrYbbWg8Ny605r8RpkiCqgzxFiN9+N UooERxKEwjHH/UCp+Ehnecw62Hi/dLKbbOluwkE2/sgNUGtBKR2XCGyuL0FRuKNVb5 pvaDlXIYhUbbJSp8+Hir5CyZQ4ahgt72FVhZB6Dm/LMqGIZhjWuENdy160Vwh1d723 x7NEbWHDrZxS4fHEcpYxSvfXqQO4GeVH4cDXNhnjWYLi31DpN5GA7glY8W5gpAeXlI 6IVspoKqV26XDWoCX4nrPC3g= Received: from zn.tnic (p5de8ecf7.dip0.t-ipconnect.de [93.232.236.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 5A12540E00F4; Wed, 3 Apr 2024 17:31:07 +0000 (UTC) Date: Wed, 3 Apr 2024 19:30:59 +0200 From: Borislav Petkov To: Klara Modin Cc: Josh Poimboeuf , "Kaplan, David" , Ingo Molnar , "linux-kernel@vger.kernel.org" , "linux-tip-commits@vger.kernel.org" , "Peter Zijlstra (Intel)" , "x86@kernel.org" , David Howells Subject: Re: [PATCH -v2] x86/retpoline: Ensure default return thunk isn't used at runtime Message-ID: <20240403173059.GJZg2SUwS8MXw7CdwF@fat_crate.local> References: <20231024201913.GHZTgmwf6QMkX8BGbo@fat_crate.local> <20240103184656.GEZZWroPmHLJuP6y5H@fat_crate.local> <20240104131210.GDZZauqoeKoZGpYwDd@fat_crate.local> <20240104132446.GEZZaxnrIgIyat0pqf@fat_crate.local> <20240104132623.GFZZax/wyf5Y3rMX5G@fat_crate.local> <20240207175010.nrr34b2pp3ewe3ga@treble> <20240207185328.GEZcPRqPsNInRXyNMj@fat_crate.local> <20240207194919.qw4jk2ykadjn5d4e@treble> <20240212104348.GCZcn2ZPr445KUyQ7k@fat_crate.local> <78e0d19c-b77a-4169-a80f-2eef91f4a1d6@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <78e0d19c-b77a-4169-a80f-2eef91f4a1d6@gmail.com> On Wed, Apr 03, 2024 at 07:10:17PM +0200, Klara Modin wrote: > With this patch/commit, one of my machines (older P4 Xeon, 32-bit only) > hangs on boot with CONFIG_RETHUNK=y / CONFIG_MITIGATION_RETHUNK=y. I wanna say your old P4 heater :) is not even affected by the crap the return thunks are trying to address so perhaps we should make CONFIG_MITIGATION_RETHUNK depend on !X86_32... -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette