Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B409AC4167D for ; Tue, 16 Nov 2021 00:06:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A07E6614C8 for ; Tue, 16 Nov 2021 00:06:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354883AbhKPAIv (ORCPT ); Mon, 15 Nov 2021 19:08:51 -0500 Received: from mga18.intel.com ([134.134.136.126]:25873 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349535AbhKOUOf (ORCPT ); Mon, 15 Nov 2021 15:14:35 -0500 X-IronPort-AV: E=McAfee;i="6200,9189,10169"; a="220412383" X-IronPort-AV: E=Sophos;i="5.87,237,1631602800"; d="scan'208";a="220412383" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 12:11:29 -0800 X-IronPort-AV: E=Sophos;i="5.87,237,1631602800"; d="scan'208";a="506079126" Received: from avandeve-mobl.amr.corp.intel.com (HELO [10.209.23.12]) ([10.209.23.12]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 12:11:28 -0800 Message-ID: <8425e818-f6cc-ae52-ac6b-9cc80515c238@linux.intel.com> Date: Mon, 15 Nov 2021 12:11:28 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: Revisiting XFD-based AMX and heterogenous systems Content-Language: en-US To: Andy Lutomirski , Asit K Mallick , Dave Hansen , "Brown, Len" , Thomas Gleixner , "Peter Zijlstra (Intel)" , the arch/x86 maintainers , Borislav Petkov , Linux Kernel Mailing List , "Bae, Chang Seok" Cc: Andrew Cooper References: <0f03a9e2-4611-4b5c-962f-93a7e1d2bde8@www.fastmail.com> From: Arjan van de Ven In-Reply-To: <0f03a9e2-4611-4b5c-962f-93a7e1d2bde8@www.fastmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/15/2021 11:59 AM, Andy Lutomirski wrote: > [resend -- first try was HTML. oops.] > > Hi all- > > I just learned that current Alder Lake review samples are actually heterogenous, at least physically. The performance cores have AVX-512 and the efficiency cores don't have AVX-512. Since no OS supports actual runtime ISA heterogeneity, this feature seems to be hidden in that one must choose, per boot, whether one wants AVX-512 or efficiency cores, but the CPU is physically heterogenous. > > All the earlier discussions about Linux AMX architecture happened under the assumption that xfeature-heterogenous systems would never happen, and my grudging acceptance of the XFD model was predicated on that. But now we have obviously heterogenous hardware that is apparently actually shipping at least to reviewers, and I think we should revisit this before we merge AMX support. > Alderlake is not heterogenous. This is not just an "OS can deal with it" thing... it's throughout everything from low lower power delivery through bios through ...