Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp3941072rdh; Fri, 29 Sep 2023 06:58:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG6Hb0kCLm53j/C2KznMZNlMT2M9pFylgT8UmNjBB0Tk+uoGbGYhcmm4srQZQK/AKcDOdCk X-Received: by 2002:a05:6a21:66cb:b0:160:ec7e:ec07 with SMTP id ze11-20020a056a2166cb00b00160ec7eec07mr3626710pzb.58.1695995902211; Fri, 29 Sep 2023 06:58:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695995902; cv=none; d=google.com; s=arc-20160816; b=pj+4ZnF/NZ6zgiJ0XOZxmLhV5Tz31n8kyNbHtzMThiUYR9h6K4DpNXouqfQJ5J9XvN 3NTZvegGUpFKaTm4xnuYYEByRmGV05j1LCoKeyC2dk3dkwCxnq57nKKZplVQdwKyndCu XwNnwNcg3EmGFAzbl9TO6CQhRZXjCpq7jo0Om9MyzQ6YD/ydkCNtL00mki3pr1ftYMZC +0jutHuXDSi66WMnO33z+jxVu8wAYJG0LbDsO+QPa1AShU+CAG7erIuXo+eVY9UVClxI 8fNqRmDN7x4eGicyJfUqd0C32aAJmjOa+cX8SSqbYAp4u9t4WnVfLgXw4T5OW+skeT34 bXZQ== 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=qkcij4M4qFmfPBJh0ZXRR+rqodBxc/HEVEHdtcfIjHY=; fh=fdbks9cDZD3nws6fbVmPJcsGIn1evRgsQgeNrttrtE4=; b=GNK4DxusfJHkUAWj/MFavvK7FgM2MJkpBJ4MdDAvL2DvpJ2afOfust4z26bvVPZEoA vmQyea1vD/6GWMFKIXVKD+yrFWwxHF0r50tIpI2qxv5bMw+UjQgEKZbbfzNl153ndDqX ccbXoIMoh3MPm7ZMuFotv7kq+eD+KHGcTMnDqAE8Bt6JGdOk0PFXlayh9Pew6r/uctx0 Pi+Magq7aSHDWC+JEP4kgpd2VLFcESW3eC/rMUSjoMFzNEfiDSQ7W5CfqITye2Ri1qNa jlw39D1y9jsbaKKR9yw5RYZcud5eFIujrognu1kJYYKE/S8O0MsaAh2er+Cmy3p3poFJ I17w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=kyME0vum; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id q19-20020a056a00085300b00690d9cd7b56si22240180pfk.66.2023.09.29.06.58.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 06:58:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=kyME0vum; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id E45D68073292; Fri, 29 Sep 2023 06:45:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233403AbjI2NpJ (ORCPT + 99 others); Fri, 29 Sep 2023 09:45:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233266AbjI2NpI (ORCPT ); Fri, 29 Sep 2023 09:45:08 -0400 Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6718DB for ; Fri, 29 Sep 2023 06:45:06 -0700 (PDT) Received: by mail-qt1-x831.google.com with SMTP id d75a77b69052e-41958410e5cso374421cf.0 for ; Fri, 29 Sep 2023 06:45:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1695995106; x=1696599906; darn=vger.kernel.org; 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=qkcij4M4qFmfPBJh0ZXRR+rqodBxc/HEVEHdtcfIjHY=; b=kyME0vumcYlwgpnwUWzLizAHRLZSEMBT1zd29YG+l+tv2me2gnb5XIWEBSI8FoGKGJ IYbUAX8xSkGcN7HIhXAjAUSu8YT4Z3YfVcxLB8KnJcGyRprwm3/FUbJ0A8DxKMURCKpS YL6SfFRHOD4a4SlSkuT+CnQ/gV5Ujb3AOdOFs7GE+su0BvtdZ26BQx7QRYej+5RGfjYz 4/7LjfwahbqZbFXy+yXgvb0yoOIz5PIWNbzKq4w24UA8s5KGRdi/mOqpsKc7QCB1+Gp1 JhBwzLcM1el64UxYl7RGzrdzKYkmW3SKSq8L0zBBtd1uWwb03Ot07FSYzoEipCoZ2TUz S50w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695995106; x=1696599906; 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=qkcij4M4qFmfPBJh0ZXRR+rqodBxc/HEVEHdtcfIjHY=; b=sRLVa/du5tr7I2vAJNI9oEOlPVjq0h8zUprqz7kqPrfR0I6hmuDLmWKbRNgHHgnnv0 4QJUIz2cE5NmPSBeS1xe/XqEC7ewNMM88aTQbKL66Mn2euUZpGN7aJDkxd+Vj/1cRBpW yXLyipBRncK3jiKw7o9rjQ4HLkvd4lAOmIjZ0vfbKAHSWdouCw9aYU8WBy+AIWjbWlUf /ZumqGWP9bQxh0soUEA640UV8oUShV3gJW4y3i6axaEborNd+WidVuuBXxUqkr1bYF/f 0ZB4aSbZRFPr1+lqgsBSTA/mK2OIScxg4vlJgpJKkTspbex95FHjPWmHEtVfHg7o6r9M 7YFA== X-Gm-Message-State: AOJu0YxEx1XwI7ARDBr+nJC0JA03QWQOa314BaBbq+YaFObBNONE8k3B 3GamNO3wQ+BGivDw7aPR99gq7eoyh/bcdngKXKVH3g== X-Received: by 2002:a05:622a:46:b0:40f:d1f4:aa58 with SMTP id y6-20020a05622a004600b0040fd1f4aa58mr1209455qtw.8.1695995105901; Fri, 29 Sep 2023 06:45:05 -0700 (PDT) MIME-Version: 1.0 References: <20230829234426.64421-1-tony.luck@intel.com> <20230928191350.205703-1-tony.luck@intel.com> <20230928191350.205703-5-tony.luck@intel.com> In-Reply-To: <20230928191350.205703-5-tony.luck@intel.com> From: Peter Newman Date: Fri, 29 Sep 2023 15:44:54 +0200 Message-ID: Subject: Re: [PATCH v6 4/8] x86/resctrl: Split the rdt_domain and rdt_hw_domain structures To: Tony Luck Cc: Fenghua Yu , Reinette Chatre , Jonathan Corbet , Shuah Khan , x86@kernel.org, Shaopeng Tan , James Morse , Jamie Iles , Babu Moger , Randy Dunlap , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, patches@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Fri, 29 Sep 2023 06:45:18 -0700 (PDT) Hi Tony, On Thu, Sep 28, 2023 at 9:14=E2=80=AFPM Tony Luck wro= te: > /** > - * struct rdt_hw_domain - Arch private attributes of a set of CPUs that = share > - * a resource > + * struct rdt_hw_ctrl_domain - Arch private attributes of a set of CPUs = that share > + * a resource for a control function wrapped line not quite aligned anymore > * @d_resctrl: Properties exposed to the resctrl file system > * @ctrl_val: array of cache or mem ctrl values (indexed by CLOSID) > + * > + * Members of this structure are accessed via helpers that provide abstr= action. > + */ > +struct rdt_hw_ctrl_domain { > + struct rdt_ctrl_domain d_resctrl; > + u32 *ctrl_val; > +}; > + > +/** > + * struct rdt_hw_mon_domain - Arch private attributes of a set of CPUs t= hat share > + * a resource for a monitor function wrapped line not quite aligned anymore > -- > 2.41.0 > Reviewed-by: Peter Newman