Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4051772rdb; Mon, 11 Dec 2023 07:36:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IF9nlC1WXh9evAbWcPiJ+UTfC/RLuSch8eMMNFooPG57ELQaVumEgC18dHATeUtqlScCABJ X-Received: by 2002:a05:6e02:20c4:b0:35d:7a4f:fcd1 with SMTP id 4-20020a056e0220c400b0035d7a4ffcd1mr4437741ilq.23.1702308978444; Mon, 11 Dec 2023 07:36:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702308978; cv=none; d=google.com; s=arc-20160816; b=UE3zLEY9kmkdAJYBymuHxLYW1t+fDD/SJ8wwPYIz6Cl7GAQT4Ku9/LUhKY7VPzAECD 68flmahRUld464Abs/HSII9r2brFoubfSNc2juEuOVCup1cNXy0DODjqXnYjkyT6mCBh X2+Zi15lgYGCFWgupUSQdRCsLdZepWDpoLmeTDNM0+wbetzJpSsPqBLwC1gl6eCXyC3N A/zmqDj62v7nzYSwcEPE/BeeAzLMCsjyFVTovQxBUCXz1CiCb5a1CdBbOqR2+t8NILGS HjVp7OsHETyPYsNoI6Ihfc1VyuFc05gsKEiViRXnGrQGzMEOHj9InkkXdFAXi11NMr54 GmCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=DJCqvG9lOVsqS1lp0xIiOZx+dmEbaY5Fmm26UgBCqwc=; fh=2Zhls93GLFFzt9hHl8adf6gzEvLjILAywcOB1dV48mA=; b=fIoeAJ44KYNig9mfjLMLdXAul7OKGVabSE/gx/zra06Y6LJKU+a0XUX5/WBnF7Kphs PVEformYEZKpyzFC0DVR3fashRhdrOCHAWTStgObicb0eKF6vvCzv8fu7UiUYsKeW2wo x/iRCLsy+KgGmjRDZNYTw9ykOfVs2hBoF3+PS3/PfH4CaCC8SUsRY5YJb8CPI3/+jQLb bIb9hH2i7mcW9DjK+0qsG7Gs6gc8VP5x/JGsVdbky/tnRv2y22VMfKT4Ru5npIddJLT6 5kKRIbxIFyZgz5p10D0C/iw/th4USpsPqXDaCPlxcNZpkU3ca8bKWa9wx3E9wL28rbNO hTKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dEVhVPmD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id i14-20020a63e90e000000b0059f0cebd046si6136128pgh.729.2023.12.11.07.36.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 07:36:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dEVhVPmD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id A23A0803DB20; Mon, 11 Dec 2023 07:36:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344139AbjLKPf7 (ORCPT + 99 others); Mon, 11 Dec 2023 10:35:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344107AbjLKPf5 (ORCPT ); Mon, 11 Dec 2023 10:35:57 -0500 Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDF1DE5; Mon, 11 Dec 2023 07:36:03 -0800 (PST) Received: by mail-qv1-xf2c.google.com with SMTP id 6a1803df08f44-67a9cba087aso33904366d6.3; Mon, 11 Dec 2023 07:36:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702308963; x=1702913763; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=DJCqvG9lOVsqS1lp0xIiOZx+dmEbaY5Fmm26UgBCqwc=; b=dEVhVPmDuJzXGS4ZapA66gDNN6Gfopi1YOTwf0uSUGxpicbJTcI308pyI71sdQ3hQm Sh2p/Mam/y8Vnt8Iuw70/RE+LxC5IJMsHQ8xHYR2psHxYEsJ0Y63BJ7Jjx2xNyUnuIk8 RPKLt5MRQnGgxh90fRJjRWdFgpcE35ca7Z/XS9gyF/dtB8gfsXXHG78BIE8mYh24FJvh +t7Yf5u3nO/fF8cG+dAmZQaTsTiosK3Id2zno+ymdX2vpXQFRccD7NkkdSN1hajv5JmR VHs/hB5UVHG/sbGrj3HCpy05Oxman9tzkR7lXJ/iykYR6SPCTGoATFm4DynPw4S/OBmZ svrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702308963; x=1702913763; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DJCqvG9lOVsqS1lp0xIiOZx+dmEbaY5Fmm26UgBCqwc=; b=XdTZn9TUp7I7i/9uR6m1FdYygBDMfQsmnel6cUsycxH3oX+7vSVk+h3yfOzS9xxUy9 gn4E5NGsvuOQo8nDAVTbNLazdkyyyzX7yO4kI8ncTkiiPbsVNyrPuhZhpJg7YO8J4JqV 9B8yKehnWPOvpBYy9m4K0PqSmxsMP3VFdEDOQCDGVJPFE+VnXU/uyNagB22ZU4SpfyxK 9SyNWN/URrC0RfqxdkucySFvVPqp39X9TUdgLpYoqC84aXBuprPaA87GnEqKfAx3XQdx 8HofFmMvwhqlLTLsvvQR8tIh1kAZKtjVSqEa0ND4AaDV727vPrOJOBQ8BURJU87MzuVi 2+/Q== X-Gm-Message-State: AOJu0YxAityp3oGg/On0uwE7t/tN6v26vJcliUcnJltAXMGRMVv0AMl1 N8C7jG5BhhAcoEuIv5IaqdY0tSaqVTIQlaeWaB8= X-Received: by 2002:ad4:42ae:0:b0:67a:956d:98d5 with SMTP id e14-20020ad442ae000000b0067a956d98d5mr5342217qvr.29.1702308963026; Mon, 11 Dec 2023 07:36:03 -0800 (PST) MIME-Version: 1.0 References: <20231211150753.293883-1-mmaurer@google.com> In-Reply-To: <20231211150753.293883-1-mmaurer@google.com> From: Miguel Ojeda Date: Mon, 11 Dec 2023 16:35:51 +0100 Message-ID: Subject: Re: [PATCH] x86/Kconfig: rust: Patchable function Rust compat To: Matthew Maurer Cc: Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , "H. Peter Anvin" , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 morse.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 (morse.vger.email [0.0.0.0]); Mon, 11 Dec 2023 07:36:15 -0800 (PST) On Mon, Dec 11, 2023 at 4:08=E2=80=AFPM Matthew Maurer = wrote: > > + def_bool $(rs-option,-Zpatchable-function-entry=3D16,16) We don't have `rs-option` in mainline yet -- missing dependency? We will likely eventually need it, but currently we only support a single Rust version anyway, so we could add it (and the flag check itself) when we upgrade (especially if it is going to be supported soon). Speaking of which, I can't find the flag in upstream Rust (i.e. outside the LLVM submodule), and I couldn't find a PR adding it. Could you please add a `Link:` tag to the tracking issue / PR / ... if it is submitted / when it is submitted? Or am I very confused? Cheers, Miguel