From nobody Fri May 3 09:11:39 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1642577337; cv=none; d=zohomail.com; s=zohoarc; b=gR13zOyVAUdDlhm9qM7ou/h4CjvwlJLWImGFIQNN6UVzKgHKqfNFlH34GPCBr/RGeP/Q20zJ2AKhOd6T0y9kxJz9xNiMi5khZgz5eY7itsO4wgWWoCuMKEX6vcZdNc+1BCfZH4PEwyYQdaz47SW1mTTlZj5S7J6E1Uq+Rk0t3H0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642577337; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=KYSZ4YoetIiNwYERXNj7SwMwS/sdGLv5NUxQ/ovPRA8=; b=DZuIwmgzTlphDl3ihRwWd285mvf5qTDl9Cg44MHbIimsiARYoCMHFyJ5e6MwI/JEWn93mDLRMA/XQ2eUh4ahQuZ5/2PiGroaLwaWVoxz/RoG+PqzrPGnm5iLchweGrOdh3AtL4eQ44ofAB7ETHhW6W2sK4+hvom5HH64IBgq3uU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1642577337664928.8485232461204; Tue, 18 Jan 2022 23:28:57 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.258725.445911 (Exim 4.92) (envelope-from ) id 1nA5OX-0003YZ-Uw; Wed, 19 Jan 2022 07:28:37 +0000 Received: by outflank-mailman (output) from mailman id 258725.445911; Wed, 19 Jan 2022 07:28:37 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nA5OX-0003YS-Rc; Wed, 19 Jan 2022 07:28:37 +0000 Received: by outflank-mailman (input) for mailman id 258725; Wed, 19 Jan 2022 07:28:36 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nA5OW-0003Y6-5M for xen-devel@lists.xenproject.org; Wed, 19 Jan 2022 07:28:36 +0000 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 68db0e19-78f9-11ec-9bbc-9dff3e4ee8c5; Wed, 19 Jan 2022 08:28:35 +0100 (CET) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 365D02170E; Wed, 19 Jan 2022 07:28:34 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id EA62213B6D; Wed, 19 Jan 2022 07:28:33 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id QKglOKG952EyZQAAMHmgww (envelope-from ); Wed, 19 Jan 2022 07:28:33 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 68db0e19-78f9-11ec-9bbc-9dff3e4ee8c5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1642577314; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KYSZ4YoetIiNwYERXNj7SwMwS/sdGLv5NUxQ/ovPRA8=; b=GvDWzdFZ8sDfCnuZWedXJS0PWIjZ7l4Z+uwcLhm0U2x2yEuqB1nYbOtZ/uCW3f+R5nfPBD yu9MTRMm0KOWd6gRCie/WlEVONXNpBjqL4huk3cdYz8j9wVtJWu3o+FVI7U+PTlNk3uayx qcBXLj4bW1/LmTAKGKAwj7qoOgIFgPk= From: Juergen Gross To: xen-devel@lists.xenproject.org Cc: Juergen Gross , Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu Subject: [PATCH v2 1/3] config: use more recent mini-os commit Date: Wed, 19 Jan 2022 08:28:21 +0100 Message-Id: <20220119072823.21025-2-jgross@suse.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220119072823.21025-1-jgross@suse.com> References: <20220119072823.21025-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) X-ZM-MESSAGEID: 1642577339018100002 Content-Type: text/plain; charset="utf-8" In order to be able to use the recent Mini-OS features switch to the most recent commit. Signed-off-by: Juergen Gross --- Config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Config.mk b/Config.mk index 5c8c737fe4..168273e157 100644 --- a/Config.mk +++ b/Config.mk @@ -231,7 +231,7 @@ MINIOS_UPSTREAM_URL ?=3D git://xenbits.xen.org/mini-os.= git endif OVMF_UPSTREAM_REVISION ?=3D 7b4a99be8a39c12d3a7fc4b8db9f0eab4ac688d5 QEMU_UPSTREAM_REVISION ?=3D master -MINIOS_UPSTREAM_REVISION ?=3D a91161eb0f92dac4ad6d41f91117268bc23ef28d +MINIOS_UPSTREAM_REVISION ?=3D 83ff43bff4bdd6879539fcb2b3d6ba5e61a64135 =20 SEABIOS_UPSTREAM_REVISION ?=3D rel-1.14.0 =20 --=20 2.31.1 From nobody Fri May 3 09:11:39 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1642577338; cv=none; d=zohomail.com; s=zohoarc; b=Zj5lXXgYu+gYxJR+nPtRA/H+KtjAVQQrn5bLEmZqxzz/WI01264N2JUIDKnsWcixryUtJ+0Xp/nk+KtjigEpm5w9OWO1A9aX+QqvJW7sl4kUXzOlg/kyfIPDPiWuYM8Gs2TLrp+XuvSFZiU6Exd4vfwdsvnOfZPww80OrvPohxw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642577338; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=IsvRZQmjV7CnvRfLpi5YfUDyG/LXLUAroV6J520N8oI=; b=R5tlqjIUnFmgGIVZA9qtFuSZxjNOA2kxe+VEzElgS14rXG3zveuAMubt4Uz0/7kJzbsysYtFq5wFxMHTfzCcUVpdCx0xVptWA2I9nPOcL9ZHtumaLYT09fad0aOZ1cc0PgaN9VUrUghOLQGzClWaN4KIvuRKYkxkL85dmzV+gwk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1642577338821533.8907463147141; Tue, 18 Jan 2022 23:28:58 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.258727.445921 (Exim 4.92) (envelope-from ) id 1nA5OY-0003h5-I3; Wed, 19 Jan 2022 07:28:38 +0000 Received: by outflank-mailman (output) from mailman id 258727.445921; Wed, 19 Jan 2022 07:28:38 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nA5OY-0003fV-Cb; Wed, 19 Jan 2022 07:28:38 +0000 Received: by outflank-mailman (input) for mailman id 258727; Wed, 19 Jan 2022 07:28:37 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nA5OW-0003Y6-Uf for xen-devel@lists.xenproject.org; Wed, 19 Jan 2022 07:28:36 +0000 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 68f5772c-78f9-11ec-9bbc-9dff3e4ee8c5; Wed, 19 Jan 2022 08:28:35 +0100 (CET) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 5D97E218A9; Wed, 19 Jan 2022 07:28:34 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3BEB313B28; Wed, 19 Jan 2022 07:28:34 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id uD16DaK952EyZQAAMHmgww (envelope-from ); Wed, 19 Jan 2022 07:28:34 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 68f5772c-78f9-11ec-9bbc-9dff3e4ee8c5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1642577314; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IsvRZQmjV7CnvRfLpi5YfUDyG/LXLUAroV6J520N8oI=; b=Cv5vnxnkQ0OvUxrwzCEFGs/LGsUTgjV1zPZstuhlMr3TAXv8/2eq9OTzLfeoBy+Z2849q4 zFBah217L23cMfHr6+0n7hE7HWCgu7gPOJlT2q3bFcdpDahcTjd6ZSPMo5uzGQID1nIGBI HNWH+PhyNoAHw9gjS301f0MNZaCtOgA= From: Juergen Gross To: xen-devel@lists.xenproject.org Cc: Juergen Gross , Wei Liu , Anthony PERARD Subject: [PATCH v2 2/3] tools/libs/evtchn: remove old mini-os callback Date: Wed, 19 Jan 2022 08:28:22 +0100 Message-Id: <20220119072823.21025-3-jgross@suse.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220119072823.21025-1-jgross@suse.com> References: <20220119072823.21025-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) X-ZM-MESSAGEID: 1642577341064100001 Content-Type: text/plain; charset="utf-8" It is possible now to delete minios_evtchn_close_fd() and the extern declaration of event_queue. Signed-off-by: Juergen Gross --- V2: - rebase --- tools/libs/evtchn/minios.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tools/libs/evtchn/minios.c b/tools/libs/evtchn/minios.c index ee3da9f8fe..30f98bc7e4 100644 --- a/tools/libs/evtchn/minios.c +++ b/tools/libs/evtchn/minios.c @@ -47,10 +47,6 @@ struct port_info { bool bound; }; =20 -extern struct wait_queue_head event_queue; - -void minios_evtchn_close_fd(int fd); - /* XXX Note: This is not threadsafe */ static struct port_info *port_alloc(xenevtchn_handle *xce) { @@ -152,13 +148,6 @@ int osdep_evtchn_restrict(xenevtchn_handle *xce, domid= _t domid) return -1; } =20 -void minios_evtchn_close_fd(int fd) -{ - struct file *file =3D get_file_from_fd(fd); - - evtchn_close_fd(file); -} - int xenevtchn_notify(xenevtchn_handle *xce, evtchn_port_t port) { int ret; --=20 2.31.1 From nobody Fri May 3 09:11:39 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1642577339; cv=none; d=zohomail.com; s=zohoarc; b=aJ+bIbSQyV8NQ5sjtSqRbyCBdvi//SqQcH6+nWQyZmdA7adTxcTGwCRvBhcoTv4fjEJuzYe5xSjqBpOgcZdj4euQcGCVqmIyzO6zTXmn7nM3dDABuP16PrrOMaRQ7YkSpQV8WMbP9hXVA2mtHa2bOr90w8QEQ27MYdHXXk0Fh38= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642577339; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=5Q8/hUXGqsnYkvw1oVYpCRHGGrTKxx6BfGMzSIWuIkk=; b=ceni9y+4i2pnqLHAgE7r+s6DO5HpyPZk/W79Oty1HUCQpH9Pt/DxGEb+mts/fXMfW+V39oMWAGx1Te34UJK0eq6amCrxY7cDMFZ3BmvAFod0ZZD6Mj2fBrIzHig6rOeuRfgkcu2GH7Z1QEOz/oVTWAQsbqDX4ieDFDEqa9sZjkU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1642577339841309.857917358587; Tue, 18 Jan 2022 23:28:59 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.258728.445932 (Exim 4.92) (envelope-from ) id 1nA5OZ-0003tG-5Z; Wed, 19 Jan 2022 07:28:39 +0000 Received: by outflank-mailman (output) from mailman id 258728.445932; Wed, 19 Jan 2022 07:28:39 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nA5OY-0003rx-TK; Wed, 19 Jan 2022 07:28:38 +0000 Received: by outflank-mailman (input) for mailman id 258728; Wed, 19 Jan 2022 07:28:37 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nA5OX-0003Y7-54 for xen-devel@lists.xenproject.org; Wed, 19 Jan 2022 07:28:37 +0000 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 69112513-78f9-11ec-a115-11989b9578b4; Wed, 19 Jan 2022 08:28:35 +0100 (CET) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 831B4218B1; Wed, 19 Jan 2022 07:28:34 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 6344413B28; Wed, 19 Jan 2022 07:28:34 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id wDcjF6K952EyZQAAMHmgww (envelope-from ); Wed, 19 Jan 2022 07:28:34 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 69112513-78f9-11ec-a115-11989b9578b4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1642577314; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5Q8/hUXGqsnYkvw1oVYpCRHGGrTKxx6BfGMzSIWuIkk=; b=tPl30SlYFSZSWhgQFeaYYbXXz67N4URWouXDF1+5GpYXsugscg4DmYIVI7QVy9xPdeLQHz devaCFqz+Em7u0pzm0OMNk4RYmQckWr5sXfF48LOzAY9BslLNJzKCbDMutWY0GCgo4rk/a Lujhcorw5vyXBwmwbVAUGCJssmomqIQ= From: Juergen Gross To: xen-devel@lists.xenproject.org Cc: Juergen Gross , Wei Liu , Anthony PERARD Subject: [PATCH v2 3/3] tools/libs/gnttab: remove old mini-os callback Date: Wed, 19 Jan 2022 08:28:23 +0100 Message-Id: <20220119072823.21025-4-jgross@suse.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220119072823.21025-1-jgross@suse.com> References: <20220119072823.21025-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) X-ZM-MESSAGEID: 1642577341239100003 Content-Type: text/plain; charset="utf-8" It is possible now to delete minios_gnttab_close_fd(). Signed-off-by: Juergen Gross --- V2: - rebase --- tools/libs/gnttab/minios.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tools/libs/gnttab/minios.c b/tools/libs/gnttab/minios.c index f59fad3577..cac89f0ba6 100644 --- a/tools/libs/gnttab/minios.c +++ b/tools/libs/gnttab/minios.c @@ -33,8 +33,6 @@ =20 #include "private.h" =20 -void minios_gnttab_close_fd(int fd); - static int gnttab_close_fd(struct file *file) { gntmap_fini(file->dev); @@ -89,13 +87,6 @@ int osdep_gnttab_close(xengnttab_handle *xgt) return close(xgt->fd); } =20 -void minios_gnttab_close_fd(int fd) -{ - struct file *file =3D get_file_from_fd(fd); - - gnttab_close_fd(file); -} - void *osdep_gnttab_grant_map(xengnttab_handle *xgt, uint32_t count, int flags, int prot, uint32_t *domids, uint32_t *refs, --=20 2.31.1