Re: [PATCH 2/3] e1000e: Useset_memory_ro()/set_memory_rw() to protectflash memory

From: Stefan Richter
Date: Wed Sep 24 2008 - 06:53:49 EST


David Miller wrote:
From: Jiri Kosina <jkosina@xxxxxxx>
Date: Wed, 24 Sep 2008 01:45:53 +0200 (CEST)

Yes, probably not a vanilla kernel material, but could be very well used for testing to further isolate whether it is kernel or userspace corrupting the memory mapped eeprom.

Absolutely.

Would it help and would it be feasible to drastically shorten the lifetime of the MMIO mapping? I.e. only have it mapped briefly during the driver probe, and temporarily whenever a userspace tool like ethtool needs it.
--
Stefan Richter
-=====-==--- =--= ==---
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/