From patchwork Fri Jul 29 09:16:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Renner Berthing X-Patchwork-Id: 1661937 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=A+R2XpcB; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LvMN05wBzz9sGw for ; Fri, 29 Jul 2022 19:16:47 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1oHM6o-0001AL-2x; Fri, 29 Jul 2022 09:16:38 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1oHM6l-00018n-Qx for kernel-team@lists.ubuntu.com; Fri, 29 Jul 2022 09:16:35 +0000 Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 4DA433F119 for ; Fri, 29 Jul 2022 09:16:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1659086195; bh=VWc8BoyewJZXUa2pO0f3hi2MhlKOQGgsf3XpwTcg4Lw=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=A+R2XpcBWs8s5ZZodG+C5DnJG6tZqgKN5niWZD5jbz/vz+jjcsWJKG3daVXGLop78 4VzRfR7IEZ8JVwxfabHX3ydUCBk7DDDNV5+yvkc2fsSZhNu+fQQAQgB5SXcBrKMDC4 pAk/DQiUU4AxnBSq89RDIuaetvcOJslI3v66sFoDeamYns2D74lyNFYdF30/zCwFPl RH+yZD2w1wzYYTLCdiFbNybBGJGavLfqSPF+WzRatW/3aYYnXJHUakpS2NwyYz4RQl iYcKVprnqTcnZBsH2KSBZTACNAmNhOqz/drQK72vTgTb3C/eBUG4q8c6RMP1ozwAVX cuE9+11AyCDUQ== Received: by mail-wr1-f71.google.com with SMTP id j4-20020adfa544000000b0021ebac13bf3so1026824wrb.19 for ; Fri, 29 Jul 2022 02:16:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=VWc8BoyewJZXUa2pO0f3hi2MhlKOQGgsf3XpwTcg4Lw=; b=5a/kask31FdggAOV8caNDDcqmodYTKvU3K73mZf3CR0B7YiSExOGeGKHdOLEEF64WT DR9muqnHxIgLelXrHyxTikNc2jzu000f+7o+PCur1zmoUQPOVCNskQkZ4IFjYJRVfY6A LTGWHjMOUjdXOaXdv2wY03a6q4rqsULEKVC5wF+FVb4FxS6cIL5sG3pv1T9nLsmoAsaF sW8VSpUmaXJ+y7yk6Q0A1wd9j1Emlt0HiTbLmQsCeibgKgjSc3CZNMBpkBujy1i4RQbz VbIvyapY8OFHQ3aifiZMYPRhlz9OZkKKG+vKYl5ai10uRCeSylg30RYo+AxRBr6kE1sV oSFA== X-Gm-Message-State: ACgBeo04BNuKdHQK9Z6CKGbQ9fKgZK8LspJrOOKzlibWSFfYy5MODFbC Fdz+Q1v0Kud/+8XvXDXaGgkdv5ME1sLG2XaZcRfF2vAzb33NM9YaXj/XZHvaxJvxYihYPwlaZhq J8nRgLpx0UvbWGWCx3dEXmZ0X90P4vA2QQgUf7fav+A== X-Received: by 2002:adf:fb90:0:b0:21e:4eb6:b880 with SMTP id a16-20020adffb90000000b0021e4eb6b880mr1721503wrr.551.1659086194737; Fri, 29 Jul 2022 02:16:34 -0700 (PDT) X-Google-Smtp-Source: AA6agR5OnZpxLRrw06SY/kvOr9wMMRTcIkCGBGLXMDdY2dFnF0pZ3SrA0DLBozCPH/4Qo8H/s3Y20g== X-Received: by 2002:adf:fb90:0:b0:21e:4eb6:b880 with SMTP id a16-20020adffb90000000b0021e4eb6b880mr1721485wrr.551.1659086194340; Fri, 29 Jul 2022 02:16:34 -0700 (PDT) Received: from stitch.. (80.71.140.73.ipv4.parknet.dk. [80.71.140.73]) by smtp.gmail.com with ESMTPSA id c19-20020a05600c0a5300b003a32251c3f0sm3902252wmq.33.2022.07.29.02.16.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jul 2022 02:16:33 -0700 (PDT) From: Emil Renner Berthing To: kernel-team@lists.ubuntu.com Subject: [SRU][J/allwinner-5.17][J/starfive-5.17][PATCH v2 0/1] Fix RISC-V KVM with u-boot Date: Fri, 29 Jul 2022 11:16:31 +0200 Message-Id: <20220729091632.777999-1-emil.renner.berthing@canonical.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" QEMU 7.0 supports KVM on RISC-V. Package u-boot-qemu supplies /usr/lib/u-boot/qemu-riscv64_smode/uboot.elf. That binary cannot be used to boot via qemu-system-riscv64 -kvm. File u-boot produced by qemu-riscv64_smode_defconfig with CONFIG_MTD_NOR_FLASH=n CONFIG_CMD_NET=n can be used to start U-Boot with qemu-system-riscv64 -kvm. But any virtio access leads to a crash leaving QEMU unresponsive. Cf. https://lists.denx.de/pipermail/u-boot/2022-July/487893.html --- ProblemType: Bug AlsaDevices: total 0 crw-rw---- 1 root audio 116, 1 Jul 10 19:58 seq crw-rw---- 1 root audio 116, 33 Jul 10 19:58 timer AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.22.0-0ubuntu4 Architecture: riscv64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CRDA: N/A CasperMD5CheckResult: unknown DistroRelease: Ubuntu 22.10 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' Lspci-vt: -[0000:00]-+-00.0 Red Hat, Inc. QEMU PCIe Host bridge +-01.0 Red Hat, Inc. QEMU XHCI Host Controller +-02.0 Red Hat, Inc. Virtio block device \-03.0 Red Hat, Inc. Virtio block device Lsusb: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Keyboard Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Lsusb-t: /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M Package: linux-starfive-5.17 (not installed) PciMultimedia: ProcCpuinfoMinimal: processor : 7 hart : 7 isa : rv64imafdcsuh mmu : sv48 ProcFB: ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.17.0-1003-starfive root=UUID=504657a8-56e8-431b-9c85-65c5737ccf80 ro default_hugepagesz=2M hugepagesz=2M hugepages=2048 earlycon efi=debug ProcVersionSignature: Ubuntu 5.17.0-1003.4-starfive 5.17.9 RelatedPackageVersions: linux-restricted-modules-5.17.0-1003-starfive N/A linux-backports-modules-5.17.0-1003-starfive N/A linux-firmware 20220621.git7b71b75b-0ubuntu1 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' Tags: kinetic uec-images Uname: Linux 5.17.0-1003-starfive riscv64 UnreportableReason: This report is about a package that is not installed. UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: N/A _MarkForUpload: False acpidump: Anup Patel (1): RISC-V: KVM: Fix SRCU deadlock caused by kvm_riscv_check_vcpu_requests() arch/riscv/kvm/vcpu.c | 2 ++ 1 file changed, 2 insertions(+)