Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2317493pxb; Sun, 24 Jan 2021 02:58:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxIeWcQQg0KNNMIYKWWeXP5/SP/E+nXGd9CC2qOaHbDTeCFI9wJmofxBaLKOh5aAvaifPZI X-Received: by 2002:a17:906:3b44:: with SMTP id h4mr90692ejf.414.1611485902504; Sun, 24 Jan 2021 02:58:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611485902; cv=none; d=google.com; s=arc-20160816; b=GMfsX0uavJdp9aEUzRxtHqqmLLzep8bu+iOmyRFYuKRcKUz6BcmGnjZP6CPAEZsGDl c8hJB49E4xrnk/t1LyTKbPqbgM+DwkPIAXHIXlbxtuIsujEvCUHLOqoYs0asrW60zRBd X9ognQJY9x0xF/tWPtTUFWqxw4jmwq0PBzZKEPxXK4u6eB/nSLemn4wGwNhKjawv3ID8 Zdn5tQlOFoSmsm3pP3HMuCqbGg7Uzxlpcq17mFeEymYsJwkwIutIY4MqKuepDr3fd6ge 52+RUEePnYDHrYCbUGrzIfpFb0MzIFzcl9ZeF2rNASuxtZMO/wXawupvDWp13Fs6qEM2 3plA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=Jg/MMD3ppMA2CP0HbF4fNM0hbiIyr6unKvNIY/Ca9CQ=; b=hwOPvGlyPJAyyW1Tv6EubIU78WXfmktsFPqQ9lhtcRQfZHNQvEAmtl8GbA0/TtanCs HxkfMql+4GBUJKABwrKdfFuBkFtpTMUN4HhFr7GSGbrYd9CPwGBMhQuNnaDJeVcS7WDI W2QGzVUL3MkXWw/ixwGJvqKIrg1+XGS/YrOD5bNNqX09LgeHRMMSJ94/9OCzcaxtUro6 aQLEg4YDydgILnEAu6/AHkoCmH+z9pgyr6FRh78EcSXIMYuMVIPrcuDfPJ4VZRdWRKpx rJb6ynZ3lM8MQipOlHWCbc9WCkcpJWTYeruxE6z5MdWg8KSrgxA2eM4lePQTyfdsgGKp d5OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gLUuA1EW; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t3si5596154edw.266.2021.01.24.02.57.56; Sun, 24 Jan 2021 02:58:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-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=@redhat.com header.s=mimecast20190719 header.b=gLUuA1EW; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726657AbhAXK4V (ORCPT + 99 others); Sun, 24 Jan 2021 05:56:21 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:30157 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726551AbhAXK4N (ORCPT ); Sun, 24 Jan 2021 05:56:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611485684; 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=Jg/MMD3ppMA2CP0HbF4fNM0hbiIyr6unKvNIY/Ca9CQ=; b=gLUuA1EWCRKqhYgXLAuMDPbOyoHPqwZxOoSmE7qA89vswt2vhE5VAazfH4yBtGIcpb3GKv ju8xG1dDaRlkzZD+gkh8c/sSlucGdLefIHDk61tpPhGqIjIqAqOZd7p9/4ejyK2kuL8bhd 9ajdlBivUOGj0F7OOmssG8lVKIerpyU= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-221-n3XEsPGZPoaYGXVqT9YKRw-1; Sun, 24 Jan 2021 05:54:42 -0500 X-MC-Unique: n3XEsPGZPoaYGXVqT9YKRw-1 Received: by mail-ed1-f71.google.com with SMTP id 32so5660191edy.22 for ; Sun, 24 Jan 2021 02:54:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Jg/MMD3ppMA2CP0HbF4fNM0hbiIyr6unKvNIY/Ca9CQ=; b=IjsbdzSereNOP3x+S6Dgvf5dLCiiypNJUoXpVkbh1D8Aj6Jkxxr+tfaQzViuT4dUFi 46Q6vPWGvW78qwcLjBBhwnSaPJntwCK8n7ls6XTG6qEF4AeEGFwzznPo33O2uvH+4zmy 5+qK7Gd6e0qjg31BX4FO/bxJgUg/M45gXfrCYzc3IgM6DZKt4jyw0SZpySi1EAWdZjOX BTuXax/OyFjK3rtZXcglgYXgC+Fbi//ivQbG+hZF2nzRdzm7/ZAP28UERsYJVzBDCQFS kWx0Y9lGMi/G0E6wPLA4ZSFOYNRqjRzFH15AQZuxx9WMjFEPlYOx9zdzJ61QiUOaSRwu zbpQ== X-Gm-Message-State: AOAM5338AMbSfr3trTf4aPm6ww8CiTYFBB7Rxu6zyGwh54IsBhnZxBqQ Q3+MWDKxW0FBbhePVD7dO2rUMoGL1Gr6FElLgOGDVqgnOkQMLGqOz80kekVuOr5zqF1RauVEcW5 krccZ1TSZk3TLK3bQXlDAgwtKNMk= X-Received: by 2002:a50:da8b:: with SMTP id q11mr1101121edj.352.1611485680990; Sun, 24 Jan 2021 02:54:40 -0800 (PST) X-Received: by 2002:a50:da8b:: with SMTP id q11mr1101112edj.352.1611485680822; Sun, 24 Jan 2021 02:54:40 -0800 (PST) Received: from x1.localdomain (2001-1c00-0c1e-bf00-37a3-353b-be90-1238.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:37a3:353b:be90:1238]) by smtp.gmail.com with ESMTPSA id e22sm6869120ejd.79.2021.01.24.02.54.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 24 Jan 2021 02:54:40 -0800 (PST) Subject: Re: pull-request: mac80211 2021-01-18.2 To: "Peer, Ilan" , Johannes Berg , "netdev@vger.kernel.org" Cc: "linux-wireless@vger.kernel.org" , "Coelho, Luciano" References: <20210118204750.7243-1-johannes@sipsolutions.net> <77c606d4-a78a-1fa3-5937-b270c3d0bbd3@redhat.com> From: Hans de Goede Message-ID: <348210d8-6940-ca8d-e3b1-f049330a2087@redhat.com> Date: Sun, 24 Jan 2021 11:54:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi, On 1/24/21 10:12 AM, Peer, Ilan wrote: >> -----Original Message----- >> From: Johannes Berg >> Sent: Sunday, January 24, 2021 00:16 >> To: Hans de Goede ; netdev@vger.kernel.org >> Cc: linux-wireless@vger.kernel.org; Peer, Ilan ; >> Coelho, Luciano >> Subject: Re: pull-request: mac80211 2021-01-18.2 >> >> On Sat, 2021-01-23 at 22:31 +0100, Hans de Goede wrote: >>> >>> So I'm afraid that I have some bad news about this patch, it fixes the >>> RCU warning which I reported: >>> >>> https://lore.kernel.org/linux-wireless/20210104170713.66956-1-hdegoede >>> @redhat.com/ >>> >>> But it introduces a deadlock. See: >>> >>> https://lore.kernel.org/linux-wireless/d839ab62-e4bc-56f0-d861-f172bf1 >>> 9c4b3@redhat.com/ >>> >>> for details. Note we really should fix this new deadlock before 5.11 >>> is released. This is worse then the RCU warning which this patch fixes. >> >> Ouch. Thanks for the heads-up. I guess I'll revert both patches for now, >> unless we can quickly figure out a way to get all these paths in order. >> > > Thanks Hans and Johannes for handling this. I'll try to come up with a solution. Great, thank you for looking into this. Let me know if you have a patch which you want me to test on a RTL8723BS adapter. One thing which I forgot to mention earlier, it is not just lockdep complaining this appears to be a real deadlock, the wifi no longer functions, where as it does function with the patch drops. Regards, Hans