On Fri, 15 Jan 2021 19:30:38 -0000
GitLab Bridge on behalf of sharkcz <cki-gitlab(a)redhat.com> wrote:
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan(a)danny.cz>
Signed-off-by: Dan Horák <dan(a)danny.cz>
CC: Philipp Rudo <prudo(a)redhat.com>
CC: Steve Best <sbest(a)redhat.com>
---
redhat/configs/common/generic/s390x/CONFIG_PCI_NR_FUNCTIONS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/redhat/configs/common/generic/s390x/CONFIG_PCI_NR_FUNCTIONS
b/redhat/configs/common/generic/s390x/CONFIG_PCI_NR_FUNCTIONS
index 5d60ce18485b..3855e841797f 100644
--- a/redhat/configs/common/generic/s390x/CONFIG_PCI_NR_FUNCTIONS
+++ b/redhat/configs/common/generic/s390x/CONFIG_PCI_NR_FUNCTIONS
@@ -1 +1 @@
-CONFIG_PCI_NR_FUNCTIONS=64
+CONFIG_PCI_NR_FUNCTIONS=512
CONFIG_PCI_NR_FUNCTIONS limits the number of PCI functions the kernel
can handle on s390. In some situations (e.g. with the ROCE Express
adapter in z15) the number of available functions can easily exceed the
the current maximum. Thus increase the limit to 512, which is also the
default upstream.
@Ondrej: Hope that's sufficient for motivation.
@Dan: Thanks for taking care of this.
Acked-by: Philipp Rudo <prudo(a)redhat.com>