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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id E93ACC7EE23 for ; Tue, 23 May 2023 20:06:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=io/ZPLmtnDsOpHK1i13MpDor22OjDqaCvm0c6lLikn4=; b=chy6iPDmEKlh9V 1xv974klDihH2uSbVPkHI5vbyvP9pGf1y4tUauiKzNoVrDB+DF3TS0X94y4dVXGS2MFy63Hqbg14m P3sOGBODnYkbek53yx2NNqSobCC27POElEo6/nX2w4Z3sgL53UnP6icAMUL4pEZ93Z4gPGKL4XVVg YUFdxtWCua2qQC2TntGBU6Mr0G4waXL7RUDPnzxnnyspcpQ2cnCTM6WtiCUtjAoHQlFi2RypigMRl 1PREubAVWKORzYiryMeSCLgAmgrQrEvsn7cNuHv0/2EqtZBFw9J4kQu4wk/eP+FZXjdy92unxH9IH NvKVyi8i8p2kmBipLhhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q1YGt-00BKcG-1U; Tue, 23 May 2023 20:06:15 +0000 Received: from mail-pl1-f176.google.com ([209.85.214.176]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q1YGq-00BKaU-1y for linux-arm-kernel@lists.infradead.org; Tue, 23 May 2023 20:06:13 +0000 Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1ae51b07338so766625ad.0 for ; Tue, 23 May 2023 13:06:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684872369; x=1687464369; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RkN9kpEtQR9KLesG9+ZLsH9wS2KwchcjOktmEbimT/8=; b=OfgeQzjlt4Ur0ReL7ZDpEBUpmcAR3K+TlDleCpyAlXeb1wXl6URKcINEe5YgO02hK7 dXSIl9I4lu3j5/X3QTpXkXrzTiCESgLTwW+VcAxqcn1SgB28iwrzcYOBUamc5KGPEqTy bZgNM5HcfwhFkrrE1kntqcWLkoZsqV+s+4s0yuLnOp82WkPtgx8Utiwbfmf7ObEZqF6S U8jyN1lvJupHWIOyDbOaxqMsIkHKHirBMn7OQ4UXOFOTxpSO47wu5JsMFtpTP31t5uWP qaLPkjSp6VSSipX/XUh0BbMP8fxow9ueA88mv58tD69+trPVyzCrAd8P7l/Nh9y2Hzii pong== X-Gm-Message-State: AC+VfDyJci/IWt0f1zYAIz1FvnYMhI6YjMv2IwFlSu2V+GwQcyHxJkXR Id98BZ7TDIqAwdEI7mR6JMg= X-Google-Smtp-Source: ACHHUZ72kBflqtVXUQyGT8mv00bm4mQqV2cVRP+m6o7/tJtnWDDut+PXWDKvBtmaKcsrT06wO1bDWA== X-Received: by 2002:a17:903:2444:b0:1aa:f203:781c with SMTP id l4-20020a170903244400b001aaf203781cmr19193931pls.44.1684872369293; Tue, 23 May 2023 13:06:09 -0700 (PDT) Received: from ?IPV6:2620:15c:211:201:24d2:69cd:ef9a:8f83? ([2620:15c:211:201:24d2:69cd:ef9a:8f83]) by smtp.gmail.com with ESMTPSA id m10-20020a170902bb8a00b001aaeeeebaf1sm7134844pls.201.2023.05.23.13.06.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 May 2023 13:06:08 -0700 (PDT) Message-ID: <9fa519ab-a470-9e32-d3dc-f342ddad1026@acm.org> Date: Tue, 23 May 2023 13:06:07 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: spinlock recursion in aio_complete() Content-Language: en-US To: Helge Deller , "Russell King (Oracle)" , Dinh Nguyen Cc: Linux SCSI List , linux-aio@kvack.org, linux-parisc , "linux-arm-kernel@lists.infradead.org" References: <5057d550-c3f4-be34-d3e6-390790051232@gmx.de> <89053bf1-6bc3-3778-7662-14d15bd778a3@acm.org> <8bd7faad-abf4-f7b3-03c9-e06f9b5d2148@gmx.de> <077b00a6-9587-2e28-3f8a-44871f9428ca@acm.org> <5e684a22-dcc1-095f-ac18-fd1b3bf81cd6@gmx.de> <4d786f73-8c6f-4fd1-cdd6-42f2d59d6120@gmx.de> From: Bart Van Assche In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230523_130612_651442_F3392B85 X-CRM114-Status: GOOD ( 12.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 5/23/23 13:01, Helge Deller wrote: > Subject: [PATCH] Fix flush_dcache_page() for usage in irq context > > flush_dcache_page() can be called with IRQs disabled, e.g. from > aio_complete(). > > Fix flush_dcache_page() on the arm, parisc and nios2 architectures > to not unintentionally re-enable IRQs by using xa_lock_irqsave() instead > of xa_lock_irq() for the flush_dcache_mmap_*lock() functions. Please consider adding a Fixes: tag such that this patch is picked up automatically by the stable tree maintainers. Thanks, Bart. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel