07 Apr, 2009
40 commits
-
This driver supports mflash IO mode for linux.
Mflash is embedded flash drive and mainly targeted mobile and consumer
electronic devices.Internally, mflash has nand flash and other hardware logics and supports 2
different operation (ATA, IO) modes. ATA mode doesn't need any new driver
and currently works well under standard IDE subsystem. Actually it's one
chip SSD. IO mode is ATA-like custom mode for the host that doesn't have
IDE interface.Followings are brief descriptions about IO mode.
A. IO mode based on ATA protocol and uses some custom command. (read confirm,
write confirm)
B. IO mode uses SRAM bus interface.
C. IO mode supports 4kB boot area, so host can boot from mflash.This driver is quitely similar to a standard ATA driver, but because of
following reasons it is currently seperated with ATA layer.1. ATA layer deals standard ATA protocol. ATA layer have many low-
level device specific interface, but data transfer keeps ATA rule.
But, mflash IO mode doesn't.2. Even though currently not used in mflash driver code, mflash has
some custom command and modes. (nand fusing, firmware patch, etc) If
this feature supported in linux kernel, ATA layer more altered.3. Currently PATA platform device driver doesn't support interrupt.
(I'm not sure) But, mflash uses interrupt (polling mode is just for
debug).4. mflash is somewhat under-develop product. Even though some company
already using mflash their own product, I think more time is needed for
standardization of custom command and mode. That time (maybe October)
I will talk to with ATA people. If they accept integration, I will
integrate.Signed-off-by: unsik Kim
Cc: Alan Cox
Signed-off-by: Andrew Morton
Signed-off-by: Jens Axboe -
Add a method for discovering the first memory BAR. All Smart Array
controllers to date have always had the the memory BAR as the first BAR.
A new controller to be released later this year breaks that model.Signed-off-by: Mike Miller
Cc: James Bottomley
Signed-off-by: Andrew Morton
Signed-off-by: Jens Axboe -
The MSA2012 cannot inform the driver of configuration changes since all
management is out of band. This is a departure from any storage we have
supported in the past. We need some way to detect changes on the topology
so we implement this kernel thread. In some instances there's nothing we
can do from the driver (like LUN failure) so just print out a message. In
the case where logical volumes are added or deleted we call
rebuild_lun_table to refresh the driver's view of the world.Signed-off-by: Mike Miller
Cc: James Bottomley
Signed-off-by: Andrew Morton
Signed-off-by: Jens Axboe -
We must complete the full request, so store the request count and then set
the ->data_len to the residual count from the hardware.Signed-off-by: Jens Axboe
-
This forces in_flight to be zero when turning off or on the I/O stat
accounting and stops updating I/O stats in attempt_merge() when
accounting is turned off.Signed-off-by: Jerome Marchand
Signed-off-by: Jens Axboe -
Simple helper functions to quiesce the request queue. These are
currently only used for switching IO schedulers on-the-fly, but
we can use them to properly switch IO accounting on and off as well.Signed-off-by: Jerome Marchand
Signed-off-by: Jens Axboe -
Due to an apparent typo, commit a67d18f89f5782806135aad4ee012ff78d45aae7
(NFS: load the rpc/rdma transport module automatically) lead to the
'proto=' mount option doing a double free, while Opt_mountproto leaks a
string.Signed-off-by: Trond Myklebust
Signed-off-by: Linus Torvalds -
This makes the defautl ext3 data ordering mode (when no explicit
ordering is set) configurable, so as to allow people to default to
'data=writeback' and get the resulting latency improvements.This is a non-issue if a filesystem has been explicitly set to some
ordering (with 'tune2fs').Signed-off-by: Linus Torvalds
-
* 'linux-next' of git://git.infradead.org/ubifs-2.6:
UBIFS: fix recovery bug
UBIFS: add R/O compatibility
UBIFS: fix compiler warnings
UBIFS: fully sort GCed nodes
UBIFS: fix commentaries
UBIFS: introduce a helpful variable
UBIFS: use KERN_CONT
UBIFS: fix lprops committing bug
UBIFS: fix bogus assertion
UBIFS: fix bug where page is marked uptodate when out of space
UBIFS: amend key_hash return value
UBIFS: improve find function interface
UBIFS: list usage cleanup
UBIFS: fix dbg_chk_lpt_sz() -
* 'linux-next' of git://git.infradead.org/ubi-2.6:
UBI: add fsync capability -
The CAP_KILL check in exit_notify() looks just wrong, kill it.
Whatever logic we have to reset ->exit_signal, the malicious user
can bypass it if it execs the setuid application before exiting.Signed-off-by: Oleg Nesterov
Acked-by: Serge Hallyn
Acked-by: Roland McGrath
Signed-off-by: Linus Torvalds -
* git://git.infradead.org/mtd-2.6: (53 commits)
[MTD] struct device - replace bus_id with dev_name(), dev_set_name()
[MTD] [NOR] Fixup for Numonyx M29W128 chips
[MTD] mtdpart: Make ecc_stats more realistic.
powerpc/85xx: TQM8548: Update DTS file for multi-chip support
powerpc: NAND: FSL UPM: document new bindings
[MTD] [NAND] FSL-UPM: Add wait flags to support board/chip specific delays
[MTD] [NAND] FSL-UPM: add multi chip support
[MTD] [NOR] Add device parent info to physmap_of
[MTD] [NAND] Add support for NAND on the Socrates board
[MTD] [NAND] Add support for 4KiB pages.
[MTD] sysfs support should not depend on CONFIG_PROC_FS
[MTD] [NAND] Add parent info for CAFÉ controller
[MTD] support driver model updates
[MTD] driver model updates (part 2)
[MTD] driver model updates
[MTD] [NAND] move gen_nand's probe function to .devinit.text
[MTD] [MAPS] move sa1100 flash's probe function to .devinit.text
[MTD] fix use after free in register_mtd_blktrans
[MTD] [MAPS] Drop now unused sharpsl-flash map
[MTD] ofpart: Check name property to determine partition nodes.
...Manually fix trivial conflict in drivers/mtd/maps/Makefile
-
As noted by Janne Grunau it would be good if the date was also right.
(Web site also resynched)
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Fix this build error:
drivers/md/raid1.c: In function 'raid1_congested':
drivers/md/raid1.c:589: error: 'BDI_write_congested' undeclaredBDI_write_congested was changed in commit 1faa16d228 ("block: change the
request allocation/congestion logic to be sync/async based")Signed-off-by: Alexander Beregalov
Cc: Neil Brown
Cc: Jens Axboe
Signed-off-by: Linus Torvalds -
The 8430 patch was short a const so caused a warning.
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Signed-off-by: Roel Kluin
Signed-off-by: Andrew Morton
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
There are various bits of code here that are unfinished and instead of
being harmless either confuse or spew stuff into the logs at higher than
debug level. They can and should go away.Also remove the bogus use of tty->lowlatency. We fixed the need for this hack
long ago (with the flip buffer rewrite) but people keep copying it into drivers.Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Closes bug 9065
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Bugzilla #9095 and a couple of other confirmations
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Signed-off-by: Breno Leitao
Signed-off-by: Andrew Morton
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Fixes:
In file included from drivers/serial/mux.c:37:
include/linux/serial_core.h: In function 'uart_handle_sysrq_char':
include/linux/serial_core.h:467: error: 'struct uart_port' has no member named 'sysrq'
include/linux/serial_core.h:468: error: 'struct uart_port' has no member named 'sysrq'Signed-off-by: Alexander Beregalov
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
As it was, the retval was never returned, so its assignments were silly.
Just consolidate everything to rc, and remove the unused retval variable.Signed-off-by: Breno Leitao
Signed-off-by: Andrew Morton
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Signed-off-by: Breno Leitao
Signed-off-by: Andrew Morton
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
mxser_check_modem_status is called with tty parameter, so the
reference should be increased by callers already -- for ioctl
syscall it is held whole time gap since open to close, for
interrupt, the reference count is increased in the irq handler.There is no tty_kref_put in that function, so this also fixes
a refcounting bug.Signed-off-by: Jiri Slaby
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
There is missing tty_kref_put on some paths in moxa_poll_port,
although the reference is always taken. Fix it.Signed-off-by: Jiri Slaby
Reported-by: Jan 'Yenya' Kasprzak
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
The isicom driver leaks a kref on the shutdown path. Drop the additional
kref we tookSigned-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Found by Daniel Marjamäki using cppcheck
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
The riscom8 module is missing the char-major-48-* alias that would cause
it to be auto-loaded when a device of that type is opened. This patch
adds the alias.Signed-off-by: Scott James Remnant
Signed-off-by: Tim Gardner
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
The cdc_acm module is missing the char-major-166-* alias that would
cause it to be auto-loaded when a device of that type is opened. This
patch adds the alias.Signed-off-by: Scott James Remnant
Signed-off-by: Tim Gardner
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
The specialix module is missing the char-major-75-* alias that would
cause it to be auto-loaded when a device of that type is opened. This
patch adds the alias.Signed-off-by: Scott James Remnant
Signed-off-by: Tim Gardner
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
The cyclades module is missing the char-major-19-* alias that would
cause it to be auto-loaded when a device of that type is opened. This
patch adds the alias.Signed-off-by: Scott James Remnant
Signed-off-by: Tim Gardner
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
The applicom module is missing the char-major-10-157 alias that would
cause it to be auto-loaded when a device of that type is opened. This
patch adds the alias.Signed-off-by: Scott James Remnant
Signed-off-by: Tim Gardner
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Fix bug - up arrow key works abnormal for bf561 ezkit board
Signed-off-by: Graf Yang
Signed-off-by: Bryan Wu
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Reported-by: Qian Zhang
Signed-off-by: Sonic Zhang
Signed-off-by: Bryan Wu
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Fixes this compile issue:
drivers/serial/bfin_5xx.c: In function bfin_serial_rx_chars:
drivers/serial/bfin_5xx.c:178: error: struct uart_info has no member named ttySigned-off-by: Sonic Zhang
Signed-off-by: Bryan Wu
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Signed-off-by: Mike Frysinger
Signed-off-by: Bryan Wu
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Enable third UART on BF538/9
Signed-off-by: Michael Hennerich
Signed-off-by: Bryan Wu
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Signed-off-by: Will Page
Signed-off-by: Shawn Bohrer
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
This implements basic support for all 843x RS232 devices, but does not
add DMA support. This means that sustained data transfers at high baud
rates may not be possible on multiple ports simultaneously.Signed-off-by: Shawn Bohrer
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds -
Add new Wacom device IDs to the 8250_pnp serial driver, to support
autoconfig on some newer tablet PCs. Also add a comment to clarify that
the FUJ02E6 device is a custom protocol, not a Wacom tablet.Signed-off-by: Matthew Garrett
Signed-off-by: Andrew Morton
Signed-off-by: Alan Cox
Signed-off-by: Linus Torvalds