Revert "genirq: Increase the number of IRQ descriptors"

This commit is contained in:
zhoukaiqi 2023-11-25 18:37:05 +08:00
parent 63f9b3e7c8
commit 1976f23a32
3 changed files with 34 additions and 2 deletions

View File

@ -32,7 +32,7 @@
Name: kernel
Version: 4.19.90
Release: %{hulkrelease}.0250
Release: %{hulkrelease}.0251
Summary: Linux Kernel
License: GPLv2
URL: http://www.kernel.org/
@ -850,6 +850,9 @@ fi
%changelog
* Sat Nov 25 2023 Zhou Kaiqi <zhoukaiqi@huawei.com> - 4.19.90-2311.4.0.0251
- Revert "genirq: Increase the number of IRQ descriptors"
* Thu Nov 23 2023 Keyi Zhong <zhongkeyi1@huawei.com> - 4.19.90-2311.4.0.0250
- crypto: hisilicon - Add value profile support for kernel

View File

@ -0,0 +1,28 @@
From 2e456c7fce71969d073a549305ab17e10074ead8 Mon Sep 17 00:00:00 2001
From: zhoukaiqi <zhoukaiqi@huawei.com>
Date: Sat, 25 Nov 2023 18:17:12 +0800
Subject: [PATCH] Revert "genirq: Increase the number of IRQ descriptors"
This reverts commit e5a8fe52b7e6506767f457f34ed237ae16f1d73f.
Signed-off-by: zhoukaiqi <zhoukaiqi@huawei.com>
---
kernel/irq/internals.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h
index 176daa503ad5..f29d6982b3ce 100644
--- a/kernel/irq/internals.h
+++ b/kernel/irq/internals.h
@@ -12,7 +12,7 @@
#include <linux/sched/clock.h>
#ifdef CONFIG_SPARSE_IRQ
-# define IRQ_BITMAP_BITS (1 << 19)
+# define IRQ_BITMAP_BITS (NR_IRQS + 8196)
#else
# define IRQ_BITMAP_BITS NR_IRQS
#endif
--
2.27.0

View File

@ -756,4 +756,5 @@ patches/0752-scsi-hisi_sas-Check-usage-count-only-when-the-runtim.patch
patches/0753-scsi-hisi_sas_v3_hw-Don-t-use-PCI-helper-functions.patch
patches/0754-scsi-hisi_sas_v3_hw-Remove-extra-function-calls-for-.patch
patches/0755-config-arm64-Enable-dubugfs-config-of-hisi-sas.patch
patches/0756-crypto-hisilicon-Add-value-profile-support-for-kerne.patch
patches/0756-crypto-hisilicon-Add-value-profile-support-for-kerne.patch
patches/0757-Revert-genirq-Increase-the-number-of-IRQ-descriptors.patch