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 7392AC10F0E for ; Mon, 15 Apr 2019 12:14:42 +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 455C120880 for ; Mon, 15 Apr 2019 12:14:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rQpYQj37"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="IxJjA+ER" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 455C120880 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=KmLGG6tSrgd91rWvgAD7riWTjNFtLA1QIkq2ljRigFg=; b=rQpYQj37CraijK HQobzpZQzhqJcwtQFs3e4N66K06BR6FGHXYGPuA1zu0cybmdeQDCxEQWyUmn+laUToODKBxah4FCD rbh+rzfLuCOFZohvne+feAH/8rrZDVTVOIqUJDOc/OKBrPz/bxpQfnWu9oMr8g7rdVG+/w9rNODEL cS28KWoMXnVtNld5NKovX6Me7ihiYyunlG1qb8y5CnsmifdyglI69JQ9C4L0IfEXw6fCxhywqvlGn CuwBibyznyWiPqFWlkv6KrNiQaBB4us7LtnOF00cyRvSwmQUfHYnE4dnuUrM0TTP62ADOU1ygyyFG zpMcfm226Z5qw5JNfquw==; 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 1hG0VS-0001Vc-9u; Mon, 15 Apr 2019 12:14:38 +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 1hG0VO-0001UN-M8 for linux-arm-kernel@lists.infradead.org; Mon, 15 Apr 2019 12:14:36 +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 DD2B02077C; Mon, 15 Apr 2019 12:14:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555330474; bh=alMB4YcS6QbRlPD9/jkscTAMxFLDOyze4mjOpaAYid4=; h=Subject:To:Cc:From:Date:From; b=IxJjA+ERAYbBYKI8GQs0YoYMoYAPFGMX8FCg/L7F8LJN9rn/fUbuxsjfZlZQIhOpd PRviCUN0hqeQs2B81jft1hHDUJLkQzl3pivt3x90tEWQrkWNoCoP9Kh3tkqwTWk45i AQ0sWsdFFgjrTw5yvpMfKXXOZvoUD8erpl8Ep6f0= Subject: Patch "genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n" has been added to the 4.14-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:21 +0200 Message-ID: <1555330461152237@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_051434_743487_09BAE0A3 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.14-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.14 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 @@ -535,6 +535,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.14/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