From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97193C433C1 for ; Tue, 23 Mar 2021 12:37:07 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 46D376157F for ; Tue, 23 Mar 2021 12:37:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 46D376157F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.100668.191929 (Exim 4.92) (envelope-from ) id 1lOgHL-0000Py-5v; Tue, 23 Mar 2021 12:36:59 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 100668.191929; Tue, 23 Mar 2021 12:36:59 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lOgHL-0000Pr-2p; Tue, 23 Mar 2021 12:36:59 +0000 Received: by outflank-mailman (input) for mailman id 100668; Tue, 23 Mar 2021 12:36:57 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lOgHJ-0000Pl-2S for xen-devel@lists.xenproject.org; Tue, 23 Mar 2021 12:36:57 +0000 Received: from mail-lf1-x12d.google.com (unknown [2a00:1450:4864:20::12d]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id ed7ef406-b708-4c5d-9fa7-9ba7a610d106; Tue, 23 Mar 2021 12:36:56 +0000 (UTC) Received: by mail-lf1-x12d.google.com with SMTP id b4so2452504lfi.6 for ; Tue, 23 Mar 2021 05:36:56 -0700 (PDT) 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: ed7ef406-b708-4c5d-9fa7-9ba7a610d106 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=jjEXYV3IETTZZnE2F99X/YVsSolXNBNhR89Y7KFr44s=; b=tXmdVdIW7j1ogxeCxllmOV5WuyBQAhKztRhwrwRSZ7WUE0MfOkxX35fnAxvd11fp8T wdLvDW7sMt1tlkWvoq/vioXl1i6QF79FIu3vEb8wHNHdNCZLaSk6A8m/tw2c8IaauL/q 0JuAkHnLYCt0Nst4mLaz/BQtbLtHHTV3JQGx9nLX9vUcwEXI3bA1uN3fePADrD7UJP+e vPqLKGsbpim8NbZwN6/ndMqUt5DGSwoiB2jH/KcQoVzWJG4adAZb33eEt9KyjnTaM0yQ wzP4I1QK9+y8ckXsBL/LUjcZTNd0lbDtxSldQBy4P5czHF1lGo0wWKJGGXgMxgHAQCUQ lFqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=jjEXYV3IETTZZnE2F99X/YVsSolXNBNhR89Y7KFr44s=; b=kyqX1Y2jtAxj9Fqfao0BbDaWgF0b0/gJ5q0rLzKHUCpqZXdpEqCjt/1VM0BTHGugjv ERdLofWtdakp49+fYazK4KrW72ImfThijOoj65Yx10NWIKvDpNPZWoSvT0E+jXH/zkk0 Pr+rdH6QPiUdynsAP7fteHnNVQH99b1I1gc8NYr9rvmpa5uyf0FmDCTquGgflUgotbCM e0zmeUC3z6nXu4HrYMjsDmC2zTcdPpq1D+F7AkR9S/w+44FMObMicm9UUBMXFTU8MTPO j2U2+IU2yyLdX/9RYxjBDSXEYES6VZ/UEKiW8yGEYCImY07RqFFfE19TcV+FqWOKUNVS APCA== X-Gm-Message-State: AOAM53356wW3gjngfETk/Cl13zZHMdi826QAnvAAKJ/JlEhZZxJ1tFwr oCUS8yDqjSpellRz70QGNYG7ZdqZingMBMoJHj0= X-Google-Smtp-Source: ABdhPJyoVwfNP62aJ2wFY0rco6LaJ+jC66c0XypuSkILLC9vrfzrIl4+3Uu8tcIQmpGulN0hYrAI+urXDBT43x35kcM= X-Received: by 2002:a05:6512:3290:: with SMTP id p16mr2488453lfe.150.1616503015051; Tue, 23 Mar 2021 05:36:55 -0700 (PDT) MIME-Version: 1.0 References: <1FAD6C91-2B3A-48F0-88D7-CFCFC8B53BA9@arm.com> <2BC82A95-DFB9-4F90-8CC6-AE39405157ED@arm.com> In-Reply-To: <2BC82A95-DFB9-4F90-8CC6-AE39405157ED@arm.com> From: Jason Andryuk Date: Tue, 23 Mar 2021 08:36:43 -0400 Message-ID: Subject: Re: xen/evtchn: Dom0 boot hangs using preempt_rt kernel 5.10 To: Luca Fancellu Cc: =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= , "xen-devel@lists.xenproject.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 22, 2021 at 3:09 PM Luca Fancellu wrote= : > > Hi Juergen, > > Yes you are right it was my mistake, as you said to remove the BUG_ON(=E2= =80=A6) this serie (https://patchwork.kernel.org/project/xen-devel/cover/20= 210306161833.4552-1-jgross@suse.com/) is needed, since I=E2=80=99m using yo= cto I=E2=80=99m able to build a preempt_rt kernel up to the 5.10.23 and for= this reason I=E2=80=99m applying that serie on top of this version, then I= =E2=80=99m removing the BUG_ON(=E2=80=A6). > > A thing that was not expected is that now the Dom0 kernel is stuck on =E2= =80=9CSetting domain 0 name, domid and JSON config=E2=80=A6=E2=80=9D step a= nd the system seems unresponsive. Seems like a deadlock issue but looking i= nto the serie we can=E2=80=99t spot anything and that serie was also tested= by others from the community. > Do you have any idea on that? I think this can happen if xenstored isn't running. Client access to xenstore blocks until xenstored becomes available. So check your init scripts ordering. Regards, Jason