Received: by 10.223.185.116 with SMTP id b49csp5343621wrg; Wed, 7 Mar 2018 10:08:22 -0800 (PST) X-Google-Smtp-Source: AG47ELsIrYCNuxzw0itdk12qoSsW8PFiMMNjLaguQzJDJT2Vu2ivMPTkEnNv6k7vvvpgnYTkZMaA X-Received: by 2002:a17:902:864b:: with SMTP id y11-v6mr21126345plt.380.1520446102706; Wed, 07 Mar 2018 10:08:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520446102; cv=none; d=google.com; s=arc-20160816; b=s5qg/kihDvd5RjCzndWa2lHbjPmdDMIbCQVecogTesjC4GIHH6MP4MLNyctMCfgpHq inCIeGf14onXce0UrFuObMcC4y9k8f+iQVniTotMgxbf2VNV9S8ho7VNmzdGJ0tJ87Le 4mR+3ZT00CHkAi4hB6qV+YH25XDOvpmCLmyblq0bpRA4dIaTWaYJ8UIMh82uCxdCxzQM iPdebqLg6+pJ8gLHUuSlV6z3Wj+BbEY7Mm7N9irnAPs3V4ywV4dySnfGUMvG/liGHYjP u8YCMYKLNIaTrVdZZe3HpeBB+8hGpf9VEBR05JvKR/sRRYekwAR/84UDLyjkB+ExTKD3 YNuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:to :from:date:arc-authentication-results; bh=sRkeM+mMG6i548uxQlrMerXmw5ZdM13lXr2I9gaWago=; b=0R+6QUrc11GMMRJZPBATVaYHkI/PaYiDqIHAZttqmvhnRzdf6JA5Co0mD2s5rnhFI4 TQ7q+JLjbMr6cTyFDGyo3rFzsKkgazAi1t2imXcE42q62yglnBb+Z3szgNlLzlzgjLgK IRd9uqaFQ37euEzZOK4YqTK9NDdTZ01Fh2SirD5kc5+kwPm5ufRetbkTBQPpZEHSEMlH PBnq8TWJ0BuZ3z1w1UJfYdIW+t2dpiEp/obWLl6CMLjgn6B8tFqCBt0wlBjoDyRT/wlM lanL4klpNkUklgi/1LMPeQ92IJyu3u8eH7Dz6CLybgCVmB2eGBwt/x4zjpDTgtZUF5dE lr0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x8-v6si13010389plv.166.2018.03.07.10.08.07; Wed, 07 Mar 2018 10:08:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933418AbeCGSF2 (ORCPT + 99 others); Wed, 7 Mar 2018 13:05:28 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:44694 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751211AbeCGSF0 (ORCPT ); Wed, 7 Mar 2018 13:05:26 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DC758EB6F9; Wed, 7 Mar 2018 18:05:25 +0000 (UTC) Received: from flask (unknown [10.43.2.80]) by smtp.corp.redhat.com (Postfix) with SMTP id 532CD1102E26; Wed, 7 Mar 2018 18:05:21 +0000 (UTC) Received: by flask (sSMTP sendmail emulation); Wed, 07 Mar 2018 19:04:43 +0100 Date: Wed, 7 Mar 2018 19:04:43 +0100 From: Radim =?utf-8?B?S3LEjW3DocWZ?= To: Roman Kagan , Vitaly Kuznetsov , kvm@vger.kernel.org, x86@kernel.org, Paolo Bonzini , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , "Michael Kelley (EOSG)" , Mohammed Gamal , Cathy Avery , Bandan Das , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/5] x86/kvm: rename HV_X64_MSR_APIC_ASSIST_PAGE to HV_X64_MSR_VP_ASSIST_PAGE Message-ID: <20180307180442.GA16795@flask> References: <20180226171121.18974-1-vkuznets@redhat.com> <20180226171121.18974-2-vkuznets@redhat.com> <20180307161944.GE12290@flask> <20180307164812.GA2366@rkaganb.sw.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180307164812.GA2366@rkaganb.sw.ru> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Wed, 07 Mar 2018 18:05:26 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Wed, 07 Mar 2018 18:05:26 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'rkrcmar@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-03-07 19:48+0300, Roman Kagan: > On Wed, Mar 07, 2018 at 05:19:44PM +0100, Radim Krčmář wrote: > > 2018-02-26 18:11+0100, Vitaly Kuznetsov: > > > diff --git a/arch/x86/include/uapi/asm/hyperv.h b/arch/x86/include/uapi/asm/hyperv.h > > > @@ -275,10 +275,10 @@ struct hv_tsc_emulation_status { > > > #define HVCALL_POST_MESSAGE 0x005c > > > #define HVCALL_SIGNAL_EVENT 0x005d > > > > > > -#define HV_X64_MSR_APIC_ASSIST_PAGE_ENABLE 0x00000001 > > > -#define HV_X64_MSR_APIC_ASSIST_PAGE_ADDRESS_SHIFT 12 > > > -#define HV_X64_MSR_APIC_ASSIST_PAGE_ADDRESS_MASK \ > > > - (~((1ull << HV_X64_MSR_APIC_ASSIST_PAGE_ADDRESS_SHIFT) - 1)) > > > > Removing definitions from userspace api isn't a good idea. > > > > I have no idea why hyper.h is a userspace api, though -- Linux doesn't > > define any of those, so we could copy the definitions to a private > > header, rename, and never look at this file again. > > That was a thinko when it was moved to uapi, and it has already been > identified as a problem, so now QEMU has its own header with the > definitions it needs, and I'm unaware of any other userspace project > that depends on this stuff. So I've been planning to remove it from > uapi but still haven't got around to posting the patch :( Great, let's be bold here.