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 94BCAC10F0E for ; Mon, 15 Apr 2019 12:15:48 +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 661E92077C for ; Mon, 15 Apr 2019 12:15:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JZ95+nRn"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="MiZ5/7uP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 661E92077C 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=ne2xy/EZK6Py5mYuPCIoMT+1jk3sq6ShcF9ggklJyYE=; b=JZ95+nRnP86mLz iq1zQiIhY20nryV+JUihXsozryZZ1A8JffOFFTk07lOqbosraJwCLqKR7X8mr0JJvAY86Kdp1RGgI NaCUdy6d5qtrDFJ6urMuAPcfDhql04biaEiXUjJZoQRj57BxYr+m+15/GpuzOnJtUWY+11PmhUMGk w6y34PXkh8S3iy2mKUYYcjhPYK4Ya6Icpvlrd6poY0SaD0k03LwrS6gVzcuAY65CQgHelnI7cWdmb t2+l5S4Vz8+N49dp5Ld09yPJBQiAWUW84O4oGbp9TtgC67O69kMCn+3hpbfpklKWX0BvQ5GTKTz6z I92twrgYvUhaLXeqe5Lw==; 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 1hG0WX-0003nF-Fo; Mon, 15 Apr 2019 12:15:45 +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 1hG0WC-0003SM-EO for linux-arm-kernel@lists.infradead.org; Mon, 15 Apr 2019 12:15:32 +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 A679F2077C; Mon, 15 Apr 2019 12:15:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555330524; bh=QlHBCC/hU9mDaSZ3c/klcfsZFQVTp3+Tot4lGmJ7va4=; h=Subject:To:Cc:From:Date:From; b=MiZ5/7uPFfotBZ6JP5i5yksepGRPayTy5NzjZA6W5aSFiL3YmkKLTOZyoe3Hz13yD AdCiqhkIEnqxdvgsVpmSgau1b0mz8BZ+F5IPeBK5l+9S169gOhPmVzyLTNayxPNeQU tMSp2naQU8BuVTVWSQq5dw7kvo+yCFyNb9ssPASs= Subject: Patch "genirq: Initialize request_mutex if CONFIG_SPARSE_IRQ=n" has been added to the 5.0-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:53 +0200 Message-ID: <1555330493133135@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_051524_630648_1F265F4D 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 5.0-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-5.0 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 @@ -558,6 +558,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-5.0/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