From nobody Mon Feb 9 04:03:51 2026 Received: from mail-wm1-f73.google.com (mail-wm1-f73.google.com [209.85.128.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 38072181B9A for ; Wed, 3 Jul 2024 15:37:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.73 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720021065; cv=none; b=PTEtTR/CTfRs1aSBkVFViUArlM+laOdMc6YTSHwE5COfIB6eUC8q2r6EAFEHvJtfuyyhLOQA/lpMxdFuvmvkOeXSNdfT7L97owljrSPY5WGUlaPJ5SBliEIkfHEQDglpTkjt73f6u9uCUOzwXO9vF4tx/7oIWZ0+DgKMUpSqMNk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720021065; c=relaxed/simple; bh=4tm4poGH1Qp2f/Ekw2ZcGWDQwJwexwXTaGlBJ4EKROU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=MMSgHXnL437ZbtCC3/EpFuMuykDR3SGIZFZK8VFuHT/9hqiwZ1QKegkeTfCPfu2UIIfTferPtF2HnepRGhOv7eFvTgfK72i9H+sWWVuJIAtsh/qLfRI6/+a6wi9wxt6cz9vTO/Catb8hCnIyo4xEK3IV+JtWxzu6ub+/BPo+zM4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--sebastianene.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=ncXIeeVq; arc=none smtp.client-ip=209.85.128.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--sebastianene.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="ncXIeeVq" Received: by mail-wm1-f73.google.com with SMTP id 5b1f17b1804b1-424a5a5f024so36337695e9.3 for ; Wed, 03 Jul 2024 08:37:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1720021063; x=1720625863; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=QXlYYR1UR9cqAQ1pIZHR6lAQLRa2deLFoE8lo+c+kks=; b=ncXIeeVqNqg88UIN/ehLAdSxkKC+IvoAmhuPMGRtbM5tpCyMVrEUK5qCz+J44iPXgi lz43z066uLCtJBcbSrskIi00U/2eGxkfKoyY5TaV4RTBs79l1Ib16TrCj3H32TOwxEKI 1ElkXZdegGxdElyW5AVymiAOvBNRZfPf7/176/LFG10SyxnVumd75lCb9xPzEwR2Lhry vKQEM7qW4/iZ391d9kXxb4ev0TMTcdKcUiVxMqgW0uEjyMzP2PCtTswCJOP1nwT/Xvt4 E7iC8Xm8QBOUqt41xBew9Q1TVCxlAZDjnaM46XIEiBg8rNlkh4Z+g1s2mHSoL7jP+tmU ln4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720021063; x=1720625863; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QXlYYR1UR9cqAQ1pIZHR6lAQLRa2deLFoE8lo+c+kks=; b=xQ7sEIo0SipBUUjQOOMXf+h6hXcqDp2dsh3bsNBfCuJMDXhH2ee/wlao1pOC2eEQ14 4VFM9Cp+xX9GNfSkchJZRZcLgVbLpN+NJBy32d0OddxeKV1COqTcF2raKyAtDcdO51rJ tiXpWv0v1y1dPU68egr4nqQtXoMqvxWE5UMF2OJwCgDo0DAlf2qQ3yNybs6WKK7AuM2D qRLpqUcyo24rVy0BW771iB0K99g/zFb2PI77X01CgSQskv0hwy91Vym/selD2VrassJb nyL1FbiElNei7kBeQ5favWXjdsx+A7vsqxrZ00KxA9Umg/0G6uMGIz7iXY4J8LaE46Qg q6VQ== X-Gm-Message-State: AOJu0YxerfXRPDWK8o3zus6FPVoTAoKiCBI2UDpzE/2r1w/P1Z63LE+Z Q2PYjSRZ9c5/rCuSi3qFw6C6bIwi0QBClekhh3eoZEl+/h8TTzTNRxZhJn7I7Sfsbh4x6hGB94j Sux/e2oW2wdQVZZqNEZX3STwWkg== X-Google-Smtp-Source: AGHT+IFK31UsAzUApygH4p1vn9PaZfFSeq5R9qd5sAlUzx8hcFcelv/46dvTQSMU89/uRNfJ9fru0q36VeOeQRptLhU= X-Received: from sebkvm.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:cd5]) (user=sebastianene job=sendgmr) by 2002:a05:600c:3ba6:b0:425:6c3d:36cd with SMTP id 5b1f17b1804b1-42579fed62cmr919245e9.0.1720021062606; Wed, 03 Jul 2024 08:37:42 -0700 (PDT) Date: Wed, 3 Jul 2024 15:37:31 +0000 In-Reply-To: <20240703153732.3214238-1-sebastianene@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240703153732.3214238-1-sebastianene@google.com> X-Mailer: git-send-email 2.45.2.803.g4e1b14247a-goog Message-ID: <20240703153732.3214238-2-sebastianene@google.com> Subject: [PATCH v3 1/2] dt-bindings: vcpu_stall_detector: Add a PPI interrupt to the virtual device From: Sebastian Ene To: arnd@arndb.de, gregkh@linuxfoundation.org, will@kernel.org, maz@kernel.org, Rob Herring , Dragan Cvetic , Guenter Roeck Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, kernel-team@android.com, Sebastian Ene , Conor Dooley Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The vcpu stall detector allows the host to monitor the availability of a guest VM. Introduce a PPI interrupt which can be injected from the host into the virtual gic to let the guest reboot itself. Acked-by: Conor Dooley Signed-off-by: Sebastian Ene --- .../devicetree/bindings/misc/qemu,vcpu-stall-detector.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/misc/qemu,vcpu-stall-detecto= r.yaml b/Documentation/devicetree/bindings/misc/qemu,vcpu-stall-detector.ya= ml index 1aebeb696ee0..e12d80be00cd 100644 --- a/Documentation/devicetree/bindings/misc/qemu,vcpu-stall-detector.yaml +++ b/Documentation/devicetree/bindings/misc/qemu,vcpu-stall-detector.yaml @@ -29,6 +29,9 @@ properties: Defaults to 10 if unset. default: 10 =20 + interrupts: + maxItems: 1 + timeout-sec: description: | The stall detector expiration timeout measured in seconds. @@ -43,9 +46,12 @@ additionalProperties: false =20 examples: - | + #include + vmwdt@9030000 { compatible =3D "qemu,vcpu-stall-detector"; reg =3D <0x9030000 0x10000>; clock-frequency =3D <10>; timeout-sec =3D <8>; + interrupts =3D ; }; --=20 2.45.2.803.g4e1b14247a-goog