Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1627013pxy; Mon, 2 Aug 2021 06:33:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxg27NFl3t8Lo2sG525sOyK9E4QO2uGP4KxvuGAGBpJvYNnjusxMEY7DY2o+IXkzXGwqj1 X-Received: by 2002:a02:958e:: with SMTP id b14mr14877793jai.123.1627911192727; Mon, 02 Aug 2021 06:33:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627911192; cv=none; d=google.com; s=arc-20160816; b=ZnWDzbPZxrxNNREQc+iPf+oeU/NIG3ZC0QqTbgfUh6Alw3HDsHU5VuAfcB9Wp/2LOO gfPDHU7cW4To0WAyF4o2aaPkNMDaEyJOblrmtDVgNZ71dnLN1eqouWjuejRm+C9fVElv P+hkIvo9e3lzB3yBueOkdCOEY7jNNRGH6lL+oTR7A75gOUDxuBJT+mZllLgj2bGAgJHE tSaEyp6knKnlamxkNb0qD6+fJlhu58CjfHaZ7DfNNAUnhO8HlQCoH/yowlLWFUJsf2BU Q/CuX7xcQFp+f6Cnxqb1RsCx3MDKYgAv+Mmq77IRLfiMMcceEnQqHWJo9JDXR4yp1hGn qRHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=xUlMbEQCqq1hV/pwcMFg2LX37GznqgHNtNItbESPfkc=; b=eY6IilXT/X0evLt5Gw6Lt+5HBfRRWcY0PW/O2caPPc12p5x8W2Zq//YzLqZuHXDvYV MsjPxECzrfyF9Yo55JmWKDXS0hjTf76KpLwdjqfoL7v/2BoGxwx5NQZ4CfIakNaDV8eF aerOuPMr5NIf7WHJKwH/xU++wXxXRvrdmIhW51sYGcn8+RqfRV7cOUxRexWB4kCQz6bg g/xn1nlPYnDQ1nV51yJj/0KvnC1z39eKGQht2r4UqMtLnBvwOFR3OBfdKamYb6Ig/DYr v4Sy+iucxhtc7Too5TCDxX2aqVtUNJZlwXDvBuD6MEO1UWFBmab65XY4VSL+epik0C9D k6YQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p20si12487854ioo.40.2021.08.02.06.33.00; Mon, 02 Aug 2021 06:33:12 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233947AbhHBNal (ORCPT + 99 others); Mon, 2 Aug 2021 09:30:41 -0400 Received: from 8bytes.org ([81.169.241.247]:53166 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233926AbhHBNaj (ORCPT ); Mon, 2 Aug 2021 09:30:39 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id 0AFF0379; Mon, 2 Aug 2021 15:30:25 +0200 (CEST) Date: Mon, 2 Aug 2021 15:30:10 +0200 From: Joerg Roedel To: Juergen Gross Cc: Dave Hansen , Tianyu Lan , kys@microsoft.com, haiyangz@microsoft.com, sthemmin@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com, dave.hansen@linux.intel.com, luto@kernel.org, peterz@infradead.org, konrad.wilk@oracle.com, boris.ostrovsky@oracle.com, sstabellini@kernel.org, will@kernel.org, davem@davemloft.net, kuba@kernel.org, jejb@linux.ibm.com, martin.petersen@oracle.com, arnd@arndb.de, hch@lst.de, m.szyprowski@samsung.com, robin.murphy@arm.com, thomas.lendacky@amd.com, brijesh.singh@amd.com, ardb@kernel.org, Tianyu.Lan@microsoft.com, rientjes@google.com, martin.b.radev@gmail.com, akpm@linux-foundation.org, rppt@kernel.org, kirill.shutemov@linux.intel.com, aneesh.kumar@linux.ibm.com, krish.sadhukhan@oracle.com, saravanand@fb.com, xen-devel@lists.xenproject.org, pgonda@google.com, david@redhat.com, keescook@chromium.org, hannes@cmpxchg.org, sfr@canb.auug.org.au, michael.h.kelley@microsoft.com, iommu@lists.linux-foundation.org, linux-arch@vger.kernel.org, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, netdev@vger.kernel.org, vkuznets@redhat.com, anparri@microsoft.com Subject: Re: [PATCH 03/13] x86/HV: Add new hvcall guest address host visibility support Message-ID: References: <20210728145232.285861-1-ltykernel@gmail.com> <20210728145232.285861-4-ltykernel@gmail.com> <5badc0cb-3038-2eff-a4bf-022ce8fc51d7@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5badc0cb-3038-2eff-a4bf-022ce8fc51d7@suse.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 02, 2021 at 03:11:40PM +0200, Juergen Gross wrote: > As those cases are all mutually exclusive, wouldn't a static_call() be > the appropriate solution? Right, static_call() is even better, thanks.