Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp5150405pxb; Tue, 28 Sep 2021 11:35:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJziXwdCrheKZWUGNJlT2DJsMjUOodOSRlk3tzeN3odNMhY05VNN8oG3LwnlWvDLZhbGPs1s X-Received: by 2002:a63:6981:: with SMTP id e123mr5924950pgc.419.1632854112696; Tue, 28 Sep 2021 11:35:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632854112; cv=none; d=google.com; s=arc-20160816; b=BxaoI359PIAOaf9e2RD631hqlAYc2Sj8VsKJaFtVm6bl/NBuVps4eCvu/pLtUampEV n8jZR9SM/Y75+5TkMMdL4Ea5j5iXqvqp/lcXOt0kOypQQnqkHTc9eEqNsmrjhclIdkId UyIWrtLAKcUiPOxLPkluPUlvGDYN3B1DCmXmDJVJfr3aax8i7Y6OH7maMNHRMUlVcc6E ASzodmzvirVREV7WfpWquuS0Ub3iztP8U459gx5MLZvsxY7Wzyn+RqVJk114C6qJcv9Q jV1GQ6L8MHnDN2Pj7rntWUbD6Uf/srsWJnxPCdNvOHYjMeL5IKtuD/PSRh/tK3pBJc2x dqHA== 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 :message-id:subject:cc:to:from:date:dkim-signature; bh=rJ/GZjzEVKCd+TxRG9FBWdO8EVw+S3smZxCdVR43I3g=; b=a8YR9VAK3rfRrpZQ5LNAAqxERJayTWAB0GExnaqExunfNlWXG+ZJQRSrboSSDzS0Wd A+A7qFU37eIamVn+MXZsKiz9hUiHDul94MRySh5ntqkH9o0Q0nPTIN49JrArYNvaQVKF uI8Xd4n6pj+5+MtxtTxGe65vOb/YCVh1/7LihWh4QfjhaBZDJNftKRWCm53CmxMYOjZx /JABM67KHC1Gn/l4HLn/kRUjZGH1zzfDmeqmj8WbZ/9kicR2S7S0TJnKXRdP3h38YtAb YHkeV79Yb0culJLOM/K7zDqZpx0+h/0qc47hGMg/Yf30kilOADJhE3D3Z1kSRKoF2giO TdJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aLJSFtjS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q12si27454029pgv.303.2021.09.28.11.34.59; Tue, 28 Sep 2021 11:35:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aLJSFtjS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S242237AbhI1Sft (ORCPT + 99 others); Tue, 28 Sep 2021 14:35:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:43986 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242312AbhI1Sfo (ORCPT ); Tue, 28 Sep 2021 14:35:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B8D096103E; Tue, 28 Sep 2021 18:34:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632854045; bh=yatOfEZCG35taMbc6RN96f4TL49hkZJdqHa9Wh8F1Jw=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=aLJSFtjSQ3Ph/2Sqoip0dlh0K4tMVVjiyzvEENPDVr7MXl1kqqNWYwx+snsa8Sjrr RWcB4bpj6gYLhV/eWdvVSm7w0QgKYd09oNA0C9ySSZUvbJNAyNAn7GhaUTMBGkReCM XpJhGt+257pccSLaYwcMz4edFqQORsgji4HQWrVZLULgck8Kt8LsSr7dCLedjIB27A XRoO9gnA1utUNqlolEvrbD1bQvyo/7GmBCeZF9U8UtpHfFOXKp4thmSbYqZ6MYw1Qa Lm5CXeY2nL4hjOrwsAoyHKERhKOKnB2hXhKWJ0IIVKOKy0jyJYOA1Mu1P1fVcmN/lN ubhqFltEg1u6Q== Date: Tue, 28 Sep 2021 13:34:03 -0500 From: Bjorn Helgaas To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , Greg Kroah-Hartman , Jonathan Corbet , Amey Narkhede , Bjorn Helgaas , Carlos Bilbao , Leon Romanovsky , Maximilian Luz , Niklas Schnelle , Oded Gabbay , linux-kernel@vger.kernel.org Subject: Re: [PATCH 10/17] ABI: sysfs-bus-pci: add a alternative What fields Message-ID: <20210928183403.GA715406@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15ba8c07f1b0fd7359106920c8e34a7b9af7aea6.1632750608.git.mchehab+huawei@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Probably already queued up, but: s/add a alternative/add alternative/ (in subject) On Mon, Sep 27, 2021 at 03:59:43PM +0200, Mauro Carvalho Chehab wrote: > There are some PCI ABI that aren't shown under: > > /sys/bus/pci/drivers/.../ > > Because they're registered with a different class. That's > the case of, for instance: > > /sys/bus/i2c/drivers/CHT Whiskey Cove PMIC/unbind > > This one is not present under /sys/bus/pci: > > $ find /sys/bus/pci -name 'CHT Whiskey Cove PMIC' > > Although clearly this is provided by a PCI driver: > > /sys/devices/pci0000:00/0000:00:02.0/i2c-4/subsystem/drivers/CHT Whiskey Cove PMIC/unbind > > So, add an altertate What location in order to match bind/unbind > to such devices. s/altertate/alternate/ > Signed-off-by: Mauro Carvalho Chehab > --- > > See [PATCH 00/17] at: https://lore.kernel.org/all/cover.1632750608.git.mchehab+huawei@kernel.org/ > > Documentation/ABI/testing/sysfs-bus-pci | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/ABI/testing/sysfs-bus-pci b/Documentation/ABI/testing/sysfs-bus-pci > index 1eeac7f59672..16afe3f59cbd 100644 > --- a/Documentation/ABI/testing/sysfs-bus-pci > +++ b/Documentation/ABI/testing/sysfs-bus-pci > @@ -1,4 +1,5 @@ > What: /sys/bus/pci/drivers/.../bind > +What: /sys/devices/pciX/.../bind Wasn't somebody just updating these wildcard-ish items in pathnames? Ah, it was you :) https://lore.kernel.org/all/4ede4ec98e295f054f3e5a6f3f9393b5e3d5d2a7.1631782432.git.mchehab+huawei@kernel.org/ Changing "virtfnN" to "virtfn". Is that same sort of thing applicable here? My system has /sys/devices/pci0000:00/... Bjorn