From patchwork Mon Sep 7 17:50:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 249238 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp3881032ilg; Mon, 7 Sep 2020 10:51:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqoZmOG/Lctpu2SjF3ddA3n1tzDaWQdXgXBodiZUkSv4yEh9CKE6JjDDLrpgPasjhbOaLn X-Received: by 2002:a25:7608:: with SMTP id r8mr31664541ybc.518.1599501079150; Mon, 07 Sep 2020 10:51:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599501079; cv=none; d=google.com; s=arc-20160816; b=rGK7G1C1oIbw/QEpQ+7Z1O0V0T2rUpRKHBvwCrYKcy7LdcrDvpNHEaPTMXCFwqtqyx m3gFG6/Iog9DkP8rCABjhQT9IPd0IGs/RPMc2XWkVXAglqyRokoNTSC7UXAXkNVBXbfS pDjeqivoY8x1rY313a8WY+g/YxEWZPs9OvA+fCwFNPs/qohYSOQM2LaGSB6MZsHmrHzC Mf40pTZXnaOlC0xa45VPGjkRpYJVz7rsc4FZ265iW+llt++1hT5Dvi6A+zPGamB32H0D G5LH6WdeapNU2vqD4zZdvvmCSDNEa7wQgCIva47iYNriSESPGQZ7evAxhn9JgWpZ/MGX NOqQ== 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=RjqVFOTeqg9LVlbApNcAWSAyva2vOJwRXeL4ngm1lCU=; b=mqSfPTmMZA0BHyXb068TzVeWAuaMrjhoMz3IJaukoutt1lIbzlhe0ZyO75Gtt6iOod 9t8OUBVuA3aIy3njSqZeSQGKik8NuRYV5ZEd/bRAKj45ZWkr3WZMQeB2IoS10R74jfic ycVycm4PvpqvaTPEwZOFJho0W7jl3ePsas6NIBngsY9I3Jg+WW71ekjC3rjlgac0fZDR yLTKP8DisXzJr4yNcDM36BPWcH2uxnHn5tlCORV6RCtF/WgEjMwWes8xBmWSpsOy92x2 KDdlLHOpocCL76ZPsnS7Y/wq5MxAqyAI8PtQ+WhOAuXq2+40d4RwupmC3/OiPGJ9tqm1 rgAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ly2Q+Fo5; 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 k22si11632889ybk.444.2020.09.07.10.51.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 07 Sep 2020 10:51:19 -0700 (PDT) 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=Ly2Q+Fo5; 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]:36424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFLIU-0004fk-JH for patch@linaro.org; Mon, 07 Sep 2020 13:51:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFLIK-0004fV-Bp for qemu-devel@nongnu.org; Mon, 07 Sep 2020 13:51:08 -0400 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]:50383) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFLII-0000kQ-Bo for qemu-devel@nongnu.org; Mon, 07 Sep 2020 13:51:07 -0400 Received: by mail-pj1-x102e.google.com with SMTP id b16so7020379pjp.0 for ; Mon, 07 Sep 2020 10:51:05 -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=RjqVFOTeqg9LVlbApNcAWSAyva2vOJwRXeL4ngm1lCU=; b=Ly2Q+Fo5t8L1+9DHoUAZav5s/8jW6d0oQkAYZ1lsM5iuMG85jKeBgYBocuT4z+Tuo2 ixh5HWJ6HYXIyG511mx2xyXdbnWq2IM92u5OkNFTp3JT3MIbGtl/CgqQudP/vDC1x2X8 nnAVUVR64EhiB4p5bEF4ACaSzfu12AO/gQqWtL6Wtwe7HG0J4xphGw/uE3nf44gQBNPc +TaIZiiKCkkmPx/MWUOVi2PD+2QRcgGoEhFocmKxEUUuZzfvYxCyMVO6gWUPMMixVSJm CZtyqOowavL8W6d4Yz/gc94zPCHKooACH6WIiTZ7JHDI++O7aLiysxtYPxQ3P1Uv20r2 Se1w== 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=RjqVFOTeqg9LVlbApNcAWSAyva2vOJwRXeL4ngm1lCU=; b=CjFjpktjH/GP44XER/l0VGsPXZ0yhqUv8c6u/mUya+qqeER0KEGtmIbjcFaF8VTnKX klnC9nN6qGQ6TI9lPQTBNnAExMiAT0w4FRZcabHdXX990cr3jDQSGaoyykjYl6T8x9SU Vc0fgndA6j1az8Nh+M4KSU9PATBux6sF9rEqRpZBR2mUvLy17aIj3dOGzp3tprsOuRCi SXlK9xcPFxI7GldPIupp6k6W4zMmOzISBGZu5DmNRUXjQDCJaz0mDtiyNaJ/+j8EWtgk u/TH4a7Un4kbS6NXtCpJm331cYANzUG6pjMWkThmnBbkmfQQzSNlw02lFzbJM1VhjnQa kF8Q== X-Gm-Message-State: AOAM530YHuf7kcRGw8MqTHVHPHGpxRV4nzgUGuRgVEJEAW6CvSLfjp/C wO5qiHe6n3KxWfZ5SejceQv0fCWhxYKLfQ== X-Received: by 2002:a17:90a:dd45:: with SMTP id u5mr380363pjv.198.1599501064334; Mon, 07 Sep 2020 10:51:04 -0700 (PDT) Received: from localhost.localdomain ([71.212.141.89]) by smtp.gmail.com with ESMTPSA id ga3sm1651496pjb.18.2020.09.07.10.51.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Sep 2020 10:51:03 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 00/19] target/microblaze patch queue Date: Mon, 7 Sep 2020 10:50:42 -0700 Message-Id: <20200907175102.28027-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::102e; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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=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: , Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Doing the PR on request from Edgar. r~ The following changes since commit 9d5589bb3feed442ae7ee24d2d882aa0312349a6: Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-5.2-pull-request' into staging (2020-09-07 15:31:04 +0100) are available in the Git repository at: https://github.com/rth7680/qemu.git tags/pull-mb-20200907 for you to fetch changes up to 971338d7906b89359c75bd657e4275fdb12cf38d: configure: Do not set TARGET_ABI32 for microblaze (2020-09-07 10:42:04 -0700) ---------------------------------------------------------------- Fix icount regresion. Use lookup_and_goto_tb. Cleanup and fill in VMStateDescription. ---------------------------------------------------------------- Richard Henderson (19): target/microblaze: Collected fixes for env->iflags target/microblaze: Renumber D_FLAG target/microblaze: Cleanup mb_cpu_do_interrupt target/microblaze: Rename mmu structs target/microblaze: Rename DISAS_UPDATE to DISAS_EXIT target/microblaze: Introduce DISAS_EXIT_NEXT, DISAS_EXIT_JUMP target/microblaze: Replace cpustate_changed with DISAS_EXIT_NEXT target/microblaze: Handle DISAS_EXIT_NEXT in delay slot target/microblaze: Force rtid, rted, rtbd to exit target/microblaze: Use tcg_gen_lookup_and_goto_ptr target/microblaze: Diagnose invalid insns in delay slots target/microblaze: Split out MicroBlazeCPUConfig target/microblaze: Reorg MicroBlazeCPUConfig to minimize holes target/microblaze: Move pvr regs to MicroBlazeCPUConfig target/microblaze: Treat pvr_regs as constant target/microblaze: Move mmu parameters to MicroBlazeCPUConfig target/microblaze: Fill in VMStateDescription for cpu target/microblaze: Put MicroBlazeCPUConfig into DisasContext configure: Do not set TARGET_ABI32 for microblaze configure | 1 - target/microblaze/cpu.h | 81 +++++++------ target/microblaze/mmu.h | 20 +--- hw/microblaze/petalogix_ml605_mmu.c | 6 +- target/microblaze/cpu.c | 120 ++++++++++---------- target/microblaze/gdbstub.c | 6 +- target/microblaze/helper.c | 220 ++++++++++++++++-------------------- target/microblaze/machine.c | 106 +++++++++++++++++ target/microblaze/mmu.c | 39 ++++--- target/microblaze/op_helper.c | 2 +- target/microblaze/translate.c | 198 +++++++++++++++++++++----------- target/microblaze/meson.build | 5 +- 12 files changed, 482 insertions(+), 322 deletions(-) create mode 100644 target/microblaze/machine.c