Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1567279pxb; Fri, 22 Oct 2021 03:35:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAOK823axHkRcnuGIGEfN0QGef9vKYex6ywK511WeKDU0EQpo9jGUyGVxHyPEaB3Jox7aX X-Received: by 2002:a17:906:af83:: with SMTP id mj3mr3880766ejb.536.1634898932341; Fri, 22 Oct 2021 03:35:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634898932; cv=none; d=google.com; s=arc-20160816; b=dDSDu3jSsao9+QNCFMMxU5dhMj1vSmERSqEnwrpIzBEaS9KWEgPamV7Au54y4UL25L eBtCB5B1tq4UlCuMJdGzVX75c85YXqdOFfiDtCw6HHvGoQ5tSRjCjRdondmPWvm9hY52 8GGFU3ycxrnFaDZV1QWJU0So0BaHM7Fel6b31CPeZ0paZucjkzt2wnx4lTBoclSHjOLF gvYvlP+AXRee+V4aHam6BI4KfLj6Z+iSsDS8oureI685rn6EZO9fRwRLG9hNYNlAAM42 wzVNgmaRoC5DOITXdbL790hs9Ln2v8rruktFSODEiekgrFqbjo/3Vzf/PB2qJkrimXSP KfkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=DDExMQkc5LIPc2dcjd5l+MOzi7Nqgj/M5OGjjRB8Yc0=; b=M+QGy0ULR4CTO8BFHWcX9xnSIVc3+SdvxpjZKQ2v4WkFUcGAXdENi1zYxDke/a3QZE hheQXUslzksK7Vo5HVutOs+1DfruDsqWuHkAx1Pl+Fb5VyGdkzhIdWUfzLO5lUoW8eki 82yr88obhZ915z/SO8J7ztkzLzvzVQSUtIdB7zANOr0eEEY1fMye+U4QaUaLCllTNY/E bdFsq3B6lHzsrWWzgOIp6oTYyURWzCqohytHgY6/yf8SiT99CdVdR5SczR3WPzKMs8C2 WiwlCvbczpD8dNJVcKjdIiCFVefqBul/VAVaMOYULX0Ti+FN3kYBHrt9AQo7pKQVZl3m Z7Cg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m1si13391565ejj.198.2021.10.22.03.35.09; Fri, 22 Oct 2021 03:35:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232697AbhJVKfp (ORCPT + 99 others); Fri, 22 Oct 2021 06:35:45 -0400 Received: from foss.arm.com ([217.140.110.172]:52546 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232573AbhJVKfo (ORCPT ); Fri, 22 Oct 2021 06:35:44 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1C51D1063; Fri, 22 Oct 2021 03:33:26 -0700 (PDT) Received: from e113632-lin.cambridge.arm.com (e113632-lin.cambridge.arm.com [10.1.196.57]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B607C3F70D; Fri, 22 Oct 2021 03:33:24 -0700 (PDT) From: Valentin Schneider To: linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Will Deacon , Mark Rutland , Marc Zyngier , Thomas Gleixner , Sebastian Andrzej Siewior , Ard Biesheuvel Subject: [PATCH 0/3] irqchip/gic-v3-its: Fix LPI pending table handling vs PREEMPT_RT Date: Fri, 22 Oct 2021 11:33:04 +0100 Message-Id: <20211022103307.1711619-1-valentin.schneider@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi folks, This is my take at fixing [1]. Reading about the LPI tables situation was entertaining. Tested against kexec on an Ampere eMAG. Seems to be working fine atop 5.15-rc6. On the other hand, I can only issue one kexec from 5.15-rc6-rt12 - if I then issue another one on the new kernel, I get tasks hanging. That is true even without my patches and without CONFIG_PREEMPT_RT. [1]: http://lore.kernel.org/r/20210810134127.1394269-3-valentin.schneider@arm.com Cheers, Valentin Valentin Schneider (3): irqchip/gic-v3-its: Give the percpu rdist struct its own flags field irqchip/gic-v3-its: Postpone LPI pending table freeing and memreserve irqchip/gic-v3-its: Limit memreserve cpuhp state lifetime drivers/irqchip/irq-gic-v3-its.c | 108 ++++++++++++++++++++++++----- include/linux/irqchip/arm-gic-v3.h | 3 +- 2 files changed, 94 insertions(+), 17 deletions(-) -- 2.25.1