Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp1236883lqt; Sat, 20 Apr 2024 06:34:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUjMNaZOHqx1+g1qKIBR1bVY7XGqzeRU9xbvS8JP9BBeEWV1pM7FXVYOIvNcSPtZysv7wi4Wq0qeJel2HMTiLrvQdjtjerHxDwFSs0ikw== X-Google-Smtp-Source: AGHT+IGAqWQvKd3v/1gScMjeGeWjxBANJ5YWlIwVMg3at7wSxLtrlKe4LaPy49nNiDn/ZIw058J1 X-Received: by 2002:a05:6a20:734f:b0:1a7:9476:6cb9 with SMTP id v15-20020a056a20734f00b001a794766cb9mr5869748pzc.32.1713620062005; Sat, 20 Apr 2024 06:34:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713620061; cv=pass; d=google.com; s=arc-20160816; b=oIv3MIrGDRvvMO1sXsd2QSXv3YDSNVZAiZ9tpUGIUQOE2mFG5vNn5JC2uXcvPctWT/ qD+bpXGcolwUhfl2mgIEBz5/r3122R72QRYEzvAmqFwmRhX9+GpEM/p0byldBcAh5j9I BoN+slLi3oLAeaei3AluQK/m7M6UyE7w1eInJWF23iafNQY0bf7rSryiwQNY/JlwqMdV E3eicquLBvonqEgHUD97cEvK3HTI11/2uNXlMD8Wt1qxykq3bI/wC3hCbGsEqeOOHnZ6 8kxy8/Q40rDLd16jSVr3dqR0MIOyWAn2F1QAJ/Wc1NFYRp/VZDTSmdscRfsvv4cTUpw5 9BGQ== 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; bh=w8wocBKIVpiBGcyzGZwoaDWPojYYzQ0iXkySmMN1sE8=; fh=WXgf5jBuJQs7a7EeYxEcZ1i/4hT7hW2lNSI3xIrG+As=; b=DnP+Tmzg4M/pTCuPEif5dH5WlyOxrRdE/lIsBfarzYy10E1BXCeYHjb4ehfGT3N6ah OvglAPwSZaggZmy4zTl0x0QjDqkKi+oDEaY6w4cbzSL58/4dEe+rPYmF7BELHlULVisO 5nV0r2wNAtWdJ6ngDRcgTWDDOhVJIILbRDCcNPCOGBY/qx/obloV/x0Yu5osbi263LWi WuW0/xw1WoJ3fsdxFpmJt/IMnH0Lc4dzEpIQE0BQ9td93l5qw+85RePv2vjD2FeqoNR8 73rZxTs/L+yPaAupgOhgvmKguXKw2t0n4qENpdP4oeubATkS1MODu+gjYKmIHwqxh3kT RUiQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-152277-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152277-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id e23-20020a633717000000b005f7fef696c5si2718671pga.39.2024.04.20.06.34.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Apr 2024 06:34:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152277-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-152277-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152277-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A1522B20E88 for ; Sat, 20 Apr 2024 13:34:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B178B20B27; Sat, 20 Apr 2024 13:34:11 +0000 (UTC) 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 426C620326 for ; Sat, 20 Apr 2024 13:34:09 +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=1713620051; cv=none; b=kJZTe6YkehKnazRd7eje3mvCK8EWMoMhVL5QWPrHiT7/wAsD4XfduB34ak8x809fvYpWLeQK02tItLnVkYRvL01wTD3v1ESzhItDyvTWY5wVP1N1k9/IO5Xd8LjntjpcOTG6VcN6n2LZSUm7fe0vwmapT+w7Yn3TtVUfnvmEWwo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713620051; c=relaxed/simple; bh=34aS6cpH3s1r3ufWgrdGf6jYNdujQFecNb+c7EnVrhM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jh5jQOt5O8T+no6tJgvQ6qSfNy+6Yz+RDk6dEdExIqJ2XmgtX3pmse4Pt6hWUgWDa5ZcrCVYawoSliaZEHQ4n8zHCbB8TlPGs3pIOAgGVhDbZRRpq+YOHx/OnM5lcqFpVc4ZurvMDjqsfKEQH9d/n3eDoBFRi5AaqV0C/SNvBlQ= 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; 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 0694E40E02A7; Sat, 20 Apr 2024 13:34:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.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 5idNBZHkaehm; Sat, 20 Apr 2024 13:34:03 +0000 (UTC) Received: from zn.tnic (pd953020b.dip0.t-ipconnect.de [217.83.2.11]) (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 5934B40E00B2; Sat, 20 Apr 2024 13:33:49 +0000 (UTC) Date: Sat, 20 Apr 2024 15:33:44 +0200 From: Borislav Petkov To: Sean Christopherson Cc: Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, Peter Zijlstra , linux-kernel@vger.kernel.org, Stephen Rothwell , Michael Ellerman , Geert Uytterhoeven , Josh Poimboeuf , Will Deacon , Linus Torvalds Subject: Re: [PATCH v2 0/2] cpu: Fix default mitigation behavior Message-ID: <20240420133344.GBZiPEOP5c8Ffe47BZ@fat_crate.local> References: <20240420000556.2645001-1-seanjc@google.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: <20240420000556.2645001-1-seanjc@google.com> On Fri, Apr 19, 2024 at 05:05:53PM -0700, Sean Christopherson wrote: > Linus, I Cc'd you on this as patch 1 fixes a goof that causes mitigations > to be completely disabled on all !x86 architectures, and it'd be nice to > fix that in rc5. There was a decent bit of discussion on how exactly to > juggle the Kconfigs, and so I don't expect anyone to include this in a pull > request for rc5. > > The discussion didn't fully resolve, i.e. this hasn't gotten a thumbs up > from the affected parties, but I think/hope my approach here is minimal > enough for other architectures (just restores previous behavior), and > shouldn't result in a huge amount of churn if we decide to go in a > different direction. > > TL;DR: please grab patch 1 directly if you think it's worth squeezing into > rc5, and isn't completely crazy. Agreed, we should have some sort of fix for -rc5. And I don't see anything wrong with it and the aspect that other arches should get their previous behavior for now makes sense. And we can always bikeshed this at large until it is settled. So patch 1: Acked-by: Borislav Petkov (AMD) Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette