From nobody Sat Apr 27 05:34:07 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=1634885368; cv=none; d=zohomail.com; s=zohoarc; b=Znl8UEyMfIbbSqV3+gDehH3U1uhteTLxmmBUKzupPKMZwID1rs8g/zwtfx0T2j6NRzHnSdA7sSo2aiqXgGjYDRnN6ycFMFGquIlt4KIyjPJaKx/0AvmLZzdCIFQk0Uw3fFJCxECzm67+V5MPhNytsMwXPDxdQ+9XyfkDxvUKkWE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1634885368; 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=kLjFhRTaZVh+922MiISGe9xKfsnF1lnWNXu00NonX3Y=; b=PQSK5GSMjVwhNL2oO+Bpj4yYGIX7XM2nr8mIVnC4VCLrQgyZvWEUM+t6JBtGl0aodoPnFduycnubZAjO/qtRe96FpTEhAUzgpMrqVSpKdvSLBbkkVmi4vC3oH5h7rQe5hZVVmPAyoqV9PVJd7z/DuyWx11kV+35vG34E3SuvGxw= 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 163488536811483.43164085117837; Thu, 21 Oct 2021 23:49:28 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.214751.373483 (Exim 4.92) (envelope-from ) id 1mdoMW-0005yP-GP; Fri, 22 Oct 2021 06:49:08 +0000 Received: by outflank-mailman (output) from mailman id 214751.373483; Fri, 22 Oct 2021 06:49:08 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mdoMW-0005xs-Ce; Fri, 22 Oct 2021 06:49:08 +0000 Received: by outflank-mailman (input) for mailman id 214751; Fri, 22 Oct 2021 06:49:07 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mdoMV-0005uk-B0 for xen-devel@lists.xenproject.org; Fri, 22 Oct 2021 06:49:07 +0000 Received: from smtp-out1.suse.de (unknown [195.135.220.28]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 25f39ae0-3304-11ec-83ad-12813bfff9fa; Fri, 22 Oct 2021 06:49:06 +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 smtp-out1.suse.de (Postfix) with ESMTPS id D0BB121983; Fri, 22 Oct 2021 06:49:04 +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 92EEA13C79; Fri, 22 Oct 2021 06:49:04 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id AF+wIuBecmEIEwAAMHmgww (envelope-from ); Fri, 22 Oct 2021 06:49:04 +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: 25f39ae0-3304-11ec-83ad-12813bfff9fa DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1634885344; 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=kLjFhRTaZVh+922MiISGe9xKfsnF1lnWNXu00NonX3Y=; b=Yz8ovdFyj3/pte4s30R5bKNii8Dj0Cui8WBkly6EcM+9mbjl8dcoRZskne4zX9d2rhTnSM nSZJZNU8MNvgJ0hVKAWx33tvmv06DzvqeJSYABc5kbSCmE3JCkFNf0szyoGGdajX9441j+ iwpYYIVKuMs8a9+feAbvot98kgyfm38= From: Juergen Gross To: xen-devel@lists.xenproject.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org Cc: Juergen Gross , Dmitry Torokhov , Boris Ostrovsky , Stefano Stabellini Subject: [PATCH 1/5] xen: add "not_essential" flag to struct xenbus_driver Date: Fri, 22 Oct 2021 08:47:56 +0200 Message-Id: <20211022064800.14978-2-jgross@suse.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20211022064800.14978-1-jgross@suse.com> References: <20211022064800.14978-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) X-ZM-MESSAGEID: 1634885368885100001 Content-Type: text/plain; charset="utf-8" When booting the xenbus driver will wait for PV devices to have connected to their backends before continuing. The timeout is different between essential and non-essential devices. Non-essential devices are identified by their nodenames directly in the xenbus driver, which requires to update this list in case a new device type being non-essential is added (this was missed for several types in the past). In order to avoid this problem, add a "not_essential" flag to struct xenbus_driver which can be set to "true" by the respective frontend. Set this flag for the frontends currently regarded to be not essential (vkbs and vfb) and use it for testing in the xenbus driver. Signed-off-by: Juergen Gross Reviewed-by: Boris Ostrovsky --- drivers/input/misc/xen-kbdfront.c | 1 + drivers/video/fbdev/xen-fbfront.c | 1 + drivers/xen/xenbus/xenbus_probe_frontend.c | 14 +++----------- include/xen/xenbus.h | 1 + 4 files changed, 6 insertions(+), 11 deletions(-) diff --git a/drivers/input/misc/xen-kbdfront.c b/drivers/input/misc/xen-kbd= front.c index 4ff5cd2a6d8d..3d17a0b3fe51 100644 --- a/drivers/input/misc/xen-kbdfront.c +++ b/drivers/input/misc/xen-kbdfront.c @@ -542,6 +542,7 @@ static struct xenbus_driver xenkbd_driver =3D { .remove =3D xenkbd_remove, .resume =3D xenkbd_resume, .otherend_changed =3D xenkbd_backend_changed, + .not_essential =3D true, }; =20 static int __init xenkbd_init(void) diff --git a/drivers/video/fbdev/xen-fbfront.c b/drivers/video/fbdev/xen-fb= front.c index 5ec51445bee8..6826f986da43 100644 --- a/drivers/video/fbdev/xen-fbfront.c +++ b/drivers/video/fbdev/xen-fbfront.c @@ -695,6 +695,7 @@ static struct xenbus_driver xenfb_driver =3D { .remove =3D xenfb_remove, .resume =3D xenfb_resume, .otherend_changed =3D xenfb_backend_changed, + .not_essential =3D true, }; =20 static int __init xenfb_init(void) diff --git a/drivers/xen/xenbus/xenbus_probe_frontend.c b/drivers/xen/xenbu= s/xenbus_probe_frontend.c index 480944606a3c..07b010a68fcf 100644 --- a/drivers/xen/xenbus/xenbus_probe_frontend.c +++ b/drivers/xen/xenbus/xenbus_probe_frontend.c @@ -211,19 +211,11 @@ static int is_device_connecting(struct device *dev, v= oid *data, bool ignore_none if (drv && (dev->driver !=3D drv)) return 0; =20 - if (ignore_nonessential) { - /* With older QEMU, for PVonHVM guests the guest config files - * could contain: vfb =3D [ 'vnc=3D1, vnclisten=3D0.0.0.0'] - * which is nonsensical as there is no PV FB (there can be - * a PVKB) running as HVM guest. */ + xendrv =3D to_xenbus_driver(dev->driver); =20 - if ((strncmp(xendev->nodename, "device/vkbd", 11) =3D=3D 0)) - return 0; + if (ignore_nonessential && xendrv->not_essential) + return 0; =20 - if ((strncmp(xendev->nodename, "device/vfb", 10) =3D=3D 0)) - return 0; - } - xendrv =3D to_xenbus_driver(dev->driver); return (xendev->state < XenbusStateConnected || (xendev->state =3D=3D XenbusStateConnected && xendrv->is_ready && !xendrv->is_ready(xendev))); diff --git a/include/xen/xenbus.h b/include/xen/xenbus.h index b94074c82772..b13eb86395e0 100644 --- a/include/xen/xenbus.h +++ b/include/xen/xenbus.h @@ -112,6 +112,7 @@ struct xenbus_driver { const char *name; /* defaults to ids[0].devicetype */ const struct xenbus_device_id *ids; bool allow_rebind; /* avoid setting xenstore closed during remove */ + bool not_essential; /* is not mandatory for boot progress */ int (*probe)(struct xenbus_device *dev, const struct xenbus_device_id *id); void (*otherend_changed)(struct xenbus_device *dev, --=20 2.26.2 From nobody Sat Apr 27 05:34:07 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=1634885368; cv=none; d=zohomail.com; s=zohoarc; b=XQw1+sn3wy4SmY0kyezGZ7farKvceGZQP5xiyRie+7aqjTlioTYpLHYfDOOB5zKPzSJGCjQJTMB2XVso/VZGt42ICm2QseffZKR/rBabyPKe9nTjHShxjAhnIkUZuSDvJ/WxT842KK4o6gb0/xkBzx8q9eHEUz2A3oI4xxqbA2A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1634885368; 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=80mOxk7OisLv8eTtTaoe81+q4mcgaLTrWwkMlhEogsw=; b=ixfrSMhSUOqIFRUfyCc+tbZlqqzf+2ImPOAiMqTMAhEaDQ2CkyStEwN3I2bjO/0M9Nl5uKaI32vAd4Hd0LoidzNael3IsDaoCHDAXWUWbjT3MmdvedZXwwxhoDmR8tRxUZ7WfAoiAVZ5UXTET+YggmNwJdWmYJdSorRaO54lYsc= 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 1634885368157821.5995229675658; Thu, 21 Oct 2021 23:49:28 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.214752.373499 (Exim 4.92) (envelope-from ) id 1mdoMa-0006Si-Q5; Fri, 22 Oct 2021 06:49:12 +0000 Received: by outflank-mailman (output) from mailman id 214752.373499; Fri, 22 Oct 2021 06:49:12 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mdoMa-0006SZ-Mz; Fri, 22 Oct 2021 06:49:12 +0000 Received: by outflank-mailman (input) for mailman id 214752; Fri, 22 Oct 2021 06:49:11 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mdoMZ-0005ue-DA for xen-devel@lists.xenproject.org; Fri, 22 Oct 2021 06:49:11 +0000 Received: from smtp-out2.suse.de (unknown [195.135.220.29]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 40aec6ac-90d0-4ea7-ad84-6d5d02bd43c6; Fri, 22 Oct 2021 06:49:05 +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 smtp-out2.suse.de (Postfix) with ESMTPS id 21C651FD59; Fri, 22 Oct 2021 06:49:05 +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 D810413AAD; Fri, 22 Oct 2021 06:49:04 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id yCmFM+BecmEIEwAAMHmgww (envelope-from ); Fri, 22 Oct 2021 06:49:04 +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: 40aec6ac-90d0-4ea7-ad84-6d5d02bd43c6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1634885345; 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=80mOxk7OisLv8eTtTaoe81+q4mcgaLTrWwkMlhEogsw=; b=Y8s49wATwiV6ccraCQUa+ld+V54ty1XPZFYJwJ60XapgZj5bSnABkO44U1HpMqfeRnvSWM uW0I7W9S1o26EQZyD8UaYpPk7EcHaeQgRPdRS2ZmbSlW0cfsaBEx25FwtSU+hilKwCJfy5 tsHcDZ7CYxP32C+ElsGFh95BERckVzY= From: Juergen Gross To: xen-devel@lists.xenproject.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: Juergen Gross , Oleksandr Andrushchenko , David Airlie , Daniel Vetter Subject: [PATCH 2/5] xen: flag xen_drm_front to be not essential for system boot Date: Fri, 22 Oct 2021 08:47:57 +0200 Message-Id: <20211022064800.14978-3-jgross@suse.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20211022064800.14978-1-jgross@suse.com> References: <20211022064800.14978-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) X-ZM-MESSAGEID: 1634885369021100004 Content-Type: text/plain; charset="utf-8" Similar to the virtual frame buffer (vfb) the pv display driver is not essential for booting the system. Set the respective flag. Signed-off-by: Juergen Gross Reviewed-by: Boris Ostrovsky Reviewed-by: Oleksandr Andrushchenko --- drivers/gpu/drm/xen/xen_drm_front.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/xen/xen_drm_front.c b/drivers/gpu/drm/xen/xen_= drm_front.c index 9f14d99c763c..bc7605324db3 100644 --- a/drivers/gpu/drm/xen/xen_drm_front.c +++ b/drivers/gpu/drm/xen/xen_drm_front.c @@ -773,6 +773,7 @@ static struct xenbus_driver xen_driver =3D { .probe =3D xen_drv_probe, .remove =3D xen_drv_remove, .otherend_changed =3D displback_changed, + .not_essential =3D true, }; =20 static int __init xen_drv_init(void) --=20 2.26.2 From nobody Sat Apr 27 05:34:07 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=1634885369; cv=none; d=zohomail.com; s=zohoarc; b=WBzmOcYUJA6x70C5aa+aaMvYT36JwR+m2juu/aFb+VmPuIf8K/dwW8Et+4cQPY3zPMkhDWNEnwozVJmf7qmAY3t/RnPotblFdJp/TONYHUWJfSJsLvDAPwEzOY8U0wuNzZKgagouhbLvE5TIqIg+skKSW9/FgsRUOTjCB79g89s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1634885369; 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=ZGFLBrnqymYc576QWcBAPp39DNchapbOqDccE+bC2B4=; b=Ld+X0EiFpjMo5dsqAt0AflL6raZuiS3uihsiutKnbw1RzaRic5zF9KxIFJsJyxzut/nHtc35Z3mxptET84CA97oHQwWk6GhglR3Nbq5MDoYpg9JzjvS3iuR8e+GpUFEdTglXwY+fesOZDz4kiLnhQZtSA9+JYyXNYFqN10MjiRI= 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 1634885369056653.4355446686659; Thu, 21 Oct 2021 23:49:29 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.214754.373522 (Exim 4.92) (envelope-from ) id 1mdoMf-00076H-Cj; Fri, 22 Oct 2021 06:49:17 +0000 Received: by outflank-mailman (output) from mailman id 214754.373522; Fri, 22 Oct 2021 06:49:17 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mdoMf-000766-9T; Fri, 22 Oct 2021 06:49:17 +0000 Received: by outflank-mailman (input) for mailman id 214754; Fri, 22 Oct 2021 06:49:16 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mdoMe-0005ue-DF for xen-devel@lists.xenproject.org; Fri, 22 Oct 2021 06:49:16 +0000 Received: from smtp-out1.suse.de (unknown [195.135.220.28]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id d2eba9bc-ae27-4240-bf2d-f7c2d54967da; Fri, 22 Oct 2021 06:49:06 +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 smtp-out1.suse.de (Postfix) with ESMTPS id 5F30621987; Fri, 22 Oct 2021 06:49:05 +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 27AD313AAD; Fri, 22 Oct 2021 06:49:05 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 4MdyCOFecmEIEwAAMHmgww (envelope-from ); Fri, 22 Oct 2021 06:49:05 +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: d2eba9bc-ae27-4240-bf2d-f7c2d54967da DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1634885345; 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=ZGFLBrnqymYc576QWcBAPp39DNchapbOqDccE+bC2B4=; b=nPoFYAlsG8eI8QkyTtJ/jdrD187CIaKEB4Pi66VrVfFl0vcOszW9dWtjskMIuFJmaWrTGi j5DMQGG6b282uRpPenKQornG6hFnM1Y1PwxQUDx58+8xV9Pkkwpo1qiiW0HR7Vfe9t76Zf vrKs9+fZVIPp2gILTgfmowX+yujaT6s= From: Juergen Gross To: xen-devel@lists.xenproject.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: Juergen Gross , Greg Kroah-Hartman , Jiri Slaby Subject: [PATCH 3/5] xen: flag hvc_xen to be not essential for system boot Date: Fri, 22 Oct 2021 08:47:58 +0200 Message-Id: <20211022064800.14978-4-jgross@suse.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20211022064800.14978-1-jgross@suse.com> References: <20211022064800.14978-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) X-ZM-MESSAGEID: 1634885370905100007 Content-Type: text/plain; charset="utf-8" The Xen pv console driver is not essential for boot. Set the respective flag. Signed-off-by: Juergen Gross Reviewed-by: Boris Ostrovsky --- drivers/tty/hvc/hvc_xen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/hvc/hvc_xen.c b/drivers/tty/hvc/hvc_xen.c index f0bf01ea069a..71e0dd2c0ce5 100644 --- a/drivers/tty/hvc/hvc_xen.c +++ b/drivers/tty/hvc/hvc_xen.c @@ -522,6 +522,7 @@ static struct xenbus_driver xencons_driver =3D { .remove =3D xencons_remove, .resume =3D xencons_resume, .otherend_changed =3D xencons_backend_changed, + .not_essential =3D true, }; #endif /* CONFIG_HVC_XEN_FRONTEND */ =20 --=20 2.26.2 From nobody Sat Apr 27 05:34:07 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=1634885375; cv=none; d=zohomail.com; s=zohoarc; b=H/EP/59FtagF8FV9yk1mxfp73CzVPilu3NKNdbKm190ZUWfnTM9ajb9RX4ekcE4K6DLw1FqyGG0ksE3N7slhOjoA2oCsjlVIWEahYtreZ0IoTWO95V+uCOkzaYLwot8yfAKsUCdFQCiYy7Z+L+ybPflG1I4vewILDp6VEzP7yH8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1634885375; 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=vnxbzvurCjT2IqnAol4LJCGAE156WX5VeQqShoJna+g=; b=X00JBq1doWYINEGEXokrb5PmqF2f1TmbzPZ4k5CTzRxOBoYRBgf+Y4Bpb4+J3FbRfqbgoifgGqT0+Fd8IDHkGPLFgGbP2wv33HZW278hmoRAfeEjo7HR33ydlZ9iXgc4G8/X+HuVzRZbl3VptnV8FcnU9ifW9fY4lk3ogb/l7M4= 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 163488537569059.725367589431585; Thu, 21 Oct 2021 23:49:35 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.214755.373533 (Exim 4.92) (envelope-from ) id 1mdoMk-0007Z1-Pf; Fri, 22 Oct 2021 06:49:22 +0000 Received: by outflank-mailman (output) from mailman id 214755.373533; Fri, 22 Oct 2021 06:49:22 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mdoMk-0007Yq-JH; Fri, 22 Oct 2021 06:49:22 +0000 Received: by outflank-mailman (input) for mailman id 214755; Fri, 22 Oct 2021 06:49:21 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mdoMj-0005ue-DR for xen-devel@lists.xenproject.org; Fri, 22 Oct 2021 06:49:21 +0000 Received: from smtp-out1.suse.de (unknown [195.135.220.28]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id dba67d48-c507-464b-97ae-1222a0b714e5; Fri, 22 Oct 2021 06:49:06 +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 smtp-out1.suse.de (Postfix) with ESMTPS id 9DF4C2198E; Fri, 22 Oct 2021 06:49:05 +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 6568D13AAD; Fri, 22 Oct 2021 06:49:05 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id wPeAF+FecmEIEwAAMHmgww (envelope-from ); Fri, 22 Oct 2021 06:49:05 +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: dba67d48-c507-464b-97ae-1222a0b714e5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1634885345; 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=vnxbzvurCjT2IqnAol4LJCGAE156WX5VeQqShoJna+g=; b=arr7onqkOvxuEnq7ukxpmkmHGtBkavXlM1ESYmb6I/z38M8/3yUyk2mdS1JKreote2CCOb XGmKmzUyWyJarT9sI1LC7htdlhCC8eaKPQu3HfSDJ9ok7Pwa5Pky8ydweK6YEyv/R+ffMv WopDNPjgRNqtEFPzR/chBqrhaH0i4dU= From: Juergen Gross To: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Cc: Juergen Gross , Boris Ostrovsky , Stefano Stabellini Subject: [PATCH 4/5] xen: flag pvcalls-front to be not essential for system boot Date: Fri, 22 Oct 2021 08:47:59 +0200 Message-Id: <20211022064800.14978-5-jgross@suse.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20211022064800.14978-1-jgross@suse.com> References: <20211022064800.14978-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) X-ZM-MESSAGEID: 1634885377198100001 Content-Type: text/plain; charset="utf-8" The Xen pvcalls device is not essential for booting. Set the respective flag. Signed-off-by: Juergen Gross Reviewed-by: Boris Ostrovsky --- drivers/xen/pvcalls-front.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/xen/pvcalls-front.c b/drivers/xen/pvcalls-front.c index 7984645b5956..3c9ae156b597 100644 --- a/drivers/xen/pvcalls-front.c +++ b/drivers/xen/pvcalls-front.c @@ -1275,6 +1275,7 @@ static struct xenbus_driver pvcalls_front_driver =3D { .probe =3D pvcalls_front_probe, .remove =3D pvcalls_front_remove, .otherend_changed =3D pvcalls_front_changed, + .not_essential =3D true, }; =20 static int __init pvcalls_frontend_init(void) --=20 2.26.2 From nobody Sat Apr 27 05:34:07 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=1634885369; cv=none; d=zohomail.com; s=zohoarc; b=FVkVLqTWdkpO5JyThDVVehn0apYcx1NBve4hr8NJQu2+ge6Fgj4oPf1+QPDc/E0AVurSrS6UpyA0aIk1Cwi9rX2CP10XgOI+4YKqlaQwq5ecEnf08qpCO0r8/edpcA7Wgd46ezvv8y7h8CYrOAboriJQBW3+f955csxYxbkU6lY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1634885369; 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=GAsfBSRBhYlwXE3GyHCt8Ao1r3itvvqFCqQg0v1jsus=; b=fLQvZJLXOMih9cJaP7TWOfFPUjj48J6cNyE4u9y3aXijhR4zQ+mnzVddSR/KYCWa7xhLAOayoTMENQIOZFuIlUVgN0We0qp+++ht1TcgxUgsjuM0OZFTSBR4k+TzcDQIO0hTn7HtVoKrdmjPSc1igAwR62H3iiovEshywk4aHz4= 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 1634885369801268.5663287236101; Thu, 21 Oct 2021 23:49:29 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.214753.373505 (Exim 4.92) (envelope-from ) id 1mdoMb-0006Vu-7q; Fri, 22 Oct 2021 06:49:13 +0000 Received: by outflank-mailman (output) from mailman id 214753.373505; Fri, 22 Oct 2021 06:49:13 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mdoMb-0006Uu-0D; Fri, 22 Oct 2021 06:49:13 +0000 Received: by outflank-mailman (input) for mailman id 214753; Fri, 22 Oct 2021 06:49:12 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mdoMa-0005uk-6I for xen-devel@lists.xenproject.org; Fri, 22 Oct 2021 06:49:12 +0000 Received: from smtp-out1.suse.de (unknown [195.135.220.28]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 25f39ae1-3304-11ec-83ad-12813bfff9fa; Fri, 22 Oct 2021 06:49:06 +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 smtp-out1.suse.de (Postfix) with ESMTPS id E3BC221990; Fri, 22 Oct 2021 06:49:05 +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 A440413AAD; Fri, 22 Oct 2021 06:49:05 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id AC3KJuFecmEIEwAAMHmgww (envelope-from ); Fri, 22 Oct 2021 06:49:05 +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: 25f39ae1-3304-11ec-83ad-12813bfff9fa DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1634885345; 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=GAsfBSRBhYlwXE3GyHCt8Ao1r3itvvqFCqQg0v1jsus=; b=SdSUM0FodxI8IXPl1XHMXJhVw3Me2pABjtUdj1hKPdqshPqCIsAAXZqsRZO1aUudUaxmtl JuhtTn1OVnzf6RV7Te3zCJgEJIA3GyWHiKamnv57aSsq/rEENoQ9shSlnVgKz/g5U4u9/L hCTdddL//8JOOmVeoYV+a8q+iqYfjdY= From: Juergen Gross To: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org Cc: Juergen Gross , Oleksandr Andrushchenko , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org Subject: [PATCH 5/5] xen: flag xen_snd_front to be not essential for system boot Date: Fri, 22 Oct 2021 08:48:00 +0200 Message-Id: <20211022064800.14978-6-jgross@suse.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20211022064800.14978-1-jgross@suse.com> References: <20211022064800.14978-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) X-ZM-MESSAGEID: 1634885370953100008 Content-Type: text/plain; charset="utf-8" The Xen pv sound driver is not essential for booting. Set the respective flag. Signed-off-by: Juergen Gross Reported-by: kernel test robot Reviewed-by: Boris Ostrovsky Reviewed-by: Oleksandr Andrushchenko --- sound/xen/xen_snd_front.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/xen/xen_snd_front.c b/sound/xen/xen_snd_front.c index 2cb0a19be2b8..7be9fbcf788f 100644 --- a/sound/xen/xen_snd_front.c +++ b/sound/xen/xen_snd_front.c @@ -358,6 +358,7 @@ static struct xenbus_driver xen_driver =3D { .probe =3D xen_drv_probe, .remove =3D xen_drv_remove, .otherend_changed =3D sndback_changed, + .not_essential =3D true; }; =20 static int __init xen_drv_init(void) --=20 2.26.2