Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2261C433EF for ; Thu, 11 Nov 2021 11:43:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DA23161212 for ; Thu, 11 Nov 2021 11:43:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233114AbhKKLql (ORCPT ); Thu, 11 Nov 2021 06:46:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:43020 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232256AbhKKLqk (ORCPT ); Thu, 11 Nov 2021 06:46:40 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 443F361261; Thu, 11 Nov 2021 11:43:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1636630997; bh=05D0QYBkxAy2EtM0RakIVcxKg/l8FuvvMQKcxG4EsVY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KqyyQZhwMPNiWGip8i2cvixX9HsY3xnRPje9JDKSpNLCVMwtwF9ZaEIqZQt5mYRn0 AfKnBqIxWNmwUSfoJlzEyfaCf95hfgI77FwgB9JDxEKLPtPLI0Jc2ghnGmmq88ij0S 4ANfvpHTZhnoghIr0+nhhcLnSbduLWYihx0dpEfY= Date: Thu, 11 Nov 2021 12:43:15 +0100 From: Greg KH To: Hans-Gert Dahmen Cc: Mika Westerberg , Richard Hughes , Mauro Lima , Andy Shevchenko , "akpm@linux-foundation.org" , "linux-kernel@vger.kernel.org" , Philipp Deppenwiese , "platform-driver-x86@vger.kernel.org" Subject: Re: [PATCH] firmware: export x86_64 platform flash bios region via sysfs Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 11, 2021 at 11:55:25AM +0100, Hans-Gert Dahmen wrote: > > My concern of > > removing the DANGEROUS tag is that we end up bricking yet another Lenovo > > laptop by accident. Avoiding that would give me more peace of mind :) > > Yes of course, I think to not endanger users with malfunctions caused > by code we produce is of our mutual interest here and we should make > sure to be absolutely serious about it. This is why I was saying that the driver HAS to specify the hardware that it is allowed to bind to, and only bind to that hardware. Your driver today does not take that into account at all, which is my primary objection to the code as-is. thanks, greg k-h