From nobody Thu Feb 12 10:55:16 2026 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (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 B326F146018 for ; Thu, 13 Jun 2024 14:13:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718288028; cv=none; b=LVmpD05DJ+wAbkcCvGm5togeWG3qbTNkTg/5iU+7brd1pnTv8MwLLPPCwPelzCbGEpLnBOsUuoh3jhhKBPXscKyzDDMRdH5DYFNsF7au6TBwuesbuLxlf3s9uPoQ/FpA68EC3KbPnisSw1dmPHE8k5pdnXx+/BiZNDV71kcF8tg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718288028; c=relaxed/simple; bh=ERjV5BJYroAXFIaG6FmVQOy7+GFyAqC/Q40IjLgdSn0=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=oqzxDCvZeqoePWU+fFdRC9vDTu6fu62OxqyXs8MYnv0Fz6OYMHfZKGsxtz1x/kCl3lfGYiBbtwnb9P1Y5flvxmKjrlRCuA654CKlEiLZGYlvbmbE4GmqrCDpmJqmULkwCPEaUrylnxM4x6txu7/uoGncZ575YToWYUrzG/78y2g= 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=fJvG1WGD; arc=none smtp.client-ip=209.85.128.201 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="fJvG1WGD" Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-63128f5eb5bso12531207b3.2 for ; Thu, 13 Jun 2024 07:13:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1718288025; x=1718892825; 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=4xD4B/30d59fgI1TQcHmQ/HHM3gNeD0CWu+CBJTxBNY=; b=fJvG1WGDnhRDHzpu+eZ9gNG7a6k2i7yrK76/2EK4GUj6ojle9CMNoZJsSMWzRzLTgl tkUYdnhFIVKQESN0/Ez5bQSzfyQfsyj6hEh1a6w8+8WkwW3elKzD+2OL7cHDsR3iVIkg CzfIQigi3kmcXQWF3pRbjEt2nKwxXHH1Womz0qcToeIMd3QXZ/nfd0eN1Yft1FiYcQCI kTZf7iSzUD/miGWQwJ4khpMkMLR+Zh4o1Si1C1/zEDP0VLGuVQPfj1w5sPlB8EadZSbz nuNn4jVRit0aUVTeRJaTFNSLP6NbKioZTuuCwJqnfkFta3OleD4UxBkTBq8Q80epWhnZ hlJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718288025; x=1718892825; 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=4xD4B/30d59fgI1TQcHmQ/HHM3gNeD0CWu+CBJTxBNY=; b=XulLYkJiFHnQwS1IOTGXCxMGN+emK3H61Bw3rRM9kiz+CKYn5GtO396L6IIjNJNfHw 07c3YJipa60PaYXq3AilPhghV1olE+D7Wudcd2vMTzK55NfoGs70lniiRLCbwEX5BAd3 9skQIIpct1yOYJ3CJlDyEMXfdFIZEFcDWgx5XJ87/28ENd6v3I9gY8uDLrTyBnld8030 Aa4beKTMcfyCBdbQBPJaKLcZwNmHRA6os2QfJ9+9s5F1dXHHcgby1HomkDh1kpLOwlxW jJND3qPsndBaW2vwaT2UMaPvrDjIUo1zS2ecfkQOzqQxIbs0ecgXZXV1QiZVGn1/Ctyv dloA== X-Gm-Message-State: AOJu0YyI+rCKbuSzSI2DMfsK/mm9cmgfRf/UHaDgKnxuHQZIqDqdoY/2 O5UrnMdyLAqKck6RLPnnkbKb6LxvvIvjvxhiwwdn3aPMfxVNp9JVO8sBv6O/WEn4GyvlwvKbRx2 Ehta727mJ+/dA5l5eEEJoikFRtA== X-Google-Smtp-Source: AGHT+IE4GGKM2aTl6lWB2KY+Wdp3WNUVj4Ae+A0AMzyGnV4UVuSwDQxm/tAmKK1qBnTgqzTNbtfDQPyFW+GwABUCxZU= X-Received: from sebkvm.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:cd5]) (user=sebastianene job=sendgmr) by 2002:a05:690c:25c7:b0:627:a962:4252 with SMTP id 00721157ae682-62fba47067dmr11954057b3.7.1718288024746; Thu, 13 Jun 2024 07:13:44 -0700 (PDT) Date: Thu, 13 Jun 2024 14:13:34 +0000 In-Reply-To: <20240613141335.1134341-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: <20240613141335.1134341-1-sebastianene@google.com> X-Mailer: git-send-email 2.45.2.505.gda0bf45e8d-goog Message-ID: <20240613141335.1134341-2-sebastianene@google.com> Subject: [PATCH v2 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. Signed-off-by: Sebastian Ene Acked-by: Conor Dooley --- .../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.505.gda0bf45e8d-goog