Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp872934ybi; Fri, 14 Jun 2019 04:55:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFAUAA4+jnD4MYlaShqO+PwjrcN0DiR0UWG/wf50Hgf7l7vwmwWGVqSdUUneLbiJihflnE X-Received: by 2002:aa7:8102:: with SMTP id b2mr72395565pfi.105.1560513334808; Fri, 14 Jun 2019 04:55:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560513334; cv=none; d=google.com; s=arc-20160816; b=dAWR9VPdBtNQ9FdOxrL1cVQiOfb+vPceJROwGOR/QKx3Lxy0CdJ8IYhKR71gBTuG7o d4PJyyTJVwUfEobcPWnCvf6s1ZxFzuiBe8726ITE9Nu+ZeztBEODiu/wlCibqucwFzsk a+klXVZyxXIXwPSi/rS8abmtGee1eyzLI0qnqwGiwedlBLUcY5eLMdCwZHwo8M8D7yuP BA5uPmULEajElmMAW967/61lDSFU+bCu+D1FtX+tiAk/y5GZl+lgVxr61wf/V72FSb6w cJ+G0Ds+QdjkwCVwziFQTXL1P6EfYgrztXGgEi9JA+8urbDiHWe4c6DJfVeRFCPe4cHA FO8Q== 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=z3UrJIit6yvd/QOERTCEFGyh76Ncq9tLNo2hx6oCaqw=; b=M+C1sXIr+733FCG+i/N8IqC46k5O6GX8kcbD8baLqBHBrgoi2u1Dyye9+5ARSE7W5+ d7Dpl+875+hG56ijo1Cqm711VdfCK4wKWwNT5yOKRcbT0NMeGfrHk/RofPJEsNV7DXSM 1P4ywH23hpsbh0A0cKD+kuN6c5MF07qaZrH44PooYVP39gtk4TiraoTqPLS9Zcq0XT0O xkEdPUSRejJ5kNZt0NmdJkIqQj4B3ynGz2U6F1BRWZlmT4M89gc/Pta836Wcxd//Clvx MUWQyuFszXl1hevxxVQUQeN0MztQ+7x9Qd0E1+wSXwE1nqKPubwEVHsaN2+KqE9mW0Zw YFTA== 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 g22si2365637pgb.107.2019.06.14.04.55.19; Fri, 14 Jun 2019 04:55:34 -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 S1727688AbfFNLxw (ORCPT + 99 others); Fri, 14 Jun 2019 07:53:52 -0400 Received: from mx2.suse.de ([195.135.220.15]:57180 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727611AbfFNLxv (ORCPT ); Fri, 14 Jun 2019 07:53:51 -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 4E70AABD7; Fri, 14 Jun 2019 11:53:50 +0000 (UTC) Subject: Re: [RFC PATCH 07/16] x86/xen: make vcpu_info part of xenhost_t To: Ankur Arora , linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org Cc: pbonzini@redhat.com, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com, sstabellini@kernel.org, joao.m.martins@oracle.com References: <20190509172540.12398-1-ankur.a.arora@oracle.com> <20190509172540.12398-8-ankur.a.arora@oracle.com> From: Juergen Gross Message-ID: <9f1323f4-06ae-93a5-c9b0-3b84ee549fa6@suse.com> Date: Fri, 14 Jun 2019 13:53:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190509172540.12398-8-ankur.a.arora@oracle.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09.05.19 19:25, Ankur Arora wrote: > Abstract out xen_vcpu_id probing via (*probe_vcpu_id)(). Once that is > availab,e the vcpu_info registration happens via the VCPUOP hypercall. > > Note that for the nested case, there are two vcpu_ids, and two vcpu_info > areas, one each for the default xenhost and the remote xenhost. > The vcpu_info is used via pv_irq_ops, and evtchn signaling. > > The other VCPUOP hypercalls are used for management (and scheduling) > which is expected to be done purely in the default hypervisor. > However, scheduling of L1-guest does imply L0-Xen-vcpu_info switching, > which might mean that the remote hypervisor needs some visibility > into related events/hypercalls in the default hypervisor. Another candidate for dropping due to layering violation, I guess. Juergen