16 Jun, 2014
1 commit
-
Keep the per-device dbf entries until module is removed, with
proper error checking for debug feature setup.Signed-off-by: Stefan Raspl
Reviewed-by: Steffen Maier
Signed-off-by: Martin Schwidefsky
10 Apr, 2013
1 commit
-
Signed-off-by: Al Viro
28 Feb, 2013
1 commit
-
Remove unused function parameters.
Signed-off-by: Stefan Raspl
Signed-off-by: Martin Schwidefsky
23 Feb, 2013
1 commit
-
Signed-off-by: Al Viro
20 Jul, 2012
1 commit
-
Remove the file name from the comment at top of many files. In most
cases the file name was wrong anyway, so it's rather pointless.Also unify the IBM copyright statement. We did have a lot of sightly
different statements and wanted to change them one after another
whenever a file gets touched. However that never happened. Instead
people start to take the old/"wrong" statements to use as a template
for new files.
So unify all of them in one go.Signed-off-by: Heiko Carstens
07 Nov, 2011
1 commit
-
* 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux: (230 commits)
Revert "tracing: Include module.h in define_trace.h"
irq: don't put module.h into irq.h for tracking irqgen modules.
bluetooth: macroize two small inlines to avoid module.h
ip_vs.h: fix implicit use of module_get/module_put from module.h
nf_conntrack.h: fix up fallout from implicit moduleparam.h presence
include: replace linux/module.h with "struct module" wherever possible
include: convert various register fcns to macros to avoid include chaining
crypto.h: remove unused crypto_tfm_alg_modname() inline
uwb.h: fix implicit use of asm/page.h for PAGE_SIZE
pm_runtime.h: explicitly requires notifier.h
linux/dmaengine.h: fix implicit use of bitmap.h and asm/page.h
miscdevice.h: fix up implicit use of lists and types
stop_machine.h: fix implicit use of smp.h for smp_processor_id
of: fix implicit use of errno.h in include/linux/of.h
of_platform.h: delete needless include
acpi: remove module.h include from platform/aclinux.h
miscdevice.h: delete unnecessary inclusion of module.h
device_cgroup.h: delete needless include
net: sch_generic remove redundant use of
net: inet_timewait_sock doesnt need
...Fix up trivial conflicts (other header files, and removal of the ab3550 mfd driver) in
- drivers/media/dvb/frontends/dibx000_common.c
- drivers/media/video/{mt9m111.c,ov6650.c}
- drivers/mfd/ab3550-core.c
- include/linux/dmaengine.h
01 Nov, 2011
1 commit
-
Fix several compile errors on s390 caused by splitting module.h.
Some include additions [e.g. qdio_setup.c, zfcp_qdio.c] are in
anticipation of pending changes queued for s390 that increase
the modular use footprint.[PG: added additional obvious changes since Heiko's original patch]
Signed-off-by: Heiko Carstens
Signed-off-by: Paul Gortmaker
30 Oct, 2011
1 commit
-
Add a timestamp per queue and update the timestamp when the queue is
scanned. Add the queue timestamps and the timestamp of the last
adapter interrupt to the debugfs output. The timestamps are useful
for debugging stall conditions.Signed-off-by: Jan Glauber
Signed-off-by: Martin Schwidefsky
13 Aug, 2011
1 commit
-
This patch introduces support for asynchronous delivery of storage blocks for
Hipersockets. Upper layers may exploit this functionality to reuse SBALs for
which the delivery status is still pending.Signed-off-by: Einar Lueck
Signed-off-by: Jan Glauber
Signed-off-by: Frank Blaschka
Signed-off-by: David S. Miller
03 Aug, 2011
1 commit
-
This patch replaces the code for getting an unsigned long from a
userspace buffer by a simple call to kstroul_from_user.
This makes it easier to read and less error prone.Signed-off-by: Peter Huewe
Acked-by: Jan Glauber
Signed-off-by: Heiko Carstens
05 Jan, 2011
1 commit
-
Add a counter for outbound queue full events to the qdio statistics.
Signed-off-by: Jan Glauber
Signed-off-by: Martin Schwidefsky
09 Sep, 2010
1 commit
-
Extend the qdio API to allow polling in the upper-layer driver. This
is needed by qeth to use NAPI.To use the new interface the upper-layer driver must specify the
queue_start_poll(). This callback is used to signal the upper-layer
driver that is has initiative and must process the inbound queue by
calling qdio_get_next_buffers(). If the upper-layer driver wants to
stop polling it calls qdio_start_irq().Since adapter interrupts are not completely stoppable qdio implements
a software bit QDIO_QUEUE_IRQS_DISABLED to safely disable interrupts for an
input queue.The old interface is preserved and will be used as is by zfcp.
Signed-off-by: Jan Glauber
Signed-off-by: Martin Schwidefsky
Signed-off-by: Frank Blaschka
Signed-off-by: David S. Miller
08 Mar, 2010
1 commit
-
zfcp and qeth are setting flags for the qdio-layer, but these flags
are not used in qdio. Patch removes the flag definitions from qdio
and their settings in zfcp and qeth.Cc: Jan Glauber
Cc: Christof Schmitt
Signed-off-by: Ursula Braun
Signed-off-by: Martin Schwidefsky
27 Feb, 2010
1 commit
-
Add counters for the number of processed SBALs. The numbers summarize
how many SBALs were processed at each queue scan and indicate the
utilization of the queue. Furthermore the number of unsuccessfull
queue scans, SBAL errors and the total number of processed
SBALs are accounted.Also regroup struct qdio_q to move read-mostly and write-mostly data
into different cachelines.Signed-off-by: Jan Glauber
Signed-off-by: Martin Schwidefsky
04 Jan, 2010
1 commit
-
Revamp the qdio performance statistics and move them from procfs to
debugfs using the seq_file interface. Since the statistics are not
intended for the general user the removal of /proc/qdio_perf should
not surprise anyone.The per device statistics are disabled by default, writing 1 to
//qdio//statistics enables the
statistics for the given device.Signed-off-by: Jan Glauber
Signed-off-by: Martin Schwidefsky
02 Oct, 2009
1 commit
-
[akpm@linux-foundation.org: fix KVM]
Signed-off-by: Alexey Dobriyan
Acked-by: Mike Frysinger
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
11 Sep, 2009
1 commit
-
The number of qdio debugfs entries was limited. Remove this limit
and group the queue files in a per device directory.Signed-off-by: Jan Glauber
Signed-off-by: Martin Schwidefsky
22 Jun, 2009
1 commit
-
Move the adapter interrupt tasklet function to the qdio main code
since all the functions used by the tasklet are located there.Signed-off-by: Jan Glauber
Signed-off-by: Martin Schwidefsky
26 Mar, 2009
1 commit
-
The index value that indicated that the input queue moved was also used to
store the index of the first acknowledged buffer. For non-qebsm only the
newest buffer is acknowledged which may be different from the last move index
so two seperate values are needed to track the input queue.Signed-off-by: Jan Glauber
Signed-off-by: Martin Schwidefsky
09 Jan, 2009
1 commit
-
If CONFIG_DEBUG_FS is disabled debugfs_create_file returns -ENODEV instead
of zero. Since the return value is stored and used at shutdown to remove
existing entries an OOPS may be triggered.Add a check of the debugfs_create_file return value and in case of an error
set the entry to NULL so it will be ignored at shutdown.Signed-off-by: Jan Glauber
Signed-off-by: Martin Schwidefsky
25 Dec, 2008
2 commits
-
- Use automatic acknowledgement of incoming buffers in QEBSM mode
- Move ACK for non-QEBSM mode always to the newest buffer to prevent
a race with qdio_stop_polling
- Remove the polling spinlock, the upper layer drivers return new buffers
in the same code path and could not run in parallel
- Don't flood the error log in case of no-target-buffer-empty
- In handle_inbound we check if we would overwrite an ACK'ed buffer, if so
advance the pointer to the oldest ACK'ed buffer so we don't overwrite an
empty buffer in qdio_stop_pollingSigned-off-by: Jan Glauber
Signed-off-by: Martin Schwidefsky -
- make qdio_trace a per device view
- remove s390dbf exceptions
- remove CONFIG_QDIO_DEBUG, not needed anymore if we check for the level
before calling sprintf
- use snprintf for dbf entries
- add start markers to see if the dbf view wrapped
- add a global error view for all queuesSigned-off-by: Jan Glauber
Signed-off-by: Martin Schwidefsky
28 Oct, 2008
1 commit
-
Remove the memset since zeroing the string is not needed and use
snprintf instead of sprintf.Signed-off-by: Jan Glauber
Signed-off-by: Martin Schwidefsky
11 Oct, 2008
1 commit
-
Use dev_name() in the new qdio driver.
Signed-off-by: Cornelia Huck
Signed-off-by: Martin Schwidefsky
17 Jul, 2008
1 commit
-
List of major changes:
- split qdio driver into several files
- seperation of thin interrupt code
- improved handling for multiple thin interrupt devices
- inbound and outbound processing now always runs in tasklet context
- significant less tasklet schedules per interrupt needed
- merged qebsm with non-qebsm handling
- cleanup qdio interface and added kerneldoc
- coding styleReviewed-by: Cornelia Huck
Reviewed-by: Utz Bacher
Reviewed-by: Ursula Braun
Signed-off-by: Jan Glauber
Signed-off-by: Martin Schwidefsky
Signed-off-by: Heiko Carstens