Message ID | 20230106082853.31787-9-thuth@redhat.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:522:f3c4:b0:4b4:3859:abed with SMTP id in4csp664914pvb; Fri, 6 Jan 2023 00:48:59 -0800 (PST) X-Google-Smtp-Source: AMrXdXtmFzETf8ziBLtnSSgTrzNQss27niechb3ato6eWQ3cNWpOH4+8b5EZJOerOd31tpWV4kQo X-Received: by 2002:a0c:f951:0:b0:532:1f43:de0e with SMTP id i17-20020a0cf951000000b005321f43de0emr327631qvo.29.1672994939170; Fri, 06 Jan 2023 00:48:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672994939; cv=none; d=google.com; s=arc-20160816; b=As+5W5fY6swio12nojECxGLwdaW1ZEUnhMyaDsVu/vwF7E5tMZbzeVBvo/TQpR8t+J G6XcnvA4oj1lgVWatJo37W70Gofq9zO4EfgjcnbuZVqlqrheLhiydPgeQNCDYQs56ilu h4skiDs7QDr6l3+q3ye++GwP41ngvlrf72s4Fi7qgus5xVQsB81//6CHEp8F8TTvG7qE gMYvVH5cNXIAS4q5bWJYj0Hq7sQYS0kZFK+eWRZLNn4pcLUViO4x48BOxlTJbhkQookv iWAH5aDnFNLCYFtLCc+GJ4CqSBnX0FfT4huM/aIxZOP68Yy894BrvJq/2mWsi27aZBYN g09Q== 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:dkim-signature; bh=5rN5prbiwNVkagky0f0m4bmXXLWIfA30meh3PusUxRo=; b=qaaeA+pSeq8PTac7S2K7p2mk/cBUZhggcQ7ked4Bdqq+IKGIqEl3j+Cc9OyhJZgJOg RtgPNCBvaK89lz2LJpGEfX16k/wv32AB8yUIwB3QaNzyRrDBLOxi397iXI5TRWbFHzuc yx/vGXU5CxWoHy8bWUEhYojytyLUAbDcZnLDCA4LX6LhH4euDU4Wf5PpZKdAS5v3+Jga 9R3bvIJGgRoucTFrj4EswiOeejYdC6ru+b/JvsVq9GDhMLcZWVw5O9wZ9D+cOQItIHH5 VV0rn2oUx4Vei3eoQXIGBviyVjVMALkP5IYpY/4rQNqMeLBKcSxH0io9ecfk2W3r8LjI xOiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ubaoqm61; 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=redhat.com Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 70-20020a370849000000b006fb9adac69bsi239403qki.736.2023.01.06.00.48.59 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Jan 2023 00:48:59 -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=@redhat.com header.s=mimecast20190719 header.b=Ubaoqm61; 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=redhat.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1pDi6E-0002aQ-No; Fri, 06 Jan 2023 03:29: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 <thuth@redhat.com>) id 1pDi6C-0002ZA-Bp for qemu-devel@nongnu.org; Fri, 06 Jan 2023 03:29:12 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <thuth@redhat.com>) id 1pDi6A-0005Vw-RE for qemu-devel@nongnu.org; Fri, 06 Jan 2023 03:29:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672993750; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5rN5prbiwNVkagky0f0m4bmXXLWIfA30meh3PusUxRo=; b=Ubaoqm6133cPrk2ENGln906dChB4NY8E9ZGgjd+L+DTls8KVFFS49OgoLsQLP223soHeVy ar3oqwxqpb7TUfQj6SWPWe/d8M8JUTXPB/91krDOdt4NyMPDiO6FB1SHyigun7gsb0sEWj 2wlsSbhovGjVdaRR6BWx3mdhcWJbbcg= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-636-xOi0dPlUNeiwaX3S54cT1w-1; Fri, 06 Jan 2023 03:29:08 -0500 X-MC-Unique: xOi0dPlUNeiwaX3S54cT1w-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 22263101A521; Fri, 6 Jan 2023 08:29:08 +0000 (UTC) Received: from thuth.com (unknown [10.39.192.37]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2F9D9492B06; Fri, 6 Jan 2023 08:29:06 +0000 (UTC) From: Thomas Huth <thuth@redhat.com> To: Peter Maydell <peter.maydell@linaro.org>, qemu-devel@nongnu.org Cc: Nikita Ivanov <nivanov@cloudlinux.com> Subject: [PULL 08/15] target/s390x: Restrict sysemu/reset.h to system emulation Date: Fri, 6 Jan 2023 09:28:46 +0100 Message-Id: <20230106082853.31787-9-thuth@redhat.com> In-Reply-To: <20230106082853.31787-1-thuth@redhat.com> References: <20230106082853.31787-1-thuth@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
None
|
expand
|
diff --git a/target/s390x/cpu.c b/target/s390x/cpu.c index 96562c516d..b10a8541ff 100644 --- a/target/s390x/cpu.c +++ b/target/s390x/cpu.c @@ -26,7 +26,6 @@ #include "s390x-internal.h" #include "kvm/kvm_s390x.h" #include "sysemu/kvm.h" -#include "sysemu/reset.h" #include "qemu/module.h" #include "trace.h" #include "qapi/qapi-types-machine.h" @@ -35,6 +34,9 @@ #include "fpu/softfloat-helpers.h" #include "disas/capstone.h" #include "sysemu/tcg.h" +#ifndef CONFIG_USER_ONLY +#include "sysemu/reset.h" +#endif #define CR0_RESET 0xE0UL #define CR14_RESET 0xC2000000UL;