Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5928739rwd; Wed, 24 May 2023 08:33:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7gVUtj02FvpZt6PSSLGbuNcb7ZJbwau/xH/iPt7wPc5c5ufZdMKsynlPYjKHKizIHSRHoo X-Received: by 2002:a05:6a20:c88f:b0:10d:5390:ea9f with SMTP id hb15-20020a056a20c88f00b0010d5390ea9fmr2117675pzb.62.1684942404233; Wed, 24 May 2023 08:33:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684942404; cv=none; d=google.com; s=arc-20160816; b=h+7tvZgKGZx7B/0zq+UkMbkExMMlE8mwBcZ7ygJMDWHA9DBphkec2Q81g4xP9I9rqg dXzMGYae6WZdtPAu0LPciQ2EYxaF0Nft7lB+F8dtuhoGGC19XIZvINMQfQqjT6OUKodE KP3PohdekzhtaCHyeAVk3tqrIP9f+YslN5eGPDsCDRNqJLSK0DOFsnsCkrBiB0V70YKv djpm1qUfVxrgey5DWS2+Am8D+k2Z3mYDqBoZKdieOwWGMe/R6Uymcqtx7z9Bv+GU3V+8 EUvkLCzFRffmHv7tTQN79PkCoGKajLQPclUQn0Pl4irWD5c9U2V9uQd7BL3FxuSi2yl8 x4xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=hjU08kw4XP4LlkI10MrCHp6MJv2xbhkao6G6yXaZXy8=; b=CBwlEahMsqzdSI7VRdKvbQyiOxK1On8wKaYVqXOjyJi7FLn6UrYtK4503eWnQdoM4x XTFM3wOjYEdtAnLzhGcgfiOz2grq6n3QWfyRdlLYht1jtoT2Otk6wMrGSTbmQUXYEY4I 3XD1P1HD2/X+/O6nvkcaBeZgs4V5unGKU6z/ii9JBuw26yHSWLNyvEMyZJ1Ac7Wc7/X4 cxHkFsA4yvgzyFWj9FkPjqxMRGVpYsSVncWBo9cG+jSGrBq9xa9wbzbs63D3aaS/w4UL l3P/5/JWaHpiAGKfvfTBNVwohKaDTcZzCAxe8CAyk3H0ldLQ54bcD0JIFmdy5Ez7TsZ1 VwUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=a6fQy5Py; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a186-20020a6390c3000000b005308fb9619asi2325533pge.54.2023.05.24.08.33.09; Wed, 24 May 2023 08:33:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.de header.s=s31663417 header.b=a6fQy5Py; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234897AbjEXP0q (ORCPT + 99 others); Wed, 24 May 2023 11:26:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232915AbjEXP0p (ORCPT ); Wed, 24 May 2023 11:26:45 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42853F5; Wed, 24 May 2023 08:26:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1684941998; i=deller@gmx.de; bh=a/rTKcQNZd/3MCCXCflu1QYwVp3tjX0c0bd5rguwT9E=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=a6fQy5Py0gqpmYfwdBQTG77MEWap1/ef9q8Rk/VSA2XibUr0TgIrfldtMxYzqUzoZ xRxGcE5ACKhehV7q9GDRj/lHrKqguek6XXyGcxJUNvxBvm20cEFn7+wtKvm7MHiaJy dZNq9aRC/Tvm025oBEkVAIjMIY9wxkCOaLVCZzxoTLNH+1iOPT8+3tWQsXKio4xmAD SlP/yGa8kcvN2t+IS180U/FHFRXZxmrwQ/otbDzZlzGZ8a7w7cVZ2Kfk55HPX1Y8aO QEzF++aFSu3egH0Xx/p751KkpJmclgqsu179unAn3zhRGWB43L8GCgyd9ejitZAPPh 6WgbqCglyFq4w== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from p100.fritz.box ([94.134.145.4]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MjjCF-1qPref0eGh-00lH32; Wed, 24 May 2023 17:26:38 +0200 From: Helge Deller To: linux@armlinux.org.uk, dinguyen@kernel.org, linux-kernel@vger.kernel.org, linux-parisc@vger.kernel.org Cc: Helge Deller Subject: [PATCH 0/3] Fix flush_dcache_page() for usage from irq context on ARM, NIOS2 and PARISC Date: Wed, 24 May 2023 17:26:30 +0200 Message-Id: <20230524152633.203927-1-deller@gmx.de> X-Mailer: git-send-email 2.38.1 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:G9A8rI/s069fPME4StRViMRjVGNrddNylDGY6ZCVlNINeu8Zd7T f/DooBjATS+V8JEsbMBrE8FeaRkc7BochojlHoeNnW6qwHjqv5XYtX6TogVxNnHX/EAdz0l Z0jjqXPf6OxYS50/uKzAy1o+1Wr+izzYIXg0tO/0hKr7+ckL6ap6jecXwyXH2FRrIRVjI92 7zf5YDv7QIsLhaXLqaNI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_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ARM, NIOS2 and PARISC unintentionally re-enable IRQs in flush_dcache_page() when called from irq context. This series fixes it and should go to stable series to at least kernel 6.1. Helge Helge Deller (3): arm: Fix flush_dcache_page() for usage from irq context nios2: Fix flush_dcache_page() for usage from irq context parisc: Fix flush_dcache_page() for usage from irq context arch/arm/include/asm/cacheflush.h | 4 ++++ arch/arm/mm/flush.c | 5 +++-- arch/nios2/include/asm/cacheflush.h | 4 ++++ arch/nios2/mm/cacheflush.c | 5 +++-- arch/parisc/include/asm/cacheflush.h | 4 ++++ arch/parisc/kernel/cache.c | 5 +++-- 6 files changed, 21 insertions(+), 6 deletions(-) =2D- 2.38.1