Received: by 2002:ab2:6486:0:b0:1ef:eae8:a797 with SMTP id de6csp93564lqb; Fri, 15 Mar 2024 16:51:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXhtw750LiuSVr0YyWq3F3Qpsxm58GsQq7ZF0V0oiKcGjkOOISVcZKABHgo6pdgs0A3mpoxQ6/Qoxz3z9JXbVYlAMI3j1H1THbIkkVzfA== X-Google-Smtp-Source: AGHT+IHL008nBG87At4CYYFu6rUALqM9xNa9R8aiIDOTvuuJttZtZiNMxgcs3IttDcl3qWuZLoqL X-Received: by 2002:ac8:5cd2:0:b0:42e:f37b:e859 with SMTP id s18-20020ac85cd2000000b0042ef37be859mr6512708qta.25.1710546698708; Fri, 15 Mar 2024 16:51:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710546698; cv=pass; d=google.com; s=arc-20160816; b=dNbMTbmGW1WdYGAQixU8yaZHW7ufeHv3d0vAggDKvt2qzL5YohtXOwoY5hzzro49XE OMqI6gKpkTXBoeztEwObnYzKcFY/wTbtgld5CypaLju4huNRs/OaIlC3Yt71EXF40zSk VYHcIyz5cZquNOtOHz80YWYo9QNA7BjAivlHvBRIUhStiB6dOZ2/JDZn7c4jLSXi7Doy guuKBM72L49eIN90kTNNJeiN+wY//Cm3v+/hgXsV9QqYiQqaJJ0cE3mWRyElJWn6UfrT Oj18pPOpMjfcBqAs0ZKD1PCAQih8OO3bK0cWsA7lRcEK5msl3V/JJOzG32kICSL7ns6m tOpQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=Miou2k+UhGYGY4SJcmQw585wT8SSQhHvWDGf+ECF8+o=; fh=x6EyqWs9605mSq86lOtbVVFIjci5HCmZ5ZR5BtyJqFc=; b=QIdVYnC6j8V7IUW8C0MsGZRdyOufnpnFmleuFtXZtfwfHvMst8GO9Xq6IJ3oZYs+s8 CjRVRZEOeRjYXlx34OUQmvdjyiwZtC/C/JJhIV3DTvJ9lI59iks1GLKQ7D2VBcPcUQqr c5GQavPU0jdwwcnzeLtpBTLAchfmiF1KpzcWgzfFqTgjm09lSPPYdb830zghIaiDlC4U 4jtdyEklkRG8tiMt07RJ4mGBUCheYNXXEcnPTz+VigFtDkiSf5vNLzTLxNwCYbnyJ/TQ LIW0GJ8pFVRqbgMOWbkLC3YgCPHdmYFeU3NYteq5wXV/HF8la4RzX2mwmcKsOeYKgTNC 1JqQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="b3/1Rq+m"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=XmTWXAk7; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-104996-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104996-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v5-20020a05622a014500b0042eecb4483fsi630562qtw.141.2024.03.15.16.51.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 16:51:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104996-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="b3/1Rq+m"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=XmTWXAk7; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-104996-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104996-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 329A71C21466 for ; Fri, 15 Mar 2024 23:51:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D37E15A4D5; Fri, 15 Mar 2024 23:51:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="b3/1Rq+m"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="XmTWXAk7" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9396B59B7C; Fri, 15 Mar 2024 23:51:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710546692; cv=none; b=UBYmXeMv4g0yw0IijaE1p6wqs4P3LKIoJdovPvsfjN4v9iJl3aFrXTLZ01FL0HuO58ZIVjsZeToJSqHR2ixv6MkALgViCD541yrNAUJxD3I4FM50ZPRFWGJTlMD/9NZ07iA4FVySgHcPNHrPVvqoD9vTa6QwsRB0LeVlQHxXiCY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710546692; c=relaxed/simple; bh=SrFivRdWVjM7gMC+uIcPBoDVT6y0kS6ywMihLVjkIjM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=TymW6Ck0rg9EYw831HqGsZjzNXsERqA3jAHMC67rty0EiqhOF12ZbIV5ekEeBTGMIN4YBBZG5TwTuWWOd9G1rKxH/GX7qa0KpJeZaUnLxD4SB7qxByHH0ikJ7nEpUpMiK27RXpTGwFyUG/mD1XIY86S/oQBB/lcS+S2Xf2sxLOI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=b3/1Rq+m; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=XmTWXAk7; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1710546688; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Miou2k+UhGYGY4SJcmQw585wT8SSQhHvWDGf+ECF8+o=; b=b3/1Rq+mPFr7G3wtb7+wYHB2LiWKrlY7QVudbKeM8fs2DP7nI8gKDbdjS7HpjASZ0t0CIY KS4jwvvcUqG8pKGbiLgctdTz+Z/JHzvO3gQ79sMSPqgTAvcBPHyscsXsOOLvQvqCqUtoQE OqmAVthRG8X2NbB7CLrFhs/vrgYSNY3zoMjh/teUa0C/qwiPF654hWZ2AYtKJmRuKBtnms 08Wm2IxibS1vzUQjzzMkJB+jMRHKZigu0IknS+vsyMwnRPyuavxCSOuQDKVUfRMlR03bKu ZQbCDGLAdJNQwXrK5ucbbtxjZAkfrrZeOHD+ivqxAqDE+cxpYGVO5CEDJcZCpA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1710546688; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Miou2k+UhGYGY4SJcmQw585wT8SSQhHvWDGf+ECF8+o=; b=XmTWXAk7jPDIJ9p3Z19L+CuwDaBuDDNc6y+XNbmOlsC4vNgPLaSm6cmW3ASyZvXnuNNb+H f5k9vDGESvQ/3BAA== To: Borislav Petkov , Dave Hansen Cc: Vignesh Balasubramanian , linux-kernel@vger.kernel.org, linux-toolchains@vger.kernel.org, mpe@ellerman.id.au, npiggin@gmail.com, christophe.leroy@csgroup.eu, aneesh.kumar@kernel.org, naveen.n.rao@linux.ibm.com, ebiederm@xmission.com, keescook@chromium.org, x86@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-mm@kvack.org, jinisusan.george@amd.com, matz@suse.de, binutils@sourceware.org, jhb@freebsd.org, felix.willgerodt@intel.com Subject: Re: [PATCH 1/1] x86/elf: Add a new .note section containing Xfeatures information to x86 core files In-Reply-To: <20240314162954.GAZfMmAnYQoRjRbRzc@fat_crate.local> References: <20240314112359.50713-1-vigbalas@amd.com> <20240314112359.50713-2-vigbalas@amd.com> <20240314160824.GDZfMg-J1VOyjxIMiV@fat_crate.local> <6ce6aa20-25d2-4784-823f-2a18f592e002@intel.com> <20240314162954.GAZfMmAnYQoRjRbRzc@fat_crate.local> Date: Sat, 16 Mar 2024 00:51:28 +0100 Message-ID: <87cyrvjbpb.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Thu, Mar 14 2024 at 17:29, Borislav Petkov wrote: > On Thu, Mar 14, 2024 at 09:19:15AM -0700, Dave Hansen wrote: >> Are you envisioning an *XSAVE* state component that's not described by >> CPUID? > > I want to be prepared. You can imagine some of the short cuts and > corners cutting hw guys would do so I'd want to be prepared there and > not tie this to CPUID. Anything which is not enumerated in CPUID does not exist in XSTATE. Period and end of story. Stop paving the way for hardware people to have an excuse for being stupid. Aside of that XSTATE is a dead end as we all know. Thanks, tglx