From patchwork Wed Jan 31 11:55:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 768481 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1818148wro; Wed, 31 Jan 2024 03:56:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IG+jfrBN5PMmM7zQgRSPanaYrL4m6/dp6cMAzimNhUkWl/pebGX9cvxHQjCPlFbQFYHb1kS X-Received: by 2002:a05:620a:51d2:b0:783:8046:7b73 with SMTP id cx18-20020a05620a51d200b0078380467b73mr1126404qkb.20.1706702205864; Wed, 31 Jan 2024 03:56:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706702205; cv=none; d=google.com; s=arc-20160816; b=FSPAUqdYbo2mdEpkq89gW33tnQ4l+kej1/ymR0NBZFjrhfXFGCCu71NmM2ilS6VAvU U2iJ6AHR0f0RAs9k2tUI4SzSv9W4sacd8SfwCmEoZR1gLcTaBXMcyZutIzU9JGHCqQMp PxuvZmkXhhnlPHG7uBwc2gEq38Xdv/tNzyDhJ5y5HmTWYNaIBGiNBQuRnomH2/9quatG Ham/jfZ99Dq3tCoxkLbpfvOap1/D8WBFERnQXIZ/PP1GFvukcHXSa1cHlLClHiuotGEf c2Kgp+aI5J8ZVH0VsKZ3r3OGngFb6qrjrn3fsSow7ghUrkE2NmIHEdYqG80pUzMjhJAo qPow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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; bh=aNakXnhq9YCkvuRiC/jfho1twcJ/WenaT69cUjzl/7s=; fh=3FchmgD7WbzzvE5TnqJM+wXhJIEghfBgG5DKjtgGftw=; b=sZqsoZC7blXlL5gn807pexW53Ze8vj3CSTN0UFHscBnfz0Z8u7bf0xBYxVMdRjN8yM zIeXLq/VytR7mbWmh3GdVedOujfP+XTu+LmpoeV3yYjy0Eq48071ddam1b19A/TpyhrQ bTqlL4krUvqKo+5PUwRZkk2T9kB/YykcT8pgQju4HWO2lGIKy5pF0zEa8JenANGx1F6N 020tE4C0BqxuiwFbwFdNLhcre+zQIqPCE0UCEvRgmyrbOLPoO2UDMt7AyjzPvdJAV4VR CnLlrPUhj74ZbAcIFRcUDHhDOkvndQUxkx6f651Qu9HAYNtNertNKT+2DMG3x0FKzu8W nw/g==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; 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" X-Forwarded-Encrypted: i=0; AJvYcCXDyR+jQsn3EnXO97wdg28dxXF9OalKmTQn12eSj17OdVJH26DeIT3Xtrq+DB7qIYBuT0knc+1akJphvZ6iubfd Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ou16-20020a05620a621000b007833cd150c0si5606298qkn.200.2024.01.31.03.56.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jan 2024 03:56:45 -0800 (PST) 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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rV9CF-0008Ex-2t; Wed, 31 Jan 2024 06:56:03 -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 1rV9CD-0008ED-QU; Wed, 31 Jan 2024 06:56:01 -0500 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV9CC-0003vf-7t; Wed, 31 Jan 2024 06:56:01 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 08783490C3; Wed, 31 Jan 2024 14:56:47 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id 3E8197026C; Wed, 31 Jan 2024 14:55:50 +0300 (MSK) Received: (nullmailer pid 2263927 invoked by uid 1000); Wed, 31 Jan 2024 11:55:49 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 05/21] mailmap: Fix Stefan Weil email Date: Wed, 31 Jan 2024 14:55:33 +0300 Message-Id: <20240131115549.2263854-6-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131115549.2263854-1-mjt@tls.msk.ru> References: <20240131115549.2263854-1-mjt@tls.msk.ru> MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé Commit 5204b499a6 ("mailmap: Fix Stefan Weil author email") corrected authorship for patch received at qemu-devel@nongnu.org, correct now for patch received at qemu-trivial@nongnu.org. Update other authorship email for Stefan's commits. Suggested-by: Stefan Weil Fixes: d819fc9516 ("virtio-blk: Fix potential nullptr read access") Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Michael Tokarev --- .mailmap | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.mailmap b/.mailmap index d94572af05..88fb68143e 100644 --- a/.mailmap +++ b/.mailmap @@ -36,6 +36,8 @@ Marek Dolata mkdolata@us.ibm.com Michael Ellerman michael@ozlabs.org Nick Hudson hnick@vmware.com Timothée Cocault timothee.cocault@gmail.com +Stefan Weil +Stefan Weil Stefan Weil # There is also a: # (no author) <(no author)@c046a42c-6fe2-441c-8c8c-71466251a162> @@ -60,6 +62,7 @@ Ian McKellar Ian McKellar via Qemu-devel Julia Suvorova via Qemu-devel Justin Terry (VM) Justin Terry (VM) via Qemu-devel Stefan Weil Stefan Weil via +Stefan Weil Stefan Weil via Andrey Drobyshev Andrey Drobyshev via BALATON Zoltan BALATON Zoltan via @@ -98,6 +101,7 @@ Philippe Mathieu-Daudé Philippe Mathieu-Daudé Roman Bolshakov Stefan Brankovic +Stefan Weil Stefan Weil Taylor Simpson Yongbok Kim From patchwork Wed Jan 31 11:55:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 768480 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1818133wro; Wed, 31 Jan 2024 03:56:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IFDrYkx5ImNjLFCim0r6+gpBS8jw9/1mGAETtG3Or+/Sgiqx2JP+CwWfq/8WnZm9jDgoyrz X-Received: by 2002:a05:620a:13f7:b0:783:fbce:b30f with SMTP id h23-20020a05620a13f700b00783fbceb30fmr1261556qkl.40.1706702203604; Wed, 31 Jan 2024 03:56:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706702203; cv=none; d=google.com; s=arc-20160816; b=q4hbVjb14EnLmhjSZVSMsCrZ69uHrE3LNFGhbj1BTTGaKpyqTpyFT3ZKvuLB6VHHD2 ZhJ9OtbAw9MePBJaQGr6W96BzgBmumfGba+GW//TCkMc3POm7zVkJ457uzOp9jEo0Lec tYZlJHYDoBYC7ORayR+eMs+3Gf6264YCIuLuQgn6IabgDfCl3DXzxFaOwpOFe0ogP9Fk z1GySnn04A/CemZzxn1i6lxbtmWGd/CXNwZjFmyja+C7pqmZnJA3q6WZkTRki+JW+E0Q OjsY4u8b2+bKd3HAVOz8HhTncp9Z9Ii2cdSFEKjpiZreGILgWefoVXYFe0LDK0E6ANRn P6yA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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; bh=7gze4t9fjRFyXwa3TtpFjjPqTL6zgRqlJq/hW7ytApc=; fh=gUk/r1sGTiF/z8IKW5w14A5pn2A348247W8q078dpi0=; b=szq1THFSUJPrT//u7eoZKFB9porG/hQBFQ+4LlDUn3tm7qRSQ0Ao8AtDekiakPoUJI c5w/ZDFuH4O7AR2GbnAP8p2RTHoy99nDKN+iGOuU6TTv8yjtyNhffxvBx8RbRsDw+N89 35WSdzR43q4uZZLBuoBM15udQ5H5eN5xYpOWxR67Si0uy9LnQwcPlhkDbfMvMBuVgG1z 8PYlfwm8xmt93lVT7eu5CoL9gRGqZsV4gXA3tNSVHBs/f7Jpnh7NQVh0WBf/OUekN8zG DQ5aLPukOEEetN42G/GWludqisl00BSM+r9GJi38JB2uerNLn5gNF5EK5FWBIpdfrekr V8rg==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; 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" X-Forwarded-Encrypted: i=0; AJvYcCXZHRRCBBD3H9qAskL49BllTcpaoS4v40A/Bls7c+DlKHVqYTO4e2SCg/9oVK39pt8/QJKgI6cx4qIZG4/hGHoX Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a21-20020a05620a439500b00783fdde5670si7430458qkp.389.2024.01.31.03.56.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jan 2024 03:56:43 -0800 (PST) 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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rV9CH-0008Fr-RR; Wed, 31 Jan 2024 06:56:05 -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 1rV9CG-0008F1-Cu; Wed, 31 Jan 2024 06:56:04 -0500 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV9CD-0003w7-S8; Wed, 31 Jan 2024 06:56:03 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 16FA8490C4; Wed, 31 Jan 2024 14:56:47 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id 4D6207026D; Wed, 31 Jan 2024 14:55:50 +0300 (MSK) Received: (nullmailer pid 2263930 invoked by uid 1000); Wed, 31 Jan 2024 11:55:49 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 06/21] scripts/clean-includes: Update exclude list Date: Wed, 31 Jan 2024 14:55:34 +0300 Message-Id: <20240131115549.2263854-7-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131115549.2263854-1-mjt@tls.msk.ru> References: <20240131115549.2263854-1-mjt@tls.msk.ru> MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Peter Maydell Update the exclude list to exclude some more files which don't follow our standard #include policy. Signed-off-by: Peter Maydell Signed-off-by: Michael Tokarev --- scripts/clean-includes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/clean-includes b/scripts/clean-includes index 58e1607a82..bdbf404024 100755 --- a/scripts/clean-includes +++ b/scripts/clean-includes @@ -51,7 +51,7 @@ GIT=no DUPHEAD=no # Extended regular expression defining files to ignore when using --all -XDIRREGEX='^(tests/tcg|tests/multiboot|pc-bios)' +XDIRREGEX='^(tests/tcg|tests/multiboot|tests/fp|tests/plugin|tests/uefi-test-tools|pc-bios|subprojects|contrib/plugins|tools/ebpf|ebpf/rss.bpf.skeleton.h|linux-user/(mips64|x86_64)/(cpu_loop|signal).c)' while true do From patchwork Wed Jan 31 11:55:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 768490 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1819490wro; Wed, 31 Jan 2024 04:00:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEiAvzn/x9b9AN/+JJZlOj9sc0XS4gyKPVbig/wnng2T5bedrxPPc7OLy36JUTuKsMVGKGW X-Received: by 2002:ae9:ee19:0:b0:785:22d2:fbb2 with SMTP id i25-20020ae9ee19000000b0078522d2fbb2mr1024555qkg.10.1706702450617; Wed, 31 Jan 2024 04:00:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706702450; cv=none; d=google.com; s=arc-20160816; b=OoECt76RMvhTs+ywu7No5qtSmuR8CZpd8NrzqRNLdjAayH7NamZEFOWC1ol1tlopOk 46Yck68P9jLfXqhm8KkeLYIf+cPMIjoSc4Yk4vSzupMwQX37vx8ZWLk3DICL7YjLMiRv iI/gIGUJq8mB/3wgbzUmYQvzViGGlVDcF9NgZIFTXKS+c0jj4svJor9e7i4oTNyXrMtn ze95px0KxCCCXHc2ZKOHi8SGoIxJg16ESMT6liTJ9cIBYbGfDRypJ/0vhMWbEQCrZpHt SaueG/qk56Sv6yHrtHTVFZbxYpqRnmbMu+q2oQDTpvCNGiLaIurY67xzulO8Wd/W3WiS PO/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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; bh=GTdQ2iAQjzN4DKenulexvLEPXg3ZNZzM0pmWA08H3OY=; fh=x+w6Zr88JKuH34NQi/lJsuDgT+iEPr5Mt3FVdDPlmHw=; b=bJmv70ArDOpbKwIiIalkBSbTAYJuscIo4aZzIov42VFVrDjzmqDOAdu7e3Bj5zqJxK oEKwqldDOATQmNXQrLWIkdUf3PygRucngMhQoTaJmv+9/XgowqC/5UDeJfDZe3aSoubx b+si7TAs4Jx30KpEBtcdqr/M5nRtzgSck5W4duXjA89lYXKgUaqygBpTpmlPcaotCvQ9 vId1BirIxj25ao9HsjIXJap/NDHv/CAIzCnI9RQG1Mxu7TfuBXGWG/wnv/pJHr76/KGi qU4SQyfoCns0CLqhZrW2biDb7q2HjlxuE4fW7oP4n3Fy0DHGKhn2L8ITcDmVYenIizy4 hLsg==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; 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" X-Forwarded-Encrypted: i=0; AJvYcCVfE+5euM8x7mN2Hpjm/8qXusx7MCzkTlev7eU6TkLNY3zvhLG+DHv6PuYLEN9ApO1dK3bNXzp8DvqAdkVYFlMR Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id dz1-20020a05620a2b8100b0078402036e82si6110240qkb.747.2024.01.31.04.00.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jan 2024 04:00:50 -0800 (PST) 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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rV9Ce-0000Tp-EE; Wed, 31 Jan 2024 06:56:28 -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 1rV9CU-0000B2-0p; Wed, 31 Jan 2024 06:56:19 -0500 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV9CF-0003wN-5L; Wed, 31 Jan 2024 06:56:16 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 320E4490C5; Wed, 31 Jan 2024 14:56:47 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id 5BE8F7026E; Wed, 31 Jan 2024 14:55:50 +0300 (MSK) Received: (nullmailer pid 2263933 invoked by uid 1000); Wed, 31 Jan 2024 11:55:49 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 07/21] hyperv: Clean up includes Date: Wed, 31 Jan 2024 14:55:35 +0300 Message-Id: <20240131115549.2263854-8-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131115549.2263854-1-mjt@tls.msk.ru> References: <20240131115549.2263854-1-mjt@tls.msk.ru> MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Peter Maydell This commit was created with scripts/clean-includes: ./scripts/clean-includes --git hyperv hw/hyperv/*.[ch] All .c should include qemu/osdep.h first. The script performs three related cleanups: * Ensure .c files include qemu/osdep.h first. * Including it in a .h is redundant, since the .c already includes it. Drop such inclusions. * Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too. Signed-off-by: Peter Maydell Reviewed-by: Zhao Liu Reviewed-by: Richard Henderson Signed-off-by: Michael Tokarev --- hw/hyperv/hv-balloon-internal.h | 1 - hw/hyperv/hv-balloon-our_range_memslots.c | 1 + hw/hyperv/hv-balloon-our_range_memslots.h | 1 - hw/hyperv/hv-balloon-page_range_tree.c | 1 + hw/hyperv/hv-balloon-page_range_tree.h | 1 - hw/hyperv/hv-balloon.c | 1 + 6 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/hyperv/hv-balloon-internal.h b/hw/hyperv/hv-balloon-internal.h index 164c2e5825..ee53a28a26 100644 --- a/hw/hyperv/hv-balloon-internal.h +++ b/hw/hyperv/hv-balloon-internal.h @@ -10,7 +10,6 @@ #ifndef HW_HYPERV_HV_BALLOON_INTERNAL_H #define HW_HYPERV_HV_BALLOON_INTERNAL_H -#include "qemu/osdep.h" #define HV_BALLOON_PFN_SHIFT 12 #define HV_BALLOON_PAGE_SIZE (1 << HV_BALLOON_PFN_SHIFT) diff --git a/hw/hyperv/hv-balloon-our_range_memslots.c b/hw/hyperv/hv-balloon-our_range_memslots.c index 99bae870f3..1505a395cf 100644 --- a/hw/hyperv/hv-balloon-our_range_memslots.c +++ b/hw/hyperv/hv-balloon-our_range_memslots.c @@ -7,6 +7,7 @@ * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "hv-balloon-internal.h" #include "hv-balloon-our_range_memslots.h" #include "trace.h" diff --git a/hw/hyperv/hv-balloon-our_range_memslots.h b/hw/hyperv/hv-balloon-our_range_memslots.h index b6f592d34b..df3b686bc7 100644 --- a/hw/hyperv/hv-balloon-our_range_memslots.h +++ b/hw/hyperv/hv-balloon-our_range_memslots.h @@ -10,7 +10,6 @@ #ifndef HW_HYPERV_HV_BALLOON_OUR_RANGE_MEMSLOTS_H #define HW_HYPERV_HV_BALLOON_OUR_RANGE_MEMSLOTS_H -#include "qemu/osdep.h" #include "exec/memory.h" #include "qom/object.h" diff --git a/hw/hyperv/hv-balloon-page_range_tree.c b/hw/hyperv/hv-balloon-page_range_tree.c index e178d8b413..dfb14852f4 100644 --- a/hw/hyperv/hv-balloon-page_range_tree.c +++ b/hw/hyperv/hv-balloon-page_range_tree.c @@ -7,6 +7,7 @@ * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "hv-balloon-internal.h" #include "hv-balloon-page_range_tree.h" diff --git a/hw/hyperv/hv-balloon-page_range_tree.h b/hw/hyperv/hv-balloon-page_range_tree.h index 07a9ae0da6..333772b86d 100644 --- a/hw/hyperv/hv-balloon-page_range_tree.h +++ b/hw/hyperv/hv-balloon-page_range_tree.h @@ -10,7 +10,6 @@ #ifndef HW_HYPERV_HV_BALLOON_PAGE_RANGE_TREE_H #define HW_HYPERV_HV_BALLOON_PAGE_RANGE_TREE_H -#include "qemu/osdep.h" /* PageRange */ typedef struct PageRange { diff --git a/hw/hyperv/hv-balloon.c b/hw/hyperv/hv-balloon.c index 66f297c1d7..0238365712 100644 --- a/hw/hyperv/hv-balloon.c +++ b/hw/hyperv/hv-balloon.c @@ -7,6 +7,7 @@ * See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" #include "hv-balloon-internal.h" #include "exec/address-spaces.h" From patchwork Wed Jan 31 11:55:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 768487 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1819113wro; Wed, 31 Jan 2024 04:00:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFkfY6+ECCKsKrVZ2oMwP9iTJabAd4sfJvZuorrC3h3T7SCFWYwgT9w60EX4e/skPaQOjTY X-Received: by 2002:a05:6214:e81:b0:68c:72f2:44e9 with SMTP id hf1-20020a0562140e8100b0068c72f244e9mr280538qvb.49.1706702410905; Wed, 31 Jan 2024 04:00:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706702410; cv=none; d=google.com; s=arc-20160816; b=XXAyk6msZJ7bo56CY8uNATQNUglsFiO2ZU7WYfLeQC8dCzSS7qwlnxNgX+zkvPNoMv 5s751XpgJS3ihX8iMEmnVRYsGEAbX0028YJGKoC5ognF+oPGbt+bLWs7UgHYMGWzCPWa 17DmcqKSSYIZ63J3WfcnfzADj5Bgf9Fjd4c8ZVycxWlPdBhZq2yEQxKiBEL45Uzpf4FI O6GsR0czkjqvX/RMt6IaHL3SWVcT6K5n5YSO6e6a9lGYRMHhvcyYnDQSB+DymrFPRhu5 s5Av7FMVGgUN8C0+D68ytGANdwgvvQ9PmAfnVjP2sZ5xFnaflHaj+crkETW+v0dV1cO7 +CMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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; bh=6ZMUUKdTs/af8MFt+YZ9cWBk4sWTG8f8xeNT163kjEU=; fh=OR20w+Wj1ZKq3M9NSLnfIVrPAY4Tx8tshEtNuklVjzo=; b=eT2JcRF1dG+W9CkqqphniEs4s0qp2XRAqmbDCg0zhIiY9NWE851DeuMmfSBBlit+V+ Kosa7fo0yebcflC9es+wxDD9lAy/eVqbbzMnwUKIw+ZBpEJJReKwlNHJymDcBCUPNnuK WeywULp/CtwVAdRO0LuK9TqE8lkZVmO6QYLykpF7WWOabGojXJqEfqg6ZNTriVfS5ZBx UQsdBCafwCv1C9ZyIVHOZLOuL1R18gde0A5RIT4qKcX5M4l2cTPu6UmcOrTIFC+g+GHG dSRPt7Rnrsp2ISltiDdaVWbGVic8+rYKHz32W2mW9bGbdU1CgaQ/wk6lr/qdP43sOzIQ 8e9w==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; 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" X-Forwarded-Encrypted: i=0; AJvYcCU6TcwBqb4rscYCGUjnOE8kpVSyUvBFThL7fveS/Vf8CLoUlLIbkxLMCMfI1CT/YU1nFkk2jD9zyBrljiYlvgNR Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id kk15-20020a056214508f00b0068453fd0eadsi7046846qvb.5.2024.01.31.04.00.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jan 2024 04:00:10 -0800 (PST) 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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rV9CJ-0008GV-Cr; Wed, 31 Jan 2024 06:56:07 -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 1rV9CI-0008GI-Bn; Wed, 31 Jan 2024 06:56:06 -0500 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV9CG-0003we-OR; Wed, 31 Jan 2024 06:56:06 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 401D9490C6; Wed, 31 Jan 2024 14:56:47 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id 76E9C7026F; Wed, 31 Jan 2024 14:55:50 +0300 (MSK) Received: (nullmailer pid 2263936 invoked by uid 1000); Wed, 31 Jan 2024 11:55:49 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 08/21] disas/riscv: Clean up includes Date: Wed, 31 Jan 2024 14:55:36 +0300 Message-Id: <20240131115549.2263854-9-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131115549.2263854-1-mjt@tls.msk.ru> References: <20240131115549.2263854-1-mjt@tls.msk.ru> MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Peter Maydell This commit was created with scripts/clean-includes: ./scripts/clean-includes --git disas/riscv disas/riscv*[ch] All .c should include qemu/osdep.h first. The script performs three related cleanups: * Ensure .c files include qemu/osdep.h first. * Including it in a .h is redundant, since the .c already includes it. Drop such inclusions. * Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Zhao Liu Reviewed-by: Richard Henderson Signed-off-by: Michael Tokarev --- disas/riscv-xthead.c | 1 + disas/riscv-xventana.c | 1 + disas/riscv.h | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/disas/riscv-xthead.c b/disas/riscv-xthead.c index 99da679d16..fcca326d1c 100644 --- a/disas/riscv-xthead.c +++ b/disas/riscv-xthead.c @@ -4,6 +4,7 @@ * SPDX-License-Identifier: GPL-2.0-or-later */ +#include "qemu/osdep.h" #include "disas/riscv.h" #include "disas/riscv-xthead.h" diff --git a/disas/riscv-xventana.c b/disas/riscv-xventana.c index a0224d1fb3..cd694f15f3 100644 --- a/disas/riscv-xventana.c +++ b/disas/riscv-xventana.c @@ -4,6 +4,7 @@ * SPDX-License-Identifier: GPL-2.0-or-later */ +#include "qemu/osdep.h" #include "disas/riscv.h" #include "disas/riscv-xventana.h" diff --git a/disas/riscv.h b/disas/riscv.h index 19e5ed2ce6..16a08e4895 100644 --- a/disas/riscv.h +++ b/disas/riscv.h @@ -7,7 +7,6 @@ #ifndef DISAS_RISCV_H #define DISAS_RISCV_H -#include "qemu/osdep.h" #include "target/riscv/cpu_cfg.h" /* types */ From patchwork Wed Jan 31 11:55:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 768492 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1819973wro; Wed, 31 Jan 2024 04:01:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IH6by0w1vJmg7RNOo+ga8thJqPKiR9aStXwhUWBOFHIcoBgUASD6mtLRkQdk8ovsR9io+aR X-Received: by 2002:a05:620a:1135:b0:783:daad:3fea with SMTP id p21-20020a05620a113500b00783daad3feamr1182141qkk.9.1706702496243; Wed, 31 Jan 2024 04:01:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706702496; cv=none; d=google.com; s=arc-20160816; b=F+TX0JSa+nIoRDlWLIlFvKCSnwQIKqckKi0JJw8HAa0lwQfaNhvfqM6G6wQHGmmS6G Ua2vALgeVcTw8hD2gX8QZW2+fyiDs5xx9VXd39NT50xmROOnQn/9A7X4mz+rkpiDE/ZW Sf+kWnkJc3V2D23aF3LftinvX1fovKH02kZtPh1+DIUKEM27a+Jpzyt7E4x6Ftc6ohel tS3JKPRc2zm6U/eKmC76JvLRJiieOh6fR3Q8MXejvgwxetJqDZUd7cf2JLgolm+cpSPm wyV0CumLgmDKkgQPUW6sNrG/iX1sL7r/YIvmdwTNoIajXbQaCrxVdi0APrf+rQvcu0u/ IQdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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; bh=D9m1SAN8ZKk6mtd5sE8yRmd9KCRwv4ef6YxVz0+T6Gs=; fh=pNaVBeNDsKvf7jhxzLwoUAnvNDl7VC2Zlf6yE2H/p0A=; b=GhwbWSijuBtDMiWLL0q9Q0tCZSTPFnaIDwPT+39j7lZWrLFBk4DZ8/Ba/htoCFUgU+ bZUF/XJeD+20tscGxNByNL1eIr84qYX5BO97rUaKW5XqBlbcg34FISUH3s0sXuF/kv4E L5me7tmh+mmhZgYrKz1W6daCH9qGLva6qoBN1S98rpnJI42DUJFsAB9BOJxG+wwWjZrn eGoR95JGyMNeVQmSO28Q335P9cuFa6t6b6mWHjXA5DQJQGtcdrluXp5718+9F7aulMXZ V9hxwQizxCCyNN4yTlVApipxHYTCKlANwyaaON4clHQlm0js6uOJDSYDzu+1BkFIKTC8 Pcnw==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; 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" X-Forwarded-Encrypted: i=0; AJvYcCW1Gih1/wB55nQD3Kx5HuFT6c1VnOPkiK1f/UXiRDC8myAWVM6Qk4+iaqJHhCuhNr9pcvl79Ou5A2X2oYDdmh19 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id u22-20020ac858d6000000b0042bda762eedsi2754269qta.759.2024.01.31.04.01.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jan 2024 04:01:36 -0800 (PST) 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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rV9CO-0008Ub-JM; Wed, 31 Jan 2024 06:56: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 1rV9CL-0008Qe-Mq; Wed, 31 Jan 2024 06:56:09 -0500 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV9CJ-0003xB-O8; Wed, 31 Jan 2024 06:56:09 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 504A3490C7; Wed, 31 Jan 2024 14:56:47 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id 8563B70270; Wed, 31 Jan 2024 14:55:50 +0300 (MSK) Received: (nullmailer pid 2263939 invoked by uid 1000); Wed, 31 Jan 2024 11:55:49 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 09/21] aspeed: Clean up includes Date: Wed, 31 Jan 2024 14:55:37 +0300 Message-Id: <20240131115549.2263854-10-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131115549.2263854-1-mjt@tls.msk.ru> References: <20240131115549.2263854-1-mjt@tls.msk.ru> MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Peter Maydell This commit was created with scripts/clean-includes. All .c should include qemu/osdep.h first. The script performs three related cleanups: * Ensure .c files include qemu/osdep.h first. * Including it in a .h is redundant, since the .c already includes it. Drop such inclusions. * Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Zhao Liu Reviewed-by: Richard Henderson Signed-off-by: Michael Tokarev --- hw/arm/aspeed_eeprom.c | 1 + hw/arm/aspeed_eeprom.h | 1 - tests/qtest/qtest_aspeed.h | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/hw/arm/aspeed_eeprom.c b/hw/arm/aspeed_eeprom.c index ace5266cec..daa3d329d1 100644 --- a/hw/arm/aspeed_eeprom.c +++ b/hw/arm/aspeed_eeprom.c @@ -4,6 +4,7 @@ * SPDX-License-Identifier: GPL-2.0-only */ +#include "qemu/osdep.h" #include "aspeed_eeprom.h" /* Tiogapass BMC FRU */ diff --git a/hw/arm/aspeed_eeprom.h b/hw/arm/aspeed_eeprom.h index bbf9e54365..f08c16ef50 100644 --- a/hw/arm/aspeed_eeprom.h +++ b/hw/arm/aspeed_eeprom.h @@ -7,7 +7,6 @@ #ifndef ASPEED_EEPROM_H #define ASPEED_EEPROM_H -#include "qemu/osdep.h" extern const uint8_t tiogapass_bmc_fruid[]; extern const size_t tiogapass_bmc_fruid_len; diff --git a/tests/qtest/qtest_aspeed.h b/tests/qtest/qtest_aspeed.h index 235dfaa186..d35b0c7cba 100644 --- a/tests/qtest/qtest_aspeed.h +++ b/tests/qtest/qtest_aspeed.h @@ -12,8 +12,6 @@ #ifndef QTEST_ASPEED_H #define QTEST_ASPEED_H -#include - #include "libqtest.h" #define AST2600_ASPEED_I2C_BASE_ADDR 0x1e78a000 From patchwork Wed Jan 31 11:55:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 768482 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1818530wro; Wed, 31 Jan 2024 03:58:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IHyDew+roBEw6NbXKBkLlXI/spaOwdohC54GEB38Y96j6ZFvgBCQZc7/J+3WobDh4ttS5dO X-Received: by 2002:a05:6214:f0e:b0:68c:4fac:930e with SMTP id gw14-20020a0562140f0e00b0068c4fac930emr1633690qvb.54.1706702297501; Wed, 31 Jan 2024 03:58:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706702297; cv=none; d=google.com; s=arc-20160816; b=zSWV318e5d4rFXGdVDLTtXki2vP1h9oIT/w4Ji08TCfkzfKMlB3Nu/RdjtGuOvwQtY gHBfWLsgN4aMH++9FJnSdYtPkJOBhr2beoIFgC4fpyojavfmiw0157/hnUvfFLNEDw4n GeU033I2MtthknKlGOeRyaXwN1jEnRF/B6ayTGHAfRUMkNLMowtM84jvuPW9xt4ach5j UdUWBt/AxVNd4X43SvFVobMkBbEZb4wR7V8mdbWN4xFjj3XwGGA6E9KuiIMwmNO7ryUA y8e0xSV/oE/lpGFq8axeRcQrAbMqFmNf3ikGnw6dxWbA6yhpzBwJmTXMOVHHuVh61rXy S0cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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; bh=4mlV+6TQTxjOJgXORChO2tm+D0DhDYRSgKs5IoATsLQ=; fh=6YG5FlYRyvnGYKLw9pHHNL8FkkMBy1ILiM3zC+zqpnY=; b=IJ+i3iAkPpNQUyfHtb0RMQhgqLkYgGGdaDRTm7SOIEAjonzCQifDF+CkQo1/0X0Yaw i4zznvjgERQXzg8+hjmu5qFKR5vC6kD/Yueb5u9bSc7Vq4R+mR9Jnipd30Jp7rJpdRP0 rMAsg5w4Cf37YDKbBbeo8uRfDMHGauHRFOyuWuAcf00zd92QZ7Bq8yhKUu06ffbqKJRB LsHnCiPv94JvOFNbnS6EDhf1j7Frp33HVArfE8FwMXhbjZ4ENFhHVz4b9h1GpCZueqzE KbtwC8GxiiPZ9b0RSB8JosZjbz6rQR5ZxVo5hTGPcdFkTnKA8TgjBZdSWGxRLGN1PGYk axmw==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; 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" X-Forwarded-Encrypted: i=0; AJvYcCUzLKDambGsxBD8clTu7w2/5ksAHFy4JhKUK5flkjD0TpDFuxh/K3D7B39edQGSauzW3EhGZ1UrM/DABLMYOiLq Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id m8-20020a0562141bc800b0068c641b2886si2794200qvc.575.2024.01.31.03.58.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jan 2024 03:58:17 -0800 (PST) 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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rV9CZ-0000Fq-6Y; Wed, 31 Jan 2024 06:56:23 -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 1rV9CQ-00005b-6r; Wed, 31 Jan 2024 06:56:15 -0500 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV9CN-0003xX-1q; Wed, 31 Jan 2024 06:56:13 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 61344490C8; Wed, 31 Jan 2024 14:56:47 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id 9651870271; Wed, 31 Jan 2024 14:55:50 +0300 (MSK) Received: (nullmailer pid 2263942 invoked by uid 1000); Wed, 31 Jan 2024 11:55:49 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 10/21] acpi: Clean up includes Date: Wed, 31 Jan 2024 14:55:38 +0300 Message-Id: <20240131115549.2263854-11-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131115549.2263854-1-mjt@tls.msk.ru> References: <20240131115549.2263854-1-mjt@tls.msk.ru> MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Peter Maydell This commit was created with scripts/clean-includes: ./scripts/clean-includes --git acpi include/hw/*/*acpi.h hw/*/*acpi.c All .c should include qemu/osdep.h first. The script performs three related cleanups: * Ensure .c files include qemu/osdep.h first. * Including it in a .h is redundant, since the .c already includes it. Drop such inclusions. * Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Zhao Liu Reviewed-by: Richard Henderson Signed-off-by: Michael Tokarev --- hw/nvram/fw_cfg-acpi.c | 1 + hw/virtio/virtio-acpi.c | 1 + include/hw/nvram/fw_cfg_acpi.h | 1 - include/hw/virtio/virtio-acpi.h | 1 - 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/nvram/fw_cfg-acpi.c b/hw/nvram/fw_cfg-acpi.c index 4e48baeaa0..58cdcd3121 100644 --- a/hw/nvram/fw_cfg-acpi.c +++ b/hw/nvram/fw_cfg-acpi.c @@ -4,6 +4,7 @@ * */ +#include "qemu/osdep.h" #include "hw/nvram/fw_cfg_acpi.h" #include "hw/acpi/aml-build.h" diff --git a/hw/virtio/virtio-acpi.c b/hw/virtio/virtio-acpi.c index e18cb38bdb..230a669500 100644 --- a/hw/virtio/virtio-acpi.c +++ b/hw/virtio/virtio-acpi.c @@ -4,6 +4,7 @@ * */ +#include "qemu/osdep.h" #include "hw/virtio/virtio-acpi.h" #include "hw/acpi/aml-build.h" diff --git a/include/hw/nvram/fw_cfg_acpi.h b/include/hw/nvram/fw_cfg_acpi.h index b6553d86fc..b39eb0490f 100644 --- a/include/hw/nvram/fw_cfg_acpi.h +++ b/include/hw/nvram/fw_cfg_acpi.h @@ -7,7 +7,6 @@ #ifndef FW_CFG_ACPI_H #define FW_CFG_ACPI_H -#include "qemu/osdep.h" #include "exec/hwaddr.h" void fw_cfg_acpi_dsdt_add(Aml *scope, const MemMapEntry *fw_cfg_memmap); diff --git a/include/hw/virtio/virtio-acpi.h b/include/hw/virtio/virtio-acpi.h index 844e102569..cace2a315f 100644 --- a/include/hw/virtio/virtio-acpi.h +++ b/include/hw/virtio/virtio-acpi.h @@ -6,7 +6,6 @@ #ifndef VIRTIO_ACPI_H #define VIRTIO_ACPI_H -#include "qemu/osdep.h" #include "exec/hwaddr.h" void virtio_acpi_dsdt_add(Aml *scope, const hwaddr virtio_mmio_base, From patchwork Wed Jan 31 11:55:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 768484 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1818821wro; Wed, 31 Jan 2024 03:59:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IH/Tyw9QQj6tzNK0cMvLr3GhoyulxZvXXUZxHRxotuzGeEyCRXJjY9lcEn8Mj09WY28CPdA X-Received: by 2002:a05:620a:4443:b0:785:4016:c954 with SMTP id w3-20020a05620a444300b007854016c954mr187178qkp.14.1706702355442; Wed, 31 Jan 2024 03:59:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706702355; cv=none; d=google.com; s=arc-20160816; b=YQNzCA0G0Ftm6bGBg4DEJ4OtyVf/EkQYB3tobDlfH4/fqqkB+KTjmw9Uevbc1+TA3f DyDw4A9rBwYsSHx1o5Y53oW+jTa7p6xs5DMELpAa1FVOYnbGHjy9D8dzNHk9wvpusKMP 5o5sZNftLmguy4Tt7gdiV7ZxTrfnV34nFpf7HqnQoyBPSNxGoeH3XRptD/Gu8o98EjdG /PCt5ZpodX7uM/cR0vrcBJsQuz1q2FP1RbnvKgWQ3mjONlQSTI5Jb4KdJgzmM8zhVqFc FhZCWd6oAtb814g0ancYM28zqnOJQHDZf/zE7/B7njwix6GiQZROMnrVf+dWbZ90pZsa y7Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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; bh=jb6ejeXMuS36DXpff5Ah0AUXhg901p5MMVEzaaoiTIA=; fh=NW3CGE2D4SreyFSfRa+q6o3gTYzqI2PAzM6cHkZXui8=; b=twNDJqY87zeOQerVU8c2a/LQHGFG1XDmY7eZG1JbpgYv/igcAF1U43j77k9JEVYLX4 hawHmZ589fh3I8GcUBjJ3ayhVrBVt6I3Jpb4V9rGkzliUm85tWvy5NMQYbQ/wG/TMsYL cFUAmHYryAtmenJIgNm9JZsLryjWng8pShjB06ev/ZjxzIKT51ppmmVbbdQPD1gMRdbL Cw+xONLvaSWyFlOpAMfKAjy2ctU0YctBTCOJdf74MIi8+ebGHI4pKiSHGM4Dx4naHxab IRTGVwEQbCVF5xocLf+4XfyJWjs+53s12rca6xVPSYbQcccCywv/9w7VE1qH9gBuetj1 LNWg==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; 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" X-Forwarded-Encrypted: i=0; AJvYcCV13X/e0Vl/uPsf8JmTVnH8QK3OLYd0FSN3jX9SjD0Bf3+KYyeoj1h8in51lO239o8oWODffsZCKhO4We990YYW Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id l1-20020a05620a210100b00783e692cebasi9277619qkl.167.2024.01.31.03.59.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jan 2024 03:59:15 -0800 (PST) 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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rV9Ce-0000Ui-K5; Wed, 31 Jan 2024 06:56:28 -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 1rV9CU-0000B8-1U; Wed, 31 Jan 2024 06:56:19 -0500 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV9CR-0003xr-J4; Wed, 31 Jan 2024 06:56:17 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 6F6F9490C9; Wed, 31 Jan 2024 14:56:47 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id A64E370272; Wed, 31 Jan 2024 14:55:50 +0300 (MSK) Received: (nullmailer pid 2263945 invoked by uid 1000); Wed, 31 Jan 2024 11:55:49 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 11/21] m68k: Clean up includes Date: Wed, 31 Jan 2024 14:55:39 +0300 Message-Id: <20240131115549.2263854-12-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131115549.2263854-1-mjt@tls.msk.ru> References: <20240131115549.2263854-1-mjt@tls.msk.ru> MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Peter Maydell This commit was created with scripts/clean-includes: ./scripts/clean-includes --git m68k include/hw/audio/asc.h include/hw/m68k/*.h All .c should include qemu/osdep.h first. The script performs three related cleanups: * Ensure .c files include qemu/osdep.h first. * Including it in a .h is redundant, since the .c already includes it. Drop such inclusions. * Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Zhao Liu Signed-off-by: Michael Tokarev --- include/hw/audio/asc.h | 1 - include/hw/m68k/q800-glue.h | 1 - 2 files changed, 2 deletions(-) diff --git a/include/hw/audio/asc.h b/include/hw/audio/asc.h index 4741f92c46..04fac270b6 100644 --- a/include/hw/audio/asc.h +++ b/include/hw/audio/asc.h @@ -13,7 +13,6 @@ #ifndef HW_AUDIO_ASC_H #define HW_AUDIO_ASC_H -#include "qemu/osdep.h" #include "hw/sysbus.h" #include "audio/audio.h" diff --git a/include/hw/m68k/q800-glue.h b/include/hw/m68k/q800-glue.h index ceb916d16c..04fac25f6c 100644 --- a/include/hw/m68k/q800-glue.h +++ b/include/hw/m68k/q800-glue.h @@ -23,7 +23,6 @@ #ifndef HW_Q800_GLUE_H #define HW_Q800_GLUE_H -#include "qemu/osdep.h" #include "hw/sysbus.h" #define TYPE_GLUE "q800-glue" From patchwork Wed Jan 31 11:55:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 768491 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1819715wro; Wed, 31 Jan 2024 04:01:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOgn4Oo+HiGRqxtyKSXfkCtaao8/uFF5ysOydQSwfJ0uksbL+Ads5mEJGNy5PueSzBSqVB X-Received: by 2002:a05:6102:3674:b0:46b:528:d5e1 with SMTP id bg20-20020a056102367400b0046b0528d5e1mr718179vsb.8.1706702473378; Wed, 31 Jan 2024 04:01:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706702473; cv=none; d=google.com; s=arc-20160816; b=lUXaNtZnTjieDOGFLESyNXXSNq/Edvpx668wDHnlzMvGIuFl5kx7Cp0psB0nruLnW3 EPsyRsKZQIsZt+JRYNeOBKLgCXV5SArv6cZ1Go64P3+BnFl0wPqY3UkyXmaFAt6AW/su SHG8JDE/VDvQJylzJxVPwheIp8ZAr8r3At6puuPvY3pscd9JJd6UF4nofO+qYk4eA/Qg dwKLqQ4fuQYmAjH8aYSpLOnb997Xe6N6oUBZsqB3Ykkuo0URqtQ4Ek+TPa3dGmAy0ZVq P4aUN6Qu9f81mbCDDGYAN28RKdZASdG6RxZ/4+EuEJGlR1a2cUvpH9521nrCICs6xnOl 3gZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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; bh=rGvy3JsZWF00heMqBOuKcZXSor/Jdqbt5xvJ6Gsknq8=; fh=22WrOULeZIQvyQtlH6lyAlnM/R0rBR6GbTy5o9eXFIg=; b=DDdaog4v1P4EYjRfVSJbmDHHuJ2mq5uXIDpEgk2ieE4LQzLscYp939kJ1Fi7m/Qo5D 0kEMUHxxvJeQTMztgUcFkxHbLDUvfDr11pn03a17DLu54Toa1mIbLd12RHAiNM2myRZT iZJYEM4i/QLYIO6tIwpiX0r0psyYbPZvJ8IEinsnEmtwYDUzuzX8ch+SrSnXRUquOKLZ Qd9Mk+U55S6fAr74AzO7W6xR5T5lNcMo4pvICCM7i/2vW0LxCzBausDBZXNK+UATsKnl Ef034961SQT9m0Kkrc0S+a9RieasvjDIssC47PCJao7+NRrA+5bOlmIa388Q/Xwm+827 eNEQ==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; 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" X-Forwarded-Encrypted: i=0; AJvYcCVxyMGX1RDcD2/4Q/FHJrtk39WEmefh0r9EJ4wF+Ejiy6QnuEOAdxZmu4CrIu9sTdcrXtYXslcD5Vs/qo61Raql Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id de21-20020a056102561500b0046b3f94ff73si1028589vsb.360.2024.01.31.04.01.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jan 2024 04:01:13 -0800 (PST) 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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rV9Ch-0000fc-0x; Wed, 31 Jan 2024 06:56:31 -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 1rV9CX-0000Kf-Nc; Wed, 31 Jan 2024 06:56:23 -0500 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV9CV-0003yA-Dj; Wed, 31 Jan 2024 06:56:20 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 7D80F490CA; Wed, 31 Jan 2024 14:56:47 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id B43FB70273; Wed, 31 Jan 2024 14:55:50 +0300 (MSK) Received: (nullmailer pid 2263948 invoked by uid 1000); Wed, 31 Jan 2024 11:55:49 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 12/21] include: Clean up includes Date: Wed, 31 Jan 2024 14:55:40 +0300 Message-Id: <20240131115549.2263854-13-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131115549.2263854-1-mjt@tls.msk.ru> References: <20240131115549.2263854-1-mjt@tls.msk.ru> MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Peter Maydell This commit was created with scripts/clean-includes: ./scripts/clean-includes --git include include/*/*.h include/*/*/*.h All .c should include qemu/osdep.h first. The script performs three related cleanups: * Ensure .c files include qemu/osdep.h first. * Including it in a .h is redundant, since the .c already includes it. Drop such inclusions. * Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too. Signed-off-by: Peter Maydell Reviewed-by: Zhao Liu Signed-off-by: Michael Tokarev --- include/hw/arm/raspberrypi-fw-defs.h | 1 - include/hw/mem/memory-device.h | 1 - include/hw/ppc/spapr_nested.h | 1 - include/hw/xen/xen-hvm-common.h | 1 - include/qemu/qtree.h | 1 - include/ui/rect.h | 2 -- 6 files changed, 7 deletions(-) diff --git a/include/hw/arm/raspberrypi-fw-defs.h b/include/hw/arm/raspberrypi-fw-defs.h index 4551fe7450..579cf0d554 100644 --- a/include/hw/arm/raspberrypi-fw-defs.h +++ b/include/hw/arm/raspberrypi-fw-defs.h @@ -10,7 +10,6 @@ #ifndef INCLUDE_HW_MISC_RASPBERRYPI_FW_DEFS_H_ #define INCLUDE_HW_MISC_RASPBERRYPI_FW_DEFS_H_ -#include "qemu/osdep.h" enum rpi_firmware_property_tag { RPI_FWREQ_PROPERTY_END = 0, diff --git a/include/hw/mem/memory-device.h b/include/hw/mem/memory-device.h index a1d62cc551..e0571c8a31 100644 --- a/include/hw/mem/memory-device.h +++ b/include/hw/mem/memory-device.h @@ -14,7 +14,6 @@ #define MEMORY_DEVICE_H #include "hw/qdev-core.h" -#include "qemu/typedefs.h" #include "qapi/qapi-types-machine.h" #include "qom/object.h" diff --git a/include/hw/ppc/spapr_nested.h b/include/hw/ppc/spapr_nested.h index d383486476..d312a5d61d 100644 --- a/include/hw/ppc/spapr_nested.h +++ b/include/hw/ppc/spapr_nested.h @@ -1,7 +1,6 @@ #ifndef HW_SPAPR_NESTED_H #define HW_SPAPR_NESTED_H -#include "qemu/osdep.h" #include "target/ppc/cpu.h" /* diff --git a/include/hw/xen/xen-hvm-common.h b/include/hw/xen/xen-hvm-common.h index 4e9904f1a6..4b1d728f35 100644 --- a/include/hw/xen/xen-hvm-common.h +++ b/include/hw/xen/xen-hvm-common.h @@ -1,7 +1,6 @@ #ifndef HW_XEN_HVM_COMMON_H #define HW_XEN_HVM_COMMON_H -#include "qemu/osdep.h" #include "qemu/units.h" #include "cpu.h" diff --git a/include/qemu/qtree.h b/include/qemu/qtree.h index 69fe74b50d..dc2b14d258 100644 --- a/include/qemu/qtree.h +++ b/include/qemu/qtree.h @@ -42,7 +42,6 @@ #ifndef QEMU_QTREE_H #define QEMU_QTREE_H -#include "qemu/osdep.h" #ifdef HAVE_GLIB_WITH_SLICE_ALLOCATOR diff --git a/include/ui/rect.h b/include/ui/rect.h index 68f05d78a8..7ebf47ebcd 100644 --- a/include/ui/rect.h +++ b/include/ui/rect.h @@ -4,8 +4,6 @@ #ifndef QEMU_RECT_H #define QEMU_RECT_H -#include -#include typedef struct QemuRect { int16_t x; From patchwork Wed Jan 31 11:55:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 768488 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1819195wro; Wed, 31 Jan 2024 04:00:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IEjdxUIAmOlOZR+h0WlkRNIqDFPBtgTszniHo7TnL9HylP1c9DH4DlPjS1cl70ze0VXDIdy X-Received: by 2002:ad4:5ba7:0:b0:68c:6c9e:1c5f with SMTP id 7-20020ad45ba7000000b0068c6c9e1c5fmr1695459qvq.38.1706702420370; Wed, 31 Jan 2024 04:00:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706702420; cv=none; d=google.com; s=arc-20160816; b=Vq4lyjaIxlkuksRld4cxOE/TL5K+h+PeNQ90VU/wxw6EJcL01w2VY/mynojaFNWivo vOl2fVUQyciP+LDHF0o47nDipJj8q1LsMemJ2YpdJvyAlkeC9cUnndsBiFsbWDTqspTm 6QHAtgZoEa40oepwYFS63ZXfLuPDjsbUVeDHUf+jB0RwvZOrQp+HDlkrNGvNKbXpvkrP 6k0jIj7d5cFqUffFYQVvav4r2Lw/f+A+mKOZ8HX32S2CIlZvMwf1mHhToJSj2mIx4zzX R+okwKust5fd45xIZajQfWw/Ni89SMUQWXlAcHqV0kGDkfr7BALn9LXDEcGG282jHQ7f ax/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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; bh=bsUsvKQuXYxMn5tbbS+JEyue9QCV8IHQILCOs+UI0IM=; fh=ftaJD6SaSRhYOIACwSQwsk6932KmMi/W+rZJFZbc8gQ=; b=k9657YuW4kjHkpuVji4Xb0ZRcScHoDoo/cX7O5yTmhX1UFclIyzxwYYFODU0WnTPFW C2p/USRNqu5VecJFIijPzcmS1O7eJVgyhK/kXdTuZYVG/t3m/qDzJrJE4OROuSH2QonB xMySQkl7hPhZ2fnHXvfTpnB+k4vEJ7Mb2dBeud5VTGUgu5Km1krFkQrFPUFVGOVpe+LF EXegBQcU3wvqykhR/VW/l3ifEWBK8pZ/u6dsUYp2II+qjCLc08Mv8Ov/O5pi6Z4Q8cqi tpJ9OQus7JYcFTlHPUD9WEyWWZy5Iqe2KOKgDtvRL9hUrWpFjWy0+A4pNPGMYgt91GSY ZLDw==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; 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" X-Forwarded-Encrypted: i=0; AJvYcCVHPsM5Z8g8A68rpZJz8hdDYln1Yb3mSMKk78DxEU5fXhZZ/MWd2Z0GXmQk07czbBrhQe9lXBXXQy5+gcwFRpWo Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id c10-20020ad45aea000000b0068c691aa534si1714353qvh.313.2024.01.31.04.00.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jan 2024 04:00:20 -0800 (PST) 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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rV9Cs-00019V-Jo; Wed, 31 Jan 2024 06:56:42 -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 1rV9Cq-00018M-Tw; Wed, 31 Jan 2024 06:56:41 -0500 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV9Cp-0003yC-G8; Wed, 31 Jan 2024 06:56:40 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 8C11A490CB; Wed, 31 Jan 2024 14:56:47 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id C2E8F70274; Wed, 31 Jan 2024 14:55:50 +0300 (MSK) Received: (nullmailer pid 2263951 invoked by uid 1000); Wed, 31 Jan 2024 11:55:49 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 13/21] cxl: Clean up includes Date: Wed, 31 Jan 2024 14:55:41 +0300 Message-Id: <20240131115549.2263854-14-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131115549.2263854-1-mjt@tls.msk.ru> References: <20240131115549.2263854-1-mjt@tls.msk.ru> MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Peter Maydell This commit was created with scripts/clean-includes. All .c should include qemu/osdep.h first. The script performs three related cleanups: * Ensure .c files include qemu/osdep.h first. * Including it in a .h is redundant, since the .c already includes it. Drop such inclusions. * Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Zhao Liu Acked-by: Jonathan Cameron Signed-off-by: Michael Tokarev --- hw/cxl/cxl-events.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hw/cxl/cxl-events.c b/hw/cxl/cxl-events.c index bee6dfaf14..affcf8a34d 100644 --- a/hw/cxl/cxl-events.c +++ b/hw/cxl/cxl-events.c @@ -7,11 +7,9 @@ * COPYING file in the top-level directory. */ -#include - #include "qemu/osdep.h" + #include "qemu/bswap.h" -#include "qemu/typedefs.h" #include "qemu/error-report.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" From patchwork Wed Jan 31 11:55:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 768486 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1819000wro; Wed, 31 Jan 2024 03:59:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IGttIbmEhQSj5SJQbNr2XD1a//SQbWfbs67QG/BwtJAIj9MRV3r7YNpyKYxIFx7FT6F+25b X-Received: by 2002:ad4:5e8d:0:b0:67f:8fda:6479 with SMTP id jl13-20020ad45e8d000000b0067f8fda6479mr1263130qvb.65.1706702391825; Wed, 31 Jan 2024 03:59:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706702391; cv=none; d=google.com; s=arc-20160816; b=S25/YooRNanz1n3aO1i2k9w8N928O4CrI37K7nsk2XwsUBkjRlKjwOryWQWDcSaYii 5grGM0hWBLtYWAvZ5DZhQfo2r4jdBA8B3IWH26Kp2hkKizAPst6yQdXDE7sCeI3iTh0f 70cXcucLc2/uCcUpB78T3bWy6DbblhwwrvPycr4pbopDC7/8XtGayNsl594PfIIhxrqE 3aE7sCzlBf9WJY3k0k9BXGqOjb/qUiDAh2XBObYnGOwm6vet3lS16mQKbOoJLryRjH3P SdlFd6/BNm7LfyXE29NN5oStQ0mxjrQFHYjrBbN9VfO3ue3rQhZmMEHsb1m3DNcLYJmC f/7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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; bh=ANzIUbr/qmt1RAbflwX+qwMo5tMqgC7nHtXLnZKmPfM=; fh=1WeigRBGRN3Y3R5xTR+0r5UGt53fe/8hoWHso6OvIwg=; b=mgBBS2bQODhWMYEbNiI6v9vwYzEjdByg+5VJVgd/vhp0Uai23OgJNtC7KXS3Y2y1NY Yi9WLWVPgVSgorG6d8pTanBkj42G4/k52/8IsKZp/UhUaKTSF62BAit8nnmvr4D0S3P6 Fgcu+OYBY6cxilgL2sln2e2vdZyeessSMi8IRpBDTCPDZ2MFEcZdAZ5x4KoIwIsSFrqE pXkLgBO5zKMa8npQZG6bgGENlFsEcWaoV5rjrOMFyPZDu18W1zjfdnS4gLMyCW5K4T8t j5ppcO8jEq1nrCY3+JETlSqDdH8AuUGVizX1nRGAB5nGskb2DvzqnExbwYp1I5ASptT+ FpEA==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; 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" X-Forwarded-Encrypted: i=0; AJvYcCUFayBj6GWOIlYNNBLGsYR0N9m2DjlUglscBGFixqVDHJyZfxPlZOFx9vUmlNC4u7+16XUeAd9iHEukxCDRvPmY Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ey9-20020a0562140b6900b0067f8c922495si8870346qvb.54.2024.01.31.03.59.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jan 2024 03:59:51 -0800 (PST) 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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rV9Cx-0001JK-Gm; Wed, 31 Jan 2024 06:56:47 -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 1rV9Cv-0001EI-2X; Wed, 31 Jan 2024 06:56:45 -0500 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV9Ct-0003zz-Fx; Wed, 31 Jan 2024 06:56:44 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 9A785490CC; Wed, 31 Jan 2024 14:56:47 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id D122870275; Wed, 31 Jan 2024 14:55:50 +0300 (MSK) Received: (nullmailer pid 2263954 invoked by uid 1000); Wed, 31 Jan 2024 11:55:49 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 14/21] riscv: Clean up includes Date: Wed, 31 Jan 2024 14:55:42 +0300 Message-Id: <20240131115549.2263854-15-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131115549.2263854-1-mjt@tls.msk.ru> References: <20240131115549.2263854-1-mjt@tls.msk.ru> MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Peter Maydell This commit was created with scripts/clean-includes: ./scripts/clean-includes --git riscv target/riscv/*.[ch] All .c should include qemu/osdep.h first. The script performs three related cleanups: * Ensure .c files include qemu/osdep.h first. * Including it in a .h is redundant, since the .c already includes it. Drop such inclusions. * Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Zhao Liu Signed-off-by: Michael Tokarev --- target/riscv/vector_internals.c | 1 + target/riscv/vector_internals.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/target/riscv/vector_internals.c b/target/riscv/vector_internals.c index 9cf5c17cde..12f5964fbb 100644 --- a/target/riscv/vector_internals.c +++ b/target/riscv/vector_internals.c @@ -16,6 +16,7 @@ * this program. If not, see . */ +#include "qemu/osdep.h" #include "vector_internals.h" /* set agnostic elements to 1s */ diff --git a/target/riscv/vector_internals.h b/target/riscv/vector_internals.h index 8133111e5f..842765f6c1 100644 --- a/target/riscv/vector_internals.h +++ b/target/riscv/vector_internals.h @@ -19,7 +19,6 @@ #ifndef TARGET_RISCV_VECTOR_INTERNALS_H #define TARGET_RISCV_VECTOR_INTERNALS_H -#include "qemu/osdep.h" #include "qemu/bitops.h" #include "cpu.h" #include "tcg/tcg-gvec-desc.h" From patchwork Wed Jan 31 11:55:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 768483 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1818702wro; Wed, 31 Jan 2024 03:58:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IFOdnEH/MwVV5X1mrIWQ7Wc7ECh1acCFbGesxzlB9oxIyRxA81PlkeGVsm7cdiwwcN9ZjHl X-Received: by 2002:ac8:7dcf:0:b0:42a:b059:ec4a with SMTP id c15-20020ac87dcf000000b0042ab059ec4amr1419451qte.3.1706702335230; Wed, 31 Jan 2024 03:58:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706702335; cv=none; d=google.com; s=arc-20160816; b=tzUXD6jY4HvB8VkRb+3hy7iLj2qx4i0BawBIPv+B0i7+2Cz5lYZXLKMfUFKyqhA+bE iWpd6els7tag6jdXTlpVCeyvBErneZ4UROZJgD+YJJR7vcEecp4IPwG9SseWZ/sTQibp mnKFi8vFX9S+qUIAiGhL8nC6WkEGqQhh57vbZvK3Th3/oswjf0Z79kkiui/DJOEyA7Nt nz1e8y9f1GKGirANQ733BwWaqrjotG2SaiiQ8HIe5DQ88bi6HOp7do2bDJcCONRHi7zw yVcnyUpFvYkb6cdQiFgYuM/QxoycO04Jf1vEeE02OgtvNQek0p1Av/aZRUeB5FEk6ryj NLVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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; bh=gyTdwJHQ0/32zn7WrE8HQ6UmY0pS8HJRMA98S6Sp36A=; fh=4Ik8Gssd/TXG3HW5H46wi5inRpsHW/61HKNJB0tlZLI=; b=nE3nNQ6TUwmYbv7IbrBNsLqI5ZZf1VvKvBAdmj4lKBXSqaKytdcclZ3eeEJ5zH62gT Ss/oNZzsWun0qZomksCDna7mQ5Oq0svjPJ7FELUyoj3HnxTm92qw5077eBOlG4gdjxFL iQORjIcqAePSHAkSuVD/Eo90zFQDcU3cJTwlDqo5BVUXFFWYP4Qih/AKElyTTfBTPYoK gkz7pCgVzcf46QEpxtapWgJ6juOidh/aj995Mu/cMlsUPfK2IspSBK6J6tdAgV0e5G0G re+YbOd9aLo6XT6OJfqYrySHDytQnXj49aDFt1AMXgJMTFDJa9Ep4idvok9WBXOhNaoF O4+g==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; 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" X-Forwarded-Encrypted: i=0; AJvYcCX535wq//ON8fqv3dbAQpr612HAxOehslLZBt7kldR9NHmsHHHo4Vtng0a4Ffg7su28vhJo2om+kWqq2G07IdoX Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id y5-20020a05622a004500b0042ab643b76bsi3544349qtw.147.2024.01.31.03.58.55 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jan 2024 03:58:55 -0800 (PST) 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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rV9Cv-0001ET-Kr; Wed, 31 Jan 2024 06:56:45 -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 1rV9Ct-0001Cj-Qo; Wed, 31 Jan 2024 06:56:43 -0500 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV9Cs-00041E-9J; Wed, 31 Jan 2024 06:56:43 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id A9D9E490CD; Wed, 31 Jan 2024 14:56:47 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id DFCB170276; Wed, 31 Jan 2024 14:55:50 +0300 (MSK) Received: (nullmailer pid 2263957 invoked by uid 1000); Wed, 31 Jan 2024 11:55:49 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 15/21] misc: Clean up includes Date: Wed, 31 Jan 2024 14:55:43 +0300 Message-Id: <20240131115549.2263854-16-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131115549.2263854-1-mjt@tls.msk.ru> References: <20240131115549.2263854-1-mjt@tls.msk.ru> MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Peter Maydell This commit was created with scripts/clean-includes: ./scripts/clean-includes --git misc net/af-xdp.c plugins/*.c audio/pwaudio.c util/userfaultfd.c All .c should include qemu/osdep.h first. The script performs three related cleanups: * Ensure .c files include qemu/osdep.h first. * Including it in a .h is redundant, since the .c already includes it. Drop such inclusions. * Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too. Signed-off-by: Peter Maydell Reviewed-by: Zhao Liu Signed-off-by: Michael Tokarev --- audio/pwaudio.c | 1 - net/af-xdp.c | 1 - plugins/core.c | 1 - plugins/loader.c | 1 - util/userfaultfd.c | 1 - 5 files changed, 5 deletions(-) diff --git a/audio/pwaudio.c b/audio/pwaudio.c index 3ce5f6507b..3b14e04fbb 100644 --- a/audio/pwaudio.c +++ b/audio/pwaudio.c @@ -11,7 +11,6 @@ #include "qemu/osdep.h" #include "qemu/module.h" #include "audio.h" -#include #include "qemu/error-report.h" #include "qapi/error.h" #include diff --git a/net/af-xdp.c b/net/af-xdp.c index 6c65028fb0..38e600703a 100644 --- a/net/af-xdp.c +++ b/net/af-xdp.c @@ -13,7 +13,6 @@ #include "qemu/osdep.h" #include -#include #include #include #include diff --git a/plugins/core.c b/plugins/core.c index 49588285dd..ee2fa41af9 100644 --- a/plugins/core.c +++ b/plugins/core.c @@ -27,7 +27,6 @@ #include "tcg/tcg.h" #include "tcg/tcg-op.h" #include "plugin.h" -#include "qemu/compiler.h" struct qemu_plugin_cb { struct qemu_plugin_ctx *ctx; diff --git a/plugins/loader.c b/plugins/loader.c index 734c11cae0..9768b78eb6 100644 --- a/plugins/loader.c +++ b/plugins/loader.c @@ -33,7 +33,6 @@ #ifndef CONFIG_USER_ONLY #include "hw/boards.h" #endif -#include "qemu/compiler.h" #include "plugin.h" diff --git a/util/userfaultfd.c b/util/userfaultfd.c index fdff4867e8..1b2fa949d4 100644 --- a/util/userfaultfd.c +++ b/util/userfaultfd.c @@ -18,7 +18,6 @@ #include #include #include -#include typedef enum { UFFD_UNINITIALIZED = 0, From patchwork Wed Jan 31 11:55:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 768485 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1818999wro; Wed, 31 Jan 2024 03:59:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IFvjj6PqhCV/4tGNpw3/cws+iVqtmno+cn+Askbasis3sWKHGUU3vp3izxcL6TuK0TMk/K0 X-Received: by 2002:a05:620a:1191:b0:783:f8cc:552 with SMTP id b17-20020a05620a119100b00783f8cc0552mr1262754qkk.27.1706702391725; Wed, 31 Jan 2024 03:59:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706702391; cv=none; d=google.com; s=arc-20160816; b=GqUqQroRGlH3HCy2WPz407NAYQeOSkxrp3bTfPIvR8J8DuZcv5M4z9rC6Mu3YtiedX JIw4TRnrCkzs6a5juIRHpIM8KlF8vfJ50D517Pa0zn9IZwSS17d7Lsf4dsBDFo9taYYr IEJGPWNTY19Quaww4RmsYShPwCTHYpAM69jGEt15bD5n+uEU5cX4ElEpazVO2JtjkQrE Mm8MBz+oIuuXrLU3GM6CC4fw4p78jJKluzZ/MgFdDkbJRZ8RpbZOQ+lIYfLT73zsOsdN djiAS7K4fVxH9Gj9pSQRHr6M+O42O/7cnDcOEu5oS7mGf6LL2ITZ7iJkQ1bfPzYIQE/N juYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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; bh=mE1Slv9huIEmb+MIvdlL2Zhw0Qhgjqlt44VpmIS7yoA=; fh=PTg4bTcesFEEyIpE8EOS4Lzu43waRU5ih7DhHOCb5NQ=; b=cXw2INSB4Mi52cs4xwItEDsBxUeHSYrX0l8L4NvRmHtZuisz7CGUMS1g+MxGX7pvAW WYfvG3Sa5oH9GMYX0HlfZ90wREjBBuUWJbGKVOBK70DrSi2Kbx/0j7PdMq4ND8V8iF0+ oC/Iw8cmzG26TtSsoADYYvQx8nXVXzEXap9KCc/dWnnva7kWOtfMKwZ8GwiKdWm3oHni j1KJFFrIQ5gVWv3ynnXGiqvOk/zjxZ6HRlQQdy6f74Mj4qZ2BmkeU93JQ/PaKVs6GEFK hJsU6L/pdIhmLbHB86NsYrRAh2uoKnKfAI4i09tq2+PMG435Eq6ZUQOFXeRYX/GxqOfV qPjg==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; 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" X-Forwarded-Encrypted: i=0; AJvYcCVwM8+BtYugEFUhdXAt2Gj/Xd09iHzlMRbZtoqKF+t8NZL+8LR9KletNgT1Kn/vSzbiPIoweYPVDHkKSaLZkFAz Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id bq40-20020a05620a46a800b0078538825194si1653383qkb.421.2024.01.31.03.59.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jan 2024 03:59:51 -0800 (PST) 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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rV9Cx-0001JQ-VD; Wed, 31 Jan 2024 06:56:48 -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 1rV9Cw-0001IY-Rb; Wed, 31 Jan 2024 06:56:46 -0500 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV9Cv-00041W-5m; Wed, 31 Jan 2024 06:56:46 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id B8080490CE; Wed, 31 Jan 2024 14:56:47 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id EED4F70277; Wed, 31 Jan 2024 14:55:50 +0300 (MSK) Received: (nullmailer pid 2263960 invoked by uid 1000); Wed, 31 Jan 2024 11:55:49 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 16/21] backends/hostmem: Fix block comments style (checkpatch.pl warnings) Date: Wed, 31 Jan 2024 14:55:44 +0300 Message-Id: <20240131115549.2263854-17-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131115549.2263854-1-mjt@tls.msk.ru> References: <20240131115549.2263854-1-mjt@tls.msk.ru> MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé While re-indenting code in host_memory_backend_memory_complete(), we triggered various "Block comments use a leading /* on a separate line" warnings from checkpatch.pl. Correct the comments style. Fixes: e199f7ad4d ("backends: Simplify host_memory_backend_memory_complete()") Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Xiaoyao Li Signed-off-by: Michael Tokarev --- backends/hostmem.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/backends/hostmem.c b/backends/hostmem.c index 30f69b2cb5..987f6f591e 100644 --- a/backends/hostmem.c +++ b/backends/hostmem.c @@ -344,9 +344,11 @@ host_memory_backend_memory_complete(UserCreatable *uc, Error **errp) unsigned long lastbit = find_last_bit(backend->host_nodes, MAX_NODES); /* lastbit == MAX_NODES means maxnode = 0 */ unsigned long maxnode = (lastbit + 1) % (MAX_NODES + 1); - /* ensure policy won't be ignored in case memory is preallocated + /* + * Ensure policy won't be ignored in case memory is preallocated * before mbind(). note: MPOL_MF_STRICT is ignored on hugepages so - * this doesn't catch hugepage case. */ + * this doesn't catch hugepage case. + */ unsigned flags = MPOL_MF_STRICT | MPOL_MF_MOVE; int mode = backend->policy; @@ -363,7 +365,8 @@ host_memory_backend_memory_complete(UserCreatable *uc, Error **errp) return; } - /* We can have up to MAX_NODES nodes, but we need to pass maxnode+1 + /* + * We can have up to MAX_NODES nodes, but we need to pass maxnode+1 * as argument to mbind() due to an old Linux bug (feature?) which * cuts off the last specified node. This means backend->host_nodes * must have MAX_NODES+1 bits available. @@ -391,7 +394,8 @@ host_memory_backend_memory_complete(UserCreatable *uc, Error **errp) } } #endif - /* Preallocate memory after the NUMA policy has been instantiated. + /* + * Preallocate memory after the NUMA policy has been instantiated. * This is necessary to guarantee memory is allocated with * specified NUMA policy in place. */ From patchwork Wed Jan 31 11:55:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 768493 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1820246wro; Wed, 31 Jan 2024 04:02:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IESOd+B9nW7Z1dMikhBdBCqy/UGXdJ0SumHb4hkZG/seKR7+l2pRmiU5ahf1J+Ig0+zHSL4 X-Received: by 2002:a05:6102:a53:b0:46b:35b2:8a72 with SMTP id i19-20020a0561020a5300b0046b35b28a72mr1305503vss.0.1706702523952; Wed, 31 Jan 2024 04:02:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706702523; cv=none; d=google.com; s=arc-20160816; b=cgGtM/GCpjC5pctw8/d8MyDFRUNUNw/xItY1bfx50J86T/kPM5HMZ2b525xevm3ZmC fTyYNzdLuVAPK46SMd8vtmYHw3uSlEzoySGf9FEqESpVcKWoYwB+nCWltnjg2aePEeWg G12JhnoY+zMjFaKVRN2ocnw3yMVLwvbFKN7+9OGIiSfeKYt4I6+f1fbZLWS7o+QyV3xj yJhaSxc+lXVdSgWdcYStUNQ1YVYS7wngCpSo8dB+Zl7gS6KaqZr6Y9DX/ZSrmgVzJe8V xje9xoI4muHatOZgiKgwpqMi8l/av9MH54N9UUew3MiWaHj6nvL118mZ9puDtRDVB+8q ot0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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; bh=KpmUxVT3PNh/rAxbaUnjRdjXix2kcku8vi76VRFdsvY=; fh=fiCuFQaY2Yv57fpBuPYHU/6pNyKVodU9UB9bj0N2kko=; b=x3236CtthwT+GAGB7jE1oOsG+lpgaS5E/lb/ESHH8Puc3ewkO6mBO0UqLxzx+zFOvr RT9RNfVaBGNFLsAMyrYZHbkWAuaLYt13HKm014LQBmQRJowq+BscSqT6WsxQr/6YThGL TuZIRhjA2Srd0qIqJJHlSyrrWjJb0V11HDFtI+GliCrkMMqZKCojEugzw4ivcGlEcto9 2PXhSa+X3XlHhwDXM/n147kq+i8HpzLEq1e473nGNVtEWli25+TO+u2UWSVedt6PlIyP +Ge7+thMJd0oS9cZ4H+U7m2UaP+abGnsrrK8gV9+G9MFlepeVOd3JEjrB71M0+dWVXGk Wp3A==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; 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" X-Forwarded-Encrypted: i=0; AJvYcCWbeU5F2jAMoZ9o24tmQkJ4Sip++IhmXpT2jyCWsDsu5O+5r80p0ZyzNt6rndhNFxGP9+iysVhOCH+e75XNqPIS Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id j16-20020a67e310000000b0046b144eeb0asi1430625vsf.388.2024.01.31.04.02.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jan 2024 04:02:03 -0800 (PST) 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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rV9DQ-0002RH-UU; Wed, 31 Jan 2024 06:57:18 -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 1rV9DO-0002QG-1t; Wed, 31 Jan 2024 06:57:14 -0500 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV9DM-00043N-HE; Wed, 31 Jan 2024 06:57:13 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id F2008490D2; Wed, 31 Jan 2024 14:56:47 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id 348B27027B; Wed, 31 Jan 2024 14:55:51 +0300 (MSK) Received: (nullmailer pid 2263972 invoked by uid 1000); Wed, 31 Jan 2024 11:55:49 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 20/21] hw/intc/xics: Include missing 'cpu.h' header Date: Wed, 31 Jan 2024 14:55:48 +0300 Message-Id: <20240131115549.2263854-21-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131115549.2263854-1-mjt@tls.msk.ru> References: <20240131115549.2263854-1-mjt@tls.msk.ru> MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé Include missing headers in order to avoid when refactoring unrelated headers: hw/intc/xics.c: In function 'icp_realize': hw/intc/xics.c:304:5: error: unknown type name 'PowerPCCPU' 304 | PowerPCCPU *cpu; | ^~~~~~~~~~ Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Signed-off-by: Michael Tokarev --- hw/intc/xics.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/intc/xics.c b/hw/intc/xics.c index 8b25787227..700abfa7a6 100644 --- a/hw/intc/xics.c +++ b/hw/intc/xics.c @@ -40,6 +40,7 @@ #include "hw/irq.h" #include "sysemu/kvm.h" #include "sysemu/reset.h" +#include "target/ppc/cpu.h" void icp_pic_print_info(ICPState *icp, Monitor *mon) { From patchwork Wed Jan 31 11:55:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 768489 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1819350wro; Wed, 31 Jan 2024 04:00:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IGSuDNEY7HoSubW//5aADzYnbh3m0sgbQw6AjZml4qliwz9iPtT9+ffVNKyD8eC/fz1q2Bg X-Received: by 2002:a05:6808:2382:b0:3be:c153:7225 with SMTP id bp2-20020a056808238200b003bec1537225mr1179898oib.37.1706702437236; Wed, 31 Jan 2024 04:00:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706702437; cv=none; d=google.com; s=arc-20160816; b=cstgEqzs1jf7M8FianERwzP/2UbOIEVCmDexnySgkStstf+xSIRfTx8+RGWNUDMVAo 0VL9sa5QGAGeSxTbut+R7BIQPVqVTRbOWWwJEuS+cGcXFKptncicmKirnhGC2FcYwP0Q 5K4bRrU9UDlgN8crjNkqehfbVM973z9Jzt9ZkUP7YxN3MIkK4tLyuZdD3E9sPe0kQ8hF mZZV7gbCB34mA9Sf5QvqRZ+Rr9SMMDDy84uAI82VB4YElWvi3LBn7u4CFLvdFIBElmZQ YMcG1pXD4iKt9bCPVGry2O1NwgcMFA6aBOpHN3YuGwU+98uVWY/gZN7dVUPcInR0y8Zr efVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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; bh=kMHSbdihZgtZM/woNkLbSoOouRKbQgXFmh3hp5zBI/Q=; fh=jh9s/2b3oP/B0OsgiRumWgM45Os92R4KpZj1Nn+uBtQ=; b=qJt76VOc5+S1uMmQ/tKNiZxWyfdSdklT8LvQhnzR3ilujQUmLt3XcSniNnhi3dI+kz J+Z2eqwrG39vnwzutnGazHv/3FtQgV1D20fYwVRW5HS5ValvscfTmyJsnkY7SExt3iU3 MlRwZsq5YPaK6W5BXjHtx78+O5MpTWiwsXQzEAKgNmsR1LCcAHkEI0k5RHreZpoOnFht PEzrhjdxxSwkirbPYWFF7Gu3SnqTKqtqnIeKnLL9woB5rX1EmviqyrRt0e8jy2WRiZMO fGwZx5OMOMR1SzA5vXa/jNEP4gbGTsG5r0xjl8WTVfrwCchBScJPPg8LgMOMmn6okXsg 3qGw==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; 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" X-Forwarded-Encrypted: i=0; AJvYcCVULhZkHDJCVkVrWNZE3QoxDV/zTjde9NIHmtH5m3xH13QVw4yxYmNRuGKj5XJfMvFBmmkUNXYkXcMTrMxLCJDN Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id t5-20020a05622a180500b0042aa8c81736si5990223qtc.347.2024.01.31.04.00.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jan 2024 04:00:37 -0800 (PST) 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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rV9EL-0002wr-6d; Wed, 31 Jan 2024 06:58: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 1rV9DP-0002S5-Cg; Wed, 31 Jan 2024 06:57:16 -0500 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rV9DN-00043j-Pl; Wed, 31 Jan 2024 06:57:15 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 0CD27490D3; Wed, 31 Jan 2024 14:56:48 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id 42EEE7027C; Wed, 31 Jan 2024 14:55:51 +0300 (MSK) Received: (nullmailer pid 2263976 invoked by uid 1000); Wed, 31 Jan 2024 11:55:49 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 21/21] hw/hyperv: Include missing headers Date: Wed, 31 Jan 2024 14:55:49 +0300 Message-Id: <20240131115549.2263854-22-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240131115549.2263854-1-mjt@tls.msk.ru> References: <20240131115549.2263854-1-mjt@tls.msk.ru> MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé Include missing headers in order to avoid when refactoring unrelated headers: hw/hyperv/hyperv.c:33:18: error: field ‘msg_page_mr’ has incomplete type 33 | MemoryRegion msg_page_mr; | ^~~~~~~~~~~ hw/hyperv/hyperv.c: In function ‘synic_update’: hw/hyperv/hyperv.c:64:13: error: implicit declaration of function ‘memory_region_del_subregion’ [-Werror=implicit-function-declaration] 64 | memory_region_del_subregion(get_system_memory(), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ hw/hyperv/hyperv.c: In function ‘hyperv_hcall_signal_event’: hw/hyperv/hyperv.c:683:17: error: implicit declaration of function ‘ldq_phys’; did you mean ‘ldub_phys’? [-Werror=implicit-function-declaration] 683 | param = ldq_phys(&address_space_memory, addr); | ^~~~~~~~ | ldub_phys hw/hyperv/hyperv.c:683:17: error: nested extern declaration of ‘ldq_phys’ [-Werror=nested-externs] hw/hyperv/hyperv.c: In function ‘hyperv_hcall_retreive_dbg_data’: hw/hyperv/hyperv.c:792:24: error: ‘TARGET_PAGE_SIZE’ undeclared (first use in this function); did you mean ‘TARGET_PAGE_BITS’? 792 | msg.u.recv.count = TARGET_PAGE_SIZE - sizeof(*debug_data_out); | ^~~~~~~~~~~~~~~~ | TARGET_PAGE_BITS hw/hyperv/hyperv.c: In function ‘hyperv_syndbg_send’: hw/hyperv/hyperv.c:885:16: error: ‘HV_SYNDBG_STATUS_INVALID’ undeclared (first use in this function) 885 | return HV_SYNDBG_STATUS_INVALID; | ^~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Manos Pitsidianakis Signed-off-by: Michael Tokarev --- hw/hyperv/hyperv.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hw/hyperv/hyperv.c b/hw/hyperv/hyperv.c index 57b402b956..6c4a18dd0e 100644 --- a/hw/hyperv/hyperv.c +++ b/hw/hyperv/hyperv.c @@ -12,6 +12,7 @@ #include "qemu/module.h" #include "qapi/error.h" #include "exec/address-spaces.h" +#include "exec/memory.h" #include "sysemu/kvm.h" #include "qemu/bitops.h" #include "qemu/error-report.h" @@ -21,6 +22,9 @@ #include "qemu/rcu_queue.h" #include "hw/hyperv/hyperv.h" #include "qom/object.h" +#include "target/i386/kvm/hyperv-proto.h" +#include "target/i386/cpu.h" +#include "exec/cpu-all.h" struct SynICState { DeviceState parent_obj;