Re: [PATCH v6 RESEND] r8152: Add support for setting pass through MAC address on RTL8153-AD

From: MichaÅ Pecio
Date: Wed Jul 13 2016 - 02:24:39 EST


> So in order to hit this hypothetical corner case today you would
> need to be using a real world type-C device something such as a
> Dell WD15 on another OEM's machine that has type-C and the exact
> same ACPI object name that does $BADSTUFF other than return a
> buffer.
Exactly what I meant.

> If that situation arises please alert me and I'll send a follow up
> patch that whitelists this to match DMI vendor of only Dell
> systems.
I'm not sure if it's the most responsible way to approach this problem.
There were cases of laptops bricking (as in - they would never power on
ever again) just because Linux made some bad BIOS/ACPI calls. Also, see
the famous Samsung UEFI NVRAM fiasco or the recent pains with EFIVARS.

Regards,
MP