Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp218952pxy; Thu, 22 Apr 2021 00:01:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFtc4qUTDBwqKfUJDmUl8oenhXmV1KmSXzzhub+hM2FtAfU6gXtrpJpbzvoQyjtn3pqZnt X-Received: by 2002:a17:90a:9a84:: with SMTP id e4mr9055995pjp.220.1619074904846; Thu, 22 Apr 2021 00:01:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619074904; cv=none; d=google.com; s=arc-20160816; b=E6AGfNkEeTcjJ5uDS7aJytxmmCenMlLh72QRg0axiq5G9dBMKdXYhnSeyhd1CXgyZb i2Z5Lg0iqTZYgG8895WhhSSvzJ3uhvTY+motpVro2VWd0m6DXkN4iRK4jgJcCOErq0RP gvQJWmcr6fpMAAO1E3+T+WXwfE7DVGlbsKwsrlURcolxZ9WAZYluID2db3FQaHN3BNhe XPsnolcO17pyyreWYjsBhigHQXr5mWKZtlSzmMPuKc3siFuBfukWl36omRhbty3SXuTJ vxdbRCMv1uq3fAOGiAyo7ZEODCvXW1d+CzA2hW2CZOIFoD3OclenxOmHBKSqOowzspAL YeyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=9HfKt+tj+kVv8EGTHRuWgwnmy43mLVyvrcb4OZJTQGQ=; b=LE0k4Xg9pfKMorDOYhVQc1sO9LKBVD3IgM2a4uuxQYBOh1D3VFEu5lpbTLLWjMsnRE WlL5i8YLXls2hjrgGltlwvglVdS0bADAdWv5Ut6juT4WXf49G7A1mMbtxKgqe0JT9pLX tv4S+aFEiQAA9pvvsCuZRfGRox3s3+PZAOI7lld55UWAHHsgunQHAm6u0viHnVxUUIWx ABtTnTH+niU3j88Q2dyMjIZlFzldkNQ5Z1kHLulrO8WILpSlrFKmPTwpLqwW/alZVw7Y 728jSXCYWQK/d4cQTqbZmXWTfvU+ObMiO3p+jNyLFKmmJDsxazUr64orFnaHNvo9RPFU dzDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=DRBuMDVo; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f9si2274604plb.262.2021.04.22.00.01.32; Thu, 22 Apr 2021 00:01:44 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=DRBuMDVo; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234925AbhDVHBc (ORCPT + 99 others); Thu, 22 Apr 2021 03:01:32 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:26913 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229962AbhDVHBa (ORCPT ); Thu, 22 Apr 2021 03:01:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1619074856; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9HfKt+tj+kVv8EGTHRuWgwnmy43mLVyvrcb4OZJTQGQ=; b=DRBuMDVo0jsxd6n8QJ8pPg2oUtOzUdgAY09jONA6xGY8+AhrHUux9svtbXXpW8bWGp6oty 13Xun8rQKjdMNcJnRLXhPbNvWGf2J7R6q9gHi/DxM5LyUGP+O3F/Jaa/3AOwsjCRRHY5ku R+hNKeVoG0fyQDxnly7jFFQncD/8EGM= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-494-f5AWQ4P9PhqxQUEa_8zcZA-1; Thu, 22 Apr 2021 02:59:54 -0400 X-MC-Unique: f5AWQ4P9PhqxQUEa_8zcZA-1 Received: by mail-ej1-f71.google.com with SMTP id x21-20020a1709064bd5b029037c44cb861cso6830793ejv.4 for ; Wed, 21 Apr 2021 23:59:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=9HfKt+tj+kVv8EGTHRuWgwnmy43mLVyvrcb4OZJTQGQ=; b=lPuqwi/Gl6vL/5TZUlejcYx7NRwIxLDFzCnA8VNOi7ChcvYA8xLHA3BjD38uOilubb 5VbmXPfbXqk//7T1atpuZ83MVtb7IAB68fZ4opEbV/kb91mBZ1xiuW82djZnu0d3+vnM uKNx38FSx5eVpIwl4G7+XW/OFSyoKsIdk5h5cJp4t3aR4ZKHQ2n4xsfAD0nVGjvZEU3e oYX3XMKS2/lVCVErbwq9F66OfyoepkoT3CRJJlMBcI47wZxHmocgvtOwFAm0EhOfS1ZA HFFOyW3C/DEP8Llp0vpLeqb9NOCjhjtWVS2JjYgwVAZnzOkSNHbUB8zJ+lp5yOfhrbYf RCEA== X-Gm-Message-State: AOAM533vEliQ9dfELacq5s/YccgP/0VM5QDH5RpNZGZFEkUzqbvZm4fu QbOxIymG8l/AJ2m/2FvL8yZq1nxBgK1cfYApAY8QFmBR5BHyES+V0sEuMuQk+SgdaVbW9iwVOEW kBr6fPlt0Giskcyo5DkU+63Yy X-Received: by 2002:a17:907:294f:: with SMTP id et15mr1825495ejc.14.1619074793047; Wed, 21 Apr 2021 23:59:53 -0700 (PDT) X-Received: by 2002:a17:907:294f:: with SMTP id et15mr1825473ejc.14.1619074792912; Wed, 21 Apr 2021 23:59:52 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id j9sm1236249eds.71.2021.04.21.23.59.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Apr 2021 23:59:51 -0700 (PDT) Subject: Re: [PATCH 3/5] tools headers x86: Copy cpuid helpers from the kernel To: Ricardo Koller Cc: kvm@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , "H. Peter Anvin" , Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , Nathan Chancellor , Nick Desaulniers , linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com References: <20210422005626.564163-1-ricarkol@google.com> <20210422005626.564163-4-ricarkol@google.com> From: Paolo Bonzini Message-ID: <404e903a-5752-6ab2-9b46-aa40f7fb0fba@redhat.com> Date: Thu, 22 Apr 2021 08:59:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <20210422005626.564163-4-ricarkol@google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22/04/21 02:56, Ricardo Koller wrote: > Copy arch/x86/include/asm/acpufeature.h and arch/x86/kvm/reverse_cpuid.h > from the kernel so that KVM selftests can use them in the next commits. > Also update the tools copy of arch/x86/include/asm/acpufeatures.h. Typo. > These should be kept in sync, ideally with the help of some script like > check-headers.sh used by tools/perf/. Please provide such a script. Also, without an automated way to keep them in sync I think it's better to copy all of them to tools/testing/selftests/kvm, so that we can be sure that a maintainer (me) runs the script and keeps them up to date. I am fairly sure that the x86 maintainers don't want to have anything to do with all of this business! Paolo