From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1F2EFA04C1 for ; Wed, 20 Nov 2019 18:22:41 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D6CEA2BE2; Wed, 20 Nov 2019 18:22:40 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id 194A12142 for ; Wed, 20 Nov 2019 18:22:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574270557; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8mrteVyu/aEYCO0w42A3vVLzA1bMjqoMDv4hs9E+hoI=; b=L+4NbBR92gUN6vXZ8AljxmVfSzvxVVJChIFg3qGyQlbB4BFDtygMIMqgXzMTy4wZXaVvRT YFKGl/4u+7XXEMhNaQBhgG7hX9tn5ypGwj/F261Dxc9dc5XfWU/JLqwfH+eJVcoOmJq3dY fF8cOueLgl95AmKkTvjz7KXQKtIg3NI= Received: from mail-ua1-f71.google.com (mail-ua1-f71.google.com [209.85.222.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-151-Mt57eGA5PX6zvV3UThbBTA-1; Wed, 20 Nov 2019 12:22:34 -0500 Received: by mail-ua1-f71.google.com with SMTP id y18so40948uaq.2 for ; Wed, 20 Nov 2019 09:22:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=206HcObGLWun43WrPLKHDy/qApMVV9gRDJai85zvDns=; b=HKLczxaDMzXjgHHkqNgTOOS3TMCfjwzqJ7yXUhej8ssmhTxX9mnR03KLi5zGkC0wFC wecrE1gGJ2KnkhqKuMTFO6dq+XpIng0K3WQYjIQrmAC3w0LiXUpFpOyFo/PPUBUMl+qN J0EzYqcAirSH+Ld6VJlmhbFhg+b32fKSFqt5mowsxnrTGsTy5zSL+JZB85E+1K9lSJQY J4XTNxlnOcK3wo10Wdl8z8K6iUVdkNPAVv+aUg1kOdZrGJqohaQY8kvhcpnoc6TOJ/DB uJuGFqjg7snyLDvHdWO1r7JzWQjK5nhjkbiHG9SWkR3GRq1MJbzNNa5w9FGoN1KrRUPJ Th8A== X-Gm-Message-State: APjAAAUXPXOFWATLzad1sryg/H7crGmbTMRItde9CBB3lC5/1jhT88sz YWyBQhAljhnORDT3+oPoeFWj5BNS/o3PVOD19KwDtUvvWw19cvnMIKkB1uxVbPk3/5GFXW1Y8zg SyMgCSviIMCME+UmGLQ+SBck= X-Received: by 2002:a67:cfcc:: with SMTP id h12mr2615858vsm.198.1574270553835; Wed, 20 Nov 2019 09:22:33 -0800 (PST) X-Google-Smtp-Source: APXvYqwsfw5l6EFcDJnLsKDfUFqGrOSemOzy7s/IaSPICrO8qq/ecmMbCuftnYHg5wOjjm3DHG20fuQclYZQSrfvysI= X-Received: by 2002:a67:cfcc:: with SMTP id h12mr2615824vsm.198.1574270553419; Wed, 20 Nov 2019 09:22:33 -0800 (PST) MIME-Version: 1.0 References: <1573548459-6931-1-git-send-email-matan@mellanox.com> <1574243271-27734-1-git-send-email-matan@mellanox.com> <2607286.WWoMLU17V0@xps> In-Reply-To: <2607286.WWoMLU17V0@xps> From: David Marchand Date: Wed, 20 Nov 2019 18:22:22 +0100 Message-ID: To: Thomas Monjalon Cc: dpdk stable , Matan Azrad , dev X-MC-Unique: Mt57eGA5PX6zvV3UThbBTA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-stable] [PATCH v2] bus/pci: fix driver detach clear X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Wed, Nov 20, 2019 at 2:54 PM Thomas Monjalon wrote= : > But about this patch 1, it is resetting rte_device.driver, > which is used by the function rte_dev_is_probed(). > It says rte_device has no rte_driver attached anymore. > This patch is the same idea as > 391797f04208 ("drivers/bus: move driver assignment to end of probing") > So I consider this is a real fix. But the device should not be used after a rte_dev_remove(). This is more a documentation patch than a fix. The commitlog must be rewritten to reflect this. --=20 David Marchand