From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (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 0622E1DE4C9 for ; Tue, 29 Jul 2025 15:47:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753804072; cv=none; b=VqdJdkcOqt6rArR7SshZMvOV5HX2hTFPbRQY0X/upuPtiPbhuDgwa0zPI+iK/i3vcbRBcQxKpQrnXdgU1A3vftNXF/tUUcFgOOVuUgYdR1Vcj1Lw0+WCTYP+YUOe14IVxe4L21RPEnI1/VY/eZO8xECJBJZ+3Raor00lWb1Ykpg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753804072; c=relaxed/simple; bh=uGRMRCj20czLxiDkFZxyVp8jFrQzLQNLA8NZyCpiVl4=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Fsvz+NOfkdeI9v2QLCyqy4xkMGym1X00n0B4Pj7EqF/AMrm3LdkTwHalH0WwFxIxDHws3Nwv2enRd2XHmLRipQmHAGs9M7iO3ohjje1wT6g0A30bX+XIUFjQ2I5QPPRQoiRQ3TXpdQwgAHxDtzrciLr+16Zcjxq3xAuRkFWQp/w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4bs07S71gTz6H7WG; Tue, 29 Jul 2025 23:46:12 +0800 (CST) Received: from frapeml500008.china.huawei.com (unknown [7.182.85.71]) by mail.maildlp.com (Postfix) with ESMTPS id A5689140372; Tue, 29 Jul 2025 23:47:47 +0800 (CST) Received: from localhost (10.203.177.66) by frapeml500008.china.huawei.com (7.182.85.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Tue, 29 Jul 2025 17:47:46 +0200 Date: Tue, 29 Jul 2025 16:47:45 +0100 From: Jonathan Cameron To: Dan Williams CC: , , , , , , Samuel Ortiz , Xu Yi lun Subject: Re: [PATCH v4 08/10] PCI/IDE: Report available IDE streams Message-ID: <20250729164745.000079ab@huawei.com> In-Reply-To: <20250717183358.1332417-9-dan.j.williams@intel.com> References: <20250717183358.1332417-1-dan.j.williams@intel.com> <20250717183358.1332417-9-dan.j.williams@intel.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.42; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-coco@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml100006.china.huawei.com (7.191.160.224) To frapeml500008.china.huawei.com (7.182.85.71) On Thu, 17 Jul 2025 11:33:56 -0700 Dan Williams wrote: > The limited number of link-encryption (IDE) streams that a given set of > host bridges supports is a platform specific detail. Provide > pci_ide_init_nr_streams() as a generic facility for either platform TSM > drivers, or PCI core native IDE, to report the number available streams. > After invoking pci_ide_init_nr_streams() an "available_secure_streams" > attribute appears in PCI host bridge sysfs to convey that count. > > Introduce a device-type, @pci_host_bridge_type, now that both a release > method and sysfs attribute groups are being specified for all 'struct > pci_host_bridge' instances. > > Cc: Bjorn Helgaas > Cc: Lukas Wunner > Cc: Samuel Ortiz > Cc: Alexey Kardashevskiy > Cc: Xu Yi lun > Signed-off-by: Dan Williams LGTM Reviewed-by: Jonathan Cameron