From patchwork Fri Aug 16 16:13:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 819743 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c8:0:b0:367:895a:4699 with SMTP id m8csp368043wrb; Fri, 16 Aug 2024 09:15:00 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWxDTr6qAnftdp/C3lEBEkhQjgx11HWw2d6px8m59nshDkQ7SlJLhaSkOVxWzcG6oxFPQ3TMaN0TqswUqkVsvjN X-Google-Smtp-Source: AGHT+IEzb2UkJXwVTS44Rdxhxg4ctTD5z2zO9cSuAqpdvB3p7hOn2ppPm5jIXpxoOImYF2jwe6er X-Received: by 2002:a05:6214:4a06:b0:6b5:e665:7f7 with SMTP id 6a1803df08f44-6bf7cd7bcc3mr46730846d6.9.1723824900521; Fri, 16 Aug 2024 09:15:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1723824900; cv=none; d=google.com; s=arc-20160816; b=a7wD3V+VhiniJi0P23aNxdaqETUUqxvC+joTcpU2sL0lGcOvA+RhFoGsEPu+xF+3wm kRK2rjIwUVr7k8Ps7tv9q59CqU7YQ2DohXARBSBmMSc9uk9Svb+MsjgxJLlwoMWRnm+s 5QJm0wHHYBBnv2yfpaTPyn2LXJfCkCgS9736LuP/cNWOp3oDUPsb0KIJv2/Nq0bXMzKS YJk7ZRwS8Htm/W4XaGf9KX/tV0BqHKzrV1p/buga96YDJUlHXxFTSEOhkLc9KS0ec+/P SJt2pk36V/87qVbrLc2cfdVJORRo1HuldPvFFnYpMKMKKcd312mwc82hj1oLIoI5Hsp4 6sjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bz0afNFWYytxnrxwkdvFof0HvXopb2DbUZl03+TROWI=; fh=oFv4bQEo4zDSnKaQe1NZpqCCefXIVXPx3JoKYak1kOg=; b=yPEQyJ5XAAn4q8FrWZddHmmCM2mN7W1bByITCTATM0or27DD2zrddXjv3ZVq9LwpPw 3Jd8xZPXFemhT5aM6FekJG2UoJ4vBMZXckkeB4eS3bxOiKFvaGgi1MwrxZ1+Bchthz2Q nclwXy/SCFmhd07YhJd7v2h9649m6OCPpZoEvWcqgG+43UbZSmig7z78Fu7uFzMdB0Y/ tVHdebxsyqW7/tnBSluUT2QUprDqKcZLYeTzipKYdxPwUVvB2c1OzVae3NZRheUYq3c6 ouFLWOfzUJgZFCkkMW2QiSvuTOvfg86pk26wK/zcq+VdbMhiyf1kGDjRMKB03aLk0RaX BLHA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=grRigugJ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6bf6ff25e65si44445276d6.525.2024.08.16.09.15.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Aug 2024 09:15:00 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=grRigugJ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sezaR-0008IY-4n; Fri, 16 Aug 2024 12:13:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sezaO-00089F-Rz for qemu-devel@nongnu.org; Fri, 16 Aug 2024 12:13:56 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sezaM-0007df-PD for qemu-devel@nongnu.org; Fri, 16 Aug 2024 12:13:56 -0400 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-37196229343so458629f8f.0 for ; Fri, 16 Aug 2024 09:13:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723824833; x=1724429633; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bz0afNFWYytxnrxwkdvFof0HvXopb2DbUZl03+TROWI=; b=grRigugJfg1IPLuCkhTX2/p/CjKdndFJDbR/dHFikfU9afmb5w+5xQIERGVNvv0yRE wbpRgho78lTlUC33jj2nLHnvv4HzkkuqdwUKVwK+0NT5jRyvJX8xRYKGNEYJWMs2u2nj +lRRz6tfwfdNjXuhkZ1y7heooKedGjcS3emoEIcaKtZbnbfttUHB7TueSRFQnqk8u2x7 MXuNZld2zDAycPSPTKFCOAGDUoGHKrXynYDjVLFrFHk12j9t1ZdHHfJKASk0oAhTQgYN jWyKsx1fi8jSmi67ZNqT1MRd2aW9GyeYB9ythuu33BerlOzGAlyJn/QbfFruvVn71wtF yRig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723824833; x=1724429633; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bz0afNFWYytxnrxwkdvFof0HvXopb2DbUZl03+TROWI=; b=S+zHXS07hO3a0Fv9DRc7/+YCpNnLoVz0o/9nVCkmLSVIZU/189urnlL8VKza+GrV9k MHElkG0g1MPzNChu5izGuWkt6se+FzLeoVNl5cjw+fR0kzLRHOBvrTJgiMyPrrp2r+4h 7W07xDyCRlNtnnTNl+yKx8njIOB6uAgGJW8LK/CQMekP9ZW7fuwGcIYgVJNQtuD11bGu FiLYxY+w03IbNL+DU7cC2QGm1urToDtefImnQAXlAnQT1b3dr6rCrz1UUeo9dtD9allO hqZkNtIE6+sD5+UzE1NSo7WugU89MbwTJAYAkLdZ/+5QwcdBfNsO6SJ5fdRTFKpSLtUB lvHA== X-Forwarded-Encrypted: i=1; AJvYcCWb+aN4MAqyec1dq2qtbrDKVeFVdCDWg6+b12Jpb6x64WslngQpfdblJIf5PqaCfjdCIZH0xu3KnFFHMXHNZ1zl1i3Up3E= X-Gm-Message-State: AOJu0YydqnSIi5lYn5LTwbjqPhtmU6goIcL3rpcBGZvENzWcr+8OWQDM zY+TZb8/g9WiWOoviA8f7lgnlhvRUmgA0YZYQ9O+Vv/4rU8Z/6AdgyD1htuR4fumjggI3eWCECf 1 X-Received: by 2002:adf:f0c6:0:b0:368:5b0c:7d34 with SMTP id ffacd0b85a97d-37194641a3cmr2535447f8f.22.1723824832920; Fri, 16 Aug 2024 09:13:52 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-371898bb588sm3912269f8f.115.2024.08.16.09.13.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Aug 2024 09:13:52 -0700 (PDT) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: Leif Lindholm , Marcin Juszkiewicz , Eric Auger , Radoslaw Biernacki Subject: [PATCH 2/4] hw/arm/smmuv3: Update comment documenting "stage" property Date: Fri, 16 Aug 2024 17:13:48 +0100 Message-Id: <20240816161350.3706332-3-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240816161350.3706332-1-peter.maydell@linaro.org> References: <20240816161350.3706332-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x42c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org When we added support for nested (stage 1 + stage 2) translation to the SMMU in commit 58377c363291d we forgot to update the comment that documents the valid values of the "stage" property. Add the new "nested" value to it. Fixes: 58377c363291d ("hw/arm/smmuv3: Support and advertise nesting") Signed-off-by: Peter Maydell --- hw/arm/smmuv3.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/arm/smmuv3.c b/hw/arm/smmuv3.c index 39719763897..4c49b5a885f 100644 --- a/hw/arm/smmuv3.c +++ b/hw/arm/smmuv3.c @@ -1981,6 +1981,7 @@ static Property smmuv3_properties[] = { * Stages of translation advertised. * "1": Stage 1 * "2": Stage 2 + * "nested": Both stage 1 and stage 2 * Defaults to stage 1 */ DEFINE_PROP_STRING("stage", SMMUv3State, stage),