{"id":2224553,"url":"http://patchwork.ozlabs.org/api/1.2/patches/2224553/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/patch/3340676ead334e862b9eaf33297c87da158c0437.1776438369.git.chao.liu.zevorn@gmail.com/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/1.2/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<3340676ead334e862b9eaf33297c87da158c0437.1776438369.git.chao.liu.zevorn@gmail.com>","list_archive_url":null,"date":"2026-04-17T15:11:29","name":"[v6,5/5] docs/system/riscv: add documentation for k230 machine","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"3d7beddd7b423ff4f94962bb49cc34aa6eaf0854","submitter":{"id":92265,"url":"http://patchwork.ozlabs.org/api/1.2/people/92265/?format=json","name":"Chao Liu","email":"chao.liu.zevorn@gmail.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/patch/3340676ead334e862b9eaf33297c87da158c0437.1776438369.git.chao.liu.zevorn@gmail.com/mbox/","series":[{"id":500360,"url":"http://patchwork.ozlabs.org/api/1.2/series/500360/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/list/?series=500360","date":"2026-04-17T15:11:28","name":"Add support for K230 board","version":6,"mbox":"http://patchwork.ozlabs.org/series/500360/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2224553/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2224553/checks/","tags":{},"related":[],"headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=NNyp+aME;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fxz0h58Nyz1yD3\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 18 Apr 2026 01:13:24 +1000 (AEST)","from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wDksJ-0006hL-0D; Fri, 17 Apr 2026 11:12:55 -0400","from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <chao.liu.zevorn@gmail.com>)\n id 1wDksF-0006dd-Q5\n for qemu-devel@nongnu.org; Fri, 17 Apr 2026 11:12:52 -0400","from mail-ua1-x943.google.com ([2607:f8b0:4864:20::943])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <chao.liu.zevorn@gmail.com>)\n id 1wDksD-0007iB-Qj\n for qemu-devel@nongnu.org; Fri, 17 Apr 2026 11:12:51 -0400","by mail-ua1-x943.google.com with SMTP id\n a1e0cc1a2514c-956995b5bb6so232459241.3\n for <qemu-devel@nongnu.org>; Fri, 17 Apr 2026 08:12:49 -0700 (PDT)","from ZEVORN-PC.bbrouter ([162.244.208.119])\n by smtp.gmail.com with ESMTPSA id\n ada2fe7eead31-61747cb501asm788923137.7.2026.04.17.08.12.41\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 17 Apr 2026 08:12:48 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1776438769; x=1777043569; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=niViTiN4UUhKA/L5JTEVZM3cKnAYnN4iOAXv8j4cjzc=;\n b=NNyp+aMEklYNdPrVEjywKOVENEm2H/BvLD15CkPatZ2cslx6rrcwmTSY8xTO/CB8P4\n ELm54zNOTlyvj0jkaggYksVmZmR7rrVQKixddOWPfHPhqk0ZPN6GlYywOKh2Ld4KuJAI\n 8gklpSsMj3cwGhpP03RYEREa8Rny/gg3m7/8Bi64QVXIrjvX3A3dMEjbeXLhL+fOWoTI\n UGH8I6ykzA3wn+tqB9Wp2dG7vt1+sb4dduu2GhN0uwYe/vB+Yqp8iOWveUXB1KkRqK57\n 2WL7cITIxZbfq2fbe2EAi64tDO8oKF4ruZQoCvW/n+VpaoAbmiMagWROde1FHh/+EjE3\n PFIw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776438769; x=1777043569;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=niViTiN4UUhKA/L5JTEVZM3cKnAYnN4iOAXv8j4cjzc=;\n b=hynoY402GPXYSnxzNBTNV3e9wxdvtEykiq+secreK6ZPzsUWNAmSH9xbvXZLmEO3HF\n 2vYlJkclcPQYldXFVNTdZS1XuiGBJrL2x9+fU7CgTCRB9s1E8MeIZ1ZlO+FvlaUGXFrJ\n TWpg1B3dqLBG/MwC3lem79mYngYHYrDy7oxSoCchj4PpzvxT9HEd9ykZePrnJ2FUqq5a\n C0u8huXIA2KYZq+MoVMmYG7tRHBJ/gXcJ3tecA2D96EJtyN2vZJyxQQzcIaA5gUEhwHN\n LRos9EiNc+f0VtJvUwevrIRSGMNKMfUzBL2RL9xtxKyq+6C/wGKgLSYBF+G3qtUm/pvN\n sCtA==","X-Gm-Message-State":"AOJu0YwqVQ7Prazia9xVvJp/dnEgosjne7Kc0SUYfnqeE+gHbNU4ZTF7\n 1l0xKXt2WrGVxUIEoHN7o4T3wZlreZz3YfRurXd7PH3ZJRZTfeT9RsvB","X-Gm-Gg":"AeBDieuAmYieWXXhrvxgiTaSOWuDDj7DTRPPVpIXpLEyHOWSDTvBv/QxW5oBLosUPdG\n nshXb08EUyPvXt8F1Rfy76vNy0BkFBtK/3+2li/xHzQ2QI7RlBdecgo20VARNJfoa26ngVdG10K\n PxC583ZK2e9nrF0b71sB9kkNcCgrifPr89YpreeE/TAojx6uNzbPMmx5cvXh29+fdl8i0GcVDMQ\n NexoYPu6Srs7s8zA0G2FhETEQNuhQjWA1tAxuzHhS0vVJEM3CiAh7c0CwbpNP5ch3An1eYJkXCb\n KEeAGabBI0gDj1zEjy6zy2rd2f+OuJjHdzJBnbUL7LZf007bFNqMRtHR9Bk+HB93rzxUjeajSJ5\n xIfj+6jf9xJoxtzwoAp+kFnLGT0WTcR4zRp2+rjwgjGa968jLJKTi4wGpsKfLpWmWFhpXgGDrSv\n JebM5bj44AFc7pxVIOKRt5JfjHcXuI4xUnAKtJAKs5hkZeFotbz5zzahA1vSlb3SibKN4+0N6Sc\n Mlu+sdACHDZ4uMynw==","X-Received":"by 2002:a05:6102:5493:b0:5ff:cee8:660c with SMTP id\n ada2fe7eead31-616f88bac7fmr1642111137.31.1776438768640;\n Fri, 17 Apr 2026 08:12:48 -0700 (PDT)","From":"Chao Liu <chao.liu.zevorn@gmail.com>","To":"Chao Liu <chao.liu.zevorn@gmail.com>,\n Pierrick Bouvier <pierrick.bouvier@linaro.org>,\n Palmer Dabbelt <palmer@dabbelt.com>,\n Alistair Francis <alistair.francis@wdc.com>,\n Weiwei Li <liwei1518@gmail.com>,\n Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com>,\n Liu Zhiwei <zhiwei_liu@linux.alibaba.com>,\n Paolo Bonzini <pbonzini@redhat.com>,\n Christoph Muellner <christoph.muellner@vrull.eu>,\n Fabiano Rosas <farosas@suse.de>, Laurent Vivier <lvivier@redhat.com>","Cc":"qemu-devel@nongnu.org, qemu-riscv@nongnu.org,\n Chao Liu <chao.liu@zevorn.cn>,\n Daniel Henrique Barboza <dbarboza@ventanamicro.com>","Subject":"[PATCH v6 5/5] docs/system/riscv: add documentation for k230 machine","Date":"Fri, 17 Apr 2026 23:11:29 +0800","Message-ID":"\n <3340676ead334e862b9eaf33297c87da158c0437.1776438369.git.chao.liu.zevorn@gmail.com>","X-Mailer":"git-send-email 2.53.0","In-Reply-To":"<cover.1776438369.git.chao.liu.zevorn@gmail.com>","References":"<cover.1776438369.git.chao.liu.zevorn@gmail.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","Received-SPF":"pass client-ip=2607:f8b0:4864:20::943;\n envelope-from=chao.liu.zevorn@gmail.com; helo=mail-ua1-x943.google.com","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,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,\n RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no","X-Spam_action":"no action","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"qemu development <qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<https://lists.nongnu.org/archive/html/qemu-devel>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"},"content":"From: Chao Liu <chao.liu@zevorn.cn>\n\nAdd documentation for k230 virt reference platform.\n\nSigned-off-by: Chao Liu <chao.liu.zevorn@gmail.com>\nReviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>\n---\n MAINTAINERS                  |  1 +\n docs/system/riscv/k230.rst   | 48 ++++++++++++++++++++++++++++++++++++\n docs/system/target-riscv.rst |  1 +\n 3 files changed, 50 insertions(+)\n create mode 100644 docs/system/riscv/k230.rst","diff":"diff --git a/MAINTAINERS b/MAINTAINERS\nindex b5b4acf6bd..d8d68cc123 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -1776,6 +1776,7 @@ F: include/hw/riscv/xiangshan_kmh.h\n K230 Machines\n M: Chao Liu <chao.liu.zevorn@gmail.com>\n S: Maintained\n+F: docs/system/riscv/k230.rst\n F: hw/riscv/k230.c\n F: hw/watchdog/k230_wdt.c\n F: include/hw/riscv/k230.h\ndiff --git a/docs/system/riscv/k230.rst b/docs/system/riscv/k230.rst\nnew file mode 100644\nindex 0000000000..3e6ca295df\n--- /dev/null\n+++ b/docs/system/riscv/k230.rst\n@@ -0,0 +1,48 @@\n+Kendryte K230 virt reference platform (``k230``)\n+==========================================================================\n+The ``k230`` machine is compatible with with Kendryte K230 SDK.\n+\n+The K230 is a chip from the AIoT SoC series made by Kendryte ® — a part of\n+Canaan Inc. It uses a brand-new multi-heterogeneous unit accelerated computing\n+structure.\n+\n+This chip has 2 RISC-V computing cores and a new-generation KPU (Knowledge\n+Process Unit) smart computing unit.\n+\n+It has multi-precision AI computing ability, works with many common AI computing\n+frameworks, and for some typical networks, its usage rate is over 70%. Besides,\n+the K230 chip supports many peripheral connections and has several special\n+hardware acceleration units (like 2D and 2.5D accelerators). It can speed up\n+different tasks (such as image processing, video processing, audio processing\n+and AI computing). It also has many good features: low delay, high performance,\n+low power use and fast start-up.\n+\n+For more information, see <https://www.kendryte.com/en/proDetail/230>\n+\n+Supported devices\n+-----------------\n+The ``k230`` machine supports the following devices:\n+\n+* 1 c908 cores\n+* Core Local Interruptor (CLINT)\n+* Incoming MSI Controller (IMSIC)\n+* 2 K230 Watchdog Timer\n+* 4 UART\n+\n+Boot options\n+------------\n+The ``k230`` machine can start using the standard ``-bios``\n+functionality for loading the boot image. You need to compile and link\n+the firmware, kernel, and Device Tree (FDT) into a single binary file with\n+K230 SDK(k230_canmv_defconfig), such as ``uboot``.\n+\n+Running\n+-------\n+Below is an example command line for running the ``k230``\n+machine:\n+\n+.. code-block:: bash\n+\n+   $ qemu-system-riscv64 -machine k230 \\\n+      -bios k230_sdk/output/k230_canmv_defconfig/little/uboot/u-boot \\\n+      -nographic\ndiff --git a/docs/system/target-riscv.rst b/docs/system/target-riscv.rst\nindex 3ad5d1ddaf..b0b2f9584f 100644\n--- a/docs/system/target-riscv.rst\n+++ b/docs/system/target-riscv.rst\n@@ -66,6 +66,7 @@ undocumented; you can get a complete list by running\n .. toctree::\n    :maxdepth: 1\n \n+   riscv/k230\n    riscv/microblaze-v-generic\n    riscv/microchip-icicle-kit\n    riscv/mips\n","prefixes":["v6","5/5"]}