Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1551734

Re: [PATCH] Allow userspace control of runtime disabling/enabling of driver probing

From Tomeu Vizoso <tomeu.vizoso@collabora.com>
Newsgroups linux.kernel
Subject Re: [PATCH] Allow userspace control of runtime disabling/enabling of driver probing
Date 2017-01-05 09:20 +0100
Message-ID <sWbrb-bR-1@gated-at.bofh.it> (permalink)
References <sVGdI-4qo-3@gated-at.bofh.it> <sVQd4-2M8-33@gated-at.bofh.it> <sVYki-8gW-35@gated-at.bofh.it> <sVZJo-Ez-3@gated-at.bofh.it> <sW02K-12y-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 4 January 2017 at 20:59, Matthew Garrett <mjg59@coreos.com> wrote:
> On Wed, Jan 4, 2017 at 1:46 PM, Greg Kroah-Hartman
> <gregkh@linuxfoundation.org> wrote:
>> On Wed, Jan 04, 2017 at 12:10:04PM -0600, Matthew Garrett wrote:
>>> On Wed, Jan 4, 2017 at 3:32 AM, Greg Kroah-Hartman
>>> <gregkh@linuxfoundation.org> wrote:
>>> > Turning on and off at random times "new devices can not be bound, wait,
>>> > now they can!" is ripe for loads of issues and is going to be a pain to
>>> > properly maintain over time.
>>>
>>> What kind of issues?
>>
>> How are you going to test this to ensure it continues to work properly?
>
> It's code that's already used over every suspend and resume. What kind
> of breakage are you expecting? How do we test any feature to ensure it
> continues to work properly?

In this specific case, we could use the Chamelium board to emulate USB
devices, automating the plugging of various USB device types at
different system states:

https://www.chromium.org/chromium-os/testing/chamelium

We are currently working on improving LAVA support for helper devices
such as the Chamelium, mainly for emulating displays in graphics
tests, but it can be useful for exercising other kernel ABIs such as
disable_device_probe. The goal is to have the result of these tests
reported to kernelci.org for spotting regressions early.

Regards,

Tomeu

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Kees Cook <keescook@chromium.org> - 2017-01-04 00:00 +0100
  Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing "Rafael J. Wysocki" <rafael@kernel.org> - 2017-01-04 00:40 +0100
    Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Kees Cook <keescook@chromium.org> - 2017-01-04 00:50 +0100
      Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing "Rafael J. Wysocki" <rafael@kernel.org> - 2017-01-04 02:50 +0100
  Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-01-04 10:40 +0100
    Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Matthew Garrett <mjg59@coreos.com> - 2017-01-04 19:20 +0100
      Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Matthew Garrett <mjg59@coreos.com> - 2017-01-04 19:40 +0100
        Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-01-04 20:50 +0100
          Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Matthew Garrett <mjg59@coreos.com> - 2017-01-04 21:10 +0100
            Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-01-04 21:50 +0100
              Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Matthew Garrett <mjg59@coreos.com> - 2017-01-04 23:00 +0100
                Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Matthew Garrett <mjg59@coreos.com> - 2017-01-04 23:40 +0100
      Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-01-04 20:50 +0100
        Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Matthew Garrett <mjg59@coreos.com> - 2017-01-04 21:10 +0100
          Re: [PATCH] Allow userspace control of runtime disabling/enabling of  driver probing Tomeu Vizoso <tomeu.vizoso@collabora.com> - 2017-01-05 09:20 +0100

csiph-web