Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp155462lqo; Wed, 27 Mar 2024 09:18:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVvzO6yWj6W8xX2BT5IC65huCbkObesLEzBGBw60EpEyNk3bHuvDU2u6LI+AFdgnB2vY5SpJKxPzxBfo5vLgS5uhIpJxZ7GgqQOZhkd0Q== X-Google-Smtp-Source: AGHT+IGJeUiMbToYiXfn7Cxy5YjXMElDHl0bCAM0PIAIwd4ZQrQkwMUlpAB4wLYLNr1FPKeVMwbp X-Received: by 2002:a05:620a:34d:b0:78a:2568:a2d9 with SMTP id t13-20020a05620a034d00b0078a2568a2d9mr37110qkm.34.1711556326011; Wed, 27 Mar 2024 09:18:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711556325; cv=pass; d=google.com; s=arc-20160816; b=hGP+LGo4mEja+8laKVrENkCOPc1dmY4z7TtLcO6Z6IvIaBcUAXDd0EU0AWk0k1qMNe IvlNQ6Ame7LwZYGAQmePKuRAVuFR1op0jNG0mLQbGto1+n0EIch28thWEw3fm/zez+sf zj20BhVRwHABtzZCCOVyqaCLPujpRMGJEubxCoq/F+MVYeCJDUlTuSYGpDYdnoa8eeS/ hwwYmTGxExfvaRMwAqKAo7JOQLx3BlUgcWoUu6JBZur7TNBq7nznZgCUTOc70Td//1Cd F+92pvZgUvYUbYx8j6tYQJAfFnTbBlOj7DQjH+yU39/Ptk+tM+DSAIuRhxM7qXCIOaJQ yhQQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=A3n7vo3IDDksA0EyXBWwDk90r432Y6GahhgJq9RLXhk=; fh=6UcKwMaW+ETpSP/6QEQ47ei1DofLmVZjAtzZMHt68GY=; b=BQpy1OOUwk3AaFMnaRI6DVqLAOCfHy5Q5kpK4pmQVbUFQsQh1nsrn1ayPyb+jiR4ux BFLcoR/BFvBSIS/YcagFpX2MsVIHxz1Amp8dL/P/wiUhfmR0qdrlrHGrigdX3vGLodAd ozahjO2/Gy5IQumHa+LvhwlJOrw0AT6OvzjQfAEgbklo/682F/Uf65ZK/W3iwCnaK9E/ V0wAZRIcT6CsagGHfcc5bCHcWmFF6cE+uOZudhDEo4Km8MHTGpfcFap5pXuUQcPekYaI 1+OiU6tgk/V18uuLbHcVAzf80lOhF4ssBbh2LfGC3YM5o4qBjhTC+U2mQxt4lNnvXsgs nYgg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=eTOccIel; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-121621-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121621-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x10-20020a05620a098a00b0078a2a89109dsi10072007qkx.334.2024.03.27.09.18.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 09:18:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121621-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=eTOccIel; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linuxfoundation.org dmarc=pass fromdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-121621-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121621-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 98B871C31E2E for ; Wed, 27 Mar 2024 16:18:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1DCC5130497; Wed, 27 Mar 2024 16:18:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="eTOccIel" Received: from mail-il1-f179.google.com (mail-il1-f179.google.com [209.85.166.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A65CE12F399 for ; Wed, 27 Mar 2024 16:18:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711556320; cv=none; b=OwOl8+nTi28y/CE5R3Z29UVvNJNLMDVVEeIYiQBlo7QtpTu8Iaj1msexMVr6l+jg/8d2gi/DxQW5+ZtcpW7FvcmK7sux4gxR+tH81QFSV7BjTUZXAQKkW8KL1+1PnngK+IwdRKsi5upzdHj3fY7ldVpYshsQ2XntRFooO1K0cmg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711556320; c=relaxed/simple; bh=2mlVydQJmeDZD0C210CqOG3B6PFVjqqc5l12YwGy1jw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=SET2BHihU5QuoB8Jm6ig9aJvR8Jz36mo9KdAbtD14Unds5tf0gzNGY1crK+FhMuj9TNZHepTCznl+47X/5i1dLXvbwgyGp4KQBbD7WF3s0XA/ugYAtYwAl1n7AIrMP51K+W55o5V6BiiNP6jxOREy9oYPoZFiB2pJs+xapWK4To= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=eTOccIel; arc=none smtp.client-ip=209.85.166.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-il1-f179.google.com with SMTP id e9e14a558f8ab-3685acaa878so3940945ab.1 for ; Wed, 27 Mar 2024 09:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1711556318; x=1712161118; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=A3n7vo3IDDksA0EyXBWwDk90r432Y6GahhgJq9RLXhk=; b=eTOccIel0gv9NCDLPwZ8ZF+n5k5rog3msuprLfq0mjf5DwNRx5m3093ma07/lj+gNC BdQ6Gj7vdVRX/UG2oxGynqxknYkMKWMN3RM/oHADMijOyePGgUtnhKmsAcaVTYHJe7Xz 3/MTTz4P6py7av2PwKjJ8uxU7OZoRyXBlkrKg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711556318; x=1712161118; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=A3n7vo3IDDksA0EyXBWwDk90r432Y6GahhgJq9RLXhk=; b=YDmzpXrTZYLSNIjjG+xFEUxVpKGi4fhyQNV8xRaJJ+tey9xCGgJ9lIKjVZcoWRA0ZG zfeRa8cCGDi7FKz95E3/tGxLFFQMIJ/z99IHwoltHiw5pfTw7E4dbCyZP4b+JLJjD3wI YwWHJyeb0U/vZwb0z/5xKjuco5Jrjd+0VLJTZj5omuOVXyNGVquushD09J4zM9gopkVq wqTdSroL3kD3mFvFOugG0SXMKEDOxbIhoS8ONyB5rMsdEExdX5c1b0FcyhjO0wzAPOXf QJ4JMl3S01yFR3FEOf/D5XEBBRp+dMwa8Uq9doTy99v4C2eMDzn9U08aq3p6LZwFM2s0 8uLQ== X-Forwarded-Encrypted: i=1; AJvYcCUJijkp5j12yPxRTFA2/11PIK/NJ7U7dJ65yUp3lxF246s8COBf441mbZottiN+VfRkvKQFA6Gzq0A8ASiYMJZOK9HofxTc3cA/DiNG X-Gm-Message-State: AOJu0YyBhmR3krj3D8OvGKiOgaVYNnyiXr17GQK4uVpwT7NrB8F1exV1 Dh45LrGj43esuBaWwwULafUiMslLbCMbaafoRaRGrmWDw8fBUvF6RkB3nDGtpR8= X-Received: by 2002:a5e:8c15:0:b0:7d0:6728:66eb with SMTP id n21-20020a5e8c15000000b007d0672866ebmr609391ioj.1.1711556317589; Wed, 27 Mar 2024 09:18:37 -0700 (PDT) Received: from [192.168.1.128] ([38.175.170.29]) by smtp.gmail.com with ESMTPSA id r23-20020a5e9517000000b007cf05417adbsm3598725ioj.22.2024.03.27.09.18.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 27 Mar 2024 09:18:37 -0700 (PDT) Message-ID: <646effc4-c67d-4248-8e69-4279a3d7ec28@linuxfoundation.org> Date: Wed, 27 Mar 2024 10:18:36 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] selftests: x86: skip the tests if prerequisites aren't fulfilled To: "Chang S. Bae" , Muhammad Usama Anjum , Shuah Khan , "Kirill A. Shutemov" , Dave Hansen , Binbin Wu , "Peter Zijlstra (Intel)" , Weihong Zhang , angquan yu Cc: kernel@collabora.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <20240314114502.466806-1-usama.anjum@collabora.com> <9b30d5a7-1a23-4f48-b6c3-4908535a998b@linuxfoundation.org> Content-Language: en-US From: Shuah Khan In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/26/24 15:20, Chang S. Bae wrote: > On 3/26/2024 1:51 PM, Shuah Khan wrote: >> >> show that there are bo backwards compatibility issues > In older kernels lacking AMX support [1], arch_prctl() returns EINVAL. With AMX support, the kernel will properly set 'features'. > > It is also worth noting that this simplification was previously acknowledged [2], albeit some time ago. > > Thanks, > Chang > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=db8268df0983adc2bb1fb48c9e5f7bfbb5f617f3 > [2] https://lore.kernel.org/lkml/de61ffdb-638a-ca84-31b5-55f6a8616597@linuxfoundation.org/ > > Thanks. This can be included in the change log so it is clear. thanks, -- Shuah