From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F12A8C433F5 for ; Tue, 21 Sep 2021 16:44:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D61A96115A for ; Tue, 21 Sep 2021 16:44:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229596AbhIUQqI (ORCPT ); Tue, 21 Sep 2021 12:46:08 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:39543 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229486AbhIUQqH (ORCPT ); Tue, 21 Sep 2021 12:46:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632242678; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2MOh25Z0CXinUksqYDluCoredOuFNiGvVHCwdZh/BTA=; b=fMQBRvFbKUREv2fA+AGvkCsmlbU6zexpDH0XZ7f9S+6tOtWrksGDgEYq1tJD5g/1pJpAQq NHx71FG/3pPj+hPpQHV/wluvJjANYWDxvg7ZaRm3yIhXhA62L9X0LzWiTFHHhN7KL3a8tk 6O8nSkJsGIEhmzcttRNJ67nAEZ8utTA= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-422-oImuZ8fxNIqgNGVgJU_xgg-1; Tue, 21 Sep 2021 12:44:37 -0400 X-MC-Unique: oImuZ8fxNIqgNGVgJU_xgg-1 Received: by mail-wr1-f72.google.com with SMTP id k2-20020adfc702000000b0016006b2da9bso4284067wrg.1 for ; Tue, 21 Sep 2021 09:44:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=2MOh25Z0CXinUksqYDluCoredOuFNiGvVHCwdZh/BTA=; b=gtgYGnv52E6LU2d8xZNlsUo/bdefrfepPmHu6uWn392wm9B8y73woVJ0u+aHNYcAKv Kh+xPZWFckJJMK1dxx/xedE4esq/zq7Ulj7od0Nu7tkhUj7ou+mXOaw7QlXtpKuvPbe2 rJDteAI0iBFDRYrbrXONODpyqBmmlWwOWd0BtxbBPNsMJ8FwFIf+7ZnFmj/F3lkYarTG Jxgj9nPwZJPvmpbLYSahMSRIU5CsTXRqdE+L6lU8duj5aQxkwxhFRltofqPHgbRQEvXC zO1P+d8EY8++daggSWT5oGn5IqBmWtWdORCwqAc3r4umOYKhbk/0nhUcw5GHju81vaVF lxXA== X-Gm-Message-State: AOAM533oQYcJEXZZ/43hJaVy2L839pjG+Q7tUc4YRWU38nEY3lF03g7b deksTVALAuv5w9jylYJHBDJVX57eEU41ke++MAf0gIe0qQSEEnNPgmcWDS5WFVd/h4F1clt29tl 0K2Lgt/FpLeHZ X-Received: by 2002:adf:ef02:: with SMTP id e2mr35671907wro.401.1632242676306; Tue, 21 Sep 2021 09:44:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsCp5ZrdIqXk735XH8pFAzorkNCbfLAUPGTe1MtIGjUyvp4uSPpnZgIUWeU9z8tn602zxqYg== X-Received: by 2002:adf:ef02:: with SMTP id e2mr35671861wro.401.1632242676096; Tue, 21 Sep 2021 09:44:36 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id k1sm20272243wrz.61.2021.09.21.09.44.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Sep 2021 09:44:35 -0700 (PDT) Subject: Re: [PATCH v2 05/13] perf: Force architectures to opt-in to guest callbacks To: Peter Zijlstra , Sean Christopherson Cc: Ingo Molnar , Arnaldo Carvalho de Melo , Will Deacon , Mark Rutland , Catalin Marinas , Marc Zyngier , Guo Ren , Nick Hu , Greentime Hu , Vincent Chen , Paul Walmsley , Palmer Dabbelt , Albert Ou , Thomas Gleixner , Borislav Petkov , x86@kernel.org, Boris Ostrovsky , Juergen Gross , Alexander Shishkin , Jiri Olsa , Namhyung Kim , James Morse , Alexandru Elisei , Suzuki K Poulose , "H. Peter Anvin" , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Stefano Stabellini , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-csky@vger.kernel.org, linux-riscv@lists.infradead.org, kvm@vger.kernel.org, xen-devel@lists.xenproject.org, Artem Kashkanov , Like Xu , Zhu Lingshan References: <20210828003558.713983-1-seanjc@google.com> <20210828003558.713983-6-seanjc@google.com> <20210828194752.GC4353@worktop.programming.kicks-ass.net> From: Paolo Bonzini Message-ID: <8ee13a69-f2c4-2413-2d6c-b6c0a559286e@redhat.com> Date: Tue, 21 Sep 2021 18:44:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210828194752.GC4353@worktop.programming.kicks-ass.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On 28/08/21 21:47, Peter Zijlstra wrote: >> +config HAVE_GUEST_PERF_EVENTS >> + bool > depends on HAVE_KVM It won't really do anything, since Kconfig does not detects conflicts between select' and 'depends on' clauses. Rather, should the symbol be selected by KVM, instead of ARM64 and X86? Paolo