From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762660AbdAJJOP (ORCPT ); Tue, 10 Jan 2017 04:14:15 -0500 Received: from mx2.suse.de ([195.135.220.15]:35690 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757566AbdAJJNU (ORCPT ); Tue, 10 Jan 2017 04:13:20 -0500 Date: Tue, 10 Jan 2017 10:04:15 +0100 From: Borislav Petkov To: hpa@zytor.com Cc: linux-tip-commits@vger.kernel.org, tip-bot for Borislav Petkov , mingo@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de Subject: Re: [tip:x86/urgent] x86/CPU: Add native CPUID variants returning a single datum Message-ID: <20170110090415.46htye4aczidzvh2@pd.tnic> References: <20170109114147.5082-2-bp@alien8.de> <9724A6CA-1F64-4B4D-BAE4-4116FCE7838D@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9724A6CA-1F64-4B4D-BAE4-4116FCE7838D@zytor.com> User-Agent: NeoMutt/20161014 (1.7.1) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 09, 2017 at 04:19:29PM -0800, hpa@zytor.com wrote: > Any reason to not make these interfaces (leaf, subleaf) from the start? Two, actually: 1. I modelled them after the cpuid_(op) versions 2. I don't think we need the subleaf variant right now. But, when we do, we can do that when we cross that bridge and add native_cpuid_(leaf, subleaf) which gets called by the native_cpuid_(leaf) variants. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --