[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ceb50c7c-b86a-422b-affe-e4a29e92fea7@intel.com>
Date: Fri, 5 Jan 2024 08:59:53 +0100
From: Przemek Kitszel <przemyslaw.kitszel@...el.com>
To: Brett Creeley <brett.creeley@....com>, <davem@...emloft.net>,
<edumazet@...gle.com>, <kuba@...nel.org>, <pabeni@...hat.com>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <shannon.nelson@....com>
Subject: Re: [PATCH net-next 0/8] pds_core: Various improvements and AQ race
condition cleanup
On 1/4/24 18:12, Brett Creeley wrote:
> There can be many users of the pds_core's adminq. This includes
> pds_core's uses and any clients that depend on it. When the pds_core
> device goes through a reset for any reason the adminq is freed
> and reconfigured. There are some gaps in the current implementation
> that will cause crashes during reset if any of the previously mentioned
> users of the adminq attempt to use it after it's been freed. This series
> addresses these issues.
>
> This series also includes some general cleanups.
>
> Brett Creeley (8):
> pds_core: Prevent health thread from running during reset/remove
> pds_core: Cancel AQ work on teardown
> pds_core: Use struct pdsc for the pdsc_adminq_isr private data
> pds_core: Prevent race issues involving the adminq
> pds_core: Clear BARs on reset
> pds_core: Don't assign interrupt index/bound_intr to notifyq
> pds_core: Unmask adminq interrupt in work thread
> pds_core: Fix up some RCT issues
>
> drivers/net/ethernet/amd/pds_core/adminq.c | 74 ++++++++++++++-------
> drivers/net/ethernet/amd/pds_core/core.c | 38 +++++++++--
> drivers/net/ethernet/amd/pds_core/core.h | 1 +
> drivers/net/ethernet/amd/pds_core/debugfs.c | 8 +--
> drivers/net/ethernet/amd/pds_core/dev.c | 9 ++-
> drivers/net/ethernet/amd/pds_core/devlink.c | 3 +-
> drivers/net/ethernet/amd/pds_core/fw.c | 3 +
> drivers/net/ethernet/amd/pds_core/main.c | 24 ++++++-
> 8 files changed, 123 insertions(+), 37 deletions(-)
>
very nice series, I didn't spot any problems with the code,
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@...el.com>
Powered by blists - more mailing lists