Received: by 2002:a05:6500:1b8b:b0:1f9:713f:1f5d with SMTP id df11csp1100330lqb; Thu, 23 May 2024 09:06:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX95W8TiVU9B5TnnOebcuGQ04CcdVPZxB2LTIc1kZsaTUG+cU9fE+KRLdX6rEs+SnLFu5Sq8zn7r1m826sX8YztWsJ+lvGARFpSQrru9w== X-Google-Smtp-Source: AGHT+IEh1phIGKU830qFR5tzWQKKz4IkWvQbe6SuXAE++PewT8NTYmKcaUhqIc+UR+3/xdbpWvfi X-Received: by 2002:a05:6a20:7346:b0:1af:d043:8714 with SMTP id adf61e73a8af0-1b1f84de1d4mr8047702637.0.1716480374219; Thu, 23 May 2024 09:06:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716480374; cv=pass; d=google.com; s=arc-20160816; b=ZgDKAyrCiRjkU9UUfEBDjXyNz3OnZkAkgZ28Kzr9HgS6StTKNcsDK1c9FQ1EmWARpt CIeWP7XV/vxsB/+4/tp34ToCnvwMby3H40j4NNOH4D6GaFQq+/jQABoY6AqKsEv2HOlX Uz97LfjOZcBHPdDXgTy5xzklb6/XGMM+dpJoW+L8u6ygG6p7xrbIu6gC7VnVmNHHdDbU qaHHttNQ8Y+6DZRfXQOi+MhCLxqMp20Iq76Jr0O4zrMgTftKAJo+rL1BVeCH9sJTZNT3 tuS1x8lF8lJMQVhGm5HxZZgsAEVrIeh/Nbyn98m/fzxYHAfEU0R/GG0KACcU4A1wpEXY 7jeg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature; bh=KJc0+7UIJqgiClfd2IyE9FS/NB7cg6zILcm/gVeKAEc=; fh=RQrvNSCRMHpTLVMajWvovKgjKU9yd9mGbpIc/8icGsw=; b=WPWHQGnhEzbx0J0BkZjpvwuSeygQYlvVrJGtYsrbugOLkiewqaLcdjex+TUEQ0FiAU gqR8v196xh6s65ESnX4AW/2Dq3MZvdQIRZ9nJS3K7Rav7q+6zUdvFOHbrAswoTq04Pis 0+ghgvXbzRxYcgdNc9uCYQ/suqhU+MAyF+b1g05h5xICHHhLW/nz5KkZK0Ppj4QMKHDa wIHSbkZpfAID0xl82iohGkj1tCOTA5YSQgS8aiYhbLWpeajxrJKNs208NenRuV8qgRZc ybRMwVh60K+kP9eVBA2P3AGlfv882HqtspoMS8FDjU3RHxCgpGPOVl6V58cHsD4lrXTR KLLw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=H3VqYIq5; 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-187763-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187763-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-63409e824f4si2207442a12.111.2024.05.23.09.06.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 09:06:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187763-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=H3VqYIq5; 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-187763-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187763-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id F190DB22BEE for ; Thu, 23 May 2024 16:04:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0FD29171D2; Thu, 23 May 2024 16:04:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="H3VqYIq5" Received: from mail-wr1-f74.google.com (mail-wr1-f74.google.com [209.85.221.74]) (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 B30D51755C for ; Thu, 23 May 2024 16:04:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716480263; cv=none; b=L9VPG4/g+kJYK9lH0fXIqQxNJui6vf5S2hdXE4ffV1XDAI5Yq5m6/0FOXFVmHYmoK8ad/+4fesFqRria0w6ze39h8r1GBPjq+/M0G0+zayaGI+0UgJRJ/L+st/GRu4WlrpRaLzOZpCFwBKiMZYhUzp0NnHyeMrPZpfbQaplk9fQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716480263; c=relaxed/simple; bh=BuD6BMMZY1IU9ovL1we9YQ8Gf4eDIfH3zkHxIMtE8+E=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=PeTTnwxCir/vPcAqtamp3i7/Y4zKkLR0c+ZrfFbSGx2C2rVBOULVcmGK8xOT6Ybk5if1J7nDVDUINpPTm06jEWb6QdMBNiK5FhYSLbYI5GILVF4VFEuzSpfSWbBsR1SFr6r2dQ2tvBD7zZ0k8il1s6zvAr2U4kdsRYxv3w1s1EU= 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=H3VqYIq5; arc=none smtp.client-ip=209.85.221.74 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-wr1-f74.google.com with SMTP id ffacd0b85a97d-354dd4a4284so1457343f8f.3 for ; Thu, 23 May 2024 09:04:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716480260; x=1717085060; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=KJc0+7UIJqgiClfd2IyE9FS/NB7cg6zILcm/gVeKAEc=; b=H3VqYIq54YEK48gX0dUIGhFcIT870tSErVz/b6xgsra/BUJjqkjYk3GOISfJ86qhmA XMlQCUGCMV4jlgv/KBYme0erBw9YsFFBt1gICLRWGGrwNAk8QfcRBrXX16XloXr3popk p7lL6RsAXKxNezJDOO3TVA1EWSERI40gcONDqQ983LgN2YfySJq7DxiPftnJ0WcTNMVN BGXzcqdddG2xiPrjjhXgPLw+b8hpo0MrAbnlywwZ40IL1ssxGd3AMXrqUtKk38zSNfoG Oe6QvhffMIrfYPbZwkZ6bKBKhw0zviJPRwVkugC29J/0kgw8J5WzuzTEQM+eyHy1UyWQ aSpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716480260; x=1717085060; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=KJc0+7UIJqgiClfd2IyE9FS/NB7cg6zILcm/gVeKAEc=; b=l43cws7ABNjxCuiZ+VU5EVHna2OjbwcLdaWmm5QzY1G8Qls3opVHun/225LrHloq0H heJsHOvrHpFFmhu6ncIbPyeYIfVMEZuEJv56/2iWhjkoCWNs52McPXAO/ijGswyg4WNG nt7qb2I2AMTpODMKjcYRdHMMBLH8UE9vL3q0Evh36g3KgG7T2PeysUXxatqX39KcZeTx /TtIaUqzO0b6UkLQceXon12jeFnOIwDffVv9IQ32drFqIYtbTIFPhbm32IDPmmOyqErY w5S6ERRwy7fGihKzN5vFhuc7OXEauFLIOcKc59i6j4OIPGvHkwgj1au4TF+GKP7c2nd/ R8ow== X-Gm-Message-State: AOJu0YwMh2OAGRG6dsg3Z15wWjI3Qr6WPwINKW4Hs9bzt7gxGPiBiPMG doiFpzAnatGuePABVcmDgCAM5UmKFporBUBm4/4k+agFqvovhqoH48Eh4FS56SWnde7qfOnkDie Z7o7BpTL1JR3haf8+6KvCtcjkyg== X-Received: from sebkvm.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:cd5]) (user=sebastianene job=sendgmr) by 2002:a05:6000:1788:b0:343:c54d:28f7 with SMTP id ffacd0b85a97d-354d8bb14dfmr11021f8f.0.1716480259991; Thu, 23 May 2024 09:04:19 -0700 (PDT) Date: Thu, 23 May 2024 16:04:11 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog Message-ID: <20240523160413.868830-1-sebastianene@google.com> Subject: [PATCH 0/2] misc: vcpu_stall_detector: Add a PPI interrupt 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 Content-Type: text/plain; charset="UTF-8" Hello, This is a small update of the previously introduced vcpu stall detector which adds an interrupt to the virtual device to notify the guest VM in case it stalls. This lets the guest VM to handle the reboot and to panic in case it expires. Thanks, Sebastian Ene (2): dt-bindings: vcpu_stall_detector: Add a PPI interrupt to the virtual device misc: Register a PPI for the vcpu stall detection virtual device .../misc/qemu,vcpu-stall-detector.yaml | 6 +++ drivers/misc/vcpu_stall_detector.c | 41 ++++++++++++++++++- 2 files changed, 45 insertions(+), 2 deletions(-) -- 2.45.1.288.g0e0cd299f1-goog