From nobody Wed Nov 27 07:26:29 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1699899493; cv=none; d=zohomail.com; s=zohoarc; b=f2OcdRI6eJA20PgX0oER3G4XExafJNXDhR7mbqMnm7F/dgeVJ996VN3XOZ8RE9In0s9djD8C2K2AR+2wf3kwCNnZQWrLyo7Z4ImO+UuvJ8e+jhLbOK1JrBOXV43IGW8SZGBuE068B6fw2iuxKxfZBbt8l0mKhtAqptTIIQVEMFA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1699899493; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=capcjVKPKqE+VLy65Ulh8a/I3TCIRtzzamG6SA9QUvo=; b=Fz33wuFGOCLwSeuNYo+QUj5Xc3QoOCSELRCJbZV9q3+lXkjMYjLngzOAGyCkSVQYbrhz3lQRx9pGRLhVXULirOtkb1tUy5lPgetxIl7lCX6NkvysImxlLvnAy73I4HISioaWt4r8Cy98syMHZFGWdJJgxnAjt8TcRb7WNtJbJIw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1699899493564183.4057710241069; Mon, 13 Nov 2023 10:18:13 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2bVY-0007Wa-EO; Mon, 13 Nov 2023 13:18:00 -0500 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 1r2bVU-0007W0-EK for qemu-devel@nongnu.org; Mon, 13 Nov 2023 13:17:58 -0500 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r2bVS-0000Uo-0B for qemu-devel@nongnu.org; Mon, 13 Nov 2023 13:17:56 -0500 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-9e61e969b1aso491517666b.0 for ; Mon, 13 Nov 2023 10:17:53 -0800 (PST) Received: from m1x-phil.lan ([176.164.221.204]) by smtp.gmail.com with ESMTPSA id z9-20020a170906714900b0099d804da2e9sm4388271ejj.225.2023.11.13.10.17.51 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 13 Nov 2023 10:17:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699899472; x=1700504272; 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=capcjVKPKqE+VLy65Ulh8a/I3TCIRtzzamG6SA9QUvo=; b=l1JnD9lKQY9XCOCvCr6pYPPrnnhiUrdrlNIIiqCe1QaTg89RpUlFpMVVbw+/l+0YCX 5dMtbg6+tbUrNBrIMZQuT/T53bKpsMVpxuuxCXBtz/4/QIxFL7PS4evQLREeHllZKZx2 HAJrAPEvPfSPP57sGTOqAHWmUTePCmNwnWNbbWsE0MipVlvNCOuVKy05fsJUihiZpwrz JUZgYgZWyrAwaB+fb805TSas3IQ3KEYSrpIfCEfeC2DmrfIS19Phto7ybu7+4dh7Qchj TULt8aPVdwQK9f6z57MFMudETfWLGGLf82VuqHwKJaf5R8rANntZml7TtHaU5ot1CwP9 vFkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699899472; x=1700504272; 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=capcjVKPKqE+VLy65Ulh8a/I3TCIRtzzamG6SA9QUvo=; b=NNY4cKr+liX6PK0rUrwKIMBRB3WVMLgalI11WCz0YG1x8mA0IWUwJSwjWDbmNpu10I 4S/T9dMYT0f8RODRmV7K3bPdbvgSZmT2WhhnV9QyBE3Jrsspl8wdRqH/Ee24ALE5UdnY E6JX3GHIpqpmVWzLioD9DMRuyBrHBPgobWvGT5tNVa6z0MujMyNEjf8RGWkV46nTs4f8 yPK0yVxwIpNemzN9eih24msY3awfhs0Mkv/Xiqu+oQhAIpBVWerENF0bEe9J82gnAdp2 7Kb8EgQUuaZLSrztQCnGrACpv4cg1AFbI+kPqz1Kc+EF/XUzea0FB8zPZ0v0hDzgX3GI Apjw== X-Gm-Message-State: AOJu0YwRJ4XPKNNND7+V3uQkxgfv+eg9DHnywiiUIKoFG5i5Oy3zREvr xhqOLbvtov1PvtO5ZuVtI68YfoNr0NkiZOTCf60= X-Google-Smtp-Source: AGHT+IEGZPDtI92ETgky8DKBO1ira9DboVEb5kfZrY7ENF/JhamhFp2F86ZRXTQkelgQ/lP5c2KfCg== X-Received: by 2002:a17:906:a396:b0:9e5:e56b:9b7 with SMTP id k22-20020a170906a39600b009e5e56b09b7mr4687095ejz.42.1699899472445; Mon, 13 Nov 2023 10:17:52 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , qemu-stable@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Paolo Bonzini , Jiaxun Yang Subject: [PULL 1/5] hw/mips: LOONGSON3V depends on UNIMP device Date: Mon, 13 Nov 2023 19:17:40 +0100 Message-ID: <20231113181744.49537-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231113181744.49537-1-philmd@linaro.org> References: <20231113181744.49537-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=philmd@linaro.org; helo=mail-ej1-x62d.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1699899495644100003 From: Marc-Andr=C3=A9 Lureau Signed-off-by: Marc-Andr=C3=A9 Lureau Cc: qemu-stable@nongnu.org Fixes: c76b409fef ("hw/mips: Add Loongson-3 machine support") Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-ID: <20231107140615.3034763-1-marcandre.lureau@redhat.com> Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/mips/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig index 66ec536e06..505381a0bb 100644 --- a/hw/mips/Kconfig +++ b/hw/mips/Kconfig @@ -46,6 +46,7 @@ config LOONGSON3V select PCI_EXPRESS_GENERIC_BRIDGE select MSI_NONBROKEN select FW_CFG_MIPS + select UNIMP =20 config MIPS_CPS bool --=20 2.41.0 From nobody Wed Nov 27 07:26:29 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1699899512; cv=none; d=zohomail.com; s=zohoarc; b=Bw9Q6FclDu3MPlyVFOFwvObqTcd1Udl61YVrgkuzFmsDFLTxLHdsNh+0vOl4WNOfv66sBMWczPBcAcmJEA5c6hOBF3126Qc+en7ALxw/ii2eHiFA/nQ5d3ZAfxAbYyBUDYkzctDfmHEjCDucmxrVthrujHd9CxOMK1ZfowFw9zY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1699899512; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=AakYZYdXvcPNi6Iu21AoMUro5aPu6dbPeOCnwN0r1zY=; b=lVf5rlMnW9adT7KDRPBHNVc+UrBqdWOpsFAcbyi5O+H2fIbcCnqKOWkvvaBfq5GJHJ9wrlGEfwW/jebpU4RPwke8cCeLBt88MVLjilQ3MCKM00VNj7I3BwDdkNrUztXqdYEwEOuNwt738Ll2rRYB9yay5hCWuD7/TCACqdWmpn8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1699899512295622.7289203613694; Mon, 13 Nov 2023 10:18:32 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2bVc-0007e0-BD; Mon, 13 Nov 2023 13:18:04 -0500 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 1r2bVY-0007Yf-U8 for qemu-devel@nongnu.org; Mon, 13 Nov 2023 13:18:01 -0500 Received: from mail-ej1-x635.google.com ([2a00:1450:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r2bVX-0000Wg-EN for qemu-devel@nongnu.org; Mon, 13 Nov 2023 13:18:00 -0500 Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-9e5dd91b0acso540625266b.1 for ; Mon, 13 Nov 2023 10:17:59 -0800 (PST) Received: from m1x-phil.lan ([176.164.221.204]) by smtp.gmail.com with ESMTPSA id ov22-20020a170906fc1600b0098951bb4dc3sm4334101ejb.184.2023.11.13.10.17.56 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 13 Nov 2023 10:17:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699899477; x=1700504277; 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=AakYZYdXvcPNi6Iu21AoMUro5aPu6dbPeOCnwN0r1zY=; b=F1HzQ2zgc0RQi1wObhGWQPxS83PEi/uRTzar6dwQfceBuOS1M9Jf42Im/N0QojJ9pX 2xBV+z/uVK1PgcvnuO63ex3Kt39clLIdR3IKgzpH+ObHvzorULk+J1/HBHyALbnNHbCH 4TZto6YTDyHMxfA1B5DjR5U1/izLNMI0s2Ysh4K7wKjrgF+2GeLffAtdrWdaT9FsoZ+f njR8YE0RUCIm821kGVh1iFtrMp2T+1fmDduNjgfZFVI/ovsRQPJ9LL8++OOW4UdHLit8 a5R+ZVAysljTIwcfF1QxOqOPUmhVqjB9oxtUG8L8pvjVpGb4N7nA92TMHavOD3YPYbHv aJ/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699899477; x=1700504277; 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=AakYZYdXvcPNi6Iu21AoMUro5aPu6dbPeOCnwN0r1zY=; b=aAJ84vVYJoh05Wd3igMzYI7bo9dWi+K4HV0qmRUzvY2TlywWeP9U1m0ic1PTbiG9Bz DfJTrTAZfqU6tYzuVlYlCUBb9LL4B9jmANCHMHGBF4MrV3kdkamAPmhTIRHrq4LPLk6j sUU5TXcWglZGe4QUPzy77r5j25Ggiviq7aYClpWs55R3KcdLRNy6PY0AUaLJH3gBYet6 tgOJaCma5fS5GWZpkzY8zs1FYRYVKt4ZSuO3LgSdmtAiaUBgnoRVsDfxN+urryyG2IBs V16e+t2zleMw3Vb/NCzUbDojM7qZF21639zSr9S2Z1G8qsV++1TP2DsihlkYGKVTTPJZ M/Pw== X-Gm-Message-State: AOJu0Yzek7EqRlKsz1uOmpvNN8pJRtLCiIFKXtWhujAmAMuzzJd1JbVS hMDHX5Df6PG3pOUQ5cEH8D56krbOGHRnI8RjR0g= X-Google-Smtp-Source: AGHT+IGadP1wkT/qgfFvtad+hX3CRGQwn0Z1gbh2a1HMBlKL2ZauDhTR37JLimRaoVjPbuW4bdpSWA== X-Received: by 2002:a17:906:3597:b0:9ce:96db:c83e with SMTP id o23-20020a170906359700b009ce96dbc83emr6134233ejb.42.1699899477751; Mon, 13 Nov 2023 10:17:57 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, Alexandra Diupina , Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 2/5] hw/display/vmware_vga: fix probably typo Date: Mon, 13 Nov 2023 19:17:41 +0100 Message-ID: <20231113181744.49537-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231113181744.49537-1-philmd@linaro.org> References: <20231113181744.49537-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::635; envelope-from=philmd@linaro.org; helo=mail-ej1-x635.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1699899513732100012 From: Alexandra Diupina When calling trace_vmware_verify_rect_greater_than_bound() replace "y" with "h" and y with h Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 02218aedb1 ("hw/display/vmware_vga: replace fprintf calls with trace= events") Signed-off-by: Alexandra Diupina Reviewed-by: Thomas Huth Message-ID: <20231110174104.13280-1-adiupina@astralinux.ru> Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- hw/display/vmware_vga.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/display/vmware_vga.c b/hw/display/vmware_vga.c index 7490d43881..3f26bea190 100644 --- a/hw/display/vmware_vga.c +++ b/hw/display/vmware_vga.c @@ -336,8 +336,8 @@ static inline bool vmsvga_verify_rect(DisplaySurface *s= urface, return false; } if (h > SVGA_MAX_HEIGHT) { - trace_vmware_verify_rect_greater_than_bound(name, "y", SVGA_MAX_HE= IGHT, - y); + trace_vmware_verify_rect_greater_than_bound(name, "h", SVGA_MAX_HE= IGHT, + h); return false; } if (y + h > surface_height(surface)) { --=20 2.41.0 From nobody Wed Nov 27 07:26:29 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1699899504; cv=none; d=zohomail.com; s=zohoarc; b=FOixc7aX9vJlSeaoreOaNe5tIvUJUPW0JdG7cRb+79aRUVGL/RsReaRJbRUtKDGTdzCV2Nmy/Rjh7wwJtkNXwjeMua3XIXoqSD3FMrRrdravo22M/dWANSei8LVLnx/O6hxPHgqt2rHfbb+lPVYHdAF6nhO7LDqZyIJeGq/6uWQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1699899504; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=cIDYmW795avdqlddhv1SI9qKCLfA9vhXJay8WJOaVbQ=; b=QlvXZMTEl80vQcSiPCiY3aYdAs0iUxsskhfTf+H1Rr5IsF95hrL5+OXLrU4tbxqi85gFx65HwTad0lZ9BK3t/sO1OpQKyP9lbUQyMQxw+doSrFuRI5IWRMMt6IdevN9LdWzglujKlzK3A38D5LY9wzFoqwhFzEY1V6DpQEdGtXE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1699899504952143.56688036498485; Mon, 13 Nov 2023 10:18:24 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2bVk-0007nh-OD; Mon, 13 Nov 2023 13:18:12 -0500 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 1r2bVh-0007iV-Oa for qemu-devel@nongnu.org; Mon, 13 Nov 2023 13:18:09 -0500 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r2bVe-0000XM-Gx for qemu-devel@nongnu.org; Mon, 13 Nov 2023 13:18:09 -0500 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-507adc3381cso6306758e87.3 for ; Mon, 13 Nov 2023 10:18:06 -0800 (PST) Received: from m1x-phil.lan ([176.164.221.204]) by smtp.gmail.com with ESMTPSA id 27-20020a508e1b000000b0053e89721d4esm4082767edw.68.2023.11.13.10.18.02 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 13 Nov 2023 10:18:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699899484; x=1700504284; 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=cIDYmW795avdqlddhv1SI9qKCLfA9vhXJay8WJOaVbQ=; b=m3QClHer4d1X7fweXkmWIdnrWEOByyjekK9OqgTIs3FjmP9oYxZpj6xX8uFItCuxx4 ZxWVFdqo+hdYpfS5yYSzSyYoSomXB72GgHr9Oa0KZEYCyYC897iWIRvXKUTaGe7P3HCm W0CM2YIdVmoWtQctsTEibpolGAAc6dPRjwZnKb1hMchmhrZoFiyWW8Nah7mI3I3zNQgr R0m4pe7T+xa9p/K0ET6aTBlglmy+yUcooysrfurOAj86XuUPuxoQ0A96mZmDdubw9UIi 3ee89KMj1+ujAWXr23qk4yIIC4Tdij2nobeosIYC9/2F6QQYi93BaBMWTichk3AcUjwx 5ubg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699899484; x=1700504284; 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=cIDYmW795avdqlddhv1SI9qKCLfA9vhXJay8WJOaVbQ=; b=d1npt6EKY23+htdD8OAL6KPbUgA827wudk1DTYO8IZZu7z4LDQ1/ZIiwL7tpLhFASV fB74a3PYaVhQi4CfzmTvRl24UPbu+Sbrrft8ovbJxm6XnSg4EQNUnlSpn9dT5FT2WDl/ 2rdy9XaPPpjve7pad874/O0uX2MAcDKnJVaGdxLC/1i90cD/ayCmGc6vf47gHl+33ZxP g9j31h9HLX0yM9BmhUJL2cWkzYxFU8N7gbYsm2EfoVdvJvUQYb80jzKQ8C51yzovS51w wiVhjoDXA/0yD/nZJCpj4O6KrQBWCwx60Lx+4zPeOa7qkKPPv1WhrAXWJ8ab4C+3X41v 2c/w== X-Gm-Message-State: AOJu0YzqEEfXCdB2GaqcbnSFk04QcyhRcs1hhfHErBfpTgW+67wiWzAy w3WQ2h3DxvzIord3/l2FUL5FAPYyyjk5GvnjuVo= X-Google-Smtp-Source: AGHT+IFHQgdbO+hNj3D6cei5osDOlywBzESF6YFgxrrwio61NjiugKXc7nSgBLXwIDJM+9l36DNmyw== X-Received: by 2002:a05:6512:2303:b0:50a:2710:d207 with SMTP id o3-20020a056512230300b0050a2710d207mr6909410lfu.53.1699899483790; Mon, 13 Nov 2023 10:18:03 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, Ani Sinha , imammedo@redhat.com, David Hildenbrand , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Cleber Rosa , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PULL 3/5] tests/avocado: add test to exercise processor address space memory bound checks Date: Mon, 13 Nov 2023 19:17:42 +0100 Message-ID: <20231113181744.49537-4-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231113181744.49537-1-philmd@linaro.org> References: <20231113181744.49537-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=philmd@linaro.org; helo=mail-lf1-x129.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1699899505726100001 From: Ani Sinha QEMU has validations to make sure that a VM is not started with more memory (static and hotpluggable memory) than what the guest processor can address directly with its addressing bits. This change adds a test to make sure QEMU fails to start with a specific error message when an attempt is made to start a VM with more memory than what the processor can directly address. The test also checks for passing cases when the address space of the proces= sor is capable of addressing all memory. Boundary cases are tested. CC: imammedo@redhat.com CC: David Hildenbrand Acked-by: David Hildenbrand Acked-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Ani Sinha Message-ID: <20231109045601.33349-1-anisinha@redhat.com> Message-ID: [PMD: Use SPDX tag] Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- tests/avocado/mem-addr-space-check.py | 356 ++++++++++++++++++++++++++ 1 file changed, 356 insertions(+) create mode 100644 tests/avocado/mem-addr-space-check.py diff --git a/tests/avocado/mem-addr-space-check.py b/tests/avocado/mem-addr= -space-check.py new file mode 100644 index 0000000000..be949222a4 --- /dev/null +++ b/tests/avocado/mem-addr-space-check.py @@ -0,0 +1,356 @@ +# Check for crash when using memory beyond the available guest processor +# address space. +# +# Copyright (c) 2023 Red Hat, Inc. +# +# Author: +# Ani Sinha +# +# SPDX-License-Identifier: GPL-2.0-or-later + +from avocado_qemu import QemuSystemTest +import signal +import time + +class MemAddrCheck(QemuSystemTest): + # after launch, in order to generate the logs from QEMU we need to + # wait for some time. Launching and then immediately shutting down + # the VM generates empty logs. A delay of 1 second is added for + # this reason. + DELAY_Q35_BOOT_SEQUENCE =3D 1 + + # first, lets test some 32-bit processors. + # for all 32-bit cases, pci64_hole_size is 0. + def test_phybits_low_pse36(self): + """ + :avocado: tags=3Dmachine:q35 + :avocado: tags=3Darch:x86_64 + + With pse36 feature ON, a processor has 36 bits of addressing. So i= t can + access up to a maximum of 64GiB of memory. Memory hotplug region b= egins + at 4 GiB boundary when "above_4g_mem_size" is 0 (this would be tru= e when + we have 0.5 GiB of VM memory, see pc_q35_init()). This means total + hotpluggable memory size is 60 GiB. Per slot, we reserve 1 GiB of = memory + for dimm alignment for all newer machines (see enforce_aligned_dimm + property for pc machines and pc_get_device_memory_range()). That l= eaves + total hotpluggable actual memory size of 59 GiB. If the VM is star= ted + with 0.5 GiB of memory, maxmem should be set to a maximum value of + 59.5 GiB to ensure that the processor can address all memory direc= tly. + Note that 64-bit pci hole size is 0 in this case. If maxmem is set= to + 59.6G, QEMU should fail to start with a message "phy-bits are too = low". + If maxmem is set to 59.5G with all other QEMU parameters identical= , QEMU + should start fine. + """ + self.vm.add_args('-S', '-machine', 'q35', '-m', + '512,slots=3D1,maxmem=3D59.6G', + '-cpu', 'pentium,pse36=3Don', '-display', 'none', + '-object', 'memory-backend-ram,id=3Dmem1,size=3D1= G', + '-device', 'pc-dimm,id=3Dvm0,memdev=3Dmem1') + self.vm.set_qmp_monitor(enabled=3DFalse) + self.vm.launch() + self.vm.wait() + self.assertEquals(self.vm.exitcode(), 1, "QEMU exit code should be= 1") + self.assertRegex(self.vm.get_log(), r'phys-bits too low') + + def test_phybits_low_pae(self): + """ + :avocado: tags=3Dmachine:q35 + :avocado: tags=3Darch:x86_64 + + With pae feature ON, a processor has 36 bits of addressing. So it = can + access up to a maximum of 64GiB of memory. Rest is the same as the= case + with pse36 above. + """ + self.vm.add_args('-S', '-machine', 'q35', '-m', + '512,slots=3D1,maxmem=3D59.6G', + '-cpu', 'pentium,pae=3Don', '-display', 'none', + '-object', 'memory-backend-ram,id=3Dmem1,size=3D1= G', + '-device', 'pc-dimm,id=3Dvm0,memdev=3Dmem1') + self.vm.set_qmp_monitor(enabled=3DFalse) + self.vm.launch() + self.vm.wait() + self.assertEquals(self.vm.exitcode(), 1, "QEMU exit code should be= 1") + self.assertRegex(self.vm.get_log(), r'phys-bits too low') + + def test_phybits_ok_pentium_pse36(self): + """ + :avocado: tags=3Dmachine:q35 + :avocado: tags=3Darch:x86_64 + + Setting maxmem to 59.5G and making sure that QEMU can start with t= he + same options as the failing case above with pse36 cpu feature. + """ + self.vm.add_args('-machine', 'q35', '-m', + '512,slots=3D1,maxmem=3D59.5G', + '-cpu', 'pentium,pse36=3Don', '-display', 'none', + '-object', 'memory-backend-ram,id=3Dmem1,size=3D1= G', + '-device', 'pc-dimm,id=3Dvm0,memdev=3Dmem1') + self.vm.set_qmp_monitor(enabled=3DFalse) + self.vm.launch() + time.sleep(self.DELAY_Q35_BOOT_SEQUENCE) + self.vm.shutdown() + self.assertNotRegex(self.vm.get_log(), r'phys-bits too low') + + def test_phybits_ok_pentium_pae(self): + """ + :avocado: tags=3Dmachine:q35 + :avocado: tags=3Darch:x86_64 + + Test is same as above but now with pae cpu feature turned on. + Setting maxmem to 59.5G and making sure that QEMU can start fine + with the same options as the case above. + """ + self.vm.add_args('-machine', 'q35', '-m', + '512,slots=3D1,maxmem=3D59.5G', + '-cpu', 'pentium,pae=3Don', '-display', 'none', + '-object', 'memory-backend-ram,id=3Dmem1,size=3D1= G', + '-device', 'pc-dimm,id=3Dvm0,memdev=3Dmem1') + self.vm.set_qmp_monitor(enabled=3DFalse) + self.vm.launch() + time.sleep(self.DELAY_Q35_BOOT_SEQUENCE) + self.vm.shutdown() + self.assertNotRegex(self.vm.get_log(), r'phys-bits too low') + + def test_phybits_ok_pentium2(self): + """ + :avocado: tags=3Dmachine:q35 + :avocado: tags=3Darch:x86_64 + + Pentium2 has 36 bits of addressing, so its same as pentium + with pse36 ON. + """ + self.vm.add_args('-machine', 'q35', '-m', + '512,slots=3D1,maxmem=3D59.5G', + '-cpu', 'pentium2', '-display', 'none', + '-object', 'memory-backend-ram,id=3Dmem1,size=3D1= G', + '-device', 'pc-dimm,id=3Dvm0,memdev=3Dmem1') + self.vm.set_qmp_monitor(enabled=3DFalse) + self.vm.launch() + time.sleep(self.DELAY_Q35_BOOT_SEQUENCE) + self.vm.shutdown() + self.assertNotRegex(self.vm.get_log(), r'phys-bits too low') + + def test_phybits_low_nonpse36(self): + """ + :avocado: tags=3Dmachine:q35 + :avocado: tags=3Darch:x86_64 + + Pentium processor has 32 bits of addressing without pse36 or pae + so it can access physical address up to 4 GiB. Setting maxmem to + 4 GiB should make QEMU fail to start with "phys-bits too low" + message because the region for memory hotplug is always placed + above 4 GiB due to the PCI hole and simplicity. + """ + self.vm.add_args('-S', '-machine', 'q35', '-m', + '512,slots=3D1,maxmem=3D4G', + '-cpu', 'pentium', '-display', 'none', + '-object', 'memory-backend-ram,id=3Dmem1,size=3D1= G', + '-device', 'pc-dimm,id=3Dvm0,memdev=3Dmem1') + self.vm.set_qmp_monitor(enabled=3DFalse) + self.vm.launch() + self.vm.wait() + self.assertEquals(self.vm.exitcode(), 1, "QEMU exit code should be= 1") + self.assertRegex(self.vm.get_log(), r'phys-bits too low') + + # now lets test some 64-bit CPU cases. + def test_phybits_low_tcg_q35_70_amd(self): + """ + :avocado: tags=3Dmachine:q35 + :avocado: tags=3Darch:x86_64 + + For q35 7.1 machines and above, there is a HT window that starts at + 1024 GiB and ends at 1 TiB - 1. If the max GPA falls in this range, + "above_4G" memory is adjusted to start at 1 TiB boundary for AMD c= pus + in the default case. Lets test without that case for machines 7.0. + For q35-7.0 machines, "above 4G" memory starts are 4G. + pci64_hole size is 32 GiB. Since TCG_PHYS_ADDR_BITS is defined to + be 40, TCG emulated CPUs have maximum of 1 TiB (1024 GiB) of + directly addressible memory. + Hence, maxmem value at most can be + 1024 GiB - 4 GiB - 1 GiB per slot for alignment - 32 GiB + 0.5 GiB + which is equal to 987.5 GiB. Setting the value to 988 GiB should + make QEMU fail with the error message. + """ + self.vm.add_args('-S', '-machine', 'pc-q35-7.0', '-m', + '512,slots=3D1,maxmem=3D988G', + '-display', 'none', + '-object', 'memory-backend-ram,id=3Dmem1,size=3D1= G', + '-device', 'pc-dimm,id=3Dvm0,memdev=3Dmem1') + self.vm.set_qmp_monitor(enabled=3DFalse) + self.vm.launch() + self.vm.wait() + self.assertEquals(self.vm.exitcode(), 1, "QEMU exit code should be= 1") + self.assertRegex(self.vm.get_log(), r'phys-bits too low') + + def test_phybits_low_tcg_q35_71_amd(self): + """ + :avocado: tags=3Dmachine:q35 + :avocado: tags=3Darch:x86_64 + + AMD_HT_START is defined to be at 1012 GiB. So for q35 machines + version > 7.0 and AMD cpus, instead of 1024 GiB limit for 40 bit + processor address space, it has to be 1012 GiB , that is 12 GiB + less than the case above in order to accomodate HT hole. + Make sure QEMU fails when maxmem size is 976 GiB (12 GiB less + than 988 GiB). + """ + self.vm.add_args('-S', '-machine', 'pc-q35-7.1', '-m', + '512,slots=3D1,maxmem=3D976G', + '-display', 'none', + '-object', 'memory-backend-ram,id=3Dmem1,size=3D1= G', + '-device', 'pc-dimm,id=3Dvm0,memdev=3Dmem1') + self.vm.set_qmp_monitor(enabled=3DFalse) + self.vm.launch() + self.vm.wait() + self.assertEquals(self.vm.exitcode(), 1, "QEMU exit code should be= 1") + self.assertRegex(self.vm.get_log(), r'phys-bits too low') + + def test_phybits_ok_tcg_q35_70_amd(self): + """ + :avocado: tags=3Dmachine:q35 + :avocado: tags=3Darch:x86_64 + + Same as q35-7.0 AMD case except that here we check that QEMU can + successfully start when maxmem is < 988G. + """ + self.vm.add_args('-S', '-machine', 'pc-q35-7.0', '-m', + '512,slots=3D1,maxmem=3D987.5G', + '-display', 'none', + '-object', 'memory-backend-ram,id=3Dmem1,size=3D1= G', + '-device', 'pc-dimm,id=3Dvm0,memdev=3Dmem1') + self.vm.set_qmp_monitor(enabled=3DFalse) + self.vm.launch() + time.sleep(self.DELAY_Q35_BOOT_SEQUENCE) + self.vm.shutdown() + self.assertNotRegex(self.vm.get_log(), r'phys-bits too low') + + def test_phybits_ok_tcg_q35_71_amd(self): + """ + :avocado: tags=3Dmachine:q35 + :avocado: tags=3Darch:x86_64 + + Same as q35-7.1 AMD case except that here we check that QEMU can + successfully start when maxmem is < 976G. + """ + self.vm.add_args('-S', '-machine', 'pc-q35-7.1', '-m', + '512,slots=3D1,maxmem=3D975.5G', + '-display', 'none', + '-object', 'memory-backend-ram,id=3Dmem1,size=3D1= G', + '-device', 'pc-dimm,id=3Dvm0,memdev=3Dmem1') + self.vm.set_qmp_monitor(enabled=3DFalse) + self.vm.launch() + time.sleep(self.DELAY_Q35_BOOT_SEQUENCE) + self.vm.shutdown() + self.assertNotRegex(self.vm.get_log(), r'phys-bits too low') + + def test_phybits_ok_tcg_q35_71_intel(self): + """ + :avocado: tags=3Dmachine:q35 + :avocado: tags=3Darch:x86_64 + + Same parameters as test_phybits_low_tcg_q35_71_amd() but use + Intel cpu instead. QEMU should start fine in this case as + "above_4G" memory starts at 4G. + """ + self.vm.add_args('-S', '-cpu', 'Skylake-Server', + '-machine', 'pc-q35-7.1', '-m', + '512,slots=3D1,maxmem=3D976G', + '-display', 'none', + '-object', 'memory-backend-ram,id=3Dmem1,size=3D1= G', + '-device', 'pc-dimm,id=3Dvm0,memdev=3Dmem1') + self.vm.set_qmp_monitor(enabled=3DFalse) + self.vm.launch() + time.sleep(self.DELAY_Q35_BOOT_SEQUENCE) + self.vm.shutdown() + self.assertNotRegex(self.vm.get_log(), r'phys-bits too low') + + def test_phybits_low_tcg_q35_71_amd_41bits(self): + """ + :avocado: tags=3Dmachine:q35 + :avocado: tags=3Darch:x86_64 + + AMD processor with 41 bits. Max cpu hw address =3D 2 TiB. + By setting maxram above 1012 GiB - 32 GiB - 4 GiB =3D 976 GiB, we= can + force "above_4G" memory to start at 1 TiB for q35-7.1 machines + (max GPA will be above AMD_HT_START which is defined as 1012 GiB). + + With pci_64_hole size at 32 GiB, in this case, maxmem should be 99= 1.5 + GiB with 1 GiB per slot for alignment and 0.5 GiB as non-hotplug + memory for the VM (1024 - 32 - 1 + 0.5). With 992 GiB, QEMU should + fail to start. + """ + self.vm.add_args('-S', '-cpu', 'EPYC-v4,phys-bits=3D41', + '-machine', 'pc-q35-7.1', '-m', + '512,slots=3D1,maxmem=3D992G', + '-display', 'none', + '-object', 'memory-backend-ram,id=3Dmem1,size=3D1= G', + '-device', 'pc-dimm,id=3Dvm0,memdev=3Dmem1') + self.vm.set_qmp_monitor(enabled=3DFalse) + self.vm.launch() + self.vm.wait() + self.assertEquals(self.vm.exitcode(), 1, "QEMU exit code should be= 1") + self.assertRegex(self.vm.get_log(), r'phys-bits too low') + + def test_phybits_ok_tcg_q35_71_amd_41bits(self): + """ + :avocado: tags=3Dmachine:q35 + :avocado: tags=3Darch:x86_64 + + AMD processor with 41 bits. Max cpu hw address =3D 2 TiB. + Same as above but by setting maxram beween 976 GiB and 992 Gib, + QEMU should start fine. + """ + self.vm.add_args('-S', '-cpu', 'EPYC-v4,phys-bits=3D41', + '-machine', 'pc-q35-7.1', '-m', + '512,slots=3D1,maxmem=3D990G', + '-display', 'none', + '-object', 'memory-backend-ram,id=3Dmem1,size=3D1= G', + '-device', 'pc-dimm,id=3Dvm0,memdev=3Dmem1') + self.vm.set_qmp_monitor(enabled=3DFalse) + self.vm.launch() + time.sleep(self.DELAY_Q35_BOOT_SEQUENCE) + self.vm.shutdown() + self.assertNotRegex(self.vm.get_log(), r'phys-bits too low') + + def test_phybits_low_tcg_q35_intel_cxl(self): + """ + :avocado: tags=3Dmachine:q35 + :avocado: tags=3Darch:x86_64 + + cxl memory window starts after memory device range. Here, we use 1= GiB + of cxl window memory. 4G_mem end aligns at 4G. pci64_hole is 32 Gi= B and + starts after the cxl memory window. + So maxmem here should be at most 986 GiB considering all memory bo= undary + alignment constraints with 40 bits (1 TiB) of processor physical b= its. + """ + self.vm.add_args('-S', '-cpu', 'Skylake-Server,phys-bits=3D40', + '-machine', 'q35,cxl=3Don', '-m', + '512,slots=3D1,maxmem=3D987G', + '-display', 'none', + '-device', 'pxb-cxl,bus_nr=3D12,bus=3Dpcie.0,id= =3Dcxl.1', + '-M', 'cxl-fmw.0.targets.0=3Dcxl.1,cxl-fmw.0.size= =3D1G') + self.vm.set_qmp_monitor(enabled=3DFalse) + self.vm.launch() + self.vm.wait() + self.assertEquals(self.vm.exitcode(), 1, "QEMU exit code should be= 1") + self.assertRegex(self.vm.get_log(), r'phys-bits too low') + + def test_phybits_ok_tcg_q35_intel_cxl(self): + """ + :avocado: tags=3Dmachine:q35 + :avocado: tags=3Darch:x86_64 + + Same as above but here we do not reserve any cxl memory window. He= nce, + with the exact same parameters as above, QEMU should start fine ev= en + with cxl enabled. + """ + self.vm.add_args('-S', '-cpu', 'Skylake-Server,phys-bits=3D40', + '-machine', 'q35,cxl=3Don', '-m', + '512,slots=3D1,maxmem=3D987G', + '-display', 'none', + '-device', 'pxb-cxl,bus_nr=3D12,bus=3Dpcie.0,id= =3Dcxl.1') + self.vm.set_qmp_monitor(enabled=3DFalse) + self.vm.launch() + time.sleep(self.DELAY_Q35_BOOT_SEQUENCE) + self.vm.shutdown() + self.assertNotRegex(self.vm.get_log(), r'phys-bits too low') --=20 2.41.0 From nobody Wed Nov 27 07:26:29 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1699899557; cv=none; d=zohomail.com; s=zohoarc; b=OqhPMQZYv5qxerrJMi/fTVcbkrsNEs1W4O7lpd82wzDqbJKzdH5O82/9ett8zor10jbVWGkL03RPyhpy8c9D5Nd6+Eqcp8y82vAQkRc9FaqfqlSfmitluEWfXoAx7zb3jqzk59npTK1o6i4povLcJMDJ125P/8i6c4m9AVWauWk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1699899557; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=ifmwVFTsAvMvKqxRkmI19PrzZdtj10CaHWbOV7iF2UM=; b=XgOO67S/f9/xelc8/mCMLgB4Ji5KhfR/HrtQcGw33ClQi60FcsuEDJ7ceBw+d6YXxenWxubJhEoXqrfAwnyOeiQwiPBOSXsHXc6BwC8iqWDhBpWCnsQJ0kqIG+StBUL0jQ5WLmiDtSqdy6lNgTVeGbH7pMDj0m4gAsatWGrHHzw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 169989955731732.43878598334186; Mon, 13 Nov 2023 10:19:17 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2bVm-0007se-1z; Mon, 13 Nov 2023 13:18:14 -0500 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 1r2bVk-0007oJ-SW for qemu-devel@nongnu.org; Mon, 13 Nov 2023 13:18:12 -0500 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r2bVj-0000YO-3B for qemu-devel@nongnu.org; Mon, 13 Nov 2023 13:18:12 -0500 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-9d242846194so701585666b.1 for ; Mon, 13 Nov 2023 10:18:10 -0800 (PST) Received: from m1x-phil.lan ([176.164.221.204]) by smtp.gmail.com with ESMTPSA id c20-20020a17090603d400b009e61366a4c3sm4360438eja.2.2023.11.13.10.18.08 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 13 Nov 2023 10:18:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699899489; x=1700504289; 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=ifmwVFTsAvMvKqxRkmI19PrzZdtj10CaHWbOV7iF2UM=; b=yveT8bMvDHIiLC1ZYPXtGqeGPHOCOe3BuiWCyNf0X0GoajGhMGYu9bkODvwfX6+q17 UatPOYtq1+xuA37CWWWsL3LPMN92KiABbs3nOODRqBDIF032XvHrGFM+hMWOP3fZ0ZeQ iPuSL2wMafp8jt6z5+CoFg2dIGwycuIQGNxVdigd76BhQNUI3ccXUmvbQ9poG9SINfLG rA2ERB7A8eCqUtixP1aofvmVnFpd7sb+5nHFGfTSdLhauu92XFrM+q17AUOC71F3uPVS XfLY6F4P0UltDS0FfX1w9CiuxfgcFSIEc5CPyh8711s6e6G97lnmK8wwK7FyksF08U+N v2QQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699899489; x=1700504289; 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=ifmwVFTsAvMvKqxRkmI19PrzZdtj10CaHWbOV7iF2UM=; b=v1PuTuI8wxhwttTp+TiFHJJTXz9hDQHuRYGkVbMLEB7z2SPDaPQz+zB+7GQrhHHA7z x9ROjcUi44Twi8lnyBS58XMBQhQ1oFeG+bzQBdV5/iSMQbd7Cbl2C+qeFdtQdhiUGiNi Ig0T02CTX+gKpLczUs7AdnR3jU+cjl9OSqIcibuUGSDrT6qI5OkamBg9Z/4yyK2JqCAW 0YnCmlMlFxQRsEM5X+tI22p1qDxO7lpDWF+Y++HFURbpg/gKBY4O80xY7woI9J31Dsi4 giJ19QgwVZ0rHiKAnGWhuhUJ8zIr1dQAHCmEWIQ2DC6ivDuzGwc8oJYzhFE7CBWmfcQ3 vnXg== X-Gm-Message-State: AOJu0Yz8y4x4wpg/CDfjZ4J0nVRUHAJAdv/JnEoBKIjZCRZg+U+kQSnY 9oiVTNrMGiBCqdo98RdWYpUXyrNRjA0nOojb9tA= X-Google-Smtp-Source: AGHT+IGPmybe8o3HgF7f1mhXfaC50/beUnQMwcff9JZYOX/6TUqX5Ghc1F/m6sMXbGpyl3wQpNuQGA== X-Received: by 2002:a17:906:268b:b0:9e6:59d5:820d with SMTP id t11-20020a170906268b00b009e659d5820dmr5255342ejc.2.1699899489669; Mon, 13 Nov 2023 10:18:09 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Halil Pasic , Christian Borntraeger , Eric Farman , Cleber Rosa , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PULL 4/5] tests/avocado/machine_s390_ccw_virtio.py: Fix SyntaxWarnings from python 3.12 Date: Mon, 13 Nov 2023 19:17:43 +0100 Message-ID: <20231113181744.49537-5-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231113181744.49537-1-philmd@linaro.org> References: <20231113181744.49537-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=philmd@linaro.org; helo=mail-ej1-x632.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, T_SCC_BODY_TEXT_LINE=-0.01 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1699899558081100003 From: Thomas Huth Python 3.12 now warns about backslashes in strings that aren't used for escaping a special character from Python. Silence the warning by using raw strings here instead. Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-ID: <20231113140721.46903-1-thuth@redhat.com> Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- tests/avocado/machine_s390_ccw_virtio.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/avocado/machine_s390_ccw_virtio.py b/tests/avocado/machi= ne_s390_ccw_virtio.py index e1f493bc44..ffd914ded9 100644 --- a/tests/avocado/machine_s390_ccw_virtio.py +++ b/tests/avocado/machine_s390_ccw_virtio.py @@ -36,8 +36,8 @@ def wait_for_crw_reports(self): dmesg_clear_count =3D 1 def clear_guest_dmesg(self): exec_command_and_wait_for_pattern(self, 'dmesg -c > /dev/null; ' - 'echo dm_clear\ ' + str(self.dmesg_clear_count), - 'dm_clear ' + str(self.dmesg_clear_count)) + r'echo dm_clear\ ' + str(self.dmesg_clear_count), + r'dm_clear ' + str(self.dmesg_clear_count)) self.dmesg_clear_count +=3D 1 =20 def test_s390x_devices(self): @@ -121,15 +121,15 @@ def test_s390x_devices(self): 'cat /sys/bus/ccw/devices/0.1.1111/cut= ype', '3832/01') exec_command_and_wait_for_pattern(self, - 'cat /sys/bus/pci/devices/0005\:00\:00.0/subsystem_ven= dor', - '0x1af4') + r'cat /sys/bus/pci/devices/0005\:00\:00.0/subsystem_ve= ndor', + r'0x1af4') exec_command_and_wait_for_pattern(self, - 'cat /sys/bus/pci/devices/0005\:00\:00.0/subsystem_dev= ice', - '0x0001') + r'cat /sys/bus/pci/devices/0005\:00\:00.0/subsystem_de= vice', + r'0x0001') # check fid propagation exec_command_and_wait_for_pattern(self, - 'cat /sys/bus/pci/devices/000a\:00\:00.0/function_= id', - '0x0000000c') + r'cat /sys/bus/pci/devices/000a\:00\:00.0/function_id', + r'0x0000000c') # add another device self.clear_guest_dmesg() self.vm.cmd('device_add', driver=3D'virtio-net-ccw', @@ -235,7 +235,7 @@ def test_s390x_fedora(self): 'while ! (dmesg | grep gpudrmfb) ; do sleep 1 ; do= ne', 'virtio_gpudrmfb frame buffer device') exec_command_and_wait_for_pattern(self, - 'echo -e "\e[?25l" > /dev/tty0', ':/#') + r'echo -e "\e[?25l" > /dev/tty0', ':/#') exec_command_and_wait_for_pattern(self, 'for ((i=3D0;i<250;i++= )); do ' 'echo " The qu ick fo x j ump s o ver a laz y d og" >>= fox.txt;' 'done', --=20 2.41.0 From nobody Wed Nov 27 07:26:29 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1699899547; cv=none; d=zohomail.com; s=zohoarc; b=J9rUMtWJrwIdE94pbpIDInJavx7FwGP7dV3yQyjqOFF0nCtn1yCJmVZzVvE1SxCui446f8bmpRVitR7QcyzLNjxLOTauy2PCBqZbN7hmDYWhK0IwYgtlcaLh5GVw8Pbafu9b28BPFHUbCjAmqR52nCDyiVp3zdeaTFrtQOY2/zc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1699899547; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=lf1rwmHWhRIdzPASs5If2b7PrmSQYo/bsdIg+fGMWc0=; b=AgTWBKL6nlzZKvodWKwhqsrpMzABViUNH9807C0yBDFF477O3bjGmavggjJmt/22LDtRlc+RRq9OqQzy9Oiko/7EYtW5mw7lneDKHYpF3HBvq3WSQCREzBAprbY2vGIxcFP4nHrXgjV8t+G9UIaIF5m3MJmPk0yMC0Zv1gNQ/LQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1699899547503407.7673587647122; Mon, 13 Nov 2023 10:19:07 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2bVt-00085j-CM; Mon, 13 Nov 2023 13:18:21 -0500 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 1r2bVr-00080n-Gf for qemu-devel@nongnu.org; Mon, 13 Nov 2023 13:18:19 -0500 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r2bVp-0000ZY-AR for qemu-devel@nongnu.org; Mon, 13 Nov 2023 13:18:19 -0500 Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-507cee17b00so6297718e87.2 for ; Mon, 13 Nov 2023 10:18:16 -0800 (PST) Received: from m1x-phil.lan ([176.164.221.204]) by smtp.gmail.com with ESMTPSA id h12-20020a17090634cc00b009e6165226absm4375853ejb.108.2023.11.13.10.18.14 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 13 Nov 2023 10:18:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699899495; x=1700504295; 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=lf1rwmHWhRIdzPASs5If2b7PrmSQYo/bsdIg+fGMWc0=; b=AWRfajKqBZeatVfMxmCpqy2Ie1q9evejcNFi727rFYllNB7oOrg4jTUV19KocudYlF ei09wXMdbcWKHYK/sWqqjLh7Yo/lk2k7Tp0QL79KyaeLjROxCjA++BvunMPRyZMsUJGs w0nDy7+HiGIQFd1js+ulVhMa35LfgvElo+6vvIHK163H8TwHN/0kJSs+k/k1BCZ2k3xK tYILwhr2sv5TrVd5zegP0ifunqgWgRwTnExeHrgxErDxE+PpeYtJKTW+hXFu3J4FLsdj woTrFuHZMh/OCDVnYMQRxWBrkxvz5rxvmOA+XMT/TLPeXluufbIlDJvabQZOVvR2hjpO Cxhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699899495; x=1700504295; 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=lf1rwmHWhRIdzPASs5If2b7PrmSQYo/bsdIg+fGMWc0=; b=v4JnWdU5WIzKfkR8kb9AX9A02XQd8oBCXnuNgmPS/RVchwhbEMEVECJsfOdwwcXfnc RNUzmU1MPoI2JsizOCD2L903YgKhP6MNju6BglrfhUFmb8YOxW5MUrMSQqk2kHagzMpS 3KRjIp55q8GF5LzvjhN3Z2p+QhkDJV0ugE66OEdDitHPZn7952h/r89qviCtqAHOrT1y 1Fgi/h6JU2tXTj5xAvcJxByE+LZGSTcz6sCI+lfagy8zlw8mXsz0DaBZkxnxCRdPWGHp R3SPSi5hqvNKpeJEOyJAKHmkpd+Ytu/KYSIiwK2t1CRYET9Bo0eL19xFX87VeeO8vtFz 2Qhw== X-Gm-Message-State: AOJu0YzyVUDGFTjSYeLyXKJ5RZPtIw87Ol2CB9fD+ATixRe9h+Rtvash Mct0W9BpYnqCuz1JfNZpUdf1bb12UhwlgKIqSO4= X-Google-Smtp-Source: AGHT+IETinKtkFCrBIqvOUyeQgI0sY/iJzZp3ZNQGaS6rXBjgAarOzkPkME4UZtkqjbga5AGu5z07g== X-Received: by 2002:a05:6512:3ca5:b0:509:30d4:ea92 with SMTP id h37-20020a0565123ca500b0050930d4ea92mr6304407lfv.52.1699899495310; Mon, 13 Nov 2023 10:18:15 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, Stefan Hajnoczi , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Vivek Goyal , German Maglione , Hanna Czenczek Subject: [PULL 5/5] MAINTAINERS: update virtio-fs mailing list address Date: Mon, 13 Nov 2023 19:17:44 +0100 Message-ID: <20231113181744.49537-6-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231113181744.49537-1-philmd@linaro.org> References: <20231113181744.49537-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=philmd@linaro.org; helo=mail-lf1-x133.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1699899548096100001 From: Stefan Hajnoczi The old virtio-fs mailing list address is no longer in use. Switch to the new mailing list address. Cc: Philippe Mathieu-Daud=C3=A9 Cc: Vivek Goyal Cc: German Maglione Cc: Hanna Czenczek Signed-off-by: Stefan Hajnoczi Reviewed-by: German Maglione Message-ID: <20231111004920.148348-1-stefanha@redhat.com> Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index e73a3ff544..c52df9f76c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2241,7 +2241,7 @@ M: Stefan Hajnoczi S: Supported F: hw/virtio/vhost-user-fs* F: include/hw/virtio/vhost-user-fs.h -L: virtio-fs@redhat.com +L: virtio-fs@lists.linux.dev =20 virtio-input M: Gerd Hoffmann --=20 2.41.0