From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="xHcrk9dh" 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