From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C7DB4582D2 for ; Tue, 21 Jul 2026 23:50:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784677840; cv=none; b=gNzosqveluVC5I8uZ6Twji5aA1H34pR3aK/ylu90Ayeoz5z1HhzrUWMVxVUwMs/QkfJsEg5kOG/PrFc+HMtXO+ko5/xXvzgmXlQiNkkrgXO2tE1QEf8+sMHvHT5r2Pa/qv4bOY0F8eDjYf5dpous3D4MaDLCA0Vt0F759pQ0zPM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784677840; c=relaxed/simple; bh=aUJgzDL+7jTL6GnKctYRgbuDp92LqakPN0qKijckJeg=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=PfA1Z0wXnflA76EB/dkNt/JkZ8ZpYJ3sW86czrJRb9ieME8PynQmcMuje0bMSlk101IrFHxU4HX9+XkKsJQ8qpuDGdvhIbYzG1PCQX5QhGXwx9IUmL//GegtPoEUBpGWbXwOIk6ntfiW/Erz+Vad9DT57lYJA3JsNeUFPL5aVUg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=j6aMpu1E; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="j6aMpu1E" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 47C641F000E9; Tue, 21 Jul 2026 23:50:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1784677838; bh=kLw2lxWCpAGiNj2+fQfGuNyaOZ8w1cVXAAEatOpdPL4=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=j6aMpu1ECiVlxCKblxG+8u8lxP/2tgNr2b3LX3+XcTx8s857qLS5gyH6+yi1eozOu fWzM8VReFiJ6ZQIlhEie6ipXGJ0J5siw7jPOQOE03Q+8H7knyhsd/KY3wVrmuz6s0E Xx3/n5Z6ePRdMoGI+GGb/roGznNVqaKtskLLLNsaCXPcxMKAACgtl0h2ZcUWfrtQDw NVabA94Og3RoaA2inGXl0zx72snguW+zQAUgbIa6376XdtQGmcEAdwbwRmG4BR3omz MVSsJRPCn3nyjhyu8w7Ssy+ptSHGx2/NDnXZ1jVDOV5TUp6aAWr4brDUHxPaGW6nm2 b4dNIeUJoydVQ== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id D0FDB380820D; Tue, 21 Jul 2026 23:50:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] riscv: mm: Move dma_contiguous_reserve() after NUMA initialization From: patchwork-bot+linux-riscv@kernel.org Message-Id: <178467780765.1167722.17403934449709324097.git-patchwork-notify@kernel.org> Date: Tue, 21 Jul 2026 23:50:07 +0000 References: <20260714185648.1082483-1-ezulian@redhat.com> In-Reply-To: <20260714185648.1082483-1-ezulian@redhat.com> To: Eder Zulian Cc: linux-riscv@lists.infradead.org, pjw@kernel.org, palmer@dabbelt.com, aou@eecs.berkeley.edu, alex@ghiti.fr, linux-kernel@vger.kernel.org Hello: This patch was applied to riscv/linux.git (for-next) by Paul Walmsley : On Tue, 14 Jul 2026 20:56:48 +0200 you wrote: > Move the dma_contiguous_reserve() call from setup_bootmem() to > misc_mem_init(), placing it after arch_numa_init(). This ensures that > NUMA topology is initialized when reserving contiguous memory for DMA. > > Tested with CMA_SIZE_PERNUMA enabled and two NUMA nodes on QEMU: > > qemu-system-riscv64 \ > -machine virt \ > -nographic \ > -smp 2 -m 512M \ > -numa node,nodeid=0,cpus=0,memdev=m0 \ > -numa node,nodeid=1,cpus=1,memdev=m1 \ > -object memory-backend-ram,id=m0,size=256M \ > -object memory-backend-ram,id=m1,size=256M \ > -kernel arch/riscv/boot/Image \ > -append "console=ttyS0 earlycon loglevel=7 cma=16M" > > [...] Here is the summary with links: - riscv: mm: Move dma_contiguous_reserve() after NUMA initialization https://git.kernel.org/riscv/c/76e885f2b89d You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html