Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2496698pxp; Mon, 21 Mar 2022 22:36:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzDYGjI+BZHOewX/0wGmfdHPSpAY4IfYbjZl316N5melZDZa8Ml/t2Y6hRfD0qkOQzSf7u X-Received: by 2002:a17:90b:3850:b0:1c6:572e:f39a with SMTP id nl16-20020a17090b385000b001c6572ef39amr2950183pjb.233.1647927376297; Mon, 21 Mar 2022 22:36:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647927376; cv=none; d=google.com; s=arc-20160816; b=TRAGlQ57UHZBdb1aZ9CYKpEJeMvASvXqMaSP0GtvW5X0rHyWbZ5dz5WKodMzY1SUxt BGFpBc6kFimzW+DhTQwp9v52Dyi/B7tmrbeECE36qaMsPriweKGj780u8OwN1B5vX5gt a+BZUo0O2HGJLWOwRUozG2s/s968vTOnYh9f4WXoFe34rZIx3QWb7J5PCUYy4JVwz6yP IsYx33/c3ceU+1jpgRfinvlk3w9+f5XApABxnaXSxU44BmUN6e3j+fyS1ev7lVmW+mX2 KH2XnTla3UhApScuXk1iVBDBMvENKFkP20oleipppYteWsDUnx/EUJQ804NR446Zskeo YfuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=+lFxTHRTFYfEev1oLkp9KfW6L+EPK8sUIMG2QD7blAA=; b=Ct4X2TNREzxaxf7fyd7D1deKRqr6F15Hxms084V70IbpluyoQ6FKaSO0sUfypECdiC v/viGYaTJesUToGKwUZr6Pp8JlPjQAlJsUiQ5QoyfrBcVTzdFcE64Zu9SKPt+876qzRd 3x0SAsUGqRhHES47Ph/psEZuvnDCwX0iP0ohFpf8mSECnW1gaqyj34ZtcHg7LalMVONl 7CntgcGt5/f858ts5RadwcL/fcyII9rh+4UnBlD1Ua59UeII9z6sImN6AVpMYsphA4WD yYYQdofiCLNWivc9sWYgqdHmBraLtC/3GOuIhXrgZw7/++COgYv/BBDJvdSx37MV0rn4 W6Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DbsQIj5L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l24-20020a637c58000000b003816043ee4esi18367367pgn.67.2022.03.21.22.36.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 22:36:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DbsQIj5L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 412C4B82FC; Mon, 21 Mar 2022 21:46:18 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236498AbiCVErh (ORCPT + 99 others); Tue, 22 Mar 2022 00:47:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236495AbiCVErc (ORCPT ); Tue, 22 Mar 2022 00:47:32 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E677545529 for ; Mon, 21 Mar 2022 21:46:01 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id p5so11117798pfo.5 for ; Mon, 21 Mar 2022 21:46:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+lFxTHRTFYfEev1oLkp9KfW6L+EPK8sUIMG2QD7blAA=; b=DbsQIj5L3GwdJ5DDRRdFqngmGWyLPyQLKUhljcK3Aa6MVPh2YZS2ZctRStfXM1EktN NxF/ryfa2YMh/rI6H8ru2aC+Knt7GUuHri2WGTMHLr3PkI+ADSVUtrg5wLNf8LxFRt4F 7Jw4fnyVFlZ75uE7VUsTzLQ5NWsLWcW/gRHWEZ48mNqBrswojETw+2UXsFgQijPdfCYd S6PeeHK/JeIkCdKFs0/ovt+4LB5pju0v2U0FOA6gmAPemWsx5QT65pisMQWMbXiZG5ut k6CgUzflCuOFasVz5Lowmu41cgpG+Q9DeJlAE5LXGEVtBM05pwWyz/F5k+hgDcC36P20 8F+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+lFxTHRTFYfEev1oLkp9KfW6L+EPK8sUIMG2QD7blAA=; b=cRiczjcNkwZq0Z0MTmXQBgP00vA7ifcQuJIFKnNGatimWPWAmNALLGgoPaLPB8KaWC qvWRRbetMEOPut6elKZ36UgWMlTmQn3kArM+PwAavGBJzhnQdZH6G8L+yccEZKzJi67+ tEjdUWYyl242uN92FLoUv1aK82hKpZX9fUkVGm7IN7lwS1NL/IcxkdsRcejv6w15oy6p YpYjXkUwASzg7dNJFK6v6Xx3u57TAeLhxFdfcyD/OMl7gaY2LZYYFTNrYnU7o+CTUkNE 9hiOX8p5z9+pudtuXQYxFxfkris0sDJvhRbID5xKJrSpzHrJR0+VdX25TIXUNF07MQ6e X0ig== X-Gm-Message-State: AOAM532hcfQesr/CiUtBywpMQhLyvUQ+gWUvBc8JIVME05Dj0S+dIb2S GM7IKiE4U5VDaUpBT8bOiux9kIvWIP+DVt8JAOXV8vRy6ec= X-Received: by 2002:a63:c00c:0:b0:37c:942e:6c3c with SMTP id h12-20020a63c00c000000b0037c942e6c3cmr20877038pgg.336.1647924361404; Mon, 21 Mar 2022 21:46:01 -0700 (PDT) MIME-Version: 1.0 References: <20220308153011.021123062@infradead.org> <20220308154318.877758523@infradead.org> <20220322134320.1feda670153a7132f78ea417@kernel.org> In-Reply-To: <20220322134320.1feda670153a7132f78ea417@kernel.org> From: Alexei Starovoitov Date: Mon, 21 Mar 2022 21:45:50 -0700 Message-ID: Subject: Re: [PATCH v4 29/45] x86/ibt: Annotate text references To: Masami Hiramatsu Cc: Peter Zijlstra , X86 ML , joao@overdrivepizza.com, "H.J. Lu" , Josh Poimboeuf , Andrew Cooper , LKML , Nick Desaulniers , Kees Cook , Sami Tolvanen , Mark Rutland , alyssa.milburn@intel.com, Miroslav Benes , Steven Rostedt Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 21, 2022 at 9:43 PM Masami Hiramatsu wrote: > > On Tue, 08 Mar 2022 16:30:40 +0100 > Peter Zijlstra wrote: > > > Annotate away some of the generic code references. This is things > > where we take the address of a symbol for exception handling or return > > addresses (eg. context switch). > > Ah, I got it. I need this annotate lines for rethook too. Masami, Peter already proposed a fix: https://lore.kernel.org/lkml/YjisdqdofbDIYj2U@hirez.programming.kicks-ass.net/