Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1933889pxf; Fri, 26 Mar 2021 20:42:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJeOYccqdDJfztODSWmJs5wesXF1iEydoyKpbU1qeuz926q72UxRi+0IjnHN151ORdwa5Q X-Received: by 2002:a05:6402:158d:: with SMTP id c13mr18281029edv.297.1616816548413; Fri, 26 Mar 2021 20:42:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616816548; cv=none; d=google.com; s=arc-20160816; b=r3CO/4vCO7CyYeFdBuGJpJPepGZairabM+pNMF2jIObqGFNW6TN/AlJ0X25RR4QmFP DCqQHgRyHnKiqckh+pJA7QTx9iUi/y32mbGvRXvDiFyMy/1iC8vcKCyDGvxd1bHuUwhn 2/pdag0ViZfELysaclbFYFOG+oSfrTWGBzervj9SbtJq7s9tI/B4eovrDEx83/WlEYK7 73MzJ5/Oo5BSDgcwdRGwXuIVnTb9OwbDfPFafhxMlXN8hTR0zx7TAM6kUgz2wXy+myLT oeRxsU2ZFk1rr6VZFwdB9/v4OtFOA8Dvnknn9/6tzlZna2upq1J2xUpfNoN4IJ6jPWF1 uNfQ== 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=zzvQOdiTuJn91EksSWxSV9lMXnSkfJJHPv+wvQk24Fc=; b=qpaUFt2JxXc5nwmtNjjuvs1SDPzj0obA5qUS+tIN+rz5ESvOmMt+aS2iISWObS0Ucg HTV2ok7O1vRu7v/+v5o7cDSSwObz2VaW/r4tNfyYTvsf926psMxEOHkpUvTfXYnGk8pf SStrZMx0oT9FBt9aEZU+dFg9svOeeDiKVQt+gZqT6HeDdBCc/qcTCFwwUanvlSmlsYKC kwmGZEWM2w5wMsee5mR8yHs9sp1PrwEgd1H09HKS8kikD4OTA0Oo5CSL0g7HR0xuTbAZ JfEf6ORb/GJuRFGkJ15bzPgqdfMXd2Sl8fu7/9YupI2Tw/ylE3gaSvnFtJAqL7NJEZ34 cGRA== 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 g16si8822932ejf.96.2021.03.26.20.42.06; Fri, 26 Mar 2021 20:42:28 -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 S230152AbhC0Djw (ORCPT + 99 others); Fri, 26 Mar 2021 23:39:52 -0400 Received: from mail-ej1-f51.google.com ([209.85.218.51]:46867 "EHLO mail-ej1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229880AbhC0Dja (ORCPT ); Fri, 26 Mar 2021 23:39:30 -0400 Received: by mail-ej1-f51.google.com with SMTP id u21so11240764ejo.13; Fri, 26 Mar 2021 20:39:29 -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=zzvQOdiTuJn91EksSWxSV9lMXnSkfJJHPv+wvQk24Fc=; b=RcZ5Y0+kvdwYLz9v8PrcrOO/2JutvaIHwDlLmhO7RbsdFP01vgK+5sv6k50O2ZmSE6 GLdHGKiAEKHBL+hCyI9zKCg0T27pZYLLfBfY93tblH/PzG0zweItJPCD5Za1wz7J4dyr KXqXhppR2lWPi1RiPEe3gwOEV57x+IYu3aPMK3ptcBiubMPNPH+fmXDhMl1pO1mvzPhP SmVaYufktp1IlIhNUV5tYDcQTgGVIqRAaQ1sVpIndrL23ELnq4lgD5YPSebIdkybhPW9 sV28h+COqc44FWER/HbMH4f3vrACnh6WLkKxxycMlxfReZY2A1Uehq5UEh/nDzfkRmrW Z8aw== X-Gm-Message-State: AOAM530yx+Jvgwqk8F445+6wXH6aepVfSbo+MoTUzng3k7K5YycJSN6T rF4lnouaTul8b9+Dqdo0aznxgK+JRJjwxZZeRHM= X-Received: by 2002:a17:906:b4c:: with SMTP id v12mr18535870ejg.330.1616816369239; Fri, 26 Mar 2021 20:39:29 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Len Brown Date: Fri, 26 Mar 2021 23:39:18 -0400 Message-ID: Subject: Re: Candidate Linux ABI for Intel AMX and hypothetical new related features To: Andy Lutomirski Cc: "Bae, Chang Seok" , Dave Hansen , X86 ML , LKML , libc-alpha , Florian Weimer , Rich Felker , Kyle Huey , Keno Fischer , Linux API Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andy, Say a mainline links with a math library that uses AMX without the knowledge of the mainline. Say the mainline is also linked with a userspace threading library that thinks it has a concept of XSAVE area size. Wouldn't the change in XCR0, resulting in XSAVE size change, risk confusing the threading library? thanks, Len Brown, Intel Open Source Technology Center