public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Dell Latitude E6510: `dell_wmi: Dell descriptor buffer has invalid buffer length (128)`
@ 2017-02-16 15:15 Paul Menzel
  2017-02-16 15:32 ` Pali Rohár
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Menzel @ 2017-02-16 15:15 UTC (permalink / raw)
  To: Matthew Garrett, Pali Rohár; +Cc: Linux Kernel Mailing List

Dear Matthews, dear Pali,


Installing Debian 9 (Stretch/testing) with Linux 4.9.6 on the Dell 
Latitude E6510, the warnings below are shown.

```
$ more /proc/version
Linux version 4.9.0-1-amd64 (debian-kernel@lists.debian.org) (gcc 
version 6.3.0 20170124 (Debian 6.3.0-5) ) #1 SMP Debian 4.9.6-3 (2017-01-28)
$ sudo journalctl -k
[…]
Feb 16 12:19:13 e6510 kernel: DMI: Dell Inc. Latitude E6510/XXXXX, BIOS 
A03 05/28/2010
[…]
Feb 16 12:19:14 e6510 kernel: input: HDA Intel MID HDMI/DP,pcm=7 as 
/devices/pci0000:00/0000:00:1b.0/sound/card0/input16
Feb 16 12:19:14 e6510 kernel: input: HDA Intel MID HDMI/DP,pcm=8 as 
/devices/pci0000:00/0000:00:1b.0/sound/card0/input17
Feb 16 12:19:14 e6510 kernel: ppdev: user-space parallel port driver
Feb 16 12:19:14 e6510 kernel: fbcon: inteldrmfb (fb0) is primary device
Feb 16 12:19:15 e6510 kernel: logitech-djreceiver 0003:046D:C52B.0003: 
hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on 
usb-0000:00:1d.0-1.3/input2
Feb 16 12:19:15 e6510 kernel: dell_wmi: Dell descriptor buffer has 
invalid buffer length (128)
Feb 16 12:19:15 e6510 kernel: dell_wmi: Detected Dell WMI interface 
version 1
Feb 16 12:19:15 e6510 kernel: input: Dell WMI hotkeys as 
/devices/virtual/input/input18
Feb 16 12:19:15 e6510 kernel: pcmcia_socket pcmcia_socket0: cs: memory 
probe 0x0c0000-0x0fffff:
Feb 16 12:19:15 e6510 kernel:  excluding 0xc0000-0xfffff
Feb 16 12:19:15 e6510 kernel: pcmcia_socket pcmcia_socket0: cs: memory 
probe 0xa0000000-0xa0ffffff:
Feb 16 12:19:15 e6510 kernel:  excluding 0xa0000000-0xa0ffffff
Feb 16 12:19:15 e6510 kernel: pcmcia_socket pcmcia_socket0: cs: memory 
probe 0x60000000-0x60ffffff:
Feb 16 12:19:15 e6510 kernel:  excluding 0x60000000-0x60ffffff
Feb 16 12:19:15 e6510 kernel: clocksource: Switched to clocksource tsc
[…]
```

Reading the commit description [1], it sounds like, that this model just 
has a ACPI DSDT table, that wasn’t known when writing the patch [1].

It’d be great to get rid of the warning. Please tell me what you need.


Kind regards,

Paul


[1] https://patchwork.kernel.org/patch/7951281/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Dell Latitude E6510: `dell_wmi: Dell descriptor buffer has invalid buffer length (128)`
  2017-02-16 15:15 Dell Latitude E6510: `dell_wmi: Dell descriptor buffer has invalid buffer length (128)` Paul Menzel
@ 2017-02-16 15:32 ` Pali Rohár
  0 siblings, 0 replies; 2+ messages in thread
From: Pali Rohár @ 2017-02-16 15:32 UTC (permalink / raw)
  To: Paul Menzel; +Cc: Matthew Garrett, Linux Kernel Mailing List

On Thursday 16 February 2017 16:15:08 Paul Menzel wrote:
> Dear Matthews, dear Pali,
> 
> 
> Installing Debian 9 (Stretch/testing) with Linux 4.9.6 on the Dell Latitude
> E6510, the warnings below are shown.
> 
> ```
> $ more /proc/version
> Linux version 4.9.0-1-amd64 (debian-kernel@lists.debian.org) (gcc version
> 6.3.0 20170124 (Debian 6.3.0-5) ) #1 SMP Debian 4.9.6-3 (2017-01-28)
> $ sudo journalctl -k
> […]
> Feb 16 12:19:13 e6510 kernel: DMI: Dell Inc. Latitude E6510/XXXXX, BIOS A03
> 05/28/2010
> […]
> Feb 16 12:19:14 e6510 kernel: input: HDA Intel MID HDMI/DP,pcm=7 as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
> Feb 16 12:19:14 e6510 kernel: input: HDA Intel MID HDMI/DP,pcm=8 as
> /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
> Feb 16 12:19:14 e6510 kernel: ppdev: user-space parallel port driver
> Feb 16 12:19:14 e6510 kernel: fbcon: inteldrmfb (fb0) is primary device
> Feb 16 12:19:15 e6510 kernel: logitech-djreceiver 0003:046D:C52B.0003:
> hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on
> usb-0000:00:1d.0-1.3/input2
> Feb 16 12:19:15 e6510 kernel: dell_wmi: Dell descriptor buffer has invalid
> buffer length (128)
> Feb 16 12:19:15 e6510 kernel: dell_wmi: Detected Dell WMI interface version
> 1
> Feb 16 12:19:15 e6510 kernel: input: Dell WMI hotkeys as
> /devices/virtual/input/input18
> Feb 16 12:19:15 e6510 kernel: pcmcia_socket pcmcia_socket0: cs: memory probe
> 0x0c0000-0x0fffff:
> Feb 16 12:19:15 e6510 kernel:  excluding 0xc0000-0xfffff
> Feb 16 12:19:15 e6510 kernel: pcmcia_socket pcmcia_socket0: cs: memory probe
> 0xa0000000-0xa0ffffff:
> Feb 16 12:19:15 e6510 kernel:  excluding 0xa0000000-0xa0ffffff
> Feb 16 12:19:15 e6510 kernel: pcmcia_socket pcmcia_socket0: cs: memory probe
> 0x60000000-0x60ffffff:
> Feb 16 12:19:15 e6510 kernel:  excluding 0x60000000-0x60ffffff
> Feb 16 12:19:15 e6510 kernel: clocksource: Switched to clocksource tsc
> […]
> ```
> 
> Reading the commit description [1], it sounds like, that this model just has
> a ACPI DSDT table, that wasn’t known when writing the patch [1].
> 
> It’d be great to get rid of the warning. Please tell me what you need.
> 
> 
> Kind regards,
> 
> Paul
> 
> 
> [1] https://patchwork.kernel.org/patch/7951281/

Hi! In future please try to avoid wrapping dmesg log lines as they are
harder to read if they are wrapped.

About that warning on buffer size. That check was added based on
ACPI-WMI documentation IIRC dated back to 2009. Info is here:
https://www.spinics.net/lists/platform-driver-x86/msg07220.html

So now there is some machine which has different buffer size as
specified in that documentation. This is first time I saw such report
since introduction of that change.

But it is only check that WMI interface (which dell-wmi driver is using)
is behaving correctly according to that documentation. Warning is non
fatal and only informative.

I will think about this.

Maybe somebody from Dell could comment this?

-- 
Pali Rohár
pali.rohar@gmail.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-16 15:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-16 15:15 Dell Latitude E6510: `dell_wmi: Dell descriptor buffer has invalid buffer length (128)` Paul Menzel
2017-02-16 15:32 ` Pali Rohár

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox