Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1lJpcc-0000mm-Qh for mharc-qemu-riscv@gnu.org; Tue, 09 Mar 2021 22:34:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJpca-0000m6-QZ; Tue, 09 Mar 2021 22:34:52 -0500 Received: from exmail.andestech.com ([60.248.187.195]:45045 helo=ATCSQR.andestech.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJpcT-0000JV-Tt; Tue, 09 Mar 2021 22:34:52 -0500 Received: from mail.andestech.com (atcpcs16.andestech.com [10.0.1.222]) by ATCSQR.andestech.com with ESMTP id 12A3Y77s085585; Wed, 10 Mar 2021 11:34:07 +0800 (GMT-8) (envelope-from dylan@andestech.com) Received: from atcfdc88.andestech.com (10.0.15.120) by ATCPCS16.andestech.com (10.0.1.222) with Microsoft SMTP Server id 14.3.487.0; Wed, 10 Mar 2021 11:34:05 +0800 From: Dylan Jhong To: , , , , , CC: , , Dylan Jhong Subject: [PATCH 0/3] Support Andes AE350 Platform Date: Wed, 10 Mar 2021 11:33:55 +0800 Message-ID: <20210310033358.30499-1-dylan@andestech.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.0.15.120] X-DNSRBL: X-MAIL: ATCSQR.andestech.com 12A3Y77s085585 Received-SPF: pass client-ip=60.248.187.195; envelope-from=dylan@andestech.com; helo=ATCSQR.andestech.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-riscv@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2021 03:34:53 -0000 The following patches support Andes's Linux BSP booting on qemu using 'andes_ae350' machine. This patchset has implemented the basic components of AE350 platform, which are 1. PLIC(external interrupts), 2. PLICSW(interprocessor interrupts), 3. PLMT(timer interrupts), 4. UART(16550a), 5. Virtio MMIO, 6. Device tree Dylan Jhong (3): Andes RISC-V PLIC Andes RISC-V PLMT Andes AE350 RISC-V Machine default-configs/devices/riscv32-softmmu.mak | 1 + default-configs/devices/riscv64-softmmu.mak | 1 + hw/intc/Kconfig | 3 + hw/intc/andes_plic.c | 505 ++++++++++++++++++++ hw/intc/meson.build | 1 + hw/riscv/Kconfig | 7 + hw/riscv/andes_ae350.c | 501 +++++++++++++++++++ hw/riscv/meson.build | 1 + hw/timer/Kconfig | 3 + hw/timer/andes_plmt.c | 225 +++++++++ hw/timer/meson.build | 1 + include/hw/intc/andes_plic.h | 130 +++++ include/hw/riscv/andes_ae350.h | 93 ++++ include/hw/timer/andes_plmt.h | 50 ++ 14 files changed, 1522 insertions(+) create mode 100644 hw/intc/andes_plic.c create mode 100644 hw/riscv/andes_ae350.c create mode 100644 hw/timer/andes_plmt.c create mode 100644 include/hw/intc/andes_plic.h create mode 100644 include/hw/riscv/andes_ae350.h create mode 100644 include/hw/timer/andes_plmt.h -- 2.17.1