Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3646051pxj; Mon, 24 May 2021 11:22:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzzYtxiAoqsTQNBVjFF9zGapgjHHVzWxUqPRyStUbzYLOfTNUpRUcIQPrmYczAXF5tF+5Z X-Received: by 2002:a92:c74b:: with SMTP id y11mr19399498ilp.302.1621880524064; Mon, 24 May 2021 11:22:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621880524; cv=none; d=google.com; s=arc-20160816; b=k84x7Vf1h0KpjMzWXI09JZipWqQEdqqJXv5hK5En3v+yBy1iUvCM3laAOEzaF4/pr+ leiJmEETSWtlrI8SbCYQvGWKArlqdcgO8g7a5VgkGPRuSWSRQSpO2+zJg+F13nTP5wB+ DJ+P7Iwy9ai9J78ZJNMG3f0udTNhJRWMC+uHxGE3RUl1OBas1Kclj0Bu0MZ5zto88YEr I7lYwiY60AtshbivxQAP3IMZtJJJSZpt2T5IUuNaNoGH0rjlZzSCZsOf7b2tittJty2n dVmWtSwP2y8COW4QiK3m+Y2Dh8kOO17+q1bPdsYB5aeNX/0HHjto+oQjy4W/ySnuXiYZ HUkw== 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=QTRAn6sKnTpFLjexpEsWGr3qh3gJ0MoVGcpa7DMK578=; b=P4FYY/A/BI1EtgHK8cEySLS4KsNDeVjW2i6jeS2ZHgQa+yQvOP8oDs+XTa6SeMYqTi l9t6PQQt3Emfhr+MVbKQJOACGGutf/83Xkn7lJ6iAeRDdm5O/tXh+uHzi7jbD6mLwkji KLpczwYQP4JOBEty2z8ylmldoUbJy5HGsHyoe/jwhocxbJQvd4LQ8ksQzGKeaVdoKM/U HSdaSgXIyDzVjE1ojTv3uHdCFFD+vXGBbei/1pnekVvizEDNCZp52prgNK1cwXuZqA/2 RkMj5PxVQY6FUma28czehpCucLWBoID7yh4ixICRCHNyHAaC3OdTh8py4XgMZGuGjWNW NPoA== 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 l22si15460876jad.10.2021.05.24.11.21.49; Mon, 24 May 2021 11:22:04 -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 S233768AbhEXSWq (ORCPT + 99 others); Mon, 24 May 2021 14:22:46 -0400 Received: from mail-ed1-f54.google.com ([209.85.208.54]:42984 "EHLO mail-ed1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233104AbhEXSWp (ORCPT ); Mon, 24 May 2021 14:22:45 -0400 Received: by mail-ed1-f54.google.com with SMTP id i13so33076194edb.9 for ; Mon, 24 May 2021 11:21:16 -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=QTRAn6sKnTpFLjexpEsWGr3qh3gJ0MoVGcpa7DMK578=; b=I4D8Gsfnj4uJECQ9i5XFtDvT7/xCeOhehqik0+/T+0I8V+9a0vvpxZ8K/Zy7z2phDx JJ6H4XgPQ5rTXrOcxhtIExL5LFtzyjZReUBZl/NGG1mD8Qq82PwfwMI/+11Oj4A+JCvJ VSWXrd8Qwn8DWoLlzTzR3zpY8lI+2a5QlpWZKxCitI+yE/ZbCIHMMrE2L6r5vd3HRevY fmvQIZnxQdipr9opIEIhsWjOFRxrA3BZEUKv5djua32YVa3KxX+dqjBBY4l76atnwt1E suhEplnIKXTkcqOhz2stq3x/p7h30FUz5IsuwmtdnmL91WHGnpW9oKdpn3xyiYUdmF3N XUug== X-Gm-Message-State: AOAM533GGSirB4CzKwxPsI8P5AQAgyAYOn99v4v5Sd8hvU2ZpYuYKsQ8 E74lDAThWe8Yd1UvslwgNJntacEK9Sa/JQ9Io6M= X-Received: by 2002:a05:6402:5a:: with SMTP id f26mr27248413edu.306.1621880476224; Mon, 24 May 2021 11:21:16 -0700 (PDT) MIME-Version: 1.0 References: <20210523193259.26200-1-chang.seok.bae@intel.com> <20210523193259.26200-22-chang.seok.bae@intel.com> <8c8d91ae-5a3b-9523-725d-134840102df7@kernel.org> <5a645958-10ab-46e7-9650-e5746a8d2276@www.fastmail.com> In-Reply-To: <5a645958-10ab-46e7-9650-e5746a8d2276@www.fastmail.com> From: Len Brown Date: Mon, 24 May 2021 14:21:05 -0400 Message-ID: Subject: Re: [PATCH v5 21/28] x86/fpu/amx: Initialize child's AMX state To: Andy Lutomirski Cc: "Bae, Chang Seok" , Borislav Petkov , Thomas Gleixner , Ingo Molnar , "the arch/x86 maintainers" , "Brown, Len" , Dave Hansen , "Liu, Jing2" , "Shankar, Ravi V" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 24, 2021 at 2:14 PM Andy Lutomirski wrote: > What does VOLATILE mean in this context? Volatile means caller-saved. Volatile registers can not be used for globals, static, or for parameter passing. ie. By the time the callee is running, they must be assumed to be invalid. This means that any routine, including the target of a system call, such as fork/clone, can't assume that any data exists in these registers. -- Len Brown, Intel Open Source Technology Center