Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1988897lqz; Tue, 2 Apr 2024 04:10:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUrjARbjblY5NY7hHw7xrHJcyqShc7WisH61H4fNbQXZMblUQZbY/rRc1gnf9MOfdCv+Bo7SnBIK3k0XTx7zhB20JiZtCPtTs7aBirJWg== X-Google-Smtp-Source: AGHT+IH3IT5R1JlxPdVgXSKIG+DuLflU4Fmbt95Fps6Ydx58bM+emrmNn7D6jYWjxNf1TGcQ8HXg X-Received: by 2002:a05:6808:318a:b0:3c3:de8e:5963 with SMTP id cd10-20020a056808318a00b003c3de8e5963mr14828135oib.51.1712056225834; Tue, 02 Apr 2024 04:10:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712056225; cv=pass; d=google.com; s=arc-20160816; b=UPImlM5gCOk2o532uLiwlH983d7b+6yaKixOt2HBkHUvuhzNn5Geof0/NbK09/iEcQ Bzbh+0Aoke6ggIHDhYOnR1lYsTozTvQ2lCVlyP7Cl1ENZYBIXB8MaZSFHr9hR/vI/bXN zKRLvcyh8vPjPE5KINxGyet8r4BsaZH2wWqbxQDsooj6tuFXxk9o1KjxRtoX/8XB3u8H F+J+62opaW7dt0cZiaM9GPR23IUci475zZ618KGs1m7IB4qjO0ET7NJcE1UA5jCHKdVw tv0EmnI+Ot5zp9nuwqNfOqmt/HcU7Tub7WWjoDvCjlbLKzBTzUker8g9P9XBgCft4GDv EQfA== 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=9qjDrVhPABDqcButy64rrklBE4MPlj4eblWi/uVSPtc=; fh=F9Pioar3zpFEDJ0RDTgA2UahXs1x2etdBjLYZ82NwqE=; b=Gh9uIDUHSGecdDEIfNhJN1cIDJiIpyxJ1p5UsTXXV6w37X0LwDkiodyPf0b0ZXDvhw lXGkulWBY5OG8Mr7o/TuFvhf8qpXTeilHi8jLuLz0UO+108V0Q2GCNKNqushGTcwTkye FHVWaiUaMPFtVv9XBzM6lxO2rs+CtUffedK9yUPeuwJN06/CyJzuOrHDIn8am93MxjnL FyiDWKNOtJ/A77zOVsubVHdU/HMFXqtvP+waquF2VhffNQwAYSb2WzoX0zTRCBI67cWr jxUwi4rIpDkGKGUZGFuye1MAVmJ+R8Oq3Giw8Rz8P7y2zDNNTO2HSGF2JUcySE5FV+Sp 0QDw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=xHcrk9dh; arc=pass (i=1 spf=pass spfdomain=crapouillou.net dkim=pass dkdomain=crapouillou.net dmarc=pass fromdomain=crapouillou.net); spf=pass (google.com: domain of linux-kernel+bounces-127826-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127826-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h10-20020a05622a170a00b00432cebe6b13si7473571qtk.100.2024.04.02.04.10.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 04:10:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127826-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=xHcrk9dh; arc=pass (i=1 spf=pass spfdomain=crapouillou.net dkim=pass dkdomain=crapouillou.net dmarc=pass fromdomain=crapouillou.net); spf=pass (google.com: domain of linux-kernel+bounces-127826-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127826-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7AE571C2318B for ; Tue, 2 Apr 2024 11:10:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 72D19679E2; Tue, 2 Apr 2024 11:10:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="xHcrk9dh" Received: from aposti.net (aposti.net [89.234.176.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BE8EF60DEA; Tue, 2 Apr 2024 11:10:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=89.234.176.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712056207; cv=none; b=EPCOE8RQ4ovu9dXIPJiDM9f8kqa0UbYuKsXZ4kfMcVEg+jslle9CeCzQqou9rkuozWTBLabrcqJDYITvcpUq196AbJn7W0yR+NYVLnAi3EbcITbikQDS6wTHi23LvRREAdFxwlEanOlC2MtjsfJi1lCP9NRcAaxGY95tzOy8JKg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712056207; c=relaxed/simple; bh=jgpgoq/QTgIKErhMo7+aVkeA14DdQgDE837Qa3gLBKs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=rzF5mr2if/igi/sRXdMWcIy+ZkOsEC+TqNptkq7xhIdiIUvS+rzrtssiK/pG6KtfSeGk5UE9XjxSCobLy3av7T1cPntlyTn6JSpaTPiQrOHx+IGspoUFEg9dgMqklQiF6FUqKq8RU06DEfiAEfBjczKJW6KnghXpqtijEUMwtas= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=crapouillou.net; spf=pass smtp.mailfrom=crapouillou.net; dkim=pass (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b=xHcrk9dh; arc=none smtp.client-ip=89.234.176.197 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=crapouillou.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=crapouillou.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1712056197; 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=9qjDrVhPABDqcButy64rrklBE4MPlj4eblWi/uVSPtc=; b=xHcrk9dhMFWjShvEyQC94PfUCBu0ubhIl3Rs6L2ICTtjLNaVd0ronZkDkZM/BWAWFOv8g8 Yyu19L/qDFf8gJxbzCB6+zQ7ewCvhWX+lBr1tEzV5u8vzjMCLJjGVZ3EsDuaT4C24vhuo5 aJLkXWDFCIXUSipX2n1Ipoo0qfrxFj8= From: Paul Cercueil To: Greg Kroah-Hartman Cc: =?UTF-8?q?Christian=20K=C3=B6nig?= , Daniel Vetter , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil Subject: [PATCH 0/2][5.9-rc] USB FunctionFS DMABUF interface fixes Date: Tue, 2 Apr 2024 13:09:49 +0200 Message-ID: <20240402110951.16376-1-paul@crapouillou.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Greg, Here are two patches that address issues that were noticed by Christian when reviewing the very similar IIO DMABUF interface (but the FunctionFS patchset was already merged at that point). Based on 5.9-rc2. Cheers, -Paul Paul Cercueil (2): usb: gadget: functionfs: Fix inverted DMA fence direction usb: gadget: functionfs: Wait for fences before enqueueing DMABUF drivers/usb/gadget/function/f_fs.c | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) -- 2.43.0