From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omr2.cc.ipv6.vt.edu ([2607:b400:92:8400:0:33:fb76:806e] helo=omr2.cc.vt.edu) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1gOkD1-0003PR-8H for kernelnewbies@kernelnewbies.org; Mon, 19 Nov 2018 09:07:27 -0500 Received: from mr6.cc.vt.edu (mr6.cc.vt.edu [IPv6:2607:b400:92:8500:0:af:2d00:4488]) by omr2.cc.vt.edu (8.14.4/8.14.4) with ESMTP id wAJE7POM015522 for ; Mon, 19 Nov 2018 09:07:25 -0500 Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by mr6.cc.vt.edu (8.14.7/8.14.7) with ESMTP id wAJE7JmD020961 for ; Mon, 19 Nov 2018 09:07:25 -0500 Received: by mail-qk1-f198.google.com with SMTP id j125so2671272qke.12 for ; Mon, 19 Nov 2018 06:07:24 -0800 (PST) From: valdis.kletnieks@vt.edu To: Ranran Subject: Re: Why eeprom driver is read-only ? In-Reply-To: References: Mime-Version: 1.0 Date: Mon, 19 Nov 2018 09:07:17 -0500 Message-ID: <8409.1542636437@turing-police.cc.vt.edu> Cc: kernelnewbies List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============3891524778616108100==" Errors-To: kernelnewbies-bounces@kernelnewbies.org Message-ID: <20181119140717.YpV-RrD2T0zM_k0sfVq1dYZjPsZoTCUdgZtcMWGuZ7s@z> --===============3891524778616108100== Content-Type: multipart/signed; boundary="==_Exmh_1542636437_2755P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --==_Exmh_1542636437_2755P Content-Type: text/plain; charset=us-ascii On Mon, 19 Nov 2018 14:08:26 +0200, Ranran said: > What is the reason that kernel driver of eeprom is configured only as > read-only ? Probably depends on the hardware. I'm pretty sure that *some* eeproms are writable. > Is it because the BIOS is stored there ? Remember that the BIOS is stored in one of what may be several eeproms in the system - graphics cards and other controllers probably have their own eeproms. You might want to think about why most systems do a restart after updating the BIOS, and then ask yourself if you really want to write to it while the system is up.... > Is there a way to make it writable ? Depends on which eeprom you're talking about. --==_Exmh_1542636437_2755P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQEVAwUBW/LDlY0DS38y7CIcAQKucQgAoHe/1/xqEspw8QuR7nVcClHKfWozGNGp zFd0TPc/5rwJmgDsyPZMlfK6xoIT1+8XVGnnwQFD8fo6Sm71hfq4Hfq9PXsvk0v3 P3vUCG/WJP8L4Rho2o+UKDgaEaUW5x0KYit1SjaDU4N8DHxgaTs7V8H7KBcgMnYS CtP4yAwNTOzycmmlGnfofUoNl+qQ4T1RVhR/8p6ZLp3Lhdjll9Nf1h3MdpimwF/3 yDX/Tv8mUyNNDu2cq5FvuCWRcIzpNkVGR31M+1hZVRC/2dKJHPYZ2Rxoj/2RBWSO PMnBTT6+TYlj4ehGd4+N9/ORLt+pfJ/PPbf6OScKAlqaUlozFybBVA== =lBC9 -----END PGP SIGNATURE----- --==_Exmh_1542636437_2755P-- --===============3891524778616108100== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============3891524778616108100==--