From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2D906606A339 for ; Thu, 5 Nov 2026 13:08:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=YYaBp1eZ; dkim=fail reason="signature verification failed" (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Z3imFrBR DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=XLWyalUFt68gm03CaMqixkUJFH+7QrrqfBfiJMyPaV4=; b=YYaBp1eZqWW9VdwaMltp/951n4 C7hA8VTkvAKnPn+Sf3ULjxiEObM3eBkm7Jmq0iZkgEciSgTzd05SX7YR5E/L/BIec7gKwP5QDIpsC SOcYcx4GMX9vrhfBD2hMXDl4+fXzSFIa2ePxmu99mpc1Ecvjsih2r9SLEXIn5g0ZYM/RVx1kPNQm+ 75+0XigJSuruKpcFlSkHo/vx86DKuSB6a6gNk6yFAmNhIeLGEDlqGiR9va5YMOdAD9Z+HGfgoP7hm miTDKfqQZDCEUE2FsfTRMKnrvb6vtHgdAxU0GqvnpgIdK3edjZ1hQMqTHy6NIyPVLgtGiU8UQjgtm 0JQH2+gg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xOxCs-000000094pw-1f2A; Thu, 05 Nov 2026 13:08:42 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xOxCr-000000094pe-3MQh; Thu, 05 Nov 2026 13:08:41 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 30492404B5; Thu, 5 Nov 2026 13:08:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD87E1F000C1; Thu, 5 Nov 2026 13:08:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793884121; bh=IUFbDY3pG95AdUR3ZaQpG0DNzZe45Lp61GslC9VgxTQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Z3imFrBRIo9t9Yz/Ltm7Ff8+nHDcN7NYtOjGSxZGcWd897KE8A/Sq4V/CqIvLv871 H/suoek4i9utHo9fCiOZgX5jaG/9bkM/yZutRwIroOlp2K38ZKl+oGX6EH9lJE5rb2 qyaG6ck7YoNqmzqlqBJJ2EB3YtU1lXrPG6aLcUGtmaBTvTkgZuM4WZuNdNu7GNXoCq lIsMQMLpqj7ajlDCYv9m00MsHmhetq3I0LQH4pQ/fE27QcvxpOU9zJ8JKezGyYKO9t 793Cmut5YeoKWxEEZNvI/v6a9jEhC/D5rTokAWBTazmFQuTVVjvv0idbbMPJXJwj1j pUOqQiynQ7iIA== Date: Thu, 5 Nov 2026 15:08:33 +0200 From: Mike Rapoport To: Chen Pei Cc: pjw@kernel.org, palmer@dabbelt.com, alex@ghiti.fr, pasha.tatashin@soleen.com, pratyush@kernel.org, graf@amazon.com, shuah@kernel.org, guoren@kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, kexec@lists.infradead.org Subject: Re: [PATCH v2 4/5] selftests: kho: Add riscv support Message-ID: References: <20261103080926.2079-1-cp0613@linux.alibaba.com> <20261103080926.2079-5-cp0613@linux.alibaba.com> X-Archived-By: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20261103080926.2079-5-cp0613@linux.alibaba.com> X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" X-Spam-Status: No, score=-13.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hi Chen, On Tue, Nov 03, 2026 at 04:09:25PM +0800, Chen Pei wrote: > Teach the KHO vmtest runner about riscv64: map the target to ARCH > riscv and describe the QEMU virt machine, the kernel image and its > console -- a 16550A port probed from the device tree on virt, hence > the SERIAL_8250{,_CONSOLE} and SERIAL_OF_PLATFORM symbols. Also > select CONFIG_SPARSEMEM_MANUAL: the runner requires > CONFIG_DEFERRED_STRUCT_PAGE_INIT, which depends on SPARSEMEM, while > riscv falls back to FLATMEM (no ARCH_SPARSEMEM_DEFAULT), so without > it the test would just be skipped. We can read the patch, no need to list everything here. The changelog should focus on "why" rather than "how". > Signed-off-by: Chen Pei > --- > > Test: qemu-system-riscv64 (virt, -cpu max, TCG), in-tree runner > "tools/testing/selftests/kho/vmtest.sh -t riscv64" (boots the Image > and kexec'es into the same Image). > > KHO: found kexec handover data. > KHO: exec from: 7.4.0-rc1-next-20261102-00005-gfca49e548231 (count 1) > test_kho: KHO restore succeeded > ok 1 KHO succeeded > # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0 > > tools/testing/selftests/kho/riscv.conf | 9 +++++++++ > tools/testing/selftests/kho/vmtest.sh | 3 ++- > 2 files changed, 11 insertions(+), 1 deletion(-) > create mode 100644 tools/testing/selftests/kho/riscv.conf -- Sincerely yours, Mike. _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793884121; b=5kmHIRFfIj+e5fbDeNU6FkRewDE/Zv+8lhK3LXDjupSrQvOV4dZWPY3KTFUG32UCJgA7 XxiJi+iYmteVnR4YNd9YUnxTWlZZkEzbtSbRaMjPbNXc3lUpC4f5DcGmBzMCBkTS6ElB4 F4lL0XTq6CZuFdt0Aje4Fwr+rghVI8PUPzYSuf/ZI6WkiNMicspHSPqq2RU+e1Z6hiQgt FB1VSsnty61EB3pwkoWRmuMvN9YD6algOe5A+4rMopQCTjQzH4kbU0/f6umylGPZE8Mrz ldCXLGEiU7Uj/2T49fVctCGwHscTB3N7lyaFI/T1A2COF48aKPOKlLB/9cq6wjG1P9Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793884121; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=IUFbDY3pG95AdUR3ZaQpG0DNzZe45Lp61GslC9VgxTQ=; b=qstC7X4OwgblFWWyqqsE2s7AppfVpy15S7UVAti9fSu4JQkPMrUUV0Yz5cLhfqJDnfTE k0iGfPnDj9wproOh35pfdv7mAurHhJ4ePnUil3W1OQNwT77mQDVIc3KewqdyV8NJ6kVxC Q7wHOuIr1GCb96yDhRsDNGAYX13pNm3yPnho8n6dz39qDhz+KPrK40DvyKwlZlgARkZ2X b5oTxAPhjwl/Sekc/1hSlN+leRGfNX8TT4nfsSyyW+m4SMQryAx2r4x7dYhBCb9dq+70b z/jMNtN/63k9nzTcNXpe/Pq4RimcQay/ml9GIgNuB6YpCBHswGUi4CI/+1uGfYA2ffw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Z3imFrBR; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D6FF606A338; Thu, 5 Nov 2026 13:08:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Z3imFrBR Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD87E1F000C1; Thu, 5 Nov 2026 13:08:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793884121; bh=IUFbDY3pG95AdUR3ZaQpG0DNzZe45Lp61GslC9VgxTQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Z3imFrBRIo9t9Yz/Ltm7Ff8+nHDcN7NYtOjGSxZGcWd897KE8A/Sq4V/CqIvLv871 H/suoek4i9utHo9fCiOZgX5jaG/9bkM/yZutRwIroOlp2K38ZKl+oGX6EH9lJE5rb2 qyaG6ck7YoNqmzqlqBJJ2EB3YtU1lXrPG6aLcUGtmaBTvTkgZuM4WZuNdNu7GNXoCq lIsMQMLpqj7ajlDCYv9m00MsHmhetq3I0LQH4pQ/fE27QcvxpOU9zJ8JKezGyYKO9t 793Cmut5YeoKWxEEZNvI/v6a9jEhC/D5rTokAWBTazmFQuTVVjvv0idbbMPJXJwj1j pUOqQiynQ7iIA== Date: Thu, 5 Nov 2026 15:08:33 +0200 From: Mike Rapoport To: Chen Pei Cc: pjw@kernel.org, palmer@dabbelt.com, alex@ghiti.fr, pasha.tatashin@soleen.com, pratyush@kernel.org, graf@amazon.com, shuah@kernel.org, guoren@kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, kexec@lists.infradead.org Subject: Re: [PATCH v2 4/5] selftests: kho: Add riscv support Message-ID: References: <20261103080926.2079-1-cp0613@linux.alibaba.com> <20261103080926.2079-5-cp0613@linux.alibaba.com> X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261103080926.2079-5-cp0613@linux.alibaba.com> Hi Chen, On Tue, Nov 03, 2026 at 04:09:25PM +0800, Chen Pei wrote: > Teach the KHO vmtest runner about riscv64: map the target to ARCH > riscv and describe the QEMU virt machine, the kernel image and its > console -- a 16550A port probed from the device tree on virt, hence > the SERIAL_8250{,_CONSOLE} and SERIAL_OF_PLATFORM symbols. Also > select CONFIG_SPARSEMEM_MANUAL: the runner requires > CONFIG_DEFERRED_STRUCT_PAGE_INIT, which depends on SPARSEMEM, while > riscv falls back to FLATMEM (no ARCH_SPARSEMEM_DEFAULT), so without > it the test would just be skipped. We can read the patch, no need to list everything here. The changelog should focus on "why" rather than "how". > Signed-off-by: Chen Pei > --- > > Test: qemu-system-riscv64 (virt, -cpu max, TCG), in-tree runner > "tools/testing/selftests/kho/vmtest.sh -t riscv64" (boots the Image > and kexec'es into the same Image). > > KHO: found kexec handover data. > KHO: exec from: 7.4.0-rc1-next-20261102-00005-gfca49e548231 (count 1) > test_kho: KHO restore succeeded > ok 1 KHO succeeded > # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0 > > tools/testing/selftests/kho/riscv.conf | 9 +++++++++ > tools/testing/selftests/kho/vmtest.sh | 3 ++- > 2 files changed, 11 insertions(+), 1 deletion(-) > create mode 100644 tools/testing/selftests/kho/riscv.conf -- Sincerely yours, Mike.