Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1662032pxb; Wed, 10 Feb 2021 13:38:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJx8H9lvq+xMGVoPp/kOEpVrmo8STm5a8AeI2RDso6kCIGMQ3x/n5bLGPNoTkHzyaVyKvIaO X-Received: by 2002:a17:906:3a89:: with SMTP id y9mr5025338ejd.4.1612993125918; Wed, 10 Feb 2021 13:38:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612993125; cv=none; d=google.com; s=arc-20160816; b=H/m1Wd+8MxCAgTmS5Obl7nOhG79Kf1gV7gqyA2yQocV0c9e8KGQbzKjzJG0lbFjNV/ ffmNvSNKoMW3IZ/sYGpQEvK1x9E18PwQdZQopE1hgq0dr8GUYnAnkgI6vl1MINrTdeh5 coLZf9eegEDh+hd5Ea/ff7F2h2b2+9CxAMNfLdNJb7Hr9elJlYl7YBIYYUyRQbjVnDfM +NeUpBTfjTZrx6IS5TGfKBtwZ0ZTd8DxxmjHlvoUqG3KpzOdd6Ug8oaSHZVaScNF2xgW LrJKIJctq1sRFdHwTW62LCZ/HBQx39D7oNQBEOOMJkvfNylqRl/b+kyFgBk6bA7I+MiQ 0DQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=4RE1fp78/ovlXfZomZrTEuLqNTdH947nlcl2gMG9PZY=; b=lKHxAEJM7dQq+kSANMcrEX1eJZelr3ADyoT5KGcKMLKuNC2uIy5D/0QujcZfe3yQK3 qn0KLFVyhcgoznYbhmObboiW7HFZp/OUlqYt2NZY652UqAf1v5tuptpLAeurQig0nPMc EDRJLlrm7wZ+8I4blrdLL1625k/b2UKb7UI/qI+mxmB7Dm50j7U4mbGXGLURHjBW4NvN PdMErKT2AbqfoMl3MfgLGuyC4Y6QGhMVzsdZgRTb2ZMYOJkkgCfQjaqSsrRP9FmpasS6 5MVnxuCg0HfRh/j1xAV6U1+Gu4C1RUG6+M2jlYCNAHiFSGjybOVcF0dCubFRomIG+QQY 2JVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F836RUnt; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a29si2516950edm.271.2021.02.10.13.38.22; Wed, 10 Feb 2021 13:38:45 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F836RUnt; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233463AbhBJVhG (ORCPT + 99 others); Wed, 10 Feb 2021 16:37:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:56626 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233097AbhBJVg6 (ORCPT ); Wed, 10 Feb 2021 16:36:58 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id F374A64DD6; Wed, 10 Feb 2021 21:36:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612992978; bh=8/iQqCFp3uQ57lkielDRJ0nDpWhNDeLQmdENd46C96w=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=F836RUntz0IBDKngDQbq6aGEQziWb/MAEhkCht/Gs3AfcWs9QpJkpcpu53XnqB76L 26FFqUSFoVsm8s6oxtIMezKKdXHeSnYV5S+0VpaGOOzlckdja727xfnz9yYK9sxraD XYawRZLigDxevf/m9gUmB710mGxhIT8kfHLFfSkySNkfjdxjR97Wq+mMKMGjw6MT1v M6rUbgSmP1guhdUywccceiXEVQ5Gas/RR6CBDjZK3i7pwjL2CPpeWTBRwCUmbSuxm+ uVDXTzIs/zdj4f9sECXYyjcBVZwsgfnRJCQ03JlBNwTRX+XGCUgOugvP2l5Dm/ha1W l7ilAWpbCkwXg== Date: Wed, 10 Feb 2021 13:36:17 -0800 (PST) From: Stefano Stabellini X-X-Sender: sstabellini@sstabellini-ThinkPad-T480s To: "Woodhouse, David" cc: "julien@xen.org" , "xen-devel@lists.xenproject.org" , "boris.ostrovsky@oracle.com" , "linux-kernel@vger.kernel.org" , "sstabellini@kernel.org" , "jgross@suse.com" , "stable@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "iwj@xenproject.org" , "Grall, Julien" Subject: Re: [PATCH] arm/xen: Don't probe xenbus as part of an early initcall In-Reply-To: <7858866d099732baf56e395a627f610968d24a7d.camel@amazon.co.uk> Message-ID: References: <20210210170654.5377-1-julien@xen.org> <7858866d099732baf56e395a627f610968d24a7d.camel@amazon.co.uk> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 10 Feb 2021, Woodhouse, David wrote: > On Wed, 2021-02-10 at 17:06 +0000, Julien Grall wrote: > > From: Julien Grall > > > > After Commit 3499ba8198cad ("xen: Fix event channel callback via > > INTX/GSI"), xenbus_probe() will be called too early on Arm. This will > > recent to a guest hang during boot. > > > > If there hang wasn't there, we would have ended up to call > > xenbus_probe() twice (the second time is in xenbus_probe_initcall()). > > > > We don't need to initialize xenbus_probe() early for Arm guest. > > Therefore, the call in xen_guest_init() is now removed. > > > > After this change, there is no more external caller for xenbus_probe(). > > So the function is turned to a static one. Interestingly there were two > > prototypes for it. > > > > Fixes: 3499ba8198cad ("xen: Fix event channel callback via INTX/GSI") > > Reported-by: Ian Jackson > > Signed-off-by: Julien Grall > > Reviewed-by: David Woodhouse > Cc: stable@vger.kernel.org Reviewed-by: Stefano Stabellini