From patchwork Thu Jun 14 19:31:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 138615 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp2525981lji; Thu, 14 Jun 2018 12:38:03 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJASMgUT0frBq4WZcvwKmhfEx7Q47By9oLHt8gH/unqOuZ0rTFTajXA0Mwk9BJw0oQ7gC0j X-Received: by 2002:ac8:2e83:: with SMTP id h3-v6mr3662754qta.365.1529005083767; Thu, 14 Jun 2018 12:38:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529005083; cv=none; d=google.com; s=arc-20160816; b=OCrz1Foj8ZlI5R6wGypx1MDEO7SKo3pOCEQ3UZ8qg0VoyA5IVc9AI7xpPOkmcL7+2r KPIjFTIhDiFGcl1w98dZ5aI78a6NaWL834hfbXNvV8+zVOjSq7ZmaeyhdcleacOYrImb 9veHVguOGtXu5+WHI07CaK7hU2uzTFMGVsOrb6JVs5cTcg9hUzik0z5AAeK706GffB6A pGGb/IGJw37Iaqb3/UL20wP0DNoiho2lX7LOK9tPTCEphV934kt4DVYDPaMomsZ2uo00 D0v3BoYGkZzkzLiAPFXA+FiPJ4Su9sQnJM+IQhEOxaPCGAFU0yYG91mr0ir0qtTSEgLA 9sVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=4DOAFFUvoGz9L1T19jFeM8DezLtxG3f481S0l44U4mc=; b=skkZkJ9INzTU3ydjoFEuLTT6syZWWaNmW5asWFIv4xriKSJDRVbEet2eRcm1RtMMoV 1U71Kl62sHQTBJjy71lrNrTi/+XCB6SuINbaVDeGIhS3NYdJlWkHtmiqpXQuXXkBS0p7 Cr77N22tiFRTEtdt2CjeBnRa3oArpSNEN8mwutqj2tLzl9hFYMphLIk9LgRU9L0A4kBo mUEuyAxQZ3Mlb2urI5HJX7beh4lTFzq543YDz7yCiZh4OMm+fQUxXCMoIxQJbm+qB7jE 082AquN+ZRhpKnQ//Fg4CwwPn2YLd8vWf1sBlRQrJTUu79g39ESLwgQ3XJaiCtTXnN4B trlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=BKB6DTT6; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id k67-v6si3799928qke.84.2018.06.14.12.38.03 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 14 Jun 2018 12:38:03 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=BKB6DTT6; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTY4J-00039O-6P for patch@linaro.org; Thu, 14 Jun 2018 15:38:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTXyP-0006pw-OW for qemu-devel@nongnu.org; Thu, 14 Jun 2018 15:32:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTXyL-0005eQ-Nr for qemu-devel@nongnu.org; Thu, 14 Jun 2018 15:31:57 -0400 Received: from mail-pl0-x22f.google.com ([2607:f8b0:400e:c01::22f]:44023) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTXyL-0005dz-FC for qemu-devel@nongnu.org; Thu, 14 Jun 2018 15:31:53 -0400 Received: by mail-pl0-x22f.google.com with SMTP id c41-v6so4064349plj.10 for ; Thu, 14 Jun 2018 12:31:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4DOAFFUvoGz9L1T19jFeM8DezLtxG3f481S0l44U4mc=; b=BKB6DTT677hQ95LT5TyvurEUTOLIh/ncF13EECk/pYYxcoXVmGn+kpBfqu+N7cWer3 tKEVFXzew7K8dDKfbgL7il9U+6BgW7SgQZt+znSIOzPwsCEnP67ie7UKfjXqUP98qSmY Hd3eNYi+8M8mluKSf08ls7psmflS4ZZuFjvrY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4DOAFFUvoGz9L1T19jFeM8DezLtxG3f481S0l44U4mc=; b=gM1Cew2iVFqvMDBmgTN3erekApMADpN6vsa4miulkiGXx6Fez58FamYZOq4404IhaI zFgni9ek8+1nBLeDBG1k2J5URBi0yB4znmhJKxf9ExNRb1l5bOvzkJjmXWhll9nCoDub 5buIACISpUnZQuCJ6YSmBBHQmxUA5WM8ntt3tlmFcaN/z5sq9WbZkT2lepqCwQDVyv43 PiJ03Z25hibvQ4XZaPoKMpOUkdXw22CEoLChydQYoeG1PFeAMA9eeXOLV/IPOSwrpxr+ Sxbm7x7EjpWYhqJfhAXi330WqSB1KAZKJ+XvdA4hlaQ6J+RACPdDrg5yF4o0C3ERMth4 LdkA== X-Gm-Message-State: APt69E2QyegRvXHKKVwhrPOtpHQHSwNnG5Ec4Vqm4zSbevqF4N9NKLOP XtUXgf94hEY16inYLCyfOmjIfy2I/UM= X-Received: by 2002:a17:902:2f43:: with SMTP id s61-v6mr4389596plb.274.1529004711879; Thu, 14 Jun 2018 12:31:51 -0700 (PDT) Received: from cloudburst.twiddle.net (rrcs-173-198-77-219.west.biz.rr.com. [173.198.77.219]) by smtp.gmail.com with ESMTPSA id x24-v6sm11532184pfj.104.2018.06.14.12.31.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Jun 2018 12:31:50 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Thu, 14 Jun 2018 09:31:29 -1000 Message-Id: <20180614193147.29680-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::22f Subject: [Qemu-devel] [PULL 00/18] tcg queued patches X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The following changes since commit 2ab09bf2f9f55b9fb8d2de6eb2ba2a8570e268e2: Merge remote-tracking branch 'remotes/kraxel/tags/usb-20180612-pull-request' into staging (2018-06-12 15:34:34 +0100) are available in the Git repository at: https://github.com/rth7680/qemu.git tags/pull-tcg-20180614 for you to fetch changes up to ba3e9674da7b60ad627e122a6496d3e13f20c34f: tcg: remove tb_lock (2018-06-12 08:26:19 -1000) ---------------------------------------------------------------- Workaround macos assembler lossage. Eliminate tb_lock. ---------------------------------------------------------------- Emilio G. Cota (17): qht: require a default comparison function qht: return existing entry when qht_insert fails tcg: track TBs with per-region BST's tcg: move tb_ctx.tb_phys_invalidate_count to tcg_ctx translate-all: iterate over TBs in a page with PAGE_FOR_EACH_TB translate-all: make l1_map lockless translate-all: remove hole in PageDesc translate-all: work page-by-page in tb_invalidate_phys_range_1 translate-all: move tb_invalidate_phys_page_range up in the file translate-all: use per-page locking in !user-mode translate-all: add page_locked assertions translate-all: introduce assert_no_pages_locked translate-all: discard TB when tb_link_page returns an existing matching TB translate-all: protect TB jumps with a per-destination-TB lock cputlb: remove tb_lock from tlb_flush functions translate-all: remove tb_lock mention from cpu_restore_state_from_tb tcg: remove tb_lock John Arbuckle (1): tcg/i386: Use byte form of xgetbv instruction accel/tcg/translate-all.h | 6 +- include/exec/cpu-common.h | 2 +- include/exec/exec-all.h | 51 +- include/exec/memory-internal.h | 6 +- include/exec/tb-context.h | 4 - include/qemu/qht.h | 32 +- tcg/tcg.h | 13 +- accel/tcg/cpu-exec.c | 96 ++-- accel/tcg/cputlb.c | 8 - accel/tcg/translate-all.c | 1045 +++++++++++++++++++++++++++------------ exec.c | 26 +- linux-user/main.c | 3 - tcg/i386/tcg-target.inc.c | 5 +- tcg/tcg.c | 205 ++++++++ tests/qht-bench.c | 18 +- tests/test-qht.c | 23 +- util/qht.c | 41 +- docs/devel/multi-thread-tcg.txt | 24 +- 18 files changed, 1131 insertions(+), 477 deletions(-)