From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4C9BA308F0D for ; Thu, 18 Sep 2025 13:16:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758201365; cv=none; b=UUSDygSO+GhdhZWFuf6Xqu2qqLuT7mXQ81PdMGUOwDZTu3InEKJ52uWl9QgRcZPbwuD+TfHTjHqw0uC941P7BdzuQ/LfNuW/G1M0TtWVrqtFe0XShcaZxGmwJYWEC5R0DxlawKCFPiJfxSDoUJmyMtARIZiXwZy3BvOIb/l+Nmc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758201365; c=relaxed/simple; bh=o31y49SfOz1zzDeXlwC3LGsLmhzXDfMciiKmJfbYODI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=e7jDPD7HlZfWb/jfj7uHtACYM5pSG4LS25O4PnR77dVF+o4xtY8IuzvLm30fVPmZTpOa91/dyE9MLVwgFZZAJwV7P96jt4we3n2YBakEd4JRrDOmRTzS0r3U39lao5H+q7qBDQA+WfSJCKrLVpuYEPU+lraFKuUMkwo00D8v+HQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=jMukja3X; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=keCR8TzQ; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="jMukja3X"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="keCR8TzQ" Date: Thu, 18 Sep 2025 15:15:58 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1758201361; 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: in-reply-to:in-reply-to:references:references; bh=25kJklno+agO++8IqSq2aLV4AxGk+lui9rOAwcO0s+Y=; b=jMukja3XOJ3dATz9P6EGzMCQW/u6WOV8vIV+LGIrfQYxGTrkhCjzIKfauhHfjt5/5sm9Dm RIBUHsCoTGYR1Z2ZbCFsiZaAAKMHNPDwOmJtakSZpkTvW4lb1ATMOGUa2hUWDakZ2f82ev 70oPyZUe9KCLv9kEarEXfqD6G0xS9CeIPTWoa/fXJW5buNm/oew5AeS/wC3qnxdhAzNQy0 oaGI9hm2O0QOXPZnPwOIhy7BkVrKeKhCdXTNUP+QkYqgM6ueeWntFH1EtwjEIYI+MyI0FB XBBE8AUbzDpfAf1o8JC2QtHN7yEyWDsOMz//n46ew0VADrII7FHKK89zxR92RQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1758201361; 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: in-reply-to:in-reply-to:references:references; bh=25kJklno+agO++8IqSq2aLV4AxGk+lui9rOAwcO0s+Y=; b=keCR8TzQs4Io7DMmXcCvlVQP04DhsSY+KOy3F8fF9vwMVsbj/Zf1CUsmbKV8nVjBkIbe46 nPXduyGjYpBr2dBQ== From: "Ahmed S. Darwish" To: Borislav Petkov , Ingo Molnar , Dave Hansen Cc: Thomas Gleixner , Andrew Cooper , Sean Christopherson , David Woodhouse , "H. Peter Anvin" , Peter Zijlstra , Sohil Mehta , John Ogness , x86@kernel.org, x86-cpuid@lists.linux.dev, LKML Subject: Re: [PATCH v5 08/35] x86/cpuid: Introduce a centralized CPUID parser Message-ID: References: <20250905121515.192792-1-darwi@linutronix.de> <20250905121515.192792-9-darwi@linutronix.de> Precedence: bulk X-Mailing-List: x86-cpuid@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250905121515.192792-9-darwi@linutronix.de> On Fri, 05 Sep 2025, Ahmed S. Darwish wrote: > > /** > - * cpuid_leaf_regs() - Access parsed CPUID data in raw format > + * cpuid_leaf_raw() - Access parsed CPUID data in raw format ... > -#define cpuid_leaf_regs(_cpuinfo, _leaf) \ > +#define cpuid_leaf_raw(_cpuinfo, _leaf) \ > ((const struct cpuid_regs *)(cpuid_leaf(_cpuinfo, _leaf))) ... > /** > - * cpuid_subleaf_n_regs() - Access parsed CPUID data for leaf with dynamic subleaf range > + * cpuid_subleaf_n_raw() - Access parsed CPUID data for leaf with dynamic subleaf range ... > -#define cpuid_subleaf_n_regs(_cpuinfo, _leaf, _subleaf) \ > +#define cpuid_subleaf_n_raw(_cpuinfo, _leaf, _subleaf) \ > ((const struct cpuid_regs *)cpuid_subleaf_n(_cpuinfo, _leaf, _subleaf)) > That snippet should've been folded into the previous patch. Rest of the PQ stays as-is. I'll not spam the list with a v6 just for this, since the next iteration should include the X86_FEATURE adaptation mentioned in the cover. Thanks, Ahmed