Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4087708pxf; Tue, 23 Mar 2021 02:15:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLJ4GtGnRWN90pTCMfjqnkn0hYCIjy6ASd/UL8YF3u9zHZW+6HXC3smuJz0PTAzKDpVv/o X-Received: by 2002:a17:906:fa0e:: with SMTP id lo14mr3892565ejb.263.1616490908889; Tue, 23 Mar 2021 02:15:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616490908; cv=none; d=google.com; s=arc-20160816; b=iuxS5vNUyjueGusm/HhliBcewKVi3h0rlG1Mdsi2YreNldmOkU+EUu5omPyR3vF2CH 1KNjENuy3LbAlQZmI0JRZFKV+pTXKvlBquCDuu+9y9Hy03yxfp3Dg2Pn4CNPJ27yvIVS JPUQI2Onyd8HvnUpd+2QmxWLWIBDNxxGhWkXLmX1k3CI+kp2VDnI1+90KdJpFYAVgp2I IGKGAeIXaA/1uXZlZR+lbsY/prf0LRg/R+hV0BjiisAiiEy4TzbzTxt/O9WdeZpjr543 5CW4NphavUiOiH0onc+hq4jVh6hNU1wa7YXx2tuR6uU/BUcD4drBS7i+vyNZ2YVn95oc RTog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:dkim-signature; bh=hUu76xvBuKlFUtxA4sEFLwZtnBeONf1UGq6mrYmq+do=; b=l7O8J9sk6SfBzDPeJ0NNNcplVUQzmxxOwJm4UqCBmVn0cm2Eo2JEZXJMd/0+EMypKD S27lwN+by4GTQ4ZCuZBorJY7tR+6RMUDrm892cb8TBpQ4Um89gHw/OePvuAVGlScsJGy DWKti2iO1iO+m29Xk6ZKgpd7G+VNgHxSIEri+KfcnxY4QNE3A6QqVVHVF+8YntbdhBXA zkQbbAJPh0BMp53jaWXaO/+KDCslM4LLLCFz4YeLb9z+LU2x6QBLNAxYvkcXJZXS2QsD T+lkSWomdRjsdS7RyIkLTacLf7BBYY7siAfoypEnGtTJdk+R2JFeYYmoJEZ5dgf0nPdD Xmyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=G7jTbDii; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p10si13364302edm.261.2021.03.23.02.14.45; Tue, 23 Mar 2021 02:15:08 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=G7jTbDii; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229574AbhCWJOG (ORCPT + 99 others); Tue, 23 Mar 2021 05:14:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbhCWJNh (ORCPT ); Tue, 23 Mar 2021 05:13:37 -0400 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BF77C061574; Tue, 23 Mar 2021 02:13:37 -0700 (PDT) Received: by mail-io1-xd33.google.com with SMTP id e8so16916931iok.5; Tue, 23 Mar 2021 02:13:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=hUu76xvBuKlFUtxA4sEFLwZtnBeONf1UGq6mrYmq+do=; b=G7jTbDii/LboOW8tmRhRZapGx+LJoEdZ9fElgmms3ersZSkrRi6XNborl8LuVNMO7/ 4KnsL8zISN+f+k10rEgydHqJUanRrb4L1ago/n4yXQKY0SXCk/CF4Uj/Il+WeXfixSj9 WAbaioscGzhtKYEoNJyzEetwLxpUyl40FY8YjdywC4taeeW9v9trAf/iiNHPQ/sAhJEn +R0crJAAMpS4RllyThucCRFteiFkFW34Q3qI4+ZXGA7Kor6zDYD6lXi0chxb3oXkidjb 2i8YScKdtMKXvQmCigeOOGxd+LRURvrVJDKHRFD5H9vgowlvBD6JVT6XlrsSGUne0T77 FFGA== 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:reply-to :from:date:message-id:subject:to:cc; bh=hUu76xvBuKlFUtxA4sEFLwZtnBeONf1UGq6mrYmq+do=; b=JbJz5LzV8FJFE1IqAEZX74IPGYBmm1FLIpq8PVGMFhpjluiDQnqf3TnNXU1Xb/aIfl 0HjYSv3ghHDFH3fL3ngQVebReYUNOhMwI3vAY3JPko3+5Mj6KzP8CKM7BTSJXI2F39ao BI69ixlsCgF/pNAiLC+lmEG2qpeNiMiEm0sM01omR6ccZHbevtX4BrpzhvnA/dkLxE1D ctSo9IXfFoL9zAfX6MFUDuofAfyegrNDXxEA6uwPZwEYv0p/eK9xHGWYkEd6IBEJ+2JK HYMpsIWNZirbpxhKpV5jNG0CBToK81im83CnwLhtC6Af648rZ1dATUVk3xkUbAoC9KWn Gk/Q== X-Gm-Message-State: AOAM531RVC0mam1i2b7adLHiqOkap+q/YHYfnD7v4cVf6RJNLggfPbPM 03HvjOTcMJI0e6v8xNq4j9GfxY76zn2tUP/259s= X-Received: by 2002:a5e:8610:: with SMTP id z16mr3379020ioj.57.1616490816696; Tue, 23 Mar 2021 02:13:36 -0700 (PDT) MIME-Version: 1.0 References: <87h7lfbowr.fsf@tynnyri.adurom.net> <87zgz7t246.fsf@codeaurora.org> In-Reply-To: Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Tue, 23 Mar 2021 10:13:00 +0100 Message-ID: Subject: Re: [PATCH] iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd() To: Jiri Kosina Cc: Luca Coelho , Kalle Valo , Johannes Berg , Emmanuel Grumbach , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Murphy Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, Mar 22, 2021 at 1:13 PM Jiri Kosina wrote: > > On Sat, 13 Mar 2021, Luca Coelho wrote: > > > > > > > > > > It's possible for iwl_pcie_enqueue_hcmd() to be called with hard IRQs > > > > > > > > > disabled (e.g. from LED core). We can't enable BHs in such a situation. > > > > > > > > > > > > > > > > > > Turn the unconditional BH-enable/BH-disable code into > > > > > > > > > hardirq-disable/conditional-enable. > > > > > > > > > > > > > > > > > > This fixes the warning below. > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > > friendly ping on this one ... > > > > > > > > > > > > > > Luca, > > > > > > > > > > > > > > Johannes is telling me that he merged this patch internally, but I have no > > > > > > > idea what is happening to it ... ? > > > > > > > > > > > > > > The reported splat is a clear bug, so it should be fixed one way or the > > > > > > > other. > > > > > > > > > > > > Should I take this to wireless-drivers? > > > > > > > > > > I can't speak for the maintainers, but as far as I am concerned, it > > > > > definitely is a 5.12 material, as it fixes real scheduling bug. > > > > > > > > Yes, please take this to w-d. We have a similar patch internally, but > > > > there's a backlog and it will take me some time to get to it. I'll > > > > resolve eventual conflicts when time comes. > > > > > > Ok, can I have your ack for patchwork? > > > > Sorry, forgot that. > > > > Acked-by: Luca Coelho > > Sorry for sounding like broken record :) but this fix is still not in any > tree as far as I can tell. And it's fixing real scheduling in atomic bug. > > Thanks, > [ CC Chris Murphy ] A week ago Chris sent an email to linux-wireless with pointing to: https://bugzilla.kernel.org/show_bug.cgi?id=212297 AFAICS, that is the same bug. - Sedat -