From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-21.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0FC95C433B4 for ; Wed, 12 May 2021 08:42:41 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 46CA7613C3 for ; Wed, 12 May 2021 08:42:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 46CA7613C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:36588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgkRy-0001kF-RN for qemu-devel@archiver.kernel.org; Wed, 12 May 2021 04:42:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgkPy-0000y5-2H for qemu-devel@nongnu.org; Wed, 12 May 2021 04:40:34 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:39867) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgkPv-0001oZ-FE for qemu-devel@nongnu.org; Wed, 12 May 2021 04:40:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620808827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cpmCJ1TGD1ApKN8ld7X1V3n5B746NWTJgibTrWTyCzs=; b=Lz51LXUBZ07gEJjuglciP+nk7GROuslHq7ryaIsiF2PGUYzWW+ida5aKxE8RobiYMpoHqX K9NtEON9WHqH2/Gslz36RdHA3gf55wkiSoKdQF8xf0mVtBGWeP+Osj6Z+oilu3tU93m3KR L7IhbOtZtw+K4OTW9YLVOg6/9CMzKbY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-571-pW6ox0nrOouu1NOTDNMC7A-1; Wed, 12 May 2021 04:40:22 -0400 X-MC-Unique: pW6ox0nrOouu1NOTDNMC7A-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 80E55800D62 for ; Wed, 12 May 2021 08:40:21 +0000 (UTC) Received: from virtlab701.virt.lab.eng.bos.redhat.com (virtlab701.virt.lab.eng.bos.redhat.com [10.19.152.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4F8085D6A8 for ; Wed, 12 May 2021 08:40:21 +0000 (UTC) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL v2 00/32] Misc (mostly i386) patches for 2021-05-11 Date: Wed, 12 May 2021 04:40:20 -0400 Message-Id: <20210512084020.606871-1-pbonzini@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=pbonzini@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=216.205.24.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.699, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" The following changes since commit e58c7a3bba3076890592f02d2b0e596bf191b5c2: Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20210510-1' into staging (2021-05-10 17:28:11 +0100) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream for you to fetch changes up to e804f892b90e58861edd79aafa4d1f4dbdeb3819: coverity-scan: list components, move model to scripts/coverity-scan (2021-05-12 04:06:50 -0400) ---------------------------------------------------------------- * AccelCPUClass and sysemu/user split for i386 (Claudio) * i386 page walk unification * Fix detection of gdbus-codegen * Misc refactoring ---------------------------------------------------------------- v1->v2: dropped incorrect snapshot-load patch Claudio Fontana (18): i386: split cpu accelerators from cpu.c, using AccelCPUClass cpu: call AccelCPUClass::cpu_realizefn in cpu_exec_realizefn accel: introduce new accessor functions target/i386: fix host_cpu_adjust_phys_bits error handling accel-cpu: make cpu_realizefn return a bool i386: split smm helper (sysemu) i386: split tcg excp_helper into sysemu and user parts i386: move TCG bpt_helper into sysemu/ i386: split misc helper user stubs and sysemu part i386: separate fpu_helper sysemu-only parts i386: split svm_helper into sysemu and stub-only user i386: split seg_helper into user-only and sysemu parts i386: split off sysemu part of cpu.c target/i386: gdbstub: introduce aux functions to read/write CS64 regs target/i386: gdbstub: only write CR0/CR2/CR3/EFER for sysemu i386: make cpu_load_efer sysemu-only accel: move call to accel_init_interfaces accel: add init_accel_cpu for adapting accel behavior to CPU type Paolo Bonzini (12): i386: split off sysemu-only functionality in tcg-cpu target/i386: merge SVM_NPTEXIT_* with PF_ERROR_* constants target/i386: move paging mode constants from SVM to cpu.h target/i386: extract mmu_translate target/i386: pass cr3 to mmu_translate target/i386: extend pg_mode to more CR0 and CR4 bits target/i386: allow customizing the next phase of the translation target/i386: use mmu_translate for NPT walk main-loop: remove dead code qemu-option: support accept-any QemuOptsList in qemu_opts_absorb_qdict configure: fix detection of gdbus-codegen coverity-scan: list components, move model to scripts/coverity-scan Richard Henderson (2): target/i386: Rename helper_fldt, helper_fstt target/i386: Split out do_fsave, do_frstor, do_fxsave, do_fxrstor MAINTAINERS | 2 +- accel/accel-common.c | 32 + bsd-user/main.c | 2 +- configure | 4 +- cpu.c | 5 +- hw/core/machine.c | 1 + hw/i386/pc_piix.c | 1 + include/hw/core/accel-cpu.h | 2 +- include/hw/core/cpu.h | 6 + include/qemu/accel.h | 13 + include/qemu/main-loop.h | 18 - linux-user/main.c | 2 +- scripts/coverity-scan/COMPONENTS.md | 154 ++++ .../{coverity-model.c => coverity-scan/model.c} | 0 softmmu/vl.c | 1 - target/i386/cpu-internal.h | 70 ++ target/i386/cpu-sysemu.c | 352 ++++++++++ target/i386/cpu.c | 775 ++------------------- target/i386/cpu.h | 59 +- target/i386/gdbstub.c | 165 ++--- target/i386/helper.c | 13 + target/i386/helper.h | 11 + target/i386/host-cpu.c | 204 ++++++ target/i386/host-cpu.h | 19 + target/i386/hvf/hvf-cpu.c | 68 ++ target/i386/hvf/meson.build | 1 + target/i386/kvm/kvm-cpu.c | 151 ++++ target/i386/kvm/kvm-cpu.h | 41 ++ target/i386/kvm/kvm.c | 3 +- target/i386/kvm/meson.build | 7 +- target/i386/meson.build | 9 +- target/i386/svm.h | 10 - target/i386/tcg/bpt_helper.c | 276 -------- target/i386/tcg/excp_helper.c | 573 --------------- target/i386/tcg/fpu_helper.c | 106 ++- target/i386/tcg/helper-tcg.h | 8 + target/i386/tcg/meson.build | 5 +- target/i386/tcg/misc_helper.c | 467 ------------- target/i386/tcg/seg_helper.c | 237 +------ target/i386/tcg/seg_helper.h | 66 ++ target/i386/tcg/sysemu/bpt_helper.c | 293 ++++++++ target/i386/tcg/sysemu/excp_helper.c | 471 +++++++++++++ target/i386/tcg/sysemu/fpu_helper.c | 57 ++ target/i386/tcg/sysemu/meson.build | 10 + target/i386/tcg/sysemu/misc_helper.c | 442 ++++++++++++ target/i386/tcg/sysemu/seg_helper.c | 125 ++++ target/i386/tcg/{ => sysemu}/smm_helper.c | 19 +- target/i386/tcg/{ => sysemu}/svm_helper.c | 75 +- target/i386/tcg/sysemu/tcg-cpu.c | 83 +++ target/i386/tcg/tcg-cpu.c | 56 +- target/i386/tcg/tcg-cpu.h | 21 +- target/i386/tcg/translate.c | 13 +- target/i386/tcg/user/excp_helper.c | 39 ++ target/i386/tcg/user/meson.build | 6 + target/i386/tcg/user/misc_stubs.c | 75 ++ target/i386/tcg/user/seg_helper.c | 109 +++ target/i386/tcg/user/svm_stubs.c | 76 ++ util/main-loop.c | 61 -- util/qemu-option.c | 3 +- 59 files changed, 3299 insertions(+), 2674 deletions(-) create mode 100644 scripts/coverity-scan/COMPONENTS.md rename scripts/{coverity-model.c => coverity-scan/model.c} (100%) create mode 100644 target/i386/cpu-internal.h create mode 100644 target/i386/cpu-sysemu.c create mode 100644 target/i386/host-cpu.c create mode 100644 target/i386/host-cpu.h create mode 100644 target/i386/hvf/hvf-cpu.c create mode 100644 target/i386/kvm/kvm-cpu.c create mode 100644 target/i386/kvm/kvm-cpu.h create mode 100644 target/i386/tcg/seg_helper.h create mode 100644 target/i386/tcg/sysemu/bpt_helper.c create mode 100644 target/i386/tcg/sysemu/excp_helper.c create mode 100644 target/i386/tcg/sysemu/fpu_helper.c create mode 100644 target/i386/tcg/sysemu/meson.build create mode 100644 target/i386/tcg/sysemu/misc_helper.c create mode 100644 target/i386/tcg/sysemu/seg_helper.c rename target/i386/tcg/{ => sysemu}/smm_helper.c (98%) rename target/i386/tcg/{ => sysemu}/svm_helper.c (95%) create mode 100644 target/i386/tcg/sysemu/tcg-cpu.c create mode 100644 target/i386/tcg/user/excp_helper.c create mode 100644 target/i386/tcg/user/meson.build create mode 100644 target/i386/tcg/user/misc_stubs.c create mode 100644 target/i386/tcg/user/seg_helper.c create mode 100644 target/i386/tcg/user/svm_stubs.c -- 2.26.2