Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp360187pxb; Wed, 14 Apr 2021 17:49:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAi5Pkbc5wV1anb601Nzh3Ll/SqLAw7Crx8OdVw2Dv1/zimo4gx2bbnDfAnuCxP7+pBtAg X-Received: by 2002:a50:fd16:: with SMTP id i22mr999283eds.239.1618447755020; Wed, 14 Apr 2021 17:49:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618447755; cv=none; d=google.com; s=arc-20160816; b=BNmxpDeS7uM6WOSW8ictTTHbxdoAC3tRcJqGVKf/BK0JKfM2kF0B06VYTL5GdW4fH8 Y9qMjRdHCkPi864hbkYH2I7WZ5lrIYsc5qsiSAOr/WSKgYqO2ye4w/CxrsfHr4hg0DcE PSHAtvYxHk3fhGGnbCp7WQ6NYYuBJdb06Z30wm9rWqdjIu1N99p/BNYjnYidNL3jCFyj /kcP/QZoPdUgtgYyLUEeiILm6h4gyeUvVdg0NLOkFrw4E6YSM2PrpBK2n4anK3d+XC+N NWOeBLv6WNBkBPGE4Okui+E6Ewxh4amGB2uzqMe3eh+zCFIfF8WQOviW2ljF15jzvOAI /IdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=hJDYdY4y4ttJ0VfwvoAkuVaHu7q9owyfa4h9zmvYo7o=; b=CiM6hLhnzaLs/64jPNtNxQgTjJ2N/XavlwCbHoli8WVxCkcc1FpwrRuneaI1P3LMWp baKsbwws16UdN6cihfk2OQy2LY9PEKMKtRsGiVnv6MJPjvw9/lS1GS9aRgN6mTcTAijG AruRMlqqemXLlYLHrr7VSNJrh7ipJb7Nx2q16+zPxyDTJhC43O/i6Go7Qi5zEAhEIqcM awmPnRmR2HEpK3wIoiKV+mP7ukFlc7UvAQZz6nOoGrekRaDPMiA3YLWXOR90GwX4kx/s EF9+QRhhg17sf05rQ37hF8T4r9YwiVYw2nA/E3HRMsjXJIuE2wl48j6NhjClRllBItN6 GtjA== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d22si792257eje.277.2021.04.14.17.48.51; Wed, 14 Apr 2021 17:49:15 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229922AbhDNV6C (ORCPT + 99 others); Wed, 14 Apr 2021 17:58:02 -0400 Received: from mail-ed1-f52.google.com ([209.85.208.52]:35614 "EHLO mail-ed1-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229677AbhDNV55 (ORCPT ); Wed, 14 Apr 2021 17:57:57 -0400 Received: by mail-ed1-f52.google.com with SMTP id x4so25556937edd.2; Wed, 14 Apr 2021 14:57:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hJDYdY4y4ttJ0VfwvoAkuVaHu7q9owyfa4h9zmvYo7o=; b=q+hmMs4eMJFI5pwsDAwQSh3ScEFJY2u7EHaGC0NLzB0wrYcC8fdS9zQCTs9svhhcIz vDMHtLpCwb4AzM5HAG9eXpNJwdLKZHtsjThu23+dsPzX32AwGjGLFEafHb/ulVR4U1LG fgbPG8SDH6pfYu8jNIQhKgY+oSNjnSqcPVRW0fKBh0Lc6PjSNAyX85DjCKwRRnakHr59 LTASD1gtGmaIODUhBDPx3v/+ocPUN/BAPHERW6N1wsu0GiTBaTRz5K3J8A4oYiw85viD +vE4t9UWA8urI8c7+Z2JYOi3hnOthuDemC9OHM7mNFItgfur0mWBBxRfrcU/Oqme9pIW 0Elw== X-Gm-Message-State: AOAM5301XrlZ6K45jz01tEp+9KJyVTtcMMUG0RvbkWrcRZTmq6AugKpc /QHETIiCFeWkUyLYtqs7tZEfdVyCtI3Bnmm7P1E= X-Received: by 2002:a05:6402:2208:: with SMTP id cq8mr394377edb.122.1618437453589; Wed, 14 Apr 2021 14:57:33 -0700 (PDT) MIME-Version: 1.0 References: <87lf9nk2ku.fsf@oldenburg.str.redhat.com> <20210413034346.GA22861@1wt.eu> <20210414095804.GB10709@zn.tnic> In-Reply-To: <20210414095804.GB10709@zn.tnic> From: Len Brown Date: Wed, 14 Apr 2021 17:57:22 -0400 Message-ID: Subject: Re: Candidate Linux ABI for Intel AMX and hypothetical new related features To: Borislav Petkov Cc: Willy Tarreau , Andy Lutomirski , Florian Weimer , "Bae, Chang Seok" , Dave Hansen , X86 ML , LKML , linux-abi@vger.kernel.org, "libc-alpha@sourceware.org" , Rich Felker , Kyle Huey , Keno Fischer Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 14, 2021 at 5:58 AM Borislav Petkov wrote: > > On Tue, Apr 13, 2021 at 03:51:50PM -0400, Len Brown wrote: > > AMX does the type of matrix multiplication that AI algorithms use. In > > the unlikely event that you or one of the libraries you call are doing > > the same, then you will be very happy with AMX. Otherwise, you'll > > probably not use it. > > Which sounds to me like AMX is something which should not be enabled > automatically but explicitly requested. I don't see the majority of the > processes on the majority of the Linux machines out there doing AI with > AMX - at least not anytime soon. If it becomes ubiquitous later, we can > make it automatic then. I'm pretty sure that the "it isn't my use case of interest, so it doesn't matter" line of reasoning has long been established as -EINVAL ;-)