Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3982172pxb; Mon, 27 Sep 2021 07:02:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwP50YCR3cM2mfRWFw9987SjpeTpYy0Cv2tL29HznwKkpwgsVj3iHX6h/NolL+miMJ4rLaZ X-Received: by 2002:a17:90b:4a09:: with SMTP id kk9mr19833443pjb.103.1632751320140; Mon, 27 Sep 2021 07:02:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632751320; cv=none; d=google.com; s=arc-20160816; b=oo0oCEG0WA9TcvcLWEnoEGKFuIfG5hlTqCEO1HAnRayNVJVbANBH7V4Hq26OZwHpLW 0zmgY67EqA/rZKDE33d7P6C+DNjhtNmfGvA5LJI2NoF1BvMEvlJPsYrZKNj9NWgaT54+ 8VOLVAnEVfdgXjmFF6XCCDWayC1WutRcKr2eI6cihc9PcCQ9U8UW6fVL/c9WEvU4RtN6 gG09uLnV9w8PoJN5hqFnuJ76znimZvZkIYc1wrrvVjMHTcps/Yw1veLhKlDF569f/5Qd oEjearE8FgVLRvo7VmEexB2FmNJI2KSdrArizpQKg0ihdieK+oZsINSzH9MXE5jwZxlZ GJJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=W1b9wLO9ilvFnyUWuTnCXZ+SfPCdqeNt61OYXHwkPp4=; b=Lp+CGbpZlTlFBdrWwy8641JzDP9PvPxu0M7Poi1j7J9H3P6oh7FZR/UzMoDsb7Kvul TlkXQZ31uUrKt/LizJHZg7Y8MrOAaZhpO4AW+4mJlInKvL4O7apmb/jiEs0elcDEPCJn Sr6obkE+elqL4R0EtKO3L8kKIR3eaRENvOKB5DcE/SLnkIuOEeHJYiytxDnNVP6cYarq 9eVFMTSvkitB8wf09vfzomVjGdnFXMgayOWYAaH0VI8tomtnDeeeZpCf8jHclKh5ntG6 YNwBBDVALCKqBks0An7LhHm+SxAA52WIVuIZgvfxV4hKG8vlRqMBplzvfRJFwLlQBKFK QQGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DEzlXLR8; 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 j190si19829242pge.220.2021.09.27.07.01.47; Mon, 27 Sep 2021 07:02:00 -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=DEzlXLR8; 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 S234828AbhI0OCF (ORCPT + 99 others); Mon, 27 Sep 2021 10:02:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:48006 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234707AbhI0OBf (ORCPT ); Mon, 27 Sep 2021 10:01:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 51EBD610FC; Mon, 27 Sep 2021 13:59:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632751197; bh=Dy6yJbWGfU8oB93VTtRBfZ0kl+qSmY3j7H3gVwdQRZs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DEzlXLR8gr1Yz4WcvnjIN69EI/N4AQBoFurgrOLvq2ychYRNYyIIHIAZO8IK7/J9G OStPM6aR7dIvRwxsZ7n+9NBow3r956aIZsjXkn5VfB5kwTgdFI5IDAa9ATYHIv/uiv gMhqA1enLs7kzYGXIWUVOu1nF26e0DywN4ImXLr1ztzloJ7LZVz/dneLHn4oGjhXkp MO2etskUxH19DrRhe3Lpl87kEyKs8p6nB8obbZ/7rImGTRzUEpAdvBX7Ks7H93lSzd +4hA41D5lLTWXI3maVwJvX/ob8AdDOY+nZg65nfR907OIM+l8mM0+atcgQ7xii0pU8 in1sNcjr1lhRg== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mUrAh-000AuA-LL; Mon, 27 Sep 2021 15:59:55 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Greg Kroah-Hartman Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , Amey Narkhede , Bjorn Helgaas , Carlos Bilbao , Leon Romanovsky , Maximilian Luz , Niklas Schnelle , Oded Gabbay , linux-kernel@vger.kernel.org Subject: [PATCH 10/17] ABI: sysfs-bus-pci: add a alternative What fields Date: Mon, 27 Sep 2021 15:59:43 +0200 Message-Id: <15ba8c07f1b0fd7359106920c8e34a7b9af7aea6.1632750608.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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 Date: December 2003 Contact: linux-pci@vger.kernel.org Description: @@ -14,6 +15,7 @@ Description: (Note: kernels before 2.6.28 may require echo -n). What: /sys/bus/pci/drivers/.../unbind +What: /sys/devices/pciX/.../unbind Date: December 2003 Contact: linux-pci@vger.kernel.org Description: @@ -29,6 +31,7 @@ Description: (Note: kernels before 2.6.28 may require echo -n). What: /sys/bus/pci/drivers/.../new_id +What: /sys/devices/pciX/.../new_id Date: December 2003 Contact: linux-pci@vger.kernel.org Description: @@ -47,6 +50,7 @@ Description: # echo "8086 10f5" > /sys/bus/pci/drivers/foo/new_id What: /sys/bus/pci/drivers/.../remove_id +What: /sys/devices/pciX/.../remove_id Date: February 2009 Contact: Chris Wright Description: -- 2.31.1