From patchwork Fri Dec 16 22:04:06 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: 634476 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1084636pvb; Fri, 16 Dec 2022 14:22:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf6tG5daJeWN+vguoOATqN00332HWALNcPMUkIRXOoGky8WcZp1QmtDI9QoRBITOP/EmSqjp X-Received: by 2002:a05:622a:1e17:b0:39c:da1f:f7ea with SMTP id br23-20020a05622a1e1700b0039cda1ff7eamr38351865qtb.16.1671229335454; Fri, 16 Dec 2022 14:22:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671229335; cv=none; d=google.com; s=arc-20160816; b=gGMDjPVoLYcBDR2ZLnL4juB5EkIAbprgz3Qpr7ADbz4CLvVW3MHrXGeX5re2E0JIU9 gGj0yp8hBnwYjnuyuoFA1sQP91Ed1WRjHwD/BzoeD7iN8asIiC/zjloFkGMDyC1KVTPE oq4bEc9nqqDErCIhpZIE5KQlM6HAIuiIp5A3br60k+G+hCl9hDm3edBn+ZrvTGasbSGh sPg7/ZmqLjX7UzwhT2NcCUcCaPFhXYOzKWcjtzX8Uh2szCQhIL58KZYgNjbOSEnGo01B QPSkAnFEf4wh/9Xqi0dbxP0gEjO0s4ywp9q9vID8V6WXE87Hl39ykUqoDvcdjD90Mrru M19A== 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=UmKj596+Spl5Mq0rrnKISHcFLMYc7tS8XKUwXGtA7io=; b=KGAko1MGKuZsgZlWi4J/fcpqeUb7EGRFMhpvn/snRhGYUCjYsesqzH1EFmIoRmwxUm WgHX+0RhuobBXWZ3r+OigSISc6JNAmTuQfZqfJGd8y2AVnOmaPQeoKTj0roHT0CUCvRk Sy7c3oibh3LvDam870xsry2EUbR7zpVVus6imhsEYrbyjZ1CaXfacpQ9sHhDSmYKfDSr kELmXm9Iph+Cn45apEAc392SDlezKEUfp4dkOuJbQvONYp/EVp58VAfV9G2FzBS6ES1O 3A8ToLOJf0cj+pxwKuTFrV5EjkYItJ1BlusWDWpTBfgsd99n51o40oaxqMInRPS8KIVi 41Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sj5yeOPZ; 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 l4-20020ac87244000000b003a69225c2bcsi1499248qtp.342.2022.12.16.14.22.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Dec 2022 14:22: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; dkim=pass header.i=@linaro.org header.s=google header.b=sj5yeOPZ; 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 1p6IoY-0007cg-90; Fri, 16 Dec 2022 17:04:22 -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 1p6IoU-0007ar-Kh for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:04:18 -0500 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6IoS-000526-VS for qemu-devel@nongnu.org; Fri, 16 Dec 2022 17:04:18 -0500 Received: by mail-ed1-x530.google.com with SMTP id r26so5452016edc.10 for ; Fri, 16 Dec 2022 14:04:16 -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=UmKj596+Spl5Mq0rrnKISHcFLMYc7tS8XKUwXGtA7io=; b=sj5yeOPZvjGqp6gGyVuGfmUsf6cqbq5Nb2FmzGIknUwqqVUrspmOGTYArANE3SkSLH azQFN1t3RNKrqnAiVSsETCFie83CjfaD8en1H6yrXxk3hgdN5xW1FWZ/ksD85yleyzUj /BRaVhR+iEHhT6HXS6M64bPPdr2hElb1akzxC00iRo7GO+F2YtVPL+P1/ql1cT/6XnH1 0UQWj4r4rfZbwSsXXLucEiOPJBWPAonvUJ+sEyui+Cr7sw+JNbv8lqR/5IYRgq9zbg6U WA0pXgxg43O/vDec0iELR6p+moYwSnbAssxeAM1koqikf0aQoCMXw6+j4B3dNrozPCaA NmmQ== 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=UmKj596+Spl5Mq0rrnKISHcFLMYc7tS8XKUwXGtA7io=; b=C0wMUsvbzlsFHd2TzdKTnjbmt8bt2/RrEgt5gdBIHQ681p4DPPhsi0UbeOhmS6RDF5 ZHpyBbSFSQF/JxVFMIcMwLEI+1jon+fsADxFtm35Ft2GMzfItT3TVeHksahlVfXNDFYG OQlG7lCuHafwSP3rac+T8SEDAAPE1SWmfth0j4jKerFPQ3OkXJJqSaEGgZhgVbu3J8JB fiKPVIG7oW02NmZj8RDFJBBtetm97lQMHl4VlfjfNXznDSt0ljp9/aIaDFRHxpk7XoiC tuHhU4TcPJ0ECLrk+M1EuMr/QN27JkIKsXpWSmbLdp6apDmU12sJqfTxCbca3+3DucYv sfPw== X-Gm-Message-State: ANoB5pnX5ZBk5jPMU8yViTgSCJ+MGYRxeWr1tT2jiYVyqF8baL23Ev99 IHZxl5D77SfI82uDZSuBX2EdYan0dRdw4fqS0FE= X-Received: by 2002:a05:6402:e97:b0:461:6219:4b16 with SMTP id h23-20020a0564020e9700b0046162194b16mr17525107eda.33.1671228254871; Fri, 16 Dec 2022 14:04:14 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id w26-20020aa7cb5a000000b0046c53c3b2dfsm1314417edt.38.2022.12.16.14.04.12 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Dec 2022 14:04:14 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: David Hildenbrand , Thomas Huth , Halil Pasic , Paolo Bonzini , Christian Borntraeger , =?utf-8?q?Philippe_Mathi?= =?utf-8?q?eu-Daud=C3=A9?= , Eric Farman , Ilya Leoshkevich , qemu-s390x@nongnu.org, Richard Henderson , Peter Xu , Matthew Rosato Subject: [PATCH 0/5] target/s390x: Header cleanups around "cpu.h" Date: Fri, 16 Dec 2022 23:04:06 +0100 Message-Id: <20221216220411.6779-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::530; envelope-from=philmd@linaro.org; helo=mail-ed1-x530.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. Philippe Mathieu-Daudé (5): exec/memory: Expose memory_region_access_valid() hw/s390x/pv: Un-inline s390_pv_init() hw/s390x/pv: Simplify s390_is_pv() for user emulation target/s390x/tcg/misc_helper: Remove unused "memory.h" include target/s390x/tcg/excp_helper: Restrict system headers to sysemu hw/s390x/pv.c | 13 +++++++++++++ hw/s390x/s390-pci-inst.c | 2 +- include/exec/memory-internal.h | 4 ---- include/exec/memory.h | 4 ++++ include/hw/s390x/pv.h | 20 ++++++++------------ target/s390x/tcg/excp_helper.c | 10 +++++----- target/s390x/tcg/misc_helper.c | 1 - 7 files changed, 31 insertions(+), 23 deletions(-)