Chad Dupuis
078d719957
scsi: qedf: Change MSI-X load error message
...
Change the message to display load failure.
Signed-off-by: Chad Dupuis <[email protected] >
Signed-off-by: Saurav Kashyap <[email protected] >
Signed-off-by: Martin K. Petersen <[email protected] >
2019-04-29 08:34:09 -04:00
Manish Rangankar
3252688f09
scsi: qedi: Adjust termination and offload ramrod timers
...
Whenever offload ramrod is issued, firmware wants driver to wait for max 5
secs, otherwise driver can initiate further corrective action. Similarly,
when termination ramrod is issued, irrespective of abortive or non-abortive
termination, driver should wait for 60 sec * max TCP-RT timeout.
[mkp: typos]
Signed-off-by: Manish Rangankar <[email protected] >
Signed-off-by: Martin K. Petersen <[email protected] >
2019-04-29 08:34:09 -04:00
Manish Rangankar
f848bfd8e1
scsi: qedi: Abort ep termination if offload not scheduled
...
Sometimes during connection recovery when there is a failure to resolve
ARP, and offload connection was not issued, driver tries to flush pending
offload connection work which was not queued up.
kernel: WARNING: CPU: 19 PID: 10110 at kernel/workqueue.c:3030 __flush_work.isra.34+0x19c/0x1b0
kernel: CPU: 19 PID: 10110 Comm: iscsid Tainted: G W 5.1.0-rc4 #11
kernel: Hardware name: Dell Inc. PowerEdge R730/0599V5, BIOS 2.9.1 12/04/2018
kernel: RIP: 0010:__flush_work.isra.34+0x19c/0x1b0
kernel: Code: 8b fb 66 0f 1f 44 00 00 31 c0 eb ab 48 89 ef c6 07 00 0f 1f 40 00 fb 66 0f 1f 44 00 00 31 c0 eb 96 e8 08 16 fe ff 0f 0b eb 8d <0f> 0b 31 c0 eb 87 0f 1f 40 00 66 2e 0f 1
f 84 00 00 00 00 00 0f 1f
kernel: RSP: 0018:ffffa6b4054dba68 EFLAGS: 00010246
kernel: RAX: 0000000000000000 RBX: ffff91df21c36fc0 RCX: 0000000000000000
kernel: RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff91df21c36fc0
kernel: RBP: ffff91df21c36ef0 R08: 0000000000000000 R09: 0000000000000000
kernel: R10: 0000000000000038 R11: ffffa6b4054dbd60 R12: ffffffffc05e72c0
kernel: R13: ffff91db10280820 R14: 0000000000000048 R15: 0000000000000000
kernel: FS: 00007f5d83cc1740(0000) GS:ffff91df2f840000(0000) knlGS:0000000000000000
kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 0000000001cc5000 CR3: 0000000465450002 CR4: 00000000001606e0
kernel: Call Trace:
kernel: ? try_to_del_timer_sync+0x4d/0x80
kernel: qedi_ep_disconnect+0x3b/0x410 [qedi]
kernel: ? 0xffffffffc083c000
kernel: ? klist_iter_exit+0x14/0x20
kernel: ? class_find_device+0x93/0xf0
kernel: iscsi_if_ep_disconnect.isra.18+0x58/0x70 [scsi_transport_iscsi]
kernel: iscsi_if_recv_msg+0x10e2/0x1510 [scsi_transport_iscsi]
kernel: ? copyout+0x22/0x30
kernel: ? _copy_to_iter+0xa0/0x430
kernel: ? _cond_resched+0x15/0x30
kernel: ? __kmalloc_node_track_caller+0x1f9/0x270
kernel: iscsi_if_rx+0xa5/0x1e0 [scsi_transport_iscsi]
kernel: netlink_unicast+0x17f/0x230
kernel: netlink_sendmsg+0x2d2/0x3d0
kernel: sock_sendmsg+0x36/0x50
kernel: ___sys_sendmsg+0x280/0x2a0
kernel: ? timerqueue_add+0x54/0x80
kernel: ? enqueue_hrtimer+0x38/0x90
kernel: ? hrtimer_start_range_ns+0x19f/0x2c0
kernel: __sys_sendmsg+0x58/0xa0
kernel: do_syscall_64+0x5b/0x180
kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9
Signed-off-by: Manish Rangankar <[email protected] >
Signed-off-by: Martin K. Petersen <[email protected] >
2019-04-29 08:34:08 -04:00
Varun Prakash
e95a5e4b1a
scsi: csiostor: create per port irq affinity mask set
...
csiostor driver allocates per port num_online_cpus() irq vectors, so create
per-port irq affinity mask set to spread irq vectors evenly.
Signed-off-by: Varun Prakash <[email protected] >
Signed-off-by: Martin K. Petersen <[email protected] >
2019-04-29 08:34:08 -04:00
Nathan Fontenot
b2d3b5ee66
powerpc/pseries: Track LMB nid instead of using device tree
...
When removing memory we need to remove the memory from the node
it was added to instead of looking up the node it should be in
in the device tree.
During testing we have seen scenarios where the affinity for a
LMB changes due to a partition migration or PRRN event. In these
cases the node the LMB exists in may not match the node the device
tree indicates it belongs in. This can lead to a system crash
when trying to DLPAR remove the LMB after a migration or PRRN
event. The current code looks up the node in the device tree to
remove the LMB from, the crash occurs when we try to offline this
node and it does not have any data, i.e. node_data[nid] == NULL.
36:mon> e
cpu 0x36: Vector: 300 (Data Access) at [c0000001828b7810]
pc: c00000000036d08c: try_offline_node+0x2c/0x1b0
lr: c0000000003a14ec: remove_memory+0xbc/0x110
sp: c0000001828b7a90
msr: 800000000280b033
dar: 9a28
dsisr: 40000000
current = 0xc0000006329c4c80
paca = 0xc000000007a55200 softe: 0 irq_happened: 0x01
pid = 76926, comm = kworker/u320:3
36:mon> t
[link register ] c0000000003a14ec remove_memory+0xbc/0x110
[c0000001828b7a90] c00000000006a1cc arch_remove_memory+0x9c/0xd0 (unreliable)
[c0000001828b7ad0] c0000000003a14e0 remove_memory+0xb0/0x110
[c0000001828b7b20] c0000000000c7db4 dlpar_remove_lmb+0x94/0x160
[c0000001828b7b60] c0000000000c8ef8 dlpar_memory+0x7e8/0xd10
[c0000001828b7bf0] c0000000000bf828 handle_dlpar_errorlog+0xf8/0x160
[c0000001828b7c60] c0000000000bf8cc pseries_hp_work_fn+0x3c/0xa0
[c0000001828b7c90] c000000000128cd8 process_one_work+0x298/0x5a0
[c0000001828b7d20] c000000000129068 worker_thread+0x88/0x620
[c0000001828b7dc0] c00000000013223c kthread+0x1ac/0x1c0
[c0000001828b7e30] c00000000000b45c ret_from_kernel_thread+0x5c/0x80
To resolve this we need to track the node a LMB belongs to when
it is added to the system so we can remove it from that node instead
of the node that the device tree indicates it should belong to.
Signed-off-by: Nathan Fontenot <[email protected] >
Signed-off-by: Michael Ellerman <[email protected] >
2019-04-29 22:27:16 +10:00
Wei Yongjun
c2d1812600
usb: typec: ucsi: ccg: fix missing unlock on error in ccg_cmd_write_flash_row()
...
Add the missing unlock before return from function ccg_cmd_write_flash_row()
in the error handling case.
Fixes: 5c9ae5a875 ("usb: typec: ucsi: ccg: add firmware flashing support")
Signed-off-by: Wei Yongjun <[email protected] >
Acked-by: Heikki Krogerus <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2019-04-29 14:25:12 +02:00
Himanshu Madhani
a1f9ab4844
scsi: qla2xxx: Silence Successful ELS IOCB message
...
ELS IOCB done message should be moved to verbose logging to prevent
confusion about the error case v/s successful submission case.
[mkp: typos]
Signed-off-by: Himanshu Madhani <[email protected] >
Reviewed-by: Ewan D. Milne <[email protected] >
Signed-off-by: Martin K. Petersen <[email protected] >
2019-04-29 08:13:43 -04:00
Quinn Tran
2137490f21
scsi: qla2xxx: Fix device staying in blocked state
...
This patch fixes issue reported by some of the customers, who discovered
that after cable pull scenario the devices disappear and path seems to
remain in blocked state. Once the device reappears, driver does not seem to
update path to online. This issue appears because of the defer flag
creating race condition where the same session reappears. This patch fixes
this issue by indicating SCSI-ML of device lost when
qlt_free_session_done() is called from qlt_unreg_sess().
Fixes: 41dc529a46 ("qla2xxx: Improve RSCN handling in driver")
Signed-off-by: Quinn Tran <[email protected] >
Cc: [email protected] #4.19
Signed-off-by: Himanshu Madhani <[email protected] >
Reviewed-by: Ewan D. Milne <[email protected] >
Signed-off-by: Martin K. Petersen <[email protected] >
2019-04-29 08:13:43 -04:00
Christoph Hellwig
c6bcc59236
scsi: aic7xxx: improve the Kconfig entry
...
There is no old vs new driver anymore.
Signed-off-by: Christoph Hellwig <[email protected] >
Signed-off-by: Martin K. Petersen <[email protected] >
2019-04-29 08:13:43 -04:00
Andrew Jones
dbcdae185a
Documentation: kvm: fix dirty log ioctl arch lists
...
KVM_GET_DIRTY_LOG is implemented by all architectures, not just x86,
and KVM_CAP_MANUAL_DIRTY_LOG_PROTECT is additionally implemented by
arm, arm64, and mips.
Signed-off-by: Andrew Jones <[email protected] >
Signed-off-by: Paolo Bonzini <[email protected] >
2019-04-29 14:06:04 +02:00
Greg Kroah-Hartman
e21107aa6b
Merge tag 'soundwire-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire into char-misc-next
...
Vinod writes:
soundwire updates for v5.2-rc1
This round saw interest from Intel, Linaro and Cadence in
Soundwire. More patches are in pipeline (maybe next cycle)
- removal of useless initialzation in core
- couple of header and kcalloc inversion fixes on Intel driver
* tag 'soundwire-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire:
soundwire: intel: fix implicit header use of module.h/export.h
soundwire: stream: remove useless initialization of local variable
soundwire: remove useless initializations
soundwire: intel: fix inversion in devm_kcalloc parameters
2019-04-29 13:42:37 +02:00
Biju Das
5f2c54e715
dt-bindings: usb: renesas_usbhs: Add support for r8a77470
...
Document support for RZ/G1C (R8A77470) SoC.
Signed-off-by: Biju Das <[email protected] >
Reviewed-by: Rob Herring <[email protected] >
Reviewed-by: Simon Horman <[email protected] >
Reviewed-by: Yoshihiro Shimoda <[email protected] >
Signed-off-by: Greg Kroah-Hartman <[email protected] >
2019-04-29 13:41:58 +02:00
james qian wang (Arm Technology China)
42c729418d
drm/komeda: Add komeda_kms_check
...
Implement komeda_kms_check to add all affected_planes (even unchanged) to
drm_atomic_state. since komeda need to re-calculate the resources
assumption in every commit.
v2: Rebase
Signed-off-by: James Qian Wang (Arm Technology China) <[email protected] >
Signed-off-by: Liviu Dudau <[email protected] >
2019-04-29 12:35:57 +01:00
james qian wang (Arm Technology China)
d29da5d8cd
drm/komeda: Add komeda_crtc_funcs
...
Added functions:
- komeda_crtc_reset
- komeda_crtc_vblank_enable
- komeda_crtc_vblank_disable
Signed-off-by: James Qian Wang (Arm Technology China) <[email protected] >
Signed-off-by: Liviu Dudau <[email protected] >
2019-04-29 12:35:57 +01:00
james qian wang (Arm Technology China)
98fe3f93a9
drm/komeda: Add komeda_crtc_vblank_enable/disable
...
Add a new komeda_dev_func->on_off_vblank to enable/disable HW vblank event
Signed-off-by: James Qian Wang (Arm Technology China) <[email protected] >
Signed-off-by: Liviu Dudau <[email protected] >
2019-04-29 12:35:57 +01:00
james qian wang (Arm Technology China)
b7925b61bd
drm/komeda: Add komeda_crtc_atomic_enable/disable
...
Pass enable/disable command to komeda and adjust komeda hardware for
enable/disable a display instance.
v2: Rebase
Signed-off-by: James Qian Wang (Arm Technology China) <[email protected] >
Signed-off-by: Liviu Dudau <[email protected] >
2019-04-29 12:35:57 +01:00
james qian wang (Arm Technology China)
20d84aa841
drm/komeda: Add komeda_crtc_prepare/unprepare
...
These two function will be used by komeda_crtc_enable/disable to do some
prepartion works when enable/disable a crtc. like enable a crtc:
1. Adjust display operation mode.
2. Enable/prepare needed clk.
v2: Rebase
Signed-off-by: James Qian Wang (Arm Technology China) <[email protected] >
Signed-off-by: Liviu Dudau <[email protected] >
2019-04-29 12:35:57 +01:00
james qian wang (Arm Technology China)
a2491b900d
drm/komeda: Add komeda_crtc_mode_valid/fixup
...
komeda_crtc_mode_valid compares the input mode->clk with main engine clk
and AXI clk, and reject the mode if the required pixel clk can not be
satisfied by main engine clk and AXI-clk.
Signed-off-by: James Qian Wang (Arm Technology China) <[email protected] >
Signed-off-by: Liviu Dudau <[email protected] >
2019-04-29 12:35:57 +01:00
james qian wang (Arm Technology China)
59dd6d58a5
drm/komeda: Add komeda_crtc_atomic_flush
...
A komeda flush is comprised two steps:
1. update pipeline/component state to HW.
2. call dev_func->flush to notify HW to kickoff the update.
Signed-off-by: James Qian Wang (Arm Technology China) <[email protected] >
Signed-off-by: Liviu Dudau <[email protected] >
2019-04-29 12:35:57 +01:00
james qian wang (Arm Technology China)
552b831cd5
drm/komeda: Add komeda_release_unclaimed_resources
...
Komeda driver treats KMS-CRTC/PLANE as user which will acquire pipeline
resources, but we still need to release the unclaimed resources.
crtc_atomic_check is the final check stage, so beside build a display data
pipeline according the crtc_state, but still needs to release/disable the
unclaimed pipeline resources.
v2: Rebase
Signed-off-by: James Qian Wang (Arm Technology China) <[email protected] >
Signed-off-by: Liviu Dudau <[email protected] >
2019-04-29 12:35:57 +01:00
james qian wang (Arm Technology China)
c3015342b3
drm/komeda: Add komeda_build_display_data_flow
...
This function builds a display output pipeline according to crtc_state.
And this change only added single pipeline support, the dual pipeline with
slave enabled data flow support will be added in the following change.
v2: Rebase
Signed-off-by: James Qian Wang (Arm Technology China) <[email protected] >
Signed-off-by: Liviu Dudau <[email protected] >
2019-04-29 12:35:56 +01:00
james qian wang (Arm Technology China)
9e56030941
drm/komeda: Add komeda_plane/plane_helper_funcs
...
Per komeda design KMS-plane maps to komeda layer input pipeline.
komeda_plane_atomic_check is for building a komeda layer input pipeline.
And KMS-plane is only a user of komeda resources. so there is no real HW
update for plane, but all HW update will be handled in crtc->flush.
v2: Rebase
Signed-off-by: James Qian Wang (Arm Technology China) <[email protected] >
Signed-off-by: Liviu Dudau <[email protected] >
2019-04-29 12:35:56 +01:00
james qian wang (Arm Technology China)
11bb22ee77
drm/komeda: Add komeda_build_layer_data_flow
...
build_layer_data_flow builds a input pipeline according to plane_state.
and in this initial stage only added this simplest pipeline usage:
Layer -> compiz
The scaler and layer_split will be added in the future.
v2:
- Rebase.
- Introduce struct komeda_data_flow_cfg
- Add a function komeda_component_validate_private to replace the MACRO
component_validate_private
Signed-off-by: James Qian Wang (Arm Technology China) <[email protected] >
Signed-off-by: Liviu Dudau <[email protected] >
2019-04-29 12:35:56 +01:00
james qian wang (Arm Technology China)
ee6b73d6b0
drm/komeda: Initialize komeda component as drm private object
...
Initialize koemda_layer, komeda_compiz, komeda_improc and
komeda_timing_ctrlr as drm private object, then track komeda private
component state by drm_atomic_state.
v2:
- Update code after Applied commit:
b962a12050 ("drm/atomic: integrate modeset lock with private objects")
Signed-off-by: James Qian Wang (Arm Technology China) <[email protected] >
Signed-off-by: Liviu Dudau <[email protected] >
2019-04-29 12:35:56 +01:00
james qian wang (Arm Technology China)
8d537d3bcb
drm/komeda: Add komeda_pipeline/component_get_state_and_set_user
...
get_state_and_set_user packed get_state and set_user into one function,
which get pipeline/component state for a specific pipeline/component, if
success set the user to it.
v2:
- Rebase.
- Applied commit:
b962a12050 ("drm/atomic: integrate modeset lock with private objects")
And delete our private modeset lock for pipeline.
Signed-off-by: James Qian Wang (Arm Technology China) <[email protected] >
Signed-off-by: Liviu Dudau <[email protected] >
2019-04-29 12:35:56 +01:00
james qian wang (Arm Technology China)
9801a7eadf
drm: Add drm_atomic_get_old/new_private_obj_state
...
This pair of functions return the old/new private object state for the
given private_obj, or NULL if the private_obj is not part of the global
atomic state.
Reviewed-by: Alexandru Gheorghe <[email protected] >
Signed-off-by: James Qian Wang (Arm Technology China) <[email protected] >
Signed-off-by: Liviu Dudau <[email protected] >
2019-04-29 12:35:56 +01:00
YueHaibing
ce9d3eceb7
lib/vsprintf: Make function pointer_string static
...
Fix sparse warning:
lib/vsprintf.c:673:6: warning:
symbol 'pointer_string' was not declared. Should it be static?
Link: http://lkml.kernel.org/r/[email protected]
To: <[email protected] >
To: <[email protected] >
To: <[email protected] >
To: <[email protected] >
Signed-off-by: YueHaibing <[email protected] >
Signed-off-by: Petr Mladek <[email protected] >
2019-04-29 12:39:58 +02:00
Thomas Gleixner
3599fe12a1
x86/stacktrace: Use common infrastructure
...
Replace the stack_trace_save*() functions with the new arch_stack_walk()
interfaces.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: [email protected]
Cc: Steven Rostedt <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:57 +02:00
Thomas Gleixner
214d8ca6ee
stacktrace: Provide common infrastructure
...
All architectures which support stacktrace carry duplicated code and
do the stack storage and filtering at the architecture side.
Provide a consolidated interface with a callback function for consuming the
stack entries provided by the architecture specific stack walker. This
removes lots of duplicated code and allows to implement better filtering
than 'skip number of entries' in the future without touching any
architecture specific code.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: [email protected]
Cc: Steven Rostedt <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:57 +02:00
Thomas Gleixner
56d8f079c5
lib/stackdepot: Remove obsolete functions
...
No more users of the struct stack_trace based interfaces.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Acked-by: Alexander Potapenko <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:57 +02:00
Thomas Gleixner
988ec8841c
stacktrace: Remove obsolete functions
...
No more users of the struct stack_trace based interfaces. Remove them.
Remove the macro stubs for !CONFIG_STACKTRACE as well as they are pointless
because the storage on the call sites is conditional on CONFIG_STACKTRACE
already. No point to be 'smart'.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:57 +02:00
Thomas Gleixner
25e39e32b0
livepatch: Simplify stack trace retrieval
...
Replace the indirection through struct stack_trace by using the storage
array based interfaces.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Acked-by: Miroslav Benes <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:56 +02:00
Thomas Gleixner
9f50c91b11
tracing: Remove the last struct stack_trace usage
...
Simplify the stack retrieval code by using the storage array based
interface.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Steven Rostedt (VMware) <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:56 +02:00
Thomas Gleixner
ee6dd0db4d
tracing: Simplify stack trace retrieval
...
Replace the indirection through struct stack_trace by using the storage
array based interfaces.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Steven Rostedt (VMware) <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:55 +02:00
Thomas Gleixner
c438f140cc
tracing: Make ftrace_trace_userstack() static and conditional
...
It's only used in trace.c and there is absolutely no point in compiling it
in when user space stack traces are not supported.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Steven Rostedt <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:55 +02:00
Thomas Gleixner
2a820bf749
tracing: Use percpu stack trace buffer more intelligently
...
The per cpu stack trace buffer usage pattern is odd at best. The buffer has
place for 512 stack trace entries on 64-bit and 1024 on 32-bit. When
interrupts or exceptions nest after the per cpu buffer was acquired the
stacktrace length is hardcoded to 8 entries. 512/1024 stack trace entries
in kernel stacks are unrealistic so the buffer is a complete waste.
Split the buffer into 4 nest levels, which are 128/256 entries per
level. This allows nesting contexts (interrupts, exceptions) to utilize the
cpu buffer for stack retrieval and avoids the fixed length allocation along
with the conditional execution pathes.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:55 +02:00
Thomas Gleixner
e7d916632b
tracing: Simplify stacktrace retrieval in histograms
...
The indirection through struct stack_trace is not necessary at all. Use the
storage array based interface.
Signed-off-by: Thomas Gleixner <[email protected] >
Tested-by: Tom Zanussi <[email protected] >
Reviewed-by: Tom Zanussi <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Acked-by: Steven Rostedt (VMware) <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:54 +02:00
Thomas Gleixner
c120bce780
lockdep: Simplify stack trace handling
...
Replace the indirection through struct stack_trace by using the storage
array based interfaces and storing the information is a small lockdep
specific data structure.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Acked-by: Peter Zijlstra (Intel) <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:54 +02:00
Thomas Gleixner
76b14436b4
lockdep: Remove save argument from check_prev_add()
...
There is only one caller which hands in save_trace as function pointer.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Acked-by: Peter Zijlstra (Intel) <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:53 +02:00
Thomas Gleixner
b1abe4622d
lockdep: Remove unused trace argument from print_circular_bug()
...
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:53 +02:00
Thomas Gleixner
487f3c7fb1
drm: Simplify stacktrace handling
...
Replace the indirection through struct stack_trace by using the storage
array based interfaces.
The original code in all printing functions is really wrong. It allocates a
storage array on stack which is unused because depot_fetch_stack() does not
store anything in it. It overwrites the entries pointer in the stack_trace
struct so it points to the depot storage.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Acked-by: Daniel Vetter <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:53 +02:00
Thomas Gleixner
be9c52ed84
dm persistent data: Simplify stack trace handling
...
Replace the indirection through struct stack_trace with an invocation of
the storage array based interface. This results in less storage space and
indirection.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:52 +02:00
Thomas Gleixner
741b58f3e2
dm bufio: Simplify stack trace retrieval
...
Replace the indirection through struct stack_trace with an invocation of
the storage array based interface.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:52 +02:00
Thomas Gleixner
6924f5feba
btrfs: ref-verify: Simplify stack trace retrieval
...
Replace the indirection through struct stack_trace with an invocation of
the storage array based interface.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Johannes Thumshirn <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Acked-by: David Sterba <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: Steven Rostedt <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:51 +02:00
Thomas Gleixner
746017ed8d
dma/debug: Simplify stracktrace retrieval
...
Replace the indirection through struct stack_trace with an invocation of
the storage array based interface.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Christoph Hellwig <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:50 +02:00
Thomas Gleixner
30191250c2
fault-inject: Simplify stacktrace retrieval
...
Replace the indirection through struct stack_trace with an invocation of
the storage array based interface.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:50 +02:00
Thomas Gleixner
af52bf6b92
mm/page_owner: Simplify stack trace handling
...
Replace the indirection through struct stack_trace by using the storage
array based interfaces.
The original code in all printing functions is really wrong. It allocates a
storage array on stack which is unused because depot_fetch_stack() does not
store anything in it. It overwrites the entries pointer in the stack_trace
struct so it points to the depot storage.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: David Rientjes <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:50 +02:00
Thomas Gleixner
880e049c9c
mm/kasan: Simplify stacktrace handling
...
Replace the indirection through struct stack_trace by using the storage
array based interfaces.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Acked-by: Dmitry Vyukov <[email protected] >
Acked-by: Andrey Ryabinin <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Steven Rostedt <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: David Rientjes <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:49 +02:00
Thomas Gleixner
07984aad1c
mm/kmemleak: Simplify stacktrace handling
...
Replace the indirection through struct stack_trace by using the storage
array based interfaces.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Acked-by: Catalin Marinas <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: [email protected]
Cc: Steven Rostedt <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Christoph Lameter <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: David Rientjes <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:49 +02:00
Thomas Gleixner
7971679994
mm/slub: Simplify stack trace retrieval
...
Replace the indirection through struct stack_trace with an invocation of
the storage array based interface.
Signed-off-by: Thomas Gleixner <[email protected] >
Reviewed-by: Josh Poimboeuf <[email protected] >
Acked-by: Christoph Lameter <[email protected] >
Cc: Andy Lutomirski <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Pekka Enberg <[email protected] >
Cc: [email protected]
Cc: David Rientjes <[email protected] >
Cc: Steven Rostedt <[email protected] >
Cc: Alexander Potapenko <[email protected] >
Cc: Alexey Dobriyan <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: Andrey Ryabinin <[email protected] >
Cc: [email protected]
Cc: Mike Rapoport <[email protected] >
Cc: Akinobu Mita <[email protected] >
Cc: Christoph Hellwig <[email protected] >
Cc: [email protected]
Cc: Robin Murphy <[email protected] >
Cc: Marek Szyprowski <[email protected] >
Cc: Johannes Thumshirn <[email protected] >
Cc: David Sterba <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Josef Bacik <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: Mike Snitzer <[email protected] >
Cc: Alasdair Kergon <[email protected] >
Cc: Daniel Vetter <[email protected] >
Cc: [email protected]
Cc: Joonas Lahtinen <[email protected] >
Cc: Maarten Lankhorst <[email protected] >
Cc: [email protected]
Cc: David Airlie <[email protected] >
Cc: Jani Nikula <[email protected] >
Cc: Rodrigo Vivi <[email protected] >
Cc: Tom Zanussi <[email protected] >
Cc: Miroslav Benes <[email protected] >
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
2019-04-29 12:37:48 +02:00