From nobody Fri Apr 3 20:54:57 2026 Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazon11012018.outbound.protection.outlook.com [52.101.66.18]) (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 B3AF91F3B8A; Mon, 23 Mar 2026 11:59:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.66.18 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774267184; cv=fail; b=JYc0WZxrtuPQwigaECkHE02mbDyCVByj8WhpDepyQ5lXcBB14zdglViWdmhElum7/Gu2T5OUhSusCx8EvbclRrdQVwhT4vsEPhcP9Kc50LNmxN63gt/rZ2OQv/ULEhGwJkD0gQHkT5zZywV7uf3DmKXimgY+3oDI9zXlteELupw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774267184; c=relaxed/simple; bh=fpY63K4uMKx9CuprrnlhMcdNs3dFbe238pJ4Ks8d2Ak=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=hqb42D3yci60Bg9rXblqMlldLyqT8hMydgK8KLBO1zwcCbk3sEbMQKZUqgKes6tqZsuNyAeddT+k7yCHNPJ1j2QQSZdUYER6Tu+5UCK7H2DfXr8DR4+KnD7f0RcezArK6XVTA7QgixPgOYWKRyzg9l2KNHVdIqiPKTbVwbhWGl8= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=hPSgUsCA; arc=fail smtp.client-ip=52.101.66.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="hPSgUsCA" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dv/bN8Jb1rRjRHwr8vXCv7BBdULxnJesZ+OjJU+nlk/qFfbwtdjgZUkLAE014kkGUt59g5NIbHHhPIgKTacko9Qrg+fg98D0d8+mVBurEDhtB8yIiTJfxplfJIuOvjn3Mm24JntL3ol0Qh8/eh4Uzs5DHsvBCANV3O3gz879cmxFqOroW0e8j/iiisnQtXGa17G3tF7BJ8HIyWYyZ6cMD649GjQEsK0XNh9BjkHvvLr5zEwYGOoO/myh5aDxcy/cg4CgjJO1SLutqMCXiQ4az4JsrqpHZz0J/u1fexodF30r1cf+EJnTgnXVsaYbuMSggmGgMNtP8kc9o154kJUVfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NPtDEvfBSXqH+bMuBdZOoTSjD4UD0yBV+k5ft1nM8Yk=; b=etXlvKSM0n5zt/cKfpHnRAD/O5eTB74YqO/haYlGVLU8TfIU18kMoopUe9GSO5Fant3qDZL7g42Wnzo0nWEWI6sUUFhhVw+YDhiXOScgkMaeo8RyGgBaIEJZB2+ACFALF58gnXe2gFj24NvOP2yQraIbN31RhYwExNt9lSjhrSs5O2refnZaYO5eC1eSCEn8OYes+5cEsXHZwaK1Py/ycDejBe1MoY+faxdAYdnY7t84conb8Rv2EgZnMHrIOyVSNS3Owz8mvNTpKv1kvZiX9Yvi3ZKCMjJG2uwCvmO0X/F2oKymIG6swqrLp0Yx0AUtXxo+1nzVUapIaGk/Sdpn/Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 164.130.1.59) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=foss.st.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=foss.st.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NPtDEvfBSXqH+bMuBdZOoTSjD4UD0yBV+k5ft1nM8Yk=; b=hPSgUsCAiuJ20kzW/37xxM1yI6f1CLEpzB0A/fS70WCV/2tclrJvkV7Ed4y7UMQSsz0xcsE0gUrF9WFpFGGdmD6zQzJz8T+qGS8NDEQuHbBQ5ua5fTedjeQxiHzEZet5cjeEf0YkB5806i9Z7hn/yV9JImC8txLG0V/tYxzEsYlFrbXpGk8LZkizCgreiGXIsyRcotJXmn2TRE4fg8tVeOboNDuUZVgMBEz9qy3qb4N3GnqeqeVlX1RGp+SMYFm0wCA14TsonyefnjoE6EpPU/TyGpRDMSyFDH/v9hR9mDzFZehVwJ2OOnop7Z92BOitDoYiehI5Tzf8oqHqxG4TBg== Received: from DB3PR08CA0030.eurprd08.prod.outlook.com (2603:10a6:8::43) by VI1PR10MB3519.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:800:142::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9700.21; Mon, 23 Mar 2026 11:59:38 +0000 Received: from DB1PEPF000509EB.eurprd03.prod.outlook.com (2603:10a6:8:0:cafe::44) by DB3PR08CA0030.outlook.office365.com (2603:10a6:8::43) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9723.29 via Frontend Transport; Mon, 23 Mar 2026 11:59:37 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 164.130.1.59) smtp.mailfrom=foss.st.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=foss.st.com; Received-SPF: Fail (protection.outlook.com: domain of foss.st.com does not designate 164.130.1.59 as permitted sender) receiver=protection.outlook.com; client-ip=164.130.1.59; helo=smtpO365.st.com; Received: from smtpO365.st.com (164.130.1.59) by DB1PEPF000509EB.mail.protection.outlook.com (10.167.242.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9723.19 via Frontend Transport; Mon, 23 Mar 2026 11:59:38 +0000 Received: from STKDAG1NODE2.st.com (10.75.128.133) by smtpo365.st.com (10.250.44.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Mon, 23 Mar 2026 13:02:27 +0100 Received: from localhost (10.130.77.120) by STKDAG1NODE2.st.com (10.75.128.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Mon, 23 Mar 2026 12:59:37 +0100 From: Christian Bruel Date: Mon, 23 Mar 2026 12:59:27 +0100 Subject: [PATCH v3 1/3] PCI: endpoint: pci-epf-test: Handle -ENOSPC in subrange_setup Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID: <20260323-skip-bar_subrange-tests-if-enospc-v3-1-4780f296a5b4@foss.st.com> References: <20260323-skip-bar_subrange-tests-if-enospc-v3-0-4780f296a5b4@foss.st.com> In-Reply-To: <20260323-skip-bar_subrange-tests-if-enospc-v3-0-4780f296a5b4@foss.st.com> To: Manivannan Sadhasivam , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , "Kishon Vijay Abraham I" , Shuah Khan , Bjorn Helgaas , Arnd Bergmann , Greg Kroah-Hartman , Koichiro Den , Niklas Cassel CC: , , , , "Christian Bruel" X-Mailer: b4 0.14.2 X-ClientProxiedBy: STKCAS1NODE1.st.com (10.75.128.134) To STKDAG1NODE2.st.com (10.75.128.133) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB1PEPF000509EB:EE_|VI1PR10MB3519:EE_ X-MS-Office365-Filtering-Correlation-Id: 096181c2-4ccd-4c0f-2959-08de88d3a899 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700016|1800799024|376014|7416014|18002099003|22082099003|56012099003; X-Microsoft-Antispam-Message-Info: CRVYAMo97GbV8iYniqEWH56kJsGrMs1jcYRuHyrovSmnv44xWUbgIO8olcfR4RAEmXq6OABcOlsSxo3TJozhe619ATbkl6t2MyoFb7MKyOP2uA9JbBwDFdNVmXcUyiTp2q/XwAxYme9rHMQfJd46NiQWwz+SnZIbNtyv+pjydUSh1jRZtPrsbeEju1L8BuGqog61hqSvFLRRYVUwnQXdkZRMsfm+zJB1XwmRXbT8k0Phvh7wNC5FXecaBd9usOLRdMOTnXMI+kdHZd0RiUXNmigj5sVY2oNRCZMexsYsOBKHh5lb9R4rYZn4ykrH6TSfb+06f/HmLuT1zJWmwlpgZ+eIY4QfPdR0DEzCmBYEYVaT6VFbVnIq/PBCUH6b2GHzAtKH9acQq04Qt/PFtq6/rv0Zge1Z9pF4nTva+Vf5rDGeyU1IyFXqStHzOv15hVvDHxgF/YyeyGiET/IuzFbKGcRnGW6vvLWbb8oj1DS2tBMdMFkeeGzNdjRPBvxKPt9u4sQI1oKN3eEX03MRheDcVTLi5eiH4OfCooUvf0Ee06eAIcyrjOcya0RNb8m/fEsA0ZAXhHRQhFcmy2W79u4Zrgs1IZo/6N8nO/z7VvwAnoa8v6U7woINbtwu338sdaIr0Z7HBxwYiVjeTFvLnOO5ZPegdFh6AZcLWquEkcD/xU4Kb0XTksFrwAGg39im0tu5sUpdsrcH//78vqjqnVnhiQDied3tqnBtlRdSjENQIkTxOzqlv55uZQL+h4EBVKDEgoQw3G2qXWMX8L2oRWUXyQ== X-Forefront-Antispam-Report: CIP:164.130.1.59;CTRY:IT;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:smtpO365.st.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(36860700016)(1800799024)(376014)(7416014)(18002099003)(22082099003)(56012099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OwSVz/0nqyz9HYv/BKgG7TaRT5vFxi8S5aU8ogLgpAh/RWbOZ68dxLqXWYbgX12TH0UYhd688rSc1Vvy2OT5d7YXiCzmIDT9KLXAem6Z+HB0a2XrAyz3Gs91VxmeIOTZnQtq4OLx5Pxf6hGwbL5IIro49IOe29bXea6y7yenAt6Z9ezOJHpfpRmIwwaWAIf1hnu/L7CyrFze81/dafWUJuHnh4EqWS49Ot/0HrJmY6SdLdYt1tPqXsSqN6vViyjw+8Es6wEreRo5XABdNtimAPzGuGsvqTJbclfUFCQ4jGMOz669bCtmpXgjy7FRHop0lzo9307NXqRvLxMcLaEJJM4mrNWBnGy7IlYomc3uNQ7O5G+MWgf37+nmYEzOIfQypni29Wnuf8efMUk2J8XUTWn2Reh/P4y3IINc5FNbJDsYOUh+lzdhs9I8sA01GvFH X-OriginatorOrg: foss.st.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2026 11:59:38.0139 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 096181c2-4ccd-4c0f-2959-08de88d3a899 X-MS-Exchange-CrossTenant-Id: 75e027c9-20d5-47d5-b82f-77d7cd041e8f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=75e027c9-20d5-47d5-b82f-77d7cd041e8f;Ip=[164.130.1.59];Helo=[smtpO365.st.com] X-MS-Exchange-CrossTenant-AuthSource: DB1PEPF000509EB.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR10MB3519 Set the STATUS_NO_RESOURCE status bit on pci_epc_set_bar() -ENOSPC. Here this is used to indicate there are not enough inbound window resources to allocate the subrange. Signed-off-by: Christian Bruel Reviewed-by: Niklas Cassel Reviewed-by: Frank Li Reviewed-by: Koichiro Den --- drivers/pci/endpoint/functions/pci-epf-test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/pci/endpoint/functions/pci-epf-test.c b/drivers/pci/en= dpoint/functions/pci-epf-test.c index 06bf53b28fb7ae2244a6d82bd5fe76d40db830b7..591d301fa89d89addf5df16e775= e80460b689589 100644 --- a/drivers/pci/endpoint/functions/pci-epf-test.c +++ b/drivers/pci/endpoint/functions/pci-epf-test.c @@ -54,6 +54,7 @@ #define STATUS_BAR_SUBRANGE_SETUP_FAIL BIT(15) #define STATUS_BAR_SUBRANGE_CLEAR_SUCCESS BIT(16) #define STATUS_BAR_SUBRANGE_CLEAR_FAIL BIT(17) +#define STATUS_NO_RESOURCE BIT(18) =20 #define FLAG_USE_DMA BIT(0) =20 @@ -901,6 +902,8 @@ static void pci_epf_test_bar_subrange_setup(struct pci_= epf_test *epf_test, ret =3D pci_epc_set_bar(epc, epf->func_no, epf->vfunc_no, bar); if (ret) { dev_err(&epf->dev, "pci_epc_set_bar() failed: %d\n", ret); + if (ret =3D=3D -ENOSPC) + status |=3D STATUS_NO_RESOURCE; bar->submap =3D old_submap; bar->num_submap =3D old_nsub; ret =3D pci_epc_set_bar(epc, epf->func_no, epf->vfunc_no, bar); --=20 2.34.1 From nobody Fri Apr 3 20:54:57 2026 Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011016.outbound.protection.outlook.com [52.101.70.16]) (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 32E6C39936F; Mon, 23 Mar 2026 11:59:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.16 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774267185; cv=fail; b=ZXVzWJkBeqPIuRm3yxy8EraZUg9eIb1yh8Jt22LJn7zKEnaEjKO7A/IzPxyGq9KX9kxADwvbj19b0khh6WHGxACi5I1fXmVD4BPQYMXIKf8p5xGkTlikfn20i9nwyVPQC5REOxPIIu0jl5W07IzXct5dEomRbBfAGdHV46mpPD8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774267185; c=relaxed/simple; bh=pGNVq02HR97IcwDe8FlrTLsiGl4iiuywuz2eh+y4kmQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=is6HRfybQmON821GyvPcWK1/3B8CS+LOE1uLmyrjhqGfEjkhJHQfMN/Zv6oofB+pXzmvbbZk35oxnJm62T/euR2/KJO7Bjzjtbs/MguL355hOYYXlPqLbbbyelEBRg86+p0IJEly6KaBrMdTPBEi22Ubj6iXpexefv1VPCTgd/A= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=OxmnrLGf; arc=fail smtp.client-ip=52.101.70.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="OxmnrLGf" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=fyrWNLtfkOYUdLWInBYyHuU0kvBfJ3E96q6puyh55tIeaTKkWM+AFOhuLN4MKn14MczcM2XMxSFOelW6SUkg+rKK/Fm4QPQMwbyRhJ3wo0Cr1o9G+te8pFG646QOkdCv0v77ymZtkwt97mIK6wdUYaJnRi9TRPdmiT/NRIhlQDOO8UTCOwHL/FXr2Y4eiKiJp04yHSvzupyAJo0/5af4+a+Esdx/YlJPZijKqVCTINmJEpL66wGx5dINeSjMQs6s7F0ooUs8R5Zdt8IEayhkTjZda4afIJyHR9BLAPdeEv6zKEH5RQNt12JZDRX8Ll4GWl2HrSIl2jizWT3JtWgRjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JYZxn51a+vJEys55ib6MJZfRs0xzWZgrjU1UU/VWm2E=; b=Xwe6VsP6psVdbx/m/Fh49JwHk1GvOtieAmzXnDZ9YtS5GDbJA+634psKF+80S7ihH1h9gugMC5ivJnFoMwsK1iajaZshdZfBIR2U/xzUfW5BwSx8ucscYludcTqB5CXftSVze4wewqxmEFhUyABviZJJX2gDY/rzhMKu0+9dLf4Bp9f1ZB9B2SRw+23RmAZ3VSEpwYsK1wx/UICVjbHeISuaT9hBuHcgpWfbDOjodlRVnovQfwDR+Dyk8hXiE3gLkqj+B8KUT7S7Geu8zdKeCTaA/xfP4ZgAqMDeF8GuneaMVUIfEGzwrneJU6P8wNaHOB53m6jc0hZnl3ST9Vk6Fg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 164.130.1.60) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=foss.st.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=foss.st.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JYZxn51a+vJEys55ib6MJZfRs0xzWZgrjU1UU/VWm2E=; b=OxmnrLGfjZ/iFp8w6wwNYuTI7mb8tn54CorkVKW8WY7xWOf1GbRZnH5MuIbtJmcXk9eIdLueorg8Tm/Wim7OGrC5Snld9usSFLB7/q1bdiN7RADCbbj5dhf1elx/3UFY0OTrX31Z5jzZkPS8odwpbRUz3ME1kxtNwktQn2qo7zJHz7bgX9LNn4UgHZydb462fyDXBz9m/WZZicj6LJmKh5wSRU4JO34p32I6kQg3Ow4toHTo8tAGZxsWpMij0FHaVHy7tlwlFMK4K1L5E/y11X+5gEMcJky3rcf6HKjjkY4JEbss0rkm06gsLLIFI/z5zCi8jMgT2p4MO7CPaFmk4w== Received: from DUZPR01CA0285.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b7::23) by AM7PR10MB3557.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:131::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9723.25; Mon, 23 Mar 2026 11:59:39 +0000 Received: from DB5PEPF00014B89.eurprd02.prod.outlook.com (2603:10a6:10:4b7:cafe::9d) by DUZPR01CA0285.outlook.office365.com (2603:10a6:10:4b7::23) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9723.31 via Frontend Transport; Mon, 23 Mar 2026 11:59:39 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 164.130.1.60) smtp.mailfrom=foss.st.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=foss.st.com; Received-SPF: Fail (protection.outlook.com: domain of foss.st.com does not designate 164.130.1.60 as permitted sender) receiver=protection.outlook.com; client-ip=164.130.1.60; helo=smtpO365.st.com; Received: from smtpO365.st.com (164.130.1.60) by DB5PEPF00014B89.mail.protection.outlook.com (10.167.8.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9723.19 via Frontend Transport; Mon, 23 Mar 2026 11:59:38 +0000 Received: from STKDAG1NODE2.st.com (10.75.128.133) by smtpO365.st.com (10.250.44.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Mon, 23 Mar 2026 13:02:14 +0100 Received: from localhost (10.130.77.120) by STKDAG1NODE2.st.com (10.75.128.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Mon, 23 Mar 2026 12:59:37 +0100 From: Christian Bruel Date: Mon, 23 Mar 2026 12:59:28 +0100 Subject: [PATCH v3 2/3] misc: pci_endpoint_test: Handle -ENOSPC in subrange mapping test case Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID: <20260323-skip-bar_subrange-tests-if-enospc-v3-2-4780f296a5b4@foss.st.com> References: <20260323-skip-bar_subrange-tests-if-enospc-v3-0-4780f296a5b4@foss.st.com> In-Reply-To: <20260323-skip-bar_subrange-tests-if-enospc-v3-0-4780f296a5b4@foss.st.com> To: Manivannan Sadhasivam , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , "Kishon Vijay Abraham I" , Shuah Khan , Bjorn Helgaas , Arnd Bergmann , Greg Kroah-Hartman , Koichiro Den , Niklas Cassel CC: , , , , "Christian Bruel" X-Mailer: b4 0.14.2 X-ClientProxiedBy: STKCAS1NODE1.st.com (10.75.128.134) To STKDAG1NODE2.st.com (10.75.128.133) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB5PEPF00014B89:EE_|AM7PR10MB3557:EE_ X-MS-Office365-Filtering-Correlation-Id: eeca6240-5815-4254-d443-08de88d3a8f9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700016|7416014|376014|82310400026|1800799024|22082099003|18002099003|56012099003; X-Microsoft-Antispam-Message-Info: c1HlU0bJYDE2R8UhNr47zXrcZhhxiEAwVD060uO2MOMlCiM8Ao39WlnM2KLCfA4Vt9UUhHH1QeLLOgVa4nGrphmogFZKSCPdRRFXduGcdmQy/l+omlO/vNP3wsHQ0/KZdX3XwkUMZFDOyoYWnMPcxzRQuVTY+OfzgSqga/I4qARHehae0mJD2RfmCOeqD4QKC2SnAI9aQ2musIgBOoBB16r9JMn/0N3NO5zVlileGbWbIDMnPhW3QTzeqL0TJep9dRt3BIT9Yo+/jd1D/+fUXPxUN5ju373snGLOwFcBtKL0sVlUhaTsqmPgyFmhG1gh6dolqVSHSzDS42UX8Utjy9FKEfIfWHsCc3QYBgpR7nRXYFxqNWHrtHHltMv40dN1Jp3eoDu8OtJrVCINcEMkFMGHiTnZSkoU5xYSMRGsm1p7W5gc+6TmrLkDjHbrZ0QBBxWEj5IyEXd1F3DeUzG5HbrBA+CxFNBKOAZXLjWqZNUFxOAYpDvv3Tcn0Ef/ptWt0chRwaPcjQJ/B+TSHr4KwZVWZSJyo5wRTAnAdl+uSMSIm+7FQgk61mnWaviHLHJrzBNzjjDlpPq+Ttsoxh7Yl1OPFAgQj4VAfXj+Bl4MwqXIf8B0IRFGICZkHUbg0Q52JZA/0+I+CJcqk+TMyKqjVStcvbiqumCAlRNv1vIQkD1ht/VNqBIq5byVLpGuDJY7BivE54lq1xcFzus6V0Dij6e0NL07xhDqv+8x2s1MWDGnb+ucxK4pXWawwkHz6DdtQWuF27tV3iWa/rox7H55fw== X-Forefront-Antispam-Report: CIP:164.130.1.60;CTRY:IT;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:smtpO365.st.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700016)(7416014)(376014)(82310400026)(1800799024)(22082099003)(18002099003)(56012099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: UYH03HBzist16+BNXY5PI9WTtBqHNVW1XEJJ8ra0OJ3kYpPI3R4AHqE/2ieH66NFcL4KbRAaRkFW3wmnf0vkvD8+aM6vaAUjzv9rrNpQNc1bR/17NEzfOElrYinkwFWFOkx6IfxrkOLcsOkHOCX9ergWfXXd9ooFBuo/MpHuErK9S2EgMi3VH1/zXiR/IYmXxjZ98XxTrrhRgcWr9/aCwR6AgzPuRrHDwJVNPDfExmP0nkDygBI0nBulvKcirmXB5XcNSc0kyFlgUfsGZem6pYe9zXS5+thRO7Dti2MCYk8r7rfL6JBZzu1/ns3uDKU16CShYsseVfGI66Hoqlx7zcgFYM1jAOrm8mKY30zY8nLAZn9UG5LPus+uxsBfmymtmHlXgb+WtYhgNW+dm96Bvd7dOA7b5q/O1Lurb4SbgNonOtRy+mlzhI72oNhF95PC X-OriginatorOrg: foss.st.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2026 11:59:38.6507 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eeca6240-5815-4254-d443-08de88d3a8f9 X-MS-Exchange-CrossTenant-Id: 75e027c9-20d5-47d5-b82f-77d7cd041e8f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=75e027c9-20d5-47d5-b82f-77d7cd041e8f;Ip=[164.130.1.60];Helo=[smtpO365.st.com] X-MS-Exchange-CrossTenant-AuthSource: DB5PEPF00014B89.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR10MB3557 Return -ENOSPC when the status reports the STATUS_NO_RESOURCE bit. This signifies to the pci_endpoint test to skip this test. Signed-off-by: Christian Bruel Reviewed-by: Niklas Cassel Reviewed-by: Frank Li Reviewed-by: Koichiro Den --- drivers/misc/pci_endpoint_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_t= est.c index 55e128ed82f00ae13b6fe9768cdbe56adbe8f9da..202196adf8ad84106ab3cf72016= fa791a74697ee 100644 --- a/drivers/misc/pci_endpoint_test.c +++ b/drivers/misc/pci_endpoint_test.c @@ -61,6 +61,7 @@ #define STATUS_BAR_SUBRANGE_SETUP_FAIL BIT(15) #define STATUS_BAR_SUBRANGE_CLEAR_SUCCESS BIT(16) #define STATUS_BAR_SUBRANGE_CLEAR_FAIL BIT(17) +#define STATUS_NO_RESOURCE BIT(18) =20 #define PCI_ENDPOINT_TEST_LOWER_SRC_ADDR 0x0c #define PCI_ENDPOINT_TEST_UPPER_SRC_ADDR 0x10 @@ -477,7 +478,7 @@ static int pci_endpoint_test_bar_subrange_cmd(struct pc= i_endpoint_test *test, =20 status =3D pci_endpoint_test_readl(test, PCI_ENDPOINT_TEST_STATUS); if (status & fail_bit) - return -EIO; + return (status & STATUS_NO_RESOURCE) ? -ENOSPC : -EIO; =20 if (!(status & ok_bit)) return -EIO; --=20 2.34.1 From nobody Fri Apr 3 20:54:57 2026 Received: from GVXPR05CU001.outbound.protection.outlook.com (mail-swedencentralazon11013071.outbound.protection.outlook.com [52.101.83.71]) (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 2207B399360; Mon, 23 Mar 2026 11:59:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.83.71 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774267185; cv=fail; b=YCemhjYZWnIIt+eiyrvU7y+uK0NBCGedUKLj3mXPSmBlWFod3+rUq3hL6qg0qIK2ME99rBVNyhm9GeODmoP4y0QXRMs6a+1EiIhs1+uAgLPg8O0EG6ChPBMcED/G0HpWtqxY3bW9IBQZw5Z70XTXbNMmhpdncMeYupmkYcafttU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774267185; c=relaxed/simple; bh=6aowieZyYBnVTnWF/pZEoxihoHA0VuqIICoDGPf4FTs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=PuX8Z2TMCW8UYOOyoAtVL1KwlpBp0x1L3ABAIQIw53u2gVFXbOzQs3I/lXbJhsz3lWP33IEIbhN3nOQat/gFgaj8KLsN59ZImJoLlKtRZHvHZcf/SHcEKYwzSAjhbIZ6ToGuG6IDwglRSBzCDGJXwIMpZXZpU2FC/BpiiBee3NU= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=YwklkKe0; arc=fail smtp.client-ip=52.101.83.71 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="YwklkKe0" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Xu6gRkg6RYDew2rA6KaCL7gg5LPjsxFLKXd3l2gM2o7NPcf6sUe91FbQP9qP6YKZD3oyKV9mkcgW6kmzkncUaMMNzv0xVdjIHIr8DO5oLR5ju/ER6xvgIglfqaW1/TNvAaHpKAlGNsWoXWxBcZDXxQwYK09+A5PcD1ubGYUcuOxH0fvCr+MrcvdwRHIztd+BpCh+EXEfG/xVjYMtZG8aSSSIePZ4PZrsZykyl+gTo9H4PO+W//P1ts85/crQcRy37fJqTQTSuEQ1eqJ1RXAkG8S6E4PgZQA6VVlbFZ2x7BZbFw3JIVNripxFPThneGW9lLAFVPPLW2Z/9/PHqriZSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nATN6TRrfxuEHgRo97QVpVV/k6nxL3BFoyDwG4a3IX0=; b=dgboCatvnUVzAv8ymln0GMCHqq5PHJkK8p1bgKuWW7ivh8H8m8GaO1ttVvjMny59nBlYDdZ1IfXfh4vqE7gJQquFFxPbxIN/wdHYcm511b+RaXZPV72phMUr+eFrmEhAHv07YtziTf5ZUbpLQGdZYCEVbkZH1M3Qs9klI3iqWODvqLLqPJhRFxXY7/2YqPigvubfsWn2zn6lR1L1iUq/ASW4IWDR5bQYfNVf/WwXiMpKLNj8Dvae5eNcVD2Ps8qxZrlEy1DrjYryBrb0nPFnI4tbazzZd3DcstV6BRSa1MwGTXZmBziUJgQLYwjDhMeU7k2EOT2/XFXrvDEFDEIJ/A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 164.130.1.59) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=foss.st.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=foss.st.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nATN6TRrfxuEHgRo97QVpVV/k6nxL3BFoyDwG4a3IX0=; b=YwklkKe08WhaXDilc2U7JDZimYI+mWAVcXQwbQmXXsj868eOYSVOZINV3lyavY5YinVBa8Q+0UrASSqX1tsfmqu4gygClZ7FyS7RHUa5jg+HV87SsUaJR97kFt5DAdQQel1OHexHkZPYc6kE3+I4iXpWKjzJH2Q10tqnbgAD+GSKF2Mb09c6OrCKhmMnD6jNuZG8V4+eAP9sdm/tbSzLG4r9YZGw/T9y1odqTRzNHrI/BMbL9kHrIFqiCNG+k6oZ/aMwptaTuFAvipmecQwpsF2wD2gtMU4WFx/OZ9xzFDdJU7VRHkpS4rhP2Ar2fATb3Ploi2rFHFu1xn8kda+C7Q== Received: from DB3PR08CA0036.eurprd08.prod.outlook.com (2603:10a6:8::49) by AS2PR10MB7430.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:595::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9723.19; Mon, 23 Mar 2026 11:59:39 +0000 Received: from DB1PEPF000509EB.eurprd03.prod.outlook.com (2603:10a6:8:0:cafe::47) by DB3PR08CA0036.outlook.office365.com (2603:10a6:8::49) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9723.31 via Frontend Transport; Mon, 23 Mar 2026 11:59:41 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 164.130.1.59) smtp.mailfrom=foss.st.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=foss.st.com; Received-SPF: Fail (protection.outlook.com: domain of foss.st.com does not designate 164.130.1.59 as permitted sender) receiver=protection.outlook.com; client-ip=164.130.1.59; helo=smtpO365.st.com; Received: from smtpO365.st.com (164.130.1.59) by DB1PEPF000509EB.mail.protection.outlook.com (10.167.242.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9723.19 via Frontend Transport; Mon, 23 Mar 2026 11:59:38 +0000 Received: from STKDAG1NODE2.st.com (10.75.128.133) by smtpo365.st.com (10.250.44.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Mon, 23 Mar 2026 13:02:28 +0100 Received: from localhost (10.130.77.120) by STKDAG1NODE2.st.com (10.75.128.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Mon, 23 Mar 2026 12:59:38 +0100 From: Christian Bruel Date: Mon, 23 Mar 2026 12:59:29 +0100 Subject: [PATCH v3 3/3] selftests: pci_endpoint: Skip BAR subrange test on -ENOSPC Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID: <20260323-skip-bar_subrange-tests-if-enospc-v3-3-4780f296a5b4@foss.st.com> References: <20260323-skip-bar_subrange-tests-if-enospc-v3-0-4780f296a5b4@foss.st.com> In-Reply-To: <20260323-skip-bar_subrange-tests-if-enospc-v3-0-4780f296a5b4@foss.st.com> To: Manivannan Sadhasivam , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , "Kishon Vijay Abraham I" , Shuah Khan , Bjorn Helgaas , Arnd Bergmann , Greg Kroah-Hartman , Koichiro Den , Niklas Cassel CC: , , , , "Christian Bruel" X-Mailer: b4 0.14.2 X-ClientProxiedBy: STKCAS1NODE1.st.com (10.75.128.134) To STKDAG1NODE2.st.com (10.75.128.133) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB1PEPF000509EB:EE_|AS2PR10MB7430:EE_ X-MS-Office365-Filtering-Correlation-Id: 1f4297c8-bc4d-4799-a544-08de88d3a92a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|376014|7416014|36860700016|1800799024|56012099003|18002099003|22082099003; X-Microsoft-Antispam-Message-Info: 4kWOkLVW+G62vwEqC4JBXJ3KQa8vE5IFSlXqqJkNVqSRViokdc7ZTuEP2n20UJGrNl3gC/0nzpR2OcDbXqkk4Txm6ueZtlVwGZx3f+uzMRMbMZC9h5gsOAsjIFZ/Uog6QmEC/2307Smm4MY1O7Y53C+V1lhnAxm0SDO5Cmv99ZymQr38+9nC4nifGdAyxBMaRe3Wwa2WOAJxq3LbUbQHm653+pl9VMSqTgvuh8i84V6FblJmsRlAJqhjb2m3PyK0uHXwis+MmBx2sCm7bgooKIZseQh+xtfixPW6iHyCRrDyLiEDqAHYSsTO93XB6CP6EcSWiEeAjrBOH1kz+fuLxWcUOtDFQ7WkHkdvUKMTgtAvIo1xlCFar/IdRDFcKT8PTwUno4gOYO2yRy1C7Am7P7Q42JXS4g+r4aimfc7ENKpDI0rSWLBbwJ25WwxRtykFGzvZs28BOiyJsgH2UgHeBY3QoAeWM2OU6t6y6lUKCViPE9o7OD39+2CWSq0BfNHYauDsZz033HfMFZnnEAscayt9uppm+eZuyFqRnMfz/w9p8NEEAYeSUOcZdnu17VBG/XoEl76LjPMFtCGdZr/CCM9ujj/+mSPyv895c/L0TBvs2f/tEv/eJf1yyTF/GN9kMcHUDUVcvzD5n5RUm1swpsWluVYFWIaF02fW0IMYpNLhGrX4/C2WsBJrcuKT/S32ZECounNsCMzGoL0TbZniaOO4LP4mEqCsocQWzkyO/zOO6nfGZho8fJMsswtF85/E9iQCZQSdywhST3B6/rRjhA== X-Forefront-Antispam-Report: CIP:164.130.1.59;CTRY:IT;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:smtpO365.st.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(376014)(7416014)(36860700016)(1800799024)(56012099003)(18002099003)(22082099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: XeP75/Q6qfDHABhb3mz/B7jrxH0fEd5CRglmRioPGOnntWx7VeHQEB9swCcDlTfb19D5KoecuT427UsKeGIgGSfl9/F/bmiKuWJC/7FKcqJe/1pzT1Z7at1JVhPI/JNDBeZxNC7OWYUpsSQMkWy3d98tcR6spF8vKR6s0YcsAkp9cqY1L66FDi1M7sAb2Z3CZxwHIA4Hx3HRvgEKaIK21jbl6dWLsHToHZeOGXuG5jEdzLmH4crEyZgjpyydwrhghx5uY+FdvN8h0GzdbZnpB6+t/cGRRXXbVKaRY2XcIqX+eIKMqZyQtXXmTug77hOdsyz1sUt4eekeVk5f0geWWXrZ6kqUS9g1+5q46oaKC0tZ8HSphfThaTP+XDFj5MYZBZEu0ZNrt501kp6+3XMmYjcAp1i3FoC4mAeUtKUKDmRmd7qHcEFUrgWyT8p7sPnX X-OriginatorOrg: foss.st.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2026 11:59:38.9635 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1f4297c8-bc4d-4799-a544-08de88d3a92a X-MS-Exchange-CrossTenant-Id: 75e027c9-20d5-47d5-b82f-77d7cd041e8f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=75e027c9-20d5-47d5-b82f-77d7cd041e8f;Ip=[164.130.1.59];Helo=[smtpO365.st.com] X-MS-Exchange-CrossTenant-AuthSource: DB1PEPF000509EB.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR10MB7430 Handle -ENOSPC error. Skip the test if the number of available inbound windows is insufficient to map the subrange. Signed-off-by: Christian Bruel Reviewed-by: Niklas Cassel Reviewed-by: Frank Li Reviewed-by: Koichiro Den --- tools/testing/selftests/pci_endpoint/pci_endpoint_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/selftests/pci_endpoint/pci_endpoint_test.c b/too= ls/testing/selftests/pci_endpoint/pci_endpoint_test.c index c417fb3a198b2d92c3060938c23807cc8bea5573..588d75c97ad181d2f8e84c9b86b= 865439152e20d 100644 --- a/tools/testing/selftests/pci_endpoint/pci_endpoint_test.c +++ b/tools/testing/selftests/pci_endpoint/pci_endpoint_test.c @@ -88,6 +88,8 @@ TEST_F(pci_ep_bar, BAR_SUBRANGE_TEST) SKIP(return, "Subrange map is not supported"); if (ret =3D=3D -ENOBUFS) SKIP(return, "BAR is reserved"); + if (ret =3D=3D -ENOSPC) + SKIP(return, "Not enough inbound windows"); EXPECT_FALSE(ret) TH_LOG("Test failed for BAR%d", variant->barno); } =20 --=20 2.34.1