Received: by 2002:ab2:7041:0:b0:1f4:bcc8:f211 with SMTP id x1csp181966lql; Fri, 12 Apr 2024 07:24:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXPVWz+pzaenHmb0Y0b4SvoTWzRtPkEQh6V/AVVyKIHONriirp/QToF/TbPQvCrYPvCQ/bViCUtOa+TPgnZXycAlLOxXT6Py+DwgMx55Q== X-Google-Smtp-Source: AGHT+IGV/9/BbU27LRrRCJWA+3R2n5akvfQEtNV+ql8dAt7BSts06566SQVkkVKiX5mHtkz0NfRh X-Received: by 2002:a05:6a21:398e:b0:1a7:23ae:4421 with SMTP id ad14-20020a056a21398e00b001a723ae4421mr8214600pzc.24.1712931857738; Fri, 12 Apr 2024 07:24:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712931857; cv=pass; d=google.com; s=arc-20160816; b=GwJwYIkbYDa5zgYZjbtWND7OeaBHRQUrQeptlWflw6qx56cnwV4QjG9EY5Nmc3QEAD Qe4hCZ5XhbbtY0xMaVMDEgfRVtmzMVYOEO9skYC0HEGgknpu3K6MRhvyrgudiPfxsdQt NA9gxS7ewUGYPveP370FFcIZYtLcUBX03M+VhV5xsXQ1SttYvuhHPn0xTo8ZCNjT1HuG RFxQZXNoBh9tpffj3N1/VBCC1BT5ylyD5LGAfBCufO9PmCano9RzTxuTJarcz4QM6/ui atDiMJ/XsX/JQL6OH895GVK1ACaA4EIJL9C5cfqEjA4xPS5w+jgWGSP3iiFlidde866/ 5ktA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=cuxxsq8XZw+QG+w/Ssgwsbj/UZc1HUhjcOJATM75AJM=; fh=A+QcyawwK6Yq8daxuWFm+g/417ivXyGCFoP00qnMPro=; b=m6g6/Uupkc91kjZuzHr38RP9ujyocN8zWLSHHl/XQ4Dvrm/4vTfhaf6JJlrxhsGZFv cuw8Z4BUcc3hu9Cv5TEsaIkrDO4663EhIZeWl4cFhcpkF1qGVwJjUtjz4K+C3XAjsu98 g1Stoke1LuLrrDwSH6fpmZFQ8jRYdtqv45e+5ljT/8PfGyfeUAGoeA4F64pnPTTE2RW2 ZBqAG6EtQBiYB8Ye4PDMmQZRNpJFVI2Dp83jVAraBKd8qLyX+DiBWFk6fxnqyAtWHLVs whR6wXiSCcP5JxnuJnZw2khqNQpOS6DoI+StxcNd3njcrRynrKHLGTaMN91Nq0EB6xTY qkYQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=O8VbATWr; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-142819-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142819-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id u123-20020a637981000000b005f06996278esi3340848pgc.365.2024.04.12.07.24.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 07:24:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-142819-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=O8VbATWr; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-142819-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142819-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 E45A8286C4C for ; Fri, 12 Apr 2024 14:23:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BCDE912C539; Fri, 12 Apr 2024 14:22:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="O8VbATWr" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 97D9F12C481 for ; Fri, 12 Apr 2024 14:22:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712931731; cv=none; b=EhIoG/eWtI2XrGRPBmmX8PXonY/TredGKpmDL99xIaI400wJm+ujncIVA/s5NlgVyXgZxsmCT/un6ob/FqI4Iw/jcqaobWHQP4LPGxVLyJPbjU6Gu6E3QZL4qwuwzN9e15gSZEs57ZOmtk0O4qw8I2qmnmijvdQ1q0DVUwkKQHc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712931731; c=relaxed/simple; bh=7fOLPHwtedPlEEz5+ot3Sre0AWrOfx+hG0wRkCREkFM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TDikJ/EFKhx+m8KQDUfILScv4+d8vsYhvDFZS/58sEQAkqlZ3656/qMIPXVrZlY10khCsfrdS/wPYdvXOcCp+OALvRX4PBdliEukXGbLl26xcJmK9CqppbE80eNsW7/3mdq0/+saC4Mync42Hj1+AuTfPkL8qqR9PFeYq8IqejE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=O8VbATWr; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1712931728; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cuxxsq8XZw+QG+w/Ssgwsbj/UZc1HUhjcOJATM75AJM=; b=O8VbATWrZk8Ouq7CyPp7yvCzpskDrcwBN2ejh23WAfa6QqKv58gWEyMACxC7pwObEcGVbS jPBuHNF8STD209/CpbmoPXHK/ArbuOkxV9kGAJPakmiBUl/2MPqxdGW67sUzmYBc+r1JfH nHU5at6nA7crj8AyIUAkgRMAM2MPOwc= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-460-EAuPk9GYPqWpjgocvxHjTQ-1; Fri, 12 Apr 2024 10:22:03 -0400 X-MC-Unique: EAuPk9GYPqWpjgocvxHjTQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C67B629AB3E5; Fri, 12 Apr 2024 14:22:02 +0000 (UTC) Received: from t14s.redhat.com (unknown [10.39.193.165]) by smtp.corp.redhat.com (Postfix) with ESMTP id 843C740C6DAE; Fri, 12 Apr 2024 14:21:59 +0000 (UTC) From: David Hildenbrand To: linux-kernel@vger.kernel.org Cc: kvm@vger.kernel.org, linux-s390@vger.kernel.org, David Hildenbrand , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Janosch Frank , Claudio Imbrenda , Gerald Schaefer , Matthew Wilcox , Thomas Huth Subject: [PATCH v2 05/10] s390/uv: update PG_arch_1 comment Date: Fri, 12 Apr 2024 16:21:15 +0200 Message-ID: <20240412142120.220087-6-david@redhat.com> In-Reply-To: <20240412142120.220087-1-david@redhat.com> References: <20240412142120.220087-1-david@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.2 We removed the usage of PG_arch_1 for page tables in commit a51324c430db ("s390/cmma: rework no-dat handling"). Let's update the comment in UV to reflect that. Reviewed-by: Claudio Imbrenda Signed-off-by: David Hildenbrand --- arch/s390/kernel/uv.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/s390/kernel/uv.c b/arch/s390/kernel/uv.c index 914dcec27329..ecfc08902215 100644 --- a/arch/s390/kernel/uv.c +++ b/arch/s390/kernel/uv.c @@ -495,13 +495,12 @@ int arch_make_page_accessible(struct page *page) return 0; /* - * PG_arch_1 is used in 3 places: - * 1. for kernel page tables during early boot - * 2. for storage keys of huge pages and KVM - * 3. As an indication that this small folio might be secure. This can + * PG_arch_1 is used in 2 places: + * 1. for storage keys of hugetlb folios and KVM + * 2. As an indication that this small folio might be secure. This can * overindicate, e.g. we set the bit before calling * convert_to_secure. - * As secure pages are never huge, all 3 variants can co-exists. + * As secure pages are never large folios, both variants can co-exists. */ if (!test_bit(PG_arch_1, &folio->flags)) return 0; -- 2.44.0