Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751937AbcJIQ2c (ORCPT ); Sun, 9 Oct 2016 12:28:32 -0400 Received: from mx2.suse.de ([195.135.220.15]:44554 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751547AbcJIQ2b (ORCPT ); Sun, 9 Oct 2016 12:28:31 -0400 Date: Sun, 9 Oct 2016 18:28:23 +0200 From: Borislav Petkov To: Fenghua Yu Cc: Thomas Gleixner , "H. Peter Anvin" , Ingo Molnar , Tony Luck , Peter Zijlstra , Stephane Eranian , Dave Hansen , Nilay Vaish , Shaohua Li , David Carrillo-Cisneros , Ravi V Shankar , Sai Prakhya , Vikas Shivappa , linux-kernel , x86 Subject: Re: [PATCH v3 07/18] x86/intel_rdt: Add Haswell feature discovery Message-ID: <20161009162822.dpi3foa2eqcnw635@pd.tnic> References: <1475894763-64683-1-git-send-email-fenghua.yu@intel.com> <1475894763-64683-8-git-send-email-fenghua.yu@intel.com> <20161009114116.js3cevxzbuucjeni@pd.tnic> <20161009170936.GC7672@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20161009170936.GC7672@linux.intel.com> User-Agent: NeoMutt/ (1.7.0) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 607 Lines: 18 On Sun, Oct 09, 2016 at 10:09:37AM -0700, Fenghua Yu wrote: > The MSR is not guaranteed on every stepping of the family and model machine > because some parts may have the MSR fused off. And some bits in the MSR > may not be implemented on some parts. And in KVM or guest, the MSR may not > implemented. Those are reasons why we use wrmsr_safe/rdmsr_safe in Haswell > probe. Please add that info in a comment somewhere there as we'll all forget about it otherwise. Thanks. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --