Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp3133146lqo; Wed, 15 May 2024 00:03:12 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWxCPfsrKnRW1Jxx/j34q1lFerI/2hcKmAbJdK6GQBfCKVu+rBSCpQ3gqBB/d6JU1Tj9859jvomEQ3x90z6pKQwcfyY4VeXL8KRuEy6oA== X-Google-Smtp-Source: AGHT+IFL3xmE5r80fG+9qDdexu4R+/emnrgixKwoUzlSlsECuL38d0ffYx6pME7CFdgRUV5sUtgr X-Received: by 2002:a17:903:2310:b0:1ee:4c96:787 with SMTP id d9443c01a7336-1ef43f4cfaemr178906475ad.50.1715756592588; Wed, 15 May 2024 00:03:12 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0c26a0d8si136214445ad.594.2024.05.15.00.03.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 00:03:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179538-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=DNaYmnP6; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-179538-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179538-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id ECF56283A7D for ; Wed, 15 May 2024 07:03:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 71E3042049; Wed, 15 May 2024 07:03:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DNaYmnP6" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9B0FA40875 for ; Wed, 15 May 2024 07:03:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715756586; cv=none; b=Ed7QoN0ZV5V3v8Ubg8KzAEOL0A64Gwgsq1cLXFQN6SXK8kJIsskd5TX7DAmq8UJoUEKGvi+XLJ327O0hGbtCar4NUdeHyB4oeq/SD6t81FtHphyG9IDk9XwVRPr+S/CBzKWIEGYWlNc32fQ7l8JFzq4woWmnG59nUCTMnl0mAXY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715756586; c=relaxed/simple; bh=B4qEMf4EVGsDCaOxKzxxINbFJU5l8ld0fYiuh99Vrd0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=MX9Af8a3R35eWHRRv62V2iBuax03di7hra0E/DhXVWNfDWDzTxkymaFYDtg19j58eIiKUjo8Th0Ffrczv3nRRA7pU3y+jazUpGDlkvlkCdIz9ZgtnRXfx6jLvitBHbCUQ8sBGN10T1mXEbK8ujZnqSU0zML/kE0LH26faJkFRpY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DNaYmnP6; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA6A2C2BD11; Wed, 15 May 2024 07:03:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715756586; bh=B4qEMf4EVGsDCaOxKzxxINbFJU5l8ld0fYiuh99Vrd0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=DNaYmnP6lqeZPyPEH4NDgKmSjYmC9W/HLk2KbeeSAN78X+py65STTCNKA1KvSaEYT ZVPx29xw1qFyhgp30weJoH1zCvmxl3BevfyrAKof0HHTqq9b/OvZ40yXJ8LNt79RKM 5BVm2vdbtuCkaqSyVOvsxo+iBWsDfHBDGoqanZ/E4l0vQnmupevWqbQe0pMXibnPor xjIQSIpV9CgHcOKLX0Xc+iQrBrRxyMnsEG3DJMcI82+vQcHCP1oVOoFCwgYVlSUwM8 bxCDPmgE4k+MG2+8MzwYcC9bXWBDZ7wPZzOkfzAaYnMbkiwU/lw4LZ7XnyeQvqLai3 9xKzdqSQMXGJQ== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: Alexandre Ghiti , Albert Ou , David Hildenbrand , Palmer Dabbelt , Paul Walmsley , linux-riscv@lists.infradead.org Cc: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , Andrew Bresticker , Chethan Seshadri , Lorenzo Stoakes , Oscar Salvador , Santosh Mamila , Sivakumar Munnangi , Sunil V L , linux-kernel@vger.kernel.org, linux-mm@kvack.org, virtualization@lists.linux-foundation.org Subject: Re: [PATCH v2 8/8] riscv: mm: Add support for ZONE_DEVICE In-Reply-To: <20240514140446.538622-9-bjorn@kernel.org> References: <20240514140446.538622-1-bjorn@kernel.org> <20240514140446.538622-9-bjorn@kernel.org> Date: Wed, 15 May 2024 09:03:02 +0200 Message-ID: <87pltntv4p.fsf@all.your.base.are.belong.to.us> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Bj=C3=B6rn T=C3=B6pel writes: > From: Bj=C3=B6rn T=C3=B6pel > > ZONE_DEVICE pages need DEVMAP PTEs support to function > (ARCH_HAS_PTE_DEVMAP). Claim another RSW (reserved for software) bit > in the PTE for DEVMAP mark, add the corresponding helpers, and enable > ARCH_HAS_PTE_DEVMAP for riscv64. ..and this patch has rv32 build issues. Will fix as well.