From nobody Mon Dec 1 23:33:35 2025 Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 83F2C1A239A for ; Wed, 26 Nov 2025 03:36:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764128198; cv=none; b=o9uR44ZKaWc8tJ0OdUJ9qGLdntIC3Ol3gTmoNTPcKDUwvNkN6SSwASppUvtJquJQEwJm0jyZXp9y7T7EVqgqq9pPbcxrJUIio2kt40MYKyP/d3ioTop9l/JVcdD1r0VMhUlrwTm1WcWaJlcfadX3FHoXnxD64t4Cb6CWjXUjNfM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764128198; c=relaxed/simple; bh=zMFu608CuZ2nFKv6LrMzd1ndQlr9L32dHna+WZ3FQVs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gVFVjCGDVjVU4Z70ktPcjtBT81fx7IS4+xLnjHGz2/ZzGNjTXmUrFDNK516a4N5gn/rLWxoXnjSZLf9afIomzuawXWJt4i+mufDNTvR+iegFjALorBEw6sQ2bWeVpw3M+pw6QmK6u5KmO1KQlXfoBTKPyCZ5AWzujR25tBatHjU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=IkAdVKKQ; arc=none smtp.client-ip=209.85.214.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IkAdVKKQ" Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-29845b06dd2so77168125ad.2 for ; Tue, 25 Nov 2025 19:36:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764128196; x=1764732996; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=mCO8CV5c2NCEpiVClP+pH7mBZNCDGS0UxQk7d2nRlcg=; b=IkAdVKKQZsn47xr97CG6c4QDTTab77ICRVMlengXRVXaAjwxZQYjOtnzoHoJ80Pgea BMGy2A4SGTGI6wr5bqftiFu89eoLhM3QaUlG+wSneTgemC5ne8u05roLCHQVp2izGYRs 6SQ923P1WNA38ZgKONePjrbYXqvrPf0fS+kM4t/T7BA9MpIEyXoe8OpWxrB9SyicOpIG J/vyk3QW0bgMB28yBWOstCMSnfdyki30+Gmtno7SCvzBA8bafYNpmbACHOzeocKT9vZf ZPnIqdIKYKig8CZyN6sXJbrgYIZL/rAKr9ycIqyCFvYp3PfAdPoQUX0WUsqzHFOHpmlK Ggvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764128196; x=1764732996; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mCO8CV5c2NCEpiVClP+pH7mBZNCDGS0UxQk7d2nRlcg=; b=vjucGheFLZghIOdsfxMMUdEv7Yg+epQUUoCUFrCytSoNFvokzRV2cXwQOK8aO8fODw Y8D+esuWlqsM6TxCnQnY4MzFmvLPH389fJ37NI0koGP4QFuARo4fFT5vKvSK9l9JyM1l 0IeCAuvOPFSAsmKKIlu9klr3qE+YiObCZh8AzutDeUTbOc3cM5mZWPJtAkpIB6JycevG WeA/4dUKxZjBLfYnYUrXX3ZmP/UFYTQnz18AubT53lWjoPcjqTUYuGZ/CP8GBt+gywZQ 2UKmOLLCTsq1F2hXhn+7uYHFjlAXq/Hu36/JzZ1M5MGhRwe1oT04Ninx0U+f8TjfA0QR AYrQ== X-Gm-Message-State: AOJu0YzUUN8iXGVMxzQ3MmugxN6ybUzB/cC1J9lkcbGOlz/oM1HTJsNl z4R2wjj8vjjrpa70TBFF0Sffn3Tdt4Vbfg7Sjyhy7v1HNE1rRtw5AYR/ X-Gm-Gg: ASbGncuDVlvKulbt0uehUjlRkrvfvH06IM1dL6ThEn7px7JBKKZtCtWHa/JSw+5GCPs eGzT5DdqAKh2AGL9SbfWZj3d3wAxQAwFwvOktLMYEMy6htYpCLZS0MJfcdKBXFTCbFdq4JYHvPt qetOQ1gjGod2ZE/QoYQ4WJdY3sYrvUZmmD3byOOWW498p+l6VHEw3mfzhvGQWdQC3WLbCYuLJRe xNX0mb++yUfodqUlG7sF0TH4V6TRWFuYXGePMz8pO20M+6WwGCQUc3zTh1XeYk2MUb+eHzWYbj+ QbP8axHG4OZ5mcz/hvsfcXseZxB4Bjz/OO2wklr8tCPIW0IVcpRWJUglMYlErzB4n/2xeqGW3YX UOK24AHQ1l2pJscLZMG1n8+rKN1xWtPxK6QSqMUoZaX5FxLo6qQ0WvjoOoVwAoeW59bfnU2Jkd7 n8wC1/2yJvoD8= X-Google-Smtp-Source: AGHT+IHhd9qGaeJS/wuZiqSRNY4Ryl1sXYPai0Ym3EV+uvefn07sPl23ppcrOh+ZZhr2mVGD/7vGEg== X-Received: by 2002:a17:903:98c:b0:298:250b:19eb with SMTP id d9443c01a7336-29b6c6f04a1mr183093425ad.60.1764128195749; Tue, 25 Nov 2025 19:36:35 -0800 (PST) Received: from archie.me ([210.87.74.117]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29b5b2ae1c3sm183730025ad.92.2025.11.25.19.36.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Nov 2025 19:36:35 -0800 (PST) Received: by archie.me (Postfix, from userid 1000) id 5C35D476D832; Wed, 26 Nov 2025 10:36:33 +0700 (WIB) From: Bagas Sanjaya To: Linux Kernel Mailing List , Linux Documentation , Linux IOMMU Cc: Jason Gunthorpe , Kevin Tian , Pranjal Shrivastava , Nicolin Chen , Bagas Sanjaya , Stephen Rothwell Subject: [PATCH] iommu/arm-smmu-v3-iommufd: Separate vDEVICE allocation list Date: Wed, 26 Nov 2025 10:36:03 +0700 Message-ID: <20251126033602.28871-2-bagasdotme@gmail.com> X-Mailer: git-send-email 2.52.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1560; i=bagasdotme@gmail.com; h=from:subject; bh=zMFu608CuZ2nFKv6LrMzd1ndQlr9L32dHna+WZ3FQVs=; b=owGbwMvMwCX2bWenZ2ig32LG02pJDJlqpeHpx9StrIVfv88+78DG8cEv1If1faPRD5PJE45/Z 7ym8uFhRykLgxgXg6yYIsukRL6m07uMRC60r3WEmcPKBDKEgYtTACYiasLwV1ap/Xu74jOjzorc TOlLZgdjPDwEnuiazbn7VXPB1kcTIxkZlqfJXpU03GcX8dl9/T9L9hXGi3idFHx8zink35CRDSh mBAA= X-Developer-Key: i=bagasdotme@gmail.com; a=openpgp; fpr=701B806FDCA5D3A58FFB8F7D7C276C64A5E44A1D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Stephen Rothwell reports htmldocs warnings when merging iommufd tree: Documentation/userspace-api/iommufd:335: include/uapi/linux/iommufd.h:456: = ERROR: Unexpected indentation. [docutils] Documentation/userspace-api/iommufd:335: include/uapi/linux/iommufd.h:457: = WARNING: Block quote ends without a blank line; unexpected unindent. [docut= ils] Fix them by separating vDEVICE allocation list from preceding paragraph. Fixes: 9f0b286fe40130 ("iommu/arm-smmu-v3-iommufd: Allow attaching nested d= omain for GBPA cases") Reported-by: Stephen Rothwell Closes: https://lore.kernel.org/linux-next/20251126125920.207fc959@canb.auu= g.org.au/ Signed-off-by: Bagas Sanjaya Acked-by: Nicolin Chen --- include/uapi/linux/iommufd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/iommufd.h b/include/uapi/linux/iommufd.h index 225671603ade66..2c41920b641dc1 100644 --- a/include/uapi/linux/iommufd.h +++ b/include/uapi/linux/iommufd.h @@ -453,6 +453,7 @@ struct iommu_hwpt_vtd_s1 { * * It's suggested to allocate a vDEVICE object carrying vSID and then re-a= ttach * the nested domain, as soon as the vSID is available in the VMM level: + * * - when Cfg=3Dtranslate, a vDEVICE must be allocated prior to attaching = to the * allocated nested domain, as CD/ATS invalidations and vevents need a v= SID. * - when Cfg=3Dbypass/abort, a vDEVICE is not enforced during the nested = domain base-commit: 800b311b5afbca04e204eec98ee12667c88e9ae5 --=20 An old man doll... just what I always wanted! - Clara