From patchwork Sat Dec 17 15:24:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 634847 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1413582pvb; Sat, 17 Dec 2022 07:25:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf5Em2M5N5tWevHfrsk06WB3y5db/Yh4tFdTk637JsMMRI1JgBbV9lcNQmaosu5CXzNsJfSa X-Received: by 2002:ac8:5ec3:0:b0:3a8:2d7:af66 with SMTP id s3-20020ac85ec3000000b003a802d7af66mr43768346qtx.21.1671290733933; Sat, 17 Dec 2022 07:25:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671290733; cv=none; d=google.com; s=arc-20160816; b=eUoNrjmPTQYllAZc5tsgeplbRIZkW/g/Y/6yZ+zjlBuILObOMtL3tGm9BRfF4xcvuz 6PRJHNQab37LVxcbIY0qAti4hyKw/87CKV1qaXNBM9ChshK3cVZVY+KiCbR7nWhjjSue rpTKEJW7EwRdl/fePB9edNldNURboupVhyW3BVHl9KmTYe6gaErPb6fvJmhF3cvqU5D4 VVk4adLGclDoqKoFbEXxqkxj0KE0yqbio1ql3oNkaLo46vokBtY/VNHiNpKykxQu+Mmn 66roX3zKtKA6UNFaXyhhnrKFdmTRuXRm2IIUYvqOBcsIrTsJxre/RbwAS1tGBno0aWzs dPSg== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=4w2rpPEp7eAU85A9eInwl5J4/wX8EbvXzKdVrXPiomQ=; b=dV1cLuPdCtgEfwZO0Ef7tbUQvQDA/pRA3X6GmrhZqV3daj97/D6Q1nqMDQ5xEf7rN+ ns6qlvOifNwq/kupufnymwrqc2vcq6Tl3aN/SswM5oS/sBwK6oN9VRLWc/fNkhfgbcEF Hd87L7voIMHSPjNbZIG7DUrOTOJ38P345QhIyHpr+BLB5VkCNrgDi8XQ/UWkXBq9CnGa wpTPhVQWyXUQJRuExlLTR65/8R6ZrWCXdKzQE0YvHhifixP0w4+6wDzGzkKShBusiu29 NjY29O2U305E0gI5Ybqo9U2ky6PVyGYaP//tGz/uXgcMbE0zH5uxRe7/+k1QY3bLGvco q2+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="duBH/ZwY"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id i11-20020ac871cb000000b003a7e9f35822si2202534qtp.722.2022.12.17.07.25.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 17 Dec 2022 07:25:33 -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; dkim=pass header.i=@linaro.org header.s=google header.b="duBH/ZwY"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6Z3f-0003N7-2O; Sat, 17 Dec 2022 10:25: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 1p6Z3d-0003Ma-AJ for qemu-devel@nongnu.org; Sat, 17 Dec 2022 10:25:01 -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 1p6Z3b-0005Bp-Tc for qemu-devel@nongnu.org; Sat, 17 Dec 2022 10:25:01 -0500 Received: by mail-ej1-x632.google.com with SMTP id gh17so12536936ejb.6 for ; Sat, 17 Dec 2022 07:24:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=4w2rpPEp7eAU85A9eInwl5J4/wX8EbvXzKdVrXPiomQ=; b=duBH/ZwYsNfPpVTMgzv9wZrPgIXvRuooDQprB1m/jsW6bCFlh9tt1wcIK24fZRvt2Z 8RUUIkOtFsI6fkvWwEiqDzyIyDjMZSlX/k3pY9EtYZ0ZqkCSwV9xXhqPKdqWZwOvl8+i BnovlqBO61bUg5W638BeJkOJQ685Qm67eiXNlU6DkNe4rqKdcc4t1lUBU7ZsqS0UCz1/ zUSJbxiJes8E9pEw3s1uV5exZF9bX5CJre9IlSC/P3fBuBf3JY0X2ly8ww05LwKuYDNW vHYKt89g4Q3b/2RXK7WloJC6RbVTkgjQ+fZ71MBW11cGt11bCf67ZKQxQNr/rfAXqSI/ eTrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4w2rpPEp7eAU85A9eInwl5J4/wX8EbvXzKdVrXPiomQ=; b=eh+2leM1mlK7z6OToeS3dJ7MYGKklZtv7z207gnqjWwOFlXVMxQCPJBVgnNu3FXn42 1rNUkVn+KMphCvYETBoJVO2Trp99Ox2Go3MkfOSkBLlL5GvZVTaeKQTa0nuVStgkIBjT Va5pHw0bcI9hB0ejZXr0HmKLM0OogMKsuL3mcIq0c/zJzVXJKsD5z7ACYXqjcRBaAPLz wd3o7L8WMWvBgcqBssGZ9uRf3XXGeMmfYm/4KgPXipDl9shqA/pFS2/EFDh9N14zU54h A2JcqGWkHL8wBv5/XeD6GYlOlHIZLDDqkDl5qPLmFL1baIm1nG58tEQUi+YDEdah4+1h JlaQ== X-Gm-Message-State: ANoB5plMUUmVct2tQ02qH0r1jOsuyziR9iGsJuJ4VGpl5xghrqgtfc6c 6oInP4GD7QPqDdPEnXZHnR8Y8tEVUG0VvjqtNBw= X-Received: by 2002:a17:906:c52:b0:78d:f457:108f with SMTP id t18-20020a1709060c5200b0078df457108fmr29189839ejf.76.1671290698205; Sat, 17 Dec 2022 07:24:58 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id ia11-20020a170907a06b00b007ae32daf4b9sm2080186ejc.106.2022.12.17.07.24.56 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Sat, 17 Dec 2022 07:24:57 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, Richard Henderson , Paolo Bonzini , Peter Xu , Matthew Rosato , Halil Pasic , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , David Hildenbrand , Christian Borntraeger , Thomas Huth , Eric Farman , Ilya Leoshkevich Subject: [PATCH v2 0/5] target/s390x: Header cleanups around "cpu.h" Date: Sat, 17 Dec 2022 16:24:49 +0100 Message-Id: <20221217152454.96388-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 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 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org These patches are part of a big refactor cleanup around "cpu.h". Most changes should be trivial IMHO. Since v1: - Fixed s390_pv_init() on non-KVM hosts - Keep "exec/cpu_ldst.h" in user-emu (rth) Philippe Mathieu-Daudé (5): exec/memory: Expose memory_region_access_valid() hw/s390x/pv: Un-inline s390_pv_init() hw/s390x/pv: Restrict Protected Virtualization to sysemu target/s390x/tcg/misc_helper: Remove unused "memory.h" include target/s390x/tcg/excp_helper: Restrict system headers to sysemu hw/s390x/pv.c | 4 +++- hw/s390x/s390-pci-inst.c | 2 +- hw/s390x/s390-virtio-ccw.c | 6 ++++-- include/exec/memory-internal.h | 4 ---- include/exec/memory.h | 4 ++++ include/hw/s390x/pv.h | 13 ------------- target/s390x/cpu_features.c | 4 ++++ target/s390x/cpu_models.c | 4 +++- target/s390x/tcg/excp_helper.c | 8 ++++---- target/s390x/tcg/misc_helper.c | 1 - 10 files changed, 23 insertions(+), 27 deletions(-)