Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1070017rdh; Fri, 27 Oct 2023 04:05:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEWCNp9B+KuZOjzXcXOoOHVzur6jGvXzpBhyH/2gx3DTjHnLI5H7Zx5N3RiZLXCWeZGkl7S X-Received: by 2002:a05:6871:5c47:b0:1e9:e76c:2706 with SMTP id os7-20020a0568715c4700b001e9e76c2706mr3261642oac.52.1698404700048; Fri, 27 Oct 2023 04:05:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698404700; cv=none; d=google.com; s=arc-20160816; b=dVy8WuCEpMylb3OGr7qyq98b/vpzrIH7BTNzgDz4cqj/JsfMEl1phm+JN6fbb/K9eT yycPNAL/R0D30cMiG2Ju8US5C67gO9l0OP1uFVE1etcjXeIT0XhN86iUSGz63je1WrQw VDw4FRjo9M8U06/wGZE1Qy8uFXYXoixXTSDP5aXKgwJx8pZn3jU6vwRWnWl+sOvt+Yxr gta0xk9jBO02ByTnS/rdLYc/6F6I0fNMdpoARYtJVU4aSFhvCwB2/gCxt8v9E+Hl6+T7 QjLQ1hwbypa4hQDhsaIpTyopaNDTkgbX41XtkJbKINnBN2yJDhDP5KGQgABO/JE3Yerj kA6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=wMx9sKaQM/7ovV6rHitfpBGjjOE4TkCfc/2u4YcH1cg=; fh=Dze0vq6FFZC+W/e41ChJk6b1NF77ozC3CI3Lze9uN/o=; b=fsElgYw5UjMRHY4J0sPcU5pXDAJc/C1KHHeyUO/dfcQ3SCtg2ZmMdLmMgrk6IRnXTw zH00oY/NgZAgHoB143HaajGcYlqCnaHeHDE4zQOARnXJfWYv1I13+9Qqf7T76/km/vmA PrLrSL3fBS0AgG/jjHsxnE386BCB1L4MmjnvYAkyt3RLZrZavGfo85Kk4y2K7JDeIiE2 8J6TB5Nuqn3awcgvuWkuF792VfC30WN9SPFgljoofZYdGxjKS2GzzH5H1fhP6XAKb1bS AvcScxSTWUgcWoFL6zLwfb5RG/yb/AsUHU7LEyZBL5GHJf0D7BYorU2gngUnFEcjOMC5 uB2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id ew8-20020a05690c2f8800b005a4f6bf071csi1003856ywb.531.2023.10.27.04.04.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 04:05:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 0672F8316EFB; Fri, 27 Oct 2023 04:04:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345703AbjJ0LEp (ORCPT + 99 others); Fri, 27 Oct 2023 07:04:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345696AbjJ0LEo (ORCPT ); Fri, 27 Oct 2023 07:04:44 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BC9E187; Fri, 27 Oct 2023 04:04:42 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0CAC0C433C8; Fri, 27 Oct 2023 11:04:35 +0000 (UTC) Date: Fri, 27 Oct 2023 12:04:33 +0100 From: Catalin Marinas To: Hyesoo Yu Cc: Alexandru Elisei , David Hildenbrand , will@kernel.org, oliver.upton@linux.dev, maz@kernel.org, james.morse@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, arnd@arndb.de, akpm@linux-foundation.org, mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vschneid@redhat.com, mhiramat@kernel.org, rppt@kernel.org, hughd@google.com, pcc@google.com, steven.price@arm.com, anshuman.khandual@arm.com, vincenzo.frascino@arm.com, eugenis@google.com, kcc@google.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kvmarm@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-trace-kernel@vger.kernel.org Subject: Re: [PATCH RFC 00/37] Add support for arm64 MTE dynamic tag storage reuse Message-ID: References: <0b9c122a-c05a-b3df-c69f-85f520294adc@redhat.com> <0cc8a118-2522-f666-5bcc-af06263fd352@redhat.com> <20231025025932.GA3953138@tiffany> <20231025085258.GA1355131@tiffany> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231025085258.GA1355131@tiffany> X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 27 Oct 2023 04:04:57 -0700 (PDT) On Wed, Oct 25, 2023 at 05:52:58PM +0900, Hyesoo Yu wrote: > If we only avoid using ALLOC_CMA for __GFP_TAGGED, would we still be able to use > the next iteration even if the hardware does not support "tag of tag" ? It depends on how the next iteration looks like. The plan was not to support this so that we avoid another complication where a non-tagged page is mprotect'ed to become tagged and it would need to be migrated out of the CMA range. Not sure how much code it would save. > I am not sure every vendor will support tag of tag, since there is no information > related to that feature, like in the Google spec document. If you are aware of any vendors not supporting this, please direct them to the Arm support team, it would be very useful information for us. Thanks. -- Catalin