Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6418035rwi; Tue, 18 Oct 2022 12:07:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6KGcpJ78Q2B+B8hs8Ka3Rf9+DmqYSSLTCcucDAIXNXjOaCpGiziYSvoJW/jC+Ukg3JbwAM X-Received: by 2002:aa7:cc90:0:b0:458:b07c:f35f with SMTP id p16-20020aa7cc90000000b00458b07cf35fmr3865011edt.310.1666120070968; Tue, 18 Oct 2022 12:07:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666120070; cv=none; d=google.com; s=arc-20160816; b=BprF5BtcZ2juPpRCx2aHbqUUnU6rxNxLTRIXKkFIxAFtlW6xcc5cgMVs8Pb8rLtxGQ f1WAHnjJGUpDwHsS0+qeggPQeUeKPg9zL9pqV4QI3RLB1EQq//ig7Fuude/sgDFS8YuY EKxt7+PBoPDX2tYwfG6KJ0dI8tObZrtxWG96OUzKoEjz0H5A/2HUe13OqARyXcKZOyGA Hz8HoyYZI0dlHiRLIDdPm3Hx8XprVrFo1+qp4swQuKy/7X0j1QNBZcDOqC+tQ5HJVDT+ fAYP3nmpZBo4WqE5yGfwR+l6eARAb1k6pQ1R06sNIM/czELoO/T7RmR5rqOBW4M4gJ/z ncNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=xiQsRjGXuWnXqr7gb8d6177VY0t1MeeDA3Ggynp6mWo=; b=PlcKfRdovZAFjeZT+39DVab70PE+4doZEfXPDJvap5PD3M26GZItvYxcA3RgmBvrw1 8r3NvLhZ530H+RNFcsBgm+C0RtkEfw+LPVF22DPJtzelJaXUuNvYaIwBqT6iPWL6pShU pmLk4Th0Rf4HhHk2KgkhWSY4PZoHgpDBdAhTdxrlY23nlFw4Roi9RFTlTmIkpbKXDcgt 36Nx3p+mSDtf0mo9uebWVKLC6G6GKeoKbjqs4k0sK8zIDPUwBghxeNUlo2xUzDEz7Og2 GB+iAHFCgDQp8lLUtGm1vfU/oAE4+rZk3AfWDQUudeZIgEfmIRfRKmoO0bc0sNs4Xdsv KE5Q== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y88-20020a50bb61000000b0045bdff8a884si11419675ede.268.2022.10.18.12.07.25; Tue, 18 Oct 2022 12:07:50 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229926AbiJRS5R (ORCPT + 99 others); Tue, 18 Oct 2022 14:57:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229845AbiJRS5P (ORCPT ); Tue, 18 Oct 2022 14:57:15 -0400 Received: from mail-qv1-f50.google.com (mail-qv1-f50.google.com [209.85.219.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3974D2BF7; Tue, 18 Oct 2022 11:57:14 -0700 (PDT) Received: by mail-qv1-f50.google.com with SMTP id mx8so9900918qvb.8; Tue, 18 Oct 2022 11:57:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=xiQsRjGXuWnXqr7gb8d6177VY0t1MeeDA3Ggynp6mWo=; b=Ibn1XWMLzBAVS6+LcEO/Y9f+LQXlRnWsjCnaoj0dUlnhtOmKLUBkZ4GTo3l5oDd7dC w36sQm4hOV5cFrNdC3GEls8k1lpzdstjQJiDWqbBKO7qxW9iWZCobg4t8Oru2s+kMtTB LfLjcjqSxxYNnfpp6KkKUiFgYOopMQJ/UT0nIaMxhTGZ1kyUx4PyR1ezWS/jyBQZ5g/x 0ZpM4/sraj6H5cWrSeSMd4gIfQ+ngbQB3bOhXBRuDW6CeRRaDoUauuFtnuiSsqDiTsjY ganVd53y8M/sz/D9Q04q0+olKR3QsoydSHw2+GK6mRhGluiBVsB2P6Dv/JmiOXlUsldG VfiQ== X-Gm-Message-State: ACrzQf1mnpmGwqbJ/WX0yZMvrjk1TqX3AjGKDV/Ai/pyrbi17TeALOil 0MA0ffrECNnF/CYTIyb7ffcXqbOccXnX/PWBysQ= X-Received: by 2002:ad4:5d48:0:b0:4b4:12a4:8a2f with SMTP id jk8-20020ad45d48000000b004b412a48a2fmr3594352qvb.85.1666119433207; Tue, 18 Oct 2022 11:57:13 -0700 (PDT) MIME-Version: 1.0 References: <20221018132341.76259-1-rrichter@amd.com> <20221018132341.76259-7-rrichter@amd.com> In-Reply-To: From: "Rafael J. Wysocki" Date: Tue, 18 Oct 2022 20:57:02 +0200 Message-ID: Subject: Re: [PATCH v2 06/12] cxl/acpi: Extract component registers of restricted hosts from RCRB To: Robert Richter Cc: "Rafael J. Wysocki" , Alison Schofield , Vishal Verma , Ira Weiny , Ben Widawsky , Dan Williams , linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas , Len Brown , Jonathan Cameron , Davidlohr Bueso , Terry Bowman Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Tue, Oct 18, 2022 at 8:42 PM Robert Richter wrote: > > On 18.10.22 15:31:16, Rafael J. Wysocki wrote: > > On Tue, Oct 18, 2022 at 3:24 PM Robert Richter wrote: > > > > > > A downstream port must be connected to a component register block. > > > For restricted hosts the base address is determined from the RCRB. The > > > RCRB is provided by the host's CEDT CHBS entry. Rework CEDT parser to > > > get the RCRB and add code to extract the component register block from > > > it. > > > > > > RCRB's BAR[0..1] point to the component block containing CXL subsystem > > > component registers. MEMBAR extraction follows the PCI base spec here, > > > esp. 64 bit extraction and memory range alignment (6.0, 7.5.1.2.1). > > > > > > Note: Right now the component register block is used for HDM decoder > > > capability only which is optional for RCDs. If unsupported by the RCD, > > > the HDM init will fail. It is future work to bypass it in this case. > > > > > > Signed-off-by: Terry Bowman > > > > What does this S-o-B mean? If this person is your co-developer, you > > need to add a Co-developed-by tag to clarify that. > > > > > Signed-off-by: Robert Richter > > I picked up an early patch and modified it significantly, so I just > left the S-o-B. In that case the right thing to do is to mention the original author in the changelog instead of retaining the S-o-b. > I could change this to a Co-developed-by tag. Co-developed-by should be used in addition to and not instead of S-o-b when one of the authors is sending a patch. However, all of the authors need to be familiar with the patch in the form in which it is being sent then. > IMO, the S-o-B is ok, but could be wrong here. It isn't, at least not without a Co-developed-by tag. There are 3 cases in which S-o-b is OK AFAICS: 1. When it matches the From: address. 2. When there is a matching Co-developed-by. 3. When maintainers pick up patches and add their own S-o-b. This case is none of the above.