From patchwork Wed Jun 28 04:19:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mario Limonciello X-Patchwork-Id: 1800856 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=fwts-devel-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amd.com header.i=@amd.com header.a=rsa-sha256 header.s=selector1 header.b=qWs7SyUX; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QrVYm5JRLz20bH for ; Wed, 28 Jun 2023 15:31:23 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1qENlq-0001Tm-9X; Wed, 28 Jun 2023 05:31:14 +0000 Received: from mail-dm3nam02on2064.outbound.protection.outlook.com ([40.107.95.64] helo=NAM02-DM3-obe.outbound.protection.outlook.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1qEMeG-00052W-Pq for fwts-devel@lists.ubuntu.com; Wed, 28 Jun 2023 04:19:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RZjVEzikbyVZ/c+4askQhVd3Z+LzjMqdZkL5auFqhZHsmxmVM+UtX53fJkOfT0xT7LZXi9qRI8us2Kf3FnujA8dPPoboHqf5LqT2lMrsA8GxWrFSN0jMhwzM5zaiQOgK/z1FwbijehJK7Mp8P1CAImQ6gMaYigmWGRO0z4vIBE1uj9vBB0f/el2N73RSWTsHU3g1BZqqmMcRaSVuseDmVyZDHOIcZdwzBqWqEEEanblm+hhIMgxnROUHOhAm0NYeJ2nxxoOVC4tarMSlkmBH1wbSltLc5HEVkb0rMUPZOHgHCRnz3tXkS5+R8szehJGOhb01pko9NANYbLKDNX8Otg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=WfWQ9js+HTcqOSjd+JlSQ+/LI3Q2iDNTIOll9jAAzJo=; b=ZQYuSk7rwXhv9LdYELyLEY8Aml4ghw1DX62liCbl+MYuUjfNf+L+54g6LrY8Qxh1d4rTc6din8sqoStJ3DruZPOnwu4zVZQ1MLT0NgZCGP/yk3DrDVksAJKCR+JPiyHwQML2QvBQPZAEpo0aGc+7k8NNx9ZLsfE2XGG9z5KnsSak3Xre9pVUFa7zKu1i86pp548uAmvZuKbcUVmFc4H8JY2eRBCKn+5EsAPAO2SWL9iRSBNrsWrYjxtGFJnPWtibNS9QE5PgsIKUZrIszchYSdpPJdOKp1sPTl4Yvnuczcj6ss64Bl2RZSxQxhGqf4kzVGKInF4xb7PWlhCo7FsfKg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WfWQ9js+HTcqOSjd+JlSQ+/LI3Q2iDNTIOll9jAAzJo=; b=qWs7SyUXPPKkc6yjIVBOZjWAIpL+Ppo6tFLUiJWtl70C+TFiCQtDQ84J3NJ5CK8Zd6GJxZQeem3GS91mQTt+0FiDyt3BFR7itHzaWOHw/CNKzt+57Jr3lj0ujNx45F/vDBP0xA9yRPmAlUpTFHj9+KP62KyYkBg61KxEW2MV0Rk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) by DM4PR12MB6495.namprd12.prod.outlook.com (2603:10b6:8:bc::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6544.15; Wed, 28 Jun 2023 04:19:16 +0000 Received: from MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::dfcf:f53c:c778:6f70]) by MN0PR12MB6101.namprd12.prod.outlook.com ([fe80::dfcf:f53c:c778:6f70%5]) with mapi id 15.20.6521.026; Wed, 28 Jun 2023 04:19:15 +0000 Message-ID: <3eadfe7d-9e95-ca8b-7541-6d4b90870f8a@amd.com> Date: Tue, 27 Jun 2023 23:19:12 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Content-Language: en-US To: fwts-devel@lists.ubuntu.com From: Mario Limonciello Subject: Increase number of max semaphores to fix OOM crashes on some systems X-ClientProxiedBy: DM6PR13CA0058.namprd13.prod.outlook.com (2603:10b6:5:134::35) To MN0PR12MB6101.namprd12.prod.outlook.com (2603:10b6:208:3cb::10) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN0PR12MB6101:EE_|DM4PR12MB6495:EE_ X-MS-Office365-Filtering-Correlation-Id: f5cc3ad5-9e05-43a2-bda5-08db778ed54c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oUDi2X7yEBQu5YQkVDYBvoT9ERcuAqt4vLKrKG5uYGu5NZH36/l3udwKfXnGR6XnE47axvfddpLLq7y1KJXKj0CMpW2augQYmp8hAtn9w+E1YglhZ1xppPyu1EYX4YPwYHrD0qCuslVE+MtGxLGIhdHz5hYiLaGJ8Z9DYhjS4XdIqrSbcN7xlrEx4K3o8/OU1/TLte1vUFQY+KfzOUD7lr0A+JEW2QO704DCY0OdTVaFE2erKhoxq2TM17DxBUhCpiXNScA4TrEMoUlRK9+udojb6FiwHm2ZgVFQu7rN/mmk3To/RJcaCmb67tyt2IBFLnbsP2Mve/hfZ8J4+W5Wn+qW8MtMc7FkSDZ5n+NkIIZPON4GYDUh9tn3eoVCs1GUee2ao7IyxKss3TF4v8w1CzYr4AThVkJjqvdYWOSJXnt3HVxYHVBJxIhEG3RZfF7G5j36MSAtaNAaG5ElmNuqyjhUjofZr9FZdEWaPqhOp+ON2X+EDtM0e+bQG+Mgy4k+gts4TLde1wiAOi9m4GJOes50BJj+TUyjN4oqEUpk+ybx3Qc6ubFdaLLPZCDSkmrrA6t6/ngUfCBoLlw4vdSh7LbhqA5tVx/ITzk4YC97iy+Bd29HDZMOO49UzuRQ8f8lkuUeg7QudxUxuHggDtWv4SBNAuQqPirCPaHetnZPug96UYGEFEUkT4wf1ZFj/abP X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN0PR12MB6101.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(376002)(366004)(136003)(39860400002)(346002)(396003)(451199021)(5660300002)(478600001)(316002)(8676002)(8936002)(41300700001)(966005)(6486002)(186003)(6512007)(6506007)(66476007)(66556008)(31686004)(6916009)(6666004)(66946007)(44832011)(31696002)(2906002)(86362001)(83380400001)(2616005)(38100700002)(36756003)(4744005)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?CM3L28nW0UeJGVdud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rPurF+AKW?= =?utf-8?q?XlzuK4dWmA/YNnKBGvr/0dqfyCdLUN/sw4vTCoS6Xa5QyvhqpQUfVQe2ugWDev7b5?= =?utf-8?q?SQzJtsyB1prhXhG6ChkZ0pY6JmvzVtQwlhavRzC/aAQkIdZS2dGS7B6iaOWfgGUB+?= =?utf-8?q?YkaksgfkiC/c8zrWssdACVaLs1JtzLwA8Acd40rLEfCRKGXJ0SWMDhMMR8iNPxCrj?= =?utf-8?q?aGwSx6wbY/5e5Rqt/TKfEQMXp4SXigKHUTP9PLMKTltX4I8JInDPC+YOKkLzyy+ri?= =?utf-8?q?cy6Z7WhhKDJ3pDdsNBySoGP41FmlWRheCne0RfiW1GoUnHJC7B98UfOGQuXhs+Mb3?= =?utf-8?q?ZZ3t7pZblDIayP8zqKgqyGksSlPFi8GJcuP7SMEG3gMuJRhZK85QrJgK1723sVpSC?= =?utf-8?q?JwZyWdf5RU++bCEM31y533rsXHbWD+j9dH9phT8wf0unVPObc9JbGPN+JGAqnle1S?= =?utf-8?q?EAkxDU1uQk505EbMwg6ODCYvuvGGU7lWKngTo0EMLdseC7YzRxdKlMkMqrqGUXohF?= =?utf-8?q?8Cr8b8A6cZaJdy/iVDmwkcuVe5lMBQ/om6nsMUJUYEAw6a8hYvF9xO/q4TouvZDil?= =?utf-8?q?ddGPhVwKTB5GgeCKMd0cpg0bQ8mMGUVsbKw5/+NlwiTEvnnSwmfqT4y2M7xAYHnNg?= =?utf-8?q?b5r438mTzOk8MlSw23d7jaqnRhxqhxW58A=3D=3D?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: f5cc3ad5-9e05-43a2-bda5-08db778ed54c X-MS-Exchange-CrossTenant-AuthSource: MN0PR12MB6101.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jun 2023 04:19:15.2399 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Yxf7GnvD/ZopmDse8jc0dON2n4fBL4w83yPwkLV4n/HpMUkeMfWKt2iOwwS9nTGotPbLulmVmwblTIbDZH3qpA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6495 X-Mailman-Approved-At: Wed, 28 Jun 2023 05:31:12 +0000 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: "fwts-devel" Fixes: https://github.com/fwts/fwts/issues/4 Link: https://bugs.launchpad.net/fwts/+bug/2025193 Signed-off-by: Mario Limonciello Acked-by: Ivan Hu --- src/libfwtsacpica/fwts_acpica.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libfwtsacpica/fwts_acpica.c b/src/libfwtsacpica/fwts_acpica.c index d8bc54a6..c174f71d 100644 --- a/src/libfwtsacpica/fwts_acpica.c +++ b/src/libfwtsacpica/fwts_acpica.c @@ -50,7 +50,7 @@ #define ACPI_MAX_INIT_TABLES (64) /* Number of ACPI tables */ -#define MAX_SEMAPHORES (1024) /* For semaphore tracking */ +#define MAX_SEMAPHORES (2048) /* For semaphore tracking */ #define MAX_THREADS (128) /* For thread tracking */ #define MAX_WAIT_TIMEOUT (20) /* Seconds */