Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1314279rdb; Mon, 19 Feb 2024 10:58:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWJBwGM8FmuB4tKLUAUbvhMyYl2FhB4o/ouX94QYDVDag3AvAi2LN3hbmkGr/rlGuXJlslN3s+6Te4B3OHTaXrcWQfFFiLEAkN8Ji+pkg== X-Google-Smtp-Source: AGHT+IFV4mSD6yjsfpPgJyrgHKtsp3/InzRr4+7pxRQF/YH/Rb9kQjlO+6q72bqkHHSAqOwGHRKk X-Received: by 2002:a17:906:a881:b0:a3d:8466:d355 with SMTP id ha1-20020a170906a88100b00a3d8466d355mr8788266ejb.19.1708369130779; Mon, 19 Feb 2024 10:58:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708369130; cv=pass; d=google.com; s=arc-20160816; b=YRzfOcMdxzJg/twUUT8Wmn0bRxULnOYj9Z8YwYjmspp+HnAO0ziZFvMq2MSae+/0jD fhQznXQccdqOup1AOzpG/+knCucduQPC36z7D6aNgCVKzty71Pv/Y6kEZtUXXDVkLrlP ne9PoXs3hl0QWR+M01JpFokNOLeVp582oBy3UUqo4EEPLWtRSx7JmWYH+Fv2soPo1HmU QE4KOByOTUdB+PiVbuxp29WHXckIjyciHK894q2qVuXsvfstoQ6oyckjh0QoSOKUv2Zl AFLLour78hJcoY0N7Vx7d98p6LtOUVJBBPRFIsqs+YymMtdO8K95nJNexaBuWSgB+bS/ lGGA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=pW+8iNQbeLyIbXJPdyK8epJlh98fOASyjU7Mp6Za3ys=; fh=fgV4Kp0ZgGkINw9PbGnSyYl5n9Uaijr/GJFF1V5tx/4=; b=JRvTzLd7sEqpKVb9cchhBFQIg4Wk4NVxPuiARxJjYPxOqAKHmn9h6NxZbtjpfR5olG G00knhFM6yLg0gfFd5oZz8b75palZM8JMp78KY60bBA4SPAQXz+mxxUzhESz4kv/yOND CWfk3dQDdUlY/UNyMZDNiMFOvsowUE4s69A1Kz4YU9ghWrlMYBVBSdtXvwf4wS9QX9C3 iUlE/6eQVn5c1sX4t16kVN6hZsnhYM+DVsxMxYccRE4M+lqt8mrcmD0n8aj2LuP50Rn4 3008WdFVrRtQ8rX0nwLk8canZYrpednDbjZgLjnnyov8J+Ctu5pI62WW5EZlP75j1bPz 2DaA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=EoGXnPCJ; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-71846-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71846-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ga7-20020a1709070c0700b00a3ec891fe7esi622805ejc.262.2024.02.19.10.58.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 10:58:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71846-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=@linux.dev header.s=key1 header.b=EoGXnPCJ; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-71846-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71846-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 878D61F2294D for ; Mon, 19 Feb 2024 18:58:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 00257482FE; Mon, 19 Feb 2024 18:58:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="EoGXnPCJ" Received: from out-181.mta0.migadu.com (out-181.mta0.migadu.com [91.218.175.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7375447A4D for ; Mon, 19 Feb 2024 18:58:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708369105; cv=none; b=IY0UJvfsrxFV8DYMqS1ougOfZbWxLDL8+8ebDgBiWKNawyQJbIsOtU63pXcnNyW44aAHKBa0DYfs++UBxeRlz69/FlLMKrIR71tRYWL2zs5h7EggZfqTQu71dVMrFAuNo1cWe8IAVz0b47bvQkadZsCjPpmrIsMzKEucYDV6qk8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708369105; c=relaxed/simple; bh=5OU0GHTdrAKrf4dsHeadS9f7uXCHbQibWUgINaNMk/w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=j4s9WZHBJiFeSjKLaedx9fcVgNtppcRuLc2n6qha/WaGive5S+b6E9Sj1nXBm+kEjyc4xHAwfePwFv8J6LUpWdnoihRo7bdn3wCBvcwju3SX19AVBsgQan6PXoz5+y3EPnAGk/0A6+zUHwgwW+u7buAyPWJQ5jQxiTM7fMtSFok= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=EoGXnPCJ; arc=none smtp.client-ip=91.218.175.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1708369101; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=pW+8iNQbeLyIbXJPdyK8epJlh98fOASyjU7Mp6Za3ys=; b=EoGXnPCJuOK9jAEWm2hEqf+Nlz33xTl/DnShq8918M7ywhjJ4P8txTql9CiVAZXo0w19Ms n3wG07f6xe/IXqediWEBTfKzf4PSvw8E4vx4xlPFMTKB9WuEoJ8AxMwI9cok6qLJBoosFy 8t4HI2Dl21Qc3YEpGST/4tWy2GDLCBY= From: Oliver Upton To: Thomas Gleixner Cc: Marc Zyngier , Zenghui Yu , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kvmarm@lists.linux.dev, Jing Zhang , Oliver Upton Subject: [PATCH 0/3] irqchip/gic-v3-its: Fix GICv4.1 initialization after kexec Date: Mon, 19 Feb 2024 18:58:05 +0000 Message-ID: <20240219185809.286724-1-oliver.upton@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Fix an issue with GICv4.1 redistributor initialization after kexec, ensuring the vPE table gets reinstalled even if the kernel is using preallocated LPI tables. First patch is worthy of a backport back to the introduction of GICv4.1, second two are intended to avoid these mess-ups in the future. Tested by kexec'ing into a new kernel on a GICv4.1 system. Oliver Upton (3): irqchip/gic-v3-its: Do not assume vPE tables are preallocated irqchip/gic-v3-its: Spin off GICv4 init into a separate function irqchip/gic-v3-its: Print the vPE table installed in redistributor drivers/irqchip/irq-gic-v3-its.c | 50 +++++++++++++++++++++----------- 1 file changed, 33 insertions(+), 17 deletions(-) base-commit: 6613476e225e090cc9aad49be7fa504e290dd33d -- 2.44.0.rc0.258.g7320e95886-goog