Re: [PATCH 4/4] PCI/sysfs: Allow userspace to query and set device reset mechanism

From: Leon Romanovsky
Date: Fri Mar 19 2021 - 11:52:09 EST


On Fri, Mar 19, 2021 at 02:48:12PM +0100, Enrico Weigelt, metux IT consult wrote:
> On 19.03.21 13:59, Leon Romanovsky wrote:

<...>

> In any case, I still fail to see why giving operators an debug knob
> should make anything worse.

I see this patch as a workaround to stop and provide quirks for reset issues.
As a way forward, we can do this sysfs visible for DEBUG/EXPERT .config builds.
What do you think?

>
> > > [ And often, even a combination of them isn't enough. Did you know that
> > > even Google doesn't get all specs necessary to replace away the ugly
> > > FSP blob ? (it's the same w/ AMD, but meanwhile I'm pissed enought to
> > > reverse engineer their AGESA blob). ]
> >
> > I don't know about this specific Google case, but from my previous experience.
> > The reasons why vendor says no to Google are usually due to licensing and legal
> > issues and not open source vs. proprietary.
>
> In short words: Google did (still does?) build their own mainboards and
> FW (IIRC that's where LinuxBoot came from), but even with their HUGE
> quantities (they buy cpus in quantities of truck loads) they still did
> not manage to get any specs for writing their own early init w/o the
> proprietary FSP.
>
> The licensing / legal issues can either be:
>
> a) we, the mightly Intel Corp., have been so extremly stupid for
> licensing some vital IP stuff (what exactly could that be, in exactly
> the prime domain of Intel ?) and signing such insane crontracts, that
> we're not allowed to tell anybody how to actually use our own
> products (yes: initializing the CPU and built-in interfaces belongs
> exactly into that category)
> b) we, the mighty Intel Corp., couldn't build something on our own, but
> just stolen IP (in our primary domain) and are scared that anybody
> could find out from just reading some early setup code.
> c) we, the mighty Intel Corp., rule the world and we give a phrack on
> what some tiny Customers like Google want from us.
> d) we, the mightly Intel Corp., did do what our name tells: INTEL,
> and we don't want anybody raise unpleasant questions.

I would say
e) We, Intel, have fixes and optimization logic (patented or specific to different
customers) that is applicable to our HW and we can't open it to Google because it
will be used against us, in procurement and development. See recent article about
ex-Intel employee who used this information when placed bids in Microsoft.
https://www.usnews.com/news/best-states/oregon/articles/2021-02-08/intel-sues-engineer-who-went-to-microsoft-over-trade-secrets

>
>
> choose your poison :P
>
>
> --mtx
>
> --
> ---
> Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert
> werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren
> GPG/PGP-Schlüssel zu.
> ---
> Enrico Weigelt, metux IT consult
> Free software and Linux embedded engineering
> info@xxxxxxxxx -- +49-151-27565287