From patchwork Fri Jan 4 14:28:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 1020741 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=208.118.235.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fd8czuUA"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43WRyn25Zyz9s7h for ; Sat, 5 Jan 2019 01:30:25 +1100 (AEDT) Received: from localhost ([127.0.0.1]:35891 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfQUR-0001SK-6z for incoming@patchwork.ozlabs.org; Fri, 04 Jan 2019 09:30:23 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfQSa-0008W4-IK for qemu-devel@nongnu.org; Fri, 04 Jan 2019 09:28:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfQSV-0000hX-Jr for qemu-devel@nongnu.org; Fri, 04 Jan 2019 09:28:28 -0500 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]:41023) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfQSQ-0000e1-Cy; Fri, 04 Jan 2019 09:28:20 -0500 Received: by mail-lj1-x232.google.com with SMTP id k15-v6so32569312ljc.8; Fri, 04 Jan 2019 06:28:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=0/rO4Bl2DybARrc+RSAdT3bqCOdWAeyJiUhraGlJLSE=; b=fd8czuUAnS8OVDt4PgvKRbrOI1uolaJFkeUz2Y++6Hk8gEfUzQ91zwqGYRAoB1UDjv t0rENdlGXOC3UQa528MyCb3mQ7HCHZnnFu+uJihi4G/F7BqQBc9YmOHUFB/ja0/Q7giW etnsDzmp7jQAHaGo0kxKAk1SuXRUXTHDz5UFdIVtOoRj6BSu0xdZc3AVIZ72iC14AIJ3 9UwxnsA5YGxn3qmt7gM2S8iR/BXx18O+ML61bISldCMmD8bEYJr8+4N6KctDAAuzuzkg VQvEklxjijZm49hEasunsJoMsy9bg+eQwrQR50nYL/f2GxRTfLNd53qVPzHyetwAsGD1 QJuQ== 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; bh=0/rO4Bl2DybARrc+RSAdT3bqCOdWAeyJiUhraGlJLSE=; b=XOGkEs+/qpTlNs9/QiT7LuxXcwFBHAWBm9e/H4CY+qVcfntZJW1/UziDBd6uIiRK/A m7zjpMSJ6KHneT/pisEEWVa+bzRNDLz9XWl+oehTIC3AxbYI2bkVtJ0C8d7DkRv43Vmw dtQvKFloud4e9Y0EIgUq36mJPNcHbPVpov/zaL89XNaxMJQDxDLbMOsAmz7gNTTWMxuw jpSEws027W/Vs2at+85owi9pRsXh+L4nKlCNSXiy3cShSdg98Lr0E7mKRsypibqwdjQk /gWRBDLitKfOHQk/lXAGRXfGpwQ9zt4YVKhNhCidUbRsoWlRK1iogZvDYLE7zkbF0fRd EVTg== X-Gm-Message-State: AJcUukdeZxX5fBy4VYzRkRc1qDxUIspSfl+Il0uLN6tgHSCwiAsTwKIO Wk/7P6axk6D0I/VmbIcx/rS9Jn2NPYo= X-Google-Smtp-Source: ALg8bN7N8bswXW8JIoqgugcNwx5TK/E51H+vmQyEfFfJoawCvVrix1bQiOd9iv1u8gC8ug6uuUKjTw== X-Received: by 2002:a2e:9c7:: with SMTP id 190-v6mr22008208ljj.120.1546612094030; Fri, 04 Jan 2019 06:28:14 -0800 (PST) Received: from gmail.com (81-231-232-130-no39.tbcn.telia.com. [81.231.232.130]) by smtp.gmail.com with ESMTPSA id f8sm12468887lfe.72.2019.01.04.06.28.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Jan 2019 06:28:13 -0800 (PST) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, qemu-arm@nongnu.org Date: Fri, 4 Jan 2019 15:28:10 +0100 Message-Id: <20190104142812.20444-1-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.17.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::232 Subject: [Qemu-devel] [PATCH v1 0/2] target/microblaze: Add properties to enable exceptions on failed bus accesses 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: figlesia@xilinx.com, peter.maydell@linaro.org, sstabellini@kernel.org, edgar.iglesias@xilinx.com, sai.pavan.boddu@xilinx.com, frasse.iglesias@gmail.com, alistair@alistair23.me, frederic.konrad@adacore.com, philmd@redhat.com, luc.michel@greensocs.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: "Edgar E. Iglesias" This adds the necessary properties to MicroBlaze cores to enable exceptions on failed bus accesses. There's no board that acutally uses this yet. This also adds an unimplemented device to the s3adsp1800 board since I used that board to test this feature. The s3adsp1800 does not enable the exceptions by default though, so they remain off. Cheers, Edgar Edgar E. Iglesias (2): hw/microblaze: s3adsp1800: Create an unimplemented GPIO area target/microblaze: Add props enabling exceptions on failed bus accesses hw/microblaze/petalogix_s3adsp1800_mmu.c | 4 ++++ target/microblaze/cpu.c | 12 +++++++++++- target/microblaze/cpu.h | 2 ++ 3 files changed, 17 insertions(+), 1 deletion(-) Reviewed-by: Luc Michel