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=-1.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, T_DKIMWL_WL_HIGH,URIBL_BLOCKED autolearn=ham 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 55073C282CE for ; Tue, 4 Jun 2019 13:16:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 247752484F for ; Tue, 4 Jun 2019 13:16:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="KR4dFdab" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 247752484F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JNuyWMuryukSXlGA7vPBV9lHL+0ZGN15YHdWDXJObgc=; b=KR4dFdabUZibmJ Y2/ByUnOnNY9pMbSHFiRhYseDY+7TXUo/vg5LpuH22Hp2Gt2IsU60/SgTn0Y5D+2XGgIWVo3LTMjz pQPYmcs15WiRjRccqWDQFeeg0x+uDo1opVmHq7dxmcENrhdcN/9or+jwriv1X99oRSFgI3abf6bxS fbf/PaBN02Q2N/YkRBcxT9O0TKEoc1IR5HEMGStOR0A+nwXwc/ZgsU6PCh1hThXPXAT0QxgpDD2ed m0kVwj7s8XO1Dn1JFlYh3S577sBjd01r6mbv+PtMBBzTcMEz8rkftracSJJnpUtOE8ng1PUOJvX98 KwjJuZdq0nBag9GCaHwQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hY9IZ-00021M-9N; Tue, 04 Jun 2019 13:16:19 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hY9IV-00020r-Qs for linux-arm-kernel@lists.infradead.org; Tue, 04 Jun 2019 13:16:17 +0000 Received: from oasis.local.home (unknown [146.247.46.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 120BA2484F; Tue, 4 Jun 2019 13:16:11 +0000 (UTC) Date: Tue, 4 Jun 2019 09:16:07 -0400 From: Steven Rostedt To: Julien Grall Subject: Re: KVM Arm Device passthrough and linux-rt Message-ID: <20190604091607.2e87eb36@oasis.local.home> In-Reply-To: <26832850-37ee-ae07-08ca-cc3e90978867@arm.com> References: <26832850-37ee-ae07-08ca-cc3e90978867@arm.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190604_061615_880874_4E96BADB X-CRM114-Status: GOOD ( 10.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rt-users , julia@ni.com, Marc Zyngier , Sebastian Andrzej Siewior , kvmarm@lists.cs.columbia.edu, linux-arm-kernel Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 4 Jun 2019 13:58:51 +0100 Julien Grall wrote: > This is happening because vgic_v2_fold_lr_state() is expected > to be called with interrupt disabled. However, some of the path > (e.g eventfd) will take a spinlock. > > The spinlock is from the waitqueue, so using a raw_spin_lock cannot > even be considered. > > Do you have any input on how this could be solved? What's the reason that vgic_v2_fold_lr_state() expects interrupts to be disabled? -- Steve _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel