From patchwork Fri Feb 7 15:01:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 183200 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp847151ile; Fri, 7 Feb 2020 07:09:04 -0800 (PST) X-Google-Smtp-Source: APXvYqxIPLo3fVvECT0gHwtF8vFLhvNVceHPk2t3sjcmNuq8GrfpIBj8MKFjfsUaCs08WhWUf05N X-Received: by 2002:ad4:4e34:: with SMTP id dm20mr7331588qvb.163.1581088144753; Fri, 07 Feb 2020 07:09:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581088144; cv=none; d=google.com; s=arc-20160816; b=EBB5mzl/ZvReGrciDdpIXuMDusUwDt5gO8c/d9yUFEAS8dyZVs3pw8VOzF5eglXJ7d o3AGn23LQG4wY4Sx0ohE42nwCTIaw2xCtzc47XfcNbqb2AesR8N7HQB8BMIWnboMpd9U bTvIl7Cc4h1IT12u2/j4gVDfwt+bRmDymqlydICveHMPfa7uJEJ2cb1Erz1F1hVDwoMQ eqFNoEnEFNsppCUcxrDNx1I0lA6R/ejt+PQxs62JQSn1kcwjoPoW6jfaHWYbWLAaV51o txr0Wx2YY0pbOprGra/IA2vWwnR2JoFdkwF15ruRP2KM02D/cs8MvZ1IZVTgbIoQCqTw aALA== 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:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=IJCI3ecePskizRDxYgL1MN+1IoehJPZSqp7DKKTNS8A=; b=V9MGLCakZfUvbEeUvS04/wXLC5PbjyXDSUezLjj8ICZoNVOBSWV+Clj6/94FkL6uq0 YJtgGuSyx9kr+LZCqbvbj+yGgZldrTtTFtQ+/Nzo21A/59S9++Sc1rrrQ1OrXIOQrLyS Xa04Z+4mUKbeoOh7VQWstR/TT8GVLaFtF6KWHunwX4YFN8DFflSJ/qCk3ZL+qaUK2LCj c7S/XDvRm+wzxcenoLgTIQ6gCSxLz13BakdD6LdMck+MNdY9AYYX4vgMMxWNBavscLyO /t3uzYrvEMzr+9ps6Qa0osVuL3d/W3TSIUPSRa9WYE0JKAU/KlxBfeU9TBxLVvpPkRxl SHnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="JYzdP/i/"; 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=fail (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 o34si1596486qtf.322.2020.02.07.07.09.04 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Feb 2020 07:09:04 -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=fail header.i=@linaro.org header.s=google header.b="JYzdP/i/"; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:58994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j05Fg-00061G-AC for patch@linaro.org; Fri, 07 Feb 2020 10:09:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60257) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j058H-0000oz-9i for qemu-devel@nongnu.org; Fri, 07 Feb 2020 10:01:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j058F-0003rx-0K for qemu-devel@nongnu.org; Fri, 07 Feb 2020 10:01:25 -0500 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:40391) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j058E-0003m8-PQ for qemu-devel@nongnu.org; Fri, 07 Feb 2020 10:01:22 -0500 Received: by mail-wm1-x342.google.com with SMTP id t14so3087846wmi.5 for ; Fri, 07 Feb 2020 07:01:22 -0800 (PST) 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=IJCI3ecePskizRDxYgL1MN+1IoehJPZSqp7DKKTNS8A=; b=JYzdP/i/D8FO0LkEpN0NgzLiA0P0LsfNY9+uJRk7aokme7rbTV+Q9aCT14jhDdzz22 YdcN5f7qCR1B4UrgOKpuQ8qjDNUt3cC0Rzyi2QBdcPbsVQl502W7pdaKifQnsT7Dj2ys BJeOhWbWfO+ZU4euU9FREi91EkEKlsxEDtp44ry6N8EML9BOGc8bVoTLpfDxcQKMBBsb wgFr+g0ywJ7LB+bnbGXxup3/OZgfEjsSRR+b9HaITbSjMonX0j1zgTK34DQCz4OQZVuZ D5+Z0DONZASvT6IrJUzf8IjQSMR9mwEjxXc7PtUDsRc9lom1fAOik5kWJ01tYqTnwnem Kq7g== 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=IJCI3ecePskizRDxYgL1MN+1IoehJPZSqp7DKKTNS8A=; b=T45Zm08XTBDIeSaiUMKg5mdT3miZ9lw17/GuJLoggKVAVI5dtQu+YQnu3wgdFVf7QN 3B7kREBxYrexVkeK4TTJ5E6wlxvQkeEw9R9z2yz5hQGebXvkp1zhLipuz6tH4qA/oZ9z B75PeL6tjFoDTK6P1SqhjORhw/SuCHAz7p70fYYqr/qxQFEuQon2ZlUJcylbWjooKj6N X8rPEmHCdH56WESpF75Yx0joc1exl4rcBFkdI00jur0CqlQq6Z9pqTTY+5q9Fn+dtYk3 4W9rSipPW3lNDR7YhmXu/UNQ9kUqlPbM8XyB5ed1thCDYttKun7AutFnG8c6zPb+XPLL VhDA== X-Gm-Message-State: APjAAAUmmYqEMbjOUQMN5CuvQY6yseTRypxFobJgCJK8XCcfiNTQNEOj tMlTl0dqlHqupbKXUwEl7BMEqw== X-Received: by 2002:a1c:7203:: with SMTP id n3mr4784113wmc.119.1581087681633; Fri, 07 Feb 2020 07:01:21 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id i11sm3647867wrs.10.2020.02.07.07.01.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Feb 2020 07:01:19 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id E38EE1FF87; Fri, 7 Feb 2020 15:01:18 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 0/5] plugins/next Date: Fri, 7 Feb 2020 15:01:13 +0000 Message-Id: <20200207150118.23007-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::342 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: , Cc: robert.foley@linaro.org, robhenry@microsoft.com, aaron@os.amperecomputing.com, cota@braap.org, kuhn.chenqun@huawei.com, peter.puhov@linaro.org, =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Hi, A few bits and pieces for plugin cleanup. The most major thing in this series is tweaking the riscv decoder to only load the instruction bytes it needs. Alex Bennée (3): docs/devel: document query handle lifetimes target/riscv: progressively load the instruction during decode tests/plugins: make howvec clean-up after itself. Chen Qun (1): tests/plugin: prevent uninitialized warning Emilio G. Cota (1): plugins/core: add missing break in cb_to_tcg_flags docs/devel/tcg-plugins.rst | 13 +++++++++++-- plugins/core.c | 1 + target/riscv/translate.c | 39 +++++++++++++++++++------------------- tests/plugin/bb.c | 6 +++--- tests/plugin/howvec.c | 12 +++++++++++- tests/plugin/insn.c | 3 +-- 6 files changed, 47 insertions(+), 27 deletions(-) -- 2.20.1