From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 672ECC4707A for ; Fri, 21 May 2021 16:29:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4880D613E6 for ; Fri, 21 May 2021 16:29:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235667AbhEUQbS (ORCPT ); Fri, 21 May 2021 12:31:18 -0400 Received: from mail-ed1-f53.google.com ([209.85.208.53]:40491 "EHLO mail-ed1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231621AbhEUQbP (ORCPT ); Fri, 21 May 2021 12:31:15 -0400 Received: by mail-ed1-f53.google.com with SMTP id t3so23954274edc.7; Fri, 21 May 2021 09:29:51 -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=1baM0zqRLo4eZvgxJKx9Stnzz6oHz6lIg0FwM2ooeyw=; b=mMHzuGE0+np2peBsDZrfkVvODpWES2Br6wx4+md58GIguh8aw8/JoGY63rJD7qAqkP C3+MNbuq8nI7OJPaRNDIDzFYcyltQ34ycEVx7Zb7f2eV0aUts1QCYma7cDHzwYif2Qw+ rpsCYL9d/dnCHiox+QJ1BIVGdSla4fA4Caz9H4BVjLkyDb/3lq419+w0otap6nbFg+Fm CtuSZW1+i9pfC53OjcL8mf2HqR78WrO7CHbKHOk1wmiLOSwkGMjgZlVSOqmCabJ9dYvl bxfMSuMpudZAparEqYmYVYkEHHQmB+DL9iC2WU16RZS7QA/JtQxcmBbO0RNzDTPneIlS mbzA== X-Gm-Message-State: AOAM533likE2f+DYmkTIigPdjjU6nd5z2u2u+YFFZrgQhmw4CwHzzVDi iRZP0zvHssCjpHMIIRTZfc73f5/s4HIDK34hLM8= X-Google-Smtp-Source: ABdhPJy8wWvFIw2z6q3UTOyxrRzzX9vAEy/ime+Byc9f7G5gzFpP2diXVvJIY6pSfmg4SEUhaNbbySjlMNE3D+JlOFE= X-Received: by 2002:aa7:c818:: with SMTP id a24mr12147002edt.310.1621614590763; Fri, 21 May 2021 09:29:50 -0700 (PDT) MIME-Version: 1.0 References: <20210415044258.GA6318@zn.tnic> <20210415052938.GA2325@1wt.eu> <20210415054713.GB6318@zn.tnic> <20210419141454.GE9093@zn.tnic> <20210419191539.GH9093@zn.tnic> <20210419215809.GJ9093@zn.tnic> <874kf11yoz.ffs@nanos.tec.linutronix.de> <87pmxpk7jo.fsf@oldenburg.str.redhat.com> In-Reply-To: <87pmxpk7jo.fsf@oldenburg.str.redhat.com> From: Len Brown Date: Fri, 21 May 2021 12:29:39 -0400 Message-ID: Subject: Re: Candidate Linux ABI for Intel AMX and hypothetical new related features To: Florian Weimer Cc: Thomas Gleixner , Borislav Petkov , Willy Tarreau , Andy Lutomirski , "Bae, Chang Seok" , Dave Hansen , X86 ML , LKML , Linux API , "libc-alpha@sourceware.org" , Rich Felker , Kyle Huey , Keno Fischer , Arjan van de Ven Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 17, 2021 at 5:56 AM Florian Weimer wrote: > How expensive is checking XCR0 via XGETBV instead, on the AMX path? XGETBV takes about the same number of cycles as RDTSC (ie. it is relatively fast) Len Brown, Intel Open Source Technology Center