Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp169904pxb; Wed, 18 Nov 2020 01:04:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxK66tqp5w+Sg1LvRNRM2r7vvUrafeCcZ8rCuBjxX3A3QXqaoK5mVdqEiK0XZ7/dwjo/S91 X-Received: by 2002:a17:906:3ec8:: with SMTP id d8mr23489035ejj.32.1605690292739; Wed, 18 Nov 2020 01:04:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605690292; cv=none; d=google.com; s=arc-20160816; b=m8XBpbs/kablDJ8p8+Vpr9dZovjG/bYMx9An16bPE+uQoLnyk86Uv7kPC30r7r8byq aDVJgZGmz0QSLcaAq6iRBQ75mR9BWAX5ZdXT10+KXMIdUpvepqWoSKQ07KLdIyn/Hhx/ o6Q+oHyksYu8gFydquQ8VPCr1Grk6T9AKXjAgOXq0TA4ScrugGet8t5544or8yn1lt8f nA0Mq8+4dEMLmLmj5kLBXqqRqsHahTger5e9StQVh1eVAY6E1aiBkKjtjY62mQeprBmk Gk1wKXcgoz65VsOYo+R+nqXsTPD2dyi2hrQWZ0WwWOJbGYJK8FwGI8p9LjKvPfUcztUo Wvgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date; bh=TM8JRfq0I8PO3As3hE5/OUozbbUePywD7QDRdIrlQEc=; b=B/Y/DbiBoW1EPgdMXIPdIxqNTrz/SLYCJwN5L0LXyVxhNtPv4rECOVwfYn4M7vkjOB 9TKdZ/21om11W7TJ30zFfDj0f0TlRVKdtehn41Pv/X40BoObESaByKOKjc8PkN8wunnm aHhX0rA+BRmalupRRwPLwfph343siJgzKAWflosIParAqh4VbnqY7RNvK47vPSx7mEb6 NfUoKU9wEQUqk8V221YrE4TY3zFvp0BYUn0q/mgLICpSWA9P7JcxaywpGACZQgp5lFaX ilFhKxGPLXvIh/HKW0tuzqfSrsxaqRvz4AOG31jwPocdYKu33g+mzARKF1/oziHCgCKm wKdA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ci27si2698129ejc.495.2020.11.18.01.04.28; Wed, 18 Nov 2020 01:04:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726411AbgKRJDC (ORCPT + 99 others); Wed, 18 Nov 2020 04:03:02 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:50029 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726251AbgKRJDC (ORCPT ); Wed, 18 Nov 2020 04:03:02 -0500 X-Originating-IP: 62.210.143.248 Received: from weirdfishes.localdomain (62-210-143-248.rev.poneytelecom.eu [62.210.143.248]) (Authenticated sender: m@thi.eu.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id A87296000C; Wed, 18 Nov 2020 09:02:57 +0000 (UTC) Received: by weirdfishes.localdomain (Postfix, from userid 1000) id 569DD72214948; Wed, 18 Nov 2020 10:02:57 +0100 (CET) Date: Wed, 18 Nov 2020 10:02:57 +0100 From: Mathieu Chouquet-Stringer To: Matthew Garrett Cc: Chris Down , Borislav Petkov , Linux Kernel Mailing List , sean.j.christopherson@intel.com, tony.luck@intel.com, Linus Torvalds , the arch/x86 maintainers , kernel-team@fb.com, Len Brown Subject: Re: [PATCH -v2.1] x86/msr: Filter MSR writes Message-ID: <20201118090257.GB189743@weirdfishes> Mail-Followup-To: Mathieu Chouquet-Stringer , Matthew Garrett , Chris Down , Borislav Petkov , Linux Kernel Mailing List , sean.j.christopherson@intel.com, tony.luck@intel.com, Linus Torvalds , the arch/x86 maintainers , kernel-team@fb.com, Len Brown References: <20200615063837.GA14668@zn.tnic> <20200714121955.GA2080@chrisdown.name> <20200714154728.GA3101@nazgul.tnic> <20200714160448.GC2080@chrisdown.name> <20201117210018.GA4247@weirdfishes> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Face: %JOeya=Dg!}[/#Go&*&cQ+)){p1c8}u\Fg2Q3&)kothIq|JnWoVzJtCFo~4X X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 17, 2020 at 01:22:49PM -0800, Matthew Garrett wrote: > > MSR_IA32_ENERGY_PERF_BIAS (cc: Len Brown, who tried mightily to > > convince me I was wrong here) on the grounds that it was exporting an > > implementation detail rather than providing a generic interface, and > > that it was something that could be done via userland instead. I > > thought we'd end up with more examples of similar functionality and > > could tie it into something more reasonable - history has proven me > > wrong on that. I think it's probably reasonable to dust off the driver > > that Len submitted however many years ago and push that into the > > kernel now. > > But ha ok based on Borislav's response it looks like someone's already > done that. Indeed, all is good. Just have to wait for it to be merged and the proper kernel to be released... -- Mathieu Chouquet-Stringer me@mathieu.digital The sun itself sees not till heaven clears. -- William Shakespeare --