04 Dec, 2009
1 commit
-
That is "success", "unknown", "through", "performance", "[re|un]mapping"
, "access", "default", "reasonable", "[con]currently", "temperature"
, "channel", "[un]used", "application", "example","hierarchy", "therefore"
, "[over|under]flow", "contiguous", "threshold", "enough" and others.Signed-off-by: André Goddard Rosa
Signed-off-by: Jiri Kosina
22 Sep, 2009
1 commit
-
Signed-off-by: Alexey Dobriyan
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
18 Jul, 2009
1 commit
-
If kthread_run() fails or never gets to run we'll have NULL
or a pointer encoded error in kenvctrld_task, rather than
a legitimate task pointer.So this makes bbc_envctrl_cleanup() crash as it passed this
bogus pointer into kthread_stop().Reported-by: BERTRAND Joël
Signed-off-by: David S. Miller
16 Jun, 2009
1 commit
-
drivers/sbus/char/openprom.c: In function ‘openprom_sunos_ioctl’:
drivers/sbus/char/openprom.c:306: warning: ‘opp’ may be used uninitialized in this functionSigned-off-by: David S. Miller
11 May, 2009
4 commits
-
Till now block layer allowed two separate modes of request execution.
A request is always acquired from the request queue via
elv_next_request(). After that, drivers are free to either dequeue it
or process it without dequeueing. Dequeue allows elv_next_request()
to return the next request so that multiple requests can be in flight.Executing requests without dequeueing has its merits mostly in
allowing drivers for simpler devices which can't do sg to deal with
segments only without considering request boundary. However, the
benefit this brings is dubious and declining while the cost of the API
ambiguity is increasing. Segment based drivers are usually for very
old or limited devices and as converting to dequeueing model isn't
difficult, it doesn't justify the API overhead it puts on block layer
and its more modern users.Previous patches converted all block low level drivers to dequeueing
model. This patch completes the API transition by...* renaming elv_next_request() to blk_peek_request()
* renaming blkdev_dequeue_request() to blk_start_request()
* adding blk_fetch_request() which is combination of peek and start
* disallowing completion of queued (not started) requests
* applying new API to all LLDs
Renamings are for consistency and to break out of tree code so that
it's apparent that out of tree drivers need updating.[ Impact: block request issue API cleanup, no functional change ]
Signed-off-by: Tejun Heo
Cc: Rusty Russell
Cc: James Bottomley
Cc: Mike Miller
Cc: unsik Kim
Cc: Paul Clements
Cc: Tim Waugh
Cc: Geert Uytterhoeven
Cc: David S. Miller
Cc: Laurent Vivier
Cc: Jeff Garzik
Cc: Jeremy Fitzhardinge
Cc: Grant Likely
Cc: Adrian McMenamin
Cc: Stephen Rothwell
Cc: Bartlomiej Zolnierkiewicz
Cc: Borislav Petkov
Cc: Sergei Shtylyov
Cc: Alex Dubov
Cc: Pierre Ossman
Cc: David Woodhouse
Cc: Markus Lidel
Cc: Stefan Weinhuber
Cc: Martin Schwidefsky
Cc: Pete Zaitcev
Cc: FUJITA Tomonori
Signed-off-by: Jens Axboe -
jsflash processes requests one-by-one synchronously from a kthread and
can be easily converted to dequeueing model. Convert it.[ Impact: dequeue in-flight request ]
Signed-off-by: Tejun Heo
Cc: Pete Zaitcev
Signed-off-by: Jens Axboe -
With the previous changes, the followings are now guaranteed for all
requests in any valid state.* blk_rq_sectors() == blk_rq_bytes() >> 9
* blk_rq_cur_sectors() == blk_rq_cur_bytes() >> 9Clean up accessor usages. Notable changes are
* nbd,i2o_block: end_all used instead of explicit byte count
* scsi_lib: unnecessary conditional on request type removed[ Impact: cleanup ]
Signed-off-by: Tejun Heo
Cc: Paul Clements
Cc: Pete Zaitcev
Cc: Alex Dubov
Cc: Markus Lidel
Cc: David Woodhouse
Cc: James Bottomley
Cc: Boaz Harrosh
Signed-off-by: Jens Axboe -
With recent cleanups, there is no place where low level driver
directly manipulates request fields. This means that the 'hard'
request fields always equal the !hard fields. Convert all
rq->sectors, nr_sectors and current_nr_sectors references to
accessors.While at it, drop superflous blk_rq_pos() < 0 test in swim.c.
[ Impact: use pos and nr_sectors accessors ]
Signed-off-by: Tejun Heo
Acked-by: Geert Uytterhoeven
Tested-by: Grant Likely
Acked-by: Grant Likely
Tested-by: Adrian McMenamin
Acked-by: Adrian McMenamin
Acked-by: Mike Miller
Cc: James Bottomley
Cc: Bartlomiej Zolnierkiewicz
Cc: Borislav Petkov
Cc: Sergei Shtylyov
Cc: Eric Moore
Cc: Alan Stern
Cc: FUJITA Tomonori
Cc: Pete Zaitcev
Cc: Stephen Rothwell
Cc: Paul Clements
Cc: Tim Waugh
Cc: Jeff Garzik
Cc: Jeremy Fitzhardinge
Cc: Alex Dubov
Cc: David Woodhouse
Cc: Martin Schwidefsky
Cc: Dario Ballabio
Cc: David S. Miller
Cc: Rusty Russell
Cc: unsik Kim
Cc: Laurent Vivier
Signed-off-by: Jens Axboe
28 Apr, 2009
1 commit
-
end_request() has been kept around for backward compatibility;
however, it's about time for it to go away.* There aren't too many users left.
* Its use of @updtodate is pretty confusing.
* In some cases, newer code ends up using mixture of end_request() and
[__]blk_end_request[_all](), which is way too confusing.So, add [__]blk_end_request_cur() and replace end_request() with it.
Most conversions are straightforward. Noteworthy ones are...* paride/pcd: next_request() updated to take 0/-errno instead of 1/0.
* paride/pf: pf_end_request() and next_request() updated to take
0/-errno instead of 1/0.* xd: xd_readwrite() updated to return 0/-errno instead of 1/0.
* mtd/mtd_blkdevs: blktrans_discard_request() updated to return
0/-errno instead of 1/0. Unnecessary local variable res
initialization removed from mtd_blktrans_thread().[ Impact: cleanup ]
Signed-off-by: Tejun Heo
Acked-by: Joerg Dorchain
Acked-by: Geert Uytterhoeven
Acked-by: Grant Likely
Acked-by: Laurent Vivier
Cc: Tim Waugh
Cc: Stephen Rothwell
Cc: Paul Mackerras
Cc: Jeremy Fitzhardinge
Cc: Markus Lidel
Cc: David Woodhouse
Cc: Pete Zaitcev
Cc: unsik Kim
15 Apr, 2009
1 commit
-
Signed-off-by: Stoyan Gaydarov
Signed-off-by: David S. Miller
14 Mar, 2009
1 commit
-
The openprom module is missing the char-major-10-139 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: David S. Miller
04 Mar, 2009
2 commits
-
wait_event_interruptible_timeout may return -ERESTARTSYS.
Signed-off-by: Roel Kluin
Signed-off-by: David S. Miller -
Ever since early 2.5 kernels block drivers don't need to define MAJOR_NR
anymore, so use the JSFD_MAJOR defined directly and kill it.Signed-off-by: Christoph Hellwig
Signed-off-by: David S. Miller
07 Jan, 2009
1 commit
-
Fix warnings caused by the unsigned long long usage in sparc
specific drivers.The drivers were considered sparc specific more or less from the
filename alone.Signed-off-by: Sam Ravnborg
Signed-off-by: Andrew Morton
Signed-off-by: David S. Miller
01 Dec, 2008
2 commits
-
This reverts commit e669dae6141ff97d3c7566207f5de3b487dcf837, since it
is incomplete, and clashes with fuller patches and the sparc 32/64
unification effort.Requested-by: David Miller
Acked-by: Al Viro
Signed-off-by: Linus Torvalds -
switch to __init for those; unlike powerpc sparc has no hotplug support
for that stuff and their ->probe() tends to call __init functions while
being declared __devinit.Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
05 Nov, 2008
1 commit
-
Signed-off-by: Jianjun Kong
Signed-off-by: Linus Torvalds
04 Sep, 2008
1 commit
-
No longer used.
Signed-off-by: David S. Miller
31 Aug, 2008
1 commit
-
As suggested by Stephen Rothwell.
Signed-off-by: David S. Miller
30 Aug, 2008
8 commits
-
Signed-off-by: David S. Miller
-
This thing was a mess, who wrote this junk? :)
Luckily we'll soon have nice generic I2C layer drivers for this PCF
based I2C stuff on sparc64.Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
The config stuff was already in drivers/watchdog/Kconfig
Signed-off-by: David S. Miller
-
This also cleans up a lot of crud in this driver:
1) Don't touch the BBC regs, just leave the watchdog trigger
behavior whatever the firmware programmed it to.2) Use WATCHDOG_MINOR instead of hardcoded and not properly
allocated RIOWD_MINOR.Hey, I haven't touched it since I wrote it years ago :-)
Signed-off-by: David S. Miller
29 Aug, 2008
12 commits
-
The individual SBUS IOMMU arch code now sets the IOMMU information
directly into the OF device objects.Signed-off-by: David S. Miller
-
32-bit sparc just needed it to register the ioport procfs bits, do this
via an arch_initcall() instead.Signed-off-by: David S. Miller
-
Unused.
Signed-off-by: David S. Miller
-
No drivers or code uses this stuff any more, every driver has been
converted over to OF device probing.Signed-off-by: David S. Miller
-
All the drivers use OF device objects now for this
information.Signed-off-by: David S. Miller
-
IRQs are obtained by drivers from the of_device struct.
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
-
This thing was completely pointless.
Just find the OF device in the parent of drivers that want to program
this device, and map the DMA regs inside such drivers too.This also moves the dummy claim_dma_lock() and release_dma_lock()
implementation to floppy_32.h, which makes it handle this issue
just like floppy_64.h does.Signed-off-by: David S. Miller
-
This has been marked BROKEN for a long time and it's more likely
to get rewritten from scratch than to be fixed up and made usable.Signed-off-by: David S. Miller
-
Signed-off-by: David S. Miller
12 Aug, 2008
1 commit
-
Signed-off-by: Stephen Rothwell
Signed-off-by: David S. Miller