Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2812352pxb; Mon, 18 Oct 2021 02:20:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIFaP9/URvc5fGYjxtrQETHEqJaM/PVNncWiRpd1k5w1U4mvf0G65hn8RucxfAUcAmVRa1 X-Received: by 2002:a17:906:1290:: with SMTP id k16mr28435142ejb.566.1634548836466; Mon, 18 Oct 2021 02:20:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634548836; cv=none; d=google.com; s=arc-20160816; b=qC38aTRRoZXOqtxsRH3qNiihx5eCP/9AGfK2R/daxSkJgB5E7fnfP9T0r4IKFIA16R 5qdH1q6N9YRhLYgR4+KC7R3GG5mJwVvTmUDcQ8455xzqGejCcDXiP60kOTuMgQQQdtTr 3hHHTBl2l35FJy+V+Cfvl5zs7UJdRkVpCCRIYvhBmwEXk0IjgVyrdBZWvpWqFF7ye6oi DMnpj2nIQUtQ+AGX3SrmparLBNA844O6H35IATScu413toEFmg++kq9/I5TcicBbmwvV 7lDyjuT7L8O6BgngaFgEw+07NYiVTBFZmIegWNssymLt2CCV/it28IITKAbWZX2igA0u bIfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=EE4OdLq/qyNYwM9LwtFXsgKSSwCVj1tWEzqe+OizN7M=; b=YpWk40nKFikZHG4r/esOmU3wMeB4NhRXN6qblzw/0k9ot8YLRTCBW7oVBtlZzRVxcS mPnN3VCKhFE8p/bJElczYIRV/Yavy8eSX/U2Jd+yykmTI0ns7wor5g3Rz53gziCSDOld kUCDi45PbImp/LcH1zJmTk8EBJVM3Che/AOjgB+7foiTvwrDpYEZBXzSeA0IvvkLnddD PwP5Qdl3muqSccLCAMhtYznAvwDJW7TJkjuWnnnJV9bhJbV8QiS5skfVkUlTXMuhjZoJ d3Au9p3G3XTurQf6tzRwHhMthicHlqjeFNdjFw1v6XaVwG0RLWtJ3mwZBY/oZEPGaSjA rmJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e26si17990371edv.425.2021.10.18.02.20.12; Mon, 18 Oct 2021 02:20:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231510AbhJRJTV (ORCPT + 99 others); Mon, 18 Oct 2021 05:19:21 -0400 Received: from out30-54.freemail.mail.aliyun.com ([115.124.30.54]:52531 "EHLO out30-54.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231636AbhJRJTA (ORCPT ); Mon, 18 Oct 2021 05:19:00 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R161e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04394;MF=laijs@linux.alibaba.com;NM=1;PH=DS;RN=15;SR=0;TI=SMTPD_---0UsbOJts_1634548606; Received: from C02XQCBJJG5H.local(mailfrom:laijs@linux.alibaba.com fp:SMTPD_---0UsbOJts_1634548606) by smtp.aliyun-inc.com(127.0.0.1); Mon, 18 Oct 2021 17:16:47 +0800 Subject: Re: [PATCH V3 06/49] compiler_types.h: Add __noinstr_section() for noinstr To: Miguel Ojeda , Nick Desaulniers Cc: Lai Jiangshan , Miguel Ojeda , linux-kernel , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , Borislav Petkov , Kees Cook , Nathan Chancellor , "Peter Zijlstra (Intel)" , Sami Tolvanen , Masahiro Yamada , Marco Elver , Arnd Bergmann , Ard Biesheuvel References: <20211014031413.14471-1-jiangshanlai@gmail.com> <20211014033414.16321-1-jiangshanlai@gmail.com> From: Lai Jiangshan Message-ID: <8d2f0a4f-80e0-36c1-9421-d2c1af282a12@linux.alibaba.com> Date: Mon, 18 Oct 2021 17:16:46 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/10/15 02:35, Miguel Ojeda wrote: > On Thu, Oct 14, 2021 at 8:29 PM Nick Desaulniers > wrote: >> >> Can we use __section(section) here (from >> include/linux/compiler_attributes.h)? I kind of can't stand seeing >> attributes open coded. > > Yes please! (though it can be an independent patch) > I will use __section(section) in the updated patch. I don't know whether it is worth for a new version for a relatively large patchset with almost 50 patches since the feedback becomes less or I should wait for more reviews from the x86 maintainers. Especially the second half of the patchset which is all about IST exceptions has no feedback since V2. Thanks. Lai