[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200923174543.GA102853@kroah.com>
Date: Wed, 23 Sep 2020 19:45:43 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Maximilian Luz <luzmaximilian@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
Arnd Bergmann <arnd@...db.de>, Rob Herring <robh@...nel.org>,
Jiri Slaby <jirislaby@...nel.org>,
Blaž Hrastnik <blaz@...n.io>,
Dorian Stoll <dorian.stoll@...p.io>
Subject: Re: [RFC PATCH 5/9] surface_aggregator: Add error injection
capabilities
On Wed, Sep 23, 2020 at 05:15:07PM +0200, Maximilian Luz wrote:
> This commit adds error injection hooks to the Surface Serial Hub
> communication protocol implementation, to:
>
> - simulate simple serial transmission errors,
>
> - drop packets, requests, and responses, simulating communication
> failures and potentially trigger retransmission timeouts, as well as
>
> - inject invalid data into submitted and received packets.
>
> Together with the trace points introduced in the previous commit, these
> facilities are intended to aid in testing, validation, and debugging of
> the Surface Aggregator communication layer.
>
> Signed-off-by: Maximilian Luz <luzmaximilian@...il.com>
Ok, this is ridiculous.
You are dropping a whole new subsystem on us, with full documentation,
correct driver model integration, crazy debugfs interactions (I made fun
of the patch, but the code did work, you just did more work than was
needed), proper auto-loading of modules, tracing, documentation for more
things than is ever expected, and now you are adding error injection
support?
You just made all other code submissions of new subsystems I have gotten
in the past 2 months look like total crud. Which, to be fair, they
probably were, but wow, you just stepped up the level of professionalism
to a whole new height.
I can only dream that "real Linux companies" take note and try to follow
this example. I think I will point them all at this in the future and
say, "go do it like this one."
very very very nice work, we owe you the beverage of your choice.
greg k-h
Powered by blists - more mailing lists