Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp175782lqs; Thu, 13 Jun 2024 07:14:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXrL4YBdJxeXoPHXk2gRDu9dcSfFcp8YuED2MpXuLDqo0p1QI53R4Wp6yG60vuWt2ZW92Y6nzazk4K0+Caz1/xHZ4LsQvywGxLy42C1Ow== X-Google-Smtp-Source: AGHT+IGPQVukEPA1A8T4NMU120Vz1oYpch0X3ycXqRYoYN+n0SU0mPgVHNI7SjhNzIWWAy0xE06n X-Received: by 2002:a17:906:e245:b0:a68:bae4:d66f with SMTP id a640c23a62f3a-a6f47cbe0d2mr309981666b.30.1718288071092; Thu, 13 Jun 2024 07:14:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718288071; cv=pass; d=google.com; s=arc-20160816; b=YX5zLTNXjJHHF3j3A8PIXJ8r956Hy8nFxkyAwcilTQpKuhotFiq6IKF8zdGSX2repp Pl40ueziYT3lR7nAC1J/x+hy+oOXBTpBXzm7IyXsgXDtGg4Y/yFUX5j+UHXS0pRBCtHX uQaVOor5lgCQJckfi46jCPzPKFdv/xLav+UKkrMOMNemIEdcC8oCGzVHUIwXTOiAHsib vsrD2tw6xbzXk/DlmEdCfw9eV5xCleq9SObKIR/wvefsogBMJ2AJLxkwWt/dvc3Jk94k Ul0eEdRjsBgFILdT6VSGunsLHM9thxZIJAvdJx28Nrc0lOYCAcMDwPxY+BGNKCoKtRFg Oj/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=4xD4B/30d59fgI1TQcHmQ/HHM3gNeD0CWu+CBJTxBNY=; fh=R+vIC4v3int2VbqpijX2ViZiXt0/TxBxk9xgQK62uJE=; b=o3lLJ3Gun3rmRWMx6T0nmOsDtVQmD7Cy28yWsmngMXpx8l8wPxqUIUM1T2cGrCpaDK NXxV6DfG91UCmHzArlAAl/RH3jA3KEBGaPrr/yaYpZdNn1xif34WK9HcR0xlouyDEoXS 6p/+Y4q6ctWkv5HiBhZpR03VeNemy/Pw7EC9af5ktEdQFZZyYtBNiukiu0ZUhh4GVCAx R/8NxPq43NM+AOjV50QU3wASZI5dh60J2w+agDnx6YW77p9kcLyuBg8Bc6M7epp2/nxa 8MXC9OlshHjMoOhZId3+P4dplxJ6POEGQfa9weJdd7H/rZu+Wc1Vqdd1VrEcK0WC1wVK LPhQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=fJvG1WGD; arc=pass (i=1 spf=pass spfdomain=flex--sebastianene.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-213411-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213411-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f56df49f4si75792866b.596.2024.06.13.07.14.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 07:14:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213411-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=fJvG1WGD; arc=pass (i=1 spf=pass spfdomain=flex--sebastianene.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-213411-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213411-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B5E5B1F221D1 for ; Thu, 13 Jun 2024 14:14:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F1D5F146A6C; Thu, 13 Jun 2024 14:13:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="fJvG1WGD" 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 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-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-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-detector.yaml b/Documentation/devicetree/bindings/misc/qemu,vcpu-stall-detector.yaml 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 + interrupts: + maxItems: 1 + timeout-sec: description: | The stall detector expiration timeout measured in seconds. @@ -43,9 +46,12 @@ additionalProperties: false examples: - | + #include + vmwdt@9030000 { compatible = "qemu,vcpu-stall-detector"; reg = <0x9030000 0x10000>; clock-frequency = <10>; timeout-sec = <8>; + interrupts = ; }; -- 2.45.2.505.gda0bf45e8d-goog