From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out30-98.freemail.mail.aliyun.com (out30-98.freemail.mail.aliyun.com [115.124.30.98]) (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 26BC53C0621 for ; Mon, 13 Apr 2026 11:16:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.98 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776078979; cv=none; b=rAL1Ciiv/G6tv2Xn9dFNw2DL7YTp0ylu4WVeuzFVG1YndUBkDjppL38rN5+eUDhNrVt8z3lV1+jQXqNy/ytex326euUNxj5ij4IkS5sBymThuKh5quSBvYsXc1+3/aKAto7z8SiSuouO/TOUDsrNbd9tuyxTzGR0yqfyQ56emgA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776078979; c=relaxed/simple; bh=SPpBhGkDjv3AauTWgP9dlq3/DhigNR+aoVgRNA/fkOg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=QUhNnDqi9MErPSBv8iCMrRX1bAKaTwVW/0lxgFbET1wSBcNY5q909jxZBYydvgVn/sP1aR78X1mu9234xmwKUSIVzSrr0025/CeCh9nIZMKiaZ0q96K2kRuLfC/fQonprCRH4t5xJCDFuYwI5hxpqX8bVs2fn9JDeE+oNmQfrFg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=eJMq+Fht; arc=none smtp.client-ip=115.124.30.98 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="eJMq+Fht" DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1776078968; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=Fg7zc1O+7fxsBgREHbt/NhuoP2H8B/ZI+5a2SV45XUY=; b=eJMq+Fht8b/B7DdRO0jcSyR9p2jF6CZ6ljs9s04UeE5WdcsSf4zZ0vckZCBE1sQRXgFCsun95Sy2dTPINqYh81xcyUDBbpnOCMCpTqVeJXm8t3WGo/30kbjeSvoGOF3ldi7PVXOOLMeKk1UXxV4XI/jd5Ow2LlqwA8H9yw9URzc= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R211e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033037026112;MF=fangyu.yu@linux.alibaba.com;NM=1;PH=DS;RN=18;SR=0;TI=SMTPD_---0X0vN5Dx_1776078964; Received: from localhost.localdomain(mailfrom:fangyu.yu@linux.alibaba.com fp:SMTPD_---0X0vN5Dx_1776078964 cluster:ay36) by smtp.aliyun-inc.com; Mon, 13 Apr 2026 19:16:06 +0800 From: fangyu.yu@linux.alibaba.com To: kevin.tian@intel.com Cc: alex@ghiti.fr, aou@eecs.berkeley.edu, baolu.lu@linux.intel.com, fangyu.yu@linux.alibaba.com, guoren@kernel.org, iommu@lists.linux.dev, jgg@ziepe.ca, joro@8bytes.org, kvm-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, palmer@dabbelt.com, pjw@kernel.org, robin.murphy@arm.com, tjeznach@rivosinc.com, vasant.hegde@amd.com, will@kernel.org Subject: Re: RE: [PATCH 1/2] iommu/riscv: Advertise Svpbmt support to generic page table Date: Mon, 13 Apr 2026 19:16:01 +0800 Message-Id: <20260413111601.26167-1-fangyu.yu@linux.alibaba.com> X-Mailer: git-send-email 2.39.3 (Apple Git-146) In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit >> From: fangyu.yu@linux.alibaba.com >> Sent: Saturday, April 11, 2026 10:22 AM >> >> diff --git a/include/linux/generic_pt/common.h >> b/include/linux/generic_pt/common.h >> index fc5d0b5edadc..dfadf8a5752a 100644 >> --- a/include/linux/generic_pt/common.h >> +++ b/include/linux/generic_pt/common.h >> @@ -188,6 +188,7 @@ enum { >> * Support the 64k contiguous page size following the Svnapot >> extension. >> */ >> PT_FEAT_RISCV_SVNAPOT_64K = PT_FEAT_FMT_START, >> + PT_FEAT_RISCV_SVPBMT, >> > >nit - every feature has a comment. Thanks Kevin. I'll add a comment for PT_FEAT_RISCV_SVPBMT in the next revision. Fangyu, Thanks > >Reviewed-by: Kevin Tian