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: 10748395 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F290D1399 for ; Fri, 4 Jan 2019 14:30:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E28FC2848F for ; Fri, 4 Jan 2019 14:30:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D62D0284B3; Fri, 4 Jan 2019 14:30:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: * X-Spam-Status: No, score=1.6 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,FSL_HELO_FAKE,MAILING_LIST_MULTI autolearn=no version=3.3.1 Received: from listsout.gnu.org (listsout.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 99146284B5 for ; Fri, 4 Jan 2019 14:30:56 +0000 (UTC) Received: from localhost ([127.0.0.1]:35900 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfQUx-0002hX-Tb for patchwork-qemu-devel@patchwork.kernel.org; Fri, 04 Jan 2019 09:30:55 -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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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