Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp915880lqt; Fri, 19 Apr 2024 14:48:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXShxrCr+mTAd8K5/uUOXctLFbcqxx+XBXse1U/qpEt0ujS+vraY5rbefrwkRLKMsoQXN5RbeFIuQbRb4660+FKPmEiUjYGW78nnoaL+Q== X-Google-Smtp-Source: AGHT+IErIClM3c7qoLM1bWQ88T3cK5uE19UODHU5zDgNGdK2qVUyNi/N1MLMugqQwWUzMgHhkV6j X-Received: by 2002:a05:622a:11c2:b0:437:c805:212c with SMTP id n2-20020a05622a11c200b00437c805212cmr5082158qtk.29.1713563311008; Fri, 19 Apr 2024 14:48:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713563310; cv=pass; d=google.com; s=arc-20160816; b=ZH0o8bUVrDj+XSSdXssW0di/PVCQ9aRmfLAIm0SAZ6dD2kEMNniAZTbf0CaMBoVsf/ rkwamAQM4ECd4OnrCyRd/b/Q9elfQuaUyIwbkKtV+UScj7h7kVf0ZkxNt7Y52RXIG7aL 9E0SgtvdPgOG1py7LgG+fuyNqDev7Nv7ZBsCopLfZFnhebXY01mA8UILk/YlpCHbz/Rf EK0msLf0u96aZOyxIzFpJJIK+EqNf7q0N7/FGosT0nisgPvH8xS2ISsKuRco1Ooe7qoB dQQ2M/aJZ67uTqZxKt3DH5o88vBVZz3gXrGB7JTXuHcHgmk7XhSA3orKOQgU3s5cDRln qhmw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date:dkim-signature; bh=Dh+S0zPQ50hNw02HpsJmQx8k52h06mpZBsGw/QHal6o=; fh=TXM8tQ153ebp2IA/JAqlIFQD/I7B/ElpdMBjmXkeSlQ=; b=KkyotXbSk0oeZ9Gf9FUdsNPRcIZqntnxlGF/1RI9lUrZZb7b8iLgDjMPy2d25N52tG 0Iw0AUwpWRtHOevSQZAmPyiUnsF95tiTOWrsi+kK7g/8h/hIn80rdgIxEbTTiir+kxaE fhcKoSmQm+LurDdxGJNT7XJIpunk5IkHT61/+Hhdn+On4/xG5Bm+Y9UZsieyE3XYKBTf Fc9uckbhcxItzxRk0YAEqTyE8Lo2fUuWtiH64foBCsTO9mTSEruAaSgzNqA92A50kuCb /xYMdPohf3QPRbbV8tYQZfdN2gG6j2OWawtxDnF3IHkPQtXcrNI2wZdm0xmZp1ZfLM6f HH7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VxqTaFhI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-151980-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151980-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id fa13-20020a05622a4ccd00b00437add5d155si4191074qtb.368.2024.04.19.14.48.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Apr 2024 14:48:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-151980-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VxqTaFhI; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-151980-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-151980-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B67891C21833 for ; Fri, 19 Apr 2024 21:48:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A443013D25B; Fri, 19 Apr 2024 21:48:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VxqTaFhI" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B8E9929CE5; Fri, 19 Apr 2024 21:48:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713563301; cv=none; b=stXthpPgJYgJ4dIwPiNZzw5a0Wm1IjaS23XHVcIteA/XC1Ug7jD1RfHY3e2T1WIIqcTmKvj5XfUz2ODC/lwtKFl1mSt8e9vUjZHgZC7ioBEJPE0UgIS0Ab82ABvPMgQQaBHltam1vczSlh/68opriHEy7DNYhsbjGKjNFzXv7yI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713563301; c=relaxed/simple; bh=3ZlAGatLrUPVKYAsJKumqoP+8kWa0EUDFzvFfHY02FU=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=sPi6vIc4GSlZo/cDXvk+UGvzIVzFmrGWTUZaYuhZjMJXwHOsvUZU/wTfOemtGvmhRf+m+6tzS9xptcvcl6UCx98IH21yR1FVL005424sS+lKKmFKip6fDQamvqQUU7cEhFcYBW186Xws8pM0l2Zp9HKdUKJfD22k2eEFY1CemlU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VxqTaFhI; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D045C072AA; Fri, 19 Apr 2024 21:48:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713563301; bh=3ZlAGatLrUPVKYAsJKumqoP+8kWa0EUDFzvFfHY02FU=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=VxqTaFhIYOUAZuASy2lOS9wM6D/fpN+HDbQDGL5XtxBbyaPllLebOvL5TKvBVrDBH 5dGSmqCKMv0J2p7tVPK7a6NLTVZ4NdV6+uS99EfO8d9qiDOZrLOZNAeI7u8rU+Y1ys /Q6dqbE1TdC1BIsM0+aiiiv6rca+7nrfyZiNu1w8rIE9UGeZYwo8k/eiTah71V92sR KfWVB0Y4svSpMZEA6evgjMP2WOkHXvDKZI9PfpdKEZsvYYclfVPA16ehhxGNajcxjI mRiEAbYx0f+rcP5hWwVOQF+G9hn0eF99GQcSv7zl0dOsFoDXTRYRpbDRVRV6uNDc+a 6o+eEpxSwd9hg== Date: Fri, 19 Apr 2024 16:48:19 -0500 From: Bjorn Helgaas To: Manivannan Sadhasivam Cc: Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Kishon Vijay Abraham I , Thierry Reding , Jonathan Hunter , Jingoo Han , linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, mhi@lists.linux.dev, linux-tegra@vger.kernel.org, Niklas Cassel , Damien Le Moal Subject: Re: [PATCH v3 3/9] PCI: endpoint: Rename BME to Bus Master Enable Message-ID: <20240419214819.GA307192@bhelgaas> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240419093847.GB3636@thinkpad> On Fri, Apr 19, 2024 at 03:08:47PM +0530, Manivannan Sadhasivam wrote: > On Thu, Apr 18, 2024 at 11:12:09AM -0500, Bjorn Helgaas wrote: > > On Thu, Apr 18, 2024 at 05:28:31PM +0530, Manivannan Sadhasivam wrote: > ... > > > - * pci_epc_bme_notify() - Notify the EPF device that the EPC device has received > > > - * the BME event from the Root complex > > > - * @epc: the EPC device that received the BME event > > > + * pci_epc_bus_master_enable_notify() - Notify the EPF device that the EPC > > > + * device has received the Bus Master > > > + * Enable event from the Root complex > > > + * @epc: the EPC device that received the Bus Master Enable event > > > * > > > * Invoke to Notify the EPF device that the EPC device has received the Bus > > > - * Master Enable (BME) event from the Root complex > > > + * Master Enable event from the Root complex > > > > There's no "set Bus Master Enable" transaction that would appear on > > the PCIe link, so I assume "the Bus Master Enable event from the Root > > Complex" is a way of saying something like "host has written the > > Command register to set the Bus Master Enable bit"? > > > > Yes. But looking at it again, it could be reworded as below: > > 'Invoke to notify the EPF device that the EPC device has generated the Bus > Master Enable event due to host setting the Bus Master Enable bit in the > Command register.' Sounds good. Could even s/Invoke to notify/Notify/.