Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10913268rwr; Fri, 12 May 2023 15:15:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ49UC1NKXn3lQ6KvDOv0S48QMVAIt100frUIGfQbkyMBDyTDX91Ug1bbf6Eq6oxiMbwZeAn X-Received: by 2002:a17:903:22c9:b0:1aa:d4ba:de2 with SMTP id y9-20020a17090322c900b001aad4ba0de2mr32566767plg.18.1683929720144; Fri, 12 May 2023 15:15:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683929720; cv=none; d=google.com; s=arc-20160816; b=Yz/X+VXC8cSl56BcbET8ljjCT23vTaq8AY26+GQrNJAXvHzW4+aHw6NZ0os2qYVQnh mwvHf4PV1hoAGdRjdN5DeI7HJs5tRXFbIwieBQ/MWpOqvF8BcoJy5k+umb8/Ed9Brab0 do0tzVCHeL/wDVm3tPD4VjGMScjuFDEbGXCLLe8R/K/uASoOFzgOOHtWiI/aKz0C+xpL HZtw9FZkZzjFc3vEjRNGHzPCXzCweahTG5VOwWx8dNWX3XfkYFSIFGJMkWN7EadWghvp aFVQmWbkm0EL0H+/4KyuOxuw32RDYOSRE3IKKHtgKYDqNaBZQs5KLaWyIb9meLMHniFB N7uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ktA0DPNP5CNQIjFJf+YrLVaDtly7+JfQEYIY1aBuK2A=; b=QrYd2REkJwLZ+iIZrMaadKki41kX2eDr9LNq98ycBF5URPkMYtnAolf1i6wSGszKRT wwxeweLuKGfkuQDVkSJHiqcibD0IBo+2TUGXq1Ar7KuF21FCrVTw/NV1ezCjZnBM5L4B t6qVAPbmpzoY+XInlEDyZQO3BHnpZWhonnwcdsA3YV1aEGI16ebcENTG1r1vIil52On5 Eqb4yUu4IioFT864QZB23m08X5bjBAAKzp/ZVswdrgUmYU62Q/gnx4SwaiYn6WFZ7u6p CghWMNAiRyeMQCBwNEhKo2TP09xbOpWtxV24t+Mg/VkZnuYqwyn3ng7ogVgSa7viPDPu 5vaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=EpptMN9+; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ix1-20020a170902f80100b001a691f376e8si9902562plb.415.2023.05.12.15.15.08; Fri, 12 May 2023 15:15:20 -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; dkim=pass header.i=@gmail.com header.s=20221208 header.b=EpptMN9+; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239694AbjELVsF (ORCPT + 99 others); Fri, 12 May 2023 17:48:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239602AbjELVsD (ORCPT ); Fri, 12 May 2023 17:48:03 -0400 Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6BAF658E; Fri, 12 May 2023 14:48:02 -0700 (PDT) Received: by mail-qk1-x736.google.com with SMTP id af79cd13be357-7577ef2fa31so2084258485a.0; Fri, 12 May 2023 14:48:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683928082; x=1686520082; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ktA0DPNP5CNQIjFJf+YrLVaDtly7+JfQEYIY1aBuK2A=; b=EpptMN9+Uga6hAcxAo2XzkvGGde8U7iZgqSZwup4gFk7ua2rwfBFWm657rBr2tzbl8 alDpTk4rP4SwxS0++WAmPE4FdQWVm4/enEJ2mQ3J7ahbm+q5NhFo7RUTs7wUOrscZMox 45eupQg0KhJwmEmfQY80h//uPbuUrGvgy+2S/kMV3ur3MjhthaKdkBj5g/zXWCaAa42F nlBJ5ENELKGgHvDXJ6O1MgCI5TkNz2MkLRmOh4ivwQL0KVMfgjcXf0CAUWx2Kaefsg2L rPMZHV59fzGHCt/miNVdcAi7XITRfBOYPKnI+nTBEP2ciUF+hg8YN/lZWQD5Nj0f53m5 YpxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683928082; x=1686520082; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ktA0DPNP5CNQIjFJf+YrLVaDtly7+JfQEYIY1aBuK2A=; b=i36IYFiU0ytePZ7pcIjov0x2AkeeuPbz7ORnwIOzT1owKwqt7rCp1nCSkJYqRTktgw S8PmdJIdpLOD6jK+FQp9ojTYZoeAuEn6XFqZyV4zS19CqXvPrCr2txjNvHPwaq9DFlQj l35lZy43rS7Q6mR46qgznqXKMLu0JZctdIIsQrQJYVCFgnUn+RQf5IBIsbrmzneEgObD hubIOgho6mndHB+e0nSCNY4c0gsC8jGFFF3HyQ6jXszlhtM71pZBYZiXoIwnt8Qhwsdx Fdq7pCPNFieRf/nj1UYY6aO2T84VW8/40lPlzgmbl/9hAhrhzjGF63ebv9nEm22qRPrN pKcA== X-Gm-Message-State: AC+VfDxTMalHDRjfBc3zmUPIwk3ztahqCC0qpNWpSVdHqsM2xUv2Jdxh nuDrxA55bvMJik5eP5FkJpB/K4Xh3ylpg8eZFGk= X-Received: by 2002:a05:6214:519a:b0:621:65de:f600 with SMTP id kl26-20020a056214519a00b0062165def600mr10970695qvb.1.1683928081711; Fri, 12 May 2023 14:48:01 -0700 (PDT) MIME-Version: 1.0 References: <20230510195806.2902878-1-nphamcs@gmail.com> <20230511092843.3896327-1-nphamcs@gmail.com> <20230512141510.20075825899e3c869c5358ca@linux-foundation.org> In-Reply-To: <20230512141510.20075825899e3c869c5358ca@linux-foundation.org> From: Nhat Pham Date: Fri, 12 May 2023 14:47:50 -0700 Message-ID: Subject: Re: [PATCH] arm64: wire up cachestat for arm64 To: Andrew Morton Cc: Catalin Marinas , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Fri, May 12, 2023 at 2:15=E2=80=AFPM Andrew Morton wrote: > > On Fri, 12 May 2023 11:42:26 +0100 Catalin Marinas wrote: > > > 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.c= om/ > > > https://lore.kernel.org/linux-mm/20230510195806.2902878-1-nphamcs@gma= il.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. > > Thanks, I updated the changelog thusly. Note that this patch is > transitory - it will be squashed into "cachestat: wire up cachestat for > other architectures". It's my expectation too - it makes sense to squash it to the other patch. Thanks, Andrew!