Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2832876pxb; Mon, 19 Apr 2021 15:27:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycS3Zeozsd5IuRscFo1KBFojp2altSeLNkPCxS7I7lA0AtYlzd91SzEDmC4a+1sFZ1KCAX X-Received: by 2002:aa7:85d7:0:b029:25d:2b00:2c6c with SMTP id z23-20020aa785d70000b029025d2b002c6cmr11075360pfn.3.1618871231317; Mon, 19 Apr 2021 15:27:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618871231; cv=none; d=google.com; s=arc-20160816; b=ftJrfCZlMg0h83BesDLHUb+IxmHCtv4XMVFtWKZ2DnQe5chbKfXDmp0f3dsf5wqQiw W9sNEYjG0tiY2E0P3WHuCJin/VFhkSTMOA7oOg2uZM0ff0/ZiXvUiw+y2JHDx/iwN763 eHmuVRAIx64m/irgEyEhpG+yW80+LhSGdCHtxFnK285Xe6gvRBc6YSNj83L3SUWS11qE tMlgIhNofUwFZpF8TOjTGg/fhEsDZHEYGzBOaMynG0YKqOFf4X7uaxuydMuBB64LcyTA rpsQ3POZXawhDA+ssEfVLHAxuN0HJH8icPtAS6L21lLOA1NR7nlGlLO2WWxWVPJzcVVz AgmQ== 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=k4lZkatXb+HtS3bJ1b949kz/uK97pUNLaxlZTbtwP3E=; b=m44X0zwNLH3/Iz8Kvb6aUJuj3jLmWMX8Sso9XcFLKHHqIkOl0e5ajZmjSrQK0riiel 258f4weP1BmdRBpj+fxIBlJRTpU352yTDURr3cZ/Latm9IelglewISxaVbiFLFtp3Kc0 4+2d6akvJPsUYjZ+mcE8tqy3/Hs5NFWhdE5JHHWtYDx8nWbT9ahbhMbnLyGEM5istwoj tshiVTK/Q6emt3UW5N/XJFGHkY8QwUl8PnTFA3fdjfJUvX50zQiKakyNZ/j2eICCsjZ2 /LGVNYOYO/cYIjNvAfRnWwKUEexTGvakDiJK09/LQ9cSQfvcNTh1K4y8FaQLkPgYAJ8u fEsg== 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 q1si18318076pfj.323.2021.04.19.15.26.59; Mon, 19 Apr 2021 15:27:11 -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 S240662AbhDSVdu (ORCPT + 99 others); Mon, 19 Apr 2021 17:33:50 -0400 Received: from mail-ed1-f49.google.com ([209.85.208.49]:44000 "EHLO mail-ed1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbhDSVdq (ORCPT ); Mon, 19 Apr 2021 17:33:46 -0400 Received: by mail-ed1-f49.google.com with SMTP id e7so42415080edu.10; Mon, 19 Apr 2021 14:33:15 -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=k4lZkatXb+HtS3bJ1b949kz/uK97pUNLaxlZTbtwP3E=; b=nfo8Fb6xGtbS9ZCBV6O2ML+P/U1g5GzbRSZp04xFRTs8MWSQ3R793tqoy+I/SqxJp/ Nu2EuiS5AsVmzhj85SxMAGO373ojpIAaBTzfGApiPcKtRxN3qraSkaZNI+Qa0BKfjYpc LZbS8T9C3gjLS/IEwKpyYnulDLy2KkErLFjHNUhytKhSMj66OcJhqsNQl9CcxfEZVVei LningMTbvNsu41MTqX4MXjdXez87RxUSCKoedikmY6C4sq2awN+2wHN0neLz2bLon/Ha rHajBZ+xdjrNNNSBoiur2KrNCYvG4CpaGPa+StJQ24/jwFtnTJmSJvyyz6sEJQ31744o O0SQ== X-Gm-Message-State: AOAM531fdHb/oa6DRkHgcCAKrEDxDzcnIKEpgnZJWuxnmouEM3ppSKl8 Um2OktS1oB0QnanSLc8qCVqpxgT1cHdZl+B2GbY= X-Received: by 2002:a05:6402:35c9:: with SMTP id z9mr28154497edc.94.1618867994938; Mon, 19 Apr 2021 14:33:14 -0700 (PDT) MIME-Version: 1.0 References: <20210413034346.GA22861@1wt.eu> <20210414095804.GB10709@zn.tnic> <20210415044258.GA6318@zn.tnic> <20210415052938.GA2325@1wt.eu> <20210415054713.GB6318@zn.tnic> <20210419141454.GE9093@zn.tnic> <20210419191539.GH9093@zn.tnic> In-Reply-To: <20210419191539.GH9093@zn.tnic> From: Len Brown Date: Mon, 19 Apr 2021 17:33:03 -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 Mon, Apr 19, 2021 at 3:15 PM Borislav Petkov wrote: > All of a sudden you have *every* thread sporting a fat 8K buffer because > the library decided to use a fat buffer feature for it. > > Nope, I don't want that to happen. For this to happen, every thread would not only have to include/link-with code that uses AMX, but that code would have to *run*. I'm sure that the AI guys are super excited about matrix multiplication, but I have a hard time imagining why grep(1) would find a use for it. Indeed, if anyone expected AMX to be used by every task, we would have never gone to the trouble of inventing the XFD hardware to support the kernel's lazy 8KB buffer allocation. cheers, Len Brown, Intel Open Source Technology Center