Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp448559imu; Tue, 11 Dec 2018 01:44:22 -0800 (PST) X-Google-Smtp-Source: AFSGD/W1LaxYGR1QoUNiCZsCpyqvQoJyUTXNGRo9jRp81ERmNgkSOgSP2TtS5KcJeiy3tnwfw+vG X-Received: by 2002:a62:1e87:: with SMTP id e129mr15524688pfe.221.1544521462334; Tue, 11 Dec 2018 01:44:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544521462; cv=none; d=google.com; s=arc-20160816; b=fHrbJEHxDgXCj0rYM5QvFHqvKiAbJhDMHls7RAS3Nd7dBeanYJlkRQhvAEHFa5XJDS Tmz3B/gpuAwaTa24uLPhg2fvz2vvWsUZUyVfZEVrXJChG943IJHjjoS0LMJPlYnUTE0R ExtlgKfuILN7DdTIACwP4UUNZWqfkpFwe1nYt1LVjaIbYPAoUlcCjuG27XiTYElm0YGW ccszBf1Y3yH5x5XbUmVBww3U8ajbABow6DDsfb+V0OCU2gAcS3v7q+oIwWcsppc5Tplk F8ns/D3AGdlTiZkIl98n/7GQBPlnx4qkUvPD1IsGT7fuScwtFS5SrEEeEjHZKSiH1FsX gQyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=HqlfjXMt+fojhfASZV2GNzndO5aNKmWcV/EujPU3zx0=; b=iwKTgIocOV9V5gj+5yA6Ox85NfMJD5lcx0fFSQtNznR9o9UBlwb4P5IRqiGpuQTN9j Hz2vDk64sIMJ4O0cPg0uNr3D0qBrnY4IiBZpI+9DuK8+ZzEn8SIQUPEPxeWBxpkDOjHn uwl1g7DZ938+0wVOnoggsOAwWzGhUky5qF2EGeYrExH+1HBe5zvGyenjI28qCMtOguvk n46sXcODI/4H6HAg5GAR1tGhsWoCguf42mQgh8aXZybrN0TvTiUk9bZDQhZE9Wo7eZ8v IRwcDkejlcMYJQx0fmSN/EJ/VbwFtScKn+HPDgS+YJ9s47TErxVZuKwI+xUXhP1Gepaf eMyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ywJOsOjR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y189si12545026pfg.75.2018.12.11.01.44.05; Tue, 11 Dec 2018 01:44:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ywJOsOjR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726227AbeLKJnF (ORCPT + 99 others); Tue, 11 Dec 2018 04:43:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:43852 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726114AbeLKJnE (ORCPT ); Tue, 11 Dec 2018 04:43:04 -0500 Received: from devnote (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A6BDB20811; Tue, 11 Dec 2018 09:43:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544521384; bh=aIcEkkhNlcKbrQBNe9VU1OQXv8faUp2xmhrX9FJeFRo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ywJOsOjROIeudqZs4fB1TMHFPBUkPFSC26CrYrUgLO6LGZ0lT9h3ZFOynvRc9kSHT Z2CLFbymuRh+MbG+ej/DTQlt796CrmuL+AQNdSvemNUq7Xn+PmvQrzWtr1aUfiW+1y rxrlNd5t++ehpKYW5SHKW8nBwK9v+zB/9FCfNfg8= Date: Tue, 11 Dec 2018 18:43:00 +0900 From: Masami Hiramatsu To: Andrea Righi Cc: Boris Ostrovsky , Juergen Gross , Stefano Stabellini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , x86@kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] kprobes/x86/xen: blacklist non-attachable xen interrupt functions Message-Id: <20181211184300.810577f6087339bb0781068c@kernel.org> In-Reply-To: <20181210151256.GA1977@Dell> References: <20181210151256.GA1977@Dell> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.30; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 10 Dec 2018 16:12:57 +0100 Andrea Righi wrote: > Blacklist symbols in Xen probe-prohibited areas, so that user can see > these prohibited symbols in debugfs. > > See also: a50480cb6d61. Looks good to me, thanks! Acked-by: Masami Hiramatsu > > Signed-off-by: Andrea Righi > --- > arch/x86/xen/xen-asm_64.S | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/x86/xen/xen-asm_64.S b/arch/x86/xen/xen-asm_64.S > index bb1c2da0381d..1e9ef0ba30a5 100644 > --- a/arch/x86/xen/xen-asm_64.S > +++ b/arch/x86/xen/xen-asm_64.S > @@ -12,6 +12,7 @@ > #include > #include > #include > +#include > > #include > > @@ -24,6 +25,7 @@ ENTRY(xen_\name) > pop %r11 > jmp \name > END(xen_\name) > +_ASM_NOKPROBE(xen_\name) > .endm > > xen_pv_trap divide_error > -- > 2.17.1 > -- Masami Hiramatsu