From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 EEF6736E476 for ; Fri, 1 May 2026 11:10:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777633857; cv=none; b=KBeqgksDoZTG54/roJ5Y1wHv9yo39imRFuLlgjs7PMdyJ8GXGk/ylJYEgyvG1wOYKFmvu96pdBufth30dH9n50/cJcjpvypZzwxTTzdPUYcJj9oyKv7nwqot598kMC9fUTTJTjuoLA4IHAbSz0Ai/JlSEhvpxAq0Q4yAMmtk6x4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777633857; c=relaxed/simple; bh=VSL7d8LlJUY6NWUXKzt+d8fzw93MwR6XXfwO4lN2+Ng=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=jgbx4xaLuD6yuEz8qLVIaBl0mCMqgdxm+YdcmmOAxXs6GlodY0yukstrJVr/SZNeMoVgULjeiMp/uHCoKB2JVi2jKCkbOEeORfDh+P0DA/bFtTfX3MH+51iIJaFnayj39YWn+ON3godWwaWV4/A4FnInbAp5Y0K/QA9BDYFinWE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DQksswA0; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="DQksswA0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57893C2BCB4; Fri, 1 May 2026 11:10:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777633856; bh=VSL7d8LlJUY6NWUXKzt+d8fzw93MwR6XXfwO4lN2+Ng=; h=Subject:To:Cc:From:Date:From; b=DQksswA0BQLzW1PKuygkXQyfKeROpqU8fWhwxJVFOXvRxhYQJO5cJPNIUiYi074lz AJtaW/Y4EB4EkwZKbZb3PzZGRfpYQP7MfEJOQJmkul+hWBHGoAc3XmnXw1Lki+0ILM 59LEpXXjFjAhkGsQyMQrhC2+zsZJKzK5roosNxDE= Subject: FAILED: patch "[PATCH] media: rc: igorplugusb: heed coherency rules" failed to apply to 6.6-stable tree To: oneukum@suse.com,hverkuil+cisco@kernel.org,sean@mess.org Cc: From: Date: Fri, 01 May 2026 13:10:54 +0200 Message-ID: <2026050153-gazing-hangup-580c@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 6.6-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.6.y git checkout FETCH_HEAD git cherry-pick -x eac69475b01fe1e861dfe3960b57fa95671c132e # git commit -s git send-email --to '' --in-reply-to '2026050153-gazing-hangup-580c@gregkh' --subject-prefix 'PATCH 6.6.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From eac69475b01fe1e861dfe3960b57fa95671c132e Mon Sep 17 00:00:00 2001 From: Oliver Neukum Date: Wed, 11 Feb 2026 19:11:51 +0100 Subject: [PATCH] media: rc: igorplugusb: heed coherency rules In a control request, the USB request structure can be subject to DMA on some HCs. Hence it must obey the rules for DMA coherency. Allocate it separately. Fixes: b1c97193c6437 ("[media] rc: port IgorPlug-USB to rc-core") Cc: stable@vger.kernel.org Signed-off-by: Oliver Neukum Signed-off-by: Sean Young Signed-off-by: Hans Verkuil diff --git a/drivers/media/rc/igorplugusb.c b/drivers/media/rc/igorplugusb.c index 5ceb5ca44e23..3e10f6fe89f8 100644 --- a/drivers/media/rc/igorplugusb.c +++ b/drivers/media/rc/igorplugusb.c @@ -34,7 +34,7 @@ struct igorplugusb { struct device *dev; struct urb *urb; - struct usb_ctrlrequest request; + struct usb_ctrlrequest *request; struct timer_list timer; @@ -122,7 +122,7 @@ static void igorplugusb_cmd(struct igorplugusb *ir, int cmd) { int ret; - ir->request.bRequest = cmd; + ir->request->bRequest = cmd; ir->urb->transfer_flags = 0; ret = usb_submit_urb(ir->urb, GFP_ATOMIC); if (ret && ret != -EPERM) @@ -164,13 +164,17 @@ static int igorplugusb_probe(struct usb_interface *intf, if (!ir) return -ENOMEM; + ir->request = kzalloc_obj(*ir->request, GFP_KERNEL); + if (!ir->request) + goto fail; + ir->dev = &intf->dev; timer_setup(&ir->timer, igorplugusb_timer, 0); - ir->request.bRequest = GET_INFRACODE; - ir->request.bRequestType = USB_TYPE_VENDOR | USB_DIR_IN; - ir->request.wLength = cpu_to_le16(MAX_PACKET); + ir->request->bRequest = GET_INFRACODE; + ir->request->bRequestType = USB_TYPE_VENDOR | USB_DIR_IN; + ir->request->wLength = cpu_to_le16(MAX_PACKET); ir->urb = usb_alloc_urb(0, GFP_KERNEL); if (!ir->urb) @@ -228,6 +232,7 @@ static int igorplugusb_probe(struct usb_interface *intf, usb_free_urb(ir->urb); rc_free_device(ir->rc); kfree(ir->buf_in); + kfree(ir->request); return ret; } @@ -244,6 +249,7 @@ static void igorplugusb_disconnect(struct usb_interface *intf) usb_free_urb(ir->urb); rc_free_device(ir->rc); kfree(ir->buf_in); + kfree(ir->request); } static const struct usb_device_id igorplugusb_table[] = {