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 X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A0D0C10F0E for ; Mon, 15 Apr 2019 12:15:15 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EF6E620883 for ; Mon, 15 Apr 2019 12:15:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="KQBsbZGM"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="P48Kn/zp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EF6E620883 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:From:To: Subject:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=qfqd3ZJzaXwdsQLwiAEH/B1yS7R/ZHEmjfJYTAg7+Fw=; b=KQBsbZGMBR9GlY yBcc0m1O0mvbkoANpZlwVal1fLEUbsj4XUWQ4S0+S3VZ3hSUWWOzOU1bVT1xMHXNVIvHXZFt1ARSw S/IvvM9/10t5a9RFEPuzY5pNq5kJeU2/4QNfDIWqSwmzLrc+gKRVGpIHZDnmcgRJ7x2zPZcbTgmlJ cDJM7udsWTnUB1/3LW9bx0bNOnuYk1OVsU5NyTVF6LklSpPcLkrDFVmUytzeqTGQFdAYRWwuK5XBv Z1s9Sv2QDr/J/Psa3FFDTfLwwQzfgN1NZxPKkG7AWQ3mp6lIDynEchd1SU6+cUuSp+nbY9xBugvXs twJWWXLMY/nrYRIdVKVw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hG0Vy-0002db-Qn; Mon, 15 Apr 2019 12:15:10 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hG0Vj-0001op-8h for linux-arm-kernel@lists.infradead.org; Mon, 15 Apr 2019 12:15:03 +0000 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 727C020883; Mon, 15 Apr 2019 12:14:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555330494; bh=RvlvFnfwszLyCXOoAqh7OgwVV0N3nEvv0eCQeuwtI2U=; h=Subject:To:Cc:From:Date:From; b=P48Kn/zpryVDSJ1LDXGnr5Zgv5FySnoCystmcmNBdqd0g5QFpDLNfDGiyZQOFr28Q u1vGK6cUqmX7Ix9dELYvYJdHvdYQpxcVLE9YDbOlKJIXq0rFoqnvwu7vnb1seDaR+9 JP0MmuXZYvVSpUayYlPZv/oLKHQWAdHeC08NDfmM= Subject: Patch "genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n" has been added to the 4.19-stable tree To: 20190404074512.145533-1-wangkefeng.wang@huawei.com, gregkh@linuxfoundation.org, linux-arm-kernel@lists.infradead.org, marc.zyngier@arm.com, mojha@codeaurora.org, tglx@linutronix.de, wangkefeng.wang@huawei.com From: Date: Mon, 15 Apr 2019 14:14:37 +0200 Message-ID: <1555330477120244@kroah.com> MIME-Version: 1.0 X-stable: commit X-Patchwork-Hint: ignore X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190415_051455_744120_65FF5E49 X-CRM114-Status: GOOD ( 10.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: stable-commits@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org This is a note to let you know that I've just added the patch titled genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n to the 4.19-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: genirq-initialize-request_mutex-if-config_sparse_irq-n.patch and it can be found in the queue-4.19 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >From e8458e7afa855317b14915d7b86ab3caceea7eb6 Mon Sep 17 00:00:00 2001 From: Kefeng Wang Date: Thu, 4 Apr 2019 15:45:12 +0800 Subject: genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n From: Kefeng Wang commit e8458e7afa855317b14915d7b86ab3caceea7eb6 upstream. When CONFIG_SPARSE_IRQ is disable, the request_mutex in struct irq_desc is not initialized which causes malfunction. Fixes: 9114014cf4e6 ("genirq: Add mutex to irq desc to serialize request/free_irq()") Signed-off-by: Kefeng Wang Signed-off-by: Thomas Gleixner Reviewed-by: Mukesh Ojha Cc: Marc Zyngier Cc: Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/r/20190404074512.145533-1-wangkefeng.wang@huawei.com Signed-off-by: Greg Kroah-Hartman --- kernel/irq/irqdesc.c | 1 + 1 file changed, 1 insertion(+) --- a/kernel/irq/irqdesc.c +++ b/kernel/irq/irqdesc.c @@ -554,6 +554,7 @@ int __init early_irq_init(void) alloc_masks(&desc[i], node); raw_spin_lock_init(&desc[i].lock); lockdep_set_class(&desc[i].lock, &irq_desc_lock_class); + mutex_init(&desc[i].request_mutex); desc_set_defaults(i, &desc[i], node, NULL, NULL); } return arch_early_irq_init(); Patches currently in stable-queue which might be from wangkefeng.wang@huawei.com are queue-4.19/genirq-initialize-request_mutex-if-config_sparse_irq-n.patch _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel