Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp282801ybi; Tue, 16 Jul 2019 20:35:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwPD+cZOAXSznwIm0v+9CisG1LVn1cL/J4aA+I4jq/NOIWeJXJGM/GpjTAHkkz/IpZmz06i X-Received: by 2002:a63:e907:: with SMTP id i7mr37731047pgh.84.1563334558179; Tue, 16 Jul 2019 20:35:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563334558; cv=none; d=google.com; s=arc-20160816; b=LCwzcCFMmP2ee5IPYXF8tR6wEnW7637izIzb83E9ERvHduKn1Cclrs6Nx5PS0G8fBV GWX8UXGn5JCmeMqbOOUS27FxmATlk5KYlM8ojt70pXVgzODOQWOJ3V8ZtmNcrDg0cJwd mdYn3BGu4dp4MIz2+ZqtqgJyGgFw8SuXX5KbkRHMgu9grMSlTqBd4cg9J/nnrijP9LKi fMldl86AqSfyGV//+IMspdFyqTe8ZQAcECsozQAvxoxtReHITVbJvfHS5ixv5YjONjUE /JZ2fiEUdtX/0UJCZ00sJGqFWG+L/b+gPSYv7Pf4lm4nA749eZZKUtyNCQfyY5l8jcge vEUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=isDqHYuf4qEAxxInjaCVkml9dj5We2yH+ztWVhUekf4=; b=ZZlztFIhCparvUmDqCHbLhfmWAiexoIwoerkgGGRL36uuFccUYsUxdf3o7Jv6Lo9BU Mef/kE/5SUVvDX+wuk//uCCUjLkKOLCLGS5C4zGHk27dWWelE82RYa0Sdla3YdGn+6e0 F7272cd2x7MGbG/BBtTcMaVRBNVjClT4J3kP/hiocIGBFMjJCpcYd4TF8sjAj9w7h1pT BJjh/CYW2QSG82Hf2kHEIcjuWf4Pemdq6maWTym8VjBFhGShRlNGyfxM15PMIkvQJPUi oq8XMUMcKxTB4czjc00bn6h7Et6XURHv/Ks2t/qAyQ0mvW+v3fNV5UXXb+XEZrl7bYAC V38A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z72si21374453pgd.34.2019.07.16.20.35.39; Tue, 16 Jul 2019 20:35:58 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728497AbfGQDe4 (ORCPT + 99 others); Tue, 16 Jul 2019 23:34:56 -0400 Received: from mx2.suse.de ([195.135.220.15]:39728 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728035AbfGQDe4 (ORCPT ); Tue, 16 Jul 2019 23:34:56 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id D95B7AC66; Wed, 17 Jul 2019 03:34:54 +0000 (UTC) Subject: Re: [PATCH v7 4/5] x86/paravirt: Remove const mark from x86_hyper_xen_hvm variable To: Zhenzhong Duan , linux-kernel@vger.kernel.org Cc: bp@alien8.de, sstabellini@kernel.org, tglx@linutronix.de, xen-devel@lists.xenproject.org, boris.ostrovsky@oracle.com, mingo@redhat.com References: <1562846532-32152-1-git-send-email-zhenzhong.duan@oracle.com> <1562846532-32152-5-git-send-email-zhenzhong.duan@oracle.com> <2433589d-a2d2-6b51-cfbd-c1141014ab93@suse.com> <67261f6e-5dce-2452-a6d6-aa6ca73dfeec@oracle.com> From: Juergen Gross Message-ID: <06b1e979-3ac6-1f3c-616f-5756ac16519b@suse.com> Date: Wed, 17 Jul 2019 05:34:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <67261f6e-5dce-2452-a6d6-aa6ca73dfeec@oracle.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17.07.19 04:09, Zhenzhong Duan wrote: > > On 2019/7/16 18:57, Juergen Gross wrote: >> On 11.07.19 14:02, Zhenzhong Duan wrote: >>> .. as "nopv" support needs it to be changeable at boot up stage. >>> >>> Checkpatch report warning, so move variable declarations from >>> hypervisor.c to hypervisor.h >>> >>> Signed-off-by: Zhenzhong Duan >>> Cc: Boris Ostrovsky >>> Cc: Juergen Gross >>> Cc: Stefano Stabellini >>> Cc: Thomas Gleixner >>> Cc: Ingo Molnar >>> Cc: Borislav Petkov >>> --- >>>   arch/x86/include/asm/hypervisor.h | 8 ++++++++ >>>   arch/x86/kernel/cpu/hypervisor.c  | 8 -------- >>>   2 files changed, 8 insertions(+), 8 deletions(-) >>> >>> diff --git a/arch/x86/include/asm/hypervisor.h >>> b/arch/x86/include/asm/hypervisor.h >>> index f7b4c53..e41cbf2 100644 >>> --- a/arch/x86/include/asm/hypervisor.h >>> +++ b/arch/x86/include/asm/hypervisor.h >>> @@ -58,6 +58,14 @@ struct hypervisor_x86 { >>>       bool ignore_nopv; >>>   }; >>>   +extern const struct hypervisor_x86 x86_hyper_vmware; >>> +extern const struct hypervisor_x86 x86_hyper_ms_hyperv; >>> +extern const struct hypervisor_x86 x86_hyper_xen_pv; >>> +extern const struct hypervisor_x86 x86_hyper_kvm; >>> +extern const struct hypervisor_x86 x86_hyper_jailhouse; >>> +extern const struct hypervisor_x86 x86_hyper_acrn; >>> +extern struct hypervisor_x86 x86_hyper_xen_hvm; >> >> This should either stay const and be changed in patch 5, or you >> should adapt its definition in arch/x86/xen/enlighten_hvm.c in >> this patch. > > Ok, thanks for your suggestion. > > I'll choose 2nd opinion as I don't need to change descripton with that. Just resend the last two modified patches then, please. Juergen