Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1142167ybi; Wed, 17 Jul 2019 10:08:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwyIvBbsxJ4wGsieKlNeYuuaVvtysU9S46Ox4meSWS7QZAIWyzfORG6TjmFKgVt0Qx1lrgK X-Received: by 2002:a63:2606:: with SMTP id m6mr42280389pgm.436.1563383322853; Wed, 17 Jul 2019 10:08:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563383322; cv=none; d=google.com; s=arc-20160816; b=yoRO9YpBwpZ+dPaa1VTRCqwmgC0OQD1SA3fQTGSrbG8ckpPVg13K7yAJWBZS4QPbyd VdYq7IXOOckG6bVUj52fHgRU7ovrjYR0O6F/LWlgZA6i1tRufIvt/ZVbBopG8LBdSNTc tdRTMUgvu1div6Tv6KTeESnS1aWYbxWysRXdnWph3figCb4xMpxau9Ahcs09Yg3XY7Kq C9baCx3KexZGxNIwCJ76E72EeEOxy9GNALjoM8e2u/M/93fya/UwXd4t+doV+cay/qYJ 0BmDhlrOnnKtC79g5s1GLWcRO+PCs/6+MYSLsUsaPBJSx1YAja6i2nYiL7//3p02fJNC /72w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=aqRiai2NJzbl478864ihbvO7mDzvRYyxi6L9Xd1nSoU=; b=qRbWKud5pqj8Csf4MS2QdfH7iiczGunZI+TLMzCovYUXR8Mq0RhK+aUoyPu8EclnCD 2CxMyChIILHkwFTwpAfNAvoWMlHBke7RxEQ180skUWaJfxmjCZZ0pvilu6W5aJIXKyoE gr0Jzp/Ot8MY/bepJTx8T+BYh7cf8LzSB3nKKp8HXHpr//DV9C/2IBr80/96tmvV0KT4 sIeytHJJl08MTpAh9IPUqIaK4ffeDvEUHmu7GoY98LEb7LVKicH4vdiA/dNzOsgNmmcb ZgrRaomjEoplCqxwLU1n73JlsfGyCIwookt6MhiuD1446orwb2R/x7sE/sk2GxSgGBKh 0C5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=cn7NkKA3; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v35si22719611plg.143.2019.07.17.10.08.25; Wed, 17 Jul 2019 10:08:42 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=cn7NkKA3; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727873AbfGQRGM (ORCPT + 99 others); Wed, 17 Jul 2019 13:06:12 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:41033 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726917AbfGQRGM (ORCPT ); Wed, 17 Jul 2019 13:06:12 -0400 Received: by mail-ed1-f65.google.com with SMTP id p15so26625920eds.8 for ; Wed, 17 Jul 2019 10:06:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aqRiai2NJzbl478864ihbvO7mDzvRYyxi6L9Xd1nSoU=; b=cn7NkKA3TYW3chAN01hNTYlkhLMoS+Ytj/wl7TOUnm0KlG4EzrMhSN+wmKSYYDdlP2 OHyF4Wscjc9VDQ4bhVgnlogOhmb46AXO6/20COw46KcwqlNjvWDLMyNquJyETvoUKeTn ebyvnnaUmuJaq4DzQjIhvShc0JDB152VD2JWWjJbwMg8V+dk7LIMLR/S0FW9KyzOy9nJ DDOpV4fpD13s56kSSfsuNzGf5K0CMm/l9FryY8bx3WlTuGNeb97xBTUdoPvpqZK9XP64 YOEDAqynD0o1ohPufEjS6XeqNT1+njqoFnDgFsIG5n4z/Uv9Hr4D4r3y8OQ0L2YiD52A ORnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aqRiai2NJzbl478864ihbvO7mDzvRYyxi6L9Xd1nSoU=; b=ZSz7g+5QZPLLXVfwOQ6Z9/aDbplb0OfA6vBZheaJigFPPXYhlI3s8KtSYQNelwlWhZ 1AUJlfkKVfPiMUCy/s49IpGkArqAtOwr4TaQ6XMPFNSr0LmIMt85oMbM12UW4GiO2PC8 3XtH9dMP4OZhqJJmIiqsbtbQeIYQvSBVCTAxifTJ8r7B3ZylfvV6usK33gMLFqshexY/ HmpF6ZJAT6VqaLJpmDkGbE8DOzG7krwMda6HKaszE+7IStyxyzmhv31Y00JgX/IeN7YA D07yubaJ8LNo6G/cxa5a98Ud2SQztO+Ip+TOfoUYWXQdqI2Tgjfwa9EDek4+VJJa+cSK rhBA== X-Gm-Message-State: APjAAAXoiBwQHhiSSJNSYaWLv3R5G6fm222zQOKBIhu4WeDorqEooCmb 4qKxwFPRFrwR0UPf3kPJj25/YsR5HS/NpTUQ0OASjw== X-Received: by 2002:a50:f4d8:: with SMTP id v24mr36359671edm.166.1563383170245; Wed, 17 Jul 2019 10:06:10 -0700 (PDT) MIME-Version: 1.0 References: <5D27FE26.1050002@intel.com> <5D2D8FB4.3020505@intel.com> <5580889b-e357-e7bc-88e6-d68c4a23dd64@redhat.com> In-Reply-To: <5580889b-e357-e7bc-88e6-d68c4a23dd64@redhat.com> From: Eric Hankland Date: Wed, 17 Jul 2019 10:05:58 -0700 Message-ID: Subject: Re: [PATCH v2] KVM: x86: PMU Event Filter To: Paolo Bonzini Cc: Wei Wang , rkrcmar@redhat.com, linux-kernel@vger.kernel.org, Stephane Eranian , kvm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Let's just implement the bitmap of fixed counters (it's okay to follow > the same action as gp counters), and add it to struct > kvm_pmu_event_filter. While at it, we can add a bunch of padding u32s > and a flags field that can come in handy later (it would fail the ioctl > if nonzero). > > Wei, Eric, who's going to do it? :) I'm happy to do it - I'll send out a v3. Eric