Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81263C25B4E for ; Tue, 24 Jan 2023 19:11:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233689AbjAXTLw (ORCPT ); Tue, 24 Jan 2023 14:11:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233922AbjAXTLp (ORCPT ); Tue, 24 Jan 2023 14:11:45 -0500 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 332442685F; Tue, 24 Jan 2023 11:11:44 -0800 (PST) Received: from zn.tnic (p5de8e9fe.dip0.t-ipconnect.de [93.232.233.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 60DBD1EC06D7; Tue, 24 Jan 2023 20:11:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1674587502; 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=66aGjNRESMmDk3/vKn1ay9X+ZsN6GayoiWqk2QWhTmg=; b=c7KmJf9YHZwQkJEnaw5c59jBqwcVic7fBT3R8RDzcRrCSDF+4Z1ukerk2fwB+YBjvtXTXJ Yn2lYW0IQDWn47bByjUPTItV+M2czRppZkW3PLafuQ3w6vhgUq3CMiNwSfz/eLw/kkz9ne nxRK5pWpQHwjCuyDx3BtZUm8WtBehrw= Date: Tue, 24 Jan 2023 20:11:35 +0100 From: Borislav Petkov To: "Moger, Babu" Cc: Reinette Chatre , "Luck, Tony" , "corbet@lwn.net" , "tglx@linutronix.de" , "mingo@redhat.com" , "Yu, Fenghua" , "dave.hansen@linux.intel.com" , "x86@kernel.org" , "hpa@zytor.com" , "paulmck@kernel.org" , "akpm@linux-foundation.org" , "quic_neeraju@quicinc.com" , "rdunlap@infradead.org" , "damien.lemoal@opensource.wdc.com" , "songmuchun@bytedance.com" , "peterz@infradead.org" , "jpoimboe@kernel.org" , "pbonzini@redhat.com" , "Bae, Chang Seok" , "pawan.kumar.gupta@linux.intel.com" , "jmattson@google.com" , "daniel.sneddon@linux.intel.com" , "Das1, Sandipan" , "james.morse@arm.com" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bagasdotme@gmail.com" , "Eranian, Stephane" , "christophe.leroy@csgroup.eu" , "jarkko@kernel.org" , "Hunter, Adrian" , "quic_jiles@quicinc.com" , "peternewman@google.com" Subject: Re: [PATCH v11 04/13] x86/cpufeatures: Add Bandwidth Monitoring Event Configuration feature flag Message-ID: References: <72cdefc5-1601-5c43-9ea4-4b637f5fafa5@amd.com> <4ac38b77-77aa-f2c0-36e4-5e482013091d@amd.com> <1e662209-93d7-2247-4212-8c78748c69bd@intel.com> <12f98b80-38ce-5912-fa10-33d6b8a2fa81@amd.com> <2cf1380e-ed98-d943-e492-ebbe9238b51c@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2cf1380e-ed98-d943-e492-ebbe9238b51c@amd.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 24, 2023 at 01:03:32PM -0600, Moger, Babu wrote: > Yes. It is available.  But, the feature BMEC is not explicitly available. > I was thinking making all of them explicit. But we can live with that for > now. We can think about this in the future. Yes, you can always think about a solution when the requirement presents itself. What I find the wrong approach is thinking that someone *might* need it and then devising some solution. Wait for the actual use case first and then think of a proper solution. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette