linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Adding subpage support to NAND driver -- backwards compatibility concerns
@ 2015-04-22 17:29 Ben Shelton
  2015-04-23  2:48 ` Iwo Mergler
  0 siblings, 1 reply; 6+ messages in thread
From: Ben Shelton @ 2015-04-22 17:29 UTC (permalink / raw)
  To: dwmw2, computersforpeace, dedekind1, adrian.hunter, linux-mtd,
	linux-kernel
  Cc: joshc, xander.huff, punnaiah.choudary.kalluri

Hi all,

We're currently carrying a patch out of tree to add subpage read and
write support to the pl353_nand driver.  Xilinx is currently working to
mainline this driver; see

http://www.spinics.net/lists/devicetree/msg76307.html

We'd like to upstream our patch, but my concern is that UBIFS behaves
differently when it knows that the flash device supports subpages.  I
have a couple of questions related to that:

- I know from experience that bad things happen when you use a kernel
  without subpage support with an UBIFS filesystem that was formatted
  with subpage support.  Is it safe to do the opposite (kernel with
  subpage support / UBIFS filesystem formatted without subpage support)?

- Assuming that it isn't safe, what's the best way to add subpage
  support to this driver in an upstreamable way / without breaking
  people?  Would it be sufficient to add subpage support as a Kconfig
  option that's disabled by default with a strongly-worded message
  describing the consequences of enabling it?

Thanks,
Ben

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-04-23 23:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-22 17:29 Adding subpage support to NAND driver -- backwards compatibility concerns Ben Shelton
2015-04-23  2:48 ` Iwo Mergler
2015-04-23 18:39   ` Josh Cartwright
2015-04-23 19:30     ` Richard Weinberger
2015-04-23 23:13       ` Iwo Mergler
2015-04-23 23:32         ` Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).