mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
Char/Misc driver patches for 4.16-rc1
Here is the big pull request for char/misc drivers for 4.16-rc1. There's a lot of stuff in here. Three new driver subsystems were added for various types of hardware busses: - siox - slimbus - soundwire as well as a new vboxguest subsystem for the VirtualBox hypervisor drivers. There's also big updates from the FPGA subsystem, lots of Android binder fixes, the usual handful of hyper-v updates, and lots of other smaller driver updates. All of these have been in linux-next for a long time, with no reported issues. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> -----BEGIN PGP SIGNATURE----- iG0EABECAC0WIQT0tgzFv3jCIUoxPcsxR9QN2y37KQUCWnLuZw8cZ3JlZ0Brcm9h aC5jb20ACgkQMUfUDdst+ynS4QCcCrPmwfD5PJwaF+q2dPfyKaflkQMAn0x6Wd+u Gw3Z2scgjETUpwJ9ilnL =xcQ0 -----END PGP SIGNATURE----- Merge tag 'char-misc-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc Pull char/misc driver updates from Greg KH: "Here is the big pull request for char/misc drivers for 4.16-rc1. There's a lot of stuff in here. Three new driver subsystems were added for various types of hardware busses: - siox - slimbus - soundwire as well as a new vboxguest subsystem for the VirtualBox hypervisor drivers. There's also big updates from the FPGA subsystem, lots of Android binder fixes, the usual handful of hyper-v updates, and lots of other smaller driver updates. All of these have been in linux-next for a long time, with no reported issues" * tag 'char-misc-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (155 commits) char: lp: use true or false for boolean values android: binder: use VM_ALLOC to get vm area android: binder: Use true and false for boolean values lkdtm: fix handle_irq_event symbol for INT_HW_IRQ_EN EISA: Delete error message for a failed memory allocation in eisa_probe() EISA: Whitespace cleanup misc: remove AVR32 dependencies virt: vbox: Add error mapping for VERR_INVALID_NAME and VERR_NO_MORE_FILES soundwire: Fix a signedness bug uio_hv_generic: fix new type mismatch warnings uio_hv_generic: fix type mismatch warnings auxdisplay: img-ascii-lcd: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE uio_hv_generic: add rescind support uio_hv_generic: check that host supports monitor page uio_hv_generic: create send and receive buffers uio: document uio_hv_generic regions doc: fix documentation about uio_hv_generic vmbus: add monitor_id and subchannel_id to sysfs per channel vmbus: fix ABI documentation uio_hv_generic: use ISR callback method ...
This commit is contained in:
commit
f6cff79f1d
150 changed files with 14288 additions and 1142 deletions
66
include/trace/events/siox.h
Normal file
66
include/trace/events/siox.h
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
#undef TRACE_SYSTEM
|
||||
#define TRACE_SYSTEM siox
|
||||
|
||||
#if !defined(_TRACE_SIOX_H) || defined(TRACE_HEADER_MULTI_READ)
|
||||
#define _TRACE_SIOX_H
|
||||
|
||||
#include <linux/tracepoint.h>
|
||||
|
||||
TRACE_EVENT(siox_set_data,
|
||||
TP_PROTO(const struct siox_master *smaster,
|
||||
const struct siox_device *sdevice,
|
||||
unsigned int devno, size_t bufoffset),
|
||||
TP_ARGS(smaster, sdevice, devno, bufoffset),
|
||||
TP_STRUCT__entry(
|
||||
__field(int, busno)
|
||||
__field(unsigned int, devno)
|
||||
__field(size_t, inbytes)
|
||||
__dynamic_array(u8, buf, sdevice->inbytes)
|
||||
),
|
||||
TP_fast_assign(
|
||||
__entry->busno = smaster->busno;
|
||||
__entry->devno = devno;
|
||||
__entry->inbytes = sdevice->inbytes;
|
||||
memcpy(__get_dynamic_array(buf),
|
||||
smaster->buf + bufoffset, sdevice->inbytes);
|
||||
),
|
||||
TP_printk("siox-%d-%u [%*phD]",
|
||||
__entry->busno,
|
||||
__entry->devno,
|
||||
(int)__entry->inbytes, __get_dynamic_array(buf)
|
||||
)
|
||||
);
|
||||
|
||||
TRACE_EVENT(siox_get_data,
|
||||
TP_PROTO(const struct siox_master *smaster,
|
||||
const struct siox_device *sdevice,
|
||||
unsigned int devno, u8 status_clean,
|
||||
size_t bufoffset),
|
||||
TP_ARGS(smaster, sdevice, devno, status_clean, bufoffset),
|
||||
TP_STRUCT__entry(
|
||||
__field(int, busno)
|
||||
__field(unsigned int, devno)
|
||||
__field(u8, status_clean)
|
||||
__field(size_t, outbytes)
|
||||
__dynamic_array(u8, buf, sdevice->outbytes)
|
||||
),
|
||||
TP_fast_assign(
|
||||
__entry->busno = smaster->busno;
|
||||
__entry->devno = devno;
|
||||
__entry->status_clean = status_clean;
|
||||
__entry->outbytes = sdevice->outbytes;
|
||||
memcpy(__get_dynamic_array(buf),
|
||||
smaster->buf + bufoffset, sdevice->outbytes);
|
||||
),
|
||||
TP_printk("siox-%d-%u (%02hhx) [%*phD]",
|
||||
__entry->busno,
|
||||
__entry->devno,
|
||||
__entry->status_clean,
|
||||
(int)__entry->outbytes, __get_dynamic_array(buf)
|
||||
)
|
||||
);
|
||||
|
||||
#endif /* if !defined(_TRACE_SIOX_H) || defined(TRACE_HEADER_MULTI_READ) */
|
||||
|
||||
/* This part must be outside protection */
|
||||
#include <trace/define_trace.h>
|
||||
Loading…
Reference in a new issue