Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp883041ybi; Fri, 14 Jun 2019 05:04:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7V06Jj11Z46WQ0Q1pV5wQnfG3NqajLIN4Rxa1+gZ01NiFBvznQSgKCdMBnvqbQw7vXjls X-Received: by 2002:a62:36c1:: with SMTP id d184mr101162071pfa.49.1560513897831; Fri, 14 Jun 2019 05:04:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560513897; cv=none; d=google.com; s=arc-20160816; b=NWJIjsh/GEakQYOTx0oqHy0idlm+irBYekejI0nexL3WRv4TsRRDvfMaCsJJrsm1eF XKURCT26ujjsWbiJ4OdbKKsBZxhNFeW6DYQsRPesoHx2NnnLqs6KYoT+u9vtBC6CpakP t6wERoS9/18Hxl521uz6gBA6HJvrJjRHrwTMbypLFEAasjBHyLjPmQ1+szrPucDLvWKC WV2ukaGwPnxwBKB323nbl4GG3MiGpKMz4kfCxqhsJBnaJSinXtmqCibvmEKyajj16lI5 KbANXJvjTjUk9rP0hU0YUG/yW9V8BUE4U8e5KnDyA+ns1lLEr6Ew0lUFoTT3ojcmGeAd inJQ== 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=P3b+LEEHa8UXz8j3+8Fq06qgp382kT7BPjRsogc4BJ0=; b=ZH1X8eJVKODeSUy4DvWDQseia81ZqumWMoo8ZeS26g9bFTGYdSyxoXD048GWHc214d WUR3XrX+Cg0Hr57UlLCz7RrHTRa1J/ZlJa3cy1kWMd9GVVvK9uPD+35RGYFFGxWtcH8u /LHJpm3CrXIgRegopEK6ID8rbOaSf/E18J9f3bPag+29S06uyNM7keQor2w0nQKfbwHY Wa07U5wDAvLDKkz5pU99Et+k4mKFZXjeOwQuGQZUCOk6z4M9Sh8eH1acNbIEqtSibVqx WhzK95i/+OBtwH1/FqTVIVE9fe/S4D2sUNQnhDUoTZPkfPjj+gGBKVGpim73WCQyyEOG WN2w== 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 a17si2157348pjq.31.2019.06.14.05.04.40; Fri, 14 Jun 2019 05:04:57 -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 S1727772AbfFNMEP (ORCPT + 99 others); Fri, 14 Jun 2019 08:04:15 -0400 Received: from mx2.suse.de ([195.135.220.15]:59730 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727617AbfFNMEP (ORCPT ); Fri, 14 Jun 2019 08:04:15 -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 1A226AD0C; Fri, 14 Jun 2019 12:04:14 +0000 (UTC) Subject: Re: [RFC PATCH 09/16] xen/evtchn: support evtchn in 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-10-ankur.a.arora@oracle.com> From: Juergen Gross Message-ID: Date: Fri, 14 Jun 2019 14:04:13 +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-10-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: > Largely mechanical patch that adds a new param, xenhost_t * to the > evtchn interfaces. The evtchn port instead of being domain unique, is > now scoped to xenhost_t. > > As part of upcall handling we now look at all the xenhosts and, for > evtchn_2l, the xenhost's shared_info and vcpu_info. Other than this > event handling is largley unchanged. > > Note that the IPI, timer, VIRQ, FUNCTION, PMU etc vectors remain > attached to xh_default. Only interdomain evtchns are allowable as > xh_remote. I'd do only the interface changes for now (including evtchn FIFO). The main difference will be how to call the hypervisor for sending an event (either direct or via a passthrough-hypercall). Juergen