Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2144359pxf; Sat, 13 Mar 2021 09:07:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJysnMbQ3uqh2wRurb1Wfig+aCVy7Oeq+TcPNRwVkSmBAiS0ntPSpOMWhFVG4VeHG61l5UJN X-Received: by 2002:a17:907:75c7:: with SMTP id jl7mr15368166ejc.191.1615655274746; Sat, 13 Mar 2021 09:07:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615655274; cv=none; d=google.com; s=arc-20160816; b=dh0ZHz9eNpruv7PVHA44b6v3PRNwwPLhMx4ZiuzdMJWSq1RWB1OcfZTePoLZOkp+Xm tNng9RKI7SfFqkJbaZhF5J6SOeU/RvmC23eOISgkjEfUfAkU/vrJaqVROp8gRe+jZnt2 c4OUkOBMy5c9Y1CqURxzNx90M4GagjJqKGY7PDzsEdG/BmuNLoXGPerYoellm1G+uOAn jVxaDwV07pW8CDUaViiCiYQiExO4EzFRZhkp5DVwlUer2pDrjrzEt5WONLg9PjOjkhRA upWu3uKkFtXbyYeF8oW//DB7vDbDOsg4hotGN4wMYB0sh4Y0d7GDLq6Owjt8sjYP2Pdp e7sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dmarc-filter:sender :dkim-signature; bh=OFxon1S+AsfdLrBubt8ZlpabpvFG38RLZ9ix2wD5q+I=; b=EuT08bniuWanWazBstGOVY+frF7pBbdwfmBlc04gm2zXYPbyEjxMTBYrlrvyKQ0wZ7 rt2z1Ub0LdV0amH6USfVBiWIU9Qvu/sHaiUFG8Vj6DiyDcu9tKbMNXxZ8gCxMJ/QUbUn hAcL8VyJNWwCNyaA4TEoIhTWD+5gW7OuQfkf+5gBNeqrLUVcQ/PMUnot1HvHjzsRHQCQ HknJH6ya1iboi32hv1Ex/Qhy2zQsak+OovpcLvBeP5hU4eSEJdifCdzBw5tCQA7CJ00F KRsxOCXccU8jyhfk24l2XWIdzZmPWX8elFSWJbtlSlVvUNoiHvIdnuOuUFte9nAMweIk 7frA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=Do6MIgpD; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bf4si6634819edb.291.2021.03.13.09.07.28; Sat, 13 Mar 2021 09:07:54 -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=@mg.codeaurora.org header.s=smtp header.b=Do6MIgpD; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234046AbhCMRGu (ORCPT + 99 others); Sat, 13 Mar 2021 12:06:50 -0500 Received: from m42-2.mailgun.net ([69.72.42.2]:12136 "EHLO m42-2.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233951AbhCMRGg (ORCPT ); Sat, 13 Mar 2021 12:06:36 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1615655196; h=Content-Type: MIME-Version: Message-ID: In-Reply-To: Date: References: Subject: Cc: To: From: Sender; bh=OFxon1S+AsfdLrBubt8ZlpabpvFG38RLZ9ix2wD5q+I=; b=Do6MIgpDBzLMoaFnCexjwFF5z5xr9vtft3txZ33LngkilbODBcote88ACL6lm7iR7qXEzKnA ocpzLEwvC5nfhL53R17T3jy/PUhCYBNeZODs5f0pgZP0Avp84Ej64LqjF+BTx2pypZX4rve7 YwqniRMlcPLXWY7iKQw0AptBVy0= X-Mailgun-Sending-Ip: 69.72.42.2 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-west-2.postgun.com with SMTP id 604cf10ee2200c0a0de00999 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Sat, 13 Mar 2021 17:06:22 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 4C28FC433CA; Sat, 13 Mar 2021 17:06:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id 5F9E6C433C6; Sat, 13 Mar 2021 17:06:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5F9E6C433C6 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: Luca Coelho Cc: Jiri Kosina , Johannes Berg , Emmanuel Grumbach , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd() References: <87h7lfbowr.fsf@tynnyri.adurom.net> Date: Sat, 13 Mar 2021 19:06:17 +0200 In-Reply-To: (Luca Coelho's message of "Sat, 13 Mar 2021 18:32:26 +0200") Message-ID: <87zgz7t246.fsf@codeaurora.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Luca Coelho writes: > On Sat, 2021-03-13 at 16:43 +0100, Jiri Kosina wrote: >> On Sat, 13 Mar 2021, Kalle Valo wrote: >> >> > > > > From: Jiri Kosina >> > > > > >> > > > > 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? -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches