Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp688270rdf; Tue, 21 Nov 2023 13:40:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IEg0zslwnqQG6Gge86iWOwRQa/k6nUGe0RgZLjqE014vbmGIwXX16bHtNeyPqtDii/lPnNT X-Received: by 2002:a17:902:db03:b0:1cc:4467:a563 with SMTP id m3-20020a170902db0300b001cc4467a563mr501986plx.3.1700602815018; Tue, 21 Nov 2023 13:40:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700602815; cv=none; d=google.com; s=arc-20160816; b=F8JcOpKkoesj3hIbN1unNxslHCy/c9x65H0G+NqBCsQWU8ERZYgojoWaExw2W1fBEE Tu9E9RJj8TXHCq5uAhqoaZ29B+F7P4YnpTMAHptCBljS3jTDr6e8OGm80rxvO6tKJsQv kKx4Hf3XxCTbaJnq2+ZOQF1mZwBSjgvypBNp/PryXSkr3QNZ0k0LsidYLved25OdhZpx HD3JbnGy8qdq5QbAuZDx6jgCGHbjZCo3UT/51TjBg1l6bNJi0vD0kZUPHizj/H4UzJ1q MNoO6pXmAY9f4/vQEXWUR2LelkWWABNH+c5IzFCoKxG2t+2vjFwq04ksuPOhIKyx5e5E u7cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=oMnYhJxbataMikTBoJULk1+mgkHXuKMVfYl9DIo5qMs=; fh=hfZB99cgAfifnZ1iBOkeDOErMM1nLdTfuhSZlxeRTtg=; b=z0IKErvFPbMQXfafa6p2oI0ty2pskMRVGpB90CozhM/4FUI/PdXVevRFRJjQKAobuh FH7xNr0cryG/dKwPpWJ7jGc+Yg/FayAVDGrwUdYrKmi8juWYGKjhLd335NW3Da4GH93a 8IGbECEciqNdHhJL9oBIE/efpzLmKU5Uzo83QCCLa1A9JJOlLzEZZVfdr8lMyGp0Ikp1 izOct/0HoJIgFhRr6E0VMOFL6tbyEFgsjwAehJ6GrN0tG98sObuREdtD/EOHMU5ecsDf I0Vham3NVs6xXXbWSnLoKZuYHy43wvq0Z+QDrHow6HO0WAt7H8hfd8Q+9Ih0Yja5qcCi RPhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@citrix.com header.s=google header.b=dx3FzTng; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=citrix.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id k5-20020a170902c40500b001cad3a744aesi10690509plk.153.2023.11.21.13.40.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 13:40:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@citrix.com header.s=google header.b=dx3FzTng; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=citrix.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id DF2358022E77; Tue, 21 Nov 2023 13:40:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234579AbjKUVj4 (ORCPT + 99 others); Tue, 21 Nov 2023 16:39:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234574AbjKUVjy (ORCPT ); Tue, 21 Nov 2023 16:39:54 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CCAE1AC for ; Tue, 21 Nov 2023 13:39:50 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-332c0c32d19so2400391f8f.3 for ; Tue, 21 Nov 2023 13:39:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1700602788; x=1701207588; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=oMnYhJxbataMikTBoJULk1+mgkHXuKMVfYl9DIo5qMs=; b=dx3FzTng9XOx/1klbrKb5ho84FmMKHLb9Ys9+m/5o9Nyjp55grKy16s+5Smaq64vom sWHpfhgXLodKJJeX5BQZz3oI2ugutjmd1PN+reM7mjJPDWg09KtXjevu3fbLrkcjzplc YL6uYMgBzSvO6l5FBnmW+LetRc3R6e0R/7d6g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700602788; x=1701207588; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oMnYhJxbataMikTBoJULk1+mgkHXuKMVfYl9DIo5qMs=; b=vd2lH1ehJLRVJI/FcnOmI9+wqiDfrEg7q8ybAJD4Y+SfYKF8cnYilQ3wUzFan/IuId kGPcAz+qPKAK2gEmNpWGSoE8NW75eytl+ibAzMfIc6Rj2uhq05LJut3DIzIOWq2pk2fr M5vhBxngFHLz+L1i8wpftQAFiNSZEd2FLINHjnOmP5OA825GBZBdFjBunvuRAWdFg87A 0XtUsz42hQKrhwl17Ixz0Hg0SAgE5lgiTNJ9RXYw6c7/yClq7JTL590A2u4H73D7q4zl LZGOjdGznJKQX1fw0V2kkxALI2zlCJf5p2TvhByuq7kSZFwNkJSv7FhKyQfliJjp8W0g j7DA== X-Gm-Message-State: AOJu0YwnXtC3Sdq6ZG7FwuqX3XuMX9S1Ufysm+L8YwhBFEGZ2GGbbI4p GTSPGz9npENQq+Yed1YpBF4iwQ== X-Received: by 2002:a05:6000:1881:b0:32d:a10d:90dd with SMTP id a1-20020a056000188100b0032da10d90ddmr194458wri.50.1700602788574; Tue, 21 Nov 2023 13:39:48 -0800 (PST) Received: from [192.168.1.10] (host-92-26-107-252.as13285.net. [92.26.107.252]) by smtp.gmail.com with ESMTPSA id x11-20020adfffcb000000b003316b8607cesm14520842wrs.1.2023.11.21.13.39.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Nov 2023 13:39:48 -0800 (PST) Message-ID: Date: Tue, 21 Nov 2023 21:39:47 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 10/13] x86/bugs: Rename RETHUNK to MITIGATION_RETHUNK Content-Language: en-GB To: Breno Leitao , jpoimboe@kernel.org, mingo@redhat.com, tglx@linutronix.de, bp@alien8.de, Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Peter Zijlstra , Pawan Gupta , Jason Baron , Steven Rostedt , Ard Biesheuvel , Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier Cc: leit@meta.com, linux-kernel@vger.kernel.org, Ingo Molnar , Lukas Bulwahn , Sven Joachim , Ian Kent , Yu-cheng Yu , Kees Cook , Rick Edgecombe , Kim Phillips , Juergen Gross , "Kirill A. Shutemov" , Randy Dunlap , Jinghao Jia , Vincent Whitchurch , Arnaldo Carvalho de Melo References: <20231121160740.1249350-1-leitao@debian.org> <20231121160740.1249350-11-leitao@debian.org> From: Andrew Cooper Autocrypt: addr=andrew.cooper3@citrix.com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k uAJyDDKN99ziC0Wz5kcPyVD1HNf8bgaqGDzrv3TfYjwqayRFcMf7xJaL9xXedMcAEQEAAcLB XwQYAQgACQUCUuE2fwIbDAAKCRBlw/kGpdefoG4XEACD1Qf/er8EA7g23HMxYWd3FXHThrVQ HgiGdk5Yh632vjOm9L4sd/GCEACVQKjsu98e8o3ysitFlznEns5EAAXEbITrgKWXDDUWGYxd pnjj2u+GkVdsOAGk0kxczX6s+VRBhpbBI2PWnOsRJgU2n10PZ3mZD4Xu9kU2IXYmuW+e5KCA vTArRUdCrAtIa1k01sPipPPw6dfxx2e5asy21YOytzxuWFfJTGnVxZZSCyLUO83sh6OZhJkk b9rxL9wPmpN/t2IPaEKoAc0FTQZS36wAMOXkBh24PQ9gaLJvfPKpNzGD8XWR5HHF0NLIJhgg 4ZlEXQ2fVp3XrtocHqhu4UZR4koCijgB8sB7Tb0GCpwK+C4UePdFLfhKyRdSXuvY3AHJd4CP 4JzW0Bzq/WXY3XMOzUTYApGQpnUpdOmuQSfpV9MQO+/jo7r6yPbxT7CwRS5dcQPzUiuHLK9i nvjREdh84qycnx0/6dDroYhp0DFv4udxuAvt1h4wGwTPRQZerSm4xaYegEFusyhbZrI0U9tJ B8WrhBLXDiYlyJT6zOV2yZFuW47VrLsjYnHwn27hmxTC/7tvG3euCklmkn9Sl9IAKFu29RSo d5bD8kMSCYsTqtTfT6W4A3qHGvIDta3ptLYpIAOD2sY3GYq2nf3Bbzx81wZK14JdDDHUX2Rs 6+ahAA== In-Reply-To: <20231121160740.1249350-11-leitao@debian.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 21 Nov 2023 13:40:11 -0800 (PST) On 21/11/2023 4:07 pm, Breno Leitao wrote: > CPU mitigations config entries are inconsistent, and names are hard to > related. There are concrete benefits for both users and developers of > having all the mitigation config options living in the same config > namespace. > > The mitigation options should have consistency and start with > MITIGATION. > > Rename the Kconfig entry from RETHUNK to MITIGATION_RETHUNK. > > Suggested-by: Josh Poimboeuf > Signed-off-by: Breno Leitao (I'm CC'd on only this single patch so I can't see what's going on, but) Really?  Rethunk[sic] isn't a mitigation.  It's just a compiler transformation for return instructions upon which various mitigations depend. ~Andrew