Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4886675rwb; Sun, 4 Dec 2022 09:56:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf4WISMhZqAXMEVy2lyNGLjTNz9BzomkOIo77bz3l1Jj0w8HtEgT6+3FUYeTIJa45pcaVeYy X-Received: by 2002:a50:f61d:0:b0:46b:d84f:81d5 with SMTP id c29-20020a50f61d000000b0046bd84f81d5mr15879944edn.427.1670176603381; Sun, 04 Dec 2022 09:56:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670176603; cv=none; d=google.com; s=arc-20160816; b=AyTR9PWutxyorv0VQ9fIE2cEFPr73mK10vk5pjwRO00+jk2wqps0sgYYB+9u6tyKv4 U+1ffW7S/UkTkiVDR3ecLr16jElDx4oLHes7XeyWWYWZc9HhG1JXbJIeGb8j8hcrpm04 hLUV6jiSzBSwCS5CnpnohhVxtRH7MiMY9AzXRBKrhoDG79FWDjKbbUErxbOUqY97XqML j+h9fp51Uxlzx18L2z/DwzhMAi9/IVNOWID6ug9MqbGZNiNdJvPId6f+6mzm1SQqJDTn t5O/+DbGessGpCWDsIuZPJRTy795ErOQNe30IPrjVFxSRpA4qcF6jIlXD0nhKy7XVFis fsNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=6aqkEPzvoF2u3Z2AprW+w5Z1b+DAYD9ZKPIwacVPQlM=; b=TMxmKhTcwUZ5UJDqDKSC2OyNlmtB+ZiZnIbrVSr0a9Y3UD5oSGGO3okno+vAqU/zgK GTa4KeQ8hQdEpnXiWoCV3gMQErQB3+w/TNJTrNhBnj5p8ygNfox+B0pkLoNQ/qc1q6PR TOgTpsgLMBoY933D2kdR9wszBaj7IOjiOjm2Tj90UdDMfx170YgWXWgKURM0fABo0ijV Nr8ILbzidIdJlIlEW5jrQdPy9fchi7E6ubK7qUf5688Rn4zBBvMG05C2xdBTr91aub4y V+Lxdwme8tz7r7TQx/SgTp30tr372JLklgidcwddnCBBz3cLGvHokGAdD7YA0+Zl3vcB iXGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Rc7LSwXO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y7-20020a056402358700b0046ba0b85e8asi10727983edc.624.2022.12.04.09.56.20; Sun, 04 Dec 2022 09:56:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Rc7LSwXO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230161AbiLDRfg (ORCPT + 83 others); Sun, 4 Dec 2022 12:35:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229938AbiLDRff (ORCPT ); Sun, 4 Dec 2022 12:35:35 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97FC364F4 for ; Sun, 4 Dec 2022 09:34:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670175280; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6aqkEPzvoF2u3Z2AprW+w5Z1b+DAYD9ZKPIwacVPQlM=; b=Rc7LSwXOTpXwDjzdZC5w2GhkZcazJGFTqq0edkZbn7VUa7FHNAUzf3eWKq+qI6lmdBGai/ 10MYSEBR5FwkN3ZgzgkKeamd2zyTXj1yapAIu0b1t3l5yWHVX6iLEbm7p5ecC2uFzynZ3R l0zXw59+crSGuKgmAepEn4dt8PJAdBI= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-510-hlymyj5AMBmZ09uF0YdseQ-1; Sun, 04 Dec 2022 12:34:39 -0500 X-MC-Unique: hlymyj5AMBmZ09uF0YdseQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 08286800159; Sun, 4 Dec 2022 17:34:39 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (ovpn-192-89.brq.redhat.com [10.40.192.89]) by smtp.corp.redhat.com (Postfix) with SMTP id 2B095140EBF3; Sun, 4 Dec 2022 17:34:36 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Sun, 4 Dec 2022 18:34:38 +0100 (CET) Date: Sun, 4 Dec 2022 18:34:36 +0100 From: Oleg Nesterov To: Thomas Gleixner Cc: Andrew Morton , Masami Hiramatsu , Denys Vlasenko , Seiji Nishikawa , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] uprobes/x86: allow to probe a "nop" insn with 0x66 prefix Message-ID: <20221204173435.GA8707@redhat.com> References: <20221201142644.GA27185@redhat.com> <871qpiqaz3.ffs@tglx> <20221202125401.GA16230@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221202125401.GA16230@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham 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 12/02, Oleg Nesterov wrote: > > On 12/02, Thomas Gleixner wrote: > > > > On Thu, Dec 01 2022 at 15:26, Oleg Nesterov wrote: > > > > > From: Denys Vlasenko > > > > > > Intel icc -hotpatch inserts 2-byte "0x66 0x90" NOP at the start of each > > > function to reserve extra space for hot-patching, and currently it is not > > > possible to probe these functions because branch_setup_xol_ops() wrongly > > > nacks NOP with REP prefix. > > > > > > Fixes: 250bbd12c2fe ("uprobes/x86: Refuse to attach uprobe to "word-sized" branch insns") > > > Reported-by: Seiji Nishikawa > > > Signed-off-by: Oleg Nesterov > > > > The SOB chain is invalid as it lacks the author's signoff. > > Denys, can we have your signed-off-by? OK, let me turn "From" into "Suggested-by" if this can help to merge this fix. After all, the patch is really simple, I don't think Denys will object when he returns. I am sending v2 with Masami's ack applied. Oleg.