From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7897ECE7A8A for ; Sun, 24 Sep 2023 19:50:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231391AbjIXTu4 (ORCPT ); Sun, 24 Sep 2023 15:50:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229993AbjIXTuy (ORCPT ); Sun, 24 Sep 2023 15:50:54 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FEAAFB for ; Sun, 24 Sep 2023 12:50:47 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-404800222d2so12729845e9.0 for ; Sun, 24 Sep 2023 12:50:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695585046; x=1696189846; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=STaVRB4lc8G7tgw1+DUtsUKKTjDKDxKdvDBHRRxCOFc=; b=Eou0wTehhLZ32KAExs3AyNOHLnF6eYBdnZy4Z/2bjb/fif0WrtZywS3Zs7aP8VA1To KcjsRFXcZkxjg9tgfpxV+gSwHXVfc/CuEPOogHP2Saoj6RzDBHx/eGC9Z9CiBpudYYb0 Q0gCIauDAaHbRDUzPIqU+bESi0wCTilM3DAl8BQKcvGXvBI/4NHom2eiIiCYdHbKfFNn IuMmL+q1Z+wU9WI+HVnmhgR0UZ48091vgctGGX54IHCQIuDGi2NobEXTbkWJ1ZuKn/xb AT/fJY4aJ5kqyWzwUVlM/9KVHPyo2DL4edjHRFeaTU8HJBAnlkW4MPTxtPIy3v+Nyp6n UYEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695585046; x=1696189846; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=STaVRB4lc8G7tgw1+DUtsUKKTjDKDxKdvDBHRRxCOFc=; b=RNvG/hML4D529tl/56m3nnMM1yqOkTRfeQsZZFofwy+3eXDdUxlRgQGxfZuKJQVpnN UlC0RMGy+KACkH5xkHiEaVO0W09d+6hrdtXRyDMBlx6JLgU3z1igA8Ye2n/f1KjVv/hk OELTPFNefD9TkeSv3MEQSYiiQIJbmaoi2GLx9PzWsyK/Xo4Um72n5576v+/OXDH+/Xuu tafrb1SX233AE9VlJZOnoajyOzB0N47yP54g/fSmYSPGHmi6axe50mNvNMN7cp5fIJhN aISb+8CHo0yripcCiFVn8jPy6cBzwFyvV5mZITWdPBLIezDHCzl1q/cxOcrgx3Tsa48A kHvw== X-Gm-Message-State: AOJu0Yw39f4SmMRmejZr65rkGjHgIahUG5/dtZjoMNeTNLBQVXaRdTDB RRHeOELTNdEIQWsDQIl32ZofZxROT2o= X-Google-Smtp-Source: AGHT+IHRdmk85zhv60MYPeVIo9rWi4BpI30IilpE7ErS0jlbks2+ZQUTEAlWSagW+aW+xBtCseoZVQ== X-Received: by 2002:a7b:c456:0:b0:3fe:d637:7b25 with SMTP id l22-20020a7bc456000000b003fed6377b25mr4755937wmi.0.1695585045408; Sun, 24 Sep 2023 12:50:45 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p579356c7.dip0.t-ipconnect.de. [87.147.86.199]) by smtp.gmail.com with ESMTPSA id hu23-20020a05600ca29700b003fef5e76f2csm2926177wmb.0.2023.09.24.12.50.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 12:50:45 -0700 (PDT) Date: Sun, 24 Sep 2023 21:50:43 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] staging: rtl8192e: Resolve circular locking with wx_mutex Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Resolve circular locking with wx_mutex, rx_pkt_pending_timer and reorder_spinlock. Tested with rtl8192e (WLL6130-D99) in Mode n (12.5 MB/s) Transferred this patch over wlan connection of rtl8192e. Philipp Hortmann (4): staging: rtl8192e: Put kfree() to end of rtllib_softmac_free() staging: rtl8192e: Remove mutex from rtllib_softmac_free() staging: rtl8192e: Unlock mutex for one line in rtllib_stop_protocol() staging: rtl8192e: Resolve circular locking with rx_pkt_pending_timer drivers/staging/rtl8192e/rtllib_rx.c | 4 ++++ drivers/staging/rtl8192e/rtllib_softmac.c | 9 +++++---- 2 files changed, 9 insertions(+), 4 deletions(-) -- 2.42.0