From patchwork Mon Feb 8 23:31:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Andrzej Siewior X-Patchwork-Id: 12076773 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=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 4C32DC433DB for ; Mon, 8 Feb 2021 23:31:33 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 DCB1464E76 for ; Mon, 8 Feb 2021 23:31:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DCB1464E76 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A1A056EA26; Mon, 8 Feb 2021 23:31:31 +0000 (UTC) X-Greylist: delayed 3189 seconds by postgrey-1.36 at gabe; Mon, 08 Feb 2021 23:31:30 UTC Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by gabe.freedesktop.org (Postfix) with ESMTPS id 488F96EA26 for ; Mon, 8 Feb 2021 23:31:30 +0000 (UTC) From: Sebastian Andrzej Siewior DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1612827088; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=SegC4CV6d0P6W49MuLrns6yQuqABgobkVsLrpvW8HeY=; b=kr2DAhr74YkqNeARuoMvJoMdyKhsfEpsbHy9kVkAFkoKeCFy+XbwLVU4kHbs8DVRmAEhaT VNkKUjILUMYqpGsoOzZznrw1YmZV/iAX1R8WY40YTOGfRS7NDEK+NmQ0A/KTD9X1gekZH5 +cgqjAukgyXtiuHbrwWM0vNEVBVR9u45beWhtCEAzzwFBqCNW8Qz4SPMGEFqCIKgyOYd8f 1WqVSBv8m9Vg2z8Koi8guMZCWPl6sJ5AG0zFWjfw4g5VoOc7qMgpTtWoFZ4haT5B9NOenF plYyvoJE61ufpNviU6f9jMsxWdF3hnP4bela1n9fHJqw9qI9bag1IR7WWrIgqw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1612827088; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=SegC4CV6d0P6W49MuLrns6yQuqABgobkVsLrpvW8HeY=; b=yfB/N7DmNnWqSeuabYv12ATEmhQBsZ62ZmJkqTCynRN+Oox+PNj3u7651X492/Bkts/18i 36Byz2Pso16PDfBA== To: dri-devel@lists.freedesktop.org Subject: [PATCH 0/4] drm: Replace in_interrupt() usage. Date: Tue, 9 Feb 2021 00:31:15 +0100 Message-Id: <20210208233119.391103-1-bigeasy@linutronix.de> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , amd-gfx@lists.freedesktop.org, Alex Deucher , Thomas Gleixner , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Folks, in the discussion about preempt count consistency across kernel configurations: https://lore.kernel.org/r/20200914204209.256266093@linutronix.de/ it was concluded that the usage of in_interrupt() and related context checks should be removed from non-core code. In the long run, usage of 'preemptible, in_*irq etc.' should be banned from driver code completely. This series addresses the gma500 driver and parts of the amdgpu driver. There are still call sites left in in the amdgpu driver. Sebastian