Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1300248ybt; Thu, 25 Jun 2020 02:45:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5JPFL/D+h2FpDEW+2mKZvtDPTveaOIWM8Se6Ko85fBddi2MMBqUr3rBGE4r6VOiC/rX3i X-Received: by 2002:a17:906:71d4:: with SMTP id i20mr1573760ejk.533.1593078309705; Thu, 25 Jun 2020 02:45:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593078309; cv=none; d=google.com; s=arc-20160816; b=FFRf4SyunS2R9pMuqIQe7UgZ9pXKWq4P6M3+oCi236POhXf5pfMsduhNsuRHRZoema xDC5JrYGrOERvkkqpKNqbqugZsC7yUD1jnlVmDKR/k4iV2feP377TqoU4Is4i1WjeqB1 nLj9dMRQfX8lMrdlLjayUlze1osxBbBl4KSXkjbC57cHPDX+hQ/NzHS6HjuicJN2G9mL xhEcenCNqaMbLsHZVEcM0zDqVlseEdd8pbHvufBX0nfATxbiXZWEb3LynLeEdlrbWiLh ID6tUft6mnCikSg68m7cZn4BDn/IQSet1rDoHe4UjBWinxZu0tQ+UtSOzX+lp0JSGmgE GqMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=TEbs56PTtDFwpUeGGKiJlmA6ajGefiuq179NAJxJodY=; b=CQKmHqs6mvo6W9xloCW5AJCZwhnEYUsdOWnW7rkX1whgTr90/1jwN2+k87TTCKcubH Fo1tvGy6ass14ZfKbxpxtDsKoVwAQ6RcWAukgwnZ6+cY/Ci/vZQgs05kNddmmxNEITaP KzKxeaPuiDx6Gf69snotkNGtdozAkWpp4WFK1APRUYd0IRn9BdpFHUjAx1Q9F56D557p Va97v2GohPdYr9vjMushcjbOcCSZHZhshQQ5JNhhuYrEUjVHB0LXQa1GBxPZpf8DbpFb v79Mgt8CyWFXXWr213rK3KLglTs7MHV0/i5fGTydAiuXYNxW+3ny4vGKzPnMKdVmi3fD NDDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=IZu192iR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce10si7197361edb.534.2020.06.25.02.44.46; Thu, 25 Jun 2020 02:45:09 -0700 (PDT) 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; dkim=pass header.i=@alien8.de header.s=dkim header.b=IZu192iR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390735AbgFYIh6 (ORCPT + 99 others); Thu, 25 Jun 2020 04:37:58 -0400 Received: from mail.skyhub.de ([5.9.137.197]:56392 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390671AbgFYIh5 (ORCPT ); Thu, 25 Jun 2020 04:37:57 -0400 Received: from zn.tnic (p200300ec2f0ed10059a0945b2d1dc694.dip0.t-ipconnect.de [IPv6:2003:ec:2f0e:d100:59a0:945b:2d1d:c694]) (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 9AE121EC0114; Thu, 25 Jun 2020 10:37:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1593074275; 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:in-reply-to:in-reply-to: references:references; bh=TEbs56PTtDFwpUeGGKiJlmA6ajGefiuq179NAJxJodY=; b=IZu192iRvVGE133R9mgXxZEOXTLDyHlAleLGkmXatnUZM7vj6N9HLylA51XVfSfELa3rrq VmXYPagqrqvYv0oABzImhAox1E8fpFFufkyjKWF59mMaLiMKs3DHQzKySFq4UIi9k6JACe EI131r7aGsiJ0JwhwV2niHimBohBdxQ= Date: Thu, 25 Jun 2020 10:37:46 +0200 From: Borislav Petkov To: Sean Christopherson Cc: x86-ml , Linus Torvalds , lkml , Tony Luck Subject: Re: [PATCH -v2.1] x86/msr: Filter MSR writes Message-ID: <20200625083746.GA20319@zn.tnic> References: <20200612105026.GA22660@zn.tnic> <20200613154844.GB584@zn.tnic> <20200615063837.GA14668@zn.tnic> <20200625055140.GA2141@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200625055140.GA2141@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 24, 2020 at 10:51:40PM -0700, Sean Christopherson wrote: > Maybe s/unrecognized/unauthorized? Unrecognized implies the kernel doesn't > know anything about the MSR being written, which may not hold true. "unrecognized" in the sense that it is not on the whitelist above. It contains only one MSR and when the patches for the interface to that MSR get upstreamed, it won't be needed anymore. But this all is WIP anyway so we'll adjust that printk when we know whether we wanna have a whitelist at all... > Random leftover whitespace change. That's spreading out the statements for better readability. That file could use more spreading out too. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette