From patchwork Tue May 27 15:02:28 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Romero X-Patchwork-Id: 892738 Delivered-To: patch@linaro.org Received: by 2002:a5d:6e53:0:b0:3a3:61c9:c5d4 with SMTP id j19csp1738037wrz; Tue, 27 May 2025 08:06:32 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWVGZ7957QxFWiWFy+BRgjbmVrdrx1/G6r4RDD/OGCALSVUpyfm+dz+NlAa1y3b6bUcxoIg+Q==@linaro.org X-Google-Smtp-Source: AGHT+IFEbU0WYGkB91eGeLtrXVB2OjGXIQag9Irs5xIAtC3awfpQcpEdfexAqk4yLrWPj8bc34bQ X-Received: by 2002:a05:6512:e9f:b0:553:2bf7:77be with SMTP id 2adb3069b0e04-5532bf77939mr689902e87.22.1748358271932; Tue, 27 May 2025 08:04:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1748358271; cv=none; d=google.com; s=arc-20240605; b=dgOLStnnXe1v4AOwv0dnHYX110EE6SRljhSIDgw0ZUw9nT6uet4NfTXPqqnWfXR+EO e7OMoSqjxOVXlAJRlvJdqzrcJ/Du2N2KMtVSS1X0ilmSOxRzaCwU807tI9eECRyL+3Ig pyejtW3G3k9XxryE38Pzt1GXXvh5UN8NhILQuNes5HUIH2KRusafCEw8VLRW/CC+mTwh HZPm6ocZtWuAqdluxpERxZu9Um0PR5FxGpAZSNhfA/4qD/JwiEH0A1tKNc6U9VNGzoue /tpshmKj+3hcIDDJHwBitkjHLAm/ricMCLf9sA2Bs5nFS4HHrz3L2k4m+0CV6qZwLzXL ddQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=agFWYYCKCVq6mVFbehNZ8ax/fZ1A0ibvbnP/23upHzI=; fh=KMRKbGbdFpnG0CDU6oISdvhvik55jBHp8Z8ukse1M/I=; b=amp9B2HSn83Dx4In84a7TwXE0pfEX4JiGaCt34E0hFGhep7VfyHyE5Bh/NEBWoGyj8 J0J0BUutcnUW1oUxWOJfWV9uOizjCEZMr4H6KnbQASi+MN0bRMYMx5Vipzs+shZiTNNi /ghRM7k2AxOVyr2HZvouASCOg5NIUwPyqOFKBTEmK3igJpjRtWcz9MXlcLY578CqSwq4 OZ145VVI8kQXsnVtosSsyNNg3zZ9grDx3GbM+XUAKboyqglqbGRBLmhPTh5XpC744c5K KE7qXAlZI4adYYPyIJOQXLIAxh9wctqB13Ps/yBOodVZL5ZduJOJ8OBU4zmKoJt1RdYs 29lA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BAYeOfEG; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 2adb3069b0e04-55324ecd4f8si1358211e87.107.2025.05.27.08.04.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 May 2025 08:04:31 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BAYeOfEG; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uJvpS-0005Sz-NR; Tue, 27 May 2025 11:02:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uJvpQ-0005RI-AM for qemu-devel@nongnu.org; Tue, 27 May 2025 11:02:56 -0400 Received: from mail-vs1-xe41.google.com ([2607:f8b0:4864:20::e41]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uJvpN-0006E1-5e for qemu-devel@nongnu.org; Tue, 27 May 2025 11:02:55 -0400 Received: by mail-vs1-xe41.google.com with SMTP id ada2fe7eead31-4dfa2aeec86so1251686137.1 for ; Tue, 27 May 2025 08:02:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1748358170; x=1748962970; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=agFWYYCKCVq6mVFbehNZ8ax/fZ1A0ibvbnP/23upHzI=; b=BAYeOfEGgjcNJXZq59AfBetmjGF5pmV7TEwOXXtMk194ISMz8htOnu3cbea7FAnbp8 TpRP8hm/ZywfBM9eBoCxiVbVA/ZoIr2Il1gLepj2E9qlNqsiUY5Mlw/Zz3BOdfxo/+FL yO2jzNZC/DgRs1d9q+kl++HDj/FrqDRugzToH6fE/AfWUR1wzoHvNQ07U0UaSHwalYVV 404gvr2XhSM09IUO4Q48AEJfYCXa3qxsuvHYs62BHPFWZ5cEPIRG69AiwB8is+FoXrvo D/4QVV903G75hyAwxMSmO4LKkvjINYX+WGC/oOKXf1MWcNOgGHWjBpVmnN0gdQgeM4ru Z8xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748358170; x=1748962970; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=agFWYYCKCVq6mVFbehNZ8ax/fZ1A0ibvbnP/23upHzI=; b=je5+5mZbrhiIDWOX6ZdZylO6Somzl7zpMqMa1wPU8sspSRqr3pd7qfMhsVF4a42ct+ gO1eSelIhb/Hmp4Bu6pBKEZ8soNeVm7nB4YxFSPt6pN6n9uuGEOPAPe2Qv5MyX5KYN2J pj0pwH6aZSF0qoJmMB72aiWu7/lcLP3AsZm3B5T5mB+igalr2uK+E2tR5k/AXir5nEhn Ylfs/aHnTbCvlc1RIqVWvxUZb7oLq2IE7/naje0PVCjm3LFzgMGV+ylFD9mHTOlLss0D Dd1Tmtnp5nQafGoMOVJDSgqZ0oi4jCoYg17F9xaV9FDt9UAWQi8nwMZRlQxmSkHilCQB f+pg== X-Gm-Message-State: AOJu0Yy2u53H20OnjVYxfKVck8G1aTjbGe3xH2NUnUV6OeJi0RlWM3Na 6vR5p03VdZmtr5r8mL4AjIJ74jNjTb9gHNkKa07rVY9bWYuKVNL6OsF0UNyT1eBW9IsnWvuJqrI aVzTa1zXtSA== X-Gm-Gg: ASbGncsm1ReKJG7LJ6EWx00K2yXql2TnlTvM81ScT1kvNeohiua4PajcqX2uXko6hAH s8RBH4o6aAPRVBRHeL4G5T8Z9jnEGrgEMOSoFcOlwzJhOHwr+kl/Znny5IF6bbzHV6L5sanLnId AAA736+awRvSf8kfnMzBKiFIIUpMig/qZdw1+fQEviSEJW+uAo2WX70v9KTb/DPgFkqm1MfO1lO a4/h+PNMjdLAIS+8InsPsfhrKwmJjdaSMotnDuiJh9BdNwWzhWohnL78q2wjI3ryOMBANyfJoLJ d7/okztDpQB2DfnXSuhgwrGsIs8ZnTLqUb0VLMmx/MmqUCX9b/s3JO3whhwAtgz7zauluA4zmNy nfgBvy0KpBPZjvqFe7DBZrg== X-Received: by 2002:a05:6102:370b:b0:4af:c519:4e7f with SMTP id ada2fe7eead31-4e4241af472mr9779721137.18.1748358169635; Tue, 27 May 2025 08:02:49 -0700 (PDT) Received: from gromero0.. (200-100-75-183.dial-up.telesp.net.br. [200.100.75.183]) by smtp.gmail.com with ESMTPSA id ada2fe7eead31-4e51e94c9c2sm2189649137.23.2025.05.27.08.02.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 May 2025 08:02:48 -0700 (PDT) From: Gustavo Romero To: qemu-devel@nongnu.org, eric.auger@redhat.com Cc: qemu-arm@nongnu.org, thuth@redhat.com, gustavo.romero@linaro.org, alex.bennee@linaro.org Subject: [PATCH 1/2] tests/functional/test_aarch64_hotplug_pci: Update SHA Date: Tue, 27 May 2025 15:02:28 +0000 Message-Id: <20250527150229.1617074-2-gustavo.romero@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250527150229.1617074-1-gustavo.romero@linaro.org> References: <20250527150229.1617074-1-gustavo.romero@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::e41; envelope-from=gustavo.romero@linaro.org; helo=mail-vs1-xe41.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Update SHA for 'linux' and 'initrd.gz' images. Signed-off-by: Gustavo Romero --- tests/functional/test_aarch64_hotplug_pci.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/test_aarch64_hotplug_pci.py b/tests/functional/test_aarch64_hotplug_pci.py index fa1bb62c8f..bb2c121503 100755 --- a/tests/functional/test_aarch64_hotplug_pci.py +++ b/tests/functional/test_aarch64_hotplug_pci.py @@ -20,12 +20,12 @@ class HotplugPCI(LinuxKernelTest): ASSET_KERNEL = Asset( ('https://ftp.debian.org/debian/dists/stable/main/installer-arm64/' 'current/images/netboot/debian-installer/arm64/linux'), - '3821d4db56d42c6a4eac62f31846e35465940afd87746b4cfcdf5c9eca3117b2') + 'd92a60392ce1e379ca198a1a820899f8f0d39a62d047c41ab79492f81541a9d9') ASSET_INITRD = Asset( ('https://ftp.debian.org/debian/dists/stable/main/installer-arm64/' 'current/images/netboot/debian-installer/arm64/initrd.gz'), - '2583ec22b45265ad69e82f198674f53d4cd85be124fe012eedc2fd91156bc4b4') + '9f817f76951f3237bca8216bee35267bfb826815687f4b2fcdd5e6c2a917790c') def test_hotplug_pci(self): From patchwork Tue May 27 15:02:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Romero X-Patchwork-Id: 892737 Delivered-To: patch@linaro.org Received: by 2002:a5d:6e53:0:b0:3a3:61c9:c5d4 with SMTP id j19csp1736136wrz; Tue, 27 May 2025 08:03:51 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV6YUDOIXEVTcC8pYpx8YEUMIwRTin9fTZUBVtxjSgxT5AijqfxAE+jwlK6hQjRRF3H9VzTpA==@linaro.org X-Google-Smtp-Source: AGHT+IEgqWrIsTQgw717rA+Duk7cC+sAa9Tp94tm7bgip8d/MISsLfXUOw7bUy9haavekCx639xr X-Received: by 2002:a05:6214:401b:b0:6f6:e701:9612 with SMTP id 6a1803df08f44-6fa9d2e9326mr235847426d6.34.1748358231331; Tue, 27 May 2025 08:03:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1748358231; cv=none; d=google.com; s=arc-20240605; b=IrAG1sNH6ZSVzreGJF0rK6seSi8LbhPZs11BgE+3DbtrFC5jPktdTBNnY/94C9+eWT hMDNdu7aKZC+Me4nWE/zdEeXmvEvDlqMmq35F+OhuulKYamDQ92Grkr8kEeOO5pOhoIL QbSktzTELS6qWp0LywLUGikg8Fe+TiXsOil3GX6aFJui7QveP5nue0v/bD+ULij8S44t ltAiFKUOccRBhLKEELP7m/py5IK4e/Bw26MxOKCXBDks7t/JIVS0KNpUSsH0A8voDhD3 i0GfN2GYqlEkOyd7ajgyNrMb2TvFJmgJL5HMZDjtMLyZAA5pE+0ySYsnwu8u3SL92txC SXfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=RniEF1mf7TN4jF60DdYm0zWLKlVKKpJMW1uo5Rs5HEQ=; fh=KMRKbGbdFpnG0CDU6oISdvhvik55jBHp8Z8ukse1M/I=; b=MM0LDCdjqoh2Ci6L46hd94V8AAvr7+1AjXUKJ0yEJdpPhhCbPXf4YdhS0MbOyzuuCq H1W1n61nVoN77vzeQXwQQ+/jfhCDLkQbnLGwoBU2Telbr0Ifya/XqgxFDYo31XT7opQo 8j6awsfpmXZixDJXjSfjSM4gwC+1kp3Awt7/et9YeY62AHOsfTpG+cueaCkiSA5nZEni hY0pe9G/+znid3OjxC2O78yUlHz/BF17DbD8RxPR147e+Asro2nCUVLHoWjDe5WYrj/E DbFW6qyVOtdQhOPZjJTAT4FMOL5Si7Nb6aZtRnW8CP3unKExNx7gJitFnKZWlAB8CNPo rMjA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zMPIA1jS; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6f8b099abcfsi267130376d6.188.2025.05.27.08.03.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 May 2025 08:03:51 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zMPIA1jS; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uJvpU-0005aA-BG; Tue, 27 May 2025 11:03:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uJvpS-0005Sv-FM for qemu-devel@nongnu.org; Tue, 27 May 2025 11:02:58 -0400 Received: from mail-ua1-x92e.google.com ([2607:f8b0:4864:20::92e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uJvpP-0006EA-HS for qemu-devel@nongnu.org; Tue, 27 May 2025 11:02:58 -0400 Received: by mail-ua1-x92e.google.com with SMTP id a1e0cc1a2514c-87decd1c427so939406241.2 for ; Tue, 27 May 2025 08:02:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1748358172; x=1748962972; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RniEF1mf7TN4jF60DdYm0zWLKlVKKpJMW1uo5Rs5HEQ=; b=zMPIA1jSo2iSblif6zL8CjztKbijl0L9jjETGHd1Me6mJDt3fT408NBuotwu3Z7r2r 2nVBoV8xbgHdQjqVzRTqt9oCleE7YiyLciCOqMs+z6eWPa6j9L89izQKQULDik19nIBo 5RN5vQrFHCrtad79Syu8QDxGiTZYc250/K0GRNVnVAeCsccYKDwICpmKLzRJhTtcUKBa /frwY7IlrkU3OnTvtzxIWUOLp78QsB6msm/EkbSAkZOcy6CzqnWyfoVYEVsQJiq5TsE6 /B6E5R5Yn5SsF8BxhPLq+CdADdAgbs+MySNtkRFTIpgJ7zt3HVFeAwuLZzLaGXbn2np2 oXhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748358172; x=1748962972; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RniEF1mf7TN4jF60DdYm0zWLKlVKKpJMW1uo5Rs5HEQ=; b=YSexNXqTZA+O+MPWp2HVtssXi5/wtLy53+sKHcOL1Fdo7yGq65CLDb6CM1aYwBExAT k0QsC7jpkVM2xUKYiiIlqAdK1vgSEBeKcZHLQYV53FX4pd9diBeuvgCIFYQQAhw62+Vr GTgiH2jPbp0tbGuU0hCn5cAo+nI0vimJYlpRyTI7ddiexW3bzlJ7L2mOWpuBxwDRc8BS +Pgp7FyMGky8KbpmHG8sBp6lbhnIG9o6LbKxO+462J7NC3tiTPV+6jvY5wxT9N157dSp I22uHKVVCJ8c6ItFfbbJNszxm8UvQR709kgVZlr4FUklabRdkUmsVhdvo+Zmo4kK+7aG RjBA== X-Gm-Message-State: AOJu0YzJH3Kb2+5vb+xe7M2vTCec2mwishv73GJd+S9+s/g90FH8asqR M/r6fT2cn7PhMvlgjX8ddNe+mtitoIC0tusPciiYGbUK1J18rORDN0uxJY1ZaVk9OmHHW8GBgCl kB3jTqRU= X-Gm-Gg: ASbGncsjAvHsyeSD4fa3s2iKhUFPyx4pepPD/jSjh2D83/808gPofnqwjvQH02GT1bY rSIhjMqNtIyc9lcX2GbLl1uLJAipbpdIkeOXSAngB65tOtD/rrFEThzD8uggy9cvZwfbIHt2iKJ B0e5tDXuXTTWgOi9v9wM5Kn7jANwF3iFJaoEhddLYzS6tMXMPMhaHTsg9YHW7gEApb/dqx/Hw2w J6W3VEYgzI0qT2WRc8WyBF57W2MjB2bWNxgh+fvcDXWMWYKP8Ms0o3GuFhxzNsyjKCVRJF8d8YT J9wY+Ckjt78oMQVRgMiP5NANGrJl60swDu0HvWSXaWlPTxiQQcGz3hNlxylF+qdLNWBExiT7V33 00mPY6PcMB4TItUn2NiXEsA== X-Received: by 2002:a05:6102:3590:b0:4cb:5d6c:9946 with SMTP id ada2fe7eead31-4e4240a654cmr10360291137.10.1748358172339; Tue, 27 May 2025 08:02:52 -0700 (PDT) Received: from gromero0.. (200-100-75-183.dial-up.telesp.net.br. [200.100.75.183]) by smtp.gmail.com with ESMTPSA id ada2fe7eead31-4e51e94c9c2sm2189649137.23.2025.05.27.08.02.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 May 2025 08:02:51 -0700 (PDT) From: Gustavo Romero To: qemu-devel@nongnu.org, eric.auger@redhat.com Cc: qemu-arm@nongnu.org, thuth@redhat.com, gustavo.romero@linaro.org, alex.bennee@linaro.org Subject: [PATCH 2/2] tests/functional/test_aarch64_hotplug_pci: Add test for ACPI PCI hotplug Date: Tue, 27 May 2025 15:02:29 +0000 Message-Id: <20250527150229.1617074-3-gustavo.romero@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250527150229.1617074-1-gustavo.romero@linaro.org> References: <20250527150229.1617074-1-gustavo.romero@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::92e; envelope-from=gustavo.romero@linaro.org; helo=mail-ua1-x92e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Currently, test_aarch64_hotplug_pci only tests PCI hotplug using the native PCI hotplug mechanism. Now that aarch64 supports PCI hotplug via the ACPI mechanism it's time to support it in the test as well. Signed-off-by: Gustavo Romero --- tests/functional/test_aarch64_hotplug_pci.py | 24 +++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/tests/functional/test_aarch64_hotplug_pci.py b/tests/functional/test_aarch64_hotplug_pci.py index bb2c121503..862bb6746b 100755 --- a/tests/functional/test_aarch64_hotplug_pci.py +++ b/tests/functional/test_aarch64_hotplug_pci.py @@ -27,11 +27,26 @@ class HotplugPCI(LinuxKernelTest): 'current/images/netboot/debian-installer/arm64/initrd.gz'), '9f817f76951f3237bca8216bee35267bfb826815687f4b2fcdd5e6c2a917790c') - def test_hotplug_pci(self): + def run_vm_and_test_hotplug_pci(self, use_acpi_pci_hotplug=False): + """ + Run an aarch64 VM and test the PCI hotplug mechanism by plugging and + unplugging a PCI network adapter to the VM. Proper plug and unplug of + the adapter is verified by checking if the network device is correctly + added and removed in Linux. + + Parameters + ---------- + use_acpi_pci_hotplug : bool + If true the ACPI PCI hotplug mechanim is used, otherwise the + Native PCIe Hotplug mechanism is used. + """ + + acpi_pci_hotplug = "on" if use_acpi_pci_hotplug else "off" self.set_machine('virt') self.vm.add_args('-m', '512M') self.vm.add_args('-cpu', 'cortex-a57') + self.vm.add_args('-machine', f"acpi-pcihp={acpi_pci_hotplug}") self.vm.add_args('-append', 'console=ttyAMA0,115200 init=/bin/sh') self.vm.add_args('-device', @@ -70,5 +85,12 @@ def test_hotplug_pci(self): 'ls -l /sys/class/net | wc -l', '2') + def test_native_pci_hotplug(self): + self.run_vm_and_test_hotplug_pci(use_acpi_pci_hotplug=False) + + def test_acpi_pci_hotplug(self): + self.run_vm_and_test_hotplug_pci(use_acpi_pci_hotplug=True) + + if __name__ == '__main__': LinuxKernelTest.main()