s390 patches for the 5.2 merge window #2
Subsystems (5)
The following changes since commit 71ae5fc87c34ecbdca293c2a5c563d6be2576558:
Merge tag 'linux-kselftest-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest (2019-05-06 20:29:45 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux tags/s390-5.2-2
for you to fetch changes up to f3e20ad67b4c8365df9818fd3c8026e105d6b53a:
s390: move arch/s390/defconfig to arch/s390/configs/defconfig (2019-05-14 17:54:48 +0200)
----------------------------------------------------------------
s390 updates for the 5.2 merge window #2
- Enhancements for the QDIO layer
- Remove the RCP trace event
- Avoid three build issues
- Move the defconfig to the configs directory
----------------------------------------------------------------
Farhan Ali (1):
s390/cio: Remove tracing for rchp instruction
Julian Wiedmann (3):
s390/qdio: allow to scan all Output SBALs in one go s390/qdio: use get_buf_state() in debug_get_buf_state() s390/qdio: optimize state inspection of HW-owned SBALs
Martin Schwidefsky (1):
s390/boot: fix compiler error due to missing awk strtonum
Masahiro Yamada (1):
s390: move arch/s390/defconfig to arch/s390/configs/defconfig
Vasily Gorbik (2):
latent_entropy: avoid build error when plugin cflags are not set s390/kasan: adapt disabled_wait usage to avoid build error
arch/s390/Makefile | 2 ++
arch/s390/boot/Makefile | 1 -
arch/s390/boot/compressed/vmlinux.lds.S | 2 ++
arch/s390/{ => configs}/defconfig | 0
arch/s390/mm/kasan_init.c | 2 +-
drivers/s390/cio/qdio_main.c | 19 +++++++++++--------
drivers/s390/cio/trace.c | 1 -
drivers/s390/cio/trace.h | 23 -----------------------
include/linux/random.h | 2 +-
9 files changed, 17 insertions(+), 35 deletions(-)
rename arch/s390/{ => configs}/defconfig (100%)arch/s390/Makefile +2 -0
@@ -10,6 +10,8 @@ # Copyright (C) 1994 by Linus Torvalds # +KBUILD_DEFCONFIG := defconfig + LD_BFD := elf64-s390 KBUILD_LDFLAGS := -m elf64_s390 KBUILD_AFLAGS_MODULE += -fPIC
arch/s390/boot/Makefile +0 -1
@@ -58,7 +58,6 @@ define cmd_section_cmp touch $@ endef -OBJCOPYFLAGS_bzImage := --pad-to $$(readelf -s $(obj)/compressed/vmlinux | awk '/\<_end\>/ {print or(strtonum("0x"$$2),4095)+1}') $(obj)/bzImage: $(obj)/compressed/vmlinux $(obj)/section_cmp.boot.data $(obj)/section_cmp.boot.preserved.data FORCE $(call if_changed,objcopy)
arch/s390/boot/compressed/vmlinux.lds.S +2 -0
@@ -77,6 +77,8 @@ SECTIONS _compressed_start = .; *(.vmlinux.bin.compressed) _compressed_end = .; + FILL(0xff); + . = ALIGN(4096); } . = ALIGN(256); .bss : {
arch/s390/configs/defconfig renamed from arch/s390/defconfig +0 -0
arch/s390/mm/kasan_init.c +1 -1
@@ -28,7 +28,7 @@ static void __init kasan_early_panic(const char *reason) {sclp_early_printk ("The Linux kernel failed to boot with the KernelAddressSanitizer:\n" );sclp_early_printk (reason); -disabled_wait (0 ); +disabled_wait (); }static void *__init kasan_early_alloc_segment (void )
drivers/s390/cio/qdio_main.c +11 -8
@@ -205,17 +205,22 @@ static inline int get_buf_states(struct qdio_q *q, unsigned int bufnr, int auto_ack, int merge_pending) {unsigned char __state =0 ; -int i; +int i =1 ;if (is_qebsm (q))return qdio_do_eqbs (q, state, bufnr, count, auto_ack);/* get initial state: */ __state = q->slsb.val[bufnr]; + +/* Bail out early if there is no work on the queue: */ +if (__state &SLSB_OWNER_CU ) + goto out; +if (merge_pending && __state ==SLSB_P_OUTPUT_PENDING ) __state =SLSB_P_OUTPUT_EMPTY ; -for (i =1 ; i < count; i++) { +for (; i < count; i++) { bufnr =next_buf (bufnr);/* merge PENDING into EMPTY: */
@@ -228,6 +233,8 @@ static inline int get_buf_states(struct qdio_q *q, unsigned int bufnr,if (q->slsb.val[bufnr] != __state)break ; } + +out: *state = __state;return i; }
@@ -382,7 +389,7 @@ int debug_get_buf_state(struct qdio_q *q, unsigned int bufnr, {if (need_siga_sync (q))qdio_siga_sync_q (q); -return get_buf_states (q, bufnr, state,1 ,0 ,0 ); +return get_buf_state (q, bufnr, state,0 ); }static inline void qdio_stop_polling (struct qdio_q *q)
@@ -719,11 +726,7 @@ static int get_outbound_buffer_frontier(struct qdio_q *q, unsigned int start) multicast_outbound(q)))qdio_siga_sync_q (q); -/* -* Don't check 128 buffers, as otherwise qdio_inbound_q_moved -* would return 0. -*/ - count =min (atomic_read (&q->nr_buf_used),QDIO_MAX_BUFFERS_MASK ); + count =atomic_read (&q->nr_buf_used);if (!count)return 0 ;
drivers/s390/cio/trace.c +0 -1
@@ -21,5 +21,4 @@ EXPORT_TRACEPOINT_SYMBOL(s390_cio_csch);EXPORT_TRACEPOINT_SYMBOL (s390_cio_hsch);EXPORT_TRACEPOINT_SYMBOL (s390_cio_xsch);EXPORT_TRACEPOINT_SYMBOL (s390_cio_rsch); -EXPORT_TRACEPOINT_SYMBOL (s390_cio_rchp);EXPORT_TRACEPOINT_SYMBOL (s390_cio_chsc);
drivers/s390/cio/trace.h +0 -23
@@ -274,29 +274,6 @@ DEFINE_EVENT(s390_class_schid, s390_cio_rsch,TP_ARGS (schid, cc) ); -/** -* s390_cio_rchp - Reset Channel Path (RCHP) instruction was performed -* @chpid: Channel-Path Identifier -* @cc: Condition code -*/ -TRACE_EVENT (s390_cio_rchp, - TP_PROTO(struct chp_id chpid, int cc), -TP_ARGS (chpid, cc), -TP_STRUCT__entry ( - __field(u8, cssid) - __field(u8, id) -__field (int, cc) - ), -TP_fast_assign ( - __entry->cssid = chpid.cssid; - __entry->id = chpid.id; - __entry->cc = cc; - ), -TP_printk ("chpid=%x.%02x cc=%d" , __entry->cssid, __entry->id, - __entry->cc - ) -); -#define CHSC_MAX_REQUEST_LEN 64#define CHSC_MAX_RESPONSE_LEN 64
include/linux/random.h +1 -1
@@ -20,7 +20,7 @@ struct random_ready_callback {extern void add_device_randomness (const void *,unsigned int ); -#if defined(CONFIG_GCC_PLUGIN_LATENT_ENTROPY ) && !defined(__CHECKER__) +#if defined(LATENT_ENTROPY_PLUGIN ) && !defined(__CHECKER__)static inline void add_latent_entropy (void ) { add_device_randomness((const void *)&latent_entropy,
The pull request you sent on Fri, 17 May 2019 08:58:54 +0200:
The pull request you sent on Fri, 17 May 2019 08:58:54 +0200:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/s390/linuxtags/s390-5.2-2
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/80111bfb672d8c04d60c25559243554f732f2848
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.wiki.kernel.org/userdoc/prtracker