linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Frank Praznik <frank.praznik@oh.rr.com>
Cc: Jiri Kosina <jkosina@suse.cz>,
	"linux-input@vger.kernel.org" <linux-input@vger.kernel.org>
Subject: Fwd: [Bug 87991] New: hid-sony uses non-DMA-capable transfer buffer, fails
Date: Mon, 10 Nov 2014 10:37:38 -0800	[thread overview]
Message-ID: <CAKdAkRQrxKxYTf7eqZWCxrxR9spk6x_zUCF6ZegG51vwt940eg@mail.gmail.com> (raw)
In-Reply-To: <bug-87991-3268@https.bugzilla.kernel.org/>

FYI

---------- Forwarded message ----------
From:  <bugzilla-daemon@bugzilla.kernel.org>
Date: Mon, Nov 10, 2014 at 5:43 AM
Subject: [Bug 87991] New: hid-sony uses non-DMA-capable transfer buffer, fails
To: dmitry.torokhov@gmail.com


https://bugzilla.kernel.org/show_bug.cgi?id=87991

            Bug ID: 87991
           Summary: hid-sony uses non-DMA-capable transfer buffer, fails
           Product: Drivers
           Version: 2.5
    Kernel Version: 3.17.1
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Input Devices
          Assignee: drivers_input-devices@kernel-bugs.osdl.org
          Reporter: hector@marcansoft.com
        Regression: No

The kernel itself complains:

input: Sony PLAYSTATION(R)3 Controller as
/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2.2/1-1.2.2.4/1-1.2.2.4:1.0/0003:054C:0268.000A/input/input51
sony 0003:054C:0268.000A: input,hiddev0,hidraw3: USB HID v1.11 Joystick [Sony
PLAYSTATION(R)3 Controller] on usb-0000:00:1a.0-1.2.2.4/input0
------------[ cut here ]------------
WARNING: CPU: 1 PID: 27497 at drivers/usb/core/hcd.c:1503
usb_hcd_map_urb_for_dma+0x588/0x5a0 [usbcore]()
transfer buffer not dma capable
<snip>
sony 0003:054C:0268.000A: failed to retrieve feature report 0xf2 with the
Sixaxis MAC address
sony: probe of 0003:054C:0268.000A failed with error -11

Looks like the code just uses a stack-allocated buffer (from
drivers/hid/hid-sony.c):
        __u8 buf[18];
<snip comment>
        ret = hid_hw_raw_request(sc->hdev, 0xf2, buf, sizeof(buf),
                HID_FEATURE_REPORT, HID_REQ_GET_REPORT);

--
You are receiving this mail because:
You are watching the assignee of the bug.


-- 
Dmitry

           reply	other threads:[~2014-11-10 18:37 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <bug-87991-3268@https.bugzilla.kernel.org/>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKdAkRQrxKxYTf7eqZWCxrxR9spk6x_zUCF6ZegG51vwt940eg@mail.gmail.com \
    --to=dmitry.torokhov@gmail.com \
    --cc=frank.praznik@oh.rr.com \
    --cc=jkosina@suse.cz \
    --cc=linux-input@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).