Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp830484lqc; Fri, 8 Mar 2024 13:00:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVtLUaoKpbprMGfrW/yxen3vFBdAKSWv+zezl1PbMgxrtVuxrrHaxh5NlCQm/OoOITSh8yZKEDAaUPCOr+8kG+AcpY6Nnk31GP10jli1g== X-Google-Smtp-Source: AGHT+IFteHcGIDofhn5vwqANuOXbJzyA8C5gvsGvYLZOn84AvONvIVhs29NDZOOiGwB60DigsV45 X-Received: by 2002:a17:902:d887:b0:1dc:b2ee:c7 with SMTP id b7-20020a170902d88700b001dcb2ee00c7mr306120plz.14.1709931651816; Fri, 08 Mar 2024 13:00:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709931651; cv=pass; d=google.com; s=arc-20160816; b=B8dO1kwrNB5cQcEYDKl60hTjaFn6qVa6wp04HZitGzAUe2b5SlvK5IQQEOf2TuUc0J Bohvt0qnnVIv21TwJEsfTGNdbq/jq3q6/f5Q8EPtXnZZqj3gAwp+smKYcfWO2UgxDBZy DflneQ/2Hg3gTkUBMLHF+acVxRoJRe4wOKgOwG+xuPL7G/s3c4Ie4qEkIhvOBFpVKwaw lXhlcodzQoCSruB+kLwpb88W3tnHcifRFoqH8pImTtR7xqANbJdiRNsqnCc1yQ0bNBAw z6w+GbBKpRgdrEkfS0Ghd0TVGMvFRdjj45WSIoZKKnAoMfAy04PFoJAqBB7fZUTuBFh0 xOzQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=QehjjxOVDT80rxgpnNGSVuuYoo3gXQUxxRf5l1oRF9w=; fh=siH1ajzVcbZIRUh3KthfhBO0/5iDEVyKcMU2bE9bEXQ=; b=a8guy82/5TucCUiwCcW0D1diI+adLr8WTjcFpAq8KgZ1vGemDSFyO4OfQcvLrqw3oQ baQB1voiytJwx9iHAYvstbiGsf8yMomiaTPDtqD5JFpbo2m+ZmWP5gVuwRGDsDKEkJIG cQI8RmPqTk/lideeI0Z3+eOIPnzpd1dNc53QFHyB6/4lbX+eryOQdAZhNZZ1BwT8FWKW y9sX31iMGSpnoz+j9Cpox8iOXGaPHm617qjGHr9g8qvA2/O5Wkbp0MwHbB3nenM7/gKx jt+0QDEklZsqI0Wlpu7/3QTGCfkAwS7kmORrK4DGR34qbI7CHz8sCXZgCI5NBEGjfKaM ACog==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=uyLuEqbz; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-97580-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97580-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ix13-20020a170902f80d00b001dccce7a4afsi133780plb.241.2024.03.08.13.00.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 13:00:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97580-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=uyLuEqbz; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-97580-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97580-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0F40F2835D7 for ; Fri, 8 Mar 2024 21:00:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F4845F56A; Fri, 8 Mar 2024 21:00:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="uyLuEqbz" Received: from out-176.mta1.migadu.com (out-176.mta1.migadu.com [95.215.58.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C02625E062 for ; Fri, 8 Mar 2024 21:00:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709931644; cv=none; b=KyDJfBXvotte3GymABeOBnU61MIJ/cckEVqru6myMyEi7xjoau0/6VIjllBmeFGCvLBOBOuM28R4pc90wq8N0dFCmqFnWDuLs+5hK1zO93bzO3jHs3aNUle7peNcOvgkSZNEa9c6kVBlVT+T0RLjQUdaJDqOEr++5zSoDsla4n8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709931644; c=relaxed/simple; bh=3K5ULUfKXMnPO5jig2Y0yO2WjJR3O/sqFArdDG+H1sc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=U8McqIP3YkCsWMGTZXpZDyTKV3RTKj00nLEJXKDWg9IfW6xfavxxhWgtdZa7wfdZpTm0PgO3n83Ge+ZPtwdQLyaLB95swxlSG2sQBCDp9pY6uulMbtn+tVZAUCEcqhytYlQ6gK7YyEAlyNf4qeqnKRhArEb7M/ZSLIP9EjymFrU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=uyLuEqbz; arc=none smtp.client-ip=95.215.58.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1709931640; 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=QehjjxOVDT80rxgpnNGSVuuYoo3gXQUxxRf5l1oRF9w=; b=uyLuEqbzqAr2mbfreaXd4U5ktA6Pld8IeViU6zghRiluUWjgxd/YMB2xl04jL4z55T9yrI 7tiwRB/mzzz42njknXjyvBcZk5fRL5+im/OIoRaEiU2Mcmw52ngTiirxUXVSt+d+3/ca02 wh/Cenpo1Ua7grID2vIS54CtvQ8O6/I= From: Sean Anderson To: Laurent Pinchart , Vinod Koul , dmaengine@vger.kernel.org Cc: Michal Simek , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sean Anderson , Hyun Kwon , Tejas Upadhyay Subject: [PATCH 0/3] dma: xilinx_dpdma: Fix locking Date: Fri, 8 Mar 2024 16:00:31 -0500 Message-Id: <20240308210034.3634938-1-sean.anderson@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT This series fixes some locking problems with the xilinx dpdma driver. It also adds some additional lockdep asserts to make catching such errors easier. Sean Anderson (3): dma: xilinx_dpdma: Fix locking dma: xilinx_dpdma: Remove unnecessary use of irqsave/restore dma: Add lockdep asserts to virt-dma drivers/dma/virt-dma.h | 10 ++++++++++ drivers/dma/xilinx/xilinx_dpdma.c | 23 ++++++++++++++--------- 2 files changed, 24 insertions(+), 9 deletions(-) -- 2.35.1.1320.gc452695387.dirty