Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10099457rwr; Fri, 12 May 2023 03:57:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7IMc9gLMK7AICw7a3AAGLtUIg5MOWjXh+7sy9FP0FdzC+LP0YsU4NUBd2CIg1dOHNH8q/p X-Received: by 2002:a05:6a00:2392:b0:645:ac97:52a4 with SMTP id f18-20020a056a00239200b00645ac9752a4mr23878859pfc.8.1683889074028; Fri, 12 May 2023 03:57:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683889074; cv=none; d=google.com; s=arc-20160816; b=iS2oJpCf17bwII6J1sHBi6gEuEZzOKVfGKVbpx/Uee0sgQFFqT4JeEPZA74vx+tfdf Lu543IubnhPkALllknwGiPeYPkkIbo4QHoFsDBI9JsyUcRWyTMtyc7CEpHLblOdimLC8 N9lgAyhSxLYCh5Z7R2CFcdiFmbLHnGFp2xmCM7Ay2Phc+OPFhLu4EcH+lE8Ny5Th0iMU UTDaoJ7V51/hTmgKT2VrpNN8V+0Owar58KIacRtsQeT7Y2oaTdOyfy6MIufi+wfXjMJ8 e1uiYAwyfjGerbyZDrBXYPnVadSRV7PP7MQTRDI//12ZWynVuMV9HYn79X9q25wD2psY rYfw== 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=xDuchBuEAXevfWxFuH484N6vej6m2fqZGCKBbWqYsdM=; b=lwnhWdKgAyGrSc3imQxR04vVrng4nzSIHh5Nf2c7p/vcGfQuooaPHsnCOR+ai2CFI9 XmZnZGWlmHPX0uk14e6X3EM+WQ4fLVE1r1vGPLgTIXEL1rLvFjqi/diQOSegRFz70rg7 r/6vpqMc/4YrpNMl7m8Ezp26cefziLVZ9XG5FV+USwivH7B2ZUu1ocsl4Y7ylVSVO2Lo 7CI/VxeSXuGj1vqkYoSr0z4K8Waj8K1Ji5htt13VQVGMh9QLxjoO5uusMDVG2zEMV7Kx DXNcMPc3b2bF0mhjbYWx5qWLagecJes1M1VCmWwn1+lPekm+P0YNr+zgED72M0ouzzpZ woIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a138-20020a621a90000000b0063b8a36cbedsi9901885pfa.148.2023.05.12.03.57.40; Fri, 12 May 2023 03:57:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240799AbjELKmf (ORCPT + 99 others); Fri, 12 May 2023 06:42:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240355AbjELKmd (ORCPT ); Fri, 12 May 2023 06:42:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0A5810C9; Fri, 12 May 2023 03:42:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7CCC7654A9; Fri, 12 May 2023 10:42:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6D80C433D2; Fri, 12 May 2023 10:42:29 +0000 (UTC) Date: Fri, 12 May 2023 11:42:26 +0100 From: Catalin Marinas To: Nhat Pham Cc: akpm@linux-foundation.org, linux-api@vger.kernel.org, kernel-team@meta.com, linux-arch@vger.kernel.org, hannes@cmpxchg.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, arnd@arndb.de, will@kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm64: wire up cachestat for arm64 Message-ID: References: <20230510195806.2902878-1-nphamcs@gmail.com> <20230511092843.3896327-1-nphamcs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230511092843.3896327-1-nphamcs@gmail.com> X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 11, 2023 at 02:28:43AM -0700, Nhat Pham wrote: > cachestat is a new syscall that was previously wired in for most > architectures: > > https://lore.kernel.org/lkml/20230503013608.2431726-1-nphamcs@gmail.com/ > https://lore.kernel.org/linux-mm/20230510195806.2902878-1-nphamcs@gmail.com/ > > However, those patches miss arm64, which has its own syscall table in arch/arm64. > This patch wires cachestat in for arm64. You may want to clarify that this is for compat support on arm64, otherwise native support uses the generic syscall numbers already. > > Signed-off-by: Nhat Pham > Suggested-by: Geert Uytterhoeven > Suggested-by: Arnd Bergmann Acked-by: Catalin Marinas