Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7036684ybi; Thu, 13 Jun 2019 08:30:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqzl2YhLwjSgB+XlWk7oy4Do95ScdScSva84kR+aCLEnAiLd8BPOzMB1sFULyJqawGTbAdFH X-Received: by 2002:a17:90a:8d0d:: with SMTP id c13mr5953022pjo.137.1560439851889; Thu, 13 Jun 2019 08:30:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560439851; cv=none; d=google.com; s=arc-20160816; b=KQUnzMlZL+D3ekqAkM0T3nHAk6yTwJpcxpTMXDdDKP+XLASYB+fe5OJiuKvJL6KoVN a4OCJZAqR6H6Y/QcUxYBpdeN8JfL4XPzoTFoO7ah0IbXAKRKpQVWMzkfe27EIj9MqkXQ Cuv3TVIXk7rBDCNJjJKw9YU7m8Fw3SxrEVp+DaRenZy/ogX6lhTCtFaxcUBksu4kxEMk xr5XGf4N2+FG++ZiBQNGO1m/ARxT5YOeYkssUY3WYGgWDb/081/ynv/PIJquyqBpFSYR xEIi0fSbAY3n0wee5N7S1i3DM6gvS+BJgFfOaaWS66P9zGgttiu5y+IVK8Li4x8o4TWN ehFQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=aT6AfK9zdBuF2wwyn7vGjgJf0YnLuyclHyxur2qOwKQ=; b=LgrLake7DeT5yuefb2/9ZVoN1CrMyK7vebhkDe+cZRpk0F41B7GHKYdIZNE+33WT2B FGTu0U/VNKCL3Yy+8a8E9uWU0D5L+KSxBWT6ZpaOwcXSzdlHQt6SdzPWVf5oVX7u1F2D PGCGDX8savnj5gfBS3tOQPUT4DyUB8cUrFEgpXtUcOwUZFL0Q5xSO4qWaebxQyVGEU22 7dM5JoDS8SUA7LF8dtWRzvtVeCZBIxkp16MGdObPxjjwmei+jNsvu8EqPaeuccZRF5Vl kufdM1BmwbQgR3/NpgRyuZOXRxtBp7k+p7zFyGeuhGt8WggaLbUw51rHK6hkeWwO6EyW oaPQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j3si3255831plk.79.2019.06.13.08.30.36; Thu, 13 Jun 2019 08:30:51 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731418AbfFMP3f (ORCPT + 99 others); Thu, 13 Jun 2019 11:29:35 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:18164 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728878AbfFMLX3 (ORCPT ); Thu, 13 Jun 2019 07:23:29 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id A7DBEF7C1BDB2B979504; Thu, 13 Jun 2019 19:23:24 +0800 (CST) Received: from [127.0.0.1] (10.184.12.158) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.439.0; Thu, 13 Jun 2019 19:23:16 +0800 Subject: Re: [PATCH v1 1/5] KVM: arm/arm64: Remove kvm_mmio_emulate tracepoint To: James Morse CC: , , , , , , , , , , , , , , , , , , "Wanghaibin (D)" References: <1560330526-15468-1-git-send-email-yuzenghui@huawei.com> <1560330526-15468-2-git-send-email-yuzenghui@huawei.com> From: Zenghui Yu Message-ID: <5885c607-1314-ff53-38f1-9f48b1c16de4@huawei.com> Date: Thu, 13 Jun 2019 19:20:19 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:64.0) Gecko/20100101 Thunderbird/64.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 X-Originating-IP: [10.184.12.158] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi James, On 2019/6/12 20:48, James Morse wrote: > Hi, > > On 12/06/2019 10:08, Zenghui Yu wrote: >> In current KVM/ARM code, no one will invoke trace_kvm_mmio_emulate(). >> Remove this TRACE_EVENT definition. > > Oooer. We can't just go removing these things, they are visible to user-space. > > I recall an article on this: https://lwn.net/Articles/737530/ > "Another attempt to address the tracepoint ABI problem" > > I agree this is orphaned, it was added by commit 45e96ea6b369 ("KVM: ARM: Handle I/O > aborts"), but there never was a caller. > > The problem with removing it is /sys/kernel/debug/tracing/events/kvm/kvm_mmio_emulate > disappears. Any program relying on that being present (but useless) is now broken. Thanks for the reminder. It turned out that I knew little about the tracepoint ABI :( . I'm OK to just drop this patch in next version. Thanks, zenghui .