Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp172697pxf; Wed, 10 Mar 2021 03:35:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJynkAQbWiR1wvp7DqnlqSBK3ADVMG9u+Ut4Ut2EMJtkIlR9M1f7e3mpujq/anAQCGnlalmD X-Received: by 2002:aa7:c9d1:: with SMTP id i17mr2684331edt.46.1615376157797; Wed, 10 Mar 2021 03:35:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615376157; cv=none; d=google.com; s=arc-20160816; b=aLdUWmUIdbqjBtSvU4/B9LOHh/mGj2wUGypGjjbvmVZpKnyDPOzGKUMU9z5EKbjLqA 1jiQziIseG+Domw3SJZnPJPxcbk/oul/mKqwMy+IlGT5mJXOR6TJcxsxzBstg+ZjK+DV Z9+Vub/4aukK0yNe27Ams8Vmc+Z+eR4O0L5HSZfjpQ57vK4M5X1vjz6th+Hz6rouMEze sR5zkc7Oukrkq5XkvydaE/MOoqeqlLtCjrfxEs4wiuCnxIqzjc5V4ek8kEWcEhDWlDNp d4Dopf1LZjycMZZ983j8lZlovfIKMzc/X81R8VWIsbtfiXcVOARXpvyi8UKxRFy61STt R8HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=7J7s2ULlckxPGV45ObvNHeMFlnciPOBmL4sFeKxQRrY=; b=DIzfjEpyHJ0u4CowiaMm30PE0Te1jFhhwU1IrhXSFHozQZIssINL/0myq1a/Uzfr7k fRjxDOZeaqQSeJj/pZ0UkPN4dVZiHxG55G3t7rKUdsWcEDLIAkWK23UA3/2EObn+UgK4 6qHUN284X9eIkeQ6HNjRKxHPBnvRWpVnwr1WNTzyCwILVW8vu4nLYUmupJcBFEn0qqCf VjzmrT71LZIFkQARTyV+qadEULZwvo889sRr4sQKM9HCOrFR79xpaKQOI+hurBUiPjQF IMTLOnsheC9hO0/u4e+1OvaHq37rofos2pkChMOTXUOzQiFO6CZcYzLrtR+IoI02twCA 2fsg== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n19si7729007edr.388.2021.03.10.03.35.29; Wed, 10 Mar 2021 03:35:57 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230266AbhCJLek (ORCPT + 99 others); Wed, 10 Mar 2021 06:34:40 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]:52390 "EHLO mail-wm1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230270AbhCJLeQ (ORCPT ); Wed, 10 Mar 2021 06:34:16 -0500 Received: by mail-wm1-f48.google.com with SMTP id n22so6895307wmc.2; Wed, 10 Mar 2021 03:34:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=7J7s2ULlckxPGV45ObvNHeMFlnciPOBmL4sFeKxQRrY=; b=f+hF+pFH0HAizt2JQ2xgYBt5+SCWy5rWFtjiPaAHluZDlhNTVAFfW3YyvrG8WtjjkE gzybpQUkYL9piVr/2mU8hhKJfTZitAxv6ju4K+sFKPUm80F90AocMyXQVBJl//tG9rjA JGwrnkuE7P9ZEQJHQ3koboVUHoezYIlEl8gsjKo4Gm3vZ+8R3fEGWDCxvFZZiL8xRu3E JppUwYvQCEhXuqFpAKeIbupK7tFUySZgLLJV1uKiQTJj9etpe0kDz4VUHLu4o3GtwaeG Rg3rfIYd5sZxtIYtCdV19hBiCEZJPJoIFClAfNsT5AWndbShOEnZtRaVblkDoLRnGKYn 832w== X-Gm-Message-State: AOAM530ywGmQCXDobx4UaQCGDsEFT/pGvcCVMahMEHRVWyB0meaU1qU0 pkelFlQl5+I4e6c8nsAR+Go= X-Received: by 2002:a7b:ce19:: with SMTP id m25mr2938803wmc.74.1615376055056; Wed, 10 Mar 2021 03:34:15 -0800 (PST) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id m3sm8770402wmc.48.2021.03.10.03.34.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Mar 2021 03:34:14 -0800 (PST) Date: Wed, 10 Mar 2021 11:34:13 +0000 From: Wei Liu To: Thomas Gleixner Cc: LKML , Frederic Weisbecker , Sebastian Andrzej Siewior , "Ahmed S. Darwish" , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , Lorenzo Pieralisi , Rob Herring , Bjorn Helgaas , linux-hyperv@vger.kernel.org, linux-pci@vger.kernel.org, Peter Zijlstra , Denis Kirjanov , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, ath9k-devel@qca.qualcomm.com, Kalle Valo , linux-wireless@vger.kernel.org, Chas Williams <3chas3@gmail.com>, linux-atm-general@lists.sourceforge.net, Stefan Richter , linux1394-devel@lists.sourceforge.net Subject: Re: [patch 12/14] PCI: hv: Use tasklet_disable_in_atomic() Message-ID: <20210310113413.cuvmnrd3vhyhzi4c@liuwe-devbox-debian-v2> References: <20210309084203.995862150@linutronix.de> <20210309084242.516519290@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210309084242.516519290@linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, Mar 09, 2021 at 09:42:15AM +0100, Thomas Gleixner wrote: > From: Sebastian Andrzej Siewior > > The hv_compose_msi_msg() callback in irq_chip::irq_compose_msi_msg is > invoked via irq_chip_compose_msi_msg(), which itself is always invoked from > atomic contexts from the guts of the interrupt core code. > > There is no way to change this w/o rewriting the whole driver, so use > tasklet_disable_in_atomic() which allows to make tasklet_disable() > sleepable once the remaining atomic users are addressed. > > Signed-off-by: Sebastian Andrzej Siewior > Signed-off-by: Thomas Gleixner Acked-by: Wei Liu